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

package io.grasscutter.net.proto.widget;

/**
 * <pre>
 * CmdId: 2594
 * </pre>
 *
 * Protobuf type {@code QuickUseWidgetReq}
 */
public final class QuickUseWidgetReq extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:QuickUseWidgetReq)
    QuickUseWidgetReqOrBuilder {
private static final long serialVersionUID = 0L;
  // Use QuickUseWidgetReq.newBuilder() to construct.
  private QuickUseWidgetReq(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
    super(builder);
  }
  private QuickUseWidgetReq() {
  }

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

  @java.lang.Override
  public final com.google.protobuf.UnknownFieldSet
  getUnknownFields() {
    return this.unknownFields;
  }
  private QuickUseWidgetReq(
      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 242: {
            io.grasscutter.net.proto.widget.WidgetCreateLocationInfo.Builder subBuilder = null;
            if (nBDOFGCPFEJCase_ == 30) {
              subBuilder = ((io.grasscutter.net.proto.widget.WidgetCreateLocationInfo) nBDOFGCPFEJ_).toBuilder();
            }
            nBDOFGCPFEJ_ =
                input.readMessage(io.grasscutter.net.proto.widget.WidgetCreateLocationInfo.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom((io.grasscutter.net.proto.widget.WidgetCreateLocationInfo) nBDOFGCPFEJ_);
              nBDOFGCPFEJ_ = subBuilder.buildPartial();
            }
            nBDOFGCPFEJCase_ = 30;
            break;
          }
          case 3088: {

            kJFPPJKHCAO_ = input.readBool();
            break;
          }
          case 5922: {
            io.grasscutter.net.proto.widget.IBOEPABCDMC.Builder subBuilder = null;
            if (nBDOFGCPFEJCase_ == 740) {
              subBuilder = ((io.grasscutter.net.proto.widget.IBOEPABCDMC) nBDOFGCPFEJ_).toBuilder();
            }
            nBDOFGCPFEJ_ =
                input.readMessage(io.grasscutter.net.proto.widget.IBOEPABCDMC.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom((io.grasscutter.net.proto.widget.IBOEPABCDMC) nBDOFGCPFEJ_);
              nBDOFGCPFEJ_ = subBuilder.buildPartial();
            }
            nBDOFGCPFEJCase_ = 740;
            break;
          }
          case 6210: {
            io.grasscutter.net.proto.widget.WidgetCameraInfo.Builder subBuilder = null;
            if (nBDOFGCPFEJCase_ == 776) {
              subBuilder = ((io.grasscutter.net.proto.widget.WidgetCameraInfo) nBDOFGCPFEJ_).toBuilder();
            }
            nBDOFGCPFEJ_ =
                input.readMessage(io.grasscutter.net.proto.widget.WidgetCameraInfo.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom((io.grasscutter.net.proto.widget.WidgetCameraInfo) nBDOFGCPFEJ_);
              nBDOFGCPFEJ_ = subBuilder.buildPartial();
            }
            nBDOFGCPFEJCase_ = 776;
            break;
          }
          case 8594: {
            io.grasscutter.net.proto.widget.WidgetCreatorInfo.Builder subBuilder = null;
            if (nBDOFGCPFEJCase_ == 1074) {
              subBuilder = ((io.grasscutter.net.proto.widget.WidgetCreatorInfo) nBDOFGCPFEJ_).toBuilder();
            }
            nBDOFGCPFEJ_ =
                input.readMessage(io.grasscutter.net.proto.widget.WidgetCreatorInfo.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom((io.grasscutter.net.proto.widget.WidgetCreatorInfo) nBDOFGCPFEJ_);
              nBDOFGCPFEJ_ = subBuilder.buildPartial();
            }
            nBDOFGCPFEJCase_ = 1074;
            break;
          }
          case 10226: {
            io.grasscutter.net.proto.widget.WidgetThunderBirdFeatherInfo.Builder subBuilder = null;
            if (nBDOFGCPFEJCase_ == 1278) {
              subBuilder = ((io.grasscutter.net.proto.widget.WidgetThunderBirdFeatherInfo) nBDOFGCPFEJ_).toBuilder();
            }
            nBDOFGCPFEJ_ =
                input.readMessage(io.grasscutter.net.proto.widget.WidgetThunderBirdFeatherInfo.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom((io.grasscutter.net.proto.widget.WidgetThunderBirdFeatherInfo) nBDOFGCPFEJ_);
              nBDOFGCPFEJ_ = subBuilder.buildPartial();
            }
            nBDOFGCPFEJCase_ = 1278;
            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_QuickUseWidgetReq_descriptor;
  }

  @java.lang.Override
  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internalGetFieldAccessorTable() {
    return io.grasscutter.net.proto.widget.Widget.internal_static_QuickUseWidgetReq_fieldAccessorTable
        .ensureFieldAccessorsInitialized(
            io.grasscutter.net.proto.widget.QuickUseWidgetReq.class, io.grasscutter.net.proto.widget.QuickUseWidgetReq.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 {
    SORUSH_INFO(740),
    CREATOR_INFO(1074),
    CAMERA_INFO(776),
    THUNDER_BIRD_FEATHER_INFO(1278),
    LOCATION_INFO(30),
    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 740: return SORUSH_INFO;
        case 1074: return CREATOR_INFO;
        case 776: return CAMERA_INFO;
        case 1278: return THUNDER_BIRD_FEATHER_INFO;
        case 30: return LOCATION_INFO;
        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 SORUSH_INFO_FIELD_NUMBER = 740;
  /**
   * <code>.IBOEPABCDMC sorush_info = 740;</code>
   * @return Whether the sorushInfo field is set.
   */
  @java.lang.Override
  public boolean hasSorushInfo() {
    return nBDOFGCPFEJCase_ == 740;
  }
  /**
   * <code>.IBOEPABCDMC sorush_info = 740;</code>
   * @return The sorushInfo.
   */
  @java.lang.Override
  public io.grasscutter.net.proto.widget.IBOEPABCDMC getSorushInfo() {
    if (nBDOFGCPFEJCase_ == 740) {
       return (io.grasscutter.net.proto.widget.IBOEPABCDMC) nBDOFGCPFEJ_;
    }
    return io.grasscutter.net.proto.widget.IBOEPABCDMC.getDefaultInstance();
  }
  /**
   * <code>.IBOEPABCDMC sorush_info = 740;</code>
   */
  @java.lang.Override
  public io.grasscutter.net.proto.widget.IBOEPABCDMCOrBuilder getSorushInfoOrBuilder() {
    if (nBDOFGCPFEJCase_ == 740) {
       return (io.grasscutter.net.proto.widget.IBOEPABCDMC) nBDOFGCPFEJ_;
    }
    return io.grasscutter.net.proto.widget.IBOEPABCDMC.getDefaultInstance();
  }

  public static final int CREATOR_INFO_FIELD_NUMBER = 1074;
  /**
   * <code>.WidgetCreatorInfo creator_info = 1074;</code>
   * @return Whether the creatorInfo field is set.
   */
  @java.lang.Override
  public boolean hasCreatorInfo() {
    return nBDOFGCPFEJCase_ == 1074;
  }
  /**
   * <code>.WidgetCreatorInfo creator_info = 1074;</code>
   * @return The creatorInfo.
   */
  @java.lang.Override
  public io.grasscutter.net.proto.widget.WidgetCreatorInfo getCreatorInfo() {
    if (nBDOFGCPFEJCase_ == 1074) {
       return (io.grasscutter.net.proto.widget.WidgetCreatorInfo) nBDOFGCPFEJ_;
    }
    return io.grasscutter.net.proto.widget.WidgetCreatorInfo.getDefaultInstance();
  }
  /**
   * <code>.WidgetCreatorInfo creator_info = 1074;</code>
   */
  @java.lang.Override
  public io.grasscutter.net.proto.widget.WidgetCreatorInfoOrBuilder getCreatorInfoOrBuilder() {
    if (nBDOFGCPFEJCase_ == 1074) {
       return (io.grasscutter.net.proto.widget.WidgetCreatorInfo) nBDOFGCPFEJ_;
    }
    return io.grasscutter.net.proto.widget.WidgetCreatorInfo.getDefaultInstance();
  }

  public static final int CAMERA_INFO_FIELD_NUMBER = 776;
  /**
   * <code>.WidgetCameraInfo camera_info = 776;</code>
   * @return Whether the cameraInfo field is set.
   */
  @java.lang.Override
  public boolean hasCameraInfo() {
    return nBDOFGCPFEJCase_ == 776;
  }
  /**
   * <code>.WidgetCameraInfo camera_info = 776;</code>
   * @return The cameraInfo.
   */
  @java.lang.Override
  public io.grasscutter.net.proto.widget.WidgetCameraInfo getCameraInfo() {
    if (nBDOFGCPFEJCase_ == 776) {
       return (io.grasscutter.net.proto.widget.WidgetCameraInfo) nBDOFGCPFEJ_;
    }
    return io.grasscutter.net.proto.widget.WidgetCameraInfo.getDefaultInstance();
  }
  /**
   * <code>.WidgetCameraInfo camera_info = 776;</code>
   */
  @java.lang.Override
  public io.grasscutter.net.proto.widget.WidgetCameraInfoOrBuilder getCameraInfoOrBuilder() {
    if (nBDOFGCPFEJCase_ == 776) {
       return (io.grasscutter.net.proto.widget.WidgetCameraInfo) nBDOFGCPFEJ_;
    }
    return io.grasscutter.net.proto.widget.WidgetCameraInfo.getDefaultInstance();
  }

  public static final int THUNDER_BIRD_FEATHER_INFO_FIELD_NUMBER = 1278;
  /**
   * <code>.WidgetThunderBirdFeatherInfo thunder_bird_feather_info = 1278;</code>
   * @return Whether the thunderBirdFeatherInfo field is set.
   */
  @java.lang.Override
  public boolean hasThunderBirdFeatherInfo() {
    return nBDOFGCPFEJCase_ == 1278;
  }
  /**
   * <code>.WidgetThunderBirdFeatherInfo thunder_bird_feather_info = 1278;</code>
   * @return The thunderBirdFeatherInfo.
   */
  @java.lang.Override
  public io.grasscutter.net.proto.widget.WidgetThunderBirdFeatherInfo getThunderBirdFeatherInfo() {
    if (nBDOFGCPFEJCase_ == 1278) {
       return (io.grasscutter.net.proto.widget.WidgetThunderBirdFeatherInfo) nBDOFGCPFEJ_;
    }
    return io.grasscutter.net.proto.widget.WidgetThunderBirdFeatherInfo.getDefaultInstance();
  }
  /**
   * <code>.WidgetThunderBirdFeatherInfo thunder_bird_feather_info = 1278;</code>
   */
  @java.lang.Override
  public io.grasscutter.net.proto.widget.WidgetThunderBirdFeatherInfoOrBuilder getThunderBirdFeatherInfoOrBuilder() {
    if (nBDOFGCPFEJCase_ == 1278) {
       return (io.grasscutter.net.proto.widget.WidgetThunderBirdFeatherInfo) nBDOFGCPFEJ_;
    }
    return io.grasscutter.net.proto.widget.WidgetThunderBirdFeatherInfo.getDefaultInstance();
  }

  public static final int LOCATION_INFO_FIELD_NUMBER = 30;
  /**
   * <code>.WidgetCreateLocationInfo location_info = 30;</code>
   * @return Whether the locationInfo field is set.
   */
  @java.lang.Override
  public boolean hasLocationInfo() {
    return nBDOFGCPFEJCase_ == 30;
  }
  /**
   * <code>.WidgetCreateLocationInfo location_info = 30;</code>
   * @return The locationInfo.
   */
  @java.lang.Override
  public io.grasscutter.net.proto.widget.WidgetCreateLocationInfo getLocationInfo() {
    if (nBDOFGCPFEJCase_ == 30) {
       return (io.grasscutter.net.proto.widget.WidgetCreateLocationInfo) nBDOFGCPFEJ_;
    }
    return io.grasscutter.net.proto.widget.WidgetCreateLocationInfo.getDefaultInstance();
  }
  /**
   * <code>.WidgetCreateLocationInfo location_info = 30;</code>
   */
  @java.lang.Override
  public io.grasscutter.net.proto.widget.WidgetCreateLocationInfoOrBuilder getLocationInfoOrBuilder() {
    if (nBDOFGCPFEJCase_ == 30) {
       return (io.grasscutter.net.proto.widget.WidgetCreateLocationInfo) nBDOFGCPFEJ_;
    }
    return io.grasscutter.net.proto.widget.WidgetCreateLocationInfo.getDefaultInstance();
  }

  public static final int KJFPPJKHCAO_FIELD_NUMBER = 386;
  private boolean kJFPPJKHCAO_;
  /**
   * <code>bool KJFPPJKHCAO = 386;</code>
   * @return The kJFPPJKHCAO.
   */
  @java.lang.Override
  public boolean getKJFPPJKHCAO() {
    return kJFPPJKHCAO_;
  }

  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 (nBDOFGCPFEJCase_ == 30) {
      output.writeMessage(30, (io.grasscutter.net.proto.widget.WidgetCreateLocationInfo) nBDOFGCPFEJ_);
    }
    if (kJFPPJKHCAO_ != false) {
      output.writeBool(386, kJFPPJKHCAO_);
    }
    if (nBDOFGCPFEJCase_ == 740) {
      output.writeMessage(740, (io.grasscutter.net.proto.widget.IBOEPABCDMC) nBDOFGCPFEJ_);
    }
    if (nBDOFGCPFEJCase_ == 776) {
      output.writeMessage(776, (io.grasscutter.net.proto.widget.WidgetCameraInfo) nBDOFGCPFEJ_);
    }
    if (nBDOFGCPFEJCase_ == 1074) {
      output.writeMessage(1074, (io.grasscutter.net.proto.widget.WidgetCreatorInfo) nBDOFGCPFEJ_);
    }
    if (nBDOFGCPFEJCase_ == 1278) {
      output.writeMessage(1278, (io.grasscutter.net.proto.widget.WidgetThunderBirdFeatherInfo) nBDOFGCPFEJ_);
    }
    unknownFields.writeTo(output);
  }

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

    size = 0;
    if (nBDOFGCPFEJCase_ == 30) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(30, (io.grasscutter.net.proto.widget.WidgetCreateLocationInfo) nBDOFGCPFEJ_);
    }
    if (kJFPPJKHCAO_ != false) {
      size += com.google.protobuf.CodedOutputStream
        .computeBoolSize(386, kJFPPJKHCAO_);
    }
    if (nBDOFGCPFEJCase_ == 740) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(740, (io.grasscutter.net.proto.widget.IBOEPABCDMC) nBDOFGCPFEJ_);
    }
    if (nBDOFGCPFEJCase_ == 776) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(776, (io.grasscutter.net.proto.widget.WidgetCameraInfo) nBDOFGCPFEJ_);
    }
    if (nBDOFGCPFEJCase_ == 1074) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(1074, (io.grasscutter.net.proto.widget.WidgetCreatorInfo) nBDOFGCPFEJ_);
    }
    if (nBDOFGCPFEJCase_ == 1278) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(1278, (io.grasscutter.net.proto.widget.WidgetThunderBirdFeatherInfo) 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.QuickUseWidgetReq)) {
      return super.equals(obj);
    }
    io.grasscutter.net.proto.widget.QuickUseWidgetReq other = (io.grasscutter.net.proto.widget.QuickUseWidgetReq) obj;

    if (getKJFPPJKHCAO()
        != other.getKJFPPJKHCAO()) return false;
    if (!getNBDOFGCPFEJCase().equals(other.getNBDOFGCPFEJCase())) return false;
    switch (nBDOFGCPFEJCase_) {
      case 740:
        if (!getSorushInfo()
            .equals(other.getSorushInfo())) return false;
        break;
      case 1074:
        if (!getCreatorInfo()
            .equals(other.getCreatorInfo())) return false;
        break;
      case 776:
        if (!getCameraInfo()
            .equals(other.getCameraInfo())) return false;
        break;
      case 1278:
        if (!getThunderBirdFeatherInfo()
            .equals(other.getThunderBirdFeatherInfo())) return false;
        break;
      case 30:
        if (!getLocationInfo()
            .equals(other.getLocationInfo())) 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) + KJFPPJKHCAO_FIELD_NUMBER;
    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
        getKJFPPJKHCAO());
    switch (nBDOFGCPFEJCase_) {
      case 740:
        hash = (37 * hash) + SORUSH_INFO_FIELD_NUMBER;
        hash = (53 * hash) + getSorushInfo().hashCode();
        break;
      case 1074:
        hash = (37 * hash) + CREATOR_INFO_FIELD_NUMBER;
        hash = (53 * hash) + getCreatorInfo().hashCode();
        break;
      case 776:
        hash = (37 * hash) + CAMERA_INFO_FIELD_NUMBER;
        hash = (53 * hash) + getCameraInfo().hashCode();
        break;
      case 1278:
        hash = (37 * hash) + THUNDER_BIRD_FEATHER_INFO_FIELD_NUMBER;
        hash = (53 * hash) + getThunderBirdFeatherInfo().hashCode();
        break;
      case 30:
        hash = (37 * hash) + LOCATION_INFO_FIELD_NUMBER;
        hash = (53 * hash) + getLocationInfo().hashCode();
        break;
      case 0:
      default:
    }
    hash = (29 * hash) + unknownFields.hashCode();
    memoizedHashCode = hash;
    return hash;
  }

  public static io.grasscutter.net.proto.widget.QuickUseWidgetReq parseFrom(
      java.nio.ByteBuffer data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static io.grasscutter.net.proto.widget.QuickUseWidgetReq 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.QuickUseWidgetReq parseFrom(
      com.google.protobuf.ByteString data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static io.grasscutter.net.proto.widget.QuickUseWidgetReq 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.QuickUseWidgetReq parseFrom(byte[] data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static io.grasscutter.net.proto.widget.QuickUseWidgetReq 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.QuickUseWidgetReq parseFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input);
  }
  public static io.grasscutter.net.proto.widget.QuickUseWidgetReq 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.QuickUseWidgetReq parseDelimitedFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseDelimitedWithIOException(PARSER, input);
  }
  public static io.grasscutter.net.proto.widget.QuickUseWidgetReq 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.QuickUseWidgetReq 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.QuickUseWidgetReq 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.QuickUseWidgetReq 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: 2594
   * </pre>
   *
   * Protobuf type {@code QuickUseWidgetReq}
   */
  public static final class Builder extends
      com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
      // @@protoc_insertion_point(builder_implements:QuickUseWidgetReq)
      io.grasscutter.net.proto.widget.QuickUseWidgetReqOrBuilder {
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return io.grasscutter.net.proto.widget.Widget.internal_static_QuickUseWidgetReq_descriptor;
    }

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

    // Construct using io.grasscutter.net.proto.widget.QuickUseWidgetReq.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();
      kJFPPJKHCAO_ = false;

      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_QuickUseWidgetReq_descriptor;
    }

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

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

    @java.lang.Override
    public io.grasscutter.net.proto.widget.QuickUseWidgetReq buildPartial() {
      io.grasscutter.net.proto.widget.QuickUseWidgetReq result = new io.grasscutter.net.proto.widget.QuickUseWidgetReq(this);
      if (nBDOFGCPFEJCase_ == 740) {
        if (sorushInfoBuilder_ == null) {
          result.nBDOFGCPFEJ_ = nBDOFGCPFEJ_;
        } else {
          result.nBDOFGCPFEJ_ = sorushInfoBuilder_.build();
        }
      }
      if (nBDOFGCPFEJCase_ == 1074) {
        if (creatorInfoBuilder_ == null) {
          result.nBDOFGCPFEJ_ = nBDOFGCPFEJ_;
        } else {
          result.nBDOFGCPFEJ_ = creatorInfoBuilder_.build();
        }
      }
      if (nBDOFGCPFEJCase_ == 776) {
        if (cameraInfoBuilder_ == null) {
          result.nBDOFGCPFEJ_ = nBDOFGCPFEJ_;
        } else {
          result.nBDOFGCPFEJ_ = cameraInfoBuilder_.build();
        }
      }
      if (nBDOFGCPFEJCase_ == 1278) {
        if (thunderBirdFeatherInfoBuilder_ == null) {
          result.nBDOFGCPFEJ_ = nBDOFGCPFEJ_;
        } else {
          result.nBDOFGCPFEJ_ = thunderBirdFeatherInfoBuilder_.build();
        }
      }
      if (nBDOFGCPFEJCase_ == 30) {
        if (locationInfoBuilder_ == null) {
          result.nBDOFGCPFEJ_ = nBDOFGCPFEJ_;
        } else {
          result.nBDOFGCPFEJ_ = locationInfoBuilder_.build();
        }
      }
      result.kJFPPJKHCAO_ = kJFPPJKHCAO_;
      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.QuickUseWidgetReq) {
        return mergeFrom((io.grasscutter.net.proto.widget.QuickUseWidgetReq)other);
      } else {
        super.mergeFrom(other);
        return this;
      }
    }

    public Builder mergeFrom(io.grasscutter.net.proto.widget.QuickUseWidgetReq other) {
      if (other == io.grasscutter.net.proto.widget.QuickUseWidgetReq.getDefaultInstance()) return this;
      if (other.getKJFPPJKHCAO() != false) {
        setKJFPPJKHCAO(other.getKJFPPJKHCAO());
      }
      switch (other.getNBDOFGCPFEJCase()) {
        case SORUSH_INFO: {
          mergeSorushInfo(other.getSorushInfo());
          break;
        }
        case CREATOR_INFO: {
          mergeCreatorInfo(other.getCreatorInfo());
          break;
        }
        case CAMERA_INFO: {
          mergeCameraInfo(other.getCameraInfo());
          break;
        }
        case THUNDER_BIRD_FEATHER_INFO: {
          mergeThunderBirdFeatherInfo(other.getThunderBirdFeatherInfo());
          break;
        }
        case LOCATION_INFO: {
          mergeLocationInfo(other.getLocationInfo());
          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.QuickUseWidgetReq parsedMessage = null;
      try {
        parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        parsedMessage = (io.grasscutter.net.proto.widget.QuickUseWidgetReq) 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 com.google.protobuf.SingleFieldBuilderV3<
        io.grasscutter.net.proto.widget.IBOEPABCDMC, io.grasscutter.net.proto.widget.IBOEPABCDMC.Builder, io.grasscutter.net.proto.widget.IBOEPABCDMCOrBuilder> sorushInfoBuilder_;
    /**
     * <code>.IBOEPABCDMC sorush_info = 740;</code>
     * @return Whether the sorushInfo field is set.
     */
    @java.lang.Override
    public boolean hasSorushInfo() {
      return nBDOFGCPFEJCase_ == 740;
    }
    /**
     * <code>.IBOEPABCDMC sorush_info = 740;</code>
     * @return The sorushInfo.
     */
    @java.lang.Override
    public io.grasscutter.net.proto.widget.IBOEPABCDMC getSorushInfo() {
      if (sorushInfoBuilder_ == null) {
        if (nBDOFGCPFEJCase_ == 740) {
          return (io.grasscutter.net.proto.widget.IBOEPABCDMC) nBDOFGCPFEJ_;
        }
        return io.grasscutter.net.proto.widget.IBOEPABCDMC.getDefaultInstance();
      } else {
        if (nBDOFGCPFEJCase_ == 740) {
          return sorushInfoBuilder_.getMessage();
        }
        return io.grasscutter.net.proto.widget.IBOEPABCDMC.getDefaultInstance();
      }
    }
    /**
     * <code>.IBOEPABCDMC sorush_info = 740;</code>
     */
    public Builder setSorushInfo(io.grasscutter.net.proto.widget.IBOEPABCDMC value) {
      if (sorushInfoBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        nBDOFGCPFEJ_ = value;
        onChanged();
      } else {
        sorushInfoBuilder_.setMessage(value);
      }
      nBDOFGCPFEJCase_ = 740;
      return this;
    }
    /**
     * <code>.IBOEPABCDMC sorush_info = 740;</code>
     */
    public Builder setSorushInfo(
        io.grasscutter.net.proto.widget.IBOEPABCDMC.Builder builderForValue) {
      if (sorushInfoBuilder_ == null) {
        nBDOFGCPFEJ_ = builderForValue.build();
        onChanged();
      } else {
        sorushInfoBuilder_.setMessage(builderForValue.build());
      }
      nBDOFGCPFEJCase_ = 740;
      return this;
    }
    /**
     * <code>.IBOEPABCDMC sorush_info = 740;</code>
     */
    public Builder mergeSorushInfo(io.grasscutter.net.proto.widget.IBOEPABCDMC value) {
      if (sorushInfoBuilder_ == null) {
        if (nBDOFGCPFEJCase_ == 740 &&
            nBDOFGCPFEJ_ != io.grasscutter.net.proto.widget.IBOEPABCDMC.getDefaultInstance()) {
          nBDOFGCPFEJ_ = io.grasscutter.net.proto.widget.IBOEPABCDMC.newBuilder((io.grasscutter.net.proto.widget.IBOEPABCDMC) nBDOFGCPFEJ_)
              .mergeFrom(value).buildPartial();
        } else {
          nBDOFGCPFEJ_ = value;
        }
        onChanged();
      } else {
        if (nBDOFGCPFEJCase_ == 740) {
          sorushInfoBuilder_.mergeFrom(value);
        }
        sorushInfoBuilder_.setMessage(value);
      }
      nBDOFGCPFEJCase_ = 740;
      return this;
    }
    /**
     * <code>.IBOEPABCDMC sorush_info = 740;</code>
     */
    public Builder clearSorushInfo() {
      if (sorushInfoBuilder_ == null) {
        if (nBDOFGCPFEJCase_ == 740) {
          nBDOFGCPFEJCase_ = 0;
          nBDOFGCPFEJ_ = null;
          onChanged();
        }
      } else {
        if (nBDOFGCPFEJCase_ == 740) {
          nBDOFGCPFEJCase_ = 0;
          nBDOFGCPFEJ_ = null;
        }
        sorushInfoBuilder_.clear();
      }
      return this;
    }
    /**
     * <code>.IBOEPABCDMC sorush_info = 740;</code>
     */
    public io.grasscutter.net.proto.widget.IBOEPABCDMC.Builder getSorushInfoBuilder() {
      return getSorushInfoFieldBuilder().getBuilder();
    }
    /**
     * <code>.IBOEPABCDMC sorush_info = 740;</code>
     */
    @java.lang.Override
    public io.grasscutter.net.proto.widget.IBOEPABCDMCOrBuilder getSorushInfoOrBuilder() {
      if ((nBDOFGCPFEJCase_ == 740) && (sorushInfoBuilder_ != null)) {
        return sorushInfoBuilder_.getMessageOrBuilder();
      } else {
        if (nBDOFGCPFEJCase_ == 740) {
          return (io.grasscutter.net.proto.widget.IBOEPABCDMC) nBDOFGCPFEJ_;
        }
        return io.grasscutter.net.proto.widget.IBOEPABCDMC.getDefaultInstance();
      }
    }
    /**
     * <code>.IBOEPABCDMC sorush_info = 740;</code>
     */
    private com.google.protobuf.SingleFieldBuilderV3<
        io.grasscutter.net.proto.widget.IBOEPABCDMC, io.grasscutter.net.proto.widget.IBOEPABCDMC.Builder, io.grasscutter.net.proto.widget.IBOEPABCDMCOrBuilder> 
        getSorushInfoFieldBuilder() {
      if (sorushInfoBuilder_ == null) {
        if (!(nBDOFGCPFEJCase_ == 740)) {
          nBDOFGCPFEJ_ = io.grasscutter.net.proto.widget.IBOEPABCDMC.getDefaultInstance();
        }
        sorushInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
            io.grasscutter.net.proto.widget.IBOEPABCDMC, io.grasscutter.net.proto.widget.IBOEPABCDMC.Builder, io.grasscutter.net.proto.widget.IBOEPABCDMCOrBuilder>(
                (io.grasscutter.net.proto.widget.IBOEPABCDMC) nBDOFGCPFEJ_,
                getParentForChildren(),
                isClean());
        nBDOFGCPFEJ_ = null;
      }
      nBDOFGCPFEJCase_ = 740;
      onChanged();;
      return sorushInfoBuilder_;
    }

    private com.google.protobuf.SingleFieldBuilderV3<
        io.grasscutter.net.proto.widget.WidgetCreatorInfo, io.grasscutter.net.proto.widget.WidgetCreatorInfo.Builder, io.grasscutter.net.proto.widget.WidgetCreatorInfoOrBuilder> creatorInfoBuilder_;
    /**
     * <code>.WidgetCreatorInfo creator_info = 1074;</code>
     * @return Whether the creatorInfo field is set.
     */
    @java.lang.Override
    public boolean hasCreatorInfo() {
      return nBDOFGCPFEJCase_ == 1074;
    }
    /**
     * <code>.WidgetCreatorInfo creator_info = 1074;</code>
     * @return The creatorInfo.
     */
    @java.lang.Override
    public io.grasscutter.net.proto.widget.WidgetCreatorInfo getCreatorInfo() {
      if (creatorInfoBuilder_ == null) {
        if (nBDOFGCPFEJCase_ == 1074) {
          return (io.grasscutter.net.proto.widget.WidgetCreatorInfo) nBDOFGCPFEJ_;
        }
        return io.grasscutter.net.proto.widget.WidgetCreatorInfo.getDefaultInstance();
      } else {
        if (nBDOFGCPFEJCase_ == 1074) {
          return creatorInfoBuilder_.getMessage();
        }
        return io.grasscutter.net.proto.widget.WidgetCreatorInfo.getDefaultInstance();
      }
    }
    /**
     * <code>.WidgetCreatorInfo creator_info = 1074;</code>
     */
    public Builder setCreatorInfo(io.grasscutter.net.proto.widget.WidgetCreatorInfo value) {
      if (creatorInfoBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        nBDOFGCPFEJ_ = value;
        onChanged();
      } else {
        creatorInfoBuilder_.setMessage(value);
      }
      nBDOFGCPFEJCase_ = 1074;
      return this;
    }
    /**
     * <code>.WidgetCreatorInfo creator_info = 1074;</code>
     */
    public Builder setCreatorInfo(
        io.grasscutter.net.proto.widget.WidgetCreatorInfo.Builder builderForValue) {
      if (creatorInfoBuilder_ == null) {
        nBDOFGCPFEJ_ = builderForValue.build();
        onChanged();
      } else {
        creatorInfoBuilder_.setMessage(builderForValue.build());
      }
      nBDOFGCPFEJCase_ = 1074;
      return this;
    }
    /**
     * <code>.WidgetCreatorInfo creator_info = 1074;</code>
     */
    public Builder mergeCreatorInfo(io.grasscutter.net.proto.widget.WidgetCreatorInfo value) {
      if (creatorInfoBuilder_ == null) {
        if (nBDOFGCPFEJCase_ == 1074 &&
            nBDOFGCPFEJ_ != io.grasscutter.net.proto.widget.WidgetCreatorInfo.getDefaultInstance()) {
          nBDOFGCPFEJ_ = io.grasscutter.net.proto.widget.WidgetCreatorInfo.newBuilder((io.grasscutter.net.proto.widget.WidgetCreatorInfo) nBDOFGCPFEJ_)
              .mergeFrom(value).buildPartial();
        } else {
          nBDOFGCPFEJ_ = value;
        }
        onChanged();
      } else {
        if (nBDOFGCPFEJCase_ == 1074) {
          creatorInfoBuilder_.mergeFrom(value);
        }
        creatorInfoBuilder_.setMessage(value);
      }
      nBDOFGCPFEJCase_ = 1074;
      return this;
    }
    /**
     * <code>.WidgetCreatorInfo creator_info = 1074;</code>
     */
    public Builder clearCreatorInfo() {
      if (creatorInfoBuilder_ == null) {
        if (nBDOFGCPFEJCase_ == 1074) {
          nBDOFGCPFEJCase_ = 0;
          nBDOFGCPFEJ_ = null;
          onChanged();
        }
      } else {
        if (nBDOFGCPFEJCase_ == 1074) {
          nBDOFGCPFEJCase_ = 0;
          nBDOFGCPFEJ_ = null;
        }
        creatorInfoBuilder_.clear();
      }
      return this;
    }
    /**
     * <code>.WidgetCreatorInfo creator_info = 1074;</code>
     */
    public io.grasscutter.net.proto.widget.WidgetCreatorInfo.Builder getCreatorInfoBuilder() {
      return getCreatorInfoFieldBuilder().getBuilder();
    }
    /**
     * <code>.WidgetCreatorInfo creator_info = 1074;</code>
     */
    @java.lang.Override
    public io.grasscutter.net.proto.widget.WidgetCreatorInfoOrBuilder getCreatorInfoOrBuilder() {
      if ((nBDOFGCPFEJCase_ == 1074) && (creatorInfoBuilder_ != null)) {
        return creatorInfoBuilder_.getMessageOrBuilder();
      } else {
        if (nBDOFGCPFEJCase_ == 1074) {
          return (io.grasscutter.net.proto.widget.WidgetCreatorInfo) nBDOFGCPFEJ_;
        }
        return io.grasscutter.net.proto.widget.WidgetCreatorInfo.getDefaultInstance();
      }
    }
    /**
     * <code>.WidgetCreatorInfo creator_info = 1074;</code>
     */
    private com.google.protobuf.SingleFieldBuilderV3<
        io.grasscutter.net.proto.widget.WidgetCreatorInfo, io.grasscutter.net.proto.widget.WidgetCreatorInfo.Builder, io.grasscutter.net.proto.widget.WidgetCreatorInfoOrBuilder> 
        getCreatorInfoFieldBuilder() {
      if (creatorInfoBuilder_ == null) {
        if (!(nBDOFGCPFEJCase_ == 1074)) {
          nBDOFGCPFEJ_ = io.grasscutter.net.proto.widget.WidgetCreatorInfo.getDefaultInstance();
        }
        creatorInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
            io.grasscutter.net.proto.widget.WidgetCreatorInfo, io.grasscutter.net.proto.widget.WidgetCreatorInfo.Builder, io.grasscutter.net.proto.widget.WidgetCreatorInfoOrBuilder>(
                (io.grasscutter.net.proto.widget.WidgetCreatorInfo) nBDOFGCPFEJ_,
                getParentForChildren(),
                isClean());
        nBDOFGCPFEJ_ = null;
      }
      nBDOFGCPFEJCase_ = 1074;
      onChanged();;
      return creatorInfoBuilder_;
    }

    private com.google.protobuf.SingleFieldBuilderV3<
        io.grasscutter.net.proto.widget.WidgetCameraInfo, io.grasscutter.net.proto.widget.WidgetCameraInfo.Builder, io.grasscutter.net.proto.widget.WidgetCameraInfoOrBuilder> cameraInfoBuilder_;
    /**
     * <code>.WidgetCameraInfo camera_info = 776;</code>
     * @return Whether the cameraInfo field is set.
     */
    @java.lang.Override
    public boolean hasCameraInfo() {
      return nBDOFGCPFEJCase_ == 776;
    }
    /**
     * <code>.WidgetCameraInfo camera_info = 776;</code>
     * @return The cameraInfo.
     */
    @java.lang.Override
    public io.grasscutter.net.proto.widget.WidgetCameraInfo getCameraInfo() {
      if (cameraInfoBuilder_ == null) {
        if (nBDOFGCPFEJCase_ == 776) {
          return (io.grasscutter.net.proto.widget.WidgetCameraInfo) nBDOFGCPFEJ_;
        }
        return io.grasscutter.net.proto.widget.WidgetCameraInfo.getDefaultInstance();
      } else {
        if (nBDOFGCPFEJCase_ == 776) {
          return cameraInfoBuilder_.getMessage();
        }
        return io.grasscutter.net.proto.widget.WidgetCameraInfo.getDefaultInstance();
      }
    }
    /**
     * <code>.WidgetCameraInfo camera_info = 776;</code>
     */
    public Builder setCameraInfo(io.grasscutter.net.proto.widget.WidgetCameraInfo value) {
      if (cameraInfoBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        nBDOFGCPFEJ_ = value;
        onChanged();
      } else {
        cameraInfoBuilder_.setMessage(value);
      }
      nBDOFGCPFEJCase_ = 776;
      return this;
    }
    /**
     * <code>.WidgetCameraInfo camera_info = 776;</code>
     */
    public Builder setCameraInfo(
        io.grasscutter.net.proto.widget.WidgetCameraInfo.Builder builderForValue) {
      if (cameraInfoBuilder_ == null) {
        nBDOFGCPFEJ_ = builderForValue.build();
        onChanged();
      } else {
        cameraInfoBuilder_.setMessage(builderForValue.build());
      }
      nBDOFGCPFEJCase_ = 776;
      return this;
    }
    /**
     * <code>.WidgetCameraInfo camera_info = 776;</code>
     */
    public Builder mergeCameraInfo(io.grasscutter.net.proto.widget.WidgetCameraInfo value) {
      if (cameraInfoBuilder_ == null) {
        if (nBDOFGCPFEJCase_ == 776 &&
            nBDOFGCPFEJ_ != io.grasscutter.net.proto.widget.WidgetCameraInfo.getDefaultInstance()) {
          nBDOFGCPFEJ_ = io.grasscutter.net.proto.widget.WidgetCameraInfo.newBuilder((io.grasscutter.net.proto.widget.WidgetCameraInfo) nBDOFGCPFEJ_)
              .mergeFrom(value).buildPartial();
        } else {
          nBDOFGCPFEJ_ = value;
        }
        onChanged();
      } else {
        if (nBDOFGCPFEJCase_ == 776) {
          cameraInfoBuilder_.mergeFrom(value);
        }
        cameraInfoBuilder_.setMessage(value);
      }
      nBDOFGCPFEJCase_ = 776;
      return this;
    }
    /**
     * <code>.WidgetCameraInfo camera_info = 776;</code>
     */
    public Builder clearCameraInfo() {
      if (cameraInfoBuilder_ == null) {
        if (nBDOFGCPFEJCase_ == 776) {
          nBDOFGCPFEJCase_ = 0;
          nBDOFGCPFEJ_ = null;
          onChanged();
        }
      } else {
        if (nBDOFGCPFEJCase_ == 776) {
          nBDOFGCPFEJCase_ = 0;
          nBDOFGCPFEJ_ = null;
        }
        cameraInfoBuilder_.clear();
      }
      return this;
    }
    /**
     * <code>.WidgetCameraInfo camera_info = 776;</code>
     */
    public io.grasscutter.net.proto.widget.WidgetCameraInfo.Builder getCameraInfoBuilder() {
      return getCameraInfoFieldBuilder().getBuilder();
    }
    /**
     * <code>.WidgetCameraInfo camera_info = 776;</code>
     */
    @java.lang.Override
    public io.grasscutter.net.proto.widget.WidgetCameraInfoOrBuilder getCameraInfoOrBuilder() {
      if ((nBDOFGCPFEJCase_ == 776) && (cameraInfoBuilder_ != null)) {
        return cameraInfoBuilder_.getMessageOrBuilder();
      } else {
        if (nBDOFGCPFEJCase_ == 776) {
          return (io.grasscutter.net.proto.widget.WidgetCameraInfo) nBDOFGCPFEJ_;
        }
        return io.grasscutter.net.proto.widget.WidgetCameraInfo.getDefaultInstance();
      }
    }
    /**
     * <code>.WidgetCameraInfo camera_info = 776;</code>
     */
    private com.google.protobuf.SingleFieldBuilderV3<
        io.grasscutter.net.proto.widget.WidgetCameraInfo, io.grasscutter.net.proto.widget.WidgetCameraInfo.Builder, io.grasscutter.net.proto.widget.WidgetCameraInfoOrBuilder> 
        getCameraInfoFieldBuilder() {
      if (cameraInfoBuilder_ == null) {
        if (!(nBDOFGCPFEJCase_ == 776)) {
          nBDOFGCPFEJ_ = io.grasscutter.net.proto.widget.WidgetCameraInfo.getDefaultInstance();
        }
        cameraInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
            io.grasscutter.net.proto.widget.WidgetCameraInfo, io.grasscutter.net.proto.widget.WidgetCameraInfo.Builder, io.grasscutter.net.proto.widget.WidgetCameraInfoOrBuilder>(
                (io.grasscutter.net.proto.widget.WidgetCameraInfo) nBDOFGCPFEJ_,
                getParentForChildren(),
                isClean());
        nBDOFGCPFEJ_ = null;
      }
      nBDOFGCPFEJCase_ = 776;
      onChanged();;
      return cameraInfoBuilder_;
    }

    private com.google.protobuf.SingleFieldBuilderV3<
        io.grasscutter.net.proto.widget.WidgetThunderBirdFeatherInfo, io.grasscutter.net.proto.widget.WidgetThunderBirdFeatherInfo.Builder, io.grasscutter.net.proto.widget.WidgetThunderBirdFeatherInfoOrBuilder> thunderBirdFeatherInfoBuilder_;
    /**
     * <code>.WidgetThunderBirdFeatherInfo thunder_bird_feather_info = 1278;</code>
     * @return Whether the thunderBirdFeatherInfo field is set.
     */
    @java.lang.Override
    public boolean hasThunderBirdFeatherInfo() {
      return nBDOFGCPFEJCase_ == 1278;
    }
    /**
     * <code>.WidgetThunderBirdFeatherInfo thunder_bird_feather_info = 1278;</code>
     * @return The thunderBirdFeatherInfo.
     */
    @java.lang.Override
    public io.grasscutter.net.proto.widget.WidgetThunderBirdFeatherInfo getThunderBirdFeatherInfo() {
      if (thunderBirdFeatherInfoBuilder_ == null) {
        if (nBDOFGCPFEJCase_ == 1278) {
          return (io.grasscutter.net.proto.widget.WidgetThunderBirdFeatherInfo) nBDOFGCPFEJ_;
        }
        return io.grasscutter.net.proto.widget.WidgetThunderBirdFeatherInfo.getDefaultInstance();
      } else {
        if (nBDOFGCPFEJCase_ == 1278) {
          return thunderBirdFeatherInfoBuilder_.getMessage();
        }
        return io.grasscutter.net.proto.widget.WidgetThunderBirdFeatherInfo.getDefaultInstance();
      }
    }
    /**
     * <code>.WidgetThunderBirdFeatherInfo thunder_bird_feather_info = 1278;</code>
     */
    public Builder setThunderBirdFeatherInfo(io.grasscutter.net.proto.widget.WidgetThunderBirdFeatherInfo value) {
      if (thunderBirdFeatherInfoBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        nBDOFGCPFEJ_ = value;
        onChanged();
      } else {
        thunderBirdFeatherInfoBuilder_.setMessage(value);
      }
      nBDOFGCPFEJCase_ = 1278;
      return this;
    }
    /**
     * <code>.WidgetThunderBirdFeatherInfo thunder_bird_feather_info = 1278;</code>
     */
    public Builder setThunderBirdFeatherInfo(
        io.grasscutter.net.proto.widget.WidgetThunderBirdFeatherInfo.Builder builderForValue) {
      if (thunderBirdFeatherInfoBuilder_ == null) {
        nBDOFGCPFEJ_ = builderForValue.build();
        onChanged();
      } else {
        thunderBirdFeatherInfoBuilder_.setMessage(builderForValue.build());
      }
      nBDOFGCPFEJCase_ = 1278;
      return this;
    }
    /**
     * <code>.WidgetThunderBirdFeatherInfo thunder_bird_feather_info = 1278;</code>
     */
    public Builder mergeThunderBirdFeatherInfo(io.grasscutter.net.proto.widget.WidgetThunderBirdFeatherInfo value) {
      if (thunderBirdFeatherInfoBuilder_ == null) {
        if (nBDOFGCPFEJCase_ == 1278 &&
            nBDOFGCPFEJ_ != io.grasscutter.net.proto.widget.WidgetThunderBirdFeatherInfo.getDefaultInstance()) {
          nBDOFGCPFEJ_ = io.grasscutter.net.proto.widget.WidgetThunderBirdFeatherInfo.newBuilder((io.grasscutter.net.proto.widget.WidgetThunderBirdFeatherInfo) nBDOFGCPFEJ_)
              .mergeFrom(value).buildPartial();
        } else {
          nBDOFGCPFEJ_ = value;
        }
        onChanged();
      } else {
        if (nBDOFGCPFEJCase_ == 1278) {
          thunderBirdFeatherInfoBuilder_.mergeFrom(value);
        }
        thunderBirdFeatherInfoBuilder_.setMessage(value);
      }
      nBDOFGCPFEJCase_ = 1278;
      return this;
    }
    /**
     * <code>.WidgetThunderBirdFeatherInfo thunder_bird_feather_info = 1278;</code>
     */
    public Builder clearThunderBirdFeatherInfo() {
      if (thunderBirdFeatherInfoBuilder_ == null) {
        if (nBDOFGCPFEJCase_ == 1278) {
          nBDOFGCPFEJCase_ = 0;
          nBDOFGCPFEJ_ = null;
          onChanged();
        }
      } else {
        if (nBDOFGCPFEJCase_ == 1278) {
          nBDOFGCPFEJCase_ = 0;
          nBDOFGCPFEJ_ = null;
        }
        thunderBirdFeatherInfoBuilder_.clear();
      }
      return this;
    }
    /**
     * <code>.WidgetThunderBirdFeatherInfo thunder_bird_feather_info = 1278;</code>
     */
    public io.grasscutter.net.proto.widget.WidgetThunderBirdFeatherInfo.Builder getThunderBirdFeatherInfoBuilder() {
      return getThunderBirdFeatherInfoFieldBuilder().getBuilder();
    }
    /**
     * <code>.WidgetThunderBirdFeatherInfo thunder_bird_feather_info = 1278;</code>
     */
    @java.lang.Override
    public io.grasscutter.net.proto.widget.WidgetThunderBirdFeatherInfoOrBuilder getThunderBirdFeatherInfoOrBuilder() {
      if ((nBDOFGCPFEJCase_ == 1278) && (thunderBirdFeatherInfoBuilder_ != null)) {
        return thunderBirdFeatherInfoBuilder_.getMessageOrBuilder();
      } else {
        if (nBDOFGCPFEJCase_ == 1278) {
          return (io.grasscutter.net.proto.widget.WidgetThunderBirdFeatherInfo) nBDOFGCPFEJ_;
        }
        return io.grasscutter.net.proto.widget.WidgetThunderBirdFeatherInfo.getDefaultInstance();
      }
    }
    /**
     * <code>.WidgetThunderBirdFeatherInfo thunder_bird_feather_info = 1278;</code>
     */
    private com.google.protobuf.SingleFieldBuilderV3<
        io.grasscutter.net.proto.widget.WidgetThunderBirdFeatherInfo, io.grasscutter.net.proto.widget.WidgetThunderBirdFeatherInfo.Builder, io.grasscutter.net.proto.widget.WidgetThunderBirdFeatherInfoOrBuilder> 
        getThunderBirdFeatherInfoFieldBuilder() {
      if (thunderBirdFeatherInfoBuilder_ == null) {
        if (!(nBDOFGCPFEJCase_ == 1278)) {
          nBDOFGCPFEJ_ = io.grasscutter.net.proto.widget.WidgetThunderBirdFeatherInfo.getDefaultInstance();
        }
        thunderBirdFeatherInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
            io.grasscutter.net.proto.widget.WidgetThunderBirdFeatherInfo, io.grasscutter.net.proto.widget.WidgetThunderBirdFeatherInfo.Builder, io.grasscutter.net.proto.widget.WidgetThunderBirdFeatherInfoOrBuilder>(
                (io.grasscutter.net.proto.widget.WidgetThunderBirdFeatherInfo) nBDOFGCPFEJ_,
                getParentForChildren(),
                isClean());
        nBDOFGCPFEJ_ = null;
      }
      nBDOFGCPFEJCase_ = 1278;
      onChanged();;
      return thunderBirdFeatherInfoBuilder_;
    }

    private com.google.protobuf.SingleFieldBuilderV3<
        io.grasscutter.net.proto.widget.WidgetCreateLocationInfo, io.grasscutter.net.proto.widget.WidgetCreateLocationInfo.Builder, io.grasscutter.net.proto.widget.WidgetCreateLocationInfoOrBuilder> locationInfoBuilder_;
    /**
     * <code>.WidgetCreateLocationInfo location_info = 30;</code>
     * @return Whether the locationInfo field is set.
     */
    @java.lang.Override
    public boolean hasLocationInfo() {
      return nBDOFGCPFEJCase_ == 30;
    }
    /**
     * <code>.WidgetCreateLocationInfo location_info = 30;</code>
     * @return The locationInfo.
     */
    @java.lang.Override
    public io.grasscutter.net.proto.widget.WidgetCreateLocationInfo getLocationInfo() {
      if (locationInfoBuilder_ == null) {
        if (nBDOFGCPFEJCase_ == 30) {
          return (io.grasscutter.net.proto.widget.WidgetCreateLocationInfo) nBDOFGCPFEJ_;
        }
        return io.grasscutter.net.proto.widget.WidgetCreateLocationInfo.getDefaultInstance();
      } else {
        if (nBDOFGCPFEJCase_ == 30) {
          return locationInfoBuilder_.getMessage();
        }
        return io.grasscutter.net.proto.widget.WidgetCreateLocationInfo.getDefaultInstance();
      }
    }
    /**
     * <code>.WidgetCreateLocationInfo location_info = 30;</code>
     */
    public Builder setLocationInfo(io.grasscutter.net.proto.widget.WidgetCreateLocationInfo value) {
      if (locationInfoBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        nBDOFGCPFEJ_ = value;
        onChanged();
      } else {
        locationInfoBuilder_.setMessage(value);
      }
      nBDOFGCPFEJCase_ = 30;
      return this;
    }
    /**
     * <code>.WidgetCreateLocationInfo location_info = 30;</code>
     */
    public Builder setLocationInfo(
        io.grasscutter.net.proto.widget.WidgetCreateLocationInfo.Builder builderForValue) {
      if (locationInfoBuilder_ == null) {
        nBDOFGCPFEJ_ = builderForValue.build();
        onChanged();
      } else {
        locationInfoBuilder_.setMessage(builderForValue.build());
      }
      nBDOFGCPFEJCase_ = 30;
      return this;
    }
    /**
     * <code>.WidgetCreateLocationInfo location_info = 30;</code>
     */
    public Builder mergeLocationInfo(io.grasscutter.net.proto.widget.WidgetCreateLocationInfo value) {
      if (locationInfoBuilder_ == null) {
        if (nBDOFGCPFEJCase_ == 30 &&
            nBDOFGCPFEJ_ != io.grasscutter.net.proto.widget.WidgetCreateLocationInfo.getDefaultInstance()) {
          nBDOFGCPFEJ_ = io.grasscutter.net.proto.widget.WidgetCreateLocationInfo.newBuilder((io.grasscutter.net.proto.widget.WidgetCreateLocationInfo) nBDOFGCPFEJ_)
              .mergeFrom(value).buildPartial();
        } else {
          nBDOFGCPFEJ_ = value;
        }
        onChanged();
      } else {
        if (nBDOFGCPFEJCase_ == 30) {
          locationInfoBuilder_.mergeFrom(value);
        }
        locationInfoBuilder_.setMessage(value);
      }
      nBDOFGCPFEJCase_ = 30;
      return this;
    }
    /**
     * <code>.WidgetCreateLocationInfo location_info = 30;</code>
     */
    public Builder clearLocationInfo() {
      if (locationInfoBuilder_ == null) {
        if (nBDOFGCPFEJCase_ == 30) {
          nBDOFGCPFEJCase_ = 0;
          nBDOFGCPFEJ_ = null;
          onChanged();
        }
      } else {
        if (nBDOFGCPFEJCase_ == 30) {
          nBDOFGCPFEJCase_ = 0;
          nBDOFGCPFEJ_ = null;
        }
        locationInfoBuilder_.clear();
      }
      return this;
    }
    /**
     * <code>.WidgetCreateLocationInfo location_info = 30;</code>
     */
    public io.grasscutter.net.proto.widget.WidgetCreateLocationInfo.Builder getLocationInfoBuilder() {
      return getLocationInfoFieldBuilder().getBuilder();
    }
    /**
     * <code>.WidgetCreateLocationInfo location_info = 30;</code>
     */
    @java.lang.Override
    public io.grasscutter.net.proto.widget.WidgetCreateLocationInfoOrBuilder getLocationInfoOrBuilder() {
      if ((nBDOFGCPFEJCase_ == 30) && (locationInfoBuilder_ != null)) {
        return locationInfoBuilder_.getMessageOrBuilder();
      } else {
        if (nBDOFGCPFEJCase_ == 30) {
          return (io.grasscutter.net.proto.widget.WidgetCreateLocationInfo) nBDOFGCPFEJ_;
        }
        return io.grasscutter.net.proto.widget.WidgetCreateLocationInfo.getDefaultInstance();
      }
    }
    /**
     * <code>.WidgetCreateLocationInfo location_info = 30;</code>
     */
    private com.google.protobuf.SingleFieldBuilderV3<
        io.grasscutter.net.proto.widget.WidgetCreateLocationInfo, io.grasscutter.net.proto.widget.WidgetCreateLocationInfo.Builder, io.grasscutter.net.proto.widget.WidgetCreateLocationInfoOrBuilder> 
        getLocationInfoFieldBuilder() {
      if (locationInfoBuilder_ == null) {
        if (!(nBDOFGCPFEJCase_ == 30)) {
          nBDOFGCPFEJ_ = io.grasscutter.net.proto.widget.WidgetCreateLocationInfo.getDefaultInstance();
        }
        locationInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
            io.grasscutter.net.proto.widget.WidgetCreateLocationInfo, io.grasscutter.net.proto.widget.WidgetCreateLocationInfo.Builder, io.grasscutter.net.proto.widget.WidgetCreateLocationInfoOrBuilder>(
                (io.grasscutter.net.proto.widget.WidgetCreateLocationInfo) nBDOFGCPFEJ_,
                getParentForChildren(),
                isClean());
        nBDOFGCPFEJ_ = null;
      }
      nBDOFGCPFEJCase_ = 30;
      onChanged();;
      return locationInfoBuilder_;
    }

    private boolean kJFPPJKHCAO_ ;
    /**
     * <code>bool KJFPPJKHCAO = 386;</code>
     * @return The kJFPPJKHCAO.
     */
    @java.lang.Override
    public boolean getKJFPPJKHCAO() {
      return kJFPPJKHCAO_;
    }
    /**
     * <code>bool KJFPPJKHCAO = 386;</code>
     * @param value The kJFPPJKHCAO to set.
     * @return This builder for chaining.
     */
    public Builder setKJFPPJKHCAO(boolean value) {
      
      kJFPPJKHCAO_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>bool KJFPPJKHCAO = 386;</code>
     * @return This builder for chaining.
     */
    public Builder clearKJFPPJKHCAO() {
      
      kJFPPJKHCAO_ = false;
      onChanged();
      return this;
    }
    @java.lang.Override
    public final Builder setUnknownFields(
        final com.google.protobuf.UnknownFieldSet unknownFields) {
      return super.setUnknownFields(unknownFields);
    }

    @java.lang.Override
    public final Builder mergeUnknownFields(
        final com.google.protobuf.UnknownFieldSet unknownFields) {
      return super.mergeUnknownFields(unknownFields);
    }


    // @@protoc_insertion_point(builder_scope:QuickUseWidgetReq)
  }

  // @@protoc_insertion_point(class_scope:QuickUseWidgetReq)
  private static final io.grasscutter.net.proto.widget.QuickUseWidgetReq DEFAULT_INSTANCE;
  static {
    DEFAULT_INSTANCE = new io.grasscutter.net.proto.widget.QuickUseWidgetReq();
  }

  public static io.grasscutter.net.proto.widget.QuickUseWidgetReq getDefaultInstance() {
    return DEFAULT_INSTANCE;
  }

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

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

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

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

}

