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

package io.grasscutter.net.proto.widget;

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

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

  @java.lang.Override
  public final com.google.protobuf.UnknownFieldSet
  getUnknownFields() {
    return this.unknownFields;
  }
  private WidgetCreatorInfo(
      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 16: {

            entityId_ = input.readUInt32();
            break;
          }
          case 34: {
            io.grasscutter.net.proto.widget.WidgetCreateLocationInfo.Builder subBuilder = null;
            if (aLDIPFFJEOI_ != null) {
              subBuilder = aLDIPFFJEOI_.toBuilder();
            }
            aLDIPFFJEOI_ = input.readMessage(io.grasscutter.net.proto.widget.WidgetCreateLocationInfo.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom(aLDIPFFJEOI_);
              aLDIPFFJEOI_ = subBuilder.buildPartial();
            }

            break;
          }
          case 64: {
            int rawValue = input.readEnum();

            opType_ = rawValue;
            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_WidgetCreatorInfo_descriptor;
  }

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

  public static final int ALDIPFFJEOI_FIELD_NUMBER = 4;
  private io.grasscutter.net.proto.widget.WidgetCreateLocationInfo aLDIPFFJEOI_;
  /**
   * <code>.WidgetCreateLocationInfo ALDIPFFJEOI = 4;</code>
   * @return Whether the aLDIPFFJEOI field is set.
   */
  @java.lang.Override
  public boolean hasALDIPFFJEOI() {
    return aLDIPFFJEOI_ != null;
  }
  /**
   * <code>.WidgetCreateLocationInfo ALDIPFFJEOI = 4;</code>
   * @return The aLDIPFFJEOI.
   */
  @java.lang.Override
  public io.grasscutter.net.proto.widget.WidgetCreateLocationInfo getALDIPFFJEOI() {
    return aLDIPFFJEOI_ == null ? io.grasscutter.net.proto.widget.WidgetCreateLocationInfo.getDefaultInstance() : aLDIPFFJEOI_;
  }
  /**
   * <code>.WidgetCreateLocationInfo ALDIPFFJEOI = 4;</code>
   */
  @java.lang.Override
  public io.grasscutter.net.proto.widget.WidgetCreateLocationInfoOrBuilder getALDIPFFJEOIOrBuilder() {
    return getALDIPFFJEOI();
  }

  public static final int OP_TYPE_FIELD_NUMBER = 8;
  private int opType_;
  /**
   * <code>.WidgetCreatorOpType op_type = 8;</code>
   * @return The enum numeric value on the wire for opType.
   */
  @java.lang.Override public int getOpTypeValue() {
    return opType_;
  }
  /**
   * <code>.WidgetCreatorOpType op_type = 8;</code>
   * @return The opType.
   */
  @java.lang.Override public io.grasscutter.net.proto.widget.WidgetCreatorOpType getOpType() {
    @SuppressWarnings("deprecation")
    io.grasscutter.net.proto.widget.WidgetCreatorOpType result = io.grasscutter.net.proto.widget.WidgetCreatorOpType.valueOf(opType_);
    return result == null ? io.grasscutter.net.proto.widget.WidgetCreatorOpType.UNRECOGNIZED : result;
  }

  public static final int ENTITY_ID_FIELD_NUMBER = 2;
  private int entityId_;
  /**
   * <code>uint32 entity_id = 2;</code>
   * @return The entityId.
   */
  @java.lang.Override
  public int getEntityId() {
    return entityId_;
  }

  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 (entityId_ != 0) {
      output.writeUInt32(2, entityId_);
    }
    if (aLDIPFFJEOI_ != null) {
      output.writeMessage(4, getALDIPFFJEOI());
    }
    if (opType_ != io.grasscutter.net.proto.widget.WidgetCreatorOpType.WidgetCreatorOpType_WIDGET_CREATOR_TYPE_NONE.getNumber()) {
      output.writeEnum(8, opType_);
    }
    unknownFields.writeTo(output);
  }

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

    size = 0;
    if (entityId_ != 0) {
      size += com.google.protobuf.CodedOutputStream
        .computeUInt32Size(2, entityId_);
    }
    if (aLDIPFFJEOI_ != null) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(4, getALDIPFFJEOI());
    }
    if (opType_ != io.grasscutter.net.proto.widget.WidgetCreatorOpType.WidgetCreatorOpType_WIDGET_CREATOR_TYPE_NONE.getNumber()) {
      size += com.google.protobuf.CodedOutputStream
        .computeEnumSize(8, opType_);
    }
    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.WidgetCreatorInfo)) {
      return super.equals(obj);
    }
    io.grasscutter.net.proto.widget.WidgetCreatorInfo other = (io.grasscutter.net.proto.widget.WidgetCreatorInfo) obj;

    if (hasALDIPFFJEOI() != other.hasALDIPFFJEOI()) return false;
    if (hasALDIPFFJEOI()) {
      if (!getALDIPFFJEOI()
          .equals(other.getALDIPFFJEOI())) return false;
    }
    if (opType_ != other.opType_) return false;
    if (getEntityId()
        != other.getEntityId()) return false;
    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();
    if (hasALDIPFFJEOI()) {
      hash = (37 * hash) + ALDIPFFJEOI_FIELD_NUMBER;
      hash = (53 * hash) + getALDIPFFJEOI().hashCode();
    }
    hash = (37 * hash) + OP_TYPE_FIELD_NUMBER;
    hash = (53 * hash) + opType_;
    hash = (37 * hash) + ENTITY_ID_FIELD_NUMBER;
    hash = (53 * hash) + getEntityId();
    hash = (29 * hash) + unknownFields.hashCode();
    memoizedHashCode = hash;
    return hash;
  }

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

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

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

    // Construct using io.grasscutter.net.proto.widget.WidgetCreatorInfo.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();
      if (aLDIPFFJEOIBuilder_ == null) {
        aLDIPFFJEOI_ = null;
      } else {
        aLDIPFFJEOI_ = null;
        aLDIPFFJEOIBuilder_ = null;
      }
      opType_ = 0;

      entityId_ = 0;

      return this;
    }

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

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

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

    @java.lang.Override
    public io.grasscutter.net.proto.widget.WidgetCreatorInfo buildPartial() {
      io.grasscutter.net.proto.widget.WidgetCreatorInfo result = new io.grasscutter.net.proto.widget.WidgetCreatorInfo(this);
      if (aLDIPFFJEOIBuilder_ == null) {
        result.aLDIPFFJEOI_ = aLDIPFFJEOI_;
      } else {
        result.aLDIPFFJEOI_ = aLDIPFFJEOIBuilder_.build();
      }
      result.opType_ = opType_;
      result.entityId_ = entityId_;
      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.WidgetCreatorInfo) {
        return mergeFrom((io.grasscutter.net.proto.widget.WidgetCreatorInfo)other);
      } else {
        super.mergeFrom(other);
        return this;
      }
    }

    public Builder mergeFrom(io.grasscutter.net.proto.widget.WidgetCreatorInfo other) {
      if (other == io.grasscutter.net.proto.widget.WidgetCreatorInfo.getDefaultInstance()) return this;
      if (other.hasALDIPFFJEOI()) {
        mergeALDIPFFJEOI(other.getALDIPFFJEOI());
      }
      if (other.opType_ != 0) {
        setOpTypeValue(other.getOpTypeValue());
      }
      if (other.getEntityId() != 0) {
        setEntityId(other.getEntityId());
      }
      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.WidgetCreatorInfo parsedMessage = null;
      try {
        parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        parsedMessage = (io.grasscutter.net.proto.widget.WidgetCreatorInfo) e.getUnfinishedMessage();
        throw e.unwrapIOException();
      } finally {
        if (parsedMessage != null) {
          mergeFrom(parsedMessage);
        }
      }
      return this;
    }

    private io.grasscutter.net.proto.widget.WidgetCreateLocationInfo aLDIPFFJEOI_;
    private com.google.protobuf.SingleFieldBuilderV3<
        io.grasscutter.net.proto.widget.WidgetCreateLocationInfo, io.grasscutter.net.proto.widget.WidgetCreateLocationInfo.Builder, io.grasscutter.net.proto.widget.WidgetCreateLocationInfoOrBuilder> aLDIPFFJEOIBuilder_;
    /**
     * <code>.WidgetCreateLocationInfo ALDIPFFJEOI = 4;</code>
     * @return Whether the aLDIPFFJEOI field is set.
     */
    public boolean hasALDIPFFJEOI() {
      return aLDIPFFJEOIBuilder_ != null || aLDIPFFJEOI_ != null;
    }
    /**
     * <code>.WidgetCreateLocationInfo ALDIPFFJEOI = 4;</code>
     * @return The aLDIPFFJEOI.
     */
    public io.grasscutter.net.proto.widget.WidgetCreateLocationInfo getALDIPFFJEOI() {
      if (aLDIPFFJEOIBuilder_ == null) {
        return aLDIPFFJEOI_ == null ? io.grasscutter.net.proto.widget.WidgetCreateLocationInfo.getDefaultInstance() : aLDIPFFJEOI_;
      } else {
        return aLDIPFFJEOIBuilder_.getMessage();
      }
    }
    /**
     * <code>.WidgetCreateLocationInfo ALDIPFFJEOI = 4;</code>
     */
    public Builder setALDIPFFJEOI(io.grasscutter.net.proto.widget.WidgetCreateLocationInfo value) {
      if (aLDIPFFJEOIBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        aLDIPFFJEOI_ = value;
        onChanged();
      } else {
        aLDIPFFJEOIBuilder_.setMessage(value);
      }

      return this;
    }
    /**
     * <code>.WidgetCreateLocationInfo ALDIPFFJEOI = 4;</code>
     */
    public Builder setALDIPFFJEOI(
        io.grasscutter.net.proto.widget.WidgetCreateLocationInfo.Builder builderForValue) {
      if (aLDIPFFJEOIBuilder_ == null) {
        aLDIPFFJEOI_ = builderForValue.build();
        onChanged();
      } else {
        aLDIPFFJEOIBuilder_.setMessage(builderForValue.build());
      }

      return this;
    }
    /**
     * <code>.WidgetCreateLocationInfo ALDIPFFJEOI = 4;</code>
     */
    public Builder mergeALDIPFFJEOI(io.grasscutter.net.proto.widget.WidgetCreateLocationInfo value) {
      if (aLDIPFFJEOIBuilder_ == null) {
        if (aLDIPFFJEOI_ != null) {
          aLDIPFFJEOI_ =
            io.grasscutter.net.proto.widget.WidgetCreateLocationInfo.newBuilder(aLDIPFFJEOI_).mergeFrom(value).buildPartial();
        } else {
          aLDIPFFJEOI_ = value;
        }
        onChanged();
      } else {
        aLDIPFFJEOIBuilder_.mergeFrom(value);
      }

      return this;
    }
    /**
     * <code>.WidgetCreateLocationInfo ALDIPFFJEOI = 4;</code>
     */
    public Builder clearALDIPFFJEOI() {
      if (aLDIPFFJEOIBuilder_ == null) {
        aLDIPFFJEOI_ = null;
        onChanged();
      } else {
        aLDIPFFJEOI_ = null;
        aLDIPFFJEOIBuilder_ = null;
      }

      return this;
    }
    /**
     * <code>.WidgetCreateLocationInfo ALDIPFFJEOI = 4;</code>
     */
    public io.grasscutter.net.proto.widget.WidgetCreateLocationInfo.Builder getALDIPFFJEOIBuilder() {
      
      onChanged();
      return getALDIPFFJEOIFieldBuilder().getBuilder();
    }
    /**
     * <code>.WidgetCreateLocationInfo ALDIPFFJEOI = 4;</code>
     */
    public io.grasscutter.net.proto.widget.WidgetCreateLocationInfoOrBuilder getALDIPFFJEOIOrBuilder() {
      if (aLDIPFFJEOIBuilder_ != null) {
        return aLDIPFFJEOIBuilder_.getMessageOrBuilder();
      } else {
        return aLDIPFFJEOI_ == null ?
            io.grasscutter.net.proto.widget.WidgetCreateLocationInfo.getDefaultInstance() : aLDIPFFJEOI_;
      }
    }
    /**
     * <code>.WidgetCreateLocationInfo ALDIPFFJEOI = 4;</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> 
        getALDIPFFJEOIFieldBuilder() {
      if (aLDIPFFJEOIBuilder_ == null) {
        aLDIPFFJEOIBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
            io.grasscutter.net.proto.widget.WidgetCreateLocationInfo, io.grasscutter.net.proto.widget.WidgetCreateLocationInfo.Builder, io.grasscutter.net.proto.widget.WidgetCreateLocationInfoOrBuilder>(
                getALDIPFFJEOI(),
                getParentForChildren(),
                isClean());
        aLDIPFFJEOI_ = null;
      }
      return aLDIPFFJEOIBuilder_;
    }

    private int opType_ = 0;
    /**
     * <code>.WidgetCreatorOpType op_type = 8;</code>
     * @return The enum numeric value on the wire for opType.
     */
    @java.lang.Override public int getOpTypeValue() {
      return opType_;
    }
    /**
     * <code>.WidgetCreatorOpType op_type = 8;</code>
     * @param value The enum numeric value on the wire for opType to set.
     * @return This builder for chaining.
     */
    public Builder setOpTypeValue(int value) {
      
      opType_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>.WidgetCreatorOpType op_type = 8;</code>
     * @return The opType.
     */
    @java.lang.Override
    public io.grasscutter.net.proto.widget.WidgetCreatorOpType getOpType() {
      @SuppressWarnings("deprecation")
      io.grasscutter.net.proto.widget.WidgetCreatorOpType result = io.grasscutter.net.proto.widget.WidgetCreatorOpType.valueOf(opType_);
      return result == null ? io.grasscutter.net.proto.widget.WidgetCreatorOpType.UNRECOGNIZED : result;
    }
    /**
     * <code>.WidgetCreatorOpType op_type = 8;</code>
     * @param value The opType to set.
     * @return This builder for chaining.
     */
    public Builder setOpType(io.grasscutter.net.proto.widget.WidgetCreatorOpType value) {
      if (value == null) {
        throw new NullPointerException();
      }
      
      opType_ = value.getNumber();
      onChanged();
      return this;
    }
    /**
     * <code>.WidgetCreatorOpType op_type = 8;</code>
     * @return This builder for chaining.
     */
    public Builder clearOpType() {
      
      opType_ = 0;
      onChanged();
      return this;
    }

    private int entityId_ ;
    /**
     * <code>uint32 entity_id = 2;</code>
     * @return The entityId.
     */
    @java.lang.Override
    public int getEntityId() {
      return entityId_;
    }
    /**
     * <code>uint32 entity_id = 2;</code>
     * @param value The entityId to set.
     * @return This builder for chaining.
     */
    public Builder setEntityId(int value) {
      
      entityId_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>uint32 entity_id = 2;</code>
     * @return This builder for chaining.
     */
    public Builder clearEntityId() {
      
      entityId_ = 0;
      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:WidgetCreatorInfo)
  }

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

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

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

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

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

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

}

