All Downloads are FREE. Search and download functionalities are using the official Maven repository.

emu.grasscutter.net.proto.SceneTeamAvatarOuterClass Maven / Gradle / Ivy

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

package emu.grasscutter.net.proto;

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

    /**
     * uint32 weapon_entity_id = 8;
     * @return The weaponEntityId.
     */
    int getWeaponEntityId();

    /**
     * uint32 player_uid = 6;
     * @return The playerUid.
     */
    int getPlayerUid();

    /**
     * bool is_on_scene = 10;
     * @return The isOnScene.
     */
    boolean getIsOnScene();

    /**
     * uint64 weapon_guid = 1;
     * @return The weaponGuid.
     */
    long getWeaponGuid();

    /**
     * repeated .ServerBuff server_buff_list = 7;
     */
    java.util.List 
        getServerBuffListList();
    /**
     * repeated .ServerBuff server_buff_list = 7;
     */
    emu.grasscutter.net.proto.ServerBuffOuterClass.ServerBuff getServerBuffList(int index);
    /**
     * repeated .ServerBuff server_buff_list = 7;
     */
    int getServerBuffListCount();
    /**
     * repeated .ServerBuff server_buff_list = 7;
     */
    java.util.List 
        getServerBuffListOrBuilderList();
    /**
     * repeated .ServerBuff server_buff_list = 7;
     */
    emu.grasscutter.net.proto.ServerBuffOuterClass.ServerBuffOrBuilder getServerBuffListOrBuilder(
        int index);

    /**
     * bool is_reconnect = 11;
     * @return The isReconnect.
     */
    boolean getIsReconnect();

    /**
     * uint32 entity_id = 13;
     * @return The entityId.
     */
    int getEntityId();

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

    /**
     * .AbilityControlBlock ability_control_block = 9;
     * @return Whether the abilityControlBlock field is set.
     */
    boolean hasAbilityControlBlock();
    /**
     * .AbilityControlBlock ability_control_block = 9;
     * @return The abilityControlBlock.
     */
    emu.grasscutter.net.proto.AbilityControlBlockOuterClass.AbilityControlBlock getAbilityControlBlock();
    /**
     * .AbilityControlBlock ability_control_block = 9;
     */
    emu.grasscutter.net.proto.AbilityControlBlockOuterClass.AbilityControlBlockOrBuilder getAbilityControlBlockOrBuilder();

    /**
     * .AvatarInfo avatar_info = 5;
     * @return Whether the avatarInfo field is set.
     */
    boolean hasAvatarInfo();
    /**
     * .AvatarInfo avatar_info = 5;
     * @return The avatarInfo.
     */
    emu.grasscutter.net.proto.AvatarInfoOuterClass.AvatarInfo getAvatarInfo();
    /**
     * .AvatarInfo avatar_info = 5;
     */
    emu.grasscutter.net.proto.AvatarInfoOuterClass.AvatarInfoOrBuilder getAvatarInfoOrBuilder();

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

    /**
     * bool is_player_cur_avatar = 593;
     * @return The isPlayerCurAvatar.
     */
    boolean getIsPlayerCurAvatar();

    /**
     * .SceneAvatarInfo scene_avatar_info = 2;
     * @return Whether the sceneAvatarInfo field is set.
     */
    boolean hasSceneAvatarInfo();
    /**
     * .SceneAvatarInfo scene_avatar_info = 2;
     * @return The sceneAvatarInfo.
     */
    emu.grasscutter.net.proto.SceneAvatarInfoOuterClass.SceneAvatarInfo getSceneAvatarInfo();
    /**
     * .SceneAvatarInfo scene_avatar_info = 2;
     */
    emu.grasscutter.net.proto.SceneAvatarInfoOuterClass.SceneAvatarInfoOrBuilder getSceneAvatarInfoOrBuilder();

    /**
     * .SceneEntityInfo scene_entity_info = 12;
     * @return Whether the sceneEntityInfo field is set.
     */
    boolean hasSceneEntityInfo();
    /**
     * .SceneEntityInfo scene_entity_info = 12;
     * @return The sceneEntityInfo.
     */
    emu.grasscutter.net.proto.SceneEntityInfoOuterClass.SceneEntityInfo getSceneEntityInfo();
    /**
     * .SceneEntityInfo scene_entity_info = 12;
     */
    emu.grasscutter.net.proto.SceneEntityInfoOuterClass.SceneEntityInfoOrBuilder getSceneEntityInfoOrBuilder();

    /**
     * uint32 scene_id = 15;
     * @return The sceneId.
     */
    int getSceneId();

    /**
     * uint64 avatar_guid = 4;
     * @return The avatarGuid.
     */
    long getAvatarGuid();
  }
  /**
   * 
   * Name: PAMMJHFBDPG
   * 
* * Protobuf type {@code SceneTeamAvatar} */ public static final class SceneTeamAvatar extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:SceneTeamAvatar) SceneTeamAvatarOrBuilder { private static final long serialVersionUID = 0L; // Use SceneTeamAvatar.newBuilder() to construct. private SceneTeamAvatar(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private SceneTeamAvatar() { serverBuffList_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new SceneTeamAvatar(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private SceneTeamAvatar( 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: { weaponGuid_ = input.readUInt64(); break; } case 18: { emu.grasscutter.net.proto.SceneAvatarInfoOuterClass.SceneAvatarInfo.Builder subBuilder = null; if (sceneAvatarInfo_ != null) { subBuilder = sceneAvatarInfo_.toBuilder(); } sceneAvatarInfo_ = input.readMessage(emu.grasscutter.net.proto.SceneAvatarInfoOuterClass.SceneAvatarInfo.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(sceneAvatarInfo_); sceneAvatarInfo_ = subBuilder.buildPartial(); } break; } case 26: { 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 32: { avatarGuid_ = input.readUInt64(); break; } case 42: { emu.grasscutter.net.proto.AvatarInfoOuterClass.AvatarInfo.Builder subBuilder = null; if (avatarInfo_ != null) { subBuilder = avatarInfo_.toBuilder(); } avatarInfo_ = input.readMessage(emu.grasscutter.net.proto.AvatarInfoOuterClass.AvatarInfo.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(avatarInfo_); avatarInfo_ = subBuilder.buildPartial(); } break; } case 48: { playerUid_ = input.readUInt32(); break; } case 58: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { serverBuffList_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } serverBuffList_.add( input.readMessage(emu.grasscutter.net.proto.ServerBuffOuterClass.ServerBuff.parser(), extensionRegistry)); break; } case 64: { weaponEntityId_ = input.readUInt32(); break; } case 74: { emu.grasscutter.net.proto.AbilityControlBlockOuterClass.AbilityControlBlock.Builder subBuilder = null; if (abilityControlBlock_ != null) { subBuilder = abilityControlBlock_.toBuilder(); } abilityControlBlock_ = input.readMessage(emu.grasscutter.net.proto.AbilityControlBlockOuterClass.AbilityControlBlock.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(abilityControlBlock_); abilityControlBlock_ = subBuilder.buildPartial(); } break; } case 80: { isOnScene_ = input.readBool(); break; } case 88: { isReconnect_ = input.readBool(); break; } case 98: { emu.grasscutter.net.proto.SceneEntityInfoOuterClass.SceneEntityInfo.Builder subBuilder = null; if (sceneEntityInfo_ != null) { subBuilder = sceneEntityInfo_.toBuilder(); } sceneEntityInfo_ = input.readMessage(emu.grasscutter.net.proto.SceneEntityInfoOuterClass.SceneEntityInfo.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(sceneEntityInfo_); sceneEntityInfo_ = subBuilder.buildPartial(); } break; } case 104: { entityId_ = input.readUInt32(); break; } case 114: { 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 120: { sceneId_ = input.readUInt32(); break; } case 4744: { isPlayerCurAvatar_ = input.readBool(); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { 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.SceneTeamAvatarOuterClass.internal_static_SceneTeamAvatar_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return emu.grasscutter.net.proto.SceneTeamAvatarOuterClass.internal_static_SceneTeamAvatar_fieldAccessorTable .ensureFieldAccessorsInitialized( emu.grasscutter.net.proto.SceneTeamAvatarOuterClass.SceneTeamAvatar.class, emu.grasscutter.net.proto.SceneTeamAvatarOuterClass.SceneTeamAvatar.Builder.class); } public static final int WEAPON_ENTITY_ID_FIELD_NUMBER = 8; private int weaponEntityId_; /** * uint32 weapon_entity_id = 8; * @return The weaponEntityId. */ @java.lang.Override public int getWeaponEntityId() { return weaponEntityId_; } public static final int PLAYER_UID_FIELD_NUMBER = 6; private int playerUid_; /** * uint32 player_uid = 6; * @return The playerUid. */ @java.lang.Override public int getPlayerUid() { return playerUid_; } public static final int IS_ON_SCENE_FIELD_NUMBER = 10; private boolean isOnScene_; /** * bool is_on_scene = 10; * @return The isOnScene. */ @java.lang.Override public boolean getIsOnScene() { return isOnScene_; } public static final int WEAPON_GUID_FIELD_NUMBER = 1; private long weaponGuid_; /** * uint64 weapon_guid = 1; * @return The weaponGuid. */ @java.lang.Override public long getWeaponGuid() { return weaponGuid_; } public static final int SERVER_BUFF_LIST_FIELD_NUMBER = 7; private java.util.List serverBuffList_; /** * repeated .ServerBuff server_buff_list = 7; */ @java.lang.Override public java.util.List getServerBuffListList() { return serverBuffList_; } /** * repeated .ServerBuff server_buff_list = 7; */ @java.lang.Override public java.util.List getServerBuffListOrBuilderList() { return serverBuffList_; } /** * repeated .ServerBuff server_buff_list = 7; */ @java.lang.Override public int getServerBuffListCount() { return serverBuffList_.size(); } /** * repeated .ServerBuff server_buff_list = 7; */ @java.lang.Override public emu.grasscutter.net.proto.ServerBuffOuterClass.ServerBuff getServerBuffList(int index) { return serverBuffList_.get(index); } /** * repeated .ServerBuff server_buff_list = 7; */ @java.lang.Override public emu.grasscutter.net.proto.ServerBuffOuterClass.ServerBuffOrBuilder getServerBuffListOrBuilder( int index) { return serverBuffList_.get(index); } public static final int IS_RECONNECT_FIELD_NUMBER = 11; private boolean isReconnect_; /** * bool is_reconnect = 11; * @return The isReconnect. */ @java.lang.Override public boolean getIsReconnect() { return isReconnect_; } public static final int ENTITY_ID_FIELD_NUMBER = 13; private int entityId_; /** * uint32 entity_id = 13; * @return The entityId. */ @java.lang.Override public int getEntityId() { return entityId_; } public static final int WEAPON_ABILITY_INFO_FIELD_NUMBER = 3; private emu.grasscutter.net.proto.AbilitySyncStateInfoOuterClass.AbilitySyncStateInfo weaponAbilityInfo_; /** * .AbilitySyncStateInfo weapon_ability_info = 3; * @return Whether the weaponAbilityInfo field is set. */ @java.lang.Override public boolean hasWeaponAbilityInfo() { return weaponAbilityInfo_ != null; } /** * .AbilitySyncStateInfo weapon_ability_info = 3; * @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_; } /** * .AbilitySyncStateInfo weapon_ability_info = 3; */ @java.lang.Override public emu.grasscutter.net.proto.AbilitySyncStateInfoOuterClass.AbilitySyncStateInfoOrBuilder getWeaponAbilityInfoOrBuilder() { return getWeaponAbilityInfo(); } public static final int ABILITY_CONTROL_BLOCK_FIELD_NUMBER = 9; private emu.grasscutter.net.proto.AbilityControlBlockOuterClass.AbilityControlBlock abilityControlBlock_; /** * .AbilityControlBlock ability_control_block = 9; * @return Whether the abilityControlBlock field is set. */ @java.lang.Override public boolean hasAbilityControlBlock() { return abilityControlBlock_ != null; } /** * .AbilityControlBlock ability_control_block = 9; * @return The abilityControlBlock. */ @java.lang.Override public emu.grasscutter.net.proto.AbilityControlBlockOuterClass.AbilityControlBlock getAbilityControlBlock() { return abilityControlBlock_ == null ? emu.grasscutter.net.proto.AbilityControlBlockOuterClass.AbilityControlBlock.getDefaultInstance() : abilityControlBlock_; } /** * .AbilityControlBlock ability_control_block = 9; */ @java.lang.Override public emu.grasscutter.net.proto.AbilityControlBlockOuterClass.AbilityControlBlockOrBuilder getAbilityControlBlockOrBuilder() { return getAbilityControlBlock(); } public static final int AVATAR_INFO_FIELD_NUMBER = 5; private emu.grasscutter.net.proto.AvatarInfoOuterClass.AvatarInfo avatarInfo_; /** * .AvatarInfo avatar_info = 5; * @return Whether the avatarInfo field is set. */ @java.lang.Override public boolean hasAvatarInfo() { return avatarInfo_ != null; } /** * .AvatarInfo avatar_info = 5; * @return The avatarInfo. */ @java.lang.Override public emu.grasscutter.net.proto.AvatarInfoOuterClass.AvatarInfo getAvatarInfo() { return avatarInfo_ == null ? emu.grasscutter.net.proto.AvatarInfoOuterClass.AvatarInfo.getDefaultInstance() : avatarInfo_; } /** * .AvatarInfo avatar_info = 5; */ @java.lang.Override public emu.grasscutter.net.proto.AvatarInfoOuterClass.AvatarInfoOrBuilder getAvatarInfoOrBuilder() { return getAvatarInfo(); } public static final int AVATAR_ABILITY_INFO_FIELD_NUMBER = 14; private emu.grasscutter.net.proto.AbilitySyncStateInfoOuterClass.AbilitySyncStateInfo avatarAbilityInfo_; /** * .AbilitySyncStateInfo avatar_ability_info = 14; * @return Whether the avatarAbilityInfo field is set. */ @java.lang.Override public boolean hasAvatarAbilityInfo() { return avatarAbilityInfo_ != null; } /** * .AbilitySyncStateInfo avatar_ability_info = 14; * @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_; } /** * .AbilitySyncStateInfo avatar_ability_info = 14; */ @java.lang.Override public emu.grasscutter.net.proto.AbilitySyncStateInfoOuterClass.AbilitySyncStateInfoOrBuilder getAvatarAbilityInfoOrBuilder() { return getAvatarAbilityInfo(); } public static final int IS_PLAYER_CUR_AVATAR_FIELD_NUMBER = 593; private boolean isPlayerCurAvatar_; /** * bool is_player_cur_avatar = 593; * @return The isPlayerCurAvatar. */ @java.lang.Override public boolean getIsPlayerCurAvatar() { return isPlayerCurAvatar_; } public static final int SCENE_AVATAR_INFO_FIELD_NUMBER = 2; private emu.grasscutter.net.proto.SceneAvatarInfoOuterClass.SceneAvatarInfo sceneAvatarInfo_; /** * .SceneAvatarInfo scene_avatar_info = 2; * @return Whether the sceneAvatarInfo field is set. */ @java.lang.Override public boolean hasSceneAvatarInfo() { return sceneAvatarInfo_ != null; } /** * .SceneAvatarInfo scene_avatar_info = 2; * @return The sceneAvatarInfo. */ @java.lang.Override public emu.grasscutter.net.proto.SceneAvatarInfoOuterClass.SceneAvatarInfo getSceneAvatarInfo() { return sceneAvatarInfo_ == null ? emu.grasscutter.net.proto.SceneAvatarInfoOuterClass.SceneAvatarInfo.getDefaultInstance() : sceneAvatarInfo_; } /** * .SceneAvatarInfo scene_avatar_info = 2; */ @java.lang.Override public emu.grasscutter.net.proto.SceneAvatarInfoOuterClass.SceneAvatarInfoOrBuilder getSceneAvatarInfoOrBuilder() { return getSceneAvatarInfo(); } public static final int SCENE_ENTITY_INFO_FIELD_NUMBER = 12; private emu.grasscutter.net.proto.SceneEntityInfoOuterClass.SceneEntityInfo sceneEntityInfo_; /** * .SceneEntityInfo scene_entity_info = 12; * @return Whether the sceneEntityInfo field is set. */ @java.lang.Override public boolean hasSceneEntityInfo() { return sceneEntityInfo_ != null; } /** * .SceneEntityInfo scene_entity_info = 12; * @return The sceneEntityInfo. */ @java.lang.Override public emu.grasscutter.net.proto.SceneEntityInfoOuterClass.SceneEntityInfo getSceneEntityInfo() { return sceneEntityInfo_ == null ? emu.grasscutter.net.proto.SceneEntityInfoOuterClass.SceneEntityInfo.getDefaultInstance() : sceneEntityInfo_; } /** * .SceneEntityInfo scene_entity_info = 12; */ @java.lang.Override public emu.grasscutter.net.proto.SceneEntityInfoOuterClass.SceneEntityInfoOrBuilder getSceneEntityInfoOrBuilder() { return getSceneEntityInfo(); } public static final int SCENE_ID_FIELD_NUMBER = 15; private int sceneId_; /** * uint32 scene_id = 15; * @return The sceneId. */ @java.lang.Override public int getSceneId() { return sceneId_; } public static final int AVATAR_GUID_FIELD_NUMBER = 4; private long avatarGuid_; /** * uint64 avatar_guid = 4; * @return The avatarGuid. */ @java.lang.Override public long getAvatarGuid() { return avatarGuid_; } 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 (weaponGuid_ != 0L) { output.writeUInt64(1, weaponGuid_); } if (sceneAvatarInfo_ != null) { output.writeMessage(2, getSceneAvatarInfo()); } if (weaponAbilityInfo_ != null) { output.writeMessage(3, getWeaponAbilityInfo()); } if (avatarGuid_ != 0L) { output.writeUInt64(4, avatarGuid_); } if (avatarInfo_ != null) { output.writeMessage(5, getAvatarInfo()); } if (playerUid_ != 0) { output.writeUInt32(6, playerUid_); } for (int i = 0; i < serverBuffList_.size(); i++) { output.writeMessage(7, serverBuffList_.get(i)); } if (weaponEntityId_ != 0) { output.writeUInt32(8, weaponEntityId_); } if (abilityControlBlock_ != null) { output.writeMessage(9, getAbilityControlBlock()); } if (isOnScene_ != false) { output.writeBool(10, isOnScene_); } if (isReconnect_ != false) { output.writeBool(11, isReconnect_); } if (sceneEntityInfo_ != null) { output.writeMessage(12, getSceneEntityInfo()); } if (entityId_ != 0) { output.writeUInt32(13, entityId_); } if (avatarAbilityInfo_ != null) { output.writeMessage(14, getAvatarAbilityInfo()); } if (sceneId_ != 0) { output.writeUInt32(15, sceneId_); } if (isPlayerCurAvatar_ != false) { output.writeBool(593, isPlayerCurAvatar_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (weaponGuid_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(1, weaponGuid_); } if (sceneAvatarInfo_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getSceneAvatarInfo()); } if (weaponAbilityInfo_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, getWeaponAbilityInfo()); } if (avatarGuid_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(4, avatarGuid_); } if (avatarInfo_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(5, getAvatarInfo()); } if (playerUid_ != 0) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(6, playerUid_); } for (int i = 0; i < serverBuffList_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(7, serverBuffList_.get(i)); } if (weaponEntityId_ != 0) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(8, weaponEntityId_); } if (abilityControlBlock_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(9, getAbilityControlBlock()); } if (isOnScene_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(10, isOnScene_); } if (isReconnect_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(11, isReconnect_); } if (sceneEntityInfo_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(12, getSceneEntityInfo()); } if (entityId_ != 0) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(13, entityId_); } if (avatarAbilityInfo_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(14, getAvatarAbilityInfo()); } if (sceneId_ != 0) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(15, sceneId_); } if (isPlayerCurAvatar_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(593, isPlayerCurAvatar_); } 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.SceneTeamAvatarOuterClass.SceneTeamAvatar)) { return super.equals(obj); } emu.grasscutter.net.proto.SceneTeamAvatarOuterClass.SceneTeamAvatar other = (emu.grasscutter.net.proto.SceneTeamAvatarOuterClass.SceneTeamAvatar) obj; if (getWeaponEntityId() != other.getWeaponEntityId()) return false; if (getPlayerUid() != other.getPlayerUid()) return false; if (getIsOnScene() != other.getIsOnScene()) return false; if (getWeaponGuid() != other.getWeaponGuid()) return false; if (!getServerBuffListList() .equals(other.getServerBuffListList())) return false; if (getIsReconnect() != other.getIsReconnect()) return false; if (getEntityId() != other.getEntityId()) return false; if (hasWeaponAbilityInfo() != other.hasWeaponAbilityInfo()) return false; if (hasWeaponAbilityInfo()) { if (!getWeaponAbilityInfo() .equals(other.getWeaponAbilityInfo())) return false; } if (hasAbilityControlBlock() != other.hasAbilityControlBlock()) return false; if (hasAbilityControlBlock()) { if (!getAbilityControlBlock() .equals(other.getAbilityControlBlock())) return false; } if (hasAvatarInfo() != other.hasAvatarInfo()) return false; if (hasAvatarInfo()) { if (!getAvatarInfo() .equals(other.getAvatarInfo())) return false; } if (hasAvatarAbilityInfo() != other.hasAvatarAbilityInfo()) return false; if (hasAvatarAbilityInfo()) { if (!getAvatarAbilityInfo() .equals(other.getAvatarAbilityInfo())) return false; } if (getIsPlayerCurAvatar() != other.getIsPlayerCurAvatar()) return false; if (hasSceneAvatarInfo() != other.hasSceneAvatarInfo()) return false; if (hasSceneAvatarInfo()) { if (!getSceneAvatarInfo() .equals(other.getSceneAvatarInfo())) return false; } if (hasSceneEntityInfo() != other.hasSceneEntityInfo()) return false; if (hasSceneEntityInfo()) { if (!getSceneEntityInfo() .equals(other.getSceneEntityInfo())) return false; } if (getSceneId() != other.getSceneId()) return false; if (getAvatarGuid() != other.getAvatarGuid()) 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) + WEAPON_ENTITY_ID_FIELD_NUMBER; hash = (53 * hash) + getWeaponEntityId(); hash = (37 * hash) + PLAYER_UID_FIELD_NUMBER; hash = (53 * hash) + getPlayerUid(); hash = (37 * hash) + IS_ON_SCENE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getIsOnScene()); hash = (37 * hash) + WEAPON_GUID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getWeaponGuid()); if (getServerBuffListCount() > 0) { hash = (37 * hash) + SERVER_BUFF_LIST_FIELD_NUMBER; hash = (53 * hash) + getServerBuffListList().hashCode(); } hash = (37 * hash) + IS_RECONNECT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getIsReconnect()); hash = (37 * hash) + ENTITY_ID_FIELD_NUMBER; hash = (53 * hash) + getEntityId(); if (hasWeaponAbilityInfo()) { hash = (37 * hash) + WEAPON_ABILITY_INFO_FIELD_NUMBER; hash = (53 * hash) + getWeaponAbilityInfo().hashCode(); } if (hasAbilityControlBlock()) { hash = (37 * hash) + ABILITY_CONTROL_BLOCK_FIELD_NUMBER; hash = (53 * hash) + getAbilityControlBlock().hashCode(); } if (hasAvatarInfo()) { hash = (37 * hash) + AVATAR_INFO_FIELD_NUMBER; hash = (53 * hash) + getAvatarInfo().hashCode(); } if (hasAvatarAbilityInfo()) { hash = (37 * hash) + AVATAR_ABILITY_INFO_FIELD_NUMBER; hash = (53 * hash) + getAvatarAbilityInfo().hashCode(); } hash = (37 * hash) + IS_PLAYER_CUR_AVATAR_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getIsPlayerCurAvatar()); if (hasSceneAvatarInfo()) { hash = (37 * hash) + SCENE_AVATAR_INFO_FIELD_NUMBER; hash = (53 * hash) + getSceneAvatarInfo().hashCode(); } if (hasSceneEntityInfo()) { hash = (37 * hash) + SCENE_ENTITY_INFO_FIELD_NUMBER; hash = (53 * hash) + getSceneEntityInfo().hashCode(); } hash = (37 * hash) + SCENE_ID_FIELD_NUMBER; hash = (53 * hash) + getSceneId(); hash = (37 * hash) + AVATAR_GUID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getAvatarGuid()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static emu.grasscutter.net.proto.SceneTeamAvatarOuterClass.SceneTeamAvatar parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static emu.grasscutter.net.proto.SceneTeamAvatarOuterClass.SceneTeamAvatar 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.SceneTeamAvatarOuterClass.SceneTeamAvatar parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static emu.grasscutter.net.proto.SceneTeamAvatarOuterClass.SceneTeamAvatar 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.SceneTeamAvatarOuterClass.SceneTeamAvatar parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static emu.grasscutter.net.proto.SceneTeamAvatarOuterClass.SceneTeamAvatar parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static emu.grasscutter.net.proto.SceneTeamAvatarOuterClass.SceneTeamAvatar parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static emu.grasscutter.net.proto.SceneTeamAvatarOuterClass.SceneTeamAvatar 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.SceneTeamAvatarOuterClass.SceneTeamAvatar parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static emu.grasscutter.net.proto.SceneTeamAvatarOuterClass.SceneTeamAvatar 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.SceneTeamAvatarOuterClass.SceneTeamAvatar parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static emu.grasscutter.net.proto.SceneTeamAvatarOuterClass.SceneTeamAvatar 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.SceneTeamAvatarOuterClass.SceneTeamAvatar 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; } /** *
     * Name: PAMMJHFBDPG
     * 
* * Protobuf type {@code SceneTeamAvatar} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:SceneTeamAvatar) emu.grasscutter.net.proto.SceneTeamAvatarOuterClass.SceneTeamAvatarOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return emu.grasscutter.net.proto.SceneTeamAvatarOuterClass.internal_static_SceneTeamAvatar_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return emu.grasscutter.net.proto.SceneTeamAvatarOuterClass.internal_static_SceneTeamAvatar_fieldAccessorTable .ensureFieldAccessorsInitialized( emu.grasscutter.net.proto.SceneTeamAvatarOuterClass.SceneTeamAvatar.class, emu.grasscutter.net.proto.SceneTeamAvatarOuterClass.SceneTeamAvatar.Builder.class); } // Construct using emu.grasscutter.net.proto.SceneTeamAvatarOuterClass.SceneTeamAvatar.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(); weaponEntityId_ = 0; playerUid_ = 0; isOnScene_ = false; weaponGuid_ = 0L; if (serverBuffListBuilder_ == null) { serverBuffList_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { serverBuffListBuilder_.clear(); } isReconnect_ = false; entityId_ = 0; if (weaponAbilityInfoBuilder_ == null) { weaponAbilityInfo_ = null; } else { weaponAbilityInfo_ = null; weaponAbilityInfoBuilder_ = null; } if (abilityControlBlockBuilder_ == null) { abilityControlBlock_ = null; } else { abilityControlBlock_ = null; abilityControlBlockBuilder_ = null; } if (avatarInfoBuilder_ == null) { avatarInfo_ = null; } else { avatarInfo_ = null; avatarInfoBuilder_ = null; } if (avatarAbilityInfoBuilder_ == null) { avatarAbilityInfo_ = null; } else { avatarAbilityInfo_ = null; avatarAbilityInfoBuilder_ = null; } isPlayerCurAvatar_ = false; if (sceneAvatarInfoBuilder_ == null) { sceneAvatarInfo_ = null; } else { sceneAvatarInfo_ = null; sceneAvatarInfoBuilder_ = null; } if (sceneEntityInfoBuilder_ == null) { sceneEntityInfo_ = null; } else { sceneEntityInfo_ = null; sceneEntityInfoBuilder_ = null; } sceneId_ = 0; avatarGuid_ = 0L; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return emu.grasscutter.net.proto.SceneTeamAvatarOuterClass.internal_static_SceneTeamAvatar_descriptor; } @java.lang.Override public emu.grasscutter.net.proto.SceneTeamAvatarOuterClass.SceneTeamAvatar getDefaultInstanceForType() { return emu.grasscutter.net.proto.SceneTeamAvatarOuterClass.SceneTeamAvatar.getDefaultInstance(); } @java.lang.Override public emu.grasscutter.net.proto.SceneTeamAvatarOuterClass.SceneTeamAvatar build() { emu.grasscutter.net.proto.SceneTeamAvatarOuterClass.SceneTeamAvatar result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public emu.grasscutter.net.proto.SceneTeamAvatarOuterClass.SceneTeamAvatar buildPartial() { emu.grasscutter.net.proto.SceneTeamAvatarOuterClass.SceneTeamAvatar result = new emu.grasscutter.net.proto.SceneTeamAvatarOuterClass.SceneTeamAvatar(this); int from_bitField0_ = bitField0_; result.weaponEntityId_ = weaponEntityId_; result.playerUid_ = playerUid_; result.isOnScene_ = isOnScene_; result.weaponGuid_ = weaponGuid_; 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.isReconnect_ = isReconnect_; result.entityId_ = entityId_; if (weaponAbilityInfoBuilder_ == null) { result.weaponAbilityInfo_ = weaponAbilityInfo_; } else { result.weaponAbilityInfo_ = weaponAbilityInfoBuilder_.build(); } if (abilityControlBlockBuilder_ == null) { result.abilityControlBlock_ = abilityControlBlock_; } else { result.abilityControlBlock_ = abilityControlBlockBuilder_.build(); } if (avatarInfoBuilder_ == null) { result.avatarInfo_ = avatarInfo_; } else { result.avatarInfo_ = avatarInfoBuilder_.build(); } if (avatarAbilityInfoBuilder_ == null) { result.avatarAbilityInfo_ = avatarAbilityInfo_; } else { result.avatarAbilityInfo_ = avatarAbilityInfoBuilder_.build(); } result.isPlayerCurAvatar_ = isPlayerCurAvatar_; if (sceneAvatarInfoBuilder_ == null) { result.sceneAvatarInfo_ = sceneAvatarInfo_; } else { result.sceneAvatarInfo_ = sceneAvatarInfoBuilder_.build(); } if (sceneEntityInfoBuilder_ == null) { result.sceneEntityInfo_ = sceneEntityInfo_; } else { result.sceneEntityInfo_ = sceneEntityInfoBuilder_.build(); } result.sceneId_ = sceneId_; result.avatarGuid_ = avatarGuid_; 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.SceneTeamAvatarOuterClass.SceneTeamAvatar) { return mergeFrom((emu.grasscutter.net.proto.SceneTeamAvatarOuterClass.SceneTeamAvatar)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(emu.grasscutter.net.proto.SceneTeamAvatarOuterClass.SceneTeamAvatar other) { if (other == emu.grasscutter.net.proto.SceneTeamAvatarOuterClass.SceneTeamAvatar.getDefaultInstance()) return this; if (other.getWeaponEntityId() != 0) { setWeaponEntityId(other.getWeaponEntityId()); } if (other.getPlayerUid() != 0) { setPlayerUid(other.getPlayerUid()); } if (other.getIsOnScene() != false) { setIsOnScene(other.getIsOnScene()); } if (other.getWeaponGuid() != 0L) { setWeaponGuid(other.getWeaponGuid()); } 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.getIsReconnect() != false) { setIsReconnect(other.getIsReconnect()); } if (other.getEntityId() != 0) { setEntityId(other.getEntityId()); } if (other.hasWeaponAbilityInfo()) { mergeWeaponAbilityInfo(other.getWeaponAbilityInfo()); } if (other.hasAbilityControlBlock()) { mergeAbilityControlBlock(other.getAbilityControlBlock()); } if (other.hasAvatarInfo()) { mergeAvatarInfo(other.getAvatarInfo()); } if (other.hasAvatarAbilityInfo()) { mergeAvatarAbilityInfo(other.getAvatarAbilityInfo()); } if (other.getIsPlayerCurAvatar() != false) { setIsPlayerCurAvatar(other.getIsPlayerCurAvatar()); } if (other.hasSceneAvatarInfo()) { mergeSceneAvatarInfo(other.getSceneAvatarInfo()); } if (other.hasSceneEntityInfo()) { mergeSceneEntityInfo(other.getSceneEntityInfo()); } if (other.getSceneId() != 0) { setSceneId(other.getSceneId()); } if (other.getAvatarGuid() != 0L) { setAvatarGuid(other.getAvatarGuid()); } 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.SceneTeamAvatarOuterClass.SceneTeamAvatar parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (emu.grasscutter.net.proto.SceneTeamAvatarOuterClass.SceneTeamAvatar) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private int weaponEntityId_ ; /** * uint32 weapon_entity_id = 8; * @return The weaponEntityId. */ @java.lang.Override public int getWeaponEntityId() { return weaponEntityId_; } /** * uint32 weapon_entity_id = 8; * @param value The weaponEntityId to set. * @return This builder for chaining. */ public Builder setWeaponEntityId(int value) { weaponEntityId_ = value; onChanged(); return this; } /** * uint32 weapon_entity_id = 8; * @return This builder for chaining. */ public Builder clearWeaponEntityId() { weaponEntityId_ = 0; onChanged(); return this; } private int playerUid_ ; /** * uint32 player_uid = 6; * @return The playerUid. */ @java.lang.Override public int getPlayerUid() { return playerUid_; } /** * uint32 player_uid = 6; * @param value The playerUid to set. * @return This builder for chaining. */ public Builder setPlayerUid(int value) { playerUid_ = value; onChanged(); return this; } /** * uint32 player_uid = 6; * @return This builder for chaining. */ public Builder clearPlayerUid() { playerUid_ = 0; onChanged(); return this; } private boolean isOnScene_ ; /** * bool is_on_scene = 10; * @return The isOnScene. */ @java.lang.Override public boolean getIsOnScene() { return isOnScene_; } /** * bool is_on_scene = 10; * @param value The isOnScene to set. * @return This builder for chaining. */ public Builder setIsOnScene(boolean value) { isOnScene_ = value; onChanged(); return this; } /** * bool is_on_scene = 10; * @return This builder for chaining. */ public Builder clearIsOnScene() { isOnScene_ = false; onChanged(); return this; } private long weaponGuid_ ; /** * uint64 weapon_guid = 1; * @return The weaponGuid. */ @java.lang.Override public long getWeaponGuid() { return weaponGuid_; } /** * uint64 weapon_guid = 1; * @param value The weaponGuid to set. * @return This builder for chaining. */ public Builder setWeaponGuid(long value) { weaponGuid_ = value; onChanged(); return this; } /** * uint64 weapon_guid = 1; * @return This builder for chaining. */ public Builder clearWeaponGuid() { weaponGuid_ = 0L; onChanged(); return this; } private java.util.List serverBuffList_ = java.util.Collections.emptyList(); private void ensureServerBuffListIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { serverBuffList_ = new java.util.ArrayList(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_; /** * repeated .ServerBuff server_buff_list = 7; */ public java.util.List getServerBuffListList() { if (serverBuffListBuilder_ == null) { return java.util.Collections.unmodifiableList(serverBuffList_); } else { return serverBuffListBuilder_.getMessageList(); } } /** * repeated .ServerBuff server_buff_list = 7; */ public int getServerBuffListCount() { if (serverBuffListBuilder_ == null) { return serverBuffList_.size(); } else { return serverBuffListBuilder_.getCount(); } } /** * repeated .ServerBuff server_buff_list = 7; */ public emu.grasscutter.net.proto.ServerBuffOuterClass.ServerBuff getServerBuffList(int index) { if (serverBuffListBuilder_ == null) { return serverBuffList_.get(index); } else { return serverBuffListBuilder_.getMessage(index); } } /** * repeated .ServerBuff server_buff_list = 7; */ 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; } /** * repeated .ServerBuff server_buff_list = 7; */ 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; } /** * repeated .ServerBuff server_buff_list = 7; */ 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; } /** * repeated .ServerBuff server_buff_list = 7; */ 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; } /** * repeated .ServerBuff server_buff_list = 7; */ 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; } /** * repeated .ServerBuff server_buff_list = 7; */ 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; } /** * repeated .ServerBuff server_buff_list = 7; */ public Builder addAllServerBuffList( java.lang.Iterable values) { if (serverBuffListBuilder_ == null) { ensureServerBuffListIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, serverBuffList_); onChanged(); } else { serverBuffListBuilder_.addAllMessages(values); } return this; } /** * repeated .ServerBuff server_buff_list = 7; */ public Builder clearServerBuffList() { if (serverBuffListBuilder_ == null) { serverBuffList_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { serverBuffListBuilder_.clear(); } return this; } /** * repeated .ServerBuff server_buff_list = 7; */ public Builder removeServerBuffList(int index) { if (serverBuffListBuilder_ == null) { ensureServerBuffListIsMutable(); serverBuffList_.remove(index); onChanged(); } else { serverBuffListBuilder_.remove(index); } return this; } /** * repeated .ServerBuff server_buff_list = 7; */ public emu.grasscutter.net.proto.ServerBuffOuterClass.ServerBuff.Builder getServerBuffListBuilder( int index) { return getServerBuffListFieldBuilder().getBuilder(index); } /** * repeated .ServerBuff server_buff_list = 7; */ public emu.grasscutter.net.proto.ServerBuffOuterClass.ServerBuffOrBuilder getServerBuffListOrBuilder( int index) { if (serverBuffListBuilder_ == null) { return serverBuffList_.get(index); } else { return serverBuffListBuilder_.getMessageOrBuilder(index); } } /** * repeated .ServerBuff server_buff_list = 7; */ public java.util.List getServerBuffListOrBuilderList() { if (serverBuffListBuilder_ != null) { return serverBuffListBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(serverBuffList_); } } /** * repeated .ServerBuff server_buff_list = 7; */ public emu.grasscutter.net.proto.ServerBuffOuterClass.ServerBuff.Builder addServerBuffListBuilder() { return getServerBuffListFieldBuilder().addBuilder( emu.grasscutter.net.proto.ServerBuffOuterClass.ServerBuff.getDefaultInstance()); } /** * repeated .ServerBuff server_buff_list = 7; */ public emu.grasscutter.net.proto.ServerBuffOuterClass.ServerBuff.Builder addServerBuffListBuilder( int index) { return getServerBuffListFieldBuilder().addBuilder( index, emu.grasscutter.net.proto.ServerBuffOuterClass.ServerBuff.getDefaultInstance()); } /** * repeated .ServerBuff server_buff_list = 7; */ public java.util.List 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 boolean isReconnect_ ; /** * bool is_reconnect = 11; * @return The isReconnect. */ @java.lang.Override public boolean getIsReconnect() { return isReconnect_; } /** * bool is_reconnect = 11; * @param value The isReconnect to set. * @return This builder for chaining. */ public Builder setIsReconnect(boolean value) { isReconnect_ = value; onChanged(); return this; } /** * bool is_reconnect = 11; * @return This builder for chaining. */ public Builder clearIsReconnect() { isReconnect_ = false; onChanged(); return this; } private int entityId_ ; /** * uint32 entity_id = 13; * @return The entityId. */ @java.lang.Override public int getEntityId() { return entityId_; } /** * uint32 entity_id = 13; * @param value The entityId to set. * @return This builder for chaining. */ public Builder setEntityId(int value) { entityId_ = value; onChanged(); return this; } /** * uint32 entity_id = 13; * @return This builder for chaining. */ public Builder clearEntityId() { entityId_ = 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_; /** * .AbilitySyncStateInfo weapon_ability_info = 3; * @return Whether the weaponAbilityInfo field is set. */ public boolean hasWeaponAbilityInfo() { return weaponAbilityInfoBuilder_ != null || weaponAbilityInfo_ != null; } /** * .AbilitySyncStateInfo weapon_ability_info = 3; * @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(); } } /** * .AbilitySyncStateInfo weapon_ability_info = 3; */ 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; } /** * .AbilitySyncStateInfo weapon_ability_info = 3; */ 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; } /** * .AbilitySyncStateInfo weapon_ability_info = 3; */ 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; } /** * .AbilitySyncStateInfo weapon_ability_info = 3; */ public Builder clearWeaponAbilityInfo() { if (weaponAbilityInfoBuilder_ == null) { weaponAbilityInfo_ = null; onChanged(); } else { weaponAbilityInfo_ = null; weaponAbilityInfoBuilder_ = null; } return this; } /** * .AbilitySyncStateInfo weapon_ability_info = 3; */ public emu.grasscutter.net.proto.AbilitySyncStateInfoOuterClass.AbilitySyncStateInfo.Builder getWeaponAbilityInfoBuilder() { onChanged(); return getWeaponAbilityInfoFieldBuilder().getBuilder(); } /** * .AbilitySyncStateInfo weapon_ability_info = 3; */ 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_; } } /** * .AbilitySyncStateInfo weapon_ability_info = 3; */ 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 emu.grasscutter.net.proto.AbilityControlBlockOuterClass.AbilityControlBlock abilityControlBlock_; private com.google.protobuf.SingleFieldBuilderV3< emu.grasscutter.net.proto.AbilityControlBlockOuterClass.AbilityControlBlock, emu.grasscutter.net.proto.AbilityControlBlockOuterClass.AbilityControlBlock.Builder, emu.grasscutter.net.proto.AbilityControlBlockOuterClass.AbilityControlBlockOrBuilder> abilityControlBlockBuilder_; /** * .AbilityControlBlock ability_control_block = 9; * @return Whether the abilityControlBlock field is set. */ public boolean hasAbilityControlBlock() { return abilityControlBlockBuilder_ != null || abilityControlBlock_ != null; } /** * .AbilityControlBlock ability_control_block = 9; * @return The abilityControlBlock. */ public emu.grasscutter.net.proto.AbilityControlBlockOuterClass.AbilityControlBlock getAbilityControlBlock() { if (abilityControlBlockBuilder_ == null) { return abilityControlBlock_ == null ? emu.grasscutter.net.proto.AbilityControlBlockOuterClass.AbilityControlBlock.getDefaultInstance() : abilityControlBlock_; } else { return abilityControlBlockBuilder_.getMessage(); } } /** * .AbilityControlBlock ability_control_block = 9; */ public Builder setAbilityControlBlock(emu.grasscutter.net.proto.AbilityControlBlockOuterClass.AbilityControlBlock value) { if (abilityControlBlockBuilder_ == null) { if (value == null) { throw new NullPointerException(); } abilityControlBlock_ = value; onChanged(); } else { abilityControlBlockBuilder_.setMessage(value); } return this; } /** * .AbilityControlBlock ability_control_block = 9; */ public Builder setAbilityControlBlock( emu.grasscutter.net.proto.AbilityControlBlockOuterClass.AbilityControlBlock.Builder builderForValue) { if (abilityControlBlockBuilder_ == null) { abilityControlBlock_ = builderForValue.build(); onChanged(); } else { abilityControlBlockBuilder_.setMessage(builderForValue.build()); } return this; } /** * .AbilityControlBlock ability_control_block = 9; */ public Builder mergeAbilityControlBlock(emu.grasscutter.net.proto.AbilityControlBlockOuterClass.AbilityControlBlock value) { if (abilityControlBlockBuilder_ == null) { if (abilityControlBlock_ != null) { abilityControlBlock_ = emu.grasscutter.net.proto.AbilityControlBlockOuterClass.AbilityControlBlock.newBuilder(abilityControlBlock_).mergeFrom(value).buildPartial(); } else { abilityControlBlock_ = value; } onChanged(); } else { abilityControlBlockBuilder_.mergeFrom(value); } return this; } /** * .AbilityControlBlock ability_control_block = 9; */ public Builder clearAbilityControlBlock() { if (abilityControlBlockBuilder_ == null) { abilityControlBlock_ = null; onChanged(); } else { abilityControlBlock_ = null; abilityControlBlockBuilder_ = null; } return this; } /** * .AbilityControlBlock ability_control_block = 9; */ public emu.grasscutter.net.proto.AbilityControlBlockOuterClass.AbilityControlBlock.Builder getAbilityControlBlockBuilder() { onChanged(); return getAbilityControlBlockFieldBuilder().getBuilder(); } /** * .AbilityControlBlock ability_control_block = 9; */ public emu.grasscutter.net.proto.AbilityControlBlockOuterClass.AbilityControlBlockOrBuilder getAbilityControlBlockOrBuilder() { if (abilityControlBlockBuilder_ != null) { return abilityControlBlockBuilder_.getMessageOrBuilder(); } else { return abilityControlBlock_ == null ? emu.grasscutter.net.proto.AbilityControlBlockOuterClass.AbilityControlBlock.getDefaultInstance() : abilityControlBlock_; } } /** * .AbilityControlBlock ability_control_block = 9; */ private com.google.protobuf.SingleFieldBuilderV3< emu.grasscutter.net.proto.AbilityControlBlockOuterClass.AbilityControlBlock, emu.grasscutter.net.proto.AbilityControlBlockOuterClass.AbilityControlBlock.Builder, emu.grasscutter.net.proto.AbilityControlBlockOuterClass.AbilityControlBlockOrBuilder> getAbilityControlBlockFieldBuilder() { if (abilityControlBlockBuilder_ == null) { abilityControlBlockBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< emu.grasscutter.net.proto.AbilityControlBlockOuterClass.AbilityControlBlock, emu.grasscutter.net.proto.AbilityControlBlockOuterClass.AbilityControlBlock.Builder, emu.grasscutter.net.proto.AbilityControlBlockOuterClass.AbilityControlBlockOrBuilder>( getAbilityControlBlock(), getParentForChildren(), isClean()); abilityControlBlock_ = null; } return abilityControlBlockBuilder_; } private emu.grasscutter.net.proto.AvatarInfoOuterClass.AvatarInfo avatarInfo_; private com.google.protobuf.SingleFieldBuilderV3< emu.grasscutter.net.proto.AvatarInfoOuterClass.AvatarInfo, emu.grasscutter.net.proto.AvatarInfoOuterClass.AvatarInfo.Builder, emu.grasscutter.net.proto.AvatarInfoOuterClass.AvatarInfoOrBuilder> avatarInfoBuilder_; /** * .AvatarInfo avatar_info = 5; * @return Whether the avatarInfo field is set. */ public boolean hasAvatarInfo() { return avatarInfoBuilder_ != null || avatarInfo_ != null; } /** * .AvatarInfo avatar_info = 5; * @return The avatarInfo. */ public emu.grasscutter.net.proto.AvatarInfoOuterClass.AvatarInfo getAvatarInfo() { if (avatarInfoBuilder_ == null) { return avatarInfo_ == null ? emu.grasscutter.net.proto.AvatarInfoOuterClass.AvatarInfo.getDefaultInstance() : avatarInfo_; } else { return avatarInfoBuilder_.getMessage(); } } /** * .AvatarInfo avatar_info = 5; */ public Builder setAvatarInfo(emu.grasscutter.net.proto.AvatarInfoOuterClass.AvatarInfo value) { if (avatarInfoBuilder_ == null) { if (value == null) { throw new NullPointerException(); } avatarInfo_ = value; onChanged(); } else { avatarInfoBuilder_.setMessage(value); } return this; } /** * .AvatarInfo avatar_info = 5; */ public Builder setAvatarInfo( emu.grasscutter.net.proto.AvatarInfoOuterClass.AvatarInfo.Builder builderForValue) { if (avatarInfoBuilder_ == null) { avatarInfo_ = builderForValue.build(); onChanged(); } else { avatarInfoBuilder_.setMessage(builderForValue.build()); } return this; } /** * .AvatarInfo avatar_info = 5; */ public Builder mergeAvatarInfo(emu.grasscutter.net.proto.AvatarInfoOuterClass.AvatarInfo value) { if (avatarInfoBuilder_ == null) { if (avatarInfo_ != null) { avatarInfo_ = emu.grasscutter.net.proto.AvatarInfoOuterClass.AvatarInfo.newBuilder(avatarInfo_).mergeFrom(value).buildPartial(); } else { avatarInfo_ = value; } onChanged(); } else { avatarInfoBuilder_.mergeFrom(value); } return this; } /** * .AvatarInfo avatar_info = 5; */ public Builder clearAvatarInfo() { if (avatarInfoBuilder_ == null) { avatarInfo_ = null; onChanged(); } else { avatarInfo_ = null; avatarInfoBuilder_ = null; } return this; } /** * .AvatarInfo avatar_info = 5; */ public emu.grasscutter.net.proto.AvatarInfoOuterClass.AvatarInfo.Builder getAvatarInfoBuilder() { onChanged(); return getAvatarInfoFieldBuilder().getBuilder(); } /** * .AvatarInfo avatar_info = 5; */ public emu.grasscutter.net.proto.AvatarInfoOuterClass.AvatarInfoOrBuilder getAvatarInfoOrBuilder() { if (avatarInfoBuilder_ != null) { return avatarInfoBuilder_.getMessageOrBuilder(); } else { return avatarInfo_ == null ? emu.grasscutter.net.proto.AvatarInfoOuterClass.AvatarInfo.getDefaultInstance() : avatarInfo_; } } /** * .AvatarInfo avatar_info = 5; */ private com.google.protobuf.SingleFieldBuilderV3< emu.grasscutter.net.proto.AvatarInfoOuterClass.AvatarInfo, emu.grasscutter.net.proto.AvatarInfoOuterClass.AvatarInfo.Builder, emu.grasscutter.net.proto.AvatarInfoOuterClass.AvatarInfoOrBuilder> getAvatarInfoFieldBuilder() { if (avatarInfoBuilder_ == null) { avatarInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< emu.grasscutter.net.proto.AvatarInfoOuterClass.AvatarInfo, emu.grasscutter.net.proto.AvatarInfoOuterClass.AvatarInfo.Builder, emu.grasscutter.net.proto.AvatarInfoOuterClass.AvatarInfoOrBuilder>( getAvatarInfo(), getParentForChildren(), isClean()); avatarInfo_ = null; } return avatarInfoBuilder_; } 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_; /** * .AbilitySyncStateInfo avatar_ability_info = 14; * @return Whether the avatarAbilityInfo field is set. */ public boolean hasAvatarAbilityInfo() { return avatarAbilityInfoBuilder_ != null || avatarAbilityInfo_ != null; } /** * .AbilitySyncStateInfo avatar_ability_info = 14; * @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(); } } /** * .AbilitySyncStateInfo avatar_ability_info = 14; */ 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; } /** * .AbilitySyncStateInfo avatar_ability_info = 14; */ 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; } /** * .AbilitySyncStateInfo avatar_ability_info = 14; */ 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; } /** * .AbilitySyncStateInfo avatar_ability_info = 14; */ public Builder clearAvatarAbilityInfo() { if (avatarAbilityInfoBuilder_ == null) { avatarAbilityInfo_ = null; onChanged(); } else { avatarAbilityInfo_ = null; avatarAbilityInfoBuilder_ = null; } return this; } /** * .AbilitySyncStateInfo avatar_ability_info = 14; */ public emu.grasscutter.net.proto.AbilitySyncStateInfoOuterClass.AbilitySyncStateInfo.Builder getAvatarAbilityInfoBuilder() { onChanged(); return getAvatarAbilityInfoFieldBuilder().getBuilder(); } /** * .AbilitySyncStateInfo avatar_ability_info = 14; */ 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_; } } /** * .AbilitySyncStateInfo avatar_ability_info = 14; */ 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 boolean isPlayerCurAvatar_ ; /** * bool is_player_cur_avatar = 593; * @return The isPlayerCurAvatar. */ @java.lang.Override public boolean getIsPlayerCurAvatar() { return isPlayerCurAvatar_; } /** * bool is_player_cur_avatar = 593; * @param value The isPlayerCurAvatar to set. * @return This builder for chaining. */ public Builder setIsPlayerCurAvatar(boolean value) { isPlayerCurAvatar_ = value; onChanged(); return this; } /** * bool is_player_cur_avatar = 593; * @return This builder for chaining. */ public Builder clearIsPlayerCurAvatar() { isPlayerCurAvatar_ = false; onChanged(); return this; } private emu.grasscutter.net.proto.SceneAvatarInfoOuterClass.SceneAvatarInfo sceneAvatarInfo_; private com.google.protobuf.SingleFieldBuilderV3< emu.grasscutter.net.proto.SceneAvatarInfoOuterClass.SceneAvatarInfo, emu.grasscutter.net.proto.SceneAvatarInfoOuterClass.SceneAvatarInfo.Builder, emu.grasscutter.net.proto.SceneAvatarInfoOuterClass.SceneAvatarInfoOrBuilder> sceneAvatarInfoBuilder_; /** * .SceneAvatarInfo scene_avatar_info = 2; * @return Whether the sceneAvatarInfo field is set. */ public boolean hasSceneAvatarInfo() { return sceneAvatarInfoBuilder_ != null || sceneAvatarInfo_ != null; } /** * .SceneAvatarInfo scene_avatar_info = 2; * @return The sceneAvatarInfo. */ public emu.grasscutter.net.proto.SceneAvatarInfoOuterClass.SceneAvatarInfo getSceneAvatarInfo() { if (sceneAvatarInfoBuilder_ == null) { return sceneAvatarInfo_ == null ? emu.grasscutter.net.proto.SceneAvatarInfoOuterClass.SceneAvatarInfo.getDefaultInstance() : sceneAvatarInfo_; } else { return sceneAvatarInfoBuilder_.getMessage(); } } /** * .SceneAvatarInfo scene_avatar_info = 2; */ public Builder setSceneAvatarInfo(emu.grasscutter.net.proto.SceneAvatarInfoOuterClass.SceneAvatarInfo value) { if (sceneAvatarInfoBuilder_ == null) { if (value == null) { throw new NullPointerException(); } sceneAvatarInfo_ = value; onChanged(); } else { sceneAvatarInfoBuilder_.setMessage(value); } return this; } /** * .SceneAvatarInfo scene_avatar_info = 2; */ public Builder setSceneAvatarInfo( emu.grasscutter.net.proto.SceneAvatarInfoOuterClass.SceneAvatarInfo.Builder builderForValue) { if (sceneAvatarInfoBuilder_ == null) { sceneAvatarInfo_ = builderForValue.build(); onChanged(); } else { sceneAvatarInfoBuilder_.setMessage(builderForValue.build()); } return this; } /** * .SceneAvatarInfo scene_avatar_info = 2; */ public Builder mergeSceneAvatarInfo(emu.grasscutter.net.proto.SceneAvatarInfoOuterClass.SceneAvatarInfo value) { if (sceneAvatarInfoBuilder_ == null) { if (sceneAvatarInfo_ != null) { sceneAvatarInfo_ = emu.grasscutter.net.proto.SceneAvatarInfoOuterClass.SceneAvatarInfo.newBuilder(sceneAvatarInfo_).mergeFrom(value).buildPartial(); } else { sceneAvatarInfo_ = value; } onChanged(); } else { sceneAvatarInfoBuilder_.mergeFrom(value); } return this; } /** * .SceneAvatarInfo scene_avatar_info = 2; */ public Builder clearSceneAvatarInfo() { if (sceneAvatarInfoBuilder_ == null) { sceneAvatarInfo_ = null; onChanged(); } else { sceneAvatarInfo_ = null; sceneAvatarInfoBuilder_ = null; } return this; } /** * .SceneAvatarInfo scene_avatar_info = 2; */ public emu.grasscutter.net.proto.SceneAvatarInfoOuterClass.SceneAvatarInfo.Builder getSceneAvatarInfoBuilder() { onChanged(); return getSceneAvatarInfoFieldBuilder().getBuilder(); } /** * .SceneAvatarInfo scene_avatar_info = 2; */ public emu.grasscutter.net.proto.SceneAvatarInfoOuterClass.SceneAvatarInfoOrBuilder getSceneAvatarInfoOrBuilder() { if (sceneAvatarInfoBuilder_ != null) { return sceneAvatarInfoBuilder_.getMessageOrBuilder(); } else { return sceneAvatarInfo_ == null ? emu.grasscutter.net.proto.SceneAvatarInfoOuterClass.SceneAvatarInfo.getDefaultInstance() : sceneAvatarInfo_; } } /** * .SceneAvatarInfo scene_avatar_info = 2; */ private com.google.protobuf.SingleFieldBuilderV3< emu.grasscutter.net.proto.SceneAvatarInfoOuterClass.SceneAvatarInfo, emu.grasscutter.net.proto.SceneAvatarInfoOuterClass.SceneAvatarInfo.Builder, emu.grasscutter.net.proto.SceneAvatarInfoOuterClass.SceneAvatarInfoOrBuilder> getSceneAvatarInfoFieldBuilder() { if (sceneAvatarInfoBuilder_ == null) { sceneAvatarInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< emu.grasscutter.net.proto.SceneAvatarInfoOuterClass.SceneAvatarInfo, emu.grasscutter.net.proto.SceneAvatarInfoOuterClass.SceneAvatarInfo.Builder, emu.grasscutter.net.proto.SceneAvatarInfoOuterClass.SceneAvatarInfoOrBuilder>( getSceneAvatarInfo(), getParentForChildren(), isClean()); sceneAvatarInfo_ = null; } return sceneAvatarInfoBuilder_; } private emu.grasscutter.net.proto.SceneEntityInfoOuterClass.SceneEntityInfo sceneEntityInfo_; private com.google.protobuf.SingleFieldBuilderV3< emu.grasscutter.net.proto.SceneEntityInfoOuterClass.SceneEntityInfo, emu.grasscutter.net.proto.SceneEntityInfoOuterClass.SceneEntityInfo.Builder, emu.grasscutter.net.proto.SceneEntityInfoOuterClass.SceneEntityInfoOrBuilder> sceneEntityInfoBuilder_; /** * .SceneEntityInfo scene_entity_info = 12; * @return Whether the sceneEntityInfo field is set. */ public boolean hasSceneEntityInfo() { return sceneEntityInfoBuilder_ != null || sceneEntityInfo_ != null; } /** * .SceneEntityInfo scene_entity_info = 12; * @return The sceneEntityInfo. */ public emu.grasscutter.net.proto.SceneEntityInfoOuterClass.SceneEntityInfo getSceneEntityInfo() { if (sceneEntityInfoBuilder_ == null) { return sceneEntityInfo_ == null ? emu.grasscutter.net.proto.SceneEntityInfoOuterClass.SceneEntityInfo.getDefaultInstance() : sceneEntityInfo_; } else { return sceneEntityInfoBuilder_.getMessage(); } } /** * .SceneEntityInfo scene_entity_info = 12; */ public Builder setSceneEntityInfo(emu.grasscutter.net.proto.SceneEntityInfoOuterClass.SceneEntityInfo value) { if (sceneEntityInfoBuilder_ == null) { if (value == null) { throw new NullPointerException(); } sceneEntityInfo_ = value; onChanged(); } else { sceneEntityInfoBuilder_.setMessage(value); } return this; } /** * .SceneEntityInfo scene_entity_info = 12; */ public Builder setSceneEntityInfo( emu.grasscutter.net.proto.SceneEntityInfoOuterClass.SceneEntityInfo.Builder builderForValue) { if (sceneEntityInfoBuilder_ == null) { sceneEntityInfo_ = builderForValue.build(); onChanged(); } else { sceneEntityInfoBuilder_.setMessage(builderForValue.build()); } return this; } /** * .SceneEntityInfo scene_entity_info = 12; */ public Builder mergeSceneEntityInfo(emu.grasscutter.net.proto.SceneEntityInfoOuterClass.SceneEntityInfo value) { if (sceneEntityInfoBuilder_ == null) { if (sceneEntityInfo_ != null) { sceneEntityInfo_ = emu.grasscutter.net.proto.SceneEntityInfoOuterClass.SceneEntityInfo.newBuilder(sceneEntityInfo_).mergeFrom(value).buildPartial(); } else { sceneEntityInfo_ = value; } onChanged(); } else { sceneEntityInfoBuilder_.mergeFrom(value); } return this; } /** * .SceneEntityInfo scene_entity_info = 12; */ public Builder clearSceneEntityInfo() { if (sceneEntityInfoBuilder_ == null) { sceneEntityInfo_ = null; onChanged(); } else { sceneEntityInfo_ = null; sceneEntityInfoBuilder_ = null; } return this; } /** * .SceneEntityInfo scene_entity_info = 12; */ public emu.grasscutter.net.proto.SceneEntityInfoOuterClass.SceneEntityInfo.Builder getSceneEntityInfoBuilder() { onChanged(); return getSceneEntityInfoFieldBuilder().getBuilder(); } /** * .SceneEntityInfo scene_entity_info = 12; */ public emu.grasscutter.net.proto.SceneEntityInfoOuterClass.SceneEntityInfoOrBuilder getSceneEntityInfoOrBuilder() { if (sceneEntityInfoBuilder_ != null) { return sceneEntityInfoBuilder_.getMessageOrBuilder(); } else { return sceneEntityInfo_ == null ? emu.grasscutter.net.proto.SceneEntityInfoOuterClass.SceneEntityInfo.getDefaultInstance() : sceneEntityInfo_; } } /** * .SceneEntityInfo scene_entity_info = 12; */ private com.google.protobuf.SingleFieldBuilderV3< emu.grasscutter.net.proto.SceneEntityInfoOuterClass.SceneEntityInfo, emu.grasscutter.net.proto.SceneEntityInfoOuterClass.SceneEntityInfo.Builder, emu.grasscutter.net.proto.SceneEntityInfoOuterClass.SceneEntityInfoOrBuilder> getSceneEntityInfoFieldBuilder() { if (sceneEntityInfoBuilder_ == null) { sceneEntityInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< emu.grasscutter.net.proto.SceneEntityInfoOuterClass.SceneEntityInfo, emu.grasscutter.net.proto.SceneEntityInfoOuterClass.SceneEntityInfo.Builder, emu.grasscutter.net.proto.SceneEntityInfoOuterClass.SceneEntityInfoOrBuilder>( getSceneEntityInfo(), getParentForChildren(), isClean()); sceneEntityInfo_ = null; } return sceneEntityInfoBuilder_; } private int sceneId_ ; /** * uint32 scene_id = 15; * @return The sceneId. */ @java.lang.Override public int getSceneId() { return sceneId_; } /** * uint32 scene_id = 15; * @param value The sceneId to set. * @return This builder for chaining. */ public Builder setSceneId(int value) { sceneId_ = value; onChanged(); return this; } /** * uint32 scene_id = 15; * @return This builder for chaining. */ public Builder clearSceneId() { sceneId_ = 0; onChanged(); return this; } private long avatarGuid_ ; /** * uint64 avatar_guid = 4; * @return The avatarGuid. */ @java.lang.Override public long getAvatarGuid() { return avatarGuid_; } /** * uint64 avatar_guid = 4; * @param value The avatarGuid to set. * @return This builder for chaining. */ public Builder setAvatarGuid(long value) { avatarGuid_ = value; onChanged(); return this; } /** * uint64 avatar_guid = 4; * @return This builder for chaining. */ public Builder clearAvatarGuid() { avatarGuid_ = 0L; 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:SceneTeamAvatar) } // @@protoc_insertion_point(class_scope:SceneTeamAvatar) private static final emu.grasscutter.net.proto.SceneTeamAvatarOuterClass.SceneTeamAvatar DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new emu.grasscutter.net.proto.SceneTeamAvatarOuterClass.SceneTeamAvatar(); } public static emu.grasscutter.net.proto.SceneTeamAvatarOuterClass.SceneTeamAvatar getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public SceneTeamAvatar parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new SceneTeamAvatar(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public emu.grasscutter.net.proto.SceneTeamAvatarOuterClass.SceneTeamAvatar getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } private static final com.google.protobuf.Descriptors.Descriptor internal_static_SceneTeamAvatar_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_SceneTeamAvatar_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\025SceneTeamAvatar.proto\032\031AbilityControlB" + "lock.proto\032\032AbilitySyncStateInfo.proto\032\020" + "AvatarInfo.proto\032\025SceneAvatarInfo.proto\032" + "\025SceneEntityInfo.proto\032\020ServerBuff.proto" + "\"\230\004\n\017SceneTeamAvatar\022\030\n\020weapon_entity_id" + "\030\010 \001(\r\022\022\n\nplayer_uid\030\006 \001(\r\022\023\n\013is_on_scen" + "e\030\n \001(\010\022\023\n\013weapon_guid\030\001 \001(\004\022%\n\020server_b" + "uff_list\030\007 \003(\0132\013.ServerBuff\022\024\n\014is_reconn" + "ect\030\013 \001(\010\022\021\n\tentity_id\030\r \001(\r\0222\n\023weapon_a" + "bility_info\030\003 \001(\0132\025.AbilitySyncStateInfo" + "\0223\n\025ability_control_block\030\t \001(\0132\024.Abilit" + "yControlBlock\022 \n\013avatar_info\030\005 \001(\0132\013.Ava" + "tarInfo\0222\n\023avatar_ability_info\030\016 \001(\0132\025.A" + "bilitySyncStateInfo\022\035\n\024is_player_cur_ava" + "tar\030\321\004 \001(\010\022+\n\021scene_avatar_info\030\002 \001(\0132\020." + "SceneAvatarInfo\022+\n\021scene_entity_info\030\014 \001" + "(\0132\020.SceneEntityInfo\022\020\n\010scene_id\030\017 \001(\r\022\023" + "\n\013avatar_guid\030\004 \001(\004B\033\n\031emu.grasscutter.n" + "et.protob\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { emu.grasscutter.net.proto.AbilityControlBlockOuterClass.getDescriptor(), emu.grasscutter.net.proto.AbilitySyncStateInfoOuterClass.getDescriptor(), emu.grasscutter.net.proto.AvatarInfoOuterClass.getDescriptor(), emu.grasscutter.net.proto.SceneAvatarInfoOuterClass.getDescriptor(), emu.grasscutter.net.proto.SceneEntityInfoOuterClass.getDescriptor(), emu.grasscutter.net.proto.ServerBuffOuterClass.getDescriptor(), }); internal_static_SceneTeamAvatar_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_SceneTeamAvatar_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_SceneTeamAvatar_descriptor, new java.lang.String[] { "WeaponEntityId", "PlayerUid", "IsOnScene", "WeaponGuid", "ServerBuffList", "IsReconnect", "EntityId", "WeaponAbilityInfo", "AbilityControlBlock", "AvatarInfo", "AvatarAbilityInfo", "IsPlayerCurAvatar", "SceneAvatarInfo", "SceneEntityInfo", "SceneId", "AvatarGuid", }); emu.grasscutter.net.proto.AbilityControlBlockOuterClass.getDescriptor(); emu.grasscutter.net.proto.AbilitySyncStateInfoOuterClass.getDescriptor(); emu.grasscutter.net.proto.AvatarInfoOuterClass.getDescriptor(); emu.grasscutter.net.proto.SceneAvatarInfoOuterClass.getDescriptor(); emu.grasscutter.net.proto.SceneEntityInfoOuterClass.getDescriptor(); emu.grasscutter.net.proto.ServerBuffOuterClass.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy