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

package emu.grasscutter.net.proto;

public final class SceneGadgetInfoOuterClass {
  private SceneGadgetInfoOuterClass() {}
  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistryLite registry) {
  }

  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistry registry) {
    registerAllExtensions(
        (com.google.protobuf.ExtensionRegistryLite) registry);
  }
  public interface SceneGadgetInfoOrBuilder extends
      // @@protoc_insertion_point(interface_extends:SceneGadgetInfo)
      com.google.protobuf.MessageOrBuilder {

    /**
     * <code>uint32 gadgetId = 1;</code>
     * @return The gadgetId.
     */
    int getGadgetId();

    /**
     * <code>uint32 groupId = 2;</code>
     * @return The groupId.
     */
    int getGroupId();

    /**
     * <code>uint32 configId = 3;</code>
     * @return The configId.
     */
    int getConfigId();

    /**
     * <code>uint32 ownerEntityId = 4;</code>
     * @return The ownerEntityId.
     */
    int getOwnerEntityId();

    /**
     * <code>.GadgetBornType bornType = 5;</code>
     * @return The enum numeric value on the wire for bornType.
     */
    int getBornTypeValue();
    /**
     * <code>.GadgetBornType bornType = 5;</code>
     * @return The bornType.
     */
    emu.grasscutter.net.proto.GadgetBornTypeOuterClass.GadgetBornType getBornType();

    /**
     * <code>uint32 gadgetState = 6;</code>
     * @return The gadgetState.
     */
    int getGadgetState();

    /**
     * <code>uint32 gadgetType = 7;</code>
     * @return The gadgetType.
     */
    int getGadgetType();

    /**
     * <code>bool isShowCutscene = 8;</code>
     * @return The isShowCutscene.
     */
    boolean getIsShowCutscene();

    /**
     * <code>uint32 authorityPeerId = 9;</code>
     * @return The authorityPeerId.
     */
    int getAuthorityPeerId();

    /**
     * <code>bool isEnableInteract = 10;</code>
     * @return The isEnableInteract.
     */
    boolean getIsEnableInteract();

    /**
     * <code>uint32 interactId = 11;</code>
     * @return The interactId.
     */
    int getInteractId();

    /**
     * <code>.Item trifleItem = 12;</code>
     * @return Whether the trifleItem field is set.
     */
    boolean hasTrifleItem();
    /**
     * <code>.Item trifleItem = 12;</code>
     * @return The trifleItem.
     */
    emu.grasscutter.net.proto.ItemOuterClass.Item getTrifleItem();
    /**
     * <code>.Item trifleItem = 12;</code>
     */
    emu.grasscutter.net.proto.ItemOuterClass.ItemOrBuilder getTrifleItemOrBuilder();

    /**
     * <code>uint32 gatherGadget = 13;</code>
     * @return The gatherGadget.
     */
    int getGatherGadget();

    /**
     * <code>uint32 worktop = 14;</code>
     * @return The worktop.
     */
    int getWorktop();

    /**
     * <code>.GadgetClientParam clientGadget = 15;</code>
     * @return Whether the clientGadget field is set.
     */
    boolean hasClientGadget();
    /**
     * <code>.GadgetClientParam clientGadget = 15;</code>
     * @return The clientGadget.
     */
    emu.grasscutter.net.proto.GadgetClientParamOuterClass.GadgetClientParam getClientGadget();
    /**
     * <code>.GadgetClientParam clientGadget = 15;</code>
     */
    emu.grasscutter.net.proto.GadgetClientParamOuterClass.GadgetClientParamOrBuilder getClientGadgetOrBuilder();

    /**
     * <code>uint32 weather = 17;</code>
     * @return The weather.
     */
    int getWeather();

    /**
     * <code>uint32 abilityGadget = 18;</code>
     * @return The abilityGadget.
     */
    int getAbilityGadget();

    /**
     * <code>uint32 statueGadget = 19;</code>
     * @return The statueGadget.
     */
    int getStatueGadget();

    /**
     * <code>uint32 bossChest = 20;</code>
     * @return The bossChest.
     */
    int getBossChest();

    /**
     * <code>uint32 blossomChest = 41;</code>
     * @return The blossomChest.
     */
    int getBlossomChest();

    /**
     * <code>uint32 mpPlayReward = 42;</code>
     * @return The mpPlayReward.
     */
    int getMpPlayReward();

    /**
     * <code>uint32 generalReward = 43;</code>
     * @return The generalReward.
     */
    int getGeneralReward();

    /**
     * <code>uint32 offeringInfo = 44;</code>
     * @return The offeringInfo.
     */
    int getOfferingInfo();

    /**
     * <code>uint32 foundationInfo = 45;</code>
     * @return The foundationInfo.
     */
    int getFoundationInfo();

    /**
     * <code>uint32 markFlag = 21;</code>
     * @return The markFlag.
     */
    int getMarkFlag();

    /**
     * <code>uint32 propOwnerEntityId = 22;</code>
     * @return The propOwnerEntityId.
     */
    int getPropOwnerEntityId();

    /**
     * <code>.PlatformInfo platform = 23;</code>
     * @return Whether the platform field is set.
     */
    boolean hasPlatform();
    /**
     * <code>.PlatformInfo platform = 23;</code>
     * @return The platform.
     */
    emu.grasscutter.net.proto.PlatformInfoOuterClass.PlatformInfo getPlatform();
    /**
     * <code>.PlatformInfo platform = 23;</code>
     */
    emu.grasscutter.net.proto.PlatformInfoOuterClass.PlatformInfoOrBuilder getPlatformOrBuilder();

    /**
     * <code>repeated uint32 interactUidList = 24;</code>
     * @return A list containing the interactUidList.
     */
    java.util.List<java.lang.Integer> getInteractUidListList();
    /**
     * <code>repeated uint32 interactUidList = 24;</code>
     * @return The count of interactUidList.
     */
    int getInteractUidListCount();
    /**
     * <code>repeated uint32 interactUidList = 24;</code>
     * @param index The index of the element to return.
     * @return The interactUidList at the given index.
     */
    int getInteractUidList(int index);

    /**
     * <code>uint32 draftId = 25;</code>
     * @return The draftId.
     */
    int getDraftId();

    /**
     * <code>uint32 gadgetTalkState = 26;</code>
     * @return The gadgetTalkState.
     */
    int getGadgetTalkState();

    /**
     * <code>.GadgetPlayInfo playInfo = 100;</code>
     * @return Whether the playInfo field is set.
     */
    boolean hasPlayInfo();
    /**
     * <code>.GadgetPlayInfo playInfo = 100;</code>
     * @return The playInfo.
     */
    emu.grasscutter.net.proto.GadgetPlayInfoOuterClass.GadgetPlayInfo getPlayInfo();
    /**
     * <code>.GadgetPlayInfo playInfo = 100;</code>
     */
    emu.grasscutter.net.proto.GadgetPlayInfoOuterClass.GadgetPlayInfoOrBuilder getPlayInfoOrBuilder();
  }
  /**
   * Protobuf type {@code SceneGadgetInfo}
   */
  public static final class SceneGadgetInfo extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:SceneGadgetInfo)
      SceneGadgetInfoOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use SceneGadgetInfo.newBuilder() to construct.
    private SceneGadgetInfo(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private SceneGadgetInfo() {
      bornType_ = 0;
      interactUidList_ = emptyIntList();
    }

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

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private SceneGadgetInfo(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      if (extensionRegistry == null) {
        throw new java.lang.NullPointerException();
      }
      int mutable_bitField0_ = 0;
      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: {

              gadgetId_ = input.readUInt32();
              break;
            }
            case 16: {

              groupId_ = input.readUInt32();
              break;
            }
            case 24: {

              configId_ = input.readUInt32();
              break;
            }
            case 32: {

              ownerEntityId_ = input.readUInt32();
              break;
            }
            case 40: {
              int rawValue = input.readEnum();

              bornType_ = rawValue;
              break;
            }
            case 48: {

              gadgetState_ = input.readUInt32();
              break;
            }
            case 56: {

              gadgetType_ = input.readUInt32();
              break;
            }
            case 64: {

              isShowCutscene_ = input.readBool();
              break;
            }
            case 72: {

              authorityPeerId_ = input.readUInt32();
              break;
            }
            case 80: {

              isEnableInteract_ = input.readBool();
              break;
            }
            case 88: {

              interactId_ = input.readUInt32();
              break;
            }
            case 98: {
              emu.grasscutter.net.proto.ItemOuterClass.Item.Builder subBuilder = null;
              if (trifleItem_ != null) {
                subBuilder = trifleItem_.toBuilder();
              }
              trifleItem_ = input.readMessage(emu.grasscutter.net.proto.ItemOuterClass.Item.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(trifleItem_);
                trifleItem_ = subBuilder.buildPartial();
              }

              break;
            }
            case 104: {

              gatherGadget_ = input.readUInt32();
              break;
            }
            case 112: {

              worktop_ = input.readUInt32();
              break;
            }
            case 122: {
              emu.grasscutter.net.proto.GadgetClientParamOuterClass.GadgetClientParam.Builder subBuilder = null;
              if (clientGadget_ != null) {
                subBuilder = clientGadget_.toBuilder();
              }
              clientGadget_ = input.readMessage(emu.grasscutter.net.proto.GadgetClientParamOuterClass.GadgetClientParam.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(clientGadget_);
                clientGadget_ = subBuilder.buildPartial();
              }

              break;
            }
            case 136: {

              weather_ = input.readUInt32();
              break;
            }
            case 144: {

              abilityGadget_ = input.readUInt32();
              break;
            }
            case 152: {

              statueGadget_ = input.readUInt32();
              break;
            }
            case 160: {

              bossChest_ = input.readUInt32();
              break;
            }
            case 168: {

              markFlag_ = input.readUInt32();
              break;
            }
            case 176: {

              propOwnerEntityId_ = input.readUInt32();
              break;
            }
            case 186: {
              emu.grasscutter.net.proto.PlatformInfoOuterClass.PlatformInfo.Builder subBuilder = null;
              if (platform_ != null) {
                subBuilder = platform_.toBuilder();
              }
              platform_ = input.readMessage(emu.grasscutter.net.proto.PlatformInfoOuterClass.PlatformInfo.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(platform_);
                platform_ = subBuilder.buildPartial();
              }

              break;
            }
            case 192: {
              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
                interactUidList_ = newIntList();
                mutable_bitField0_ |= 0x00000001;
              }
              interactUidList_.addInt(input.readUInt32());
              break;
            }
            case 194: {
              int length = input.readRawVarint32();
              int limit = input.pushLimit(length);
              if (!((mutable_bitField0_ & 0x00000001) != 0) && input.getBytesUntilLimit() > 0) {
                interactUidList_ = newIntList();
                mutable_bitField0_ |= 0x00000001;
              }
              while (input.getBytesUntilLimit() > 0) {
                interactUidList_.addInt(input.readUInt32());
              }
              input.popLimit(limit);
              break;
            }
            case 200: {

              draftId_ = input.readUInt32();
              break;
            }
            case 208: {

              gadgetTalkState_ = input.readUInt32();
              break;
            }
            case 328: {

              blossomChest_ = input.readUInt32();
              break;
            }
            case 336: {

              mpPlayReward_ = input.readUInt32();
              break;
            }
            case 344: {

              generalReward_ = input.readUInt32();
              break;
            }
            case 352: {

              offeringInfo_ = input.readUInt32();
              break;
            }
            case 360: {

              foundationInfo_ = input.readUInt32();
              break;
            }
            case 802: {
              emu.grasscutter.net.proto.GadgetPlayInfoOuterClass.GadgetPlayInfo.Builder subBuilder = null;
              if (playInfo_ != null) {
                subBuilder = playInfo_.toBuilder();
              }
              playInfo_ = input.readMessage(emu.grasscutter.net.proto.GadgetPlayInfoOuterClass.GadgetPlayInfo.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(playInfo_);
                playInfo_ = subBuilder.buildPartial();
              }

              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 {
        if (((mutable_bitField0_ & 0x00000001) != 0)) {
          interactUidList_.makeImmutable(); // C
        }
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return emu.grasscutter.net.proto.SceneGadgetInfoOuterClass.internal_static_SceneGadgetInfo_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return emu.grasscutter.net.proto.SceneGadgetInfoOuterClass.internal_static_SceneGadgetInfo_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              emu.grasscutter.net.proto.SceneGadgetInfoOuterClass.SceneGadgetInfo.class, emu.grasscutter.net.proto.SceneGadgetInfoOuterClass.SceneGadgetInfo.Builder.class);
    }

    public static final int GADGETID_FIELD_NUMBER = 1;
    private int gadgetId_;
    /**
     * <code>uint32 gadgetId = 1;</code>
     * @return The gadgetId.
     */
    @java.lang.Override
    public int getGadgetId() {
      return gadgetId_;
    }

    public static final int GROUPID_FIELD_NUMBER = 2;
    private int groupId_;
    /**
     * <code>uint32 groupId = 2;</code>
     * @return The groupId.
     */
    @java.lang.Override
    public int getGroupId() {
      return groupId_;
    }

    public static final int CONFIGID_FIELD_NUMBER = 3;
    private int configId_;
    /**
     * <code>uint32 configId = 3;</code>
     * @return The configId.
     */
    @java.lang.Override
    public int getConfigId() {
      return configId_;
    }

    public static final int OWNERENTITYID_FIELD_NUMBER = 4;
    private int ownerEntityId_;
    /**
     * <code>uint32 ownerEntityId = 4;</code>
     * @return The ownerEntityId.
     */
    @java.lang.Override
    public int getOwnerEntityId() {
      return ownerEntityId_;
    }

    public static final int BORNTYPE_FIELD_NUMBER = 5;
    private int bornType_;
    /**
     * <code>.GadgetBornType bornType = 5;</code>
     * @return The enum numeric value on the wire for bornType.
     */
    @java.lang.Override public int getBornTypeValue() {
      return bornType_;
    }
    /**
     * <code>.GadgetBornType bornType = 5;</code>
     * @return The bornType.
     */
    @java.lang.Override public emu.grasscutter.net.proto.GadgetBornTypeOuterClass.GadgetBornType getBornType() {
      @SuppressWarnings("deprecation")
      emu.grasscutter.net.proto.GadgetBornTypeOuterClass.GadgetBornType result = emu.grasscutter.net.proto.GadgetBornTypeOuterClass.GadgetBornType.valueOf(bornType_);
      return result == null ? emu.grasscutter.net.proto.GadgetBornTypeOuterClass.GadgetBornType.UNRECOGNIZED : result;
    }

    public static final int GADGETSTATE_FIELD_NUMBER = 6;
    private int gadgetState_;
    /**
     * <code>uint32 gadgetState = 6;</code>
     * @return The gadgetState.
     */
    @java.lang.Override
    public int getGadgetState() {
      return gadgetState_;
    }

    public static final int GADGETTYPE_FIELD_NUMBER = 7;
    private int gadgetType_;
    /**
     * <code>uint32 gadgetType = 7;</code>
     * @return The gadgetType.
     */
    @java.lang.Override
    public int getGadgetType() {
      return gadgetType_;
    }

    public static final int ISSHOWCUTSCENE_FIELD_NUMBER = 8;
    private boolean isShowCutscene_;
    /**
     * <code>bool isShowCutscene = 8;</code>
     * @return The isShowCutscene.
     */
    @java.lang.Override
    public boolean getIsShowCutscene() {
      return isShowCutscene_;
    }

    public static final int AUTHORITYPEERID_FIELD_NUMBER = 9;
    private int authorityPeerId_;
    /**
     * <code>uint32 authorityPeerId = 9;</code>
     * @return The authorityPeerId.
     */
    @java.lang.Override
    public int getAuthorityPeerId() {
      return authorityPeerId_;
    }

    public static final int ISENABLEINTERACT_FIELD_NUMBER = 10;
    private boolean isEnableInteract_;
    /**
     * <code>bool isEnableInteract = 10;</code>
     * @return The isEnableInteract.
     */
    @java.lang.Override
    public boolean getIsEnableInteract() {
      return isEnableInteract_;
    }

    public static final int INTERACTID_FIELD_NUMBER = 11;
    private int interactId_;
    /**
     * <code>uint32 interactId = 11;</code>
     * @return The interactId.
     */
    @java.lang.Override
    public int getInteractId() {
      return interactId_;
    }

    public static final int TRIFLEITEM_FIELD_NUMBER = 12;
    private emu.grasscutter.net.proto.ItemOuterClass.Item trifleItem_;
    /**
     * <code>.Item trifleItem = 12;</code>
     * @return Whether the trifleItem field is set.
     */
    @java.lang.Override
    public boolean hasTrifleItem() {
      return trifleItem_ != null;
    }
    /**
     * <code>.Item trifleItem = 12;</code>
     * @return The trifleItem.
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.ItemOuterClass.Item getTrifleItem() {
      return trifleItem_ == null ? emu.grasscutter.net.proto.ItemOuterClass.Item.getDefaultInstance() : trifleItem_;
    }
    /**
     * <code>.Item trifleItem = 12;</code>
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.ItemOuterClass.ItemOrBuilder getTrifleItemOrBuilder() {
      return getTrifleItem();
    }

    public static final int GATHERGADGET_FIELD_NUMBER = 13;
    private int gatherGadget_;
    /**
     * <code>uint32 gatherGadget = 13;</code>
     * @return The gatherGadget.
     */
    @java.lang.Override
    public int getGatherGadget() {
      return gatherGadget_;
    }

    public static final int WORKTOP_FIELD_NUMBER = 14;
    private int worktop_;
    /**
     * <code>uint32 worktop = 14;</code>
     * @return The worktop.
     */
    @java.lang.Override
    public int getWorktop() {
      return worktop_;
    }

    public static final int CLIENTGADGET_FIELD_NUMBER = 15;
    private emu.grasscutter.net.proto.GadgetClientParamOuterClass.GadgetClientParam clientGadget_;
    /**
     * <code>.GadgetClientParam clientGadget = 15;</code>
     * @return Whether the clientGadget field is set.
     */
    @java.lang.Override
    public boolean hasClientGadget() {
      return clientGadget_ != null;
    }
    /**
     * <code>.GadgetClientParam clientGadget = 15;</code>
     * @return The clientGadget.
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.GadgetClientParamOuterClass.GadgetClientParam getClientGadget() {
      return clientGadget_ == null ? emu.grasscutter.net.proto.GadgetClientParamOuterClass.GadgetClientParam.getDefaultInstance() : clientGadget_;
    }
    /**
     * <code>.GadgetClientParam clientGadget = 15;</code>
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.GadgetClientParamOuterClass.GadgetClientParamOrBuilder getClientGadgetOrBuilder() {
      return getClientGadget();
    }

    public static final int WEATHER_FIELD_NUMBER = 17;
    private int weather_;
    /**
     * <code>uint32 weather = 17;</code>
     * @return The weather.
     */
    @java.lang.Override
    public int getWeather() {
      return weather_;
    }

    public static final int ABILITYGADGET_FIELD_NUMBER = 18;
    private int abilityGadget_;
    /**
     * <code>uint32 abilityGadget = 18;</code>
     * @return The abilityGadget.
     */
    @java.lang.Override
    public int getAbilityGadget() {
      return abilityGadget_;
    }

    public static final int STATUEGADGET_FIELD_NUMBER = 19;
    private int statueGadget_;
    /**
     * <code>uint32 statueGadget = 19;</code>
     * @return The statueGadget.
     */
    @java.lang.Override
    public int getStatueGadget() {
      return statueGadget_;
    }

    public static final int BOSSCHEST_FIELD_NUMBER = 20;
    private int bossChest_;
    /**
     * <code>uint32 bossChest = 20;</code>
     * @return The bossChest.
     */
    @java.lang.Override
    public int getBossChest() {
      return bossChest_;
    }

    public static final int BLOSSOMCHEST_FIELD_NUMBER = 41;
    private int blossomChest_;
    /**
     * <code>uint32 blossomChest = 41;</code>
     * @return The blossomChest.
     */
    @java.lang.Override
    public int getBlossomChest() {
      return blossomChest_;
    }

    public static final int MPPLAYREWARD_FIELD_NUMBER = 42;
    private int mpPlayReward_;
    /**
     * <code>uint32 mpPlayReward = 42;</code>
     * @return The mpPlayReward.
     */
    @java.lang.Override
    public int getMpPlayReward() {
      return mpPlayReward_;
    }

    public static final int GENERALREWARD_FIELD_NUMBER = 43;
    private int generalReward_;
    /**
     * <code>uint32 generalReward = 43;</code>
     * @return The generalReward.
     */
    @java.lang.Override
    public int getGeneralReward() {
      return generalReward_;
    }

    public static final int OFFERINGINFO_FIELD_NUMBER = 44;
    private int offeringInfo_;
    /**
     * <code>uint32 offeringInfo = 44;</code>
     * @return The offeringInfo.
     */
    @java.lang.Override
    public int getOfferingInfo() {
      return offeringInfo_;
    }

    public static final int FOUNDATIONINFO_FIELD_NUMBER = 45;
    private int foundationInfo_;
    /**
     * <code>uint32 foundationInfo = 45;</code>
     * @return The foundationInfo.
     */
    @java.lang.Override
    public int getFoundationInfo() {
      return foundationInfo_;
    }

    public static final int MARKFLAG_FIELD_NUMBER = 21;
    private int markFlag_;
    /**
     * <code>uint32 markFlag = 21;</code>
     * @return The markFlag.
     */
    @java.lang.Override
    public int getMarkFlag() {
      return markFlag_;
    }

    public static final int PROPOWNERENTITYID_FIELD_NUMBER = 22;
    private int propOwnerEntityId_;
    /**
     * <code>uint32 propOwnerEntityId = 22;</code>
     * @return The propOwnerEntityId.
     */
    @java.lang.Override
    public int getPropOwnerEntityId() {
      return propOwnerEntityId_;
    }

    public static final int PLATFORM_FIELD_NUMBER = 23;
    private emu.grasscutter.net.proto.PlatformInfoOuterClass.PlatformInfo platform_;
    /**
     * <code>.PlatformInfo platform = 23;</code>
     * @return Whether the platform field is set.
     */
    @java.lang.Override
    public boolean hasPlatform() {
      return platform_ != null;
    }
    /**
     * <code>.PlatformInfo platform = 23;</code>
     * @return The platform.
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.PlatformInfoOuterClass.PlatformInfo getPlatform() {
      return platform_ == null ? emu.grasscutter.net.proto.PlatformInfoOuterClass.PlatformInfo.getDefaultInstance() : platform_;
    }
    /**
     * <code>.PlatformInfo platform = 23;</code>
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.PlatformInfoOuterClass.PlatformInfoOrBuilder getPlatformOrBuilder() {
      return getPlatform();
    }

    public static final int INTERACTUIDLIST_FIELD_NUMBER = 24;
    private com.google.protobuf.Internal.IntList interactUidList_;
    /**
     * <code>repeated uint32 interactUidList = 24;</code>
     * @return A list containing the interactUidList.
     */
    @java.lang.Override
    public java.util.List<java.lang.Integer>
        getInteractUidListList() {
      return interactUidList_;
    }
    /**
     * <code>repeated uint32 interactUidList = 24;</code>
     * @return The count of interactUidList.
     */
    public int getInteractUidListCount() {
      return interactUidList_.size();
    }
    /**
     * <code>repeated uint32 interactUidList = 24;</code>
     * @param index The index of the element to return.
     * @return The interactUidList at the given index.
     */
    public int getInteractUidList(int index) {
      return interactUidList_.getInt(index);
    }
    private int interactUidListMemoizedSerializedSize = -1;

    public static final int DRAFTID_FIELD_NUMBER = 25;
    private int draftId_;
    /**
     * <code>uint32 draftId = 25;</code>
     * @return The draftId.
     */
    @java.lang.Override
    public int getDraftId() {
      return draftId_;
    }

    public static final int GADGETTALKSTATE_FIELD_NUMBER = 26;
    private int gadgetTalkState_;
    /**
     * <code>uint32 gadgetTalkState = 26;</code>
     * @return The gadgetTalkState.
     */
    @java.lang.Override
    public int getGadgetTalkState() {
      return gadgetTalkState_;
    }

    public static final int PLAYINFO_FIELD_NUMBER = 100;
    private emu.grasscutter.net.proto.GadgetPlayInfoOuterClass.GadgetPlayInfo playInfo_;
    /**
     * <code>.GadgetPlayInfo playInfo = 100;</code>
     * @return Whether the playInfo field is set.
     */
    @java.lang.Override
    public boolean hasPlayInfo() {
      return playInfo_ != null;
    }
    /**
     * <code>.GadgetPlayInfo playInfo = 100;</code>
     * @return The playInfo.
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.GadgetPlayInfoOuterClass.GadgetPlayInfo getPlayInfo() {
      return playInfo_ == null ? emu.grasscutter.net.proto.GadgetPlayInfoOuterClass.GadgetPlayInfo.getDefaultInstance() : playInfo_;
    }
    /**
     * <code>.GadgetPlayInfo playInfo = 100;</code>
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.GadgetPlayInfoOuterClass.GadgetPlayInfoOrBuilder getPlayInfoOrBuilder() {
      return getPlayInfo();
    }

    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 {
      getSerializedSize();
      if (gadgetId_ != 0) {
        output.writeUInt32(1, gadgetId_);
      }
      if (groupId_ != 0) {
        output.writeUInt32(2, groupId_);
      }
      if (configId_ != 0) {
        output.writeUInt32(3, configId_);
      }
      if (ownerEntityId_ != 0) {
        output.writeUInt32(4, ownerEntityId_);
      }
      if (bornType_ != emu.grasscutter.net.proto.GadgetBornTypeOuterClass.GadgetBornType.GadgetBornNone.getNumber()) {
        output.writeEnum(5, bornType_);
      }
      if (gadgetState_ != 0) {
        output.writeUInt32(6, gadgetState_);
      }
      if (gadgetType_ != 0) {
        output.writeUInt32(7, gadgetType_);
      }
      if (isShowCutscene_ != false) {
        output.writeBool(8, isShowCutscene_);
      }
      if (authorityPeerId_ != 0) {
        output.writeUInt32(9, authorityPeerId_);
      }
      if (isEnableInteract_ != false) {
        output.writeBool(10, isEnableInteract_);
      }
      if (interactId_ != 0) {
        output.writeUInt32(11, interactId_);
      }
      if (trifleItem_ != null) {
        output.writeMessage(12, getTrifleItem());
      }
      if (gatherGadget_ != 0) {
        output.writeUInt32(13, gatherGadget_);
      }
      if (worktop_ != 0) {
        output.writeUInt32(14, worktop_);
      }
      if (clientGadget_ != null) {
        output.writeMessage(15, getClientGadget());
      }
      if (weather_ != 0) {
        output.writeUInt32(17, weather_);
      }
      if (abilityGadget_ != 0) {
        output.writeUInt32(18, abilityGadget_);
      }
      if (statueGadget_ != 0) {
        output.writeUInt32(19, statueGadget_);
      }
      if (bossChest_ != 0) {
        output.writeUInt32(20, bossChest_);
      }
      if (markFlag_ != 0) {
        output.writeUInt32(21, markFlag_);
      }
      if (propOwnerEntityId_ != 0) {
        output.writeUInt32(22, propOwnerEntityId_);
      }
      if (platform_ != null) {
        output.writeMessage(23, getPlatform());
      }
      if (getInteractUidListList().size() > 0) {
        output.writeUInt32NoTag(194);
        output.writeUInt32NoTag(interactUidListMemoizedSerializedSize);
      }
      for (int i = 0; i < interactUidList_.size(); i++) {
        output.writeUInt32NoTag(interactUidList_.getInt(i));
      }
      if (draftId_ != 0) {
        output.writeUInt32(25, draftId_);
      }
      if (gadgetTalkState_ != 0) {
        output.writeUInt32(26, gadgetTalkState_);
      }
      if (blossomChest_ != 0) {
        output.writeUInt32(41, blossomChest_);
      }
      if (mpPlayReward_ != 0) {
        output.writeUInt32(42, mpPlayReward_);
      }
      if (generalReward_ != 0) {
        output.writeUInt32(43, generalReward_);
      }
      if (offeringInfo_ != 0) {
        output.writeUInt32(44, offeringInfo_);
      }
      if (foundationInfo_ != 0) {
        output.writeUInt32(45, foundationInfo_);
      }
      if (playInfo_ != null) {
        output.writeMessage(100, getPlayInfo());
      }
      unknownFields.writeTo(output);
    }

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

      size = 0;
      if (gadgetId_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(1, gadgetId_);
      }
      if (groupId_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(2, groupId_);
      }
      if (configId_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(3, configId_);
      }
      if (ownerEntityId_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(4, ownerEntityId_);
      }
      if (bornType_ != emu.grasscutter.net.proto.GadgetBornTypeOuterClass.GadgetBornType.GadgetBornNone.getNumber()) {
        size += com.google.protobuf.CodedOutputStream
          .computeEnumSize(5, bornType_);
      }
      if (gadgetState_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(6, gadgetState_);
      }
      if (gadgetType_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(7, gadgetType_);
      }
      if (isShowCutscene_ != false) {
        size += com.google.protobuf.CodedOutputStream
          .computeBoolSize(8, isShowCutscene_);
      }
      if (authorityPeerId_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(9, authorityPeerId_);
      }
      if (isEnableInteract_ != false) {
        size += com.google.protobuf.CodedOutputStream
          .computeBoolSize(10, isEnableInteract_);
      }
      if (interactId_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(11, interactId_);
      }
      if (trifleItem_ != null) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(12, getTrifleItem());
      }
      if (gatherGadget_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(13, gatherGadget_);
      }
      if (worktop_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(14, worktop_);
      }
      if (clientGadget_ != null) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(15, getClientGadget());
      }
      if (weather_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(17, weather_);
      }
      if (abilityGadget_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(18, abilityGadget_);
      }
      if (statueGadget_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(19, statueGadget_);
      }
      if (bossChest_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(20, bossChest_);
      }
      if (markFlag_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(21, markFlag_);
      }
      if (propOwnerEntityId_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(22, propOwnerEntityId_);
      }
      if (platform_ != null) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(23, getPlatform());
      }
      {
        int dataSize = 0;
        for (int i = 0; i < interactUidList_.size(); i++) {
          dataSize += com.google.protobuf.CodedOutputStream
            .computeUInt32SizeNoTag(interactUidList_.getInt(i));
        }
        size += dataSize;
        if (!getInteractUidListList().isEmpty()) {
          size += 2;
          size += com.google.protobuf.CodedOutputStream
              .computeInt32SizeNoTag(dataSize);
        }
        interactUidListMemoizedSerializedSize = dataSize;
      }
      if (draftId_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(25, draftId_);
      }
      if (gadgetTalkState_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(26, gadgetTalkState_);
      }
      if (blossomChest_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(41, blossomChest_);
      }
      if (mpPlayReward_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(42, mpPlayReward_);
      }
      if (generalReward_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(43, generalReward_);
      }
      if (offeringInfo_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(44, offeringInfo_);
      }
      if (foundationInfo_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(45, foundationInfo_);
      }
      if (playInfo_ != null) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(100, getPlayInfo());
      }
      size += unknownFields.getSerializedSize();
      memoizedSize = size;
      return size;
    }

    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof emu.grasscutter.net.proto.SceneGadgetInfoOuterClass.SceneGadgetInfo)) {
        return super.equals(obj);
      }
      emu.grasscutter.net.proto.SceneGadgetInfoOuterClass.SceneGadgetInfo other = (emu.grasscutter.net.proto.SceneGadgetInfoOuterClass.SceneGadgetInfo) obj;

      if (getGadgetId()
          != other.getGadgetId()) return false;
      if (getGroupId()
          != other.getGroupId()) return false;
      if (getConfigId()
          != other.getConfigId()) return false;
      if (getOwnerEntityId()
          != other.getOwnerEntityId()) return false;
      if (bornType_ != other.bornType_) return false;
      if (getGadgetState()
          != other.getGadgetState()) return false;
      if (getGadgetType()
          != other.getGadgetType()) return false;
      if (getIsShowCutscene()
          != other.getIsShowCutscene()) return false;
      if (getAuthorityPeerId()
          != other.getAuthorityPeerId()) return false;
      if (getIsEnableInteract()
          != other.getIsEnableInteract()) return false;
      if (getInteractId()
          != other.getInteractId()) return false;
      if (hasTrifleItem() != other.hasTrifleItem()) return false;
      if (hasTrifleItem()) {
        if (!getTrifleItem()
            .equals(other.getTrifleItem())) return false;
      }
      if (getGatherGadget()
          != other.getGatherGadget()) return false;
      if (getWorktop()
          != other.getWorktop()) return false;
      if (hasClientGadget() != other.hasClientGadget()) return false;
      if (hasClientGadget()) {
        if (!getClientGadget()
            .equals(other.getClientGadget())) return false;
      }
      if (getWeather()
          != other.getWeather()) return false;
      if (getAbilityGadget()
          != other.getAbilityGadget()) return false;
      if (getStatueGadget()
          != other.getStatueGadget()) return false;
      if (getBossChest()
          != other.getBossChest()) return false;
      if (getBlossomChest()
          != other.getBlossomChest()) return false;
      if (getMpPlayReward()
          != other.getMpPlayReward()) return false;
      if (getGeneralReward()
          != other.getGeneralReward()) return false;
      if (getOfferingInfo()
          != other.getOfferingInfo()) return false;
      if (getFoundationInfo()
          != other.getFoundationInfo()) return false;
      if (getMarkFlag()
          != other.getMarkFlag()) return false;
      if (getPropOwnerEntityId()
          != other.getPropOwnerEntityId()) return false;
      if (hasPlatform() != other.hasPlatform()) return false;
      if (hasPlatform()) {
        if (!getPlatform()
            .equals(other.getPlatform())) return false;
      }
      if (!getInteractUidListList()
          .equals(other.getInteractUidListList())) return false;
      if (getDraftId()
          != other.getDraftId()) return false;
      if (getGadgetTalkState()
          != other.getGadgetTalkState()) return false;
      if (hasPlayInfo() != other.hasPlayInfo()) return false;
      if (hasPlayInfo()) {
        if (!getPlayInfo()
            .equals(other.getPlayInfo())) 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();
      hash = (37 * hash) + GADGETID_FIELD_NUMBER;
      hash = (53 * hash) + getGadgetId();
      hash = (37 * hash) + GROUPID_FIELD_NUMBER;
      hash = (53 * hash) + getGroupId();
      hash = (37 * hash) + CONFIGID_FIELD_NUMBER;
      hash = (53 * hash) + getConfigId();
      hash = (37 * hash) + OWNERENTITYID_FIELD_NUMBER;
      hash = (53 * hash) + getOwnerEntityId();
      hash = (37 * hash) + BORNTYPE_FIELD_NUMBER;
      hash = (53 * hash) + bornType_;
      hash = (37 * hash) + GADGETSTATE_FIELD_NUMBER;
      hash = (53 * hash) + getGadgetState();
      hash = (37 * hash) + GADGETTYPE_FIELD_NUMBER;
      hash = (53 * hash) + getGadgetType();
      hash = (37 * hash) + ISSHOWCUTSCENE_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
          getIsShowCutscene());
      hash = (37 * hash) + AUTHORITYPEERID_FIELD_NUMBER;
      hash = (53 * hash) + getAuthorityPeerId();
      hash = (37 * hash) + ISENABLEINTERACT_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
          getIsEnableInteract());
      hash = (37 * hash) + INTERACTID_FIELD_NUMBER;
      hash = (53 * hash) + getInteractId();
      if (hasTrifleItem()) {
        hash = (37 * hash) + TRIFLEITEM_FIELD_NUMBER;
        hash = (53 * hash) + getTrifleItem().hashCode();
      }
      hash = (37 * hash) + GATHERGADGET_FIELD_NUMBER;
      hash = (53 * hash) + getGatherGadget();
      hash = (37 * hash) + WORKTOP_FIELD_NUMBER;
      hash = (53 * hash) + getWorktop();
      if (hasClientGadget()) {
        hash = (37 * hash) + CLIENTGADGET_FIELD_NUMBER;
        hash = (53 * hash) + getClientGadget().hashCode();
      }
      hash = (37 * hash) + WEATHER_FIELD_NUMBER;
      hash = (53 * hash) + getWeather();
      hash = (37 * hash) + ABILITYGADGET_FIELD_NUMBER;
      hash = (53 * hash) + getAbilityGadget();
      hash = (37 * hash) + STATUEGADGET_FIELD_NUMBER;
      hash = (53 * hash) + getStatueGadget();
      hash = (37 * hash) + BOSSCHEST_FIELD_NUMBER;
      hash = (53 * hash) + getBossChest();
      hash = (37 * hash) + BLOSSOMCHEST_FIELD_NUMBER;
      hash = (53 * hash) + getBlossomChest();
      hash = (37 * hash) + MPPLAYREWARD_FIELD_NUMBER;
      hash = (53 * hash) + getMpPlayReward();
      hash = (37 * hash) + GENERALREWARD_FIELD_NUMBER;
      hash = (53 * hash) + getGeneralReward();
      hash = (37 * hash) + OFFERINGINFO_FIELD_NUMBER;
      hash = (53 * hash) + getOfferingInfo();
      hash = (37 * hash) + FOUNDATIONINFO_FIELD_NUMBER;
      hash = (53 * hash) + getFoundationInfo();
      hash = (37 * hash) + MARKFLAG_FIELD_NUMBER;
      hash = (53 * hash) + getMarkFlag();
      hash = (37 * hash) + PROPOWNERENTITYID_FIELD_NUMBER;
      hash = (53 * hash) + getPropOwnerEntityId();
      if (hasPlatform()) {
        hash = (37 * hash) + PLATFORM_FIELD_NUMBER;
        hash = (53 * hash) + getPlatform().hashCode();
      }
      if (getInteractUidListCount() > 0) {
        hash = (37 * hash) + INTERACTUIDLIST_FIELD_NUMBER;
        hash = (53 * hash) + getInteractUidListList().hashCode();
      }
      hash = (37 * hash) + DRAFTID_FIELD_NUMBER;
      hash = (53 * hash) + getDraftId();
      hash = (37 * hash) + GADGETTALKSTATE_FIELD_NUMBER;
      hash = (53 * hash) + getGadgetTalkState();
      if (hasPlayInfo()) {
        hash = (37 * hash) + PLAYINFO_FIELD_NUMBER;
        hash = (53 * hash) + getPlayInfo().hashCode();
      }
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static emu.grasscutter.net.proto.SceneGadgetInfoOuterClass.SceneGadgetInfo parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static emu.grasscutter.net.proto.SceneGadgetInfoOuterClass.SceneGadgetInfo parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static emu.grasscutter.net.proto.SceneGadgetInfoOuterClass.SceneGadgetInfo parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static emu.grasscutter.net.proto.SceneGadgetInfoOuterClass.SceneGadgetInfo parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static emu.grasscutter.net.proto.SceneGadgetInfoOuterClass.SceneGadgetInfo parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static emu.grasscutter.net.proto.SceneGadgetInfoOuterClass.SceneGadgetInfo parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static emu.grasscutter.net.proto.SceneGadgetInfoOuterClass.SceneGadgetInfo parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static emu.grasscutter.net.proto.SceneGadgetInfoOuterClass.SceneGadgetInfo parseFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input, extensionRegistry);
    }
    public static emu.grasscutter.net.proto.SceneGadgetInfoOuterClass.SceneGadgetInfo parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static emu.grasscutter.net.proto.SceneGadgetInfoOuterClass.SceneGadgetInfo parseDelimitedFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
    }
    public static emu.grasscutter.net.proto.SceneGadgetInfoOuterClass.SceneGadgetInfo parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static emu.grasscutter.net.proto.SceneGadgetInfoOuterClass.SceneGadgetInfo parseFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input, extensionRegistry);
    }

    @java.lang.Override
    public Builder newBuilderForType() { return newBuilder(); }
    public static Builder newBuilder() {
      return DEFAULT_INSTANCE.toBuilder();
    }
    public static Builder newBuilder(emu.grasscutter.net.proto.SceneGadgetInfoOuterClass.SceneGadgetInfo 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 SceneGadgetInfo}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:SceneGadgetInfo)
        emu.grasscutter.net.proto.SceneGadgetInfoOuterClass.SceneGadgetInfoOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return emu.grasscutter.net.proto.SceneGadgetInfoOuterClass.internal_static_SceneGadgetInfo_descriptor;
      }

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return emu.grasscutter.net.proto.SceneGadgetInfoOuterClass.internal_static_SceneGadgetInfo_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                emu.grasscutter.net.proto.SceneGadgetInfoOuterClass.SceneGadgetInfo.class, emu.grasscutter.net.proto.SceneGadgetInfoOuterClass.SceneGadgetInfo.Builder.class);
      }

      // Construct using emu.grasscutter.net.proto.SceneGadgetInfoOuterClass.SceneGadgetInfo.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();
        gadgetId_ = 0;

        groupId_ = 0;

        configId_ = 0;

        ownerEntityId_ = 0;

        bornType_ = 0;

        gadgetState_ = 0;

        gadgetType_ = 0;

        isShowCutscene_ = false;

        authorityPeerId_ = 0;

        isEnableInteract_ = false;

        interactId_ = 0;

        if (trifleItemBuilder_ == null) {
          trifleItem_ = null;
        } else {
          trifleItem_ = null;
          trifleItemBuilder_ = null;
        }
        gatherGadget_ = 0;

        worktop_ = 0;

        if (clientGadgetBuilder_ == null) {
          clientGadget_ = null;
        } else {
          clientGadget_ = null;
          clientGadgetBuilder_ = null;
        }
        weather_ = 0;

        abilityGadget_ = 0;

        statueGadget_ = 0;

        bossChest_ = 0;

        blossomChest_ = 0;

        mpPlayReward_ = 0;

        generalReward_ = 0;

        offeringInfo_ = 0;

        foundationInfo_ = 0;

        markFlag_ = 0;

        propOwnerEntityId_ = 0;

        if (platformBuilder_ == null) {
          platform_ = null;
        } else {
          platform_ = null;
          platformBuilder_ = null;
        }
        interactUidList_ = emptyIntList();
        bitField0_ = (bitField0_ & ~0x00000001);
        draftId_ = 0;

        gadgetTalkState_ = 0;

        if (playInfoBuilder_ == null) {
          playInfo_ = null;
        } else {
          playInfo_ = null;
          playInfoBuilder_ = null;
        }
        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return emu.grasscutter.net.proto.SceneGadgetInfoOuterClass.internal_static_SceneGadgetInfo_descriptor;
      }

      @java.lang.Override
      public emu.grasscutter.net.proto.SceneGadgetInfoOuterClass.SceneGadgetInfo getDefaultInstanceForType() {
        return emu.grasscutter.net.proto.SceneGadgetInfoOuterClass.SceneGadgetInfo.getDefaultInstance();
      }

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

      @java.lang.Override
      public emu.grasscutter.net.proto.SceneGadgetInfoOuterClass.SceneGadgetInfo buildPartial() {
        emu.grasscutter.net.proto.SceneGadgetInfoOuterClass.SceneGadgetInfo result = new emu.grasscutter.net.proto.SceneGadgetInfoOuterClass.SceneGadgetInfo(this);
        int from_bitField0_ = bitField0_;
        result.gadgetId_ = gadgetId_;
        result.groupId_ = groupId_;
        result.configId_ = configId_;
        result.ownerEntityId_ = ownerEntityId_;
        result.bornType_ = bornType_;
        result.gadgetState_ = gadgetState_;
        result.gadgetType_ = gadgetType_;
        result.isShowCutscene_ = isShowCutscene_;
        result.authorityPeerId_ = authorityPeerId_;
        result.isEnableInteract_ = isEnableInteract_;
        result.interactId_ = interactId_;
        if (trifleItemBuilder_ == null) {
          result.trifleItem_ = trifleItem_;
        } else {
          result.trifleItem_ = trifleItemBuilder_.build();
        }
        result.gatherGadget_ = gatherGadget_;
        result.worktop_ = worktop_;
        if (clientGadgetBuilder_ == null) {
          result.clientGadget_ = clientGadget_;
        } else {
          result.clientGadget_ = clientGadgetBuilder_.build();
        }
        result.weather_ = weather_;
        result.abilityGadget_ = abilityGadget_;
        result.statueGadget_ = statueGadget_;
        result.bossChest_ = bossChest_;
        result.blossomChest_ = blossomChest_;
        result.mpPlayReward_ = mpPlayReward_;
        result.generalReward_ = generalReward_;
        result.offeringInfo_ = offeringInfo_;
        result.foundationInfo_ = foundationInfo_;
        result.markFlag_ = markFlag_;
        result.propOwnerEntityId_ = propOwnerEntityId_;
        if (platformBuilder_ == null) {
          result.platform_ = platform_;
        } else {
          result.platform_ = platformBuilder_.build();
        }
        if (((bitField0_ & 0x00000001) != 0)) {
          interactUidList_.makeImmutable();
          bitField0_ = (bitField0_ & ~0x00000001);
        }
        result.interactUidList_ = interactUidList_;
        result.draftId_ = draftId_;
        result.gadgetTalkState_ = gadgetTalkState_;
        if (playInfoBuilder_ == null) {
          result.playInfo_ = playInfo_;
        } else {
          result.playInfo_ = playInfoBuilder_.build();
        }
        onBuilt();
        return result;
      }

      @java.lang.Override
      public Builder clone() {
        return super.clone();
      }
      @java.lang.Override
      public Builder setField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.Object value) {
        return super.setField(field, value);
      }
      @java.lang.Override
      public Builder clearField(
          com.google.protobuf.Descriptors.FieldDescriptor field) {
        return super.clearField(field);
      }
      @java.lang.Override
      public Builder clearOneof(
          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
        return super.clearOneof(oneof);
      }
      @java.lang.Override
      public Builder setRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          int index, java.lang.Object value) {
        return super.setRepeatedField(field, index, value);
      }
      @java.lang.Override
      public Builder addRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.Object value) {
        return super.addRepeatedField(field, value);
      }
      @java.lang.Override
      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof emu.grasscutter.net.proto.SceneGadgetInfoOuterClass.SceneGadgetInfo) {
          return mergeFrom((emu.grasscutter.net.proto.SceneGadgetInfoOuterClass.SceneGadgetInfo)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(emu.grasscutter.net.proto.SceneGadgetInfoOuterClass.SceneGadgetInfo other) {
        if (other == emu.grasscutter.net.proto.SceneGadgetInfoOuterClass.SceneGadgetInfo.getDefaultInstance()) return this;
        if (other.getGadgetId() != 0) {
          setGadgetId(other.getGadgetId());
        }
        if (other.getGroupId() != 0) {
          setGroupId(other.getGroupId());
        }
        if (other.getConfigId() != 0) {
          setConfigId(other.getConfigId());
        }
        if (other.getOwnerEntityId() != 0) {
          setOwnerEntityId(other.getOwnerEntityId());
        }
        if (other.bornType_ != 0) {
          setBornTypeValue(other.getBornTypeValue());
        }
        if (other.getGadgetState() != 0) {
          setGadgetState(other.getGadgetState());
        }
        if (other.getGadgetType() != 0) {
          setGadgetType(other.getGadgetType());
        }
        if (other.getIsShowCutscene() != false) {
          setIsShowCutscene(other.getIsShowCutscene());
        }
        if (other.getAuthorityPeerId() != 0) {
          setAuthorityPeerId(other.getAuthorityPeerId());
        }
        if (other.getIsEnableInteract() != false) {
          setIsEnableInteract(other.getIsEnableInteract());
        }
        if (other.getInteractId() != 0) {
          setInteractId(other.getInteractId());
        }
        if (other.hasTrifleItem()) {
          mergeTrifleItem(other.getTrifleItem());
        }
        if (other.getGatherGadget() != 0) {
          setGatherGadget(other.getGatherGadget());
        }
        if (other.getWorktop() != 0) {
          setWorktop(other.getWorktop());
        }
        if (other.hasClientGadget()) {
          mergeClientGadget(other.getClientGadget());
        }
        if (other.getWeather() != 0) {
          setWeather(other.getWeather());
        }
        if (other.getAbilityGadget() != 0) {
          setAbilityGadget(other.getAbilityGadget());
        }
        if (other.getStatueGadget() != 0) {
          setStatueGadget(other.getStatueGadget());
        }
        if (other.getBossChest() != 0) {
          setBossChest(other.getBossChest());
        }
        if (other.getBlossomChest() != 0) {
          setBlossomChest(other.getBlossomChest());
        }
        if (other.getMpPlayReward() != 0) {
          setMpPlayReward(other.getMpPlayReward());
        }
        if (other.getGeneralReward() != 0) {
          setGeneralReward(other.getGeneralReward());
        }
        if (other.getOfferingInfo() != 0) {
          setOfferingInfo(other.getOfferingInfo());
        }
        if (other.getFoundationInfo() != 0) {
          setFoundationInfo(other.getFoundationInfo());
        }
        if (other.getMarkFlag() != 0) {
          setMarkFlag(other.getMarkFlag());
        }
        if (other.getPropOwnerEntityId() != 0) {
          setPropOwnerEntityId(other.getPropOwnerEntityId());
        }
        if (other.hasPlatform()) {
          mergePlatform(other.getPlatform());
        }
        if (!other.interactUidList_.isEmpty()) {
          if (interactUidList_.isEmpty()) {
            interactUidList_ = other.interactUidList_;
            bitField0_ = (bitField0_ & ~0x00000001);
          } else {
            ensureInteractUidListIsMutable();
            interactUidList_.addAll(other.interactUidList_);
          }
          onChanged();
        }
        if (other.getDraftId() != 0) {
          setDraftId(other.getDraftId());
        }
        if (other.getGadgetTalkState() != 0) {
          setGadgetTalkState(other.getGadgetTalkState());
        }
        if (other.hasPlayInfo()) {
          mergePlayInfo(other.getPlayInfo());
        }
        this.mergeUnknownFields(other.unknownFields);
        onChanged();
        return this;
      }

      @java.lang.Override
      public final boolean isInitialized() {
        return true;
      }

      @java.lang.Override
      public Builder mergeFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        emu.grasscutter.net.proto.SceneGadgetInfoOuterClass.SceneGadgetInfo parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (emu.grasscutter.net.proto.SceneGadgetInfoOuterClass.SceneGadgetInfo) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int bitField0_;

      private int gadgetId_ ;
      /**
       * <code>uint32 gadgetId = 1;</code>
       * @return The gadgetId.
       */
      @java.lang.Override
      public int getGadgetId() {
        return gadgetId_;
      }
      /**
       * <code>uint32 gadgetId = 1;</code>
       * @param value The gadgetId to set.
       * @return This builder for chaining.
       */
      public Builder setGadgetId(int value) {
        
        gadgetId_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>uint32 gadgetId = 1;</code>
       * @return This builder for chaining.
       */
      public Builder clearGadgetId() {
        
        gadgetId_ = 0;
        onChanged();
        return this;
      }

      private int groupId_ ;
      /**
       * <code>uint32 groupId = 2;</code>
       * @return The groupId.
       */
      @java.lang.Override
      public int getGroupId() {
        return groupId_;
      }
      /**
       * <code>uint32 groupId = 2;</code>
       * @param value The groupId to set.
       * @return This builder for chaining.
       */
      public Builder setGroupId(int value) {
        
        groupId_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>uint32 groupId = 2;</code>
       * @return This builder for chaining.
       */
      public Builder clearGroupId() {
        
        groupId_ = 0;
        onChanged();
        return this;
      }

      private int configId_ ;
      /**
       * <code>uint32 configId = 3;</code>
       * @return The configId.
       */
      @java.lang.Override
      public int getConfigId() {
        return configId_;
      }
      /**
       * <code>uint32 configId = 3;</code>
       * @param value The configId to set.
       * @return This builder for chaining.
       */
      public Builder setConfigId(int value) {
        
        configId_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>uint32 configId = 3;</code>
       * @return This builder for chaining.
       */
      public Builder clearConfigId() {
        
        configId_ = 0;
        onChanged();
        return this;
      }

      private int ownerEntityId_ ;
      /**
       * <code>uint32 ownerEntityId = 4;</code>
       * @return The ownerEntityId.
       */
      @java.lang.Override
      public int getOwnerEntityId() {
        return ownerEntityId_;
      }
      /**
       * <code>uint32 ownerEntityId = 4;</code>
       * @param value The ownerEntityId to set.
       * @return This builder for chaining.
       */
      public Builder setOwnerEntityId(int value) {
        
        ownerEntityId_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>uint32 ownerEntityId = 4;</code>
       * @return This builder for chaining.
       */
      public Builder clearOwnerEntityId() {
        
        ownerEntityId_ = 0;
        onChanged();
        return this;
      }

      private int bornType_ = 0;
      /**
       * <code>.GadgetBornType bornType = 5;</code>
       * @return The enum numeric value on the wire for bornType.
       */
      @java.lang.Override public int getBornTypeValue() {
        return bornType_;
      }
      /**
       * <code>.GadgetBornType bornType = 5;</code>
       * @param value The enum numeric value on the wire for bornType to set.
       * @return This builder for chaining.
       */
      public Builder setBornTypeValue(int value) {
        
        bornType_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>.GadgetBornType bornType = 5;</code>
       * @return The bornType.
       */
      @java.lang.Override
      public emu.grasscutter.net.proto.GadgetBornTypeOuterClass.GadgetBornType getBornType() {
        @SuppressWarnings("deprecation")
        emu.grasscutter.net.proto.GadgetBornTypeOuterClass.GadgetBornType result = emu.grasscutter.net.proto.GadgetBornTypeOuterClass.GadgetBornType.valueOf(bornType_);
        return result == null ? emu.grasscutter.net.proto.GadgetBornTypeOuterClass.GadgetBornType.UNRECOGNIZED : result;
      }
      /**
       * <code>.GadgetBornType bornType = 5;</code>
       * @param value The bornType to set.
       * @return This builder for chaining.
       */
      public Builder setBornType(emu.grasscutter.net.proto.GadgetBornTypeOuterClass.GadgetBornType value) {
        if (value == null) {
          throw new NullPointerException();
        }
        
        bornType_ = value.getNumber();
        onChanged();
        return this;
      }
      /**
       * <code>.GadgetBornType bornType = 5;</code>
       * @return This builder for chaining.
       */
      public Builder clearBornType() {
        
        bornType_ = 0;
        onChanged();
        return this;
      }

      private int gadgetState_ ;
      /**
       * <code>uint32 gadgetState = 6;</code>
       * @return The gadgetState.
       */
      @java.lang.Override
      public int getGadgetState() {
        return gadgetState_;
      }
      /**
       * <code>uint32 gadgetState = 6;</code>
       * @param value The gadgetState to set.
       * @return This builder for chaining.
       */
      public Builder setGadgetState(int value) {
        
        gadgetState_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>uint32 gadgetState = 6;</code>
       * @return This builder for chaining.
       */
      public Builder clearGadgetState() {
        
        gadgetState_ = 0;
        onChanged();
        return this;
      }

      private int gadgetType_ ;
      /**
       * <code>uint32 gadgetType = 7;</code>
       * @return The gadgetType.
       */
      @java.lang.Override
      public int getGadgetType() {
        return gadgetType_;
      }
      /**
       * <code>uint32 gadgetType = 7;</code>
       * @param value The gadgetType to set.
       * @return This builder for chaining.
       */
      public Builder setGadgetType(int value) {
        
        gadgetType_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>uint32 gadgetType = 7;</code>
       * @return This builder for chaining.
       */
      public Builder clearGadgetType() {
        
        gadgetType_ = 0;
        onChanged();
        return this;
      }

      private boolean isShowCutscene_ ;
      /**
       * <code>bool isShowCutscene = 8;</code>
       * @return The isShowCutscene.
       */
      @java.lang.Override
      public boolean getIsShowCutscene() {
        return isShowCutscene_;
      }
      /**
       * <code>bool isShowCutscene = 8;</code>
       * @param value The isShowCutscene to set.
       * @return This builder for chaining.
       */
      public Builder setIsShowCutscene(boolean value) {
        
        isShowCutscene_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>bool isShowCutscene = 8;</code>
       * @return This builder for chaining.
       */
      public Builder clearIsShowCutscene() {
        
        isShowCutscene_ = false;
        onChanged();
        return this;
      }

      private int authorityPeerId_ ;
      /**
       * <code>uint32 authorityPeerId = 9;</code>
       * @return The authorityPeerId.
       */
      @java.lang.Override
      public int getAuthorityPeerId() {
        return authorityPeerId_;
      }
      /**
       * <code>uint32 authorityPeerId = 9;</code>
       * @param value The authorityPeerId to set.
       * @return This builder for chaining.
       */
      public Builder setAuthorityPeerId(int value) {
        
        authorityPeerId_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>uint32 authorityPeerId = 9;</code>
       * @return This builder for chaining.
       */
      public Builder clearAuthorityPeerId() {
        
        authorityPeerId_ = 0;
        onChanged();
        return this;
      }

      private boolean isEnableInteract_ ;
      /**
       * <code>bool isEnableInteract = 10;</code>
       * @return The isEnableInteract.
       */
      @java.lang.Override
      public boolean getIsEnableInteract() {
        return isEnableInteract_;
      }
      /**
       * <code>bool isEnableInteract = 10;</code>
       * @param value The isEnableInteract to set.
       * @return This builder for chaining.
       */
      public Builder setIsEnableInteract(boolean value) {
        
        isEnableInteract_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>bool isEnableInteract = 10;</code>
       * @return This builder for chaining.
       */
      public Builder clearIsEnableInteract() {
        
        isEnableInteract_ = false;
        onChanged();
        return this;
      }

      private int interactId_ ;
      /**
       * <code>uint32 interactId = 11;</code>
       * @return The interactId.
       */
      @java.lang.Override
      public int getInteractId() {
        return interactId_;
      }
      /**
       * <code>uint32 interactId = 11;</code>
       * @param value The interactId to set.
       * @return This builder for chaining.
       */
      public Builder setInteractId(int value) {
        
        interactId_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>uint32 interactId = 11;</code>
       * @return This builder for chaining.
       */
      public Builder clearInteractId() {
        
        interactId_ = 0;
        onChanged();
        return this;
      }

      private emu.grasscutter.net.proto.ItemOuterClass.Item trifleItem_;
      private com.google.protobuf.SingleFieldBuilderV3<
          emu.grasscutter.net.proto.ItemOuterClass.Item, emu.grasscutter.net.proto.ItemOuterClass.Item.Builder, emu.grasscutter.net.proto.ItemOuterClass.ItemOrBuilder> trifleItemBuilder_;
      /**
       * <code>.Item trifleItem = 12;</code>
       * @return Whether the trifleItem field is set.
       */
      public boolean hasTrifleItem() {
        return trifleItemBuilder_ != null || trifleItem_ != null;
      }
      /**
       * <code>.Item trifleItem = 12;</code>
       * @return The trifleItem.
       */
      public emu.grasscutter.net.proto.ItemOuterClass.Item getTrifleItem() {
        if (trifleItemBuilder_ == null) {
          return trifleItem_ == null ? emu.grasscutter.net.proto.ItemOuterClass.Item.getDefaultInstance() : trifleItem_;
        } else {
          return trifleItemBuilder_.getMessage();
        }
      }
      /**
       * <code>.Item trifleItem = 12;</code>
       */
      public Builder setTrifleItem(emu.grasscutter.net.proto.ItemOuterClass.Item value) {
        if (trifleItemBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          trifleItem_ = value;
          onChanged();
        } else {
          trifleItemBuilder_.setMessage(value);
        }

        return this;
      }
      /**
       * <code>.Item trifleItem = 12;</code>
       */
      public Builder setTrifleItem(
          emu.grasscutter.net.proto.ItemOuterClass.Item.Builder builderForValue) {
        if (trifleItemBuilder_ == null) {
          trifleItem_ = builderForValue.build();
          onChanged();
        } else {
          trifleItemBuilder_.setMessage(builderForValue.build());
        }

        return this;
      }
      /**
       * <code>.Item trifleItem = 12;</code>
       */
      public Builder mergeTrifleItem(emu.grasscutter.net.proto.ItemOuterClass.Item value) {
        if (trifleItemBuilder_ == null) {
          if (trifleItem_ != null) {
            trifleItem_ =
              emu.grasscutter.net.proto.ItemOuterClass.Item.newBuilder(trifleItem_).mergeFrom(value).buildPartial();
          } else {
            trifleItem_ = value;
          }
          onChanged();
        } else {
          trifleItemBuilder_.mergeFrom(value);
        }

        return this;
      }
      /**
       * <code>.Item trifleItem = 12;</code>
       */
      public Builder clearTrifleItem() {
        if (trifleItemBuilder_ == null) {
          trifleItem_ = null;
          onChanged();
        } else {
          trifleItem_ = null;
          trifleItemBuilder_ = null;
        }

        return this;
      }
      /**
       * <code>.Item trifleItem = 12;</code>
       */
      public emu.grasscutter.net.proto.ItemOuterClass.Item.Builder getTrifleItemBuilder() {
        
        onChanged();
        return getTrifleItemFieldBuilder().getBuilder();
      }
      /**
       * <code>.Item trifleItem = 12;</code>
       */
      public emu.grasscutter.net.proto.ItemOuterClass.ItemOrBuilder getTrifleItemOrBuilder() {
        if (trifleItemBuilder_ != null) {
          return trifleItemBuilder_.getMessageOrBuilder();
        } else {
          return trifleItem_ == null ?
              emu.grasscutter.net.proto.ItemOuterClass.Item.getDefaultInstance() : trifleItem_;
        }
      }
      /**
       * <code>.Item trifleItem = 12;</code>
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          emu.grasscutter.net.proto.ItemOuterClass.Item, emu.grasscutter.net.proto.ItemOuterClass.Item.Builder, emu.grasscutter.net.proto.ItemOuterClass.ItemOrBuilder> 
          getTrifleItemFieldBuilder() {
        if (trifleItemBuilder_ == null) {
          trifleItemBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              emu.grasscutter.net.proto.ItemOuterClass.Item, emu.grasscutter.net.proto.ItemOuterClass.Item.Builder, emu.grasscutter.net.proto.ItemOuterClass.ItemOrBuilder>(
                  getTrifleItem(),
                  getParentForChildren(),
                  isClean());
          trifleItem_ = null;
        }
        return trifleItemBuilder_;
      }

      private int gatherGadget_ ;
      /**
       * <code>uint32 gatherGadget = 13;</code>
       * @return The gatherGadget.
       */
      @java.lang.Override
      public int getGatherGadget() {
        return gatherGadget_;
      }
      /**
       * <code>uint32 gatherGadget = 13;</code>
       * @param value The gatherGadget to set.
       * @return This builder for chaining.
       */
      public Builder setGatherGadget(int value) {
        
        gatherGadget_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>uint32 gatherGadget = 13;</code>
       * @return This builder for chaining.
       */
      public Builder clearGatherGadget() {
        
        gatherGadget_ = 0;
        onChanged();
        return this;
      }

      private int worktop_ ;
      /**
       * <code>uint32 worktop = 14;</code>
       * @return The worktop.
       */
      @java.lang.Override
      public int getWorktop() {
        return worktop_;
      }
      /**
       * <code>uint32 worktop = 14;</code>
       * @param value The worktop to set.
       * @return This builder for chaining.
       */
      public Builder setWorktop(int value) {
        
        worktop_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>uint32 worktop = 14;</code>
       * @return This builder for chaining.
       */
      public Builder clearWorktop() {
        
        worktop_ = 0;
        onChanged();
        return this;
      }

      private emu.grasscutter.net.proto.GadgetClientParamOuterClass.GadgetClientParam clientGadget_;
      private com.google.protobuf.SingleFieldBuilderV3<
          emu.grasscutter.net.proto.GadgetClientParamOuterClass.GadgetClientParam, emu.grasscutter.net.proto.GadgetClientParamOuterClass.GadgetClientParam.Builder, emu.grasscutter.net.proto.GadgetClientParamOuterClass.GadgetClientParamOrBuilder> clientGadgetBuilder_;
      /**
       * <code>.GadgetClientParam clientGadget = 15;</code>
       * @return Whether the clientGadget field is set.
       */
      public boolean hasClientGadget() {
        return clientGadgetBuilder_ != null || clientGadget_ != null;
      }
      /**
       * <code>.GadgetClientParam clientGadget = 15;</code>
       * @return The clientGadget.
       */
      public emu.grasscutter.net.proto.GadgetClientParamOuterClass.GadgetClientParam getClientGadget() {
        if (clientGadgetBuilder_ == null) {
          return clientGadget_ == null ? emu.grasscutter.net.proto.GadgetClientParamOuterClass.GadgetClientParam.getDefaultInstance() : clientGadget_;
        } else {
          return clientGadgetBuilder_.getMessage();
        }
      }
      /**
       * <code>.GadgetClientParam clientGadget = 15;</code>
       */
      public Builder setClientGadget(emu.grasscutter.net.proto.GadgetClientParamOuterClass.GadgetClientParam value) {
        if (clientGadgetBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          clientGadget_ = value;
          onChanged();
        } else {
          clientGadgetBuilder_.setMessage(value);
        }

        return this;
      }
      /**
       * <code>.GadgetClientParam clientGadget = 15;</code>
       */
      public Builder setClientGadget(
          emu.grasscutter.net.proto.GadgetClientParamOuterClass.GadgetClientParam.Builder builderForValue) {
        if (clientGadgetBuilder_ == null) {
          clientGadget_ = builderForValue.build();
          onChanged();
        } else {
          clientGadgetBuilder_.setMessage(builderForValue.build());
        }

        return this;
      }
      /**
       * <code>.GadgetClientParam clientGadget = 15;</code>
       */
      public Builder mergeClientGadget(emu.grasscutter.net.proto.GadgetClientParamOuterClass.GadgetClientParam value) {
        if (clientGadgetBuilder_ == null) {
          if (clientGadget_ != null) {
            clientGadget_ =
              emu.grasscutter.net.proto.GadgetClientParamOuterClass.GadgetClientParam.newBuilder(clientGadget_).mergeFrom(value).buildPartial();
          } else {
            clientGadget_ = value;
          }
          onChanged();
        } else {
          clientGadgetBuilder_.mergeFrom(value);
        }

        return this;
      }
      /**
       * <code>.GadgetClientParam clientGadget = 15;</code>
       */
      public Builder clearClientGadget() {
        if (clientGadgetBuilder_ == null) {
          clientGadget_ = null;
          onChanged();
        } else {
          clientGadget_ = null;
          clientGadgetBuilder_ = null;
        }

        return this;
      }
      /**
       * <code>.GadgetClientParam clientGadget = 15;</code>
       */
      public emu.grasscutter.net.proto.GadgetClientParamOuterClass.GadgetClientParam.Builder getClientGadgetBuilder() {
        
        onChanged();
        return getClientGadgetFieldBuilder().getBuilder();
      }
      /**
       * <code>.GadgetClientParam clientGadget = 15;</code>
       */
      public emu.grasscutter.net.proto.GadgetClientParamOuterClass.GadgetClientParamOrBuilder getClientGadgetOrBuilder() {
        if (clientGadgetBuilder_ != null) {
          return clientGadgetBuilder_.getMessageOrBuilder();
        } else {
          return clientGadget_ == null ?
              emu.grasscutter.net.proto.GadgetClientParamOuterClass.GadgetClientParam.getDefaultInstance() : clientGadget_;
        }
      }
      /**
       * <code>.GadgetClientParam clientGadget = 15;</code>
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          emu.grasscutter.net.proto.GadgetClientParamOuterClass.GadgetClientParam, emu.grasscutter.net.proto.GadgetClientParamOuterClass.GadgetClientParam.Builder, emu.grasscutter.net.proto.GadgetClientParamOuterClass.GadgetClientParamOrBuilder> 
          getClientGadgetFieldBuilder() {
        if (clientGadgetBuilder_ == null) {
          clientGadgetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              emu.grasscutter.net.proto.GadgetClientParamOuterClass.GadgetClientParam, emu.grasscutter.net.proto.GadgetClientParamOuterClass.GadgetClientParam.Builder, emu.grasscutter.net.proto.GadgetClientParamOuterClass.GadgetClientParamOrBuilder>(
                  getClientGadget(),
                  getParentForChildren(),
                  isClean());
          clientGadget_ = null;
        }
        return clientGadgetBuilder_;
      }

      private int weather_ ;
      /**
       * <code>uint32 weather = 17;</code>
       * @return The weather.
       */
      @java.lang.Override
      public int getWeather() {
        return weather_;
      }
      /**
       * <code>uint32 weather = 17;</code>
       * @param value The weather to set.
       * @return This builder for chaining.
       */
      public Builder setWeather(int value) {
        
        weather_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>uint32 weather = 17;</code>
       * @return This builder for chaining.
       */
      public Builder clearWeather() {
        
        weather_ = 0;
        onChanged();
        return this;
      }

      private int abilityGadget_ ;
      /**
       * <code>uint32 abilityGadget = 18;</code>
       * @return The abilityGadget.
       */
      @java.lang.Override
      public int getAbilityGadget() {
        return abilityGadget_;
      }
      /**
       * <code>uint32 abilityGadget = 18;</code>
       * @param value The abilityGadget to set.
       * @return This builder for chaining.
       */
      public Builder setAbilityGadget(int value) {
        
        abilityGadget_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>uint32 abilityGadget = 18;</code>
       * @return This builder for chaining.
       */
      public Builder clearAbilityGadget() {
        
        abilityGadget_ = 0;
        onChanged();
        return this;
      }

      private int statueGadget_ ;
      /**
       * <code>uint32 statueGadget = 19;</code>
       * @return The statueGadget.
       */
      @java.lang.Override
      public int getStatueGadget() {
        return statueGadget_;
      }
      /**
       * <code>uint32 statueGadget = 19;</code>
       * @param value The statueGadget to set.
       * @return This builder for chaining.
       */
      public Builder setStatueGadget(int value) {
        
        statueGadget_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>uint32 statueGadget = 19;</code>
       * @return This builder for chaining.
       */
      public Builder clearStatueGadget() {
        
        statueGadget_ = 0;
        onChanged();
        return this;
      }

      private int bossChest_ ;
      /**
       * <code>uint32 bossChest = 20;</code>
       * @return The bossChest.
       */
      @java.lang.Override
      public int getBossChest() {
        return bossChest_;
      }
      /**
       * <code>uint32 bossChest = 20;</code>
       * @param value The bossChest to set.
       * @return This builder for chaining.
       */
      public Builder setBossChest(int value) {
        
        bossChest_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>uint32 bossChest = 20;</code>
       * @return This builder for chaining.
       */
      public Builder clearBossChest() {
        
        bossChest_ = 0;
        onChanged();
        return this;
      }

      private int blossomChest_ ;
      /**
       * <code>uint32 blossomChest = 41;</code>
       * @return The blossomChest.
       */
      @java.lang.Override
      public int getBlossomChest() {
        return blossomChest_;
      }
      /**
       * <code>uint32 blossomChest = 41;</code>
       * @param value The blossomChest to set.
       * @return This builder for chaining.
       */
      public Builder setBlossomChest(int value) {
        
        blossomChest_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>uint32 blossomChest = 41;</code>
       * @return This builder for chaining.
       */
      public Builder clearBlossomChest() {
        
        blossomChest_ = 0;
        onChanged();
        return this;
      }

      private int mpPlayReward_ ;
      /**
       * <code>uint32 mpPlayReward = 42;</code>
       * @return The mpPlayReward.
       */
      @java.lang.Override
      public int getMpPlayReward() {
        return mpPlayReward_;
      }
      /**
       * <code>uint32 mpPlayReward = 42;</code>
       * @param value The mpPlayReward to set.
       * @return This builder for chaining.
       */
      public Builder setMpPlayReward(int value) {
        
        mpPlayReward_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>uint32 mpPlayReward = 42;</code>
       * @return This builder for chaining.
       */
      public Builder clearMpPlayReward() {
        
        mpPlayReward_ = 0;
        onChanged();
        return this;
      }

      private int generalReward_ ;
      /**
       * <code>uint32 generalReward = 43;</code>
       * @return The generalReward.
       */
      @java.lang.Override
      public int getGeneralReward() {
        return generalReward_;
      }
      /**
       * <code>uint32 generalReward = 43;</code>
       * @param value The generalReward to set.
       * @return This builder for chaining.
       */
      public Builder setGeneralReward(int value) {
        
        generalReward_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>uint32 generalReward = 43;</code>
       * @return This builder for chaining.
       */
      public Builder clearGeneralReward() {
        
        generalReward_ = 0;
        onChanged();
        return this;
      }

      private int offeringInfo_ ;
      /**
       * <code>uint32 offeringInfo = 44;</code>
       * @return The offeringInfo.
       */
      @java.lang.Override
      public int getOfferingInfo() {
        return offeringInfo_;
      }
      /**
       * <code>uint32 offeringInfo = 44;</code>
       * @param value The offeringInfo to set.
       * @return This builder for chaining.
       */
      public Builder setOfferingInfo(int value) {
        
        offeringInfo_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>uint32 offeringInfo = 44;</code>
       * @return This builder for chaining.
       */
      public Builder clearOfferingInfo() {
        
        offeringInfo_ = 0;
        onChanged();
        return this;
      }

      private int foundationInfo_ ;
      /**
       * <code>uint32 foundationInfo = 45;</code>
       * @return The foundationInfo.
       */
      @java.lang.Override
      public int getFoundationInfo() {
        return foundationInfo_;
      }
      /**
       * <code>uint32 foundationInfo = 45;</code>
       * @param value The foundationInfo to set.
       * @return This builder for chaining.
       */
      public Builder setFoundationInfo(int value) {
        
        foundationInfo_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>uint32 foundationInfo = 45;</code>
       * @return This builder for chaining.
       */
      public Builder clearFoundationInfo() {
        
        foundationInfo_ = 0;
        onChanged();
        return this;
      }

      private int markFlag_ ;
      /**
       * <code>uint32 markFlag = 21;</code>
       * @return The markFlag.
       */
      @java.lang.Override
      public int getMarkFlag() {
        return markFlag_;
      }
      /**
       * <code>uint32 markFlag = 21;</code>
       * @param value The markFlag to set.
       * @return This builder for chaining.
       */
      public Builder setMarkFlag(int value) {
        
        markFlag_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>uint32 markFlag = 21;</code>
       * @return This builder for chaining.
       */
      public Builder clearMarkFlag() {
        
        markFlag_ = 0;
        onChanged();
        return this;
      }

      private int propOwnerEntityId_ ;
      /**
       * <code>uint32 propOwnerEntityId = 22;</code>
       * @return The propOwnerEntityId.
       */
      @java.lang.Override
      public int getPropOwnerEntityId() {
        return propOwnerEntityId_;
      }
      /**
       * <code>uint32 propOwnerEntityId = 22;</code>
       * @param value The propOwnerEntityId to set.
       * @return This builder for chaining.
       */
      public Builder setPropOwnerEntityId(int value) {
        
        propOwnerEntityId_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>uint32 propOwnerEntityId = 22;</code>
       * @return This builder for chaining.
       */
      public Builder clearPropOwnerEntityId() {
        
        propOwnerEntityId_ = 0;
        onChanged();
        return this;
      }

      private emu.grasscutter.net.proto.PlatformInfoOuterClass.PlatformInfo platform_;
      private com.google.protobuf.SingleFieldBuilderV3<
          emu.grasscutter.net.proto.PlatformInfoOuterClass.PlatformInfo, emu.grasscutter.net.proto.PlatformInfoOuterClass.PlatformInfo.Builder, emu.grasscutter.net.proto.PlatformInfoOuterClass.PlatformInfoOrBuilder> platformBuilder_;
      /**
       * <code>.PlatformInfo platform = 23;</code>
       * @return Whether the platform field is set.
       */
      public boolean hasPlatform() {
        return platformBuilder_ != null || platform_ != null;
      }
      /**
       * <code>.PlatformInfo platform = 23;</code>
       * @return The platform.
       */
      public emu.grasscutter.net.proto.PlatformInfoOuterClass.PlatformInfo getPlatform() {
        if (platformBuilder_ == null) {
          return platform_ == null ? emu.grasscutter.net.proto.PlatformInfoOuterClass.PlatformInfo.getDefaultInstance() : platform_;
        } else {
          return platformBuilder_.getMessage();
        }
      }
      /**
       * <code>.PlatformInfo platform = 23;</code>
       */
      public Builder setPlatform(emu.grasscutter.net.proto.PlatformInfoOuterClass.PlatformInfo value) {
        if (platformBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          platform_ = value;
          onChanged();
        } else {
          platformBuilder_.setMessage(value);
        }

        return this;
      }
      /**
       * <code>.PlatformInfo platform = 23;</code>
       */
      public Builder setPlatform(
          emu.grasscutter.net.proto.PlatformInfoOuterClass.PlatformInfo.Builder builderForValue) {
        if (platformBuilder_ == null) {
          platform_ = builderForValue.build();
          onChanged();
        } else {
          platformBuilder_.setMessage(builderForValue.build());
        }

        return this;
      }
      /**
       * <code>.PlatformInfo platform = 23;</code>
       */
      public Builder mergePlatform(emu.grasscutter.net.proto.PlatformInfoOuterClass.PlatformInfo value) {
        if (platformBuilder_ == null) {
          if (platform_ != null) {
            platform_ =
              emu.grasscutter.net.proto.PlatformInfoOuterClass.PlatformInfo.newBuilder(platform_).mergeFrom(value).buildPartial();
          } else {
            platform_ = value;
          }
          onChanged();
        } else {
          platformBuilder_.mergeFrom(value);
        }

        return this;
      }
      /**
       * <code>.PlatformInfo platform = 23;</code>
       */
      public Builder clearPlatform() {
        if (platformBuilder_ == null) {
          platform_ = null;
          onChanged();
        } else {
          platform_ = null;
          platformBuilder_ = null;
        }

        return this;
      }
      /**
       * <code>.PlatformInfo platform = 23;</code>
       */
      public emu.grasscutter.net.proto.PlatformInfoOuterClass.PlatformInfo.Builder getPlatformBuilder() {
        
        onChanged();
        return getPlatformFieldBuilder().getBuilder();
      }
      /**
       * <code>.PlatformInfo platform = 23;</code>
       */
      public emu.grasscutter.net.proto.PlatformInfoOuterClass.PlatformInfoOrBuilder getPlatformOrBuilder() {
        if (platformBuilder_ != null) {
          return platformBuilder_.getMessageOrBuilder();
        } else {
          return platform_ == null ?
              emu.grasscutter.net.proto.PlatformInfoOuterClass.PlatformInfo.getDefaultInstance() : platform_;
        }
      }
      /**
       * <code>.PlatformInfo platform = 23;</code>
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          emu.grasscutter.net.proto.PlatformInfoOuterClass.PlatformInfo, emu.grasscutter.net.proto.PlatformInfoOuterClass.PlatformInfo.Builder, emu.grasscutter.net.proto.PlatformInfoOuterClass.PlatformInfoOrBuilder> 
          getPlatformFieldBuilder() {
        if (platformBuilder_ == null) {
          platformBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              emu.grasscutter.net.proto.PlatformInfoOuterClass.PlatformInfo, emu.grasscutter.net.proto.PlatformInfoOuterClass.PlatformInfo.Builder, emu.grasscutter.net.proto.PlatformInfoOuterClass.PlatformInfoOrBuilder>(
                  getPlatform(),
                  getParentForChildren(),
                  isClean());
          platform_ = null;
        }
        return platformBuilder_;
      }

      private com.google.protobuf.Internal.IntList interactUidList_ = emptyIntList();
      private void ensureInteractUidListIsMutable() {
        if (!((bitField0_ & 0x00000001) != 0)) {
          interactUidList_ = mutableCopy(interactUidList_);
          bitField0_ |= 0x00000001;
         }
      }
      /**
       * <code>repeated uint32 interactUidList = 24;</code>
       * @return A list containing the interactUidList.
       */
      public java.util.List<java.lang.Integer>
          getInteractUidListList() {
        return ((bitField0_ & 0x00000001) != 0) ?
                 java.util.Collections.unmodifiableList(interactUidList_) : interactUidList_;
      }
      /**
       * <code>repeated uint32 interactUidList = 24;</code>
       * @return The count of interactUidList.
       */
      public int getInteractUidListCount() {
        return interactUidList_.size();
      }
      /**
       * <code>repeated uint32 interactUidList = 24;</code>
       * @param index The index of the element to return.
       * @return The interactUidList at the given index.
       */
      public int getInteractUidList(int index) {
        return interactUidList_.getInt(index);
      }
      /**
       * <code>repeated uint32 interactUidList = 24;</code>
       * @param index The index to set the value at.
       * @param value The interactUidList to set.
       * @return This builder for chaining.
       */
      public Builder setInteractUidList(
          int index, int value) {
        ensureInteractUidListIsMutable();
        interactUidList_.setInt(index, value);
        onChanged();
        return this;
      }
      /**
       * <code>repeated uint32 interactUidList = 24;</code>
       * @param value The interactUidList to add.
       * @return This builder for chaining.
       */
      public Builder addInteractUidList(int value) {
        ensureInteractUidListIsMutable();
        interactUidList_.addInt(value);
        onChanged();
        return this;
      }
      /**
       * <code>repeated uint32 interactUidList = 24;</code>
       * @param values The interactUidList to add.
       * @return This builder for chaining.
       */
      public Builder addAllInteractUidList(
          java.lang.Iterable<? extends java.lang.Integer> values) {
        ensureInteractUidListIsMutable();
        com.google.protobuf.AbstractMessageLite.Builder.addAll(
            values, interactUidList_);
        onChanged();
        return this;
      }
      /**
       * <code>repeated uint32 interactUidList = 24;</code>
       * @return This builder for chaining.
       */
      public Builder clearInteractUidList() {
        interactUidList_ = emptyIntList();
        bitField0_ = (bitField0_ & ~0x00000001);
        onChanged();
        return this;
      }

      private int draftId_ ;
      /**
       * <code>uint32 draftId = 25;</code>
       * @return The draftId.
       */
      @java.lang.Override
      public int getDraftId() {
        return draftId_;
      }
      /**
       * <code>uint32 draftId = 25;</code>
       * @param value The draftId to set.
       * @return This builder for chaining.
       */
      public Builder setDraftId(int value) {
        
        draftId_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>uint32 draftId = 25;</code>
       * @return This builder for chaining.
       */
      public Builder clearDraftId() {
        
        draftId_ = 0;
        onChanged();
        return this;
      }

      private int gadgetTalkState_ ;
      /**
       * <code>uint32 gadgetTalkState = 26;</code>
       * @return The gadgetTalkState.
       */
      @java.lang.Override
      public int getGadgetTalkState() {
        return gadgetTalkState_;
      }
      /**
       * <code>uint32 gadgetTalkState = 26;</code>
       * @param value The gadgetTalkState to set.
       * @return This builder for chaining.
       */
      public Builder setGadgetTalkState(int value) {
        
        gadgetTalkState_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>uint32 gadgetTalkState = 26;</code>
       * @return This builder for chaining.
       */
      public Builder clearGadgetTalkState() {
        
        gadgetTalkState_ = 0;
        onChanged();
        return this;
      }

      private emu.grasscutter.net.proto.GadgetPlayInfoOuterClass.GadgetPlayInfo playInfo_;
      private com.google.protobuf.SingleFieldBuilderV3<
          emu.grasscutter.net.proto.GadgetPlayInfoOuterClass.GadgetPlayInfo, emu.grasscutter.net.proto.GadgetPlayInfoOuterClass.GadgetPlayInfo.Builder, emu.grasscutter.net.proto.GadgetPlayInfoOuterClass.GadgetPlayInfoOrBuilder> playInfoBuilder_;
      /**
       * <code>.GadgetPlayInfo playInfo = 100;</code>
       * @return Whether the playInfo field is set.
       */
      public boolean hasPlayInfo() {
        return playInfoBuilder_ != null || playInfo_ != null;
      }
      /**
       * <code>.GadgetPlayInfo playInfo = 100;</code>
       * @return The playInfo.
       */
      public emu.grasscutter.net.proto.GadgetPlayInfoOuterClass.GadgetPlayInfo getPlayInfo() {
        if (playInfoBuilder_ == null) {
          return playInfo_ == null ? emu.grasscutter.net.proto.GadgetPlayInfoOuterClass.GadgetPlayInfo.getDefaultInstance() : playInfo_;
        } else {
          return playInfoBuilder_.getMessage();
        }
      }
      /**
       * <code>.GadgetPlayInfo playInfo = 100;</code>
       */
      public Builder setPlayInfo(emu.grasscutter.net.proto.GadgetPlayInfoOuterClass.GadgetPlayInfo value) {
        if (playInfoBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          playInfo_ = value;
          onChanged();
        } else {
          playInfoBuilder_.setMessage(value);
        }

        return this;
      }
      /**
       * <code>.GadgetPlayInfo playInfo = 100;</code>
       */
      public Builder setPlayInfo(
          emu.grasscutter.net.proto.GadgetPlayInfoOuterClass.GadgetPlayInfo.Builder builderForValue) {
        if (playInfoBuilder_ == null) {
          playInfo_ = builderForValue.build();
          onChanged();
        } else {
          playInfoBuilder_.setMessage(builderForValue.build());
        }

        return this;
      }
      /**
       * <code>.GadgetPlayInfo playInfo = 100;</code>
       */
      public Builder mergePlayInfo(emu.grasscutter.net.proto.GadgetPlayInfoOuterClass.GadgetPlayInfo value) {
        if (playInfoBuilder_ == null) {
          if (playInfo_ != null) {
            playInfo_ =
              emu.grasscutter.net.proto.GadgetPlayInfoOuterClass.GadgetPlayInfo.newBuilder(playInfo_).mergeFrom(value).buildPartial();
          } else {
            playInfo_ = value;
          }
          onChanged();
        } else {
          playInfoBuilder_.mergeFrom(value);
        }

        return this;
      }
      /**
       * <code>.GadgetPlayInfo playInfo = 100;</code>
       */
      public Builder clearPlayInfo() {
        if (playInfoBuilder_ == null) {
          playInfo_ = null;
          onChanged();
        } else {
          playInfo_ = null;
          playInfoBuilder_ = null;
        }

        return this;
      }
      /**
       * <code>.GadgetPlayInfo playInfo = 100;</code>
       */
      public emu.grasscutter.net.proto.GadgetPlayInfoOuterClass.GadgetPlayInfo.Builder getPlayInfoBuilder() {
        
        onChanged();
        return getPlayInfoFieldBuilder().getBuilder();
      }
      /**
       * <code>.GadgetPlayInfo playInfo = 100;</code>
       */
      public emu.grasscutter.net.proto.GadgetPlayInfoOuterClass.GadgetPlayInfoOrBuilder getPlayInfoOrBuilder() {
        if (playInfoBuilder_ != null) {
          return playInfoBuilder_.getMessageOrBuilder();
        } else {
          return playInfo_ == null ?
              emu.grasscutter.net.proto.GadgetPlayInfoOuterClass.GadgetPlayInfo.getDefaultInstance() : playInfo_;
        }
      }
      /**
       * <code>.GadgetPlayInfo playInfo = 100;</code>
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          emu.grasscutter.net.proto.GadgetPlayInfoOuterClass.GadgetPlayInfo, emu.grasscutter.net.proto.GadgetPlayInfoOuterClass.GadgetPlayInfo.Builder, emu.grasscutter.net.proto.GadgetPlayInfoOuterClass.GadgetPlayInfoOrBuilder> 
          getPlayInfoFieldBuilder() {
        if (playInfoBuilder_ == null) {
          playInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              emu.grasscutter.net.proto.GadgetPlayInfoOuterClass.GadgetPlayInfo, emu.grasscutter.net.proto.GadgetPlayInfoOuterClass.GadgetPlayInfo.Builder, emu.grasscutter.net.proto.GadgetPlayInfoOuterClass.GadgetPlayInfoOrBuilder>(
                  getPlayInfo(),
                  getParentForChildren(),
                  isClean());
          playInfo_ = null;
        }
        return playInfoBuilder_;
      }
      @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:SceneGadgetInfo)
    }

    // @@protoc_insertion_point(class_scope:SceneGadgetInfo)
    private static final emu.grasscutter.net.proto.SceneGadgetInfoOuterClass.SceneGadgetInfo DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new emu.grasscutter.net.proto.SceneGadgetInfoOuterClass.SceneGadgetInfo();
    }

    public static emu.grasscutter.net.proto.SceneGadgetInfoOuterClass.SceneGadgetInfo getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

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

    @java.lang.Override
    public emu.grasscutter.net.proto.SceneGadgetInfoOuterClass.SceneGadgetInfo getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_SceneGadgetInfo_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_SceneGadgetInfo_fieldAccessorTable;

  public static com.google.protobuf.Descriptors.FileDescriptor
      getDescriptor() {
    return descriptor;
  }
  private static  com.google.protobuf.Descriptors.FileDescriptor
      descriptor;
  static {
    java.lang.String[] descriptorData = {
      "\n\025SceneGadgetInfo.proto\032\024GadgetBornType." +
      "proto\032\027GadgetClientParam.proto\032\024GadgetPl" +
      "ayInfo.proto\032\nItem.proto\032\022PlatformInfo.p" +
      "roto\"\352\005\n\017SceneGadgetInfo\022\020\n\010gadgetId\030\001 \001" +
      "(\r\022\017\n\007groupId\030\002 \001(\r\022\020\n\010configId\030\003 \001(\r\022\025\n" +
      "\rownerEntityId\030\004 \001(\r\022!\n\010bornType\030\005 \001(\0162\017" +
      ".GadgetBornType\022\023\n\013gadgetState\030\006 \001(\r\022\022\n\n" +
      "gadgetType\030\007 \001(\r\022\026\n\016isShowCutscene\030\010 \001(\010" +
      "\022\027\n\017authorityPeerId\030\t \001(\r\022\030\n\020isEnableInt" +
      "eract\030\n \001(\010\022\022\n\ninteractId\030\013 \001(\r\022\031\n\ntrifl" +
      "eItem\030\014 \001(\0132\005.Item\022\024\n\014gatherGadget\030\r \001(\r" +
      "\022\017\n\007worktop\030\016 \001(\r\022(\n\014clientGadget\030\017 \001(\0132" +
      "\022.GadgetClientParam\022\017\n\007weather\030\021 \001(\r\022\025\n\r" +
      "abilityGadget\030\022 \001(\r\022\024\n\014statueGadget\030\023 \001(" +
      "\r\022\021\n\tbossChest\030\024 \001(\r\022\024\n\014blossomChest\030) \001" +
      "(\r\022\024\n\014mpPlayReward\030* \001(\r\022\025\n\rgeneralRewar" +
      "d\030+ \001(\r\022\024\n\014offeringInfo\030, \001(\r\022\026\n\016foundat" +
      "ionInfo\030- \001(\r\022\020\n\010markFlag\030\025 \001(\r\022\031\n\021propO" +
      "wnerEntityId\030\026 \001(\r\022\037\n\010platform\030\027 \001(\0132\r.P" +
      "latformInfo\022\027\n\017interactUidList\030\030 \003(\r\022\017\n\007" +
      "draftId\030\031 \001(\r\022\027\n\017gadgetTalkState\030\032 \001(\r\022!" +
      "\n\010playInfo\030d \001(\0132\017.GadgetPlayInfoB\033\n\031emu" +
      ".grasscutter.net.protob\006proto3"
    };
    descriptor = com.google.protobuf.Descriptors.FileDescriptor
      .internalBuildGeneratedFileFrom(descriptorData,
        new com.google.protobuf.Descriptors.FileDescriptor[] {
          emu.grasscutter.net.proto.GadgetBornTypeOuterClass.getDescriptor(),
          emu.grasscutter.net.proto.GadgetClientParamOuterClass.getDescriptor(),
          emu.grasscutter.net.proto.GadgetPlayInfoOuterClass.getDescriptor(),
          emu.grasscutter.net.proto.ItemOuterClass.getDescriptor(),
          emu.grasscutter.net.proto.PlatformInfoOuterClass.getDescriptor(),
        });
    internal_static_SceneGadgetInfo_descriptor =
      getDescriptor().getMessageTypes().get(0);
    internal_static_SceneGadgetInfo_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_SceneGadgetInfo_descriptor,
        new java.lang.String[] { "GadgetId", "GroupId", "ConfigId", "OwnerEntityId", "BornType", "GadgetState", "GadgetType", "IsShowCutscene", "AuthorityPeerId", "IsEnableInteract", "InteractId", "TrifleItem", "GatherGadget", "Worktop", "ClientGadget", "Weather", "AbilityGadget", "StatueGadget", "BossChest", "BlossomChest", "MpPlayReward", "GeneralReward", "OfferingInfo", "FoundationInfo", "MarkFlag", "PropOwnerEntityId", "Platform", "InteractUidList", "DraftId", "GadgetTalkState", "PlayInfo", });
    emu.grasscutter.net.proto.GadgetBornTypeOuterClass.getDescriptor();
    emu.grasscutter.net.proto.GadgetClientParamOuterClass.getDescriptor();
    emu.grasscutter.net.proto.GadgetPlayInfoOuterClass.getDescriptor();
    emu.grasscutter.net.proto.ItemOuterClass.getDescriptor();
    emu.grasscutter.net.proto.PlatformInfoOuterClass.getDescriptor();
  }

  // @@protoc_insertion_point(outer_class_scope)
}
