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

package emu.grasscutter.net.proto;

public final class SceneWeaponInfoOuterClass {
  private SceneWeaponInfoOuterClass() {}
  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 SceneWeaponInfoOrBuilder extends
      // @@protoc_insertion_point(interface_extends:SceneWeaponInfo)
      com.google.protobuf.MessageOrBuilder {

    /**
     * <code>uint32 entity_id = 1;</code>
     * @return The entityId.
     */
    int getEntityId();

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

    /**
     * <code>uint32 item_id = 3;</code>
     * @return The itemId.
     */
    int getItemId();

    /**
     * <code>uint64 guid = 4;</code>
     * @return The guid.
     */
    long getGuid();

    /**
     * <code>uint32 level = 5;</code>
     * @return The level.
     */
    int getLevel();

    /**
     * <code>uint32 promote_level = 6;</code>
     * @return The promoteLevel.
     */
    int getPromoteLevel();

    /**
     * <code>.AbilitySyncStateInfo ability_info = 7;</code>
     * @return Whether the abilityInfo field is set.
     */
    boolean hasAbilityInfo();
    /**
     * <code>.AbilitySyncStateInfo ability_info = 7;</code>
     * @return The abilityInfo.
     */
    emu.grasscutter.net.proto.AbilitySyncStateInfoOuterClass.AbilitySyncStateInfo getAbilityInfo();
    /**
     * <code>.AbilitySyncStateInfo ability_info = 7;</code>
     */
    emu.grasscutter.net.proto.AbilitySyncStateInfoOuterClass.AbilitySyncStateInfoOrBuilder getAbilityInfoOrBuilder();

    /**
     * <code>map&lt;uint32, uint32&gt; affix_map = 8;</code>
     */
    int getAffixMapCount();
    /**
     * <code>map&lt;uint32, uint32&gt; affix_map = 8;</code>
     */
    boolean containsAffixMap(
        int key);
    /**
     * Use {@link #getAffixMapMap()} instead.
     */
    @java.lang.Deprecated
    java.util.Map<java.lang.Integer, java.lang.Integer>
    getAffixMap();
    /**
     * <code>map&lt;uint32, uint32&gt; affix_map = 8;</code>
     */
    java.util.Map<java.lang.Integer, java.lang.Integer>
    getAffixMapMap();
    /**
     * <code>map&lt;uint32, uint32&gt; affix_map = 8;</code>
     */

    int getAffixMapOrDefault(
        int key,
        int defaultValue);
    /**
     * <code>map&lt;uint32, uint32&gt; affix_map = 8;</code>
     */

    int getAffixMapOrThrow(
        int key);

    /**
     * <code>.EntityRendererChangedInfo renderer_changed_info = 9;</code>
     * @return Whether the rendererChangedInfo field is set.
     */
    boolean hasRendererChangedInfo();
    /**
     * <code>.EntityRendererChangedInfo renderer_changed_info = 9;</code>
     * @return The rendererChangedInfo.
     */
    emu.grasscutter.net.proto.EntityRendererChangedInfoOuterClass.EntityRendererChangedInfo getRendererChangedInfo();
    /**
     * <code>.EntityRendererChangedInfo renderer_changed_info = 9;</code>
     */
    emu.grasscutter.net.proto.EntityRendererChangedInfoOuterClass.EntityRendererChangedInfoOrBuilder getRendererChangedInfoOrBuilder();
  }
  /**
   * Protobuf type {@code SceneWeaponInfo}
   */
  public static final class SceneWeaponInfo extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:SceneWeaponInfo)
      SceneWeaponInfoOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use SceneWeaponInfo.newBuilder() to construct.
    private SceneWeaponInfo(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private SceneWeaponInfo() {
    }

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

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

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

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

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

              guid_ = input.readUInt64();
              break;
            }
            case 40: {

              level_ = input.readUInt32();
              break;
            }
            case 48: {

              promoteLevel_ = input.readUInt32();
              break;
            }
            case 58: {
              emu.grasscutter.net.proto.AbilitySyncStateInfoOuterClass.AbilitySyncStateInfo.Builder subBuilder = null;
              if (abilityInfo_ != null) {
                subBuilder = abilityInfo_.toBuilder();
              }
              abilityInfo_ = input.readMessage(emu.grasscutter.net.proto.AbilitySyncStateInfoOuterClass.AbilitySyncStateInfo.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(abilityInfo_);
                abilityInfo_ = subBuilder.buildPartial();
              }

              break;
            }
            case 66: {
              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
                affixMap_ = com.google.protobuf.MapField.newMapField(
                    AffixMapDefaultEntryHolder.defaultEntry);
                mutable_bitField0_ |= 0x00000001;
              }
              com.google.protobuf.MapEntry<java.lang.Integer, java.lang.Integer>
              affixMap__ = input.readMessage(
                  AffixMapDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
              affixMap_.getMutableMap().put(
                  affixMap__.getKey(), affixMap__.getValue());
              break;
            }
            case 74: {
              emu.grasscutter.net.proto.EntityRendererChangedInfoOuterClass.EntityRendererChangedInfo.Builder subBuilder = null;
              if (rendererChangedInfo_ != null) {
                subBuilder = rendererChangedInfo_.toBuilder();
              }
              rendererChangedInfo_ = input.readMessage(emu.grasscutter.net.proto.EntityRendererChangedInfoOuterClass.EntityRendererChangedInfo.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(rendererChangedInfo_);
                rendererChangedInfo_ = 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 {
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return emu.grasscutter.net.proto.SceneWeaponInfoOuterClass.internal_static_SceneWeaponInfo_descriptor;
    }

    @SuppressWarnings({"rawtypes"})
    @java.lang.Override
    protected com.google.protobuf.MapField internalGetMapField(
        int number) {
      switch (number) {
        case 8:
          return internalGetAffixMap();
        default:
          throw new RuntimeException(
              "Invalid map field number: " + number);
      }
    }
    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return emu.grasscutter.net.proto.SceneWeaponInfoOuterClass.internal_static_SceneWeaponInfo_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              emu.grasscutter.net.proto.SceneWeaponInfoOuterClass.SceneWeaponInfo.class, emu.grasscutter.net.proto.SceneWeaponInfoOuterClass.SceneWeaponInfo.Builder.class);
    }

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

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

    public static final int ITEM_ID_FIELD_NUMBER = 3;
    private int itemId_;
    /**
     * <code>uint32 item_id = 3;</code>
     * @return The itemId.
     */
    @java.lang.Override
    public int getItemId() {
      return itemId_;
    }

    public static final int GUID_FIELD_NUMBER = 4;
    private long guid_;
    /**
     * <code>uint64 guid = 4;</code>
     * @return The guid.
     */
    @java.lang.Override
    public long getGuid() {
      return guid_;
    }

    public static final int LEVEL_FIELD_NUMBER = 5;
    private int level_;
    /**
     * <code>uint32 level = 5;</code>
     * @return The level.
     */
    @java.lang.Override
    public int getLevel() {
      return level_;
    }

    public static final int PROMOTE_LEVEL_FIELD_NUMBER = 6;
    private int promoteLevel_;
    /**
     * <code>uint32 promote_level = 6;</code>
     * @return The promoteLevel.
     */
    @java.lang.Override
    public int getPromoteLevel() {
      return promoteLevel_;
    }

    public static final int ABILITY_INFO_FIELD_NUMBER = 7;
    private emu.grasscutter.net.proto.AbilitySyncStateInfoOuterClass.AbilitySyncStateInfo abilityInfo_;
    /**
     * <code>.AbilitySyncStateInfo ability_info = 7;</code>
     * @return Whether the abilityInfo field is set.
     */
    @java.lang.Override
    public boolean hasAbilityInfo() {
      return abilityInfo_ != null;
    }
    /**
     * <code>.AbilitySyncStateInfo ability_info = 7;</code>
     * @return The abilityInfo.
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.AbilitySyncStateInfoOuterClass.AbilitySyncStateInfo getAbilityInfo() {
      return abilityInfo_ == null ? emu.grasscutter.net.proto.AbilitySyncStateInfoOuterClass.AbilitySyncStateInfo.getDefaultInstance() : abilityInfo_;
    }
    /**
     * <code>.AbilitySyncStateInfo ability_info = 7;</code>
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.AbilitySyncStateInfoOuterClass.AbilitySyncStateInfoOrBuilder getAbilityInfoOrBuilder() {
      return getAbilityInfo();
    }

    public static final int AFFIX_MAP_FIELD_NUMBER = 8;
    private static final class AffixMapDefaultEntryHolder {
      static final com.google.protobuf.MapEntry<
          java.lang.Integer, java.lang.Integer> defaultEntry =
              com.google.protobuf.MapEntry
              .<java.lang.Integer, java.lang.Integer>newDefaultInstance(
                  emu.grasscutter.net.proto.SceneWeaponInfoOuterClass.internal_static_SceneWeaponInfo_AffixMapEntry_descriptor, 
                  com.google.protobuf.WireFormat.FieldType.UINT32,
                  0,
                  com.google.protobuf.WireFormat.FieldType.UINT32,
                  0);
    }
    private com.google.protobuf.MapField<
        java.lang.Integer, java.lang.Integer> affixMap_;
    private com.google.protobuf.MapField<java.lang.Integer, java.lang.Integer>
    internalGetAffixMap() {
      if (affixMap_ == null) {
        return com.google.protobuf.MapField.emptyMapField(
            AffixMapDefaultEntryHolder.defaultEntry);
      }
      return affixMap_;
    }

    public int getAffixMapCount() {
      return internalGetAffixMap().getMap().size();
    }
    /**
     * <code>map&lt;uint32, uint32&gt; affix_map = 8;</code>
     */

    @java.lang.Override
    public boolean containsAffixMap(
        int key) {
      
      return internalGetAffixMap().getMap().containsKey(key);
    }
    /**
     * Use {@link #getAffixMapMap()} instead.
     */
    @java.lang.Override
    @java.lang.Deprecated
    public java.util.Map<java.lang.Integer, java.lang.Integer> getAffixMap() {
      return getAffixMapMap();
    }
    /**
     * <code>map&lt;uint32, uint32&gt; affix_map = 8;</code>
     */
    @java.lang.Override

    public java.util.Map<java.lang.Integer, java.lang.Integer> getAffixMapMap() {
      return internalGetAffixMap().getMap();
    }
    /**
     * <code>map&lt;uint32, uint32&gt; affix_map = 8;</code>
     */
    @java.lang.Override

    public int getAffixMapOrDefault(
        int key,
        int defaultValue) {
      
      java.util.Map<java.lang.Integer, java.lang.Integer> map =
          internalGetAffixMap().getMap();
      return map.containsKey(key) ? map.get(key) : defaultValue;
    }
    /**
     * <code>map&lt;uint32, uint32&gt; affix_map = 8;</code>
     */
    @java.lang.Override

    public int getAffixMapOrThrow(
        int key) {
      
      java.util.Map<java.lang.Integer, java.lang.Integer> map =
          internalGetAffixMap().getMap();
      if (!map.containsKey(key)) {
        throw new java.lang.IllegalArgumentException();
      }
      return map.get(key);
    }

    public static final int RENDERER_CHANGED_INFO_FIELD_NUMBER = 9;
    private emu.grasscutter.net.proto.EntityRendererChangedInfoOuterClass.EntityRendererChangedInfo rendererChangedInfo_;
    /**
     * <code>.EntityRendererChangedInfo renderer_changed_info = 9;</code>
     * @return Whether the rendererChangedInfo field is set.
     */
    @java.lang.Override
    public boolean hasRendererChangedInfo() {
      return rendererChangedInfo_ != null;
    }
    /**
     * <code>.EntityRendererChangedInfo renderer_changed_info = 9;</code>
     * @return The rendererChangedInfo.
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.EntityRendererChangedInfoOuterClass.EntityRendererChangedInfo getRendererChangedInfo() {
      return rendererChangedInfo_ == null ? emu.grasscutter.net.proto.EntityRendererChangedInfoOuterClass.EntityRendererChangedInfo.getDefaultInstance() : rendererChangedInfo_;
    }
    /**
     * <code>.EntityRendererChangedInfo renderer_changed_info = 9;</code>
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.EntityRendererChangedInfoOuterClass.EntityRendererChangedInfoOrBuilder getRendererChangedInfoOrBuilder() {
      return getRendererChangedInfo();
    }

    private byte memoizedIsInitialized = -1;
    @java.lang.Override
    public final boolean isInitialized() {
      byte isInitialized = memoizedIsInitialized;
      if (isInitialized == 1) return true;
      if (isInitialized == 0) return false;

      memoizedIsInitialized = 1;
      return true;
    }

    @java.lang.Override
    public void writeTo(com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      if (entityId_ != 0) {
        output.writeUInt32(1, entityId_);
      }
      if (gadgetId_ != 0) {
        output.writeUInt32(2, gadgetId_);
      }
      if (itemId_ != 0) {
        output.writeUInt32(3, itemId_);
      }
      if (guid_ != 0L) {
        output.writeUInt64(4, guid_);
      }
      if (level_ != 0) {
        output.writeUInt32(5, level_);
      }
      if (promoteLevel_ != 0) {
        output.writeUInt32(6, promoteLevel_);
      }
      if (abilityInfo_ != null) {
        output.writeMessage(7, getAbilityInfo());
      }
      com.google.protobuf.GeneratedMessageV3
        .serializeIntegerMapTo(
          output,
          internalGetAffixMap(),
          AffixMapDefaultEntryHolder.defaultEntry,
          8);
      if (rendererChangedInfo_ != null) {
        output.writeMessage(9, getRendererChangedInfo());
      }
      unknownFields.writeTo(output);
    }

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

      size = 0;
      if (entityId_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(1, entityId_);
      }
      if (gadgetId_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(2, gadgetId_);
      }
      if (itemId_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(3, itemId_);
      }
      if (guid_ != 0L) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt64Size(4, guid_);
      }
      if (level_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(5, level_);
      }
      if (promoteLevel_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(6, promoteLevel_);
      }
      if (abilityInfo_ != null) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(7, getAbilityInfo());
      }
      for (java.util.Map.Entry<java.lang.Integer, java.lang.Integer> entry
           : internalGetAffixMap().getMap().entrySet()) {
        com.google.protobuf.MapEntry<java.lang.Integer, java.lang.Integer>
        affixMap__ = AffixMapDefaultEntryHolder.defaultEntry.newBuilderForType()
            .setKey(entry.getKey())
            .setValue(entry.getValue())
            .build();
        size += com.google.protobuf.CodedOutputStream
            .computeMessageSize(8, affixMap__);
      }
      if (rendererChangedInfo_ != null) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(9, getRendererChangedInfo());
      }
      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.SceneWeaponInfoOuterClass.SceneWeaponInfo)) {
        return super.equals(obj);
      }
      emu.grasscutter.net.proto.SceneWeaponInfoOuterClass.SceneWeaponInfo other = (emu.grasscutter.net.proto.SceneWeaponInfoOuterClass.SceneWeaponInfo) obj;

      if (getEntityId()
          != other.getEntityId()) return false;
      if (getGadgetId()
          != other.getGadgetId()) return false;
      if (getItemId()
          != other.getItemId()) return false;
      if (getGuid()
          != other.getGuid()) return false;
      if (getLevel()
          != other.getLevel()) return false;
      if (getPromoteLevel()
          != other.getPromoteLevel()) return false;
      if (hasAbilityInfo() != other.hasAbilityInfo()) return false;
      if (hasAbilityInfo()) {
        if (!getAbilityInfo()
            .equals(other.getAbilityInfo())) return false;
      }
      if (!internalGetAffixMap().equals(
          other.internalGetAffixMap())) return false;
      if (hasRendererChangedInfo() != other.hasRendererChangedInfo()) return false;
      if (hasRendererChangedInfo()) {
        if (!getRendererChangedInfo()
            .equals(other.getRendererChangedInfo())) 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) + ENTITY_ID_FIELD_NUMBER;
      hash = (53 * hash) + getEntityId();
      hash = (37 * hash) + GADGET_ID_FIELD_NUMBER;
      hash = (53 * hash) + getGadgetId();
      hash = (37 * hash) + ITEM_ID_FIELD_NUMBER;
      hash = (53 * hash) + getItemId();
      hash = (37 * hash) + GUID_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
          getGuid());
      hash = (37 * hash) + LEVEL_FIELD_NUMBER;
      hash = (53 * hash) + getLevel();
      hash = (37 * hash) + PROMOTE_LEVEL_FIELD_NUMBER;
      hash = (53 * hash) + getPromoteLevel();
      if (hasAbilityInfo()) {
        hash = (37 * hash) + ABILITY_INFO_FIELD_NUMBER;
        hash = (53 * hash) + getAbilityInfo().hashCode();
      }
      if (!internalGetAffixMap().getMap().isEmpty()) {
        hash = (37 * hash) + AFFIX_MAP_FIELD_NUMBER;
        hash = (53 * hash) + internalGetAffixMap().hashCode();
      }
      if (hasRendererChangedInfo()) {
        hash = (37 * hash) + RENDERER_CHANGED_INFO_FIELD_NUMBER;
        hash = (53 * hash) + getRendererChangedInfo().hashCode();
      }
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static emu.grasscutter.net.proto.SceneWeaponInfoOuterClass.SceneWeaponInfo parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static emu.grasscutter.net.proto.SceneWeaponInfoOuterClass.SceneWeaponInfo 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.SceneWeaponInfoOuterClass.SceneWeaponInfo parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static emu.grasscutter.net.proto.SceneWeaponInfoOuterClass.SceneWeaponInfo 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.SceneWeaponInfoOuterClass.SceneWeaponInfo parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static emu.grasscutter.net.proto.SceneWeaponInfoOuterClass.SceneWeaponInfo parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static emu.grasscutter.net.proto.SceneWeaponInfoOuterClass.SceneWeaponInfo parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static emu.grasscutter.net.proto.SceneWeaponInfoOuterClass.SceneWeaponInfo 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.SceneWeaponInfoOuterClass.SceneWeaponInfo parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static emu.grasscutter.net.proto.SceneWeaponInfoOuterClass.SceneWeaponInfo 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.SceneWeaponInfoOuterClass.SceneWeaponInfo parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static emu.grasscutter.net.proto.SceneWeaponInfoOuterClass.SceneWeaponInfo 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.SceneWeaponInfoOuterClass.SceneWeaponInfo 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 SceneWeaponInfo}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:SceneWeaponInfo)
        emu.grasscutter.net.proto.SceneWeaponInfoOuterClass.SceneWeaponInfoOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return emu.grasscutter.net.proto.SceneWeaponInfoOuterClass.internal_static_SceneWeaponInfo_descriptor;
      }

      @SuppressWarnings({"rawtypes"})
      protected com.google.protobuf.MapField internalGetMapField(
          int number) {
        switch (number) {
          case 8:
            return internalGetAffixMap();
          default:
            throw new RuntimeException(
                "Invalid map field number: " + number);
        }
      }
      @SuppressWarnings({"rawtypes"})
      protected com.google.protobuf.MapField internalGetMutableMapField(
          int number) {
        switch (number) {
          case 8:
            return internalGetMutableAffixMap();
          default:
            throw new RuntimeException(
                "Invalid map field number: " + number);
        }
      }
      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return emu.grasscutter.net.proto.SceneWeaponInfoOuterClass.internal_static_SceneWeaponInfo_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                emu.grasscutter.net.proto.SceneWeaponInfoOuterClass.SceneWeaponInfo.class, emu.grasscutter.net.proto.SceneWeaponInfoOuterClass.SceneWeaponInfo.Builder.class);
      }

      // Construct using emu.grasscutter.net.proto.SceneWeaponInfoOuterClass.SceneWeaponInfo.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();
        entityId_ = 0;

        gadgetId_ = 0;

        itemId_ = 0;

        guid_ = 0L;

        level_ = 0;

        promoteLevel_ = 0;

        if (abilityInfoBuilder_ == null) {
          abilityInfo_ = null;
        } else {
          abilityInfo_ = null;
          abilityInfoBuilder_ = null;
        }
        internalGetMutableAffixMap().clear();
        if (rendererChangedInfoBuilder_ == null) {
          rendererChangedInfo_ = null;
        } else {
          rendererChangedInfo_ = null;
          rendererChangedInfoBuilder_ = null;
        }
        return this;
      }

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

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

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

      @java.lang.Override
      public emu.grasscutter.net.proto.SceneWeaponInfoOuterClass.SceneWeaponInfo buildPartial() {
        emu.grasscutter.net.proto.SceneWeaponInfoOuterClass.SceneWeaponInfo result = new emu.grasscutter.net.proto.SceneWeaponInfoOuterClass.SceneWeaponInfo(this);
        int from_bitField0_ = bitField0_;
        result.entityId_ = entityId_;
        result.gadgetId_ = gadgetId_;
        result.itemId_ = itemId_;
        result.guid_ = guid_;
        result.level_ = level_;
        result.promoteLevel_ = promoteLevel_;
        if (abilityInfoBuilder_ == null) {
          result.abilityInfo_ = abilityInfo_;
        } else {
          result.abilityInfo_ = abilityInfoBuilder_.build();
        }
        result.affixMap_ = internalGetAffixMap();
        result.affixMap_.makeImmutable();
        if (rendererChangedInfoBuilder_ == null) {
          result.rendererChangedInfo_ = rendererChangedInfo_;
        } else {
          result.rendererChangedInfo_ = rendererChangedInfoBuilder_.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.SceneWeaponInfoOuterClass.SceneWeaponInfo) {
          return mergeFrom((emu.grasscutter.net.proto.SceneWeaponInfoOuterClass.SceneWeaponInfo)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(emu.grasscutter.net.proto.SceneWeaponInfoOuterClass.SceneWeaponInfo other) {
        if (other == emu.grasscutter.net.proto.SceneWeaponInfoOuterClass.SceneWeaponInfo.getDefaultInstance()) return this;
        if (other.getEntityId() != 0) {
          setEntityId(other.getEntityId());
        }
        if (other.getGadgetId() != 0) {
          setGadgetId(other.getGadgetId());
        }
        if (other.getItemId() != 0) {
          setItemId(other.getItemId());
        }
        if (other.getGuid() != 0L) {
          setGuid(other.getGuid());
        }
        if (other.getLevel() != 0) {
          setLevel(other.getLevel());
        }
        if (other.getPromoteLevel() != 0) {
          setPromoteLevel(other.getPromoteLevel());
        }
        if (other.hasAbilityInfo()) {
          mergeAbilityInfo(other.getAbilityInfo());
        }
        internalGetMutableAffixMap().mergeFrom(
            other.internalGetAffixMap());
        if (other.hasRendererChangedInfo()) {
          mergeRendererChangedInfo(other.getRendererChangedInfo());
        }
        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.SceneWeaponInfoOuterClass.SceneWeaponInfo parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (emu.grasscutter.net.proto.SceneWeaponInfoOuterClass.SceneWeaponInfo) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int bitField0_;

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

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

      private int itemId_ ;
      /**
       * <code>uint32 item_id = 3;</code>
       * @return The itemId.
       */
      @java.lang.Override
      public int getItemId() {
        return itemId_;
      }
      /**
       * <code>uint32 item_id = 3;</code>
       * @param value The itemId to set.
       * @return This builder for chaining.
       */
      public Builder setItemId(int value) {
        
        itemId_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>uint32 item_id = 3;</code>
       * @return This builder for chaining.
       */
      public Builder clearItemId() {
        
        itemId_ = 0;
        onChanged();
        return this;
      }

      private long guid_ ;
      /**
       * <code>uint64 guid = 4;</code>
       * @return The guid.
       */
      @java.lang.Override
      public long getGuid() {
        return guid_;
      }
      /**
       * <code>uint64 guid = 4;</code>
       * @param value The guid to set.
       * @return This builder for chaining.
       */
      public Builder setGuid(long value) {
        
        guid_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>uint64 guid = 4;</code>
       * @return This builder for chaining.
       */
      public Builder clearGuid() {
        
        guid_ = 0L;
        onChanged();
        return this;
      }

      private int level_ ;
      /**
       * <code>uint32 level = 5;</code>
       * @return The level.
       */
      @java.lang.Override
      public int getLevel() {
        return level_;
      }
      /**
       * <code>uint32 level = 5;</code>
       * @param value The level to set.
       * @return This builder for chaining.
       */
      public Builder setLevel(int value) {
        
        level_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>uint32 level = 5;</code>
       * @return This builder for chaining.
       */
      public Builder clearLevel() {
        
        level_ = 0;
        onChanged();
        return this;
      }

      private int promoteLevel_ ;
      /**
       * <code>uint32 promote_level = 6;</code>
       * @return The promoteLevel.
       */
      @java.lang.Override
      public int getPromoteLevel() {
        return promoteLevel_;
      }
      /**
       * <code>uint32 promote_level = 6;</code>
       * @param value The promoteLevel to set.
       * @return This builder for chaining.
       */
      public Builder setPromoteLevel(int value) {
        
        promoteLevel_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>uint32 promote_level = 6;</code>
       * @return This builder for chaining.
       */
      public Builder clearPromoteLevel() {
        
        promoteLevel_ = 0;
        onChanged();
        return this;
      }

      private emu.grasscutter.net.proto.AbilitySyncStateInfoOuterClass.AbilitySyncStateInfo abilityInfo_;
      private com.google.protobuf.SingleFieldBuilderV3<
          emu.grasscutter.net.proto.AbilitySyncStateInfoOuterClass.AbilitySyncStateInfo, emu.grasscutter.net.proto.AbilitySyncStateInfoOuterClass.AbilitySyncStateInfo.Builder, emu.grasscutter.net.proto.AbilitySyncStateInfoOuterClass.AbilitySyncStateInfoOrBuilder> abilityInfoBuilder_;
      /**
       * <code>.AbilitySyncStateInfo ability_info = 7;</code>
       * @return Whether the abilityInfo field is set.
       */
      public boolean hasAbilityInfo() {
        return abilityInfoBuilder_ != null || abilityInfo_ != null;
      }
      /**
       * <code>.AbilitySyncStateInfo ability_info = 7;</code>
       * @return The abilityInfo.
       */
      public emu.grasscutter.net.proto.AbilitySyncStateInfoOuterClass.AbilitySyncStateInfo getAbilityInfo() {
        if (abilityInfoBuilder_ == null) {
          return abilityInfo_ == null ? emu.grasscutter.net.proto.AbilitySyncStateInfoOuterClass.AbilitySyncStateInfo.getDefaultInstance() : abilityInfo_;
        } else {
          return abilityInfoBuilder_.getMessage();
        }
      }
      /**
       * <code>.AbilitySyncStateInfo ability_info = 7;</code>
       */
      public Builder setAbilityInfo(emu.grasscutter.net.proto.AbilitySyncStateInfoOuterClass.AbilitySyncStateInfo value) {
        if (abilityInfoBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          abilityInfo_ = value;
          onChanged();
        } else {
          abilityInfoBuilder_.setMessage(value);
        }

        return this;
      }
      /**
       * <code>.AbilitySyncStateInfo ability_info = 7;</code>
       */
      public Builder setAbilityInfo(
          emu.grasscutter.net.proto.AbilitySyncStateInfoOuterClass.AbilitySyncStateInfo.Builder builderForValue) {
        if (abilityInfoBuilder_ == null) {
          abilityInfo_ = builderForValue.build();
          onChanged();
        } else {
          abilityInfoBuilder_.setMessage(builderForValue.build());
        }

        return this;
      }
      /**
       * <code>.AbilitySyncStateInfo ability_info = 7;</code>
       */
      public Builder mergeAbilityInfo(emu.grasscutter.net.proto.AbilitySyncStateInfoOuterClass.AbilitySyncStateInfo value) {
        if (abilityInfoBuilder_ == null) {
          if (abilityInfo_ != null) {
            abilityInfo_ =
              emu.grasscutter.net.proto.AbilitySyncStateInfoOuterClass.AbilitySyncStateInfo.newBuilder(abilityInfo_).mergeFrom(value).buildPartial();
          } else {
            abilityInfo_ = value;
          }
          onChanged();
        } else {
          abilityInfoBuilder_.mergeFrom(value);
        }

        return this;
      }
      /**
       * <code>.AbilitySyncStateInfo ability_info = 7;</code>
       */
      public Builder clearAbilityInfo() {
        if (abilityInfoBuilder_ == null) {
          abilityInfo_ = null;
          onChanged();
        } else {
          abilityInfo_ = null;
          abilityInfoBuilder_ = null;
        }

        return this;
      }
      /**
       * <code>.AbilitySyncStateInfo ability_info = 7;</code>
       */
      public emu.grasscutter.net.proto.AbilitySyncStateInfoOuterClass.AbilitySyncStateInfo.Builder getAbilityInfoBuilder() {
        
        onChanged();
        return getAbilityInfoFieldBuilder().getBuilder();
      }
      /**
       * <code>.AbilitySyncStateInfo ability_info = 7;</code>
       */
      public emu.grasscutter.net.proto.AbilitySyncStateInfoOuterClass.AbilitySyncStateInfoOrBuilder getAbilityInfoOrBuilder() {
        if (abilityInfoBuilder_ != null) {
          return abilityInfoBuilder_.getMessageOrBuilder();
        } else {
          return abilityInfo_ == null ?
              emu.grasscutter.net.proto.AbilitySyncStateInfoOuterClass.AbilitySyncStateInfo.getDefaultInstance() : abilityInfo_;
        }
      }
      /**
       * <code>.AbilitySyncStateInfo ability_info = 7;</code>
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          emu.grasscutter.net.proto.AbilitySyncStateInfoOuterClass.AbilitySyncStateInfo, emu.grasscutter.net.proto.AbilitySyncStateInfoOuterClass.AbilitySyncStateInfo.Builder, emu.grasscutter.net.proto.AbilitySyncStateInfoOuterClass.AbilitySyncStateInfoOrBuilder> 
          getAbilityInfoFieldBuilder() {
        if (abilityInfoBuilder_ == null) {
          abilityInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              emu.grasscutter.net.proto.AbilitySyncStateInfoOuterClass.AbilitySyncStateInfo, emu.grasscutter.net.proto.AbilitySyncStateInfoOuterClass.AbilitySyncStateInfo.Builder, emu.grasscutter.net.proto.AbilitySyncStateInfoOuterClass.AbilitySyncStateInfoOrBuilder>(
                  getAbilityInfo(),
                  getParentForChildren(),
                  isClean());
          abilityInfo_ = null;
        }
        return abilityInfoBuilder_;
      }

      private com.google.protobuf.MapField<
          java.lang.Integer, java.lang.Integer> affixMap_;
      private com.google.protobuf.MapField<java.lang.Integer, java.lang.Integer>
      internalGetAffixMap() {
        if (affixMap_ == null) {
          return com.google.protobuf.MapField.emptyMapField(
              AffixMapDefaultEntryHolder.defaultEntry);
        }
        return affixMap_;
      }
      private com.google.protobuf.MapField<java.lang.Integer, java.lang.Integer>
      internalGetMutableAffixMap() {
        onChanged();;
        if (affixMap_ == null) {
          affixMap_ = com.google.protobuf.MapField.newMapField(
              AffixMapDefaultEntryHolder.defaultEntry);
        }
        if (!affixMap_.isMutable()) {
          affixMap_ = affixMap_.copy();
        }
        return affixMap_;
      }

      public int getAffixMapCount() {
        return internalGetAffixMap().getMap().size();
      }
      /**
       * <code>map&lt;uint32, uint32&gt; affix_map = 8;</code>
       */

      @java.lang.Override
      public boolean containsAffixMap(
          int key) {
        
        return internalGetAffixMap().getMap().containsKey(key);
      }
      /**
       * Use {@link #getAffixMapMap()} instead.
       */
      @java.lang.Override
      @java.lang.Deprecated
      public java.util.Map<java.lang.Integer, java.lang.Integer> getAffixMap() {
        return getAffixMapMap();
      }
      /**
       * <code>map&lt;uint32, uint32&gt; affix_map = 8;</code>
       */
      @java.lang.Override

      public java.util.Map<java.lang.Integer, java.lang.Integer> getAffixMapMap() {
        return internalGetAffixMap().getMap();
      }
      /**
       * <code>map&lt;uint32, uint32&gt; affix_map = 8;</code>
       */
      @java.lang.Override

      public int getAffixMapOrDefault(
          int key,
          int defaultValue) {
        
        java.util.Map<java.lang.Integer, java.lang.Integer> map =
            internalGetAffixMap().getMap();
        return map.containsKey(key) ? map.get(key) : defaultValue;
      }
      /**
       * <code>map&lt;uint32, uint32&gt; affix_map = 8;</code>
       */
      @java.lang.Override

      public int getAffixMapOrThrow(
          int key) {
        
        java.util.Map<java.lang.Integer, java.lang.Integer> map =
            internalGetAffixMap().getMap();
        if (!map.containsKey(key)) {
          throw new java.lang.IllegalArgumentException();
        }
        return map.get(key);
      }

      public Builder clearAffixMap() {
        internalGetMutableAffixMap().getMutableMap()
            .clear();
        return this;
      }
      /**
       * <code>map&lt;uint32, uint32&gt; affix_map = 8;</code>
       */

      public Builder removeAffixMap(
          int key) {
        
        internalGetMutableAffixMap().getMutableMap()
            .remove(key);
        return this;
      }
      /**
       * Use alternate mutation accessors instead.
       */
      @java.lang.Deprecated
      public java.util.Map<java.lang.Integer, java.lang.Integer>
      getMutableAffixMap() {
        return internalGetMutableAffixMap().getMutableMap();
      }
      /**
       * <code>map&lt;uint32, uint32&gt; affix_map = 8;</code>
       */
      public Builder putAffixMap(
          int key,
          int value) {
        
        
        internalGetMutableAffixMap().getMutableMap()
            .put(key, value);
        return this;
      }
      /**
       * <code>map&lt;uint32, uint32&gt; affix_map = 8;</code>
       */

      public Builder putAllAffixMap(
          java.util.Map<java.lang.Integer, java.lang.Integer> values) {
        internalGetMutableAffixMap().getMutableMap()
            .putAll(values);
        return this;
      }

      private emu.grasscutter.net.proto.EntityRendererChangedInfoOuterClass.EntityRendererChangedInfo rendererChangedInfo_;
      private com.google.protobuf.SingleFieldBuilderV3<
          emu.grasscutter.net.proto.EntityRendererChangedInfoOuterClass.EntityRendererChangedInfo, emu.grasscutter.net.proto.EntityRendererChangedInfoOuterClass.EntityRendererChangedInfo.Builder, emu.grasscutter.net.proto.EntityRendererChangedInfoOuterClass.EntityRendererChangedInfoOrBuilder> rendererChangedInfoBuilder_;
      /**
       * <code>.EntityRendererChangedInfo renderer_changed_info = 9;</code>
       * @return Whether the rendererChangedInfo field is set.
       */
      public boolean hasRendererChangedInfo() {
        return rendererChangedInfoBuilder_ != null || rendererChangedInfo_ != null;
      }
      /**
       * <code>.EntityRendererChangedInfo renderer_changed_info = 9;</code>
       * @return The rendererChangedInfo.
       */
      public emu.grasscutter.net.proto.EntityRendererChangedInfoOuterClass.EntityRendererChangedInfo getRendererChangedInfo() {
        if (rendererChangedInfoBuilder_ == null) {
          return rendererChangedInfo_ == null ? emu.grasscutter.net.proto.EntityRendererChangedInfoOuterClass.EntityRendererChangedInfo.getDefaultInstance() : rendererChangedInfo_;
        } else {
          return rendererChangedInfoBuilder_.getMessage();
        }
      }
      /**
       * <code>.EntityRendererChangedInfo renderer_changed_info = 9;</code>
       */
      public Builder setRendererChangedInfo(emu.grasscutter.net.proto.EntityRendererChangedInfoOuterClass.EntityRendererChangedInfo value) {
        if (rendererChangedInfoBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          rendererChangedInfo_ = value;
          onChanged();
        } else {
          rendererChangedInfoBuilder_.setMessage(value);
        }

        return this;
      }
      /**
       * <code>.EntityRendererChangedInfo renderer_changed_info = 9;</code>
       */
      public Builder setRendererChangedInfo(
          emu.grasscutter.net.proto.EntityRendererChangedInfoOuterClass.EntityRendererChangedInfo.Builder builderForValue) {
        if (rendererChangedInfoBuilder_ == null) {
          rendererChangedInfo_ = builderForValue.build();
          onChanged();
        } else {
          rendererChangedInfoBuilder_.setMessage(builderForValue.build());
        }

        return this;
      }
      /**
       * <code>.EntityRendererChangedInfo renderer_changed_info = 9;</code>
       */
      public Builder mergeRendererChangedInfo(emu.grasscutter.net.proto.EntityRendererChangedInfoOuterClass.EntityRendererChangedInfo value) {
        if (rendererChangedInfoBuilder_ == null) {
          if (rendererChangedInfo_ != null) {
            rendererChangedInfo_ =
              emu.grasscutter.net.proto.EntityRendererChangedInfoOuterClass.EntityRendererChangedInfo.newBuilder(rendererChangedInfo_).mergeFrom(value).buildPartial();
          } else {
            rendererChangedInfo_ = value;
          }
          onChanged();
        } else {
          rendererChangedInfoBuilder_.mergeFrom(value);
        }

        return this;
      }
      /**
       * <code>.EntityRendererChangedInfo renderer_changed_info = 9;</code>
       */
      public Builder clearRendererChangedInfo() {
        if (rendererChangedInfoBuilder_ == null) {
          rendererChangedInfo_ = null;
          onChanged();
        } else {
          rendererChangedInfo_ = null;
          rendererChangedInfoBuilder_ = null;
        }

        return this;
      }
      /**
       * <code>.EntityRendererChangedInfo renderer_changed_info = 9;</code>
       */
      public emu.grasscutter.net.proto.EntityRendererChangedInfoOuterClass.EntityRendererChangedInfo.Builder getRendererChangedInfoBuilder() {
        
        onChanged();
        return getRendererChangedInfoFieldBuilder().getBuilder();
      }
      /**
       * <code>.EntityRendererChangedInfo renderer_changed_info = 9;</code>
       */
      public emu.grasscutter.net.proto.EntityRendererChangedInfoOuterClass.EntityRendererChangedInfoOrBuilder getRendererChangedInfoOrBuilder() {
        if (rendererChangedInfoBuilder_ != null) {
          return rendererChangedInfoBuilder_.getMessageOrBuilder();
        } else {
          return rendererChangedInfo_ == null ?
              emu.grasscutter.net.proto.EntityRendererChangedInfoOuterClass.EntityRendererChangedInfo.getDefaultInstance() : rendererChangedInfo_;
        }
      }
      /**
       * <code>.EntityRendererChangedInfo renderer_changed_info = 9;</code>
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          emu.grasscutter.net.proto.EntityRendererChangedInfoOuterClass.EntityRendererChangedInfo, emu.grasscutter.net.proto.EntityRendererChangedInfoOuterClass.EntityRendererChangedInfo.Builder, emu.grasscutter.net.proto.EntityRendererChangedInfoOuterClass.EntityRendererChangedInfoOrBuilder> 
          getRendererChangedInfoFieldBuilder() {
        if (rendererChangedInfoBuilder_ == null) {
          rendererChangedInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              emu.grasscutter.net.proto.EntityRendererChangedInfoOuterClass.EntityRendererChangedInfo, emu.grasscutter.net.proto.EntityRendererChangedInfoOuterClass.EntityRendererChangedInfo.Builder, emu.grasscutter.net.proto.EntityRendererChangedInfoOuterClass.EntityRendererChangedInfoOrBuilder>(
                  getRendererChangedInfo(),
                  getParentForChildren(),
                  isClean());
          rendererChangedInfo_ = null;
        }
        return rendererChangedInfoBuilder_;
      }
      @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:SceneWeaponInfo)
    }

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

    public static emu.grasscutter.net.proto.SceneWeaponInfoOuterClass.SceneWeaponInfo getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

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

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

  }

  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_SceneWeaponInfo_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_SceneWeaponInfo_fieldAccessorTable;
  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_SceneWeaponInfo_AffixMapEntry_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_SceneWeaponInfo_AffixMapEntry_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\025SceneWeaponInfo.proto\032\032AbilitySyncStat" +
      "eInfo.proto\032\037EntityRendererChangedInfo.p" +
      "roto\"\310\002\n\017SceneWeaponInfo\022\021\n\tentity_id\030\001 " +
      "\001(\r\022\021\n\tgadget_id\030\002 \001(\r\022\017\n\007item_id\030\003 \001(\r\022" +
      "\014\n\004guid\030\004 \001(\004\022\r\n\005level\030\005 \001(\r\022\025\n\rpromote_" +
      "level\030\006 \001(\r\022+\n\014ability_info\030\007 \001(\0132\025.Abil" +
      "itySyncStateInfo\0221\n\taffix_map\030\010 \003(\0132\036.Sc" +
      "eneWeaponInfo.AffixMapEntry\0229\n\025renderer_" +
      "changed_info\030\t \001(\0132\032.EntityRendererChang" +
      "edInfo\032/\n\rAffixMapEntry\022\013\n\003key\030\001 \001(\r\022\r\n\005" +
      "value\030\002 \001(\r:\0028\001B\033\n\031emu.grasscutter.net.p" +
      "rotob\006proto3"
    };
    descriptor = com.google.protobuf.Descriptors.FileDescriptor
      .internalBuildGeneratedFileFrom(descriptorData,
        new com.google.protobuf.Descriptors.FileDescriptor[] {
          emu.grasscutter.net.proto.AbilitySyncStateInfoOuterClass.getDescriptor(),
          emu.grasscutter.net.proto.EntityRendererChangedInfoOuterClass.getDescriptor(),
        });
    internal_static_SceneWeaponInfo_descriptor =
      getDescriptor().getMessageTypes().get(0);
    internal_static_SceneWeaponInfo_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_SceneWeaponInfo_descriptor,
        new java.lang.String[] { "EntityId", "GadgetId", "ItemId", "Guid", "Level", "PromoteLevel", "AbilityInfo", "AffixMap", "RendererChangedInfo", });
    internal_static_SceneWeaponInfo_AffixMapEntry_descriptor =
      internal_static_SceneWeaponInfo_descriptor.getNestedTypes().get(0);
    internal_static_SceneWeaponInfo_AffixMapEntry_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_SceneWeaponInfo_AffixMapEntry_descriptor,
        new java.lang.String[] { "Key", "Value", });
    emu.grasscutter.net.proto.AbilitySyncStateInfoOuterClass.getDescriptor();
    emu.grasscutter.net.proto.EntityRendererChangedInfoOuterClass.getDescriptor();
  }

  // @@protoc_insertion_point(outer_class_scope)
}
