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

package emu.grasscutter.net.proto;

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

    /**
     * <code>repeated .ServerBuff server_buff_list = 14;</code>
     */
    java.util.List<emu.grasscutter.net.proto.ServerBuffOuterClass.ServerBuff> 
        getServerBuffListList();
    /**
     * <code>repeated .ServerBuff server_buff_list = 14;</code>
     */
    emu.grasscutter.net.proto.ServerBuffOuterClass.ServerBuff getServerBuffList(int index);
    /**
     * <code>repeated .ServerBuff server_buff_list = 14;</code>
     */
    int getServerBuffListCount();
    /**
     * <code>repeated .ServerBuff server_buff_list = 14;</code>
     */
    java.util.List<? extends emu.grasscutter.net.proto.ServerBuffOuterClass.ServerBuffOrBuilder> 
        getServerBuffListOrBuilderList();
    /**
     * <code>repeated .ServerBuff server_buff_list = 14;</code>
     */
    emu.grasscutter.net.proto.ServerBuffOuterClass.ServerBuffOrBuilder getServerBuffListOrBuilder(
        int index);

    /**
     * <code>uint32 avatar_entity_id = 7;</code>
     * @return The avatarEntityId.
     */
    int getAvatarEntityId();

    /**
     * <code>.AbilitySyncStateInfo weapon_ability_info = 12;</code>
     * @return Whether the weaponAbilityInfo field is set.
     */
    boolean hasWeaponAbilityInfo();
    /**
     * <code>.AbilitySyncStateInfo weapon_ability_info = 12;</code>
     * @return The weaponAbilityInfo.
     */
    emu.grasscutter.net.proto.AbilitySyncStateInfoOuterClass.AbilitySyncStateInfo getWeaponAbilityInfo();
    /**
     * <code>.AbilitySyncStateInfo weapon_ability_info = 12;</code>
     */
    emu.grasscutter.net.proto.AbilitySyncStateInfoOuterClass.AbilitySyncStateInfoOrBuilder getWeaponAbilityInfoOrBuilder();

    /**
     * <code>uint32 weapon_entity_id = 10;</code>
     * @return The weaponEntityId.
     */
    int getWeaponEntityId();

    /**
     * <code>.AbilitySyncStateInfo avatar_ability_info = 2;</code>
     * @return Whether the avatarAbilityInfo field is set.
     */
    boolean hasAvatarAbilityInfo();
    /**
     * <code>.AbilitySyncStateInfo avatar_ability_info = 2;</code>
     * @return The avatarAbilityInfo.
     */
    emu.grasscutter.net.proto.AbilitySyncStateInfoOuterClass.AbilitySyncStateInfo getAvatarAbilityInfo();
    /**
     * <code>.AbilitySyncStateInfo avatar_ability_info = 2;</code>
     */
    emu.grasscutter.net.proto.AbilitySyncStateInfoOuterClass.AbilitySyncStateInfoOrBuilder getAvatarAbilityInfoOrBuilder();

    /**
     * <code>uint64 avatar_guid = 13;</code>
     * @return The avatarGuid.
     */
    long getAvatarGuid();

    /**
     * <code>uint64 weapon_guid = 9;</code>
     * @return The weaponGuid.
     */
    long getWeaponGuid();

    /**
     * <code>repeated uint32 buff_id_list = 5;</code>
     * @return A list containing the buffIdList.
     */
    java.util.List<java.lang.Integer> getBuffIdListList();
    /**
     * <code>repeated uint32 buff_id_list = 5;</code>
     * @return The count of buffIdList.
     */
    int getBuffIdListCount();
    /**
     * <code>repeated uint32 buff_id_list = 5;</code>
     * @param index The index of the element to return.
     * @return The buffIdList at the given index.
     */
    int getBuffIdList(int index);
  }
  /**
   * Protobuf type {@code AvatarEnterSceneInfo}
   */
  public static final class AvatarEnterSceneInfo extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:AvatarEnterSceneInfo)
      AvatarEnterSceneInfoOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use AvatarEnterSceneInfo.newBuilder() to construct.
    private AvatarEnterSceneInfo(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private AvatarEnterSceneInfo() {
      serverBuffList_ = java.util.Collections.emptyList();
      buffIdList_ = emptyIntList();
    }

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

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private AvatarEnterSceneInfo(
        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 18: {
              emu.grasscutter.net.proto.AbilitySyncStateInfoOuterClass.AbilitySyncStateInfo.Builder subBuilder = null;
              if (avatarAbilityInfo_ != null) {
                subBuilder = avatarAbilityInfo_.toBuilder();
              }
              avatarAbilityInfo_ = input.readMessage(emu.grasscutter.net.proto.AbilitySyncStateInfoOuterClass.AbilitySyncStateInfo.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(avatarAbilityInfo_);
                avatarAbilityInfo_ = subBuilder.buildPartial();
              }

              break;
            }
            case 40: {
              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
                buffIdList_ = newIntList();
                mutable_bitField0_ |= 0x00000002;
              }
              buffIdList_.addInt(input.readUInt32());
              break;
            }
            case 42: {
              int length = input.readRawVarint32();
              int limit = input.pushLimit(length);
              if (!((mutable_bitField0_ & 0x00000002) != 0) && input.getBytesUntilLimit() > 0) {
                buffIdList_ = newIntList();
                mutable_bitField0_ |= 0x00000002;
              }
              while (input.getBytesUntilLimit() > 0) {
                buffIdList_.addInt(input.readUInt32());
              }
              input.popLimit(limit);
              break;
            }
            case 56: {

              avatarEntityId_ = input.readUInt32();
              break;
            }
            case 72: {

              weaponGuid_ = input.readUInt64();
              break;
            }
            case 80: {

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

              break;
            }
            case 104: {

              avatarGuid_ = input.readUInt64();
              break;
            }
            case 114: {
              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
                serverBuffList_ = new java.util.ArrayList<emu.grasscutter.net.proto.ServerBuffOuterClass.ServerBuff>();
                mutable_bitField0_ |= 0x00000001;
              }
              serverBuffList_.add(
                  input.readMessage(emu.grasscutter.net.proto.ServerBuffOuterClass.ServerBuff.parser(), extensionRegistry));
              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_ & 0x00000002) != 0)) {
          buffIdList_.makeImmutable(); // C
        }
        if (((mutable_bitField0_ & 0x00000001) != 0)) {
          serverBuffList_ = java.util.Collections.unmodifiableList(serverBuffList_);
        }
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return emu.grasscutter.net.proto.AvatarEnterSceneInfoOuterClass.internal_static_AvatarEnterSceneInfo_descriptor;
    }

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

    public static final int SERVER_BUFF_LIST_FIELD_NUMBER = 14;
    private java.util.List<emu.grasscutter.net.proto.ServerBuffOuterClass.ServerBuff> serverBuffList_;
    /**
     * <code>repeated .ServerBuff server_buff_list = 14;</code>
     */
    @java.lang.Override
    public java.util.List<emu.grasscutter.net.proto.ServerBuffOuterClass.ServerBuff> getServerBuffListList() {
      return serverBuffList_;
    }
    /**
     * <code>repeated .ServerBuff server_buff_list = 14;</code>
     */
    @java.lang.Override
    public java.util.List<? extends emu.grasscutter.net.proto.ServerBuffOuterClass.ServerBuffOrBuilder> 
        getServerBuffListOrBuilderList() {
      return serverBuffList_;
    }
    /**
     * <code>repeated .ServerBuff server_buff_list = 14;</code>
     */
    @java.lang.Override
    public int getServerBuffListCount() {
      return serverBuffList_.size();
    }
    /**
     * <code>repeated .ServerBuff server_buff_list = 14;</code>
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.ServerBuffOuterClass.ServerBuff getServerBuffList(int index) {
      return serverBuffList_.get(index);
    }
    /**
     * <code>repeated .ServerBuff server_buff_list = 14;</code>
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.ServerBuffOuterClass.ServerBuffOrBuilder getServerBuffListOrBuilder(
        int index) {
      return serverBuffList_.get(index);
    }

    public static final int AVATAR_ENTITY_ID_FIELD_NUMBER = 7;
    private int avatarEntityId_;
    /**
     * <code>uint32 avatar_entity_id = 7;</code>
     * @return The avatarEntityId.
     */
    @java.lang.Override
    public int getAvatarEntityId() {
      return avatarEntityId_;
    }

    public static final int WEAPON_ABILITY_INFO_FIELD_NUMBER = 12;
    private emu.grasscutter.net.proto.AbilitySyncStateInfoOuterClass.AbilitySyncStateInfo weaponAbilityInfo_;
    /**
     * <code>.AbilitySyncStateInfo weapon_ability_info = 12;</code>
     * @return Whether the weaponAbilityInfo field is set.
     */
    @java.lang.Override
    public boolean hasWeaponAbilityInfo() {
      return weaponAbilityInfo_ != null;
    }
    /**
     * <code>.AbilitySyncStateInfo weapon_ability_info = 12;</code>
     * @return The weaponAbilityInfo.
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.AbilitySyncStateInfoOuterClass.AbilitySyncStateInfo getWeaponAbilityInfo() {
      return weaponAbilityInfo_ == null ? emu.grasscutter.net.proto.AbilitySyncStateInfoOuterClass.AbilitySyncStateInfo.getDefaultInstance() : weaponAbilityInfo_;
    }
    /**
     * <code>.AbilitySyncStateInfo weapon_ability_info = 12;</code>
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.AbilitySyncStateInfoOuterClass.AbilitySyncStateInfoOrBuilder getWeaponAbilityInfoOrBuilder() {
      return getWeaponAbilityInfo();
    }

    public static final int WEAPON_ENTITY_ID_FIELD_NUMBER = 10;
    private int weaponEntityId_;
    /**
     * <code>uint32 weapon_entity_id = 10;</code>
     * @return The weaponEntityId.
     */
    @java.lang.Override
    public int getWeaponEntityId() {
      return weaponEntityId_;
    }

    public static final int AVATAR_ABILITY_INFO_FIELD_NUMBER = 2;
    private emu.grasscutter.net.proto.AbilitySyncStateInfoOuterClass.AbilitySyncStateInfo avatarAbilityInfo_;
    /**
     * <code>.AbilitySyncStateInfo avatar_ability_info = 2;</code>
     * @return Whether the avatarAbilityInfo field is set.
     */
    @java.lang.Override
    public boolean hasAvatarAbilityInfo() {
      return avatarAbilityInfo_ != null;
    }
    /**
     * <code>.AbilitySyncStateInfo avatar_ability_info = 2;</code>
     * @return The avatarAbilityInfo.
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.AbilitySyncStateInfoOuterClass.AbilitySyncStateInfo getAvatarAbilityInfo() {
      return avatarAbilityInfo_ == null ? emu.grasscutter.net.proto.AbilitySyncStateInfoOuterClass.AbilitySyncStateInfo.getDefaultInstance() : avatarAbilityInfo_;
    }
    /**
     * <code>.AbilitySyncStateInfo avatar_ability_info = 2;</code>
     */
    @java.lang.Override
    public emu.grasscutter.net.proto.AbilitySyncStateInfoOuterClass.AbilitySyncStateInfoOrBuilder getAvatarAbilityInfoOrBuilder() {
      return getAvatarAbilityInfo();
    }

    public static final int AVATAR_GUID_FIELD_NUMBER = 13;
    private long avatarGuid_;
    /**
     * <code>uint64 avatar_guid = 13;</code>
     * @return The avatarGuid.
     */
    @java.lang.Override
    public long getAvatarGuid() {
      return avatarGuid_;
    }

    public static final int WEAPON_GUID_FIELD_NUMBER = 9;
    private long weaponGuid_;
    /**
     * <code>uint64 weapon_guid = 9;</code>
     * @return The weaponGuid.
     */
    @java.lang.Override
    public long getWeaponGuid() {
      return weaponGuid_;
    }

    public static final int BUFF_ID_LIST_FIELD_NUMBER = 5;
    private com.google.protobuf.Internal.IntList buffIdList_;
    /**
     * <code>repeated uint32 buff_id_list = 5;</code>
     * @return A list containing the buffIdList.
     */
    @java.lang.Override
    public java.util.List<java.lang.Integer>
        getBuffIdListList() {
      return buffIdList_;
    }
    /**
     * <code>repeated uint32 buff_id_list = 5;</code>
     * @return The count of buffIdList.
     */
    public int getBuffIdListCount() {
      return buffIdList_.size();
    }
    /**
     * <code>repeated uint32 buff_id_list = 5;</code>
     * @param index The index of the element to return.
     * @return The buffIdList at the given index.
     */
    public int getBuffIdList(int index) {
      return buffIdList_.getInt(index);
    }
    private int buffIdListMemoizedSerializedSize = -1;

    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 (avatarAbilityInfo_ != null) {
        output.writeMessage(2, getAvatarAbilityInfo());
      }
      if (getBuffIdListList().size() > 0) {
        output.writeUInt32NoTag(42);
        output.writeUInt32NoTag(buffIdListMemoizedSerializedSize);
      }
      for (int i = 0; i < buffIdList_.size(); i++) {
        output.writeUInt32NoTag(buffIdList_.getInt(i));
      }
      if (avatarEntityId_ != 0) {
        output.writeUInt32(7, avatarEntityId_);
      }
      if (weaponGuid_ != 0L) {
        output.writeUInt64(9, weaponGuid_);
      }
      if (weaponEntityId_ != 0) {
        output.writeUInt32(10, weaponEntityId_);
      }
      if (weaponAbilityInfo_ != null) {
        output.writeMessage(12, getWeaponAbilityInfo());
      }
      if (avatarGuid_ != 0L) {
        output.writeUInt64(13, avatarGuid_);
      }
      for (int i = 0; i < serverBuffList_.size(); i++) {
        output.writeMessage(14, serverBuffList_.get(i));
      }
      unknownFields.writeTo(output);
    }

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

      size = 0;
      if (avatarAbilityInfo_ != null) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(2, getAvatarAbilityInfo());
      }
      {
        int dataSize = 0;
        for (int i = 0; i < buffIdList_.size(); i++) {
          dataSize += com.google.protobuf.CodedOutputStream
            .computeUInt32SizeNoTag(buffIdList_.getInt(i));
        }
        size += dataSize;
        if (!getBuffIdListList().isEmpty()) {
          size += 1;
          size += com.google.protobuf.CodedOutputStream
              .computeInt32SizeNoTag(dataSize);
        }
        buffIdListMemoizedSerializedSize = dataSize;
      }
      if (avatarEntityId_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(7, avatarEntityId_);
      }
      if (weaponGuid_ != 0L) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt64Size(9, weaponGuid_);
      }
      if (weaponEntityId_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(10, weaponEntityId_);
      }
      if (weaponAbilityInfo_ != null) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(12, getWeaponAbilityInfo());
      }
      if (avatarGuid_ != 0L) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt64Size(13, avatarGuid_);
      }
      for (int i = 0; i < serverBuffList_.size(); i++) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(14, serverBuffList_.get(i));
      }
      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.AvatarEnterSceneInfoOuterClass.AvatarEnterSceneInfo)) {
        return super.equals(obj);
      }
      emu.grasscutter.net.proto.AvatarEnterSceneInfoOuterClass.AvatarEnterSceneInfo other = (emu.grasscutter.net.proto.AvatarEnterSceneInfoOuterClass.AvatarEnterSceneInfo) obj;

      if (!getServerBuffListList()
          .equals(other.getServerBuffListList())) return false;
      if (getAvatarEntityId()
          != other.getAvatarEntityId()) return false;
      if (hasWeaponAbilityInfo() != other.hasWeaponAbilityInfo()) return false;
      if (hasWeaponAbilityInfo()) {
        if (!getWeaponAbilityInfo()
            .equals(other.getWeaponAbilityInfo())) return false;
      }
      if (getWeaponEntityId()
          != other.getWeaponEntityId()) return false;
      if (hasAvatarAbilityInfo() != other.hasAvatarAbilityInfo()) return false;
      if (hasAvatarAbilityInfo()) {
        if (!getAvatarAbilityInfo()
            .equals(other.getAvatarAbilityInfo())) return false;
      }
      if (getAvatarGuid()
          != other.getAvatarGuid()) return false;
      if (getWeaponGuid()
          != other.getWeaponGuid()) return false;
      if (!getBuffIdListList()
          .equals(other.getBuffIdListList())) return false;
      if (!unknownFields.equals(other.unknownFields)) return false;
      return true;
    }

    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptor().hashCode();
      if (getServerBuffListCount() > 0) {
        hash = (37 * hash) + SERVER_BUFF_LIST_FIELD_NUMBER;
        hash = (53 * hash) + getServerBuffListList().hashCode();
      }
      hash = (37 * hash) + AVATAR_ENTITY_ID_FIELD_NUMBER;
      hash = (53 * hash) + getAvatarEntityId();
      if (hasWeaponAbilityInfo()) {
        hash = (37 * hash) + WEAPON_ABILITY_INFO_FIELD_NUMBER;
        hash = (53 * hash) + getWeaponAbilityInfo().hashCode();
      }
      hash = (37 * hash) + WEAPON_ENTITY_ID_FIELD_NUMBER;
      hash = (53 * hash) + getWeaponEntityId();
      if (hasAvatarAbilityInfo()) {
        hash = (37 * hash) + AVATAR_ABILITY_INFO_FIELD_NUMBER;
        hash = (53 * hash) + getAvatarAbilityInfo().hashCode();
      }
      hash = (37 * hash) + AVATAR_GUID_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
          getAvatarGuid());
      hash = (37 * hash) + WEAPON_GUID_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
          getWeaponGuid());
      if (getBuffIdListCount() > 0) {
        hash = (37 * hash) + BUFF_ID_LIST_FIELD_NUMBER;
        hash = (53 * hash) + getBuffIdListList().hashCode();
      }
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

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

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

      // Construct using emu.grasscutter.net.proto.AvatarEnterSceneInfoOuterClass.AvatarEnterSceneInfo.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
          getServerBuffListFieldBuilder();
        }
      }
      @java.lang.Override
      public Builder clear() {
        super.clear();
        if (serverBuffListBuilder_ == null) {
          serverBuffList_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000001);
        } else {
          serverBuffListBuilder_.clear();
        }
        avatarEntityId_ = 0;

        if (weaponAbilityInfoBuilder_ == null) {
          weaponAbilityInfo_ = null;
        } else {
          weaponAbilityInfo_ = null;
          weaponAbilityInfoBuilder_ = null;
        }
        weaponEntityId_ = 0;

        if (avatarAbilityInfoBuilder_ == null) {
          avatarAbilityInfo_ = null;
        } else {
          avatarAbilityInfo_ = null;
          avatarAbilityInfoBuilder_ = null;
        }
        avatarGuid_ = 0L;

        weaponGuid_ = 0L;

        buffIdList_ = emptyIntList();
        bitField0_ = (bitField0_ & ~0x00000002);
        return this;
      }

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

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

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

      @java.lang.Override
      public emu.grasscutter.net.proto.AvatarEnterSceneInfoOuterClass.AvatarEnterSceneInfo buildPartial() {
        emu.grasscutter.net.proto.AvatarEnterSceneInfoOuterClass.AvatarEnterSceneInfo result = new emu.grasscutter.net.proto.AvatarEnterSceneInfoOuterClass.AvatarEnterSceneInfo(this);
        int from_bitField0_ = bitField0_;
        if (serverBuffListBuilder_ == null) {
          if (((bitField0_ & 0x00000001) != 0)) {
            serverBuffList_ = java.util.Collections.unmodifiableList(serverBuffList_);
            bitField0_ = (bitField0_ & ~0x00000001);
          }
          result.serverBuffList_ = serverBuffList_;
        } else {
          result.serverBuffList_ = serverBuffListBuilder_.build();
        }
        result.avatarEntityId_ = avatarEntityId_;
        if (weaponAbilityInfoBuilder_ == null) {
          result.weaponAbilityInfo_ = weaponAbilityInfo_;
        } else {
          result.weaponAbilityInfo_ = weaponAbilityInfoBuilder_.build();
        }
        result.weaponEntityId_ = weaponEntityId_;
        if (avatarAbilityInfoBuilder_ == null) {
          result.avatarAbilityInfo_ = avatarAbilityInfo_;
        } else {
          result.avatarAbilityInfo_ = avatarAbilityInfoBuilder_.build();
        }
        result.avatarGuid_ = avatarGuid_;
        result.weaponGuid_ = weaponGuid_;
        if (((bitField0_ & 0x00000002) != 0)) {
          buffIdList_.makeImmutable();
          bitField0_ = (bitField0_ & ~0x00000002);
        }
        result.buffIdList_ = buffIdList_;
        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.AvatarEnterSceneInfoOuterClass.AvatarEnterSceneInfo) {
          return mergeFrom((emu.grasscutter.net.proto.AvatarEnterSceneInfoOuterClass.AvatarEnterSceneInfo)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(emu.grasscutter.net.proto.AvatarEnterSceneInfoOuterClass.AvatarEnterSceneInfo other) {
        if (other == emu.grasscutter.net.proto.AvatarEnterSceneInfoOuterClass.AvatarEnterSceneInfo.getDefaultInstance()) return this;
        if (serverBuffListBuilder_ == null) {
          if (!other.serverBuffList_.isEmpty()) {
            if (serverBuffList_.isEmpty()) {
              serverBuffList_ = other.serverBuffList_;
              bitField0_ = (bitField0_ & ~0x00000001);
            } else {
              ensureServerBuffListIsMutable();
              serverBuffList_.addAll(other.serverBuffList_);
            }
            onChanged();
          }
        } else {
          if (!other.serverBuffList_.isEmpty()) {
            if (serverBuffListBuilder_.isEmpty()) {
              serverBuffListBuilder_.dispose();
              serverBuffListBuilder_ = null;
              serverBuffList_ = other.serverBuffList_;
              bitField0_ = (bitField0_ & ~0x00000001);
              serverBuffListBuilder_ = 
                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                   getServerBuffListFieldBuilder() : null;
            } else {
              serverBuffListBuilder_.addAllMessages(other.serverBuffList_);
            }
          }
        }
        if (other.getAvatarEntityId() != 0) {
          setAvatarEntityId(other.getAvatarEntityId());
        }
        if (other.hasWeaponAbilityInfo()) {
          mergeWeaponAbilityInfo(other.getWeaponAbilityInfo());
        }
        if (other.getWeaponEntityId() != 0) {
          setWeaponEntityId(other.getWeaponEntityId());
        }
        if (other.hasAvatarAbilityInfo()) {
          mergeAvatarAbilityInfo(other.getAvatarAbilityInfo());
        }
        if (other.getAvatarGuid() != 0L) {
          setAvatarGuid(other.getAvatarGuid());
        }
        if (other.getWeaponGuid() != 0L) {
          setWeaponGuid(other.getWeaponGuid());
        }
        if (!other.buffIdList_.isEmpty()) {
          if (buffIdList_.isEmpty()) {
            buffIdList_ = other.buffIdList_;
            bitField0_ = (bitField0_ & ~0x00000002);
          } else {
            ensureBuffIdListIsMutable();
            buffIdList_.addAll(other.buffIdList_);
          }
          onChanged();
        }
        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.AvatarEnterSceneInfoOuterClass.AvatarEnterSceneInfo parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (emu.grasscutter.net.proto.AvatarEnterSceneInfoOuterClass.AvatarEnterSceneInfo) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int bitField0_;

      private java.util.List<emu.grasscutter.net.proto.ServerBuffOuterClass.ServerBuff> serverBuffList_ =
        java.util.Collections.emptyList();
      private void ensureServerBuffListIsMutable() {
        if (!((bitField0_ & 0x00000001) != 0)) {
          serverBuffList_ = new java.util.ArrayList<emu.grasscutter.net.proto.ServerBuffOuterClass.ServerBuff>(serverBuffList_);
          bitField0_ |= 0x00000001;
         }
      }

      private com.google.protobuf.RepeatedFieldBuilderV3<
          emu.grasscutter.net.proto.ServerBuffOuterClass.ServerBuff, emu.grasscutter.net.proto.ServerBuffOuterClass.ServerBuff.Builder, emu.grasscutter.net.proto.ServerBuffOuterClass.ServerBuffOrBuilder> serverBuffListBuilder_;

      /**
       * <code>repeated .ServerBuff server_buff_list = 14;</code>
       */
      public java.util.List<emu.grasscutter.net.proto.ServerBuffOuterClass.ServerBuff> getServerBuffListList() {
        if (serverBuffListBuilder_ == null) {
          return java.util.Collections.unmodifiableList(serverBuffList_);
        } else {
          return serverBuffListBuilder_.getMessageList();
        }
      }
      /**
       * <code>repeated .ServerBuff server_buff_list = 14;</code>
       */
      public int getServerBuffListCount() {
        if (serverBuffListBuilder_ == null) {
          return serverBuffList_.size();
        } else {
          return serverBuffListBuilder_.getCount();
        }
      }
      /**
       * <code>repeated .ServerBuff server_buff_list = 14;</code>
       */
      public emu.grasscutter.net.proto.ServerBuffOuterClass.ServerBuff getServerBuffList(int index) {
        if (serverBuffListBuilder_ == null) {
          return serverBuffList_.get(index);
        } else {
          return serverBuffListBuilder_.getMessage(index);
        }
      }
      /**
       * <code>repeated .ServerBuff server_buff_list = 14;</code>
       */
      public Builder setServerBuffList(
          int index, emu.grasscutter.net.proto.ServerBuffOuterClass.ServerBuff value) {
        if (serverBuffListBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureServerBuffListIsMutable();
          serverBuffList_.set(index, value);
          onChanged();
        } else {
          serverBuffListBuilder_.setMessage(index, value);
        }
        return this;
      }
      /**
       * <code>repeated .ServerBuff server_buff_list = 14;</code>
       */
      public Builder setServerBuffList(
          int index, emu.grasscutter.net.proto.ServerBuffOuterClass.ServerBuff.Builder builderForValue) {
        if (serverBuffListBuilder_ == null) {
          ensureServerBuffListIsMutable();
          serverBuffList_.set(index, builderForValue.build());
          onChanged();
        } else {
          serverBuffListBuilder_.setMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .ServerBuff server_buff_list = 14;</code>
       */
      public Builder addServerBuffList(emu.grasscutter.net.proto.ServerBuffOuterClass.ServerBuff value) {
        if (serverBuffListBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureServerBuffListIsMutable();
          serverBuffList_.add(value);
          onChanged();
        } else {
          serverBuffListBuilder_.addMessage(value);
        }
        return this;
      }
      /**
       * <code>repeated .ServerBuff server_buff_list = 14;</code>
       */
      public Builder addServerBuffList(
          int index, emu.grasscutter.net.proto.ServerBuffOuterClass.ServerBuff value) {
        if (serverBuffListBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureServerBuffListIsMutable();
          serverBuffList_.add(index, value);
          onChanged();
        } else {
          serverBuffListBuilder_.addMessage(index, value);
        }
        return this;
      }
      /**
       * <code>repeated .ServerBuff server_buff_list = 14;</code>
       */
      public Builder addServerBuffList(
          emu.grasscutter.net.proto.ServerBuffOuterClass.ServerBuff.Builder builderForValue) {
        if (serverBuffListBuilder_ == null) {
          ensureServerBuffListIsMutable();
          serverBuffList_.add(builderForValue.build());
          onChanged();
        } else {
          serverBuffListBuilder_.addMessage(builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .ServerBuff server_buff_list = 14;</code>
       */
      public Builder addServerBuffList(
          int index, emu.grasscutter.net.proto.ServerBuffOuterClass.ServerBuff.Builder builderForValue) {
        if (serverBuffListBuilder_ == null) {
          ensureServerBuffListIsMutable();
          serverBuffList_.add(index, builderForValue.build());
          onChanged();
        } else {
          serverBuffListBuilder_.addMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .ServerBuff server_buff_list = 14;</code>
       */
      public Builder addAllServerBuffList(
          java.lang.Iterable<? extends emu.grasscutter.net.proto.ServerBuffOuterClass.ServerBuff> values) {
        if (serverBuffListBuilder_ == null) {
          ensureServerBuffListIsMutable();
          com.google.protobuf.AbstractMessageLite.Builder.addAll(
              values, serverBuffList_);
          onChanged();
        } else {
          serverBuffListBuilder_.addAllMessages(values);
        }
        return this;
      }
      /**
       * <code>repeated .ServerBuff server_buff_list = 14;</code>
       */
      public Builder clearServerBuffList() {
        if (serverBuffListBuilder_ == null) {
          serverBuffList_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000001);
          onChanged();
        } else {
          serverBuffListBuilder_.clear();
        }
        return this;
      }
      /**
       * <code>repeated .ServerBuff server_buff_list = 14;</code>
       */
      public Builder removeServerBuffList(int index) {
        if (serverBuffListBuilder_ == null) {
          ensureServerBuffListIsMutable();
          serverBuffList_.remove(index);
          onChanged();
        } else {
          serverBuffListBuilder_.remove(index);
        }
        return this;
      }
      /**
       * <code>repeated .ServerBuff server_buff_list = 14;</code>
       */
      public emu.grasscutter.net.proto.ServerBuffOuterClass.ServerBuff.Builder getServerBuffListBuilder(
          int index) {
        return getServerBuffListFieldBuilder().getBuilder(index);
      }
      /**
       * <code>repeated .ServerBuff server_buff_list = 14;</code>
       */
      public emu.grasscutter.net.proto.ServerBuffOuterClass.ServerBuffOrBuilder getServerBuffListOrBuilder(
          int index) {
        if (serverBuffListBuilder_ == null) {
          return serverBuffList_.get(index);  } else {
          return serverBuffListBuilder_.getMessageOrBuilder(index);
        }
      }
      /**
       * <code>repeated .ServerBuff server_buff_list = 14;</code>
       */
      public java.util.List<? extends emu.grasscutter.net.proto.ServerBuffOuterClass.ServerBuffOrBuilder> 
           getServerBuffListOrBuilderList() {
        if (serverBuffListBuilder_ != null) {
          return serverBuffListBuilder_.getMessageOrBuilderList();
        } else {
          return java.util.Collections.unmodifiableList(serverBuffList_);
        }
      }
      /**
       * <code>repeated .ServerBuff server_buff_list = 14;</code>
       */
      public emu.grasscutter.net.proto.ServerBuffOuterClass.ServerBuff.Builder addServerBuffListBuilder() {
        return getServerBuffListFieldBuilder().addBuilder(
            emu.grasscutter.net.proto.ServerBuffOuterClass.ServerBuff.getDefaultInstance());
      }
      /**
       * <code>repeated .ServerBuff server_buff_list = 14;</code>
       */
      public emu.grasscutter.net.proto.ServerBuffOuterClass.ServerBuff.Builder addServerBuffListBuilder(
          int index) {
        return getServerBuffListFieldBuilder().addBuilder(
            index, emu.grasscutter.net.proto.ServerBuffOuterClass.ServerBuff.getDefaultInstance());
      }
      /**
       * <code>repeated .ServerBuff server_buff_list = 14;</code>
       */
      public java.util.List<emu.grasscutter.net.proto.ServerBuffOuterClass.ServerBuff.Builder> 
           getServerBuffListBuilderList() {
        return getServerBuffListFieldBuilder().getBuilderList();
      }
      private com.google.protobuf.RepeatedFieldBuilderV3<
          emu.grasscutter.net.proto.ServerBuffOuterClass.ServerBuff, emu.grasscutter.net.proto.ServerBuffOuterClass.ServerBuff.Builder, emu.grasscutter.net.proto.ServerBuffOuterClass.ServerBuffOrBuilder> 
          getServerBuffListFieldBuilder() {
        if (serverBuffListBuilder_ == null) {
          serverBuffListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
              emu.grasscutter.net.proto.ServerBuffOuterClass.ServerBuff, emu.grasscutter.net.proto.ServerBuffOuterClass.ServerBuff.Builder, emu.grasscutter.net.proto.ServerBuffOuterClass.ServerBuffOrBuilder>(
                  serverBuffList_,
                  ((bitField0_ & 0x00000001) != 0),
                  getParentForChildren(),
                  isClean());
          serverBuffList_ = null;
        }
        return serverBuffListBuilder_;
      }

      private int avatarEntityId_ ;
      /**
       * <code>uint32 avatar_entity_id = 7;</code>
       * @return The avatarEntityId.
       */
      @java.lang.Override
      public int getAvatarEntityId() {
        return avatarEntityId_;
      }
      /**
       * <code>uint32 avatar_entity_id = 7;</code>
       * @param value The avatarEntityId to set.
       * @return This builder for chaining.
       */
      public Builder setAvatarEntityId(int value) {
        
        avatarEntityId_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>uint32 avatar_entity_id = 7;</code>
       * @return This builder for chaining.
       */
      public Builder clearAvatarEntityId() {
        
        avatarEntityId_ = 0;
        onChanged();
        return this;
      }

      private emu.grasscutter.net.proto.AbilitySyncStateInfoOuterClass.AbilitySyncStateInfo weaponAbilityInfo_;
      private com.google.protobuf.SingleFieldBuilderV3<
          emu.grasscutter.net.proto.AbilitySyncStateInfoOuterClass.AbilitySyncStateInfo, emu.grasscutter.net.proto.AbilitySyncStateInfoOuterClass.AbilitySyncStateInfo.Builder, emu.grasscutter.net.proto.AbilitySyncStateInfoOuterClass.AbilitySyncStateInfoOrBuilder> weaponAbilityInfoBuilder_;
      /**
       * <code>.AbilitySyncStateInfo weapon_ability_info = 12;</code>
       * @return Whether the weaponAbilityInfo field is set.
       */
      public boolean hasWeaponAbilityInfo() {
        return weaponAbilityInfoBuilder_ != null || weaponAbilityInfo_ != null;
      }
      /**
       * <code>.AbilitySyncStateInfo weapon_ability_info = 12;</code>
       * @return The weaponAbilityInfo.
       */
      public emu.grasscutter.net.proto.AbilitySyncStateInfoOuterClass.AbilitySyncStateInfo getWeaponAbilityInfo() {
        if (weaponAbilityInfoBuilder_ == null) {
          return weaponAbilityInfo_ == null ? emu.grasscutter.net.proto.AbilitySyncStateInfoOuterClass.AbilitySyncStateInfo.getDefaultInstance() : weaponAbilityInfo_;
        } else {
          return weaponAbilityInfoBuilder_.getMessage();
        }
      }
      /**
       * <code>.AbilitySyncStateInfo weapon_ability_info = 12;</code>
       */
      public Builder setWeaponAbilityInfo(emu.grasscutter.net.proto.AbilitySyncStateInfoOuterClass.AbilitySyncStateInfo value) {
        if (weaponAbilityInfoBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          weaponAbilityInfo_ = value;
          onChanged();
        } else {
          weaponAbilityInfoBuilder_.setMessage(value);
        }

        return this;
      }
      /**
       * <code>.AbilitySyncStateInfo weapon_ability_info = 12;</code>
       */
      public Builder setWeaponAbilityInfo(
          emu.grasscutter.net.proto.AbilitySyncStateInfoOuterClass.AbilitySyncStateInfo.Builder builderForValue) {
        if (weaponAbilityInfoBuilder_ == null) {
          weaponAbilityInfo_ = builderForValue.build();
          onChanged();
        } else {
          weaponAbilityInfoBuilder_.setMessage(builderForValue.build());
        }

        return this;
      }
      /**
       * <code>.AbilitySyncStateInfo weapon_ability_info = 12;</code>
       */
      public Builder mergeWeaponAbilityInfo(emu.grasscutter.net.proto.AbilitySyncStateInfoOuterClass.AbilitySyncStateInfo value) {
        if (weaponAbilityInfoBuilder_ == null) {
          if (weaponAbilityInfo_ != null) {
            weaponAbilityInfo_ =
              emu.grasscutter.net.proto.AbilitySyncStateInfoOuterClass.AbilitySyncStateInfo.newBuilder(weaponAbilityInfo_).mergeFrom(value).buildPartial();
          } else {
            weaponAbilityInfo_ = value;
          }
          onChanged();
        } else {
          weaponAbilityInfoBuilder_.mergeFrom(value);
        }

        return this;
      }
      /**
       * <code>.AbilitySyncStateInfo weapon_ability_info = 12;</code>
       */
      public Builder clearWeaponAbilityInfo() {
        if (weaponAbilityInfoBuilder_ == null) {
          weaponAbilityInfo_ = null;
          onChanged();
        } else {
          weaponAbilityInfo_ = null;
          weaponAbilityInfoBuilder_ = null;
        }

        return this;
      }
      /**
       * <code>.AbilitySyncStateInfo weapon_ability_info = 12;</code>
       */
      public emu.grasscutter.net.proto.AbilitySyncStateInfoOuterClass.AbilitySyncStateInfo.Builder getWeaponAbilityInfoBuilder() {
        
        onChanged();
        return getWeaponAbilityInfoFieldBuilder().getBuilder();
      }
      /**
       * <code>.AbilitySyncStateInfo weapon_ability_info = 12;</code>
       */
      public emu.grasscutter.net.proto.AbilitySyncStateInfoOuterClass.AbilitySyncStateInfoOrBuilder getWeaponAbilityInfoOrBuilder() {
        if (weaponAbilityInfoBuilder_ != null) {
          return weaponAbilityInfoBuilder_.getMessageOrBuilder();
        } else {
          return weaponAbilityInfo_ == null ?
              emu.grasscutter.net.proto.AbilitySyncStateInfoOuterClass.AbilitySyncStateInfo.getDefaultInstance() : weaponAbilityInfo_;
        }
      }
      /**
       * <code>.AbilitySyncStateInfo weapon_ability_info = 12;</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> 
          getWeaponAbilityInfoFieldBuilder() {
        if (weaponAbilityInfoBuilder_ == null) {
          weaponAbilityInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              emu.grasscutter.net.proto.AbilitySyncStateInfoOuterClass.AbilitySyncStateInfo, emu.grasscutter.net.proto.AbilitySyncStateInfoOuterClass.AbilitySyncStateInfo.Builder, emu.grasscutter.net.proto.AbilitySyncStateInfoOuterClass.AbilitySyncStateInfoOrBuilder>(
                  getWeaponAbilityInfo(),
                  getParentForChildren(),
                  isClean());
          weaponAbilityInfo_ = null;
        }
        return weaponAbilityInfoBuilder_;
      }

      private int weaponEntityId_ ;
      /**
       * <code>uint32 weapon_entity_id = 10;</code>
       * @return The weaponEntityId.
       */
      @java.lang.Override
      public int getWeaponEntityId() {
        return weaponEntityId_;
      }
      /**
       * <code>uint32 weapon_entity_id = 10;</code>
       * @param value The weaponEntityId to set.
       * @return This builder for chaining.
       */
      public Builder setWeaponEntityId(int value) {
        
        weaponEntityId_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>uint32 weapon_entity_id = 10;</code>
       * @return This builder for chaining.
       */
      public Builder clearWeaponEntityId() {
        
        weaponEntityId_ = 0;
        onChanged();
        return this;
      }

      private emu.grasscutter.net.proto.AbilitySyncStateInfoOuterClass.AbilitySyncStateInfo avatarAbilityInfo_;
      private com.google.protobuf.SingleFieldBuilderV3<
          emu.grasscutter.net.proto.AbilitySyncStateInfoOuterClass.AbilitySyncStateInfo, emu.grasscutter.net.proto.AbilitySyncStateInfoOuterClass.AbilitySyncStateInfo.Builder, emu.grasscutter.net.proto.AbilitySyncStateInfoOuterClass.AbilitySyncStateInfoOrBuilder> avatarAbilityInfoBuilder_;
      /**
       * <code>.AbilitySyncStateInfo avatar_ability_info = 2;</code>
       * @return Whether the avatarAbilityInfo field is set.
       */
      public boolean hasAvatarAbilityInfo() {
        return avatarAbilityInfoBuilder_ != null || avatarAbilityInfo_ != null;
      }
      /**
       * <code>.AbilitySyncStateInfo avatar_ability_info = 2;</code>
       * @return The avatarAbilityInfo.
       */
      public emu.grasscutter.net.proto.AbilitySyncStateInfoOuterClass.AbilitySyncStateInfo getAvatarAbilityInfo() {
        if (avatarAbilityInfoBuilder_ == null) {
          return avatarAbilityInfo_ == null ? emu.grasscutter.net.proto.AbilitySyncStateInfoOuterClass.AbilitySyncStateInfo.getDefaultInstance() : avatarAbilityInfo_;
        } else {
          return avatarAbilityInfoBuilder_.getMessage();
        }
      }
      /**
       * <code>.AbilitySyncStateInfo avatar_ability_info = 2;</code>
       */
      public Builder setAvatarAbilityInfo(emu.grasscutter.net.proto.AbilitySyncStateInfoOuterClass.AbilitySyncStateInfo value) {
        if (avatarAbilityInfoBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          avatarAbilityInfo_ = value;
          onChanged();
        } else {
          avatarAbilityInfoBuilder_.setMessage(value);
        }

        return this;
      }
      /**
       * <code>.AbilitySyncStateInfo avatar_ability_info = 2;</code>
       */
      public Builder setAvatarAbilityInfo(
          emu.grasscutter.net.proto.AbilitySyncStateInfoOuterClass.AbilitySyncStateInfo.Builder builderForValue) {
        if (avatarAbilityInfoBuilder_ == null) {
          avatarAbilityInfo_ = builderForValue.build();
          onChanged();
        } else {
          avatarAbilityInfoBuilder_.setMessage(builderForValue.build());
        }

        return this;
      }
      /**
       * <code>.AbilitySyncStateInfo avatar_ability_info = 2;</code>
       */
      public Builder mergeAvatarAbilityInfo(emu.grasscutter.net.proto.AbilitySyncStateInfoOuterClass.AbilitySyncStateInfo value) {
        if (avatarAbilityInfoBuilder_ == null) {
          if (avatarAbilityInfo_ != null) {
            avatarAbilityInfo_ =
              emu.grasscutter.net.proto.AbilitySyncStateInfoOuterClass.AbilitySyncStateInfo.newBuilder(avatarAbilityInfo_).mergeFrom(value).buildPartial();
          } else {
            avatarAbilityInfo_ = value;
          }
          onChanged();
        } else {
          avatarAbilityInfoBuilder_.mergeFrom(value);
        }

        return this;
      }
      /**
       * <code>.AbilitySyncStateInfo avatar_ability_info = 2;</code>
       */
      public Builder clearAvatarAbilityInfo() {
        if (avatarAbilityInfoBuilder_ == null) {
          avatarAbilityInfo_ = null;
          onChanged();
        } else {
          avatarAbilityInfo_ = null;
          avatarAbilityInfoBuilder_ = null;
        }

        return this;
      }
      /**
       * <code>.AbilitySyncStateInfo avatar_ability_info = 2;</code>
       */
      public emu.grasscutter.net.proto.AbilitySyncStateInfoOuterClass.AbilitySyncStateInfo.Builder getAvatarAbilityInfoBuilder() {
        
        onChanged();
        return getAvatarAbilityInfoFieldBuilder().getBuilder();
      }
      /**
       * <code>.AbilitySyncStateInfo avatar_ability_info = 2;</code>
       */
      public emu.grasscutter.net.proto.AbilitySyncStateInfoOuterClass.AbilitySyncStateInfoOrBuilder getAvatarAbilityInfoOrBuilder() {
        if (avatarAbilityInfoBuilder_ != null) {
          return avatarAbilityInfoBuilder_.getMessageOrBuilder();
        } else {
          return avatarAbilityInfo_ == null ?
              emu.grasscutter.net.proto.AbilitySyncStateInfoOuterClass.AbilitySyncStateInfo.getDefaultInstance() : avatarAbilityInfo_;
        }
      }
      /**
       * <code>.AbilitySyncStateInfo avatar_ability_info = 2;</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> 
          getAvatarAbilityInfoFieldBuilder() {
        if (avatarAbilityInfoBuilder_ == null) {
          avatarAbilityInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              emu.grasscutter.net.proto.AbilitySyncStateInfoOuterClass.AbilitySyncStateInfo, emu.grasscutter.net.proto.AbilitySyncStateInfoOuterClass.AbilitySyncStateInfo.Builder, emu.grasscutter.net.proto.AbilitySyncStateInfoOuterClass.AbilitySyncStateInfoOrBuilder>(
                  getAvatarAbilityInfo(),
                  getParentForChildren(),
                  isClean());
          avatarAbilityInfo_ = null;
        }
        return avatarAbilityInfoBuilder_;
      }

      private long avatarGuid_ ;
      /**
       * <code>uint64 avatar_guid = 13;</code>
       * @return The avatarGuid.
       */
      @java.lang.Override
      public long getAvatarGuid() {
        return avatarGuid_;
      }
      /**
       * <code>uint64 avatar_guid = 13;</code>
       * @param value The avatarGuid to set.
       * @return This builder for chaining.
       */
      public Builder setAvatarGuid(long value) {
        
        avatarGuid_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>uint64 avatar_guid = 13;</code>
       * @return This builder for chaining.
       */
      public Builder clearAvatarGuid() {
        
        avatarGuid_ = 0L;
        onChanged();
        return this;
      }

      private long weaponGuid_ ;
      /**
       * <code>uint64 weapon_guid = 9;</code>
       * @return The weaponGuid.
       */
      @java.lang.Override
      public long getWeaponGuid() {
        return weaponGuid_;
      }
      /**
       * <code>uint64 weapon_guid = 9;</code>
       * @param value The weaponGuid to set.
       * @return This builder for chaining.
       */
      public Builder setWeaponGuid(long value) {
        
        weaponGuid_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>uint64 weapon_guid = 9;</code>
       * @return This builder for chaining.
       */
      public Builder clearWeaponGuid() {
        
        weaponGuid_ = 0L;
        onChanged();
        return this;
      }

      private com.google.protobuf.Internal.IntList buffIdList_ = emptyIntList();
      private void ensureBuffIdListIsMutable() {
        if (!((bitField0_ & 0x00000002) != 0)) {
          buffIdList_ = mutableCopy(buffIdList_);
          bitField0_ |= 0x00000002;
         }
      }
      /**
       * <code>repeated uint32 buff_id_list = 5;</code>
       * @return A list containing the buffIdList.
       */
      public java.util.List<java.lang.Integer>
          getBuffIdListList() {
        return ((bitField0_ & 0x00000002) != 0) ?
                 java.util.Collections.unmodifiableList(buffIdList_) : buffIdList_;
      }
      /**
       * <code>repeated uint32 buff_id_list = 5;</code>
       * @return The count of buffIdList.
       */
      public int getBuffIdListCount() {
        return buffIdList_.size();
      }
      /**
       * <code>repeated uint32 buff_id_list = 5;</code>
       * @param index The index of the element to return.
       * @return The buffIdList at the given index.
       */
      public int getBuffIdList(int index) {
        return buffIdList_.getInt(index);
      }
      /**
       * <code>repeated uint32 buff_id_list = 5;</code>
       * @param index The index to set the value at.
       * @param value The buffIdList to set.
       * @return This builder for chaining.
       */
      public Builder setBuffIdList(
          int index, int value) {
        ensureBuffIdListIsMutable();
        buffIdList_.setInt(index, value);
        onChanged();
        return this;
      }
      /**
       * <code>repeated uint32 buff_id_list = 5;</code>
       * @param value The buffIdList to add.
       * @return This builder for chaining.
       */
      public Builder addBuffIdList(int value) {
        ensureBuffIdListIsMutable();
        buffIdList_.addInt(value);
        onChanged();
        return this;
      }
      /**
       * <code>repeated uint32 buff_id_list = 5;</code>
       * @param values The buffIdList to add.
       * @return This builder for chaining.
       */
      public Builder addAllBuffIdList(
          java.lang.Iterable<? extends java.lang.Integer> values) {
        ensureBuffIdListIsMutable();
        com.google.protobuf.AbstractMessageLite.Builder.addAll(
            values, buffIdList_);
        onChanged();
        return this;
      }
      /**
       * <code>repeated uint32 buff_id_list = 5;</code>
       * @return This builder for chaining.
       */
      public Builder clearBuffIdList() {
        buffIdList_ = emptyIntList();
        bitField0_ = (bitField0_ & ~0x00000002);
        onChanged();
        return this;
      }
      @java.lang.Override
      public final Builder setUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.setUnknownFields(unknownFields);
      }

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


      // @@protoc_insertion_point(builder_scope:AvatarEnterSceneInfo)
    }

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

    public static emu.grasscutter.net.proto.AvatarEnterSceneInfoOuterClass.AvatarEnterSceneInfo getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

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

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

  }

  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_AvatarEnterSceneInfo_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_AvatarEnterSceneInfo_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\032AvatarEnterSceneInfo.proto\032\032AbilitySyn" +
      "cStateInfo.proto\032\020ServerBuff.proto\"\231\002\n\024A" +
      "vatarEnterSceneInfo\022%\n\020server_buff_list\030" +
      "\016 \003(\0132\013.ServerBuff\022\030\n\020avatar_entity_id\030\007" +
      " \001(\r\0222\n\023weapon_ability_info\030\014 \001(\0132\025.Abil" +
      "itySyncStateInfo\022\030\n\020weapon_entity_id\030\n \001" +
      "(\r\0222\n\023avatar_ability_info\030\002 \001(\0132\025.Abilit" +
      "ySyncStateInfo\022\023\n\013avatar_guid\030\r \001(\004\022\023\n\013w" +
      "eapon_guid\030\t \001(\004\022\024\n\014buff_id_list\030\005 \003(\rB\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.AbilitySyncStateInfoOuterClass.getDescriptor(),
          emu.grasscutter.net.proto.ServerBuffOuterClass.getDescriptor(),
        });
    internal_static_AvatarEnterSceneInfo_descriptor =
      getDescriptor().getMessageTypes().get(0);
    internal_static_AvatarEnterSceneInfo_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_AvatarEnterSceneInfo_descriptor,
        new java.lang.String[] { "ServerBuffList", "AvatarEntityId", "WeaponAbilityInfo", "WeaponEntityId", "AvatarAbilityInfo", "AvatarGuid", "WeaponGuid", "BuffIdList", });
    emu.grasscutter.net.proto.AbilitySyncStateInfoOuterClass.getDescriptor();
    emu.grasscutter.net.proto.ServerBuffOuterClass.getDescriptor();
  }

  // @@protoc_insertion_point(outer_class_scope)
}
