// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: AvatarInfo.proto
package emu.grasscutter.net.proto;
public final class AvatarInfoOuterClass {
private AvatarInfoOuterClass() {}
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 AvatarInfoOrBuilder extends
// @@protoc_insertion_point(interface_extends:AvatarInfo)
com.google.protobuf.MessageOrBuilder {
/**
* uint32 avatar_id = 1;
* @return The avatarId.
*/
int getAvatarId();
/**
* uint64 guid = 2;
* @return The guid.
*/
long getGuid();
/**
* map<uint32, .PropValue> prop_map = 3;
*/
int getPropMapCount();
/**
* map<uint32, .PropValue> prop_map = 3;
*/
boolean containsPropMap(
int key);
/**
* Use {@link #getPropMapMap()} instead.
*/
@java.lang.Deprecated
java.util.Map
getPropMap();
/**
* map<uint32, .PropValue> prop_map = 3;
*/
java.util.Map
getPropMapMap();
/**
* map<uint32, .PropValue> prop_map = 3;
*/
emu.grasscutter.net.proto.PropValueOuterClass.PropValue getPropMapOrDefault(
int key,
emu.grasscutter.net.proto.PropValueOuterClass.PropValue defaultValue);
/**
* map<uint32, .PropValue> prop_map = 3;
*/
emu.grasscutter.net.proto.PropValueOuterClass.PropValue getPropMapOrThrow(
int key);
/**
* uint32 life_state = 4;
* @return The lifeState.
*/
int getLifeState();
/**
* repeated uint64 equip_guid_list = 5;
* @return A list containing the equipGuidList.
*/
java.util.List getEquipGuidListList();
/**
* repeated uint64 equip_guid_list = 5;
* @return The count of equipGuidList.
*/
int getEquipGuidListCount();
/**
* repeated uint64 equip_guid_list = 5;
* @param index The index of the element to return.
* @return The equipGuidList at the given index.
*/
long getEquipGuidList(int index);
/**
* repeated uint32 talent_id_list = 6;
* @return A list containing the talentIdList.
*/
java.util.List getTalentIdListList();
/**
* repeated uint32 talent_id_list = 6;
* @return The count of talentIdList.
*/
int getTalentIdListCount();
/**
* repeated uint32 talent_id_list = 6;
* @param index The index of the element to return.
* @return The talentIdList at the given index.
*/
int getTalentIdList(int index);
/**
* map<uint32, float> fight_prop_map = 7;
*/
int getFightPropMapCount();
/**
* map<uint32, float> fight_prop_map = 7;
*/
boolean containsFightPropMap(
int key);
/**
* Use {@link #getFightPropMapMap()} instead.
*/
@java.lang.Deprecated
java.util.Map
getFightPropMap();
/**
* map<uint32, float> fight_prop_map = 7;
*/
java.util.Map
getFightPropMapMap();
/**
* map<uint32, float> fight_prop_map = 7;
*/
float getFightPropMapOrDefault(
int key,
float defaultValue);
/**
* map<uint32, float> fight_prop_map = 7;
*/
float getFightPropMapOrThrow(
int key);
/**
* .TrialAvatarInfo trial_avatar_info = 9;
* @return Whether the trialAvatarInfo field is set.
*/
boolean hasTrialAvatarInfo();
/**
* .TrialAvatarInfo trial_avatar_info = 9;
* @return The trialAvatarInfo.
*/
emu.grasscutter.net.proto.TrialAvatarInfoOuterClass.TrialAvatarInfo getTrialAvatarInfo();
/**
* .TrialAvatarInfo trial_avatar_info = 9;
*/
emu.grasscutter.net.proto.TrialAvatarInfoOuterClass.TrialAvatarInfoOrBuilder getTrialAvatarInfoOrBuilder();
/**
* map<uint32, .AvatarSkillInfo> skill_map = 10;
*/
int getSkillMapCount();
/**
* map<uint32, .AvatarSkillInfo> skill_map = 10;
*/
boolean containsSkillMap(
int key);
/**
* Use {@link #getSkillMapMap()} instead.
*/
@java.lang.Deprecated
java.util.Map
getSkillMap();
/**
* map<uint32, .AvatarSkillInfo> skill_map = 10;
*/
java.util.Map
getSkillMapMap();
/**
* map<uint32, .AvatarSkillInfo> skill_map = 10;
*/
emu.grasscutter.net.proto.AvatarSkillInfoOuterClass.AvatarSkillInfo getSkillMapOrDefault(
int key,
emu.grasscutter.net.proto.AvatarSkillInfoOuterClass.AvatarSkillInfo defaultValue);
/**
* map<uint32, .AvatarSkillInfo> skill_map = 10;
*/
emu.grasscutter.net.proto.AvatarSkillInfoOuterClass.AvatarSkillInfo getSkillMapOrThrow(
int key);
/**
* uint32 skill_depot_id = 11;
* @return The skillDepotId.
*/
int getSkillDepotId();
/**
* .AvatarFetterInfo fetter_info = 12;
* @return Whether the fetterInfo field is set.
*/
boolean hasFetterInfo();
/**
* .AvatarFetterInfo fetter_info = 12;
* @return The fetterInfo.
*/
emu.grasscutter.net.proto.AvatarFetterInfoOuterClass.AvatarFetterInfo getFetterInfo();
/**
* .AvatarFetterInfo fetter_info = 12;
*/
emu.grasscutter.net.proto.AvatarFetterInfoOuterClass.AvatarFetterInfoOrBuilder getFetterInfoOrBuilder();
/**
* uint32 core_proud_skill_level = 13;
* @return The coreProudSkillLevel.
*/
int getCoreProudSkillLevel();
/**
* repeated uint32 inherent_proud_skill_list = 14;
* @return A list containing the inherentProudSkillList.
*/
java.util.List getInherentProudSkillListList();
/**
* repeated uint32 inherent_proud_skill_list = 14;
* @return The count of inherentProudSkillList.
*/
int getInherentProudSkillListCount();
/**
* repeated uint32 inherent_proud_skill_list = 14;
* @param index The index of the element to return.
* @return The inherentProudSkillList at the given index.
*/
int getInherentProudSkillList(int index);
/**
* map<uint32, uint32> skill_level_map = 15;
*/
int getSkillLevelMapCount();
/**
* map<uint32, uint32> skill_level_map = 15;
*/
boolean containsSkillLevelMap(
int key);
/**
* Use {@link #getSkillLevelMapMap()} instead.
*/
@java.lang.Deprecated
java.util.Map
getSkillLevelMap();
/**
* map<uint32, uint32> skill_level_map = 15;
*/
java.util.Map
getSkillLevelMapMap();
/**
* map<uint32, uint32> skill_level_map = 15;
*/
int getSkillLevelMapOrDefault(
int key,
int defaultValue);
/**
* map<uint32, uint32> skill_level_map = 15;
*/
int getSkillLevelMapOrThrow(
int key);
/**
* .AvatarExpeditionState expedition_state = 16;
* @return The enum numeric value on the wire for expeditionState.
*/
int getExpeditionStateValue();
/**
* .AvatarExpeditionState expedition_state = 16;
* @return The expeditionState.
*/
emu.grasscutter.net.proto.AvatarExpeditionStateOuterClass.AvatarExpeditionState getExpeditionState();
/**
* map<uint32, uint32> proud_skill_extra_level_map = 17;
*/
int getProudSkillExtraLevelMapCount();
/**
* map<uint32, uint32> proud_skill_extra_level_map = 17;
*/
boolean containsProudSkillExtraLevelMap(
int key);
/**
* Use {@link #getProudSkillExtraLevelMapMap()} instead.
*/
@java.lang.Deprecated
java.util.Map
getProudSkillExtraLevelMap();
/**
* map<uint32, uint32> proud_skill_extra_level_map = 17;
*/
java.util.Map
getProudSkillExtraLevelMapMap();
/**
* map<uint32, uint32> proud_skill_extra_level_map = 17;
*/
int getProudSkillExtraLevelMapOrDefault(
int key,
int defaultValue);
/**
* map<uint32, uint32> proud_skill_extra_level_map = 17;
*/
int getProudSkillExtraLevelMapOrThrow(
int key);
/**
* bool is_focus = 18;
* @return The isFocus.
*/
boolean getIsFocus();
/**
* uint32 avatar_type = 19;
* @return The avatarType.
*/
int getAvatarType();
/**
* repeated uint32 team_resonance_list = 20;
* @return A list containing the teamResonanceList.
*/
java.util.List getTeamResonanceListList();
/**
* repeated uint32 team_resonance_list = 20;
* @return The count of teamResonanceList.
*/
int getTeamResonanceListCount();
/**
* repeated uint32 team_resonance_list = 20;
* @param index The index of the element to return.
* @return The teamResonanceList at the given index.
*/
int getTeamResonanceList(int index);
/**
* uint32 wearing_flycloak_id = 21;
* @return The wearingFlycloakId.
*/
int getWearingFlycloakId();
/**
* repeated .AvatarEquipAffixInfo equip_affix_list = 22;
*/
java.util.List
getEquipAffixListList();
/**
* repeated .AvatarEquipAffixInfo equip_affix_list = 22;
*/
emu.grasscutter.net.proto.AvatarEquipAffixInfoOuterClass.AvatarEquipAffixInfo getEquipAffixList(int index);
/**
* repeated .AvatarEquipAffixInfo equip_affix_list = 22;
*/
int getEquipAffixListCount();
/**
* repeated .AvatarEquipAffixInfo equip_affix_list = 22;
*/
java.util.List extends emu.grasscutter.net.proto.AvatarEquipAffixInfoOuterClass.AvatarEquipAffixInfoOrBuilder>
getEquipAffixListOrBuilderList();
/**
* repeated .AvatarEquipAffixInfo equip_affix_list = 22;
*/
emu.grasscutter.net.proto.AvatarEquipAffixInfoOuterClass.AvatarEquipAffixInfoOrBuilder getEquipAffixListOrBuilder(
int index);
/**
* uint32 born_time = 23;
* @return The bornTime.
*/
int getBornTime();
/**
* repeated uint32 pending_promote_reward_list = 24;
* @return A list containing the pendingPromoteRewardList.
*/
java.util.List getPendingPromoteRewardListList();
/**
* repeated uint32 pending_promote_reward_list = 24;
* @return The count of pendingPromoteRewardList.
*/
int getPendingPromoteRewardListCount();
/**
* repeated uint32 pending_promote_reward_list = 24;
* @param index The index of the element to return.
* @return The pendingPromoteRewardList at the given index.
*/
int getPendingPromoteRewardList(int index);
/**
* uint32 costume_id = 25;
* @return The costumeId.
*/
int getCostumeId();
/**
* .AvatarExcelInfo excel_info = 26;
* @return Whether the excelInfo field is set.
*/
boolean hasExcelInfo();
/**
* .AvatarExcelInfo excel_info = 26;
* @return The excelInfo.
*/
emu.grasscutter.net.proto.AvatarExcelInfoOuterClass.AvatarExcelInfo getExcelInfo();
/**
* .AvatarExcelInfo excel_info = 26;
*/
emu.grasscutter.net.proto.AvatarExcelInfoOuterClass.AvatarExcelInfoOrBuilder getExcelInfoOrBuilder();
/**
* uint32 anim_hash = 27;
* @return The animHash.
*/
int getAnimHash();
}
/**
* Protobuf type {@code AvatarInfo}
*/
public static final class AvatarInfo extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:AvatarInfo)
AvatarInfoOrBuilder {
private static final long serialVersionUID = 0L;
// Use AvatarInfo.newBuilder() to construct.
private AvatarInfo(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private AvatarInfo() {
equipGuidList_ = emptyLongList();
talentIdList_ = emptyIntList();
inherentProudSkillList_ = emptyIntList();
expeditionState_ = 0;
teamResonanceList_ = emptyIntList();
equipAffixList_ = java.util.Collections.emptyList();
pendingPromoteRewardList_ = emptyIntList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new AvatarInfo();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private AvatarInfo(
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: {
avatarId_ = input.readUInt32();
break;
}
case 16: {
guid_ = input.readUInt64();
break;
}
case 26: {
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
propMap_ = com.google.protobuf.MapField.newMapField(
PropMapDefaultEntryHolder.defaultEntry);
mutable_bitField0_ |= 0x00000001;
}
com.google.protobuf.MapEntry
propMap__ = input.readMessage(
PropMapDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
propMap_.getMutableMap().put(
propMap__.getKey(), propMap__.getValue());
break;
}
case 32: {
lifeState_ = input.readUInt32();
break;
}
case 40: {
if (!((mutable_bitField0_ & 0x00000002) != 0)) {
equipGuidList_ = newLongList();
mutable_bitField0_ |= 0x00000002;
}
equipGuidList_.addLong(input.readUInt64());
break;
}
case 42: {
int length = input.readRawVarint32();
int limit = input.pushLimit(length);
if (!((mutable_bitField0_ & 0x00000002) != 0) && input.getBytesUntilLimit() > 0) {
equipGuidList_ = newLongList();
mutable_bitField0_ |= 0x00000002;
}
while (input.getBytesUntilLimit() > 0) {
equipGuidList_.addLong(input.readUInt64());
}
input.popLimit(limit);
break;
}
case 48: {
if (!((mutable_bitField0_ & 0x00000004) != 0)) {
talentIdList_ = newIntList();
mutable_bitField0_ |= 0x00000004;
}
talentIdList_.addInt(input.readUInt32());
break;
}
case 50: {
int length = input.readRawVarint32();
int limit = input.pushLimit(length);
if (!((mutable_bitField0_ & 0x00000004) != 0) && input.getBytesUntilLimit() > 0) {
talentIdList_ = newIntList();
mutable_bitField0_ |= 0x00000004;
}
while (input.getBytesUntilLimit() > 0) {
talentIdList_.addInt(input.readUInt32());
}
input.popLimit(limit);
break;
}
case 58: {
if (!((mutable_bitField0_ & 0x00000008) != 0)) {
fightPropMap_ = com.google.protobuf.MapField.newMapField(
FightPropMapDefaultEntryHolder.defaultEntry);
mutable_bitField0_ |= 0x00000008;
}
com.google.protobuf.MapEntry
fightPropMap__ = input.readMessage(
FightPropMapDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
fightPropMap_.getMutableMap().put(
fightPropMap__.getKey(), fightPropMap__.getValue());
break;
}
case 74: {
emu.grasscutter.net.proto.TrialAvatarInfoOuterClass.TrialAvatarInfo.Builder subBuilder = null;
if (trialAvatarInfo_ != null) {
subBuilder = trialAvatarInfo_.toBuilder();
}
trialAvatarInfo_ = input.readMessage(emu.grasscutter.net.proto.TrialAvatarInfoOuterClass.TrialAvatarInfo.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(trialAvatarInfo_);
trialAvatarInfo_ = subBuilder.buildPartial();
}
break;
}
case 82: {
if (!((mutable_bitField0_ & 0x00000010) != 0)) {
skillMap_ = com.google.protobuf.MapField.newMapField(
SkillMapDefaultEntryHolder.defaultEntry);
mutable_bitField0_ |= 0x00000010;
}
com.google.protobuf.MapEntry
skillMap__ = input.readMessage(
SkillMapDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
skillMap_.getMutableMap().put(
skillMap__.getKey(), skillMap__.getValue());
break;
}
case 88: {
skillDepotId_ = input.readUInt32();
break;
}
case 98: {
emu.grasscutter.net.proto.AvatarFetterInfoOuterClass.AvatarFetterInfo.Builder subBuilder = null;
if (fetterInfo_ != null) {
subBuilder = fetterInfo_.toBuilder();
}
fetterInfo_ = input.readMessage(emu.grasscutter.net.proto.AvatarFetterInfoOuterClass.AvatarFetterInfo.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(fetterInfo_);
fetterInfo_ = subBuilder.buildPartial();
}
break;
}
case 104: {
coreProudSkillLevel_ = input.readUInt32();
break;
}
case 112: {
if (!((mutable_bitField0_ & 0x00000020) != 0)) {
inherentProudSkillList_ = newIntList();
mutable_bitField0_ |= 0x00000020;
}
inherentProudSkillList_.addInt(input.readUInt32());
break;
}
case 114: {
int length = input.readRawVarint32();
int limit = input.pushLimit(length);
if (!((mutable_bitField0_ & 0x00000020) != 0) && input.getBytesUntilLimit() > 0) {
inherentProudSkillList_ = newIntList();
mutable_bitField0_ |= 0x00000020;
}
while (input.getBytesUntilLimit() > 0) {
inherentProudSkillList_.addInt(input.readUInt32());
}
input.popLimit(limit);
break;
}
case 122: {
if (!((mutable_bitField0_ & 0x00000040) != 0)) {
skillLevelMap_ = com.google.protobuf.MapField.newMapField(
SkillLevelMapDefaultEntryHolder.defaultEntry);
mutable_bitField0_ |= 0x00000040;
}
com.google.protobuf.MapEntry
skillLevelMap__ = input.readMessage(
SkillLevelMapDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
skillLevelMap_.getMutableMap().put(
skillLevelMap__.getKey(), skillLevelMap__.getValue());
break;
}
case 128: {
int rawValue = input.readEnum();
expeditionState_ = rawValue;
break;
}
case 138: {
if (!((mutable_bitField0_ & 0x00000080) != 0)) {
proudSkillExtraLevelMap_ = com.google.protobuf.MapField.newMapField(
ProudSkillExtraLevelMapDefaultEntryHolder.defaultEntry);
mutable_bitField0_ |= 0x00000080;
}
com.google.protobuf.MapEntry
proudSkillExtraLevelMap__ = input.readMessage(
ProudSkillExtraLevelMapDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
proudSkillExtraLevelMap_.getMutableMap().put(
proudSkillExtraLevelMap__.getKey(), proudSkillExtraLevelMap__.getValue());
break;
}
case 144: {
isFocus_ = input.readBool();
break;
}
case 152: {
avatarType_ = input.readUInt32();
break;
}
case 160: {
if (!((mutable_bitField0_ & 0x00000100) != 0)) {
teamResonanceList_ = newIntList();
mutable_bitField0_ |= 0x00000100;
}
teamResonanceList_.addInt(input.readUInt32());
break;
}
case 162: {
int length = input.readRawVarint32();
int limit = input.pushLimit(length);
if (!((mutable_bitField0_ & 0x00000100) != 0) && input.getBytesUntilLimit() > 0) {
teamResonanceList_ = newIntList();
mutable_bitField0_ |= 0x00000100;
}
while (input.getBytesUntilLimit() > 0) {
teamResonanceList_.addInt(input.readUInt32());
}
input.popLimit(limit);
break;
}
case 168: {
wearingFlycloakId_ = input.readUInt32();
break;
}
case 178: {
if (!((mutable_bitField0_ & 0x00000200) != 0)) {
equipAffixList_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000200;
}
equipAffixList_.add(
input.readMessage(emu.grasscutter.net.proto.AvatarEquipAffixInfoOuterClass.AvatarEquipAffixInfo.parser(), extensionRegistry));
break;
}
case 184: {
bornTime_ = input.readUInt32();
break;
}
case 192: {
if (!((mutable_bitField0_ & 0x00000400) != 0)) {
pendingPromoteRewardList_ = newIntList();
mutable_bitField0_ |= 0x00000400;
}
pendingPromoteRewardList_.addInt(input.readUInt32());
break;
}
case 194: {
int length = input.readRawVarint32();
int limit = input.pushLimit(length);
if (!((mutable_bitField0_ & 0x00000400) != 0) && input.getBytesUntilLimit() > 0) {
pendingPromoteRewardList_ = newIntList();
mutable_bitField0_ |= 0x00000400;
}
while (input.getBytesUntilLimit() > 0) {
pendingPromoteRewardList_.addInt(input.readUInt32());
}
input.popLimit(limit);
break;
}
case 200: {
costumeId_ = input.readUInt32();
break;
}
case 210: {
emu.grasscutter.net.proto.AvatarExcelInfoOuterClass.AvatarExcelInfo.Builder subBuilder = null;
if (excelInfo_ != null) {
subBuilder = excelInfo_.toBuilder();
}
excelInfo_ = input.readMessage(emu.grasscutter.net.proto.AvatarExcelInfoOuterClass.AvatarExcelInfo.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(excelInfo_);
excelInfo_ = subBuilder.buildPartial();
}
break;
}
case 216: {
animHash_ = input.readUInt32();
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)) {
equipGuidList_.makeImmutable(); // C
}
if (((mutable_bitField0_ & 0x00000004) != 0)) {
talentIdList_.makeImmutable(); // C
}
if (((mutable_bitField0_ & 0x00000020) != 0)) {
inherentProudSkillList_.makeImmutable(); // C
}
if (((mutable_bitField0_ & 0x00000100) != 0)) {
teamResonanceList_.makeImmutable(); // C
}
if (((mutable_bitField0_ & 0x00000200) != 0)) {
equipAffixList_ = java.util.Collections.unmodifiableList(equipAffixList_);
}
if (((mutable_bitField0_ & 0x00000400) != 0)) {
pendingPromoteRewardList_.makeImmutable(); // C
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return emu.grasscutter.net.proto.AvatarInfoOuterClass.internal_static_AvatarInfo_descriptor;
}
@SuppressWarnings({"rawtypes"})
@java.lang.Override
protected com.google.protobuf.MapField internalGetMapField(
int number) {
switch (number) {
case 3:
return internalGetPropMap();
case 7:
return internalGetFightPropMap();
case 10:
return internalGetSkillMap();
case 15:
return internalGetSkillLevelMap();
case 17:
return internalGetProudSkillExtraLevelMap();
default:
throw new RuntimeException(
"Invalid map field number: " + number);
}
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return emu.grasscutter.net.proto.AvatarInfoOuterClass.internal_static_AvatarInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
emu.grasscutter.net.proto.AvatarInfoOuterClass.AvatarInfo.class, emu.grasscutter.net.proto.AvatarInfoOuterClass.AvatarInfo.Builder.class);
}
public static final int AVATAR_ID_FIELD_NUMBER = 1;
private int avatarId_;
/**
* uint32 avatar_id = 1;
* @return The avatarId.
*/
@java.lang.Override
public int getAvatarId() {
return avatarId_;
}
public static final int GUID_FIELD_NUMBER = 2;
private long guid_;
/**
* uint64 guid = 2;
* @return The guid.
*/
@java.lang.Override
public long getGuid() {
return guid_;
}
public static final int PROP_MAP_FIELD_NUMBER = 3;
private static final class PropMapDefaultEntryHolder {
static final com.google.protobuf.MapEntry<
java.lang.Integer, emu.grasscutter.net.proto.PropValueOuterClass.PropValue> defaultEntry =
com.google.protobuf.MapEntry
.newDefaultInstance(
emu.grasscutter.net.proto.AvatarInfoOuterClass.internal_static_AvatarInfo_PropMapEntry_descriptor,
com.google.protobuf.WireFormat.FieldType.UINT32,
0,
com.google.protobuf.WireFormat.FieldType.MESSAGE,
emu.grasscutter.net.proto.PropValueOuterClass.PropValue.getDefaultInstance());
}
private com.google.protobuf.MapField<
java.lang.Integer, emu.grasscutter.net.proto.PropValueOuterClass.PropValue> propMap_;
private com.google.protobuf.MapField
internalGetPropMap() {
if (propMap_ == null) {
return com.google.protobuf.MapField.emptyMapField(
PropMapDefaultEntryHolder.defaultEntry);
}
return propMap_;
}
public int getPropMapCount() {
return internalGetPropMap().getMap().size();
}
/**
* map<uint32, .PropValue> prop_map = 3;
*/
@java.lang.Override
public boolean containsPropMap(
int key) {
return internalGetPropMap().getMap().containsKey(key);
}
/**
* Use {@link #getPropMapMap()} instead.
*/
@java.lang.Override
@java.lang.Deprecated
public java.util.Map getPropMap() {
return getPropMapMap();
}
/**
* map<uint32, .PropValue> prop_map = 3;
*/
@java.lang.Override
public java.util.Map getPropMapMap() {
return internalGetPropMap().getMap();
}
/**
* map<uint32, .PropValue> prop_map = 3;
*/
@java.lang.Override
public emu.grasscutter.net.proto.PropValueOuterClass.PropValue getPropMapOrDefault(
int key,
emu.grasscutter.net.proto.PropValueOuterClass.PropValue defaultValue) {
java.util.Map map =
internalGetPropMap().getMap();
return map.containsKey(key) ? map.get(key) : defaultValue;
}
/**
* map<uint32, .PropValue> prop_map = 3;
*/
@java.lang.Override
public emu.grasscutter.net.proto.PropValueOuterClass.PropValue getPropMapOrThrow(
int key) {
java.util.Map map =
internalGetPropMap().getMap();
if (!map.containsKey(key)) {
throw new java.lang.IllegalArgumentException();
}
return map.get(key);
}
public static final int LIFE_STATE_FIELD_NUMBER = 4;
private int lifeState_;
/**
* uint32 life_state = 4;
* @return The lifeState.
*/
@java.lang.Override
public int getLifeState() {
return lifeState_;
}
public static final int EQUIP_GUID_LIST_FIELD_NUMBER = 5;
private com.google.protobuf.Internal.LongList equipGuidList_;
/**
* repeated uint64 equip_guid_list = 5;
* @return A list containing the equipGuidList.
*/
@java.lang.Override
public java.util.List
getEquipGuidListList() {
return equipGuidList_;
}
/**
* repeated uint64 equip_guid_list = 5;
* @return The count of equipGuidList.
*/
public int getEquipGuidListCount() {
return equipGuidList_.size();
}
/**
* repeated uint64 equip_guid_list = 5;
* @param index The index of the element to return.
* @return The equipGuidList at the given index.
*/
public long getEquipGuidList(int index) {
return equipGuidList_.getLong(index);
}
private int equipGuidListMemoizedSerializedSize = -1;
public static final int TALENT_ID_LIST_FIELD_NUMBER = 6;
private com.google.protobuf.Internal.IntList talentIdList_;
/**
* repeated uint32 talent_id_list = 6;
* @return A list containing the talentIdList.
*/
@java.lang.Override
public java.util.List
getTalentIdListList() {
return talentIdList_;
}
/**
* repeated uint32 talent_id_list = 6;
* @return The count of talentIdList.
*/
public int getTalentIdListCount() {
return talentIdList_.size();
}
/**
* repeated uint32 talent_id_list = 6;
* @param index The index of the element to return.
* @return The talentIdList at the given index.
*/
public int getTalentIdList(int index) {
return talentIdList_.getInt(index);
}
private int talentIdListMemoizedSerializedSize = -1;
public static final int FIGHT_PROP_MAP_FIELD_NUMBER = 7;
private static final class FightPropMapDefaultEntryHolder {
static final com.google.protobuf.MapEntry<
java.lang.Integer, java.lang.Float> defaultEntry =
com.google.protobuf.MapEntry
.newDefaultInstance(
emu.grasscutter.net.proto.AvatarInfoOuterClass.internal_static_AvatarInfo_FightPropMapEntry_descriptor,
com.google.protobuf.WireFormat.FieldType.UINT32,
0,
com.google.protobuf.WireFormat.FieldType.FLOAT,
0F);
}
private com.google.protobuf.MapField<
java.lang.Integer, java.lang.Float> fightPropMap_;
private com.google.protobuf.MapField
internalGetFightPropMap() {
if (fightPropMap_ == null) {
return com.google.protobuf.MapField.emptyMapField(
FightPropMapDefaultEntryHolder.defaultEntry);
}
return fightPropMap_;
}
public int getFightPropMapCount() {
return internalGetFightPropMap().getMap().size();
}
/**
* map<uint32, float> fight_prop_map = 7;
*/
@java.lang.Override
public boolean containsFightPropMap(
int key) {
return internalGetFightPropMap().getMap().containsKey(key);
}
/**
* Use {@link #getFightPropMapMap()} instead.
*/
@java.lang.Override
@java.lang.Deprecated
public java.util.Map getFightPropMap() {
return getFightPropMapMap();
}
/**
* map<uint32, float> fight_prop_map = 7;
*/
@java.lang.Override
public java.util.Map getFightPropMapMap() {
return internalGetFightPropMap().getMap();
}
/**
* map<uint32, float> fight_prop_map = 7;
*/
@java.lang.Override
public float getFightPropMapOrDefault(
int key,
float defaultValue) {
java.util.Map map =
internalGetFightPropMap().getMap();
return map.containsKey(key) ? map.get(key) : defaultValue;
}
/**
* map<uint32, float> fight_prop_map = 7;
*/
@java.lang.Override
public float getFightPropMapOrThrow(
int key) {
java.util.Map map =
internalGetFightPropMap().getMap();
if (!map.containsKey(key)) {
throw new java.lang.IllegalArgumentException();
}
return map.get(key);
}
public static final int TRIAL_AVATAR_INFO_FIELD_NUMBER = 9;
private emu.grasscutter.net.proto.TrialAvatarInfoOuterClass.TrialAvatarInfo trialAvatarInfo_;
/**
* .TrialAvatarInfo trial_avatar_info = 9;
* @return Whether the trialAvatarInfo field is set.
*/
@java.lang.Override
public boolean hasTrialAvatarInfo() {
return trialAvatarInfo_ != null;
}
/**
* .TrialAvatarInfo trial_avatar_info = 9;
* @return The trialAvatarInfo.
*/
@java.lang.Override
public emu.grasscutter.net.proto.TrialAvatarInfoOuterClass.TrialAvatarInfo getTrialAvatarInfo() {
return trialAvatarInfo_ == null ? emu.grasscutter.net.proto.TrialAvatarInfoOuterClass.TrialAvatarInfo.getDefaultInstance() : trialAvatarInfo_;
}
/**
* .TrialAvatarInfo trial_avatar_info = 9;
*/
@java.lang.Override
public emu.grasscutter.net.proto.TrialAvatarInfoOuterClass.TrialAvatarInfoOrBuilder getTrialAvatarInfoOrBuilder() {
return getTrialAvatarInfo();
}
public static final int SKILL_MAP_FIELD_NUMBER = 10;
private static final class SkillMapDefaultEntryHolder {
static final com.google.protobuf.MapEntry<
java.lang.Integer, emu.grasscutter.net.proto.AvatarSkillInfoOuterClass.AvatarSkillInfo> defaultEntry =
com.google.protobuf.MapEntry
.newDefaultInstance(
emu.grasscutter.net.proto.AvatarInfoOuterClass.internal_static_AvatarInfo_SkillMapEntry_descriptor,
com.google.protobuf.WireFormat.FieldType.UINT32,
0,
com.google.protobuf.WireFormat.FieldType.MESSAGE,
emu.grasscutter.net.proto.AvatarSkillInfoOuterClass.AvatarSkillInfo.getDefaultInstance());
}
private com.google.protobuf.MapField<
java.lang.Integer, emu.grasscutter.net.proto.AvatarSkillInfoOuterClass.AvatarSkillInfo> skillMap_;
private com.google.protobuf.MapField
internalGetSkillMap() {
if (skillMap_ == null) {
return com.google.protobuf.MapField.emptyMapField(
SkillMapDefaultEntryHolder.defaultEntry);
}
return skillMap_;
}
public int getSkillMapCount() {
return internalGetSkillMap().getMap().size();
}
/**
* map<uint32, .AvatarSkillInfo> skill_map = 10;
*/
@java.lang.Override
public boolean containsSkillMap(
int key) {
return internalGetSkillMap().getMap().containsKey(key);
}
/**
* Use {@link #getSkillMapMap()} instead.
*/
@java.lang.Override
@java.lang.Deprecated
public java.util.Map getSkillMap() {
return getSkillMapMap();
}
/**
* map<uint32, .AvatarSkillInfo> skill_map = 10;
*/
@java.lang.Override
public java.util.Map getSkillMapMap() {
return internalGetSkillMap().getMap();
}
/**
* map<uint32, .AvatarSkillInfo> skill_map = 10;
*/
@java.lang.Override
public emu.grasscutter.net.proto.AvatarSkillInfoOuterClass.AvatarSkillInfo getSkillMapOrDefault(
int key,
emu.grasscutter.net.proto.AvatarSkillInfoOuterClass.AvatarSkillInfo defaultValue) {
java.util.Map map =
internalGetSkillMap().getMap();
return map.containsKey(key) ? map.get(key) : defaultValue;
}
/**
* map<uint32, .AvatarSkillInfo> skill_map = 10;
*/
@java.lang.Override
public emu.grasscutter.net.proto.AvatarSkillInfoOuterClass.AvatarSkillInfo getSkillMapOrThrow(
int key) {
java.util.Map map =
internalGetSkillMap().getMap();
if (!map.containsKey(key)) {
throw new java.lang.IllegalArgumentException();
}
return map.get(key);
}
public static final int SKILL_DEPOT_ID_FIELD_NUMBER = 11;
private int skillDepotId_;
/**
* uint32 skill_depot_id = 11;
* @return The skillDepotId.
*/
@java.lang.Override
public int getSkillDepotId() {
return skillDepotId_;
}
public static final int FETTER_INFO_FIELD_NUMBER = 12;
private emu.grasscutter.net.proto.AvatarFetterInfoOuterClass.AvatarFetterInfo fetterInfo_;
/**
* .AvatarFetterInfo fetter_info = 12;
* @return Whether the fetterInfo field is set.
*/
@java.lang.Override
public boolean hasFetterInfo() {
return fetterInfo_ != null;
}
/**
* .AvatarFetterInfo fetter_info = 12;
* @return The fetterInfo.
*/
@java.lang.Override
public emu.grasscutter.net.proto.AvatarFetterInfoOuterClass.AvatarFetterInfo getFetterInfo() {
return fetterInfo_ == null ? emu.grasscutter.net.proto.AvatarFetterInfoOuterClass.AvatarFetterInfo.getDefaultInstance() : fetterInfo_;
}
/**
* .AvatarFetterInfo fetter_info = 12;
*/
@java.lang.Override
public emu.grasscutter.net.proto.AvatarFetterInfoOuterClass.AvatarFetterInfoOrBuilder getFetterInfoOrBuilder() {
return getFetterInfo();
}
public static final int CORE_PROUD_SKILL_LEVEL_FIELD_NUMBER = 13;
private int coreProudSkillLevel_;
/**
* uint32 core_proud_skill_level = 13;
* @return The coreProudSkillLevel.
*/
@java.lang.Override
public int getCoreProudSkillLevel() {
return coreProudSkillLevel_;
}
public static final int INHERENT_PROUD_SKILL_LIST_FIELD_NUMBER = 14;
private com.google.protobuf.Internal.IntList inherentProudSkillList_;
/**
* repeated uint32 inherent_proud_skill_list = 14;
* @return A list containing the inherentProudSkillList.
*/
@java.lang.Override
public java.util.List
getInherentProudSkillListList() {
return inherentProudSkillList_;
}
/**
* repeated uint32 inherent_proud_skill_list = 14;
* @return The count of inherentProudSkillList.
*/
public int getInherentProudSkillListCount() {
return inherentProudSkillList_.size();
}
/**
* repeated uint32 inherent_proud_skill_list = 14;
* @param index The index of the element to return.
* @return The inherentProudSkillList at the given index.
*/
public int getInherentProudSkillList(int index) {
return inherentProudSkillList_.getInt(index);
}
private int inherentProudSkillListMemoizedSerializedSize = -1;
public static final int SKILL_LEVEL_MAP_FIELD_NUMBER = 15;
private static final class SkillLevelMapDefaultEntryHolder {
static final com.google.protobuf.MapEntry<
java.lang.Integer, java.lang.Integer> defaultEntry =
com.google.protobuf.MapEntry
.newDefaultInstance(
emu.grasscutter.net.proto.AvatarInfoOuterClass.internal_static_AvatarInfo_SkillLevelMapEntry_descriptor,
com.google.protobuf.WireFormat.FieldType.UINT32,
0,
com.google.protobuf.WireFormat.FieldType.UINT32,
0);
}
private com.google.protobuf.MapField<
java.lang.Integer, java.lang.Integer> skillLevelMap_;
private com.google.protobuf.MapField
internalGetSkillLevelMap() {
if (skillLevelMap_ == null) {
return com.google.protobuf.MapField.emptyMapField(
SkillLevelMapDefaultEntryHolder.defaultEntry);
}
return skillLevelMap_;
}
public int getSkillLevelMapCount() {
return internalGetSkillLevelMap().getMap().size();
}
/**
* map<uint32, uint32> skill_level_map = 15;
*/
@java.lang.Override
public boolean containsSkillLevelMap(
int key) {
return internalGetSkillLevelMap().getMap().containsKey(key);
}
/**
* Use {@link #getSkillLevelMapMap()} instead.
*/
@java.lang.Override
@java.lang.Deprecated
public java.util.Map getSkillLevelMap() {
return getSkillLevelMapMap();
}
/**
* map<uint32, uint32> skill_level_map = 15;
*/
@java.lang.Override
public java.util.Map getSkillLevelMapMap() {
return internalGetSkillLevelMap().getMap();
}
/**
* map<uint32, uint32> skill_level_map = 15;
*/
@java.lang.Override
public int getSkillLevelMapOrDefault(
int key,
int defaultValue) {
java.util.Map map =
internalGetSkillLevelMap().getMap();
return map.containsKey(key) ? map.get(key) : defaultValue;
}
/**
* map<uint32, uint32> skill_level_map = 15;
*/
@java.lang.Override
public int getSkillLevelMapOrThrow(
int key) {
java.util.Map map =
internalGetSkillLevelMap().getMap();
if (!map.containsKey(key)) {
throw new java.lang.IllegalArgumentException();
}
return map.get(key);
}
public static final int EXPEDITION_STATE_FIELD_NUMBER = 16;
private int expeditionState_;
/**
* .AvatarExpeditionState expedition_state = 16;
* @return The enum numeric value on the wire for expeditionState.
*/
@java.lang.Override public int getExpeditionStateValue() {
return expeditionState_;
}
/**
* .AvatarExpeditionState expedition_state = 16;
* @return The expeditionState.
*/
@java.lang.Override public emu.grasscutter.net.proto.AvatarExpeditionStateOuterClass.AvatarExpeditionState getExpeditionState() {
@SuppressWarnings("deprecation")
emu.grasscutter.net.proto.AvatarExpeditionStateOuterClass.AvatarExpeditionState result = emu.grasscutter.net.proto.AvatarExpeditionStateOuterClass.AvatarExpeditionState.valueOf(expeditionState_);
return result == null ? emu.grasscutter.net.proto.AvatarExpeditionStateOuterClass.AvatarExpeditionState.UNRECOGNIZED : result;
}
public static final int PROUD_SKILL_EXTRA_LEVEL_MAP_FIELD_NUMBER = 17;
private static final class ProudSkillExtraLevelMapDefaultEntryHolder {
static final com.google.protobuf.MapEntry<
java.lang.Integer, java.lang.Integer> defaultEntry =
com.google.protobuf.MapEntry
.newDefaultInstance(
emu.grasscutter.net.proto.AvatarInfoOuterClass.internal_static_AvatarInfo_ProudSkillExtraLevelMapEntry_descriptor,
com.google.protobuf.WireFormat.FieldType.UINT32,
0,
com.google.protobuf.WireFormat.FieldType.UINT32,
0);
}
private com.google.protobuf.MapField<
java.lang.Integer, java.lang.Integer> proudSkillExtraLevelMap_;
private com.google.protobuf.MapField
internalGetProudSkillExtraLevelMap() {
if (proudSkillExtraLevelMap_ == null) {
return com.google.protobuf.MapField.emptyMapField(
ProudSkillExtraLevelMapDefaultEntryHolder.defaultEntry);
}
return proudSkillExtraLevelMap_;
}
public int getProudSkillExtraLevelMapCount() {
return internalGetProudSkillExtraLevelMap().getMap().size();
}
/**
* map<uint32, uint32> proud_skill_extra_level_map = 17;
*/
@java.lang.Override
public boolean containsProudSkillExtraLevelMap(
int key) {
return internalGetProudSkillExtraLevelMap().getMap().containsKey(key);
}
/**
* Use {@link #getProudSkillExtraLevelMapMap()} instead.
*/
@java.lang.Override
@java.lang.Deprecated
public java.util.Map getProudSkillExtraLevelMap() {
return getProudSkillExtraLevelMapMap();
}
/**
* map<uint32, uint32> proud_skill_extra_level_map = 17;
*/
@java.lang.Override
public java.util.Map getProudSkillExtraLevelMapMap() {
return internalGetProudSkillExtraLevelMap().getMap();
}
/**
* map<uint32, uint32> proud_skill_extra_level_map = 17;
*/
@java.lang.Override
public int getProudSkillExtraLevelMapOrDefault(
int key,
int defaultValue) {
java.util.Map map =
internalGetProudSkillExtraLevelMap().getMap();
return map.containsKey(key) ? map.get(key) : defaultValue;
}
/**
* map<uint32, uint32> proud_skill_extra_level_map = 17;
*/
@java.lang.Override
public int getProudSkillExtraLevelMapOrThrow(
int key) {
java.util.Map map =
internalGetProudSkillExtraLevelMap().getMap();
if (!map.containsKey(key)) {
throw new java.lang.IllegalArgumentException();
}
return map.get(key);
}
public static final int IS_FOCUS_FIELD_NUMBER = 18;
private boolean isFocus_;
/**
* bool is_focus = 18;
* @return The isFocus.
*/
@java.lang.Override
public boolean getIsFocus() {
return isFocus_;
}
public static final int AVATAR_TYPE_FIELD_NUMBER = 19;
private int avatarType_;
/**
* uint32 avatar_type = 19;
* @return The avatarType.
*/
@java.lang.Override
public int getAvatarType() {
return avatarType_;
}
public static final int TEAM_RESONANCE_LIST_FIELD_NUMBER = 20;
private com.google.protobuf.Internal.IntList teamResonanceList_;
/**
* repeated uint32 team_resonance_list = 20;
* @return A list containing the teamResonanceList.
*/
@java.lang.Override
public java.util.List
getTeamResonanceListList() {
return teamResonanceList_;
}
/**
* repeated uint32 team_resonance_list = 20;
* @return The count of teamResonanceList.
*/
public int getTeamResonanceListCount() {
return teamResonanceList_.size();
}
/**
* repeated uint32 team_resonance_list = 20;
* @param index The index of the element to return.
* @return The teamResonanceList at the given index.
*/
public int getTeamResonanceList(int index) {
return teamResonanceList_.getInt(index);
}
private int teamResonanceListMemoizedSerializedSize = -1;
public static final int WEARING_FLYCLOAK_ID_FIELD_NUMBER = 21;
private int wearingFlycloakId_;
/**
* uint32 wearing_flycloak_id = 21;
* @return The wearingFlycloakId.
*/
@java.lang.Override
public int getWearingFlycloakId() {
return wearingFlycloakId_;
}
public static final int EQUIP_AFFIX_LIST_FIELD_NUMBER = 22;
private java.util.List equipAffixList_;
/**
* repeated .AvatarEquipAffixInfo equip_affix_list = 22;
*/
@java.lang.Override
public java.util.List getEquipAffixListList() {
return equipAffixList_;
}
/**
* repeated .AvatarEquipAffixInfo equip_affix_list = 22;
*/
@java.lang.Override
public java.util.List extends emu.grasscutter.net.proto.AvatarEquipAffixInfoOuterClass.AvatarEquipAffixInfoOrBuilder>
getEquipAffixListOrBuilderList() {
return equipAffixList_;
}
/**
* repeated .AvatarEquipAffixInfo equip_affix_list = 22;
*/
@java.lang.Override
public int getEquipAffixListCount() {
return equipAffixList_.size();
}
/**
* repeated .AvatarEquipAffixInfo equip_affix_list = 22;
*/
@java.lang.Override
public emu.grasscutter.net.proto.AvatarEquipAffixInfoOuterClass.AvatarEquipAffixInfo getEquipAffixList(int index) {
return equipAffixList_.get(index);
}
/**
* repeated .AvatarEquipAffixInfo equip_affix_list = 22;
*/
@java.lang.Override
public emu.grasscutter.net.proto.AvatarEquipAffixInfoOuterClass.AvatarEquipAffixInfoOrBuilder getEquipAffixListOrBuilder(
int index) {
return equipAffixList_.get(index);
}
public static final int BORN_TIME_FIELD_NUMBER = 23;
private int bornTime_;
/**
* uint32 born_time = 23;
* @return The bornTime.
*/
@java.lang.Override
public int getBornTime() {
return bornTime_;
}
public static final int PENDING_PROMOTE_REWARD_LIST_FIELD_NUMBER = 24;
private com.google.protobuf.Internal.IntList pendingPromoteRewardList_;
/**
* repeated uint32 pending_promote_reward_list = 24;
* @return A list containing the pendingPromoteRewardList.
*/
@java.lang.Override
public java.util.List
getPendingPromoteRewardListList() {
return pendingPromoteRewardList_;
}
/**
* repeated uint32 pending_promote_reward_list = 24;
* @return The count of pendingPromoteRewardList.
*/
public int getPendingPromoteRewardListCount() {
return pendingPromoteRewardList_.size();
}
/**
* repeated uint32 pending_promote_reward_list = 24;
* @param index The index of the element to return.
* @return The pendingPromoteRewardList at the given index.
*/
public int getPendingPromoteRewardList(int index) {
return pendingPromoteRewardList_.getInt(index);
}
private int pendingPromoteRewardListMemoizedSerializedSize = -1;
public static final int COSTUME_ID_FIELD_NUMBER = 25;
private int costumeId_;
/**
* uint32 costume_id = 25;
* @return The costumeId.
*/
@java.lang.Override
public int getCostumeId() {
return costumeId_;
}
public static final int EXCEL_INFO_FIELD_NUMBER = 26;
private emu.grasscutter.net.proto.AvatarExcelInfoOuterClass.AvatarExcelInfo excelInfo_;
/**
* .AvatarExcelInfo excel_info = 26;
* @return Whether the excelInfo field is set.
*/
@java.lang.Override
public boolean hasExcelInfo() {
return excelInfo_ != null;
}
/**
* .AvatarExcelInfo excel_info = 26;
* @return The excelInfo.
*/
@java.lang.Override
public emu.grasscutter.net.proto.AvatarExcelInfoOuterClass.AvatarExcelInfo getExcelInfo() {
return excelInfo_ == null ? emu.grasscutter.net.proto.AvatarExcelInfoOuterClass.AvatarExcelInfo.getDefaultInstance() : excelInfo_;
}
/**
* .AvatarExcelInfo excel_info = 26;
*/
@java.lang.Override
public emu.grasscutter.net.proto.AvatarExcelInfoOuterClass.AvatarExcelInfoOrBuilder getExcelInfoOrBuilder() {
return getExcelInfo();
}
public static final int ANIM_HASH_FIELD_NUMBER = 27;
private int animHash_;
/**
* uint32 anim_hash = 27;
* @return The animHash.
*/
@java.lang.Override
public int getAnimHash() {
return animHash_;
}
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 (avatarId_ != 0) {
output.writeUInt32(1, avatarId_);
}
if (guid_ != 0L) {
output.writeUInt64(2, guid_);
}
com.google.protobuf.GeneratedMessageV3
.serializeIntegerMapTo(
output,
internalGetPropMap(),
PropMapDefaultEntryHolder.defaultEntry,
3);
if (lifeState_ != 0) {
output.writeUInt32(4, lifeState_);
}
if (getEquipGuidListList().size() > 0) {
output.writeUInt32NoTag(42);
output.writeUInt32NoTag(equipGuidListMemoizedSerializedSize);
}
for (int i = 0; i < equipGuidList_.size(); i++) {
output.writeUInt64NoTag(equipGuidList_.getLong(i));
}
if (getTalentIdListList().size() > 0) {
output.writeUInt32NoTag(50);
output.writeUInt32NoTag(talentIdListMemoizedSerializedSize);
}
for (int i = 0; i < talentIdList_.size(); i++) {
output.writeUInt32NoTag(talentIdList_.getInt(i));
}
com.google.protobuf.GeneratedMessageV3
.serializeIntegerMapTo(
output,
internalGetFightPropMap(),
FightPropMapDefaultEntryHolder.defaultEntry,
7);
if (trialAvatarInfo_ != null) {
output.writeMessage(9, getTrialAvatarInfo());
}
com.google.protobuf.GeneratedMessageV3
.serializeIntegerMapTo(
output,
internalGetSkillMap(),
SkillMapDefaultEntryHolder.defaultEntry,
10);
if (skillDepotId_ != 0) {
output.writeUInt32(11, skillDepotId_);
}
if (fetterInfo_ != null) {
output.writeMessage(12, getFetterInfo());
}
if (coreProudSkillLevel_ != 0) {
output.writeUInt32(13, coreProudSkillLevel_);
}
if (getInherentProudSkillListList().size() > 0) {
output.writeUInt32NoTag(114);
output.writeUInt32NoTag(inherentProudSkillListMemoizedSerializedSize);
}
for (int i = 0; i < inherentProudSkillList_.size(); i++) {
output.writeUInt32NoTag(inherentProudSkillList_.getInt(i));
}
com.google.protobuf.GeneratedMessageV3
.serializeIntegerMapTo(
output,
internalGetSkillLevelMap(),
SkillLevelMapDefaultEntryHolder.defaultEntry,
15);
if (expeditionState_ != emu.grasscutter.net.proto.AvatarExpeditionStateOuterClass.AvatarExpeditionState.AVATAR_EXPEDITION_STATE_NONE.getNumber()) {
output.writeEnum(16, expeditionState_);
}
com.google.protobuf.GeneratedMessageV3
.serializeIntegerMapTo(
output,
internalGetProudSkillExtraLevelMap(),
ProudSkillExtraLevelMapDefaultEntryHolder.defaultEntry,
17);
if (isFocus_ != false) {
output.writeBool(18, isFocus_);
}
if (avatarType_ != 0) {
output.writeUInt32(19, avatarType_);
}
if (getTeamResonanceListList().size() > 0) {
output.writeUInt32NoTag(162);
output.writeUInt32NoTag(teamResonanceListMemoizedSerializedSize);
}
for (int i = 0; i < teamResonanceList_.size(); i++) {
output.writeUInt32NoTag(teamResonanceList_.getInt(i));
}
if (wearingFlycloakId_ != 0) {
output.writeUInt32(21, wearingFlycloakId_);
}
for (int i = 0; i < equipAffixList_.size(); i++) {
output.writeMessage(22, equipAffixList_.get(i));
}
if (bornTime_ != 0) {
output.writeUInt32(23, bornTime_);
}
if (getPendingPromoteRewardListList().size() > 0) {
output.writeUInt32NoTag(194);
output.writeUInt32NoTag(pendingPromoteRewardListMemoizedSerializedSize);
}
for (int i = 0; i < pendingPromoteRewardList_.size(); i++) {
output.writeUInt32NoTag(pendingPromoteRewardList_.getInt(i));
}
if (costumeId_ != 0) {
output.writeUInt32(25, costumeId_);
}
if (excelInfo_ != null) {
output.writeMessage(26, getExcelInfo());
}
if (animHash_ != 0) {
output.writeUInt32(27, animHash_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (avatarId_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(1, avatarId_);
}
if (guid_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeUInt64Size(2, guid_);
}
for (java.util.Map.Entry entry
: internalGetPropMap().getMap().entrySet()) {
com.google.protobuf.MapEntry
propMap__ = PropMapDefaultEntryHolder.defaultEntry.newBuilderForType()
.setKey(entry.getKey())
.setValue(entry.getValue())
.build();
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, propMap__);
}
if (lifeState_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(4, lifeState_);
}
{
int dataSize = 0;
for (int i = 0; i < equipGuidList_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeUInt64SizeNoTag(equipGuidList_.getLong(i));
}
size += dataSize;
if (!getEquipGuidListList().isEmpty()) {
size += 1;
size += com.google.protobuf.CodedOutputStream
.computeInt32SizeNoTag(dataSize);
}
equipGuidListMemoizedSerializedSize = dataSize;
}
{
int dataSize = 0;
for (int i = 0; i < talentIdList_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeUInt32SizeNoTag(talentIdList_.getInt(i));
}
size += dataSize;
if (!getTalentIdListList().isEmpty()) {
size += 1;
size += com.google.protobuf.CodedOutputStream
.computeInt32SizeNoTag(dataSize);
}
talentIdListMemoizedSerializedSize = dataSize;
}
for (java.util.Map.Entry entry
: internalGetFightPropMap().getMap().entrySet()) {
com.google.protobuf.MapEntry
fightPropMap__ = FightPropMapDefaultEntryHolder.defaultEntry.newBuilderForType()
.setKey(entry.getKey())
.setValue(entry.getValue())
.build();
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(7, fightPropMap__);
}
if (trialAvatarInfo_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(9, getTrialAvatarInfo());
}
for (java.util.Map.Entry entry
: internalGetSkillMap().getMap().entrySet()) {
com.google.protobuf.MapEntry
skillMap__ = SkillMapDefaultEntryHolder.defaultEntry.newBuilderForType()
.setKey(entry.getKey())
.setValue(entry.getValue())
.build();
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(10, skillMap__);
}
if (skillDepotId_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(11, skillDepotId_);
}
if (fetterInfo_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(12, getFetterInfo());
}
if (coreProudSkillLevel_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(13, coreProudSkillLevel_);
}
{
int dataSize = 0;
for (int i = 0; i < inherentProudSkillList_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeUInt32SizeNoTag(inherentProudSkillList_.getInt(i));
}
size += dataSize;
if (!getInherentProudSkillListList().isEmpty()) {
size += 1;
size += com.google.protobuf.CodedOutputStream
.computeInt32SizeNoTag(dataSize);
}
inherentProudSkillListMemoizedSerializedSize = dataSize;
}
for (java.util.Map.Entry entry
: internalGetSkillLevelMap().getMap().entrySet()) {
com.google.protobuf.MapEntry
skillLevelMap__ = SkillLevelMapDefaultEntryHolder.defaultEntry.newBuilderForType()
.setKey(entry.getKey())
.setValue(entry.getValue())
.build();
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(15, skillLevelMap__);
}
if (expeditionState_ != emu.grasscutter.net.proto.AvatarExpeditionStateOuterClass.AvatarExpeditionState.AVATAR_EXPEDITION_STATE_NONE.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(16, expeditionState_);
}
for (java.util.Map.Entry entry
: internalGetProudSkillExtraLevelMap().getMap().entrySet()) {
com.google.protobuf.MapEntry
proudSkillExtraLevelMap__ = ProudSkillExtraLevelMapDefaultEntryHolder.defaultEntry.newBuilderForType()
.setKey(entry.getKey())
.setValue(entry.getValue())
.build();
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(17, proudSkillExtraLevelMap__);
}
if (isFocus_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(18, isFocus_);
}
if (avatarType_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(19, avatarType_);
}
{
int dataSize = 0;
for (int i = 0; i < teamResonanceList_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeUInt32SizeNoTag(teamResonanceList_.getInt(i));
}
size += dataSize;
if (!getTeamResonanceListList().isEmpty()) {
size += 2;
size += com.google.protobuf.CodedOutputStream
.computeInt32SizeNoTag(dataSize);
}
teamResonanceListMemoizedSerializedSize = dataSize;
}
if (wearingFlycloakId_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(21, wearingFlycloakId_);
}
for (int i = 0; i < equipAffixList_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(22, equipAffixList_.get(i));
}
if (bornTime_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(23, bornTime_);
}
{
int dataSize = 0;
for (int i = 0; i < pendingPromoteRewardList_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeUInt32SizeNoTag(pendingPromoteRewardList_.getInt(i));
}
size += dataSize;
if (!getPendingPromoteRewardListList().isEmpty()) {
size += 2;
size += com.google.protobuf.CodedOutputStream
.computeInt32SizeNoTag(dataSize);
}
pendingPromoteRewardListMemoizedSerializedSize = dataSize;
}
if (costumeId_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(25, costumeId_);
}
if (excelInfo_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(26, getExcelInfo());
}
if (animHash_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(27, animHash_);
}
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.AvatarInfoOuterClass.AvatarInfo)) {
return super.equals(obj);
}
emu.grasscutter.net.proto.AvatarInfoOuterClass.AvatarInfo other = (emu.grasscutter.net.proto.AvatarInfoOuterClass.AvatarInfo) obj;
if (getAvatarId()
!= other.getAvatarId()) return false;
if (getGuid()
!= other.getGuid()) return false;
if (!internalGetPropMap().equals(
other.internalGetPropMap())) return false;
if (getLifeState()
!= other.getLifeState()) return false;
if (!getEquipGuidListList()
.equals(other.getEquipGuidListList())) return false;
if (!getTalentIdListList()
.equals(other.getTalentIdListList())) return false;
if (!internalGetFightPropMap().equals(
other.internalGetFightPropMap())) return false;
if (hasTrialAvatarInfo() != other.hasTrialAvatarInfo()) return false;
if (hasTrialAvatarInfo()) {
if (!getTrialAvatarInfo()
.equals(other.getTrialAvatarInfo())) return false;
}
if (!internalGetSkillMap().equals(
other.internalGetSkillMap())) return false;
if (getSkillDepotId()
!= other.getSkillDepotId()) return false;
if (hasFetterInfo() != other.hasFetterInfo()) return false;
if (hasFetterInfo()) {
if (!getFetterInfo()
.equals(other.getFetterInfo())) return false;
}
if (getCoreProudSkillLevel()
!= other.getCoreProudSkillLevel()) return false;
if (!getInherentProudSkillListList()
.equals(other.getInherentProudSkillListList())) return false;
if (!internalGetSkillLevelMap().equals(
other.internalGetSkillLevelMap())) return false;
if (expeditionState_ != other.expeditionState_) return false;
if (!internalGetProudSkillExtraLevelMap().equals(
other.internalGetProudSkillExtraLevelMap())) return false;
if (getIsFocus()
!= other.getIsFocus()) return false;
if (getAvatarType()
!= other.getAvatarType()) return false;
if (!getTeamResonanceListList()
.equals(other.getTeamResonanceListList())) return false;
if (getWearingFlycloakId()
!= other.getWearingFlycloakId()) return false;
if (!getEquipAffixListList()
.equals(other.getEquipAffixListList())) return false;
if (getBornTime()
!= other.getBornTime()) return false;
if (!getPendingPromoteRewardListList()
.equals(other.getPendingPromoteRewardListList())) return false;
if (getCostumeId()
!= other.getCostumeId()) return false;
if (hasExcelInfo() != other.hasExcelInfo()) return false;
if (hasExcelInfo()) {
if (!getExcelInfo()
.equals(other.getExcelInfo())) return false;
}
if (getAnimHash()
!= other.getAnimHash()) 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) + AVATAR_ID_FIELD_NUMBER;
hash = (53 * hash) + getAvatarId();
hash = (37 * hash) + GUID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getGuid());
if (!internalGetPropMap().getMap().isEmpty()) {
hash = (37 * hash) + PROP_MAP_FIELD_NUMBER;
hash = (53 * hash) + internalGetPropMap().hashCode();
}
hash = (37 * hash) + LIFE_STATE_FIELD_NUMBER;
hash = (53 * hash) + getLifeState();
if (getEquipGuidListCount() > 0) {
hash = (37 * hash) + EQUIP_GUID_LIST_FIELD_NUMBER;
hash = (53 * hash) + getEquipGuidListList().hashCode();
}
if (getTalentIdListCount() > 0) {
hash = (37 * hash) + TALENT_ID_LIST_FIELD_NUMBER;
hash = (53 * hash) + getTalentIdListList().hashCode();
}
if (!internalGetFightPropMap().getMap().isEmpty()) {
hash = (37 * hash) + FIGHT_PROP_MAP_FIELD_NUMBER;
hash = (53 * hash) + internalGetFightPropMap().hashCode();
}
if (hasTrialAvatarInfo()) {
hash = (37 * hash) + TRIAL_AVATAR_INFO_FIELD_NUMBER;
hash = (53 * hash) + getTrialAvatarInfo().hashCode();
}
if (!internalGetSkillMap().getMap().isEmpty()) {
hash = (37 * hash) + SKILL_MAP_FIELD_NUMBER;
hash = (53 * hash) + internalGetSkillMap().hashCode();
}
hash = (37 * hash) + SKILL_DEPOT_ID_FIELD_NUMBER;
hash = (53 * hash) + getSkillDepotId();
if (hasFetterInfo()) {
hash = (37 * hash) + FETTER_INFO_FIELD_NUMBER;
hash = (53 * hash) + getFetterInfo().hashCode();
}
hash = (37 * hash) + CORE_PROUD_SKILL_LEVEL_FIELD_NUMBER;
hash = (53 * hash) + getCoreProudSkillLevel();
if (getInherentProudSkillListCount() > 0) {
hash = (37 * hash) + INHERENT_PROUD_SKILL_LIST_FIELD_NUMBER;
hash = (53 * hash) + getInherentProudSkillListList().hashCode();
}
if (!internalGetSkillLevelMap().getMap().isEmpty()) {
hash = (37 * hash) + SKILL_LEVEL_MAP_FIELD_NUMBER;
hash = (53 * hash) + internalGetSkillLevelMap().hashCode();
}
hash = (37 * hash) + EXPEDITION_STATE_FIELD_NUMBER;
hash = (53 * hash) + expeditionState_;
if (!internalGetProudSkillExtraLevelMap().getMap().isEmpty()) {
hash = (37 * hash) + PROUD_SKILL_EXTRA_LEVEL_MAP_FIELD_NUMBER;
hash = (53 * hash) + internalGetProudSkillExtraLevelMap().hashCode();
}
hash = (37 * hash) + IS_FOCUS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getIsFocus());
hash = (37 * hash) + AVATAR_TYPE_FIELD_NUMBER;
hash = (53 * hash) + getAvatarType();
if (getTeamResonanceListCount() > 0) {
hash = (37 * hash) + TEAM_RESONANCE_LIST_FIELD_NUMBER;
hash = (53 * hash) + getTeamResonanceListList().hashCode();
}
hash = (37 * hash) + WEARING_FLYCLOAK_ID_FIELD_NUMBER;
hash = (53 * hash) + getWearingFlycloakId();
if (getEquipAffixListCount() > 0) {
hash = (37 * hash) + EQUIP_AFFIX_LIST_FIELD_NUMBER;
hash = (53 * hash) + getEquipAffixListList().hashCode();
}
hash = (37 * hash) + BORN_TIME_FIELD_NUMBER;
hash = (53 * hash) + getBornTime();
if (getPendingPromoteRewardListCount() > 0) {
hash = (37 * hash) + PENDING_PROMOTE_REWARD_LIST_FIELD_NUMBER;
hash = (53 * hash) + getPendingPromoteRewardListList().hashCode();
}
hash = (37 * hash) + COSTUME_ID_FIELD_NUMBER;
hash = (53 * hash) + getCostumeId();
if (hasExcelInfo()) {
hash = (37 * hash) + EXCEL_INFO_FIELD_NUMBER;
hash = (53 * hash) + getExcelInfo().hashCode();
}
hash = (37 * hash) + ANIM_HASH_FIELD_NUMBER;
hash = (53 * hash) + getAnimHash();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static emu.grasscutter.net.proto.AvatarInfoOuterClass.AvatarInfo parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.AvatarInfoOuterClass.AvatarInfo 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.AvatarInfoOuterClass.AvatarInfo parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.AvatarInfoOuterClass.AvatarInfo 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.AvatarInfoOuterClass.AvatarInfo parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.AvatarInfoOuterClass.AvatarInfo parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static emu.grasscutter.net.proto.AvatarInfoOuterClass.AvatarInfo parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.AvatarInfoOuterClass.AvatarInfo 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.AvatarInfoOuterClass.AvatarInfo parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.AvatarInfoOuterClass.AvatarInfo 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.AvatarInfoOuterClass.AvatarInfo parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.AvatarInfoOuterClass.AvatarInfo 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.AvatarInfoOuterClass.AvatarInfo 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 AvatarInfo}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:AvatarInfo)
emu.grasscutter.net.proto.AvatarInfoOuterClass.AvatarInfoOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return emu.grasscutter.net.proto.AvatarInfoOuterClass.internal_static_AvatarInfo_descriptor;
}
@SuppressWarnings({"rawtypes"})
protected com.google.protobuf.MapField internalGetMapField(
int number) {
switch (number) {
case 3:
return internalGetPropMap();
case 7:
return internalGetFightPropMap();
case 10:
return internalGetSkillMap();
case 15:
return internalGetSkillLevelMap();
case 17:
return internalGetProudSkillExtraLevelMap();
default:
throw new RuntimeException(
"Invalid map field number: " + number);
}
}
@SuppressWarnings({"rawtypes"})
protected com.google.protobuf.MapField internalGetMutableMapField(
int number) {
switch (number) {
case 3:
return internalGetMutablePropMap();
case 7:
return internalGetMutableFightPropMap();
case 10:
return internalGetMutableSkillMap();
case 15:
return internalGetMutableSkillLevelMap();
case 17:
return internalGetMutableProudSkillExtraLevelMap();
default:
throw new RuntimeException(
"Invalid map field number: " + number);
}
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return emu.grasscutter.net.proto.AvatarInfoOuterClass.internal_static_AvatarInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
emu.grasscutter.net.proto.AvatarInfoOuterClass.AvatarInfo.class, emu.grasscutter.net.proto.AvatarInfoOuterClass.AvatarInfo.Builder.class);
}
// Construct using emu.grasscutter.net.proto.AvatarInfoOuterClass.AvatarInfo.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getEquipAffixListFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
avatarId_ = 0;
guid_ = 0L;
internalGetMutablePropMap().clear();
lifeState_ = 0;
equipGuidList_ = emptyLongList();
bitField0_ = (bitField0_ & ~0x00000002);
talentIdList_ = emptyIntList();
bitField0_ = (bitField0_ & ~0x00000004);
internalGetMutableFightPropMap().clear();
if (trialAvatarInfoBuilder_ == null) {
trialAvatarInfo_ = null;
} else {
trialAvatarInfo_ = null;
trialAvatarInfoBuilder_ = null;
}
internalGetMutableSkillMap().clear();
skillDepotId_ = 0;
if (fetterInfoBuilder_ == null) {
fetterInfo_ = null;
} else {
fetterInfo_ = null;
fetterInfoBuilder_ = null;
}
coreProudSkillLevel_ = 0;
inherentProudSkillList_ = emptyIntList();
bitField0_ = (bitField0_ & ~0x00000020);
internalGetMutableSkillLevelMap().clear();
expeditionState_ = 0;
internalGetMutableProudSkillExtraLevelMap().clear();
isFocus_ = false;
avatarType_ = 0;
teamResonanceList_ = emptyIntList();
bitField0_ = (bitField0_ & ~0x00000100);
wearingFlycloakId_ = 0;
if (equipAffixListBuilder_ == null) {
equipAffixList_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000200);
} else {
equipAffixListBuilder_.clear();
}
bornTime_ = 0;
pendingPromoteRewardList_ = emptyIntList();
bitField0_ = (bitField0_ & ~0x00000400);
costumeId_ = 0;
if (excelInfoBuilder_ == null) {
excelInfo_ = null;
} else {
excelInfo_ = null;
excelInfoBuilder_ = null;
}
animHash_ = 0;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return emu.grasscutter.net.proto.AvatarInfoOuterClass.internal_static_AvatarInfo_descriptor;
}
@java.lang.Override
public emu.grasscutter.net.proto.AvatarInfoOuterClass.AvatarInfo getDefaultInstanceForType() {
return emu.grasscutter.net.proto.AvatarInfoOuterClass.AvatarInfo.getDefaultInstance();
}
@java.lang.Override
public emu.grasscutter.net.proto.AvatarInfoOuterClass.AvatarInfo build() {
emu.grasscutter.net.proto.AvatarInfoOuterClass.AvatarInfo result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public emu.grasscutter.net.proto.AvatarInfoOuterClass.AvatarInfo buildPartial() {
emu.grasscutter.net.proto.AvatarInfoOuterClass.AvatarInfo result = new emu.grasscutter.net.proto.AvatarInfoOuterClass.AvatarInfo(this);
int from_bitField0_ = bitField0_;
result.avatarId_ = avatarId_;
result.guid_ = guid_;
result.propMap_ = internalGetPropMap();
result.propMap_.makeImmutable();
result.lifeState_ = lifeState_;
if (((bitField0_ & 0x00000002) != 0)) {
equipGuidList_.makeImmutable();
bitField0_ = (bitField0_ & ~0x00000002);
}
result.equipGuidList_ = equipGuidList_;
if (((bitField0_ & 0x00000004) != 0)) {
talentIdList_.makeImmutable();
bitField0_ = (bitField0_ & ~0x00000004);
}
result.talentIdList_ = talentIdList_;
result.fightPropMap_ = internalGetFightPropMap();
result.fightPropMap_.makeImmutable();
if (trialAvatarInfoBuilder_ == null) {
result.trialAvatarInfo_ = trialAvatarInfo_;
} else {
result.trialAvatarInfo_ = trialAvatarInfoBuilder_.build();
}
result.skillMap_ = internalGetSkillMap();
result.skillMap_.makeImmutable();
result.skillDepotId_ = skillDepotId_;
if (fetterInfoBuilder_ == null) {
result.fetterInfo_ = fetterInfo_;
} else {
result.fetterInfo_ = fetterInfoBuilder_.build();
}
result.coreProudSkillLevel_ = coreProudSkillLevel_;
if (((bitField0_ & 0x00000020) != 0)) {
inherentProudSkillList_.makeImmutable();
bitField0_ = (bitField0_ & ~0x00000020);
}
result.inherentProudSkillList_ = inherentProudSkillList_;
result.skillLevelMap_ = internalGetSkillLevelMap();
result.skillLevelMap_.makeImmutable();
result.expeditionState_ = expeditionState_;
result.proudSkillExtraLevelMap_ = internalGetProudSkillExtraLevelMap();
result.proudSkillExtraLevelMap_.makeImmutable();
result.isFocus_ = isFocus_;
result.avatarType_ = avatarType_;
if (((bitField0_ & 0x00000100) != 0)) {
teamResonanceList_.makeImmutable();
bitField0_ = (bitField0_ & ~0x00000100);
}
result.teamResonanceList_ = teamResonanceList_;
result.wearingFlycloakId_ = wearingFlycloakId_;
if (equipAffixListBuilder_ == null) {
if (((bitField0_ & 0x00000200) != 0)) {
equipAffixList_ = java.util.Collections.unmodifiableList(equipAffixList_);
bitField0_ = (bitField0_ & ~0x00000200);
}
result.equipAffixList_ = equipAffixList_;
} else {
result.equipAffixList_ = equipAffixListBuilder_.build();
}
result.bornTime_ = bornTime_;
if (((bitField0_ & 0x00000400) != 0)) {
pendingPromoteRewardList_.makeImmutable();
bitField0_ = (bitField0_ & ~0x00000400);
}
result.pendingPromoteRewardList_ = pendingPromoteRewardList_;
result.costumeId_ = costumeId_;
if (excelInfoBuilder_ == null) {
result.excelInfo_ = excelInfo_;
} else {
result.excelInfo_ = excelInfoBuilder_.build();
}
result.animHash_ = animHash_;
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.AvatarInfoOuterClass.AvatarInfo) {
return mergeFrom((emu.grasscutter.net.proto.AvatarInfoOuterClass.AvatarInfo)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(emu.grasscutter.net.proto.AvatarInfoOuterClass.AvatarInfo other) {
if (other == emu.grasscutter.net.proto.AvatarInfoOuterClass.AvatarInfo.getDefaultInstance()) return this;
if (other.getAvatarId() != 0) {
setAvatarId(other.getAvatarId());
}
if (other.getGuid() != 0L) {
setGuid(other.getGuid());
}
internalGetMutablePropMap().mergeFrom(
other.internalGetPropMap());
if (other.getLifeState() != 0) {
setLifeState(other.getLifeState());
}
if (!other.equipGuidList_.isEmpty()) {
if (equipGuidList_.isEmpty()) {
equipGuidList_ = other.equipGuidList_;
bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensureEquipGuidListIsMutable();
equipGuidList_.addAll(other.equipGuidList_);
}
onChanged();
}
if (!other.talentIdList_.isEmpty()) {
if (talentIdList_.isEmpty()) {
talentIdList_ = other.talentIdList_;
bitField0_ = (bitField0_ & ~0x00000004);
} else {
ensureTalentIdListIsMutable();
talentIdList_.addAll(other.talentIdList_);
}
onChanged();
}
internalGetMutableFightPropMap().mergeFrom(
other.internalGetFightPropMap());
if (other.hasTrialAvatarInfo()) {
mergeTrialAvatarInfo(other.getTrialAvatarInfo());
}
internalGetMutableSkillMap().mergeFrom(
other.internalGetSkillMap());
if (other.getSkillDepotId() != 0) {
setSkillDepotId(other.getSkillDepotId());
}
if (other.hasFetterInfo()) {
mergeFetterInfo(other.getFetterInfo());
}
if (other.getCoreProudSkillLevel() != 0) {
setCoreProudSkillLevel(other.getCoreProudSkillLevel());
}
if (!other.inherentProudSkillList_.isEmpty()) {
if (inherentProudSkillList_.isEmpty()) {
inherentProudSkillList_ = other.inherentProudSkillList_;
bitField0_ = (bitField0_ & ~0x00000020);
} else {
ensureInherentProudSkillListIsMutable();
inherentProudSkillList_.addAll(other.inherentProudSkillList_);
}
onChanged();
}
internalGetMutableSkillLevelMap().mergeFrom(
other.internalGetSkillLevelMap());
if (other.expeditionState_ != 0) {
setExpeditionStateValue(other.getExpeditionStateValue());
}
internalGetMutableProudSkillExtraLevelMap().mergeFrom(
other.internalGetProudSkillExtraLevelMap());
if (other.getIsFocus() != false) {
setIsFocus(other.getIsFocus());
}
if (other.getAvatarType() != 0) {
setAvatarType(other.getAvatarType());
}
if (!other.teamResonanceList_.isEmpty()) {
if (teamResonanceList_.isEmpty()) {
teamResonanceList_ = other.teamResonanceList_;
bitField0_ = (bitField0_ & ~0x00000100);
} else {
ensureTeamResonanceListIsMutable();
teamResonanceList_.addAll(other.teamResonanceList_);
}
onChanged();
}
if (other.getWearingFlycloakId() != 0) {
setWearingFlycloakId(other.getWearingFlycloakId());
}
if (equipAffixListBuilder_ == null) {
if (!other.equipAffixList_.isEmpty()) {
if (equipAffixList_.isEmpty()) {
equipAffixList_ = other.equipAffixList_;
bitField0_ = (bitField0_ & ~0x00000200);
} else {
ensureEquipAffixListIsMutable();
equipAffixList_.addAll(other.equipAffixList_);
}
onChanged();
}
} else {
if (!other.equipAffixList_.isEmpty()) {
if (equipAffixListBuilder_.isEmpty()) {
equipAffixListBuilder_.dispose();
equipAffixListBuilder_ = null;
equipAffixList_ = other.equipAffixList_;
bitField0_ = (bitField0_ & ~0x00000200);
equipAffixListBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getEquipAffixListFieldBuilder() : null;
} else {
equipAffixListBuilder_.addAllMessages(other.equipAffixList_);
}
}
}
if (other.getBornTime() != 0) {
setBornTime(other.getBornTime());
}
if (!other.pendingPromoteRewardList_.isEmpty()) {
if (pendingPromoteRewardList_.isEmpty()) {
pendingPromoteRewardList_ = other.pendingPromoteRewardList_;
bitField0_ = (bitField0_ & ~0x00000400);
} else {
ensurePendingPromoteRewardListIsMutable();
pendingPromoteRewardList_.addAll(other.pendingPromoteRewardList_);
}
onChanged();
}
if (other.getCostumeId() != 0) {
setCostumeId(other.getCostumeId());
}
if (other.hasExcelInfo()) {
mergeExcelInfo(other.getExcelInfo());
}
if (other.getAnimHash() != 0) {
setAnimHash(other.getAnimHash());
}
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.AvatarInfoOuterClass.AvatarInfo parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (emu.grasscutter.net.proto.AvatarInfoOuterClass.AvatarInfo) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private int avatarId_ ;
/**
* uint32 avatar_id = 1;
* @return The avatarId.
*/
@java.lang.Override
public int getAvatarId() {
return avatarId_;
}
/**
* uint32 avatar_id = 1;
* @param value The avatarId to set.
* @return This builder for chaining.
*/
public Builder setAvatarId(int value) {
avatarId_ = value;
onChanged();
return this;
}
/**
* uint32 avatar_id = 1;
* @return This builder for chaining.
*/
public Builder clearAvatarId() {
avatarId_ = 0;
onChanged();
return this;
}
private long guid_ ;
/**
* uint64 guid = 2;
* @return The guid.
*/
@java.lang.Override
public long getGuid() {
return guid_;
}
/**
* uint64 guid = 2;
* @param value The guid to set.
* @return This builder for chaining.
*/
public Builder setGuid(long value) {
guid_ = value;
onChanged();
return this;
}
/**
* uint64 guid = 2;
* @return This builder for chaining.
*/
public Builder clearGuid() {
guid_ = 0L;
onChanged();
return this;
}
private com.google.protobuf.MapField<
java.lang.Integer, emu.grasscutter.net.proto.PropValueOuterClass.PropValue> propMap_;
private com.google.protobuf.MapField
internalGetPropMap() {
if (propMap_ == null) {
return com.google.protobuf.MapField.emptyMapField(
PropMapDefaultEntryHolder.defaultEntry);
}
return propMap_;
}
private com.google.protobuf.MapField
internalGetMutablePropMap() {
onChanged();;
if (propMap_ == null) {
propMap_ = com.google.protobuf.MapField.newMapField(
PropMapDefaultEntryHolder.defaultEntry);
}
if (!propMap_.isMutable()) {
propMap_ = propMap_.copy();
}
return propMap_;
}
public int getPropMapCount() {
return internalGetPropMap().getMap().size();
}
/**
* map<uint32, .PropValue> prop_map = 3;
*/
@java.lang.Override
public boolean containsPropMap(
int key) {
return internalGetPropMap().getMap().containsKey(key);
}
/**
* Use {@link #getPropMapMap()} instead.
*/
@java.lang.Override
@java.lang.Deprecated
public java.util.Map getPropMap() {
return getPropMapMap();
}
/**
* map<uint32, .PropValue> prop_map = 3;
*/
@java.lang.Override
public java.util.Map getPropMapMap() {
return internalGetPropMap().getMap();
}
/**
* map<uint32, .PropValue> prop_map = 3;
*/
@java.lang.Override
public emu.grasscutter.net.proto.PropValueOuterClass.PropValue getPropMapOrDefault(
int key,
emu.grasscutter.net.proto.PropValueOuterClass.PropValue defaultValue) {
java.util.Map map =
internalGetPropMap().getMap();
return map.containsKey(key) ? map.get(key) : defaultValue;
}
/**
* map<uint32, .PropValue> prop_map = 3;
*/
@java.lang.Override
public emu.grasscutter.net.proto.PropValueOuterClass.PropValue getPropMapOrThrow(
int key) {
java.util.Map map =
internalGetPropMap().getMap();
if (!map.containsKey(key)) {
throw new java.lang.IllegalArgumentException();
}
return map.get(key);
}
public Builder clearPropMap() {
internalGetMutablePropMap().getMutableMap()
.clear();
return this;
}
/**
* map<uint32, .PropValue> prop_map = 3;
*/
public Builder removePropMap(
int key) {
internalGetMutablePropMap().getMutableMap()
.remove(key);
return this;
}
/**
* Use alternate mutation accessors instead.
*/
@java.lang.Deprecated
public java.util.Map
getMutablePropMap() {
return internalGetMutablePropMap().getMutableMap();
}
/**
* map<uint32, .PropValue> prop_map = 3;
*/
public Builder putPropMap(
int key,
emu.grasscutter.net.proto.PropValueOuterClass.PropValue value) {
if (value == null) { throw new java.lang.NullPointerException(); }
internalGetMutablePropMap().getMutableMap()
.put(key, value);
return this;
}
/**
* map<uint32, .PropValue> prop_map = 3;
*/
public Builder putAllPropMap(
java.util.Map values) {
internalGetMutablePropMap().getMutableMap()
.putAll(values);
return this;
}
private int lifeState_ ;
/**
* uint32 life_state = 4;
* @return The lifeState.
*/
@java.lang.Override
public int getLifeState() {
return lifeState_;
}
/**
* uint32 life_state = 4;
* @param value The lifeState to set.
* @return This builder for chaining.
*/
public Builder setLifeState(int value) {
lifeState_ = value;
onChanged();
return this;
}
/**
* uint32 life_state = 4;
* @return This builder for chaining.
*/
public Builder clearLifeState() {
lifeState_ = 0;
onChanged();
return this;
}
private com.google.protobuf.Internal.LongList equipGuidList_ = emptyLongList();
private void ensureEquipGuidListIsMutable() {
if (!((bitField0_ & 0x00000002) != 0)) {
equipGuidList_ = mutableCopy(equipGuidList_);
bitField0_ |= 0x00000002;
}
}
/**
* repeated uint64 equip_guid_list = 5;
* @return A list containing the equipGuidList.
*/
public java.util.List
getEquipGuidListList() {
return ((bitField0_ & 0x00000002) != 0) ?
java.util.Collections.unmodifiableList(equipGuidList_) : equipGuidList_;
}
/**
* repeated uint64 equip_guid_list = 5;
* @return The count of equipGuidList.
*/
public int getEquipGuidListCount() {
return equipGuidList_.size();
}
/**
* repeated uint64 equip_guid_list = 5;
* @param index The index of the element to return.
* @return The equipGuidList at the given index.
*/
public long getEquipGuidList(int index) {
return equipGuidList_.getLong(index);
}
/**
* repeated uint64 equip_guid_list = 5;
* @param index The index to set the value at.
* @param value The equipGuidList to set.
* @return This builder for chaining.
*/
public Builder setEquipGuidList(
int index, long value) {
ensureEquipGuidListIsMutable();
equipGuidList_.setLong(index, value);
onChanged();
return this;
}
/**
* repeated uint64 equip_guid_list = 5;
* @param value The equipGuidList to add.
* @return This builder for chaining.
*/
public Builder addEquipGuidList(long value) {
ensureEquipGuidListIsMutable();
equipGuidList_.addLong(value);
onChanged();
return this;
}
/**
* repeated uint64 equip_guid_list = 5;
* @param values The equipGuidList to add.
* @return This builder for chaining.
*/
public Builder addAllEquipGuidList(
java.lang.Iterable extends java.lang.Long> values) {
ensureEquipGuidListIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, equipGuidList_);
onChanged();
return this;
}
/**
* repeated uint64 equip_guid_list = 5;
* @return This builder for chaining.
*/
public Builder clearEquipGuidList() {
equipGuidList_ = emptyLongList();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
private com.google.protobuf.Internal.IntList talentIdList_ = emptyIntList();
private void ensureTalentIdListIsMutable() {
if (!((bitField0_ & 0x00000004) != 0)) {
talentIdList_ = mutableCopy(talentIdList_);
bitField0_ |= 0x00000004;
}
}
/**
* repeated uint32 talent_id_list = 6;
* @return A list containing the talentIdList.
*/
public java.util.List
getTalentIdListList() {
return ((bitField0_ & 0x00000004) != 0) ?
java.util.Collections.unmodifiableList(talentIdList_) : talentIdList_;
}
/**
* repeated uint32 talent_id_list = 6;
* @return The count of talentIdList.
*/
public int getTalentIdListCount() {
return talentIdList_.size();
}
/**
* repeated uint32 talent_id_list = 6;
* @param index The index of the element to return.
* @return The talentIdList at the given index.
*/
public int getTalentIdList(int index) {
return talentIdList_.getInt(index);
}
/**
* repeated uint32 talent_id_list = 6;
* @param index The index to set the value at.
* @param value The talentIdList to set.
* @return This builder for chaining.
*/
public Builder setTalentIdList(
int index, int value) {
ensureTalentIdListIsMutable();
talentIdList_.setInt(index, value);
onChanged();
return this;
}
/**
* repeated uint32 talent_id_list = 6;
* @param value The talentIdList to add.
* @return This builder for chaining.
*/
public Builder addTalentIdList(int value) {
ensureTalentIdListIsMutable();
talentIdList_.addInt(value);
onChanged();
return this;
}
/**
* repeated uint32 talent_id_list = 6;
* @param values The talentIdList to add.
* @return This builder for chaining.
*/
public Builder addAllTalentIdList(
java.lang.Iterable extends java.lang.Integer> values) {
ensureTalentIdListIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, talentIdList_);
onChanged();
return this;
}
/**
* repeated uint32 talent_id_list = 6;
* @return This builder for chaining.
*/
public Builder clearTalentIdList() {
talentIdList_ = emptyIntList();
bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
return this;
}
private com.google.protobuf.MapField<
java.lang.Integer, java.lang.Float> fightPropMap_;
private com.google.protobuf.MapField
internalGetFightPropMap() {
if (fightPropMap_ == null) {
return com.google.protobuf.MapField.emptyMapField(
FightPropMapDefaultEntryHolder.defaultEntry);
}
return fightPropMap_;
}
private com.google.protobuf.MapField
internalGetMutableFightPropMap() {
onChanged();;
if (fightPropMap_ == null) {
fightPropMap_ = com.google.protobuf.MapField.newMapField(
FightPropMapDefaultEntryHolder.defaultEntry);
}
if (!fightPropMap_.isMutable()) {
fightPropMap_ = fightPropMap_.copy();
}
return fightPropMap_;
}
public int getFightPropMapCount() {
return internalGetFightPropMap().getMap().size();
}
/**
* map<uint32, float> fight_prop_map = 7;
*/
@java.lang.Override
public boolean containsFightPropMap(
int key) {
return internalGetFightPropMap().getMap().containsKey(key);
}
/**
* Use {@link #getFightPropMapMap()} instead.
*/
@java.lang.Override
@java.lang.Deprecated
public java.util.Map getFightPropMap() {
return getFightPropMapMap();
}
/**
* map<uint32, float> fight_prop_map = 7;
*/
@java.lang.Override
public java.util.Map getFightPropMapMap() {
return internalGetFightPropMap().getMap();
}
/**
* map<uint32, float> fight_prop_map = 7;
*/
@java.lang.Override
public float getFightPropMapOrDefault(
int key,
float defaultValue) {
java.util.Map map =
internalGetFightPropMap().getMap();
return map.containsKey(key) ? map.get(key) : defaultValue;
}
/**
* map<uint32, float> fight_prop_map = 7;
*/
@java.lang.Override
public float getFightPropMapOrThrow(
int key) {
java.util.Map map =
internalGetFightPropMap().getMap();
if (!map.containsKey(key)) {
throw new java.lang.IllegalArgumentException();
}
return map.get(key);
}
public Builder clearFightPropMap() {
internalGetMutableFightPropMap().getMutableMap()
.clear();
return this;
}
/**
* map<uint32, float> fight_prop_map = 7;
*/
public Builder removeFightPropMap(
int key) {
internalGetMutableFightPropMap().getMutableMap()
.remove(key);
return this;
}
/**
* Use alternate mutation accessors instead.
*/
@java.lang.Deprecated
public java.util.Map
getMutableFightPropMap() {
return internalGetMutableFightPropMap().getMutableMap();
}
/**
* map<uint32, float> fight_prop_map = 7;
*/
public Builder putFightPropMap(
int key,
float value) {
internalGetMutableFightPropMap().getMutableMap()
.put(key, value);
return this;
}
/**
* map<uint32, float> fight_prop_map = 7;
*/
public Builder putAllFightPropMap(
java.util.Map values) {
internalGetMutableFightPropMap().getMutableMap()
.putAll(values);
return this;
}
private emu.grasscutter.net.proto.TrialAvatarInfoOuterClass.TrialAvatarInfo trialAvatarInfo_;
private com.google.protobuf.SingleFieldBuilderV3<
emu.grasscutter.net.proto.TrialAvatarInfoOuterClass.TrialAvatarInfo, emu.grasscutter.net.proto.TrialAvatarInfoOuterClass.TrialAvatarInfo.Builder, emu.grasscutter.net.proto.TrialAvatarInfoOuterClass.TrialAvatarInfoOrBuilder> trialAvatarInfoBuilder_;
/**
* .TrialAvatarInfo trial_avatar_info = 9;
* @return Whether the trialAvatarInfo field is set.
*/
public boolean hasTrialAvatarInfo() {
return trialAvatarInfoBuilder_ != null || trialAvatarInfo_ != null;
}
/**
* .TrialAvatarInfo trial_avatar_info = 9;
* @return The trialAvatarInfo.
*/
public emu.grasscutter.net.proto.TrialAvatarInfoOuterClass.TrialAvatarInfo getTrialAvatarInfo() {
if (trialAvatarInfoBuilder_ == null) {
return trialAvatarInfo_ == null ? emu.grasscutter.net.proto.TrialAvatarInfoOuterClass.TrialAvatarInfo.getDefaultInstance() : trialAvatarInfo_;
} else {
return trialAvatarInfoBuilder_.getMessage();
}
}
/**
* .TrialAvatarInfo trial_avatar_info = 9;
*/
public Builder setTrialAvatarInfo(emu.grasscutter.net.proto.TrialAvatarInfoOuterClass.TrialAvatarInfo value) {
if (trialAvatarInfoBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
trialAvatarInfo_ = value;
onChanged();
} else {
trialAvatarInfoBuilder_.setMessage(value);
}
return this;
}
/**
* .TrialAvatarInfo trial_avatar_info = 9;
*/
public Builder setTrialAvatarInfo(
emu.grasscutter.net.proto.TrialAvatarInfoOuterClass.TrialAvatarInfo.Builder builderForValue) {
if (trialAvatarInfoBuilder_ == null) {
trialAvatarInfo_ = builderForValue.build();
onChanged();
} else {
trialAvatarInfoBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .TrialAvatarInfo trial_avatar_info = 9;
*/
public Builder mergeTrialAvatarInfo(emu.grasscutter.net.proto.TrialAvatarInfoOuterClass.TrialAvatarInfo value) {
if (trialAvatarInfoBuilder_ == null) {
if (trialAvatarInfo_ != null) {
trialAvatarInfo_ =
emu.grasscutter.net.proto.TrialAvatarInfoOuterClass.TrialAvatarInfo.newBuilder(trialAvatarInfo_).mergeFrom(value).buildPartial();
} else {
trialAvatarInfo_ = value;
}
onChanged();
} else {
trialAvatarInfoBuilder_.mergeFrom(value);
}
return this;
}
/**
* .TrialAvatarInfo trial_avatar_info = 9;
*/
public Builder clearTrialAvatarInfo() {
if (trialAvatarInfoBuilder_ == null) {
trialAvatarInfo_ = null;
onChanged();
} else {
trialAvatarInfo_ = null;
trialAvatarInfoBuilder_ = null;
}
return this;
}
/**
* .TrialAvatarInfo trial_avatar_info = 9;
*/
public emu.grasscutter.net.proto.TrialAvatarInfoOuterClass.TrialAvatarInfo.Builder getTrialAvatarInfoBuilder() {
onChanged();
return getTrialAvatarInfoFieldBuilder().getBuilder();
}
/**
* .TrialAvatarInfo trial_avatar_info = 9;
*/
public emu.grasscutter.net.proto.TrialAvatarInfoOuterClass.TrialAvatarInfoOrBuilder getTrialAvatarInfoOrBuilder() {
if (trialAvatarInfoBuilder_ != null) {
return trialAvatarInfoBuilder_.getMessageOrBuilder();
} else {
return trialAvatarInfo_ == null ?
emu.grasscutter.net.proto.TrialAvatarInfoOuterClass.TrialAvatarInfo.getDefaultInstance() : trialAvatarInfo_;
}
}
/**
* .TrialAvatarInfo trial_avatar_info = 9;
*/
private com.google.protobuf.SingleFieldBuilderV3<
emu.grasscutter.net.proto.TrialAvatarInfoOuterClass.TrialAvatarInfo, emu.grasscutter.net.proto.TrialAvatarInfoOuterClass.TrialAvatarInfo.Builder, emu.grasscutter.net.proto.TrialAvatarInfoOuterClass.TrialAvatarInfoOrBuilder>
getTrialAvatarInfoFieldBuilder() {
if (trialAvatarInfoBuilder_ == null) {
trialAvatarInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
emu.grasscutter.net.proto.TrialAvatarInfoOuterClass.TrialAvatarInfo, emu.grasscutter.net.proto.TrialAvatarInfoOuterClass.TrialAvatarInfo.Builder, emu.grasscutter.net.proto.TrialAvatarInfoOuterClass.TrialAvatarInfoOrBuilder>(
getTrialAvatarInfo(),
getParentForChildren(),
isClean());
trialAvatarInfo_ = null;
}
return trialAvatarInfoBuilder_;
}
private com.google.protobuf.MapField<
java.lang.Integer, emu.grasscutter.net.proto.AvatarSkillInfoOuterClass.AvatarSkillInfo> skillMap_;
private com.google.protobuf.MapField
internalGetSkillMap() {
if (skillMap_ == null) {
return com.google.protobuf.MapField.emptyMapField(
SkillMapDefaultEntryHolder.defaultEntry);
}
return skillMap_;
}
private com.google.protobuf.MapField
internalGetMutableSkillMap() {
onChanged();;
if (skillMap_ == null) {
skillMap_ = com.google.protobuf.MapField.newMapField(
SkillMapDefaultEntryHolder.defaultEntry);
}
if (!skillMap_.isMutable()) {
skillMap_ = skillMap_.copy();
}
return skillMap_;
}
public int getSkillMapCount() {
return internalGetSkillMap().getMap().size();
}
/**
* map<uint32, .AvatarSkillInfo> skill_map = 10;
*/
@java.lang.Override
public boolean containsSkillMap(
int key) {
return internalGetSkillMap().getMap().containsKey(key);
}
/**
* Use {@link #getSkillMapMap()} instead.
*/
@java.lang.Override
@java.lang.Deprecated
public java.util.Map getSkillMap() {
return getSkillMapMap();
}
/**
* map<uint32, .AvatarSkillInfo> skill_map = 10;
*/
@java.lang.Override
public java.util.Map getSkillMapMap() {
return internalGetSkillMap().getMap();
}
/**
* map<uint32, .AvatarSkillInfo> skill_map = 10;
*/
@java.lang.Override
public emu.grasscutter.net.proto.AvatarSkillInfoOuterClass.AvatarSkillInfo getSkillMapOrDefault(
int key,
emu.grasscutter.net.proto.AvatarSkillInfoOuterClass.AvatarSkillInfo defaultValue) {
java.util.Map map =
internalGetSkillMap().getMap();
return map.containsKey(key) ? map.get(key) : defaultValue;
}
/**
* map<uint32, .AvatarSkillInfo> skill_map = 10;
*/
@java.lang.Override
public emu.grasscutter.net.proto.AvatarSkillInfoOuterClass.AvatarSkillInfo getSkillMapOrThrow(
int key) {
java.util.Map map =
internalGetSkillMap().getMap();
if (!map.containsKey(key)) {
throw new java.lang.IllegalArgumentException();
}
return map.get(key);
}
public Builder clearSkillMap() {
internalGetMutableSkillMap().getMutableMap()
.clear();
return this;
}
/**
* map<uint32, .AvatarSkillInfo> skill_map = 10;
*/
public Builder removeSkillMap(
int key) {
internalGetMutableSkillMap().getMutableMap()
.remove(key);
return this;
}
/**
* Use alternate mutation accessors instead.
*/
@java.lang.Deprecated
public java.util.Map
getMutableSkillMap() {
return internalGetMutableSkillMap().getMutableMap();
}
/**
* map<uint32, .AvatarSkillInfo> skill_map = 10;
*/
public Builder putSkillMap(
int key,
emu.grasscutter.net.proto.AvatarSkillInfoOuterClass.AvatarSkillInfo value) {
if (value == null) { throw new java.lang.NullPointerException(); }
internalGetMutableSkillMap().getMutableMap()
.put(key, value);
return this;
}
/**
* map<uint32, .AvatarSkillInfo> skill_map = 10;
*/
public Builder putAllSkillMap(
java.util.Map values) {
internalGetMutableSkillMap().getMutableMap()
.putAll(values);
return this;
}
private int skillDepotId_ ;
/**
* uint32 skill_depot_id = 11;
* @return The skillDepotId.
*/
@java.lang.Override
public int getSkillDepotId() {
return skillDepotId_;
}
/**
* uint32 skill_depot_id = 11;
* @param value The skillDepotId to set.
* @return This builder for chaining.
*/
public Builder setSkillDepotId(int value) {
skillDepotId_ = value;
onChanged();
return this;
}
/**
* uint32 skill_depot_id = 11;
* @return This builder for chaining.
*/
public Builder clearSkillDepotId() {
skillDepotId_ = 0;
onChanged();
return this;
}
private emu.grasscutter.net.proto.AvatarFetterInfoOuterClass.AvatarFetterInfo fetterInfo_;
private com.google.protobuf.SingleFieldBuilderV3<
emu.grasscutter.net.proto.AvatarFetterInfoOuterClass.AvatarFetterInfo, emu.grasscutter.net.proto.AvatarFetterInfoOuterClass.AvatarFetterInfo.Builder, emu.grasscutter.net.proto.AvatarFetterInfoOuterClass.AvatarFetterInfoOrBuilder> fetterInfoBuilder_;
/**
* .AvatarFetterInfo fetter_info = 12;
* @return Whether the fetterInfo field is set.
*/
public boolean hasFetterInfo() {
return fetterInfoBuilder_ != null || fetterInfo_ != null;
}
/**
* .AvatarFetterInfo fetter_info = 12;
* @return The fetterInfo.
*/
public emu.grasscutter.net.proto.AvatarFetterInfoOuterClass.AvatarFetterInfo getFetterInfo() {
if (fetterInfoBuilder_ == null) {
return fetterInfo_ == null ? emu.grasscutter.net.proto.AvatarFetterInfoOuterClass.AvatarFetterInfo.getDefaultInstance() : fetterInfo_;
} else {
return fetterInfoBuilder_.getMessage();
}
}
/**
* .AvatarFetterInfo fetter_info = 12;
*/
public Builder setFetterInfo(emu.grasscutter.net.proto.AvatarFetterInfoOuterClass.AvatarFetterInfo value) {
if (fetterInfoBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
fetterInfo_ = value;
onChanged();
} else {
fetterInfoBuilder_.setMessage(value);
}
return this;
}
/**
* .AvatarFetterInfo fetter_info = 12;
*/
public Builder setFetterInfo(
emu.grasscutter.net.proto.AvatarFetterInfoOuterClass.AvatarFetterInfo.Builder builderForValue) {
if (fetterInfoBuilder_ == null) {
fetterInfo_ = builderForValue.build();
onChanged();
} else {
fetterInfoBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .AvatarFetterInfo fetter_info = 12;
*/
public Builder mergeFetterInfo(emu.grasscutter.net.proto.AvatarFetterInfoOuterClass.AvatarFetterInfo value) {
if (fetterInfoBuilder_ == null) {
if (fetterInfo_ != null) {
fetterInfo_ =
emu.grasscutter.net.proto.AvatarFetterInfoOuterClass.AvatarFetterInfo.newBuilder(fetterInfo_).mergeFrom(value).buildPartial();
} else {
fetterInfo_ = value;
}
onChanged();
} else {
fetterInfoBuilder_.mergeFrom(value);
}
return this;
}
/**
* .AvatarFetterInfo fetter_info = 12;
*/
public Builder clearFetterInfo() {
if (fetterInfoBuilder_ == null) {
fetterInfo_ = null;
onChanged();
} else {
fetterInfo_ = null;
fetterInfoBuilder_ = null;
}
return this;
}
/**
* .AvatarFetterInfo fetter_info = 12;
*/
public emu.grasscutter.net.proto.AvatarFetterInfoOuterClass.AvatarFetterInfo.Builder getFetterInfoBuilder() {
onChanged();
return getFetterInfoFieldBuilder().getBuilder();
}
/**
* .AvatarFetterInfo fetter_info = 12;
*/
public emu.grasscutter.net.proto.AvatarFetterInfoOuterClass.AvatarFetterInfoOrBuilder getFetterInfoOrBuilder() {
if (fetterInfoBuilder_ != null) {
return fetterInfoBuilder_.getMessageOrBuilder();
} else {
return fetterInfo_ == null ?
emu.grasscutter.net.proto.AvatarFetterInfoOuterClass.AvatarFetterInfo.getDefaultInstance() : fetterInfo_;
}
}
/**
* .AvatarFetterInfo fetter_info = 12;
*/
private com.google.protobuf.SingleFieldBuilderV3<
emu.grasscutter.net.proto.AvatarFetterInfoOuterClass.AvatarFetterInfo, emu.grasscutter.net.proto.AvatarFetterInfoOuterClass.AvatarFetterInfo.Builder, emu.grasscutter.net.proto.AvatarFetterInfoOuterClass.AvatarFetterInfoOrBuilder>
getFetterInfoFieldBuilder() {
if (fetterInfoBuilder_ == null) {
fetterInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
emu.grasscutter.net.proto.AvatarFetterInfoOuterClass.AvatarFetterInfo, emu.grasscutter.net.proto.AvatarFetterInfoOuterClass.AvatarFetterInfo.Builder, emu.grasscutter.net.proto.AvatarFetterInfoOuterClass.AvatarFetterInfoOrBuilder>(
getFetterInfo(),
getParentForChildren(),
isClean());
fetterInfo_ = null;
}
return fetterInfoBuilder_;
}
private int coreProudSkillLevel_ ;
/**
* uint32 core_proud_skill_level = 13;
* @return The coreProudSkillLevel.
*/
@java.lang.Override
public int getCoreProudSkillLevel() {
return coreProudSkillLevel_;
}
/**
* uint32 core_proud_skill_level = 13;
* @param value The coreProudSkillLevel to set.
* @return This builder for chaining.
*/
public Builder setCoreProudSkillLevel(int value) {
coreProudSkillLevel_ = value;
onChanged();
return this;
}
/**
* uint32 core_proud_skill_level = 13;
* @return This builder for chaining.
*/
public Builder clearCoreProudSkillLevel() {
coreProudSkillLevel_ = 0;
onChanged();
return this;
}
private com.google.protobuf.Internal.IntList inherentProudSkillList_ = emptyIntList();
private void ensureInherentProudSkillListIsMutable() {
if (!((bitField0_ & 0x00000020) != 0)) {
inherentProudSkillList_ = mutableCopy(inherentProudSkillList_);
bitField0_ |= 0x00000020;
}
}
/**
* repeated uint32 inherent_proud_skill_list = 14;
* @return A list containing the inherentProudSkillList.
*/
public java.util.List
getInherentProudSkillListList() {
return ((bitField0_ & 0x00000020) != 0) ?
java.util.Collections.unmodifiableList(inherentProudSkillList_) : inherentProudSkillList_;
}
/**
* repeated uint32 inherent_proud_skill_list = 14;
* @return The count of inherentProudSkillList.
*/
public int getInherentProudSkillListCount() {
return inherentProudSkillList_.size();
}
/**
* repeated uint32 inherent_proud_skill_list = 14;
* @param index The index of the element to return.
* @return The inherentProudSkillList at the given index.
*/
public int getInherentProudSkillList(int index) {
return inherentProudSkillList_.getInt(index);
}
/**
* repeated uint32 inherent_proud_skill_list = 14;
* @param index The index to set the value at.
* @param value The inherentProudSkillList to set.
* @return This builder for chaining.
*/
public Builder setInherentProudSkillList(
int index, int value) {
ensureInherentProudSkillListIsMutable();
inherentProudSkillList_.setInt(index, value);
onChanged();
return this;
}
/**
* repeated uint32 inherent_proud_skill_list = 14;
* @param value The inherentProudSkillList to add.
* @return This builder for chaining.
*/
public Builder addInherentProudSkillList(int value) {
ensureInherentProudSkillListIsMutable();
inherentProudSkillList_.addInt(value);
onChanged();
return this;
}
/**
* repeated uint32 inherent_proud_skill_list = 14;
* @param values The inherentProudSkillList to add.
* @return This builder for chaining.
*/
public Builder addAllInherentProudSkillList(
java.lang.Iterable extends java.lang.Integer> values) {
ensureInherentProudSkillListIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, inherentProudSkillList_);
onChanged();
return this;
}
/**
* repeated uint32 inherent_proud_skill_list = 14;
* @return This builder for chaining.
*/
public Builder clearInherentProudSkillList() {
inherentProudSkillList_ = emptyIntList();
bitField0_ = (bitField0_ & ~0x00000020);
onChanged();
return this;
}
private com.google.protobuf.MapField<
java.lang.Integer, java.lang.Integer> skillLevelMap_;
private com.google.protobuf.MapField
internalGetSkillLevelMap() {
if (skillLevelMap_ == null) {
return com.google.protobuf.MapField.emptyMapField(
SkillLevelMapDefaultEntryHolder.defaultEntry);
}
return skillLevelMap_;
}
private com.google.protobuf.MapField
internalGetMutableSkillLevelMap() {
onChanged();;
if (skillLevelMap_ == null) {
skillLevelMap_ = com.google.protobuf.MapField.newMapField(
SkillLevelMapDefaultEntryHolder.defaultEntry);
}
if (!skillLevelMap_.isMutable()) {
skillLevelMap_ = skillLevelMap_.copy();
}
return skillLevelMap_;
}
public int getSkillLevelMapCount() {
return internalGetSkillLevelMap().getMap().size();
}
/**
* map<uint32, uint32> skill_level_map = 15;
*/
@java.lang.Override
public boolean containsSkillLevelMap(
int key) {
return internalGetSkillLevelMap().getMap().containsKey(key);
}
/**
* Use {@link #getSkillLevelMapMap()} instead.
*/
@java.lang.Override
@java.lang.Deprecated
public java.util.Map getSkillLevelMap() {
return getSkillLevelMapMap();
}
/**
* map<uint32, uint32> skill_level_map = 15;
*/
@java.lang.Override
public java.util.Map getSkillLevelMapMap() {
return internalGetSkillLevelMap().getMap();
}
/**
* map<uint32, uint32> skill_level_map = 15;
*/
@java.lang.Override
public int getSkillLevelMapOrDefault(
int key,
int defaultValue) {
java.util.Map map =
internalGetSkillLevelMap().getMap();
return map.containsKey(key) ? map.get(key) : defaultValue;
}
/**
* map<uint32, uint32> skill_level_map = 15;
*/
@java.lang.Override
public int getSkillLevelMapOrThrow(
int key) {
java.util.Map map =
internalGetSkillLevelMap().getMap();
if (!map.containsKey(key)) {
throw new java.lang.IllegalArgumentException();
}
return map.get(key);
}
public Builder clearSkillLevelMap() {
internalGetMutableSkillLevelMap().getMutableMap()
.clear();
return this;
}
/**
* map<uint32, uint32> skill_level_map = 15;
*/
public Builder removeSkillLevelMap(
int key) {
internalGetMutableSkillLevelMap().getMutableMap()
.remove(key);
return this;
}
/**
* Use alternate mutation accessors instead.
*/
@java.lang.Deprecated
public java.util.Map
getMutableSkillLevelMap() {
return internalGetMutableSkillLevelMap().getMutableMap();
}
/**
* map<uint32, uint32> skill_level_map = 15;
*/
public Builder putSkillLevelMap(
int key,
int value) {
internalGetMutableSkillLevelMap().getMutableMap()
.put(key, value);
return this;
}
/**
* map<uint32, uint32> skill_level_map = 15;
*/
public Builder putAllSkillLevelMap(
java.util.Map values) {
internalGetMutableSkillLevelMap().getMutableMap()
.putAll(values);
return this;
}
private int expeditionState_ = 0;
/**
* .AvatarExpeditionState expedition_state = 16;
* @return The enum numeric value on the wire for expeditionState.
*/
@java.lang.Override public int getExpeditionStateValue() {
return expeditionState_;
}
/**
* .AvatarExpeditionState expedition_state = 16;
* @param value The enum numeric value on the wire for expeditionState to set.
* @return This builder for chaining.
*/
public Builder setExpeditionStateValue(int value) {
expeditionState_ = value;
onChanged();
return this;
}
/**
* .AvatarExpeditionState expedition_state = 16;
* @return The expeditionState.
*/
@java.lang.Override
public emu.grasscutter.net.proto.AvatarExpeditionStateOuterClass.AvatarExpeditionState getExpeditionState() {
@SuppressWarnings("deprecation")
emu.grasscutter.net.proto.AvatarExpeditionStateOuterClass.AvatarExpeditionState result = emu.grasscutter.net.proto.AvatarExpeditionStateOuterClass.AvatarExpeditionState.valueOf(expeditionState_);
return result == null ? emu.grasscutter.net.proto.AvatarExpeditionStateOuterClass.AvatarExpeditionState.UNRECOGNIZED : result;
}
/**
* .AvatarExpeditionState expedition_state = 16;
* @param value The expeditionState to set.
* @return This builder for chaining.
*/
public Builder setExpeditionState(emu.grasscutter.net.proto.AvatarExpeditionStateOuterClass.AvatarExpeditionState value) {
if (value == null) {
throw new NullPointerException();
}
expeditionState_ = value.getNumber();
onChanged();
return this;
}
/**
* .AvatarExpeditionState expedition_state = 16;
* @return This builder for chaining.
*/
public Builder clearExpeditionState() {
expeditionState_ = 0;
onChanged();
return this;
}
private com.google.protobuf.MapField<
java.lang.Integer, java.lang.Integer> proudSkillExtraLevelMap_;
private com.google.protobuf.MapField
internalGetProudSkillExtraLevelMap() {
if (proudSkillExtraLevelMap_ == null) {
return com.google.protobuf.MapField.emptyMapField(
ProudSkillExtraLevelMapDefaultEntryHolder.defaultEntry);
}
return proudSkillExtraLevelMap_;
}
private com.google.protobuf.MapField
internalGetMutableProudSkillExtraLevelMap() {
onChanged();;
if (proudSkillExtraLevelMap_ == null) {
proudSkillExtraLevelMap_ = com.google.protobuf.MapField.newMapField(
ProudSkillExtraLevelMapDefaultEntryHolder.defaultEntry);
}
if (!proudSkillExtraLevelMap_.isMutable()) {
proudSkillExtraLevelMap_ = proudSkillExtraLevelMap_.copy();
}
return proudSkillExtraLevelMap_;
}
public int getProudSkillExtraLevelMapCount() {
return internalGetProudSkillExtraLevelMap().getMap().size();
}
/**
* map<uint32, uint32> proud_skill_extra_level_map = 17;
*/
@java.lang.Override
public boolean containsProudSkillExtraLevelMap(
int key) {
return internalGetProudSkillExtraLevelMap().getMap().containsKey(key);
}
/**
* Use {@link #getProudSkillExtraLevelMapMap()} instead.
*/
@java.lang.Override
@java.lang.Deprecated
public java.util.Map getProudSkillExtraLevelMap() {
return getProudSkillExtraLevelMapMap();
}
/**
* map<uint32, uint32> proud_skill_extra_level_map = 17;
*/
@java.lang.Override
public java.util.Map getProudSkillExtraLevelMapMap() {
return internalGetProudSkillExtraLevelMap().getMap();
}
/**
* map<uint32, uint32> proud_skill_extra_level_map = 17;
*/
@java.lang.Override
public int getProudSkillExtraLevelMapOrDefault(
int key,
int defaultValue) {
java.util.Map map =
internalGetProudSkillExtraLevelMap().getMap();
return map.containsKey(key) ? map.get(key) : defaultValue;
}
/**
* map<uint32, uint32> proud_skill_extra_level_map = 17;
*/
@java.lang.Override
public int getProudSkillExtraLevelMapOrThrow(
int key) {
java.util.Map map =
internalGetProudSkillExtraLevelMap().getMap();
if (!map.containsKey(key)) {
throw new java.lang.IllegalArgumentException();
}
return map.get(key);
}
public Builder clearProudSkillExtraLevelMap() {
internalGetMutableProudSkillExtraLevelMap().getMutableMap()
.clear();
return this;
}
/**
* map<uint32, uint32> proud_skill_extra_level_map = 17;
*/
public Builder removeProudSkillExtraLevelMap(
int key) {
internalGetMutableProudSkillExtraLevelMap().getMutableMap()
.remove(key);
return this;
}
/**
* Use alternate mutation accessors instead.
*/
@java.lang.Deprecated
public java.util.Map
getMutableProudSkillExtraLevelMap() {
return internalGetMutableProudSkillExtraLevelMap().getMutableMap();
}
/**
* map<uint32, uint32> proud_skill_extra_level_map = 17;
*/
public Builder putProudSkillExtraLevelMap(
int key,
int value) {
internalGetMutableProudSkillExtraLevelMap().getMutableMap()
.put(key, value);
return this;
}
/**
* map<uint32, uint32> proud_skill_extra_level_map = 17;
*/
public Builder putAllProudSkillExtraLevelMap(
java.util.Map values) {
internalGetMutableProudSkillExtraLevelMap().getMutableMap()
.putAll(values);
return this;
}
private boolean isFocus_ ;
/**
* bool is_focus = 18;
* @return The isFocus.
*/
@java.lang.Override
public boolean getIsFocus() {
return isFocus_;
}
/**
* bool is_focus = 18;
* @param value The isFocus to set.
* @return This builder for chaining.
*/
public Builder setIsFocus(boolean value) {
isFocus_ = value;
onChanged();
return this;
}
/**
* bool is_focus = 18;
* @return This builder for chaining.
*/
public Builder clearIsFocus() {
isFocus_ = false;
onChanged();
return this;
}
private int avatarType_ ;
/**
* uint32 avatar_type = 19;
* @return The avatarType.
*/
@java.lang.Override
public int getAvatarType() {
return avatarType_;
}
/**
* uint32 avatar_type = 19;
* @param value The avatarType to set.
* @return This builder for chaining.
*/
public Builder setAvatarType(int value) {
avatarType_ = value;
onChanged();
return this;
}
/**
* uint32 avatar_type = 19;
* @return This builder for chaining.
*/
public Builder clearAvatarType() {
avatarType_ = 0;
onChanged();
return this;
}
private com.google.protobuf.Internal.IntList teamResonanceList_ = emptyIntList();
private void ensureTeamResonanceListIsMutable() {
if (!((bitField0_ & 0x00000100) != 0)) {
teamResonanceList_ = mutableCopy(teamResonanceList_);
bitField0_ |= 0x00000100;
}
}
/**
* repeated uint32 team_resonance_list = 20;
* @return A list containing the teamResonanceList.
*/
public java.util.List
getTeamResonanceListList() {
return ((bitField0_ & 0x00000100) != 0) ?
java.util.Collections.unmodifiableList(teamResonanceList_) : teamResonanceList_;
}
/**
* repeated uint32 team_resonance_list = 20;
* @return The count of teamResonanceList.
*/
public int getTeamResonanceListCount() {
return teamResonanceList_.size();
}
/**
* repeated uint32 team_resonance_list = 20;
* @param index The index of the element to return.
* @return The teamResonanceList at the given index.
*/
public int getTeamResonanceList(int index) {
return teamResonanceList_.getInt(index);
}
/**
* repeated uint32 team_resonance_list = 20;
* @param index The index to set the value at.
* @param value The teamResonanceList to set.
* @return This builder for chaining.
*/
public Builder setTeamResonanceList(
int index, int value) {
ensureTeamResonanceListIsMutable();
teamResonanceList_.setInt(index, value);
onChanged();
return this;
}
/**
* repeated uint32 team_resonance_list = 20;
* @param value The teamResonanceList to add.
* @return This builder for chaining.
*/
public Builder addTeamResonanceList(int value) {
ensureTeamResonanceListIsMutable();
teamResonanceList_.addInt(value);
onChanged();
return this;
}
/**
* repeated uint32 team_resonance_list = 20;
* @param values The teamResonanceList to add.
* @return This builder for chaining.
*/
public Builder addAllTeamResonanceList(
java.lang.Iterable extends java.lang.Integer> values) {
ensureTeamResonanceListIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, teamResonanceList_);
onChanged();
return this;
}
/**
* repeated uint32 team_resonance_list = 20;
* @return This builder for chaining.
*/
public Builder clearTeamResonanceList() {
teamResonanceList_ = emptyIntList();
bitField0_ = (bitField0_ & ~0x00000100);
onChanged();
return this;
}
private int wearingFlycloakId_ ;
/**
* uint32 wearing_flycloak_id = 21;
* @return The wearingFlycloakId.
*/
@java.lang.Override
public int getWearingFlycloakId() {
return wearingFlycloakId_;
}
/**
* uint32 wearing_flycloak_id = 21;
* @param value The wearingFlycloakId to set.
* @return This builder for chaining.
*/
public Builder setWearingFlycloakId(int value) {
wearingFlycloakId_ = value;
onChanged();
return this;
}
/**
* uint32 wearing_flycloak_id = 21;
* @return This builder for chaining.
*/
public Builder clearWearingFlycloakId() {
wearingFlycloakId_ = 0;
onChanged();
return this;
}
private java.util.List equipAffixList_ =
java.util.Collections.emptyList();
private void ensureEquipAffixListIsMutable() {
if (!((bitField0_ & 0x00000200) != 0)) {
equipAffixList_ = new java.util.ArrayList(equipAffixList_);
bitField0_ |= 0x00000200;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
emu.grasscutter.net.proto.AvatarEquipAffixInfoOuterClass.AvatarEquipAffixInfo, emu.grasscutter.net.proto.AvatarEquipAffixInfoOuterClass.AvatarEquipAffixInfo.Builder, emu.grasscutter.net.proto.AvatarEquipAffixInfoOuterClass.AvatarEquipAffixInfoOrBuilder> equipAffixListBuilder_;
/**
* repeated .AvatarEquipAffixInfo equip_affix_list = 22;
*/
public java.util.List getEquipAffixListList() {
if (equipAffixListBuilder_ == null) {
return java.util.Collections.unmodifiableList(equipAffixList_);
} else {
return equipAffixListBuilder_.getMessageList();
}
}
/**
* repeated .AvatarEquipAffixInfo equip_affix_list = 22;
*/
public int getEquipAffixListCount() {
if (equipAffixListBuilder_ == null) {
return equipAffixList_.size();
} else {
return equipAffixListBuilder_.getCount();
}
}
/**
* repeated .AvatarEquipAffixInfo equip_affix_list = 22;
*/
public emu.grasscutter.net.proto.AvatarEquipAffixInfoOuterClass.AvatarEquipAffixInfo getEquipAffixList(int index) {
if (equipAffixListBuilder_ == null) {
return equipAffixList_.get(index);
} else {
return equipAffixListBuilder_.getMessage(index);
}
}
/**
* repeated .AvatarEquipAffixInfo equip_affix_list = 22;
*/
public Builder setEquipAffixList(
int index, emu.grasscutter.net.proto.AvatarEquipAffixInfoOuterClass.AvatarEquipAffixInfo value) {
if (equipAffixListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureEquipAffixListIsMutable();
equipAffixList_.set(index, value);
onChanged();
} else {
equipAffixListBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .AvatarEquipAffixInfo equip_affix_list = 22;
*/
public Builder setEquipAffixList(
int index, emu.grasscutter.net.proto.AvatarEquipAffixInfoOuterClass.AvatarEquipAffixInfo.Builder builderForValue) {
if (equipAffixListBuilder_ == null) {
ensureEquipAffixListIsMutable();
equipAffixList_.set(index, builderForValue.build());
onChanged();
} else {
equipAffixListBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .AvatarEquipAffixInfo equip_affix_list = 22;
*/
public Builder addEquipAffixList(emu.grasscutter.net.proto.AvatarEquipAffixInfoOuterClass.AvatarEquipAffixInfo value) {
if (equipAffixListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureEquipAffixListIsMutable();
equipAffixList_.add(value);
onChanged();
} else {
equipAffixListBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .AvatarEquipAffixInfo equip_affix_list = 22;
*/
public Builder addEquipAffixList(
int index, emu.grasscutter.net.proto.AvatarEquipAffixInfoOuterClass.AvatarEquipAffixInfo value) {
if (equipAffixListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureEquipAffixListIsMutable();
equipAffixList_.add(index, value);
onChanged();
} else {
equipAffixListBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .AvatarEquipAffixInfo equip_affix_list = 22;
*/
public Builder addEquipAffixList(
emu.grasscutter.net.proto.AvatarEquipAffixInfoOuterClass.AvatarEquipAffixInfo.Builder builderForValue) {
if (equipAffixListBuilder_ == null) {
ensureEquipAffixListIsMutable();
equipAffixList_.add(builderForValue.build());
onChanged();
} else {
equipAffixListBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .AvatarEquipAffixInfo equip_affix_list = 22;
*/
public Builder addEquipAffixList(
int index, emu.grasscutter.net.proto.AvatarEquipAffixInfoOuterClass.AvatarEquipAffixInfo.Builder builderForValue) {
if (equipAffixListBuilder_ == null) {
ensureEquipAffixListIsMutable();
equipAffixList_.add(index, builderForValue.build());
onChanged();
} else {
equipAffixListBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .AvatarEquipAffixInfo equip_affix_list = 22;
*/
public Builder addAllEquipAffixList(
java.lang.Iterable extends emu.grasscutter.net.proto.AvatarEquipAffixInfoOuterClass.AvatarEquipAffixInfo> values) {
if (equipAffixListBuilder_ == null) {
ensureEquipAffixListIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, equipAffixList_);
onChanged();
} else {
equipAffixListBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .AvatarEquipAffixInfo equip_affix_list = 22;
*/
public Builder clearEquipAffixList() {
if (equipAffixListBuilder_ == null) {
equipAffixList_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000200);
onChanged();
} else {
equipAffixListBuilder_.clear();
}
return this;
}
/**
* repeated .AvatarEquipAffixInfo equip_affix_list = 22;
*/
public Builder removeEquipAffixList(int index) {
if (equipAffixListBuilder_ == null) {
ensureEquipAffixListIsMutable();
equipAffixList_.remove(index);
onChanged();
} else {
equipAffixListBuilder_.remove(index);
}
return this;
}
/**
* repeated .AvatarEquipAffixInfo equip_affix_list = 22;
*/
public emu.grasscutter.net.proto.AvatarEquipAffixInfoOuterClass.AvatarEquipAffixInfo.Builder getEquipAffixListBuilder(
int index) {
return getEquipAffixListFieldBuilder().getBuilder(index);
}
/**
* repeated .AvatarEquipAffixInfo equip_affix_list = 22;
*/
public emu.grasscutter.net.proto.AvatarEquipAffixInfoOuterClass.AvatarEquipAffixInfoOrBuilder getEquipAffixListOrBuilder(
int index) {
if (equipAffixListBuilder_ == null) {
return equipAffixList_.get(index); } else {
return equipAffixListBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .AvatarEquipAffixInfo equip_affix_list = 22;
*/
public java.util.List extends emu.grasscutter.net.proto.AvatarEquipAffixInfoOuterClass.AvatarEquipAffixInfoOrBuilder>
getEquipAffixListOrBuilderList() {
if (equipAffixListBuilder_ != null) {
return equipAffixListBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(equipAffixList_);
}
}
/**
* repeated .AvatarEquipAffixInfo equip_affix_list = 22;
*/
public emu.grasscutter.net.proto.AvatarEquipAffixInfoOuterClass.AvatarEquipAffixInfo.Builder addEquipAffixListBuilder() {
return getEquipAffixListFieldBuilder().addBuilder(
emu.grasscutter.net.proto.AvatarEquipAffixInfoOuterClass.AvatarEquipAffixInfo.getDefaultInstance());
}
/**
* repeated .AvatarEquipAffixInfo equip_affix_list = 22;
*/
public emu.grasscutter.net.proto.AvatarEquipAffixInfoOuterClass.AvatarEquipAffixInfo.Builder addEquipAffixListBuilder(
int index) {
return getEquipAffixListFieldBuilder().addBuilder(
index, emu.grasscutter.net.proto.AvatarEquipAffixInfoOuterClass.AvatarEquipAffixInfo.getDefaultInstance());
}
/**
* repeated .AvatarEquipAffixInfo equip_affix_list = 22;
*/
public java.util.List
getEquipAffixListBuilderList() {
return getEquipAffixListFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
emu.grasscutter.net.proto.AvatarEquipAffixInfoOuterClass.AvatarEquipAffixInfo, emu.grasscutter.net.proto.AvatarEquipAffixInfoOuterClass.AvatarEquipAffixInfo.Builder, emu.grasscutter.net.proto.AvatarEquipAffixInfoOuterClass.AvatarEquipAffixInfoOrBuilder>
getEquipAffixListFieldBuilder() {
if (equipAffixListBuilder_ == null) {
equipAffixListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
emu.grasscutter.net.proto.AvatarEquipAffixInfoOuterClass.AvatarEquipAffixInfo, emu.grasscutter.net.proto.AvatarEquipAffixInfoOuterClass.AvatarEquipAffixInfo.Builder, emu.grasscutter.net.proto.AvatarEquipAffixInfoOuterClass.AvatarEquipAffixInfoOrBuilder>(
equipAffixList_,
((bitField0_ & 0x00000200) != 0),
getParentForChildren(),
isClean());
equipAffixList_ = null;
}
return equipAffixListBuilder_;
}
private int bornTime_ ;
/**
* uint32 born_time = 23;
* @return The bornTime.
*/
@java.lang.Override
public int getBornTime() {
return bornTime_;
}
/**
* uint32 born_time = 23;
* @param value The bornTime to set.
* @return This builder for chaining.
*/
public Builder setBornTime(int value) {
bornTime_ = value;
onChanged();
return this;
}
/**
* uint32 born_time = 23;
* @return This builder for chaining.
*/
public Builder clearBornTime() {
bornTime_ = 0;
onChanged();
return this;
}
private com.google.protobuf.Internal.IntList pendingPromoteRewardList_ = emptyIntList();
private void ensurePendingPromoteRewardListIsMutable() {
if (!((bitField0_ & 0x00000400) != 0)) {
pendingPromoteRewardList_ = mutableCopy(pendingPromoteRewardList_);
bitField0_ |= 0x00000400;
}
}
/**
* repeated uint32 pending_promote_reward_list = 24;
* @return A list containing the pendingPromoteRewardList.
*/
public java.util.List
getPendingPromoteRewardListList() {
return ((bitField0_ & 0x00000400) != 0) ?
java.util.Collections.unmodifiableList(pendingPromoteRewardList_) : pendingPromoteRewardList_;
}
/**
* repeated uint32 pending_promote_reward_list = 24;
* @return The count of pendingPromoteRewardList.
*/
public int getPendingPromoteRewardListCount() {
return pendingPromoteRewardList_.size();
}
/**
* repeated uint32 pending_promote_reward_list = 24;
* @param index The index of the element to return.
* @return The pendingPromoteRewardList at the given index.
*/
public int getPendingPromoteRewardList(int index) {
return pendingPromoteRewardList_.getInt(index);
}
/**
* repeated uint32 pending_promote_reward_list = 24;
* @param index The index to set the value at.
* @param value The pendingPromoteRewardList to set.
* @return This builder for chaining.
*/
public Builder setPendingPromoteRewardList(
int index, int value) {
ensurePendingPromoteRewardListIsMutable();
pendingPromoteRewardList_.setInt(index, value);
onChanged();
return this;
}
/**
* repeated uint32 pending_promote_reward_list = 24;
* @param value The pendingPromoteRewardList to add.
* @return This builder for chaining.
*/
public Builder addPendingPromoteRewardList(int value) {
ensurePendingPromoteRewardListIsMutable();
pendingPromoteRewardList_.addInt(value);
onChanged();
return this;
}
/**
* repeated uint32 pending_promote_reward_list = 24;
* @param values The pendingPromoteRewardList to add.
* @return This builder for chaining.
*/
public Builder addAllPendingPromoteRewardList(
java.lang.Iterable extends java.lang.Integer> values) {
ensurePendingPromoteRewardListIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, pendingPromoteRewardList_);
onChanged();
return this;
}
/**
* repeated uint32 pending_promote_reward_list = 24;
* @return This builder for chaining.
*/
public Builder clearPendingPromoteRewardList() {
pendingPromoteRewardList_ = emptyIntList();
bitField0_ = (bitField0_ & ~0x00000400);
onChanged();
return this;
}
private int costumeId_ ;
/**
* uint32 costume_id = 25;
* @return The costumeId.
*/
@java.lang.Override
public int getCostumeId() {
return costumeId_;
}
/**
* uint32 costume_id = 25;
* @param value The costumeId to set.
* @return This builder for chaining.
*/
public Builder setCostumeId(int value) {
costumeId_ = value;
onChanged();
return this;
}
/**
* uint32 costume_id = 25;
* @return This builder for chaining.
*/
public Builder clearCostumeId() {
costumeId_ = 0;
onChanged();
return this;
}
private emu.grasscutter.net.proto.AvatarExcelInfoOuterClass.AvatarExcelInfo excelInfo_;
private com.google.protobuf.SingleFieldBuilderV3<
emu.grasscutter.net.proto.AvatarExcelInfoOuterClass.AvatarExcelInfo, emu.grasscutter.net.proto.AvatarExcelInfoOuterClass.AvatarExcelInfo.Builder, emu.grasscutter.net.proto.AvatarExcelInfoOuterClass.AvatarExcelInfoOrBuilder> excelInfoBuilder_;
/**
* .AvatarExcelInfo excel_info = 26;
* @return Whether the excelInfo field is set.
*/
public boolean hasExcelInfo() {
return excelInfoBuilder_ != null || excelInfo_ != null;
}
/**
* .AvatarExcelInfo excel_info = 26;
* @return The excelInfo.
*/
public emu.grasscutter.net.proto.AvatarExcelInfoOuterClass.AvatarExcelInfo getExcelInfo() {
if (excelInfoBuilder_ == null) {
return excelInfo_ == null ? emu.grasscutter.net.proto.AvatarExcelInfoOuterClass.AvatarExcelInfo.getDefaultInstance() : excelInfo_;
} else {
return excelInfoBuilder_.getMessage();
}
}
/**
* .AvatarExcelInfo excel_info = 26;
*/
public Builder setExcelInfo(emu.grasscutter.net.proto.AvatarExcelInfoOuterClass.AvatarExcelInfo value) {
if (excelInfoBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
excelInfo_ = value;
onChanged();
} else {
excelInfoBuilder_.setMessage(value);
}
return this;
}
/**
* .AvatarExcelInfo excel_info = 26;
*/
public Builder setExcelInfo(
emu.grasscutter.net.proto.AvatarExcelInfoOuterClass.AvatarExcelInfo.Builder builderForValue) {
if (excelInfoBuilder_ == null) {
excelInfo_ = builderForValue.build();
onChanged();
} else {
excelInfoBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .AvatarExcelInfo excel_info = 26;
*/
public Builder mergeExcelInfo(emu.grasscutter.net.proto.AvatarExcelInfoOuterClass.AvatarExcelInfo value) {
if (excelInfoBuilder_ == null) {
if (excelInfo_ != null) {
excelInfo_ =
emu.grasscutter.net.proto.AvatarExcelInfoOuterClass.AvatarExcelInfo.newBuilder(excelInfo_).mergeFrom(value).buildPartial();
} else {
excelInfo_ = value;
}
onChanged();
} else {
excelInfoBuilder_.mergeFrom(value);
}
return this;
}
/**
* .AvatarExcelInfo excel_info = 26;
*/
public Builder clearExcelInfo() {
if (excelInfoBuilder_ == null) {
excelInfo_ = null;
onChanged();
} else {
excelInfo_ = null;
excelInfoBuilder_ = null;
}
return this;
}
/**
* .AvatarExcelInfo excel_info = 26;
*/
public emu.grasscutter.net.proto.AvatarExcelInfoOuterClass.AvatarExcelInfo.Builder getExcelInfoBuilder() {
onChanged();
return getExcelInfoFieldBuilder().getBuilder();
}
/**
* .AvatarExcelInfo excel_info = 26;
*/
public emu.grasscutter.net.proto.AvatarExcelInfoOuterClass.AvatarExcelInfoOrBuilder getExcelInfoOrBuilder() {
if (excelInfoBuilder_ != null) {
return excelInfoBuilder_.getMessageOrBuilder();
} else {
return excelInfo_ == null ?
emu.grasscutter.net.proto.AvatarExcelInfoOuterClass.AvatarExcelInfo.getDefaultInstance() : excelInfo_;
}
}
/**
* .AvatarExcelInfo excel_info = 26;
*/
private com.google.protobuf.SingleFieldBuilderV3<
emu.grasscutter.net.proto.AvatarExcelInfoOuterClass.AvatarExcelInfo, emu.grasscutter.net.proto.AvatarExcelInfoOuterClass.AvatarExcelInfo.Builder, emu.grasscutter.net.proto.AvatarExcelInfoOuterClass.AvatarExcelInfoOrBuilder>
getExcelInfoFieldBuilder() {
if (excelInfoBuilder_ == null) {
excelInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
emu.grasscutter.net.proto.AvatarExcelInfoOuterClass.AvatarExcelInfo, emu.grasscutter.net.proto.AvatarExcelInfoOuterClass.AvatarExcelInfo.Builder, emu.grasscutter.net.proto.AvatarExcelInfoOuterClass.AvatarExcelInfoOrBuilder>(
getExcelInfo(),
getParentForChildren(),
isClean());
excelInfo_ = null;
}
return excelInfoBuilder_;
}
private int animHash_ ;
/**
* uint32 anim_hash = 27;
* @return The animHash.
*/
@java.lang.Override
public int getAnimHash() {
return animHash_;
}
/**
* uint32 anim_hash = 27;
* @param value The animHash to set.
* @return This builder for chaining.
*/
public Builder setAnimHash(int value) {
animHash_ = value;
onChanged();
return this;
}
/**
* uint32 anim_hash = 27;
* @return This builder for chaining.
*/
public Builder clearAnimHash() {
animHash_ = 0;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:AvatarInfo)
}
// @@protoc_insertion_point(class_scope:AvatarInfo)
private static final emu.grasscutter.net.proto.AvatarInfoOuterClass.AvatarInfo DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new emu.grasscutter.net.proto.AvatarInfoOuterClass.AvatarInfo();
}
public static emu.grasscutter.net.proto.AvatarInfoOuterClass.AvatarInfo getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public AvatarInfo parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new AvatarInfo(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.AvatarInfoOuterClass.AvatarInfo getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_AvatarInfo_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_AvatarInfo_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_AvatarInfo_PropMapEntry_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_AvatarInfo_PropMapEntry_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_AvatarInfo_FightPropMapEntry_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_AvatarInfo_FightPropMapEntry_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_AvatarInfo_SkillMapEntry_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_AvatarInfo_SkillMapEntry_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_AvatarInfo_SkillLevelMapEntry_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_AvatarInfo_SkillLevelMapEntry_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_AvatarInfo_ProudSkillExtraLevelMapEntry_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_AvatarInfo_ProudSkillExtraLevelMapEntry_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\020AvatarInfo.proto\032\032AvatarEquipAffixInfo" +
".proto\032\025AvatarExcelInfo.proto\032\033AvatarExp" +
"editionState.proto\032\026AvatarFetterInfo.pro" +
"to\032\025AvatarSkillInfo.proto\032\017PropValue.pro" +
"to\032\025TrialAvatarInfo.proto\"\256\t\n\nAvatarInfo" +
"\022\021\n\tavatar_id\030\001 \001(\r\022\014\n\004guid\030\002 \001(\004\022*\n\010pro" +
"p_map\030\003 \003(\0132\030.AvatarInfo.PropMapEntry\022\022\n" +
"\nlife_state\030\004 \001(\r\022\027\n\017equip_guid_list\030\005 \003" +
"(\004\022\026\n\016talent_id_list\030\006 \003(\r\0225\n\016fight_prop" +
"_map\030\007 \003(\0132\035.AvatarInfo.FightPropMapEntr" +
"y\022+\n\021trial_avatar_info\030\t \001(\0132\020.TrialAvat" +
"arInfo\022,\n\tskill_map\030\n \003(\0132\031.AvatarInfo.S" +
"killMapEntry\022\026\n\016skill_depot_id\030\013 \001(\r\022&\n\013" +
"fetter_info\030\014 \001(\0132\021.AvatarFetterInfo\022\036\n\026" +
"core_proud_skill_level\030\r \001(\r\022!\n\031inherent" +
"_proud_skill_list\030\016 \003(\r\0227\n\017skill_level_m" +
"ap\030\017 \003(\0132\036.AvatarInfo.SkillLevelMapEntry" +
"\0220\n\020expedition_state\030\020 \001(\0162\026.AvatarExped" +
"itionState\022M\n\033proud_skill_extra_level_ma" +
"p\030\021 \003(\0132(.AvatarInfo.ProudSkillExtraLeve" +
"lMapEntry\022\020\n\010is_focus\030\022 \001(\010\022\023\n\013avatar_ty" +
"pe\030\023 \001(\r\022\033\n\023team_resonance_list\030\024 \003(\r\022\033\n" +
"\023wearing_flycloak_id\030\025 \001(\r\022/\n\020equip_affi" +
"x_list\030\026 \003(\0132\025.AvatarEquipAffixInfo\022\021\n\tb" +
"orn_time\030\027 \001(\r\022#\n\033pending_promote_reward" +
"_list\030\030 \003(\r\022\022\n\ncostume_id\030\031 \001(\r\022$\n\nexcel" +
"_info\030\032 \001(\0132\020.AvatarExcelInfo\022\021\n\tanim_ha" +
"sh\030\033 \001(\r\032:\n\014PropMapEntry\022\013\n\003key\030\001 \001(\r\022\031\n" +
"\005value\030\002 \001(\0132\n.PropValue:\0028\001\0323\n\021FightPro" +
"pMapEntry\022\013\n\003key\030\001 \001(\r\022\r\n\005value\030\002 \001(\002:\0028" +
"\001\032A\n\rSkillMapEntry\022\013\n\003key\030\001 \001(\r\022\037\n\005value" +
"\030\002 \001(\0132\020.AvatarSkillInfo:\0028\001\0324\n\022SkillLev" +
"elMapEntry\022\013\n\003key\030\001 \001(\r\022\r\n\005value\030\002 \001(\r:\002" +
"8\001\032>\n\034ProudSkillExtraLevelMapEntry\022\013\n\003ke" +
"y\030\001 \001(\r\022\r\n\005value\030\002 \001(\r:\0028\001B\033\n\031emu.grassc" +
"utter.net.protob\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
emu.grasscutter.net.proto.AvatarEquipAffixInfoOuterClass.getDescriptor(),
emu.grasscutter.net.proto.AvatarExcelInfoOuterClass.getDescriptor(),
emu.grasscutter.net.proto.AvatarExpeditionStateOuterClass.getDescriptor(),
emu.grasscutter.net.proto.AvatarFetterInfoOuterClass.getDescriptor(),
emu.grasscutter.net.proto.AvatarSkillInfoOuterClass.getDescriptor(),
emu.grasscutter.net.proto.PropValueOuterClass.getDescriptor(),
emu.grasscutter.net.proto.TrialAvatarInfoOuterClass.getDescriptor(),
});
internal_static_AvatarInfo_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_AvatarInfo_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_AvatarInfo_descriptor,
new java.lang.String[] { "AvatarId", "Guid", "PropMap", "LifeState", "EquipGuidList", "TalentIdList", "FightPropMap", "TrialAvatarInfo", "SkillMap", "SkillDepotId", "FetterInfo", "CoreProudSkillLevel", "InherentProudSkillList", "SkillLevelMap", "ExpeditionState", "ProudSkillExtraLevelMap", "IsFocus", "AvatarType", "TeamResonanceList", "WearingFlycloakId", "EquipAffixList", "BornTime", "PendingPromoteRewardList", "CostumeId", "ExcelInfo", "AnimHash", });
internal_static_AvatarInfo_PropMapEntry_descriptor =
internal_static_AvatarInfo_descriptor.getNestedTypes().get(0);
internal_static_AvatarInfo_PropMapEntry_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_AvatarInfo_PropMapEntry_descriptor,
new java.lang.String[] { "Key", "Value", });
internal_static_AvatarInfo_FightPropMapEntry_descriptor =
internal_static_AvatarInfo_descriptor.getNestedTypes().get(1);
internal_static_AvatarInfo_FightPropMapEntry_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_AvatarInfo_FightPropMapEntry_descriptor,
new java.lang.String[] { "Key", "Value", });
internal_static_AvatarInfo_SkillMapEntry_descriptor =
internal_static_AvatarInfo_descriptor.getNestedTypes().get(2);
internal_static_AvatarInfo_SkillMapEntry_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_AvatarInfo_SkillMapEntry_descriptor,
new java.lang.String[] { "Key", "Value", });
internal_static_AvatarInfo_SkillLevelMapEntry_descriptor =
internal_static_AvatarInfo_descriptor.getNestedTypes().get(3);
internal_static_AvatarInfo_SkillLevelMapEntry_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_AvatarInfo_SkillLevelMapEntry_descriptor,
new java.lang.String[] { "Key", "Value", });
internal_static_AvatarInfo_ProudSkillExtraLevelMapEntry_descriptor =
internal_static_AvatarInfo_descriptor.getNestedTypes().get(4);
internal_static_AvatarInfo_ProudSkillExtraLevelMapEntry_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_AvatarInfo_ProudSkillExtraLevelMapEntry_descriptor,
new java.lang.String[] { "Key", "Value", });
emu.grasscutter.net.proto.AvatarEquipAffixInfoOuterClass.getDescriptor();
emu.grasscutter.net.proto.AvatarExcelInfoOuterClass.getDescriptor();
emu.grasscutter.net.proto.AvatarExpeditionStateOuterClass.getDescriptor();
emu.grasscutter.net.proto.AvatarFetterInfoOuterClass.getDescriptor();
emu.grasscutter.net.proto.AvatarSkillInfoOuterClass.getDescriptor();
emu.grasscutter.net.proto.PropValueOuterClass.getDescriptor();
emu.grasscutter.net.proto.TrialAvatarInfoOuterClass.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
}