skadistats.clarity.wire.dota.common.proto.DOTAModifiers Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of clarity-protobuf Show documentation
Show all versions of clarity-protobuf Show documentation
Clarity is an open source replay parser for Dota 2 and CSGO 1 and 2 written in Java. This JAR contains the protobuf classes for clarity.
The newest version!
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: dota_modifiers.proto
package skadistats.clarity.wire.dota.common.proto;
public final class DOTAModifiers {
private DOTAModifiers() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistry registry) {
}
/**
* Protobuf enum {@code DOTA_MODIFIER_ENTRY_TYPE}
*/
public enum DOTA_MODIFIER_ENTRY_TYPE
implements com.google.protobuf.ProtocolMessageEnum {
/**
* DOTA_MODIFIER_ENTRY_TYPE_ACTIVE = 1;
*/
DOTA_MODIFIER_ENTRY_TYPE_ACTIVE(0, 1),
/**
* DOTA_MODIFIER_ENTRY_TYPE_REMOVED = 2;
*/
DOTA_MODIFIER_ENTRY_TYPE_REMOVED(1, 2),
;
/**
* DOTA_MODIFIER_ENTRY_TYPE_ACTIVE = 1;
*/
public static final int DOTA_MODIFIER_ENTRY_TYPE_ACTIVE_VALUE = 1;
/**
* DOTA_MODIFIER_ENTRY_TYPE_REMOVED = 2;
*/
public static final int DOTA_MODIFIER_ENTRY_TYPE_REMOVED_VALUE = 2;
public final int getNumber() { return value; }
public static DOTA_MODIFIER_ENTRY_TYPE valueOf(int value) {
switch (value) {
case 1: return DOTA_MODIFIER_ENTRY_TYPE_ACTIVE;
case 2: return DOTA_MODIFIER_ENTRY_TYPE_REMOVED;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static com.google.protobuf.Internal.EnumLiteMap
internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
public DOTA_MODIFIER_ENTRY_TYPE findValueByNumber(int number) {
return DOTA_MODIFIER_ENTRY_TYPE.valueOf(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
return getDescriptor().getValues().get(index);
}
public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return skadistats.clarity.wire.dota.common.proto.DOTAModifiers.getDescriptor().getEnumTypes().get(0);
}
private static final DOTA_MODIFIER_ENTRY_TYPE[] VALUES = values();
public static DOTA_MODIFIER_ENTRY_TYPE valueOf(
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
return VALUES[desc.getIndex()];
}
private final int index;
private final int value;
private DOTA_MODIFIER_ENTRY_TYPE(int index, int value) {
this.index = index;
this.value = value;
}
// @@protoc_insertion_point(enum_scope:DOTA_MODIFIER_ENTRY_TYPE)
}
public interface CDOTAModifierBuffTableEntryOrBuilder extends
// @@protoc_insertion_point(interface_extends:CDOTAModifierBuffTableEntry)
com.google.protobuf.MessageOrBuilder {
/**
* required .DOTA_MODIFIER_ENTRY_TYPE entry_type = 1 [default = DOTA_MODIFIER_ENTRY_TYPE_ACTIVE];
*/
boolean hasEntryType();
/**
* required .DOTA_MODIFIER_ENTRY_TYPE entry_type = 1 [default = DOTA_MODIFIER_ENTRY_TYPE_ACTIVE];
*/
skadistats.clarity.wire.dota.common.proto.DOTAModifiers.DOTA_MODIFIER_ENTRY_TYPE getEntryType();
/**
* required uint32 parent = 2 [default = 16777215];
*/
boolean hasParent();
/**
* required uint32 parent = 2 [default = 16777215];
*/
int getParent();
/**
* required int32 index = 3;
*/
boolean hasIndex();
/**
* required int32 index = 3;
*/
int getIndex();
/**
* required int32 serial_num = 4;
*/
boolean hasSerialNum();
/**
* required int32 serial_num = 4;
*/
int getSerialNum();
/**
* optional int32 modifier_class = 5;
*/
boolean hasModifierClass();
/**
* optional int32 modifier_class = 5;
*/
int getModifierClass();
/**
* optional int32 ability_level = 6;
*/
boolean hasAbilityLevel();
/**
* optional int32 ability_level = 6;
*/
int getAbilityLevel();
/**
* optional int32 stack_count = 7;
*/
boolean hasStackCount();
/**
* optional int32 stack_count = 7;
*/
int getStackCount();
/**
* optional float creation_time = 8;
*/
boolean hasCreationTime();
/**
* optional float creation_time = 8;
*/
float getCreationTime();
/**
* optional float duration = 9 [default = -1];
*/
boolean hasDuration();
/**
* optional float duration = 9 [default = -1];
*/
float getDuration();
/**
* optional uint32 caster = 10 [default = 16777215];
*/
boolean hasCaster();
/**
* optional uint32 caster = 10 [default = 16777215];
*/
int getCaster();
/**
* optional uint32 ability = 11 [default = 16777215];
*/
boolean hasAbility();
/**
* optional uint32 ability = 11 [default = 16777215];
*/
int getAbility();
/**
* optional int32 armor = 12;
*/
boolean hasArmor();
/**
* optional int32 armor = 12;
*/
int getArmor();
/**
* optional float fade_time = 13;
*/
boolean hasFadeTime();
/**
* optional float fade_time = 13;
*/
float getFadeTime();
/**
* optional bool subtle = 14;
*/
boolean hasSubtle();
/**
* optional bool subtle = 14;
*/
boolean getSubtle();
/**
* optional float channel_time = 15;
*/
boolean hasChannelTime();
/**
* optional float channel_time = 15;
*/
float getChannelTime();
/**
* optional .CMsgVector v_start = 16;
*/
boolean hasVStart();
/**
* optional .CMsgVector v_start = 16;
*/
skadistats.clarity.wire.shared.common.proto.CommonNetworkBaseTypes.CMsgVector getVStart();
/**
* optional .CMsgVector v_start = 16;
*/
skadistats.clarity.wire.shared.common.proto.CommonNetworkBaseTypes.CMsgVectorOrBuilder getVStartOrBuilder();
/**
* optional .CMsgVector v_end = 17;
*/
boolean hasVEnd();
/**
* optional .CMsgVector v_end = 17;
*/
skadistats.clarity.wire.shared.common.proto.CommonNetworkBaseTypes.CMsgVector getVEnd();
/**
* optional .CMsgVector v_end = 17;
*/
skadistats.clarity.wire.shared.common.proto.CommonNetworkBaseTypes.CMsgVectorOrBuilder getVEndOrBuilder();
/**
* optional string portal_loop_appear = 18;
*/
boolean hasPortalLoopAppear();
/**
* optional string portal_loop_appear = 18;
*/
java.lang.String getPortalLoopAppear();
/**
* optional string portal_loop_appear = 18;
*/
com.google.protobuf.ByteString
getPortalLoopAppearBytes();
/**
* optional string portal_loop_disappear = 19;
*/
boolean hasPortalLoopDisappear();
/**
* optional string portal_loop_disappear = 19;
*/
java.lang.String getPortalLoopDisappear();
/**
* optional string portal_loop_disappear = 19;
*/
com.google.protobuf.ByteString
getPortalLoopDisappearBytes();
/**
* optional string hero_loop_appear = 20;
*/
boolean hasHeroLoopAppear();
/**
* optional string hero_loop_appear = 20;
*/
java.lang.String getHeroLoopAppear();
/**
* optional string hero_loop_appear = 20;
*/
com.google.protobuf.ByteString
getHeroLoopAppearBytes();
/**
* optional string hero_loop_disappear = 21;
*/
boolean hasHeroLoopDisappear();
/**
* optional string hero_loop_disappear = 21;
*/
java.lang.String getHeroLoopDisappear();
/**
* optional string hero_loop_disappear = 21;
*/
com.google.protobuf.ByteString
getHeroLoopDisappearBytes();
/**
* optional int32 movement_speed = 22;
*/
boolean hasMovementSpeed();
/**
* optional int32 movement_speed = 22;
*/
int getMovementSpeed();
/**
* optional bool aura = 23;
*/
boolean hasAura();
/**
* optional bool aura = 23;
*/
boolean getAura();
/**
* optional int32 activity = 24;
*/
boolean hasActivity();
/**
* optional int32 activity = 24;
*/
int getActivity();
/**
* optional int32 damage = 25;
*/
boolean hasDamage();
/**
* optional int32 damage = 25;
*/
int getDamage();
/**
* optional int32 range = 26;
*/
boolean hasRange();
/**
* optional int32 range = 26;
*/
int getRange();
/**
* optional int32 dd_modifier_index = 27;
*/
boolean hasDdModifierIndex();
/**
* optional int32 dd_modifier_index = 27;
*/
int getDdModifierIndex();
/**
* optional int32 dd_ability_id = 28 [default = -1];
*/
boolean hasDdAbilityId();
/**
* optional int32 dd_ability_id = 28 [default = -1];
*/
int getDdAbilityId();
/**
* optional string illusion_label = 29;
*/
boolean hasIllusionLabel();
/**
* optional string illusion_label = 29;
*/
java.lang.String getIllusionLabel();
/**
* optional string illusion_label = 29;
*/
com.google.protobuf.ByteString
getIllusionLabelBytes();
/**
* optional bool active = 30;
*/
boolean hasActive();
/**
* optional bool active = 30;
*/
boolean getActive();
/**
* optional string player_ids = 31;
*/
boolean hasPlayerIds();
/**
* optional string player_ids = 31;
*/
java.lang.String getPlayerIds();
/**
* optional string player_ids = 31;
*/
com.google.protobuf.ByteString
getPlayerIdsBytes();
/**
* optional string lua_name = 32;
*/
boolean hasLuaName();
/**
* optional string lua_name = 32;
*/
java.lang.String getLuaName();
/**
* optional string lua_name = 32;
*/
com.google.protobuf.ByteString
getLuaNameBytes();
/**
* optional int32 attack_speed = 33;
*/
boolean hasAttackSpeed();
/**
* optional int32 attack_speed = 33;
*/
int getAttackSpeed();
/**
* optional uint32 aura_owner = 34 [default = 16777215];
*/
boolean hasAuraOwner();
/**
* optional uint32 aura_owner = 34 [default = 16777215];
*/
int getAuraOwner();
/**
* optional int32 bonus_all_stats = 35;
*/
boolean hasBonusAllStats();
/**
* optional int32 bonus_all_stats = 35;
*/
int getBonusAllStats();
/**
* optional int32 bonus_health = 36;
*/
boolean hasBonusHealth();
/**
* optional int32 bonus_health = 36;
*/
int getBonusHealth();
/**
* optional int32 bonus_mana = 37;
*/
boolean hasBonusMana();
/**
* optional int32 bonus_mana = 37;
*/
int getBonusMana();
/**
* optional uint32 custom_entity = 38 [default = 16777215];
*/
boolean hasCustomEntity();
/**
* optional uint32 custom_entity = 38 [default = 16777215];
*/
int getCustomEntity();
/**
* optional bool aura_within_range = 39;
*/
boolean hasAuraWithinRange();
/**
* optional bool aura_within_range = 39;
*/
boolean getAuraWithinRange();
}
/**
* Protobuf type {@code CDOTAModifierBuffTableEntry}
*/
public static final class CDOTAModifierBuffTableEntry extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:CDOTAModifierBuffTableEntry)
CDOTAModifierBuffTableEntryOrBuilder {
// Use CDOTAModifierBuffTableEntry.newBuilder() to construct.
private CDOTAModifierBuffTableEntry(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private CDOTAModifierBuffTableEntry(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final CDOTAModifierBuffTableEntry defaultInstance;
public static CDOTAModifierBuffTableEntry getDefaultInstance() {
return defaultInstance;
}
public CDOTAModifierBuffTableEntry getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private CDOTAModifierBuffTableEntry(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
int mutable_bitField1_ = 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;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 8: {
int rawValue = input.readEnum();
skadistats.clarity.wire.dota.common.proto.DOTAModifiers.DOTA_MODIFIER_ENTRY_TYPE value = skadistats.clarity.wire.dota.common.proto.DOTAModifiers.DOTA_MODIFIER_ENTRY_TYPE.valueOf(rawValue);
if (value == null) {
unknownFields.mergeVarintField(1, rawValue);
} else {
bitField0_ |= 0x00000001;
entryType_ = value;
}
break;
}
case 16: {
bitField0_ |= 0x00000002;
parent_ = input.readUInt32();
break;
}
case 24: {
bitField0_ |= 0x00000004;
index_ = input.readInt32();
break;
}
case 32: {
bitField0_ |= 0x00000008;
serialNum_ = input.readInt32();
break;
}
case 40: {
bitField0_ |= 0x00000010;
modifierClass_ = input.readInt32();
break;
}
case 48: {
bitField0_ |= 0x00000020;
abilityLevel_ = input.readInt32();
break;
}
case 56: {
bitField0_ |= 0x00000040;
stackCount_ = input.readInt32();
break;
}
case 69: {
bitField0_ |= 0x00000080;
creationTime_ = input.readFloat();
break;
}
case 77: {
bitField0_ |= 0x00000100;
duration_ = input.readFloat();
break;
}
case 80: {
bitField0_ |= 0x00000200;
caster_ = input.readUInt32();
break;
}
case 88: {
bitField0_ |= 0x00000400;
ability_ = input.readUInt32();
break;
}
case 96: {
bitField0_ |= 0x00000800;
armor_ = input.readInt32();
break;
}
case 109: {
bitField0_ |= 0x00001000;
fadeTime_ = input.readFloat();
break;
}
case 112: {
bitField0_ |= 0x00002000;
subtle_ = input.readBool();
break;
}
case 125: {
bitField0_ |= 0x00004000;
channelTime_ = input.readFloat();
break;
}
case 130: {
skadistats.clarity.wire.shared.common.proto.CommonNetworkBaseTypes.CMsgVector.Builder subBuilder = null;
if (((bitField0_ & 0x00008000) == 0x00008000)) {
subBuilder = vStart_.toBuilder();
}
vStart_ = input.readMessage(skadistats.clarity.wire.shared.common.proto.CommonNetworkBaseTypes.CMsgVector.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(vStart_);
vStart_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00008000;
break;
}
case 138: {
skadistats.clarity.wire.shared.common.proto.CommonNetworkBaseTypes.CMsgVector.Builder subBuilder = null;
if (((bitField0_ & 0x00010000) == 0x00010000)) {
subBuilder = vEnd_.toBuilder();
}
vEnd_ = input.readMessage(skadistats.clarity.wire.shared.common.proto.CommonNetworkBaseTypes.CMsgVector.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(vEnd_);
vEnd_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00010000;
break;
}
case 146: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00020000;
portalLoopAppear_ = bs;
break;
}
case 154: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00040000;
portalLoopDisappear_ = bs;
break;
}
case 162: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00080000;
heroLoopAppear_ = bs;
break;
}
case 170: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00100000;
heroLoopDisappear_ = bs;
break;
}
case 176: {
bitField0_ |= 0x00200000;
movementSpeed_ = input.readInt32();
break;
}
case 184: {
bitField0_ |= 0x00400000;
aura_ = input.readBool();
break;
}
case 192: {
bitField0_ |= 0x00800000;
activity_ = input.readInt32();
break;
}
case 200: {
bitField0_ |= 0x01000000;
damage_ = input.readInt32();
break;
}
case 208: {
bitField0_ |= 0x02000000;
range_ = input.readInt32();
break;
}
case 216: {
bitField0_ |= 0x04000000;
ddModifierIndex_ = input.readInt32();
break;
}
case 224: {
bitField0_ |= 0x08000000;
ddAbilityId_ = input.readInt32();
break;
}
case 234: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x10000000;
illusionLabel_ = bs;
break;
}
case 240: {
bitField0_ |= 0x20000000;
active_ = input.readBool();
break;
}
case 250: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x40000000;
playerIds_ = bs;
break;
}
case 258: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x80000000;
luaName_ = bs;
break;
}
case 264: {
bitField1_ |= 0x00000001;
attackSpeed_ = input.readInt32();
break;
}
case 272: {
bitField1_ |= 0x00000002;
auraOwner_ = input.readUInt32();
break;
}
case 280: {
bitField1_ |= 0x00000004;
bonusAllStats_ = input.readInt32();
break;
}
case 288: {
bitField1_ |= 0x00000008;
bonusHealth_ = input.readInt32();
break;
}
case 296: {
bitField1_ |= 0x00000010;
bonusMana_ = input.readInt32();
break;
}
case 304: {
bitField1_ |= 0x00000020;
customEntity_ = input.readUInt32();
break;
}
case 312: {
bitField1_ |= 0x00000040;
auraWithinRange_ = input.readBool();
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return skadistats.clarity.wire.dota.common.proto.DOTAModifiers.internal_static_CDOTAModifierBuffTableEntry_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return skadistats.clarity.wire.dota.common.proto.DOTAModifiers.internal_static_CDOTAModifierBuffTableEntry_fieldAccessorTable
.ensureFieldAccessorsInitialized(
skadistats.clarity.wire.dota.common.proto.DOTAModifiers.CDOTAModifierBuffTableEntry.class, skadistats.clarity.wire.dota.common.proto.DOTAModifiers.CDOTAModifierBuffTableEntry.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public CDOTAModifierBuffTableEntry parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new CDOTAModifierBuffTableEntry(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
private int bitField1_;
public static final int ENTRY_TYPE_FIELD_NUMBER = 1;
private skadistats.clarity.wire.dota.common.proto.DOTAModifiers.DOTA_MODIFIER_ENTRY_TYPE entryType_;
/**
* required .DOTA_MODIFIER_ENTRY_TYPE entry_type = 1 [default = DOTA_MODIFIER_ENTRY_TYPE_ACTIVE];
*/
public boolean hasEntryType() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required .DOTA_MODIFIER_ENTRY_TYPE entry_type = 1 [default = DOTA_MODIFIER_ENTRY_TYPE_ACTIVE];
*/
public skadistats.clarity.wire.dota.common.proto.DOTAModifiers.DOTA_MODIFIER_ENTRY_TYPE getEntryType() {
return entryType_;
}
public static final int PARENT_FIELD_NUMBER = 2;
private int parent_;
/**
* required uint32 parent = 2 [default = 16777215];
*/
public boolean hasParent() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* required uint32 parent = 2 [default = 16777215];
*/
public int getParent() {
return parent_;
}
public static final int INDEX_FIELD_NUMBER = 3;
private int index_;
/**
* required int32 index = 3;
*/
public boolean hasIndex() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* required int32 index = 3;
*/
public int getIndex() {
return index_;
}
public static final int SERIAL_NUM_FIELD_NUMBER = 4;
private int serialNum_;
/**
* required int32 serial_num = 4;
*/
public boolean hasSerialNum() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* required int32 serial_num = 4;
*/
public int getSerialNum() {
return serialNum_;
}
public static final int MODIFIER_CLASS_FIELD_NUMBER = 5;
private int modifierClass_;
/**
* optional int32 modifier_class = 5;
*/
public boolean hasModifierClass() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
/**
* optional int32 modifier_class = 5;
*/
public int getModifierClass() {
return modifierClass_;
}
public static final int ABILITY_LEVEL_FIELD_NUMBER = 6;
private int abilityLevel_;
/**
* optional int32 ability_level = 6;
*/
public boolean hasAbilityLevel() {
return ((bitField0_ & 0x00000020) == 0x00000020);
}
/**
* optional int32 ability_level = 6;
*/
public int getAbilityLevel() {
return abilityLevel_;
}
public static final int STACK_COUNT_FIELD_NUMBER = 7;
private int stackCount_;
/**
* optional int32 stack_count = 7;
*/
public boolean hasStackCount() {
return ((bitField0_ & 0x00000040) == 0x00000040);
}
/**
* optional int32 stack_count = 7;
*/
public int getStackCount() {
return stackCount_;
}
public static final int CREATION_TIME_FIELD_NUMBER = 8;
private float creationTime_;
/**
* optional float creation_time = 8;
*/
public boolean hasCreationTime() {
return ((bitField0_ & 0x00000080) == 0x00000080);
}
/**
* optional float creation_time = 8;
*/
public float getCreationTime() {
return creationTime_;
}
public static final int DURATION_FIELD_NUMBER = 9;
private float duration_;
/**
* optional float duration = 9 [default = -1];
*/
public boolean hasDuration() {
return ((bitField0_ & 0x00000100) == 0x00000100);
}
/**
* optional float duration = 9 [default = -1];
*/
public float getDuration() {
return duration_;
}
public static final int CASTER_FIELD_NUMBER = 10;
private int caster_;
/**
* optional uint32 caster = 10 [default = 16777215];
*/
public boolean hasCaster() {
return ((bitField0_ & 0x00000200) == 0x00000200);
}
/**
* optional uint32 caster = 10 [default = 16777215];
*/
public int getCaster() {
return caster_;
}
public static final int ABILITY_FIELD_NUMBER = 11;
private int ability_;
/**
* optional uint32 ability = 11 [default = 16777215];
*/
public boolean hasAbility() {
return ((bitField0_ & 0x00000400) == 0x00000400);
}
/**
* optional uint32 ability = 11 [default = 16777215];
*/
public int getAbility() {
return ability_;
}
public static final int ARMOR_FIELD_NUMBER = 12;
private int armor_;
/**
* optional int32 armor = 12;
*/
public boolean hasArmor() {
return ((bitField0_ & 0x00000800) == 0x00000800);
}
/**
* optional int32 armor = 12;
*/
public int getArmor() {
return armor_;
}
public static final int FADE_TIME_FIELD_NUMBER = 13;
private float fadeTime_;
/**
* optional float fade_time = 13;
*/
public boolean hasFadeTime() {
return ((bitField0_ & 0x00001000) == 0x00001000);
}
/**
* optional float fade_time = 13;
*/
public float getFadeTime() {
return fadeTime_;
}
public static final int SUBTLE_FIELD_NUMBER = 14;
private boolean subtle_;
/**
* optional bool subtle = 14;
*/
public boolean hasSubtle() {
return ((bitField0_ & 0x00002000) == 0x00002000);
}
/**
* optional bool subtle = 14;
*/
public boolean getSubtle() {
return subtle_;
}
public static final int CHANNEL_TIME_FIELD_NUMBER = 15;
private float channelTime_;
/**
* optional float channel_time = 15;
*/
public boolean hasChannelTime() {
return ((bitField0_ & 0x00004000) == 0x00004000);
}
/**
* optional float channel_time = 15;
*/
public float getChannelTime() {
return channelTime_;
}
public static final int V_START_FIELD_NUMBER = 16;
private skadistats.clarity.wire.shared.common.proto.CommonNetworkBaseTypes.CMsgVector vStart_;
/**
* optional .CMsgVector v_start = 16;
*/
public boolean hasVStart() {
return ((bitField0_ & 0x00008000) == 0x00008000);
}
/**
* optional .CMsgVector v_start = 16;
*/
public skadistats.clarity.wire.shared.common.proto.CommonNetworkBaseTypes.CMsgVector getVStart() {
return vStart_;
}
/**
* optional .CMsgVector v_start = 16;
*/
public skadistats.clarity.wire.shared.common.proto.CommonNetworkBaseTypes.CMsgVectorOrBuilder getVStartOrBuilder() {
return vStart_;
}
public static final int V_END_FIELD_NUMBER = 17;
private skadistats.clarity.wire.shared.common.proto.CommonNetworkBaseTypes.CMsgVector vEnd_;
/**
* optional .CMsgVector v_end = 17;
*/
public boolean hasVEnd() {
return ((bitField0_ & 0x00010000) == 0x00010000);
}
/**
* optional .CMsgVector v_end = 17;
*/
public skadistats.clarity.wire.shared.common.proto.CommonNetworkBaseTypes.CMsgVector getVEnd() {
return vEnd_;
}
/**
* optional .CMsgVector v_end = 17;
*/
public skadistats.clarity.wire.shared.common.proto.CommonNetworkBaseTypes.CMsgVectorOrBuilder getVEndOrBuilder() {
return vEnd_;
}
public static final int PORTAL_LOOP_APPEAR_FIELD_NUMBER = 18;
private java.lang.Object portalLoopAppear_;
/**
* optional string portal_loop_appear = 18;
*/
public boolean hasPortalLoopAppear() {
return ((bitField0_ & 0x00020000) == 0x00020000);
}
/**
* optional string portal_loop_appear = 18;
*/
public java.lang.String getPortalLoopAppear() {
java.lang.Object ref = portalLoopAppear_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
portalLoopAppear_ = s;
}
return s;
}
}
/**
* optional string portal_loop_appear = 18;
*/
public com.google.protobuf.ByteString
getPortalLoopAppearBytes() {
java.lang.Object ref = portalLoopAppear_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
portalLoopAppear_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int PORTAL_LOOP_DISAPPEAR_FIELD_NUMBER = 19;
private java.lang.Object portalLoopDisappear_;
/**
* optional string portal_loop_disappear = 19;
*/
public boolean hasPortalLoopDisappear() {
return ((bitField0_ & 0x00040000) == 0x00040000);
}
/**
* optional string portal_loop_disappear = 19;
*/
public java.lang.String getPortalLoopDisappear() {
java.lang.Object ref = portalLoopDisappear_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
portalLoopDisappear_ = s;
}
return s;
}
}
/**
* optional string portal_loop_disappear = 19;
*/
public com.google.protobuf.ByteString
getPortalLoopDisappearBytes() {
java.lang.Object ref = portalLoopDisappear_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
portalLoopDisappear_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int HERO_LOOP_APPEAR_FIELD_NUMBER = 20;
private java.lang.Object heroLoopAppear_;
/**
* optional string hero_loop_appear = 20;
*/
public boolean hasHeroLoopAppear() {
return ((bitField0_ & 0x00080000) == 0x00080000);
}
/**
* optional string hero_loop_appear = 20;
*/
public java.lang.String getHeroLoopAppear() {
java.lang.Object ref = heroLoopAppear_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
heroLoopAppear_ = s;
}
return s;
}
}
/**
* optional string hero_loop_appear = 20;
*/
public com.google.protobuf.ByteString
getHeroLoopAppearBytes() {
java.lang.Object ref = heroLoopAppear_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
heroLoopAppear_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int HERO_LOOP_DISAPPEAR_FIELD_NUMBER = 21;
private java.lang.Object heroLoopDisappear_;
/**
* optional string hero_loop_disappear = 21;
*/
public boolean hasHeroLoopDisappear() {
return ((bitField0_ & 0x00100000) == 0x00100000);
}
/**
* optional string hero_loop_disappear = 21;
*/
public java.lang.String getHeroLoopDisappear() {
java.lang.Object ref = heroLoopDisappear_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
heroLoopDisappear_ = s;
}
return s;
}
}
/**
* optional string hero_loop_disappear = 21;
*/
public com.google.protobuf.ByteString
getHeroLoopDisappearBytes() {
java.lang.Object ref = heroLoopDisappear_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
heroLoopDisappear_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int MOVEMENT_SPEED_FIELD_NUMBER = 22;
private int movementSpeed_;
/**
* optional int32 movement_speed = 22;
*/
public boolean hasMovementSpeed() {
return ((bitField0_ & 0x00200000) == 0x00200000);
}
/**
* optional int32 movement_speed = 22;
*/
public int getMovementSpeed() {
return movementSpeed_;
}
public static final int AURA_FIELD_NUMBER = 23;
private boolean aura_;
/**
* optional bool aura = 23;
*/
public boolean hasAura() {
return ((bitField0_ & 0x00400000) == 0x00400000);
}
/**
* optional bool aura = 23;
*/
public boolean getAura() {
return aura_;
}
public static final int ACTIVITY_FIELD_NUMBER = 24;
private int activity_;
/**
* optional int32 activity = 24;
*/
public boolean hasActivity() {
return ((bitField0_ & 0x00800000) == 0x00800000);
}
/**
* optional int32 activity = 24;
*/
public int getActivity() {
return activity_;
}
public static final int DAMAGE_FIELD_NUMBER = 25;
private int damage_;
/**
* optional int32 damage = 25;
*/
public boolean hasDamage() {
return ((bitField0_ & 0x01000000) == 0x01000000);
}
/**
* optional int32 damage = 25;
*/
public int getDamage() {
return damage_;
}
public static final int RANGE_FIELD_NUMBER = 26;
private int range_;
/**
* optional int32 range = 26;
*/
public boolean hasRange() {
return ((bitField0_ & 0x02000000) == 0x02000000);
}
/**
* optional int32 range = 26;
*/
public int getRange() {
return range_;
}
public static final int DD_MODIFIER_INDEX_FIELD_NUMBER = 27;
private int ddModifierIndex_;
/**
* optional int32 dd_modifier_index = 27;
*/
public boolean hasDdModifierIndex() {
return ((bitField0_ & 0x04000000) == 0x04000000);
}
/**
* optional int32 dd_modifier_index = 27;
*/
public int getDdModifierIndex() {
return ddModifierIndex_;
}
public static final int DD_ABILITY_ID_FIELD_NUMBER = 28;
private int ddAbilityId_;
/**
* optional int32 dd_ability_id = 28 [default = -1];
*/
public boolean hasDdAbilityId() {
return ((bitField0_ & 0x08000000) == 0x08000000);
}
/**
* optional int32 dd_ability_id = 28 [default = -1];
*/
public int getDdAbilityId() {
return ddAbilityId_;
}
public static final int ILLUSION_LABEL_FIELD_NUMBER = 29;
private java.lang.Object illusionLabel_;
/**
* optional string illusion_label = 29;
*/
public boolean hasIllusionLabel() {
return ((bitField0_ & 0x10000000) == 0x10000000);
}
/**
* optional string illusion_label = 29;
*/
public java.lang.String getIllusionLabel() {
java.lang.Object ref = illusionLabel_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
illusionLabel_ = s;
}
return s;
}
}
/**
* optional string illusion_label = 29;
*/
public com.google.protobuf.ByteString
getIllusionLabelBytes() {
java.lang.Object ref = illusionLabel_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
illusionLabel_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int ACTIVE_FIELD_NUMBER = 30;
private boolean active_;
/**
* optional bool active = 30;
*/
public boolean hasActive() {
return ((bitField0_ & 0x20000000) == 0x20000000);
}
/**
* optional bool active = 30;
*/
public boolean getActive() {
return active_;
}
public static final int PLAYER_IDS_FIELD_NUMBER = 31;
private java.lang.Object playerIds_;
/**
* optional string player_ids = 31;
*/
public boolean hasPlayerIds() {
return ((bitField0_ & 0x40000000) == 0x40000000);
}
/**
* optional string player_ids = 31;
*/
public java.lang.String getPlayerIds() {
java.lang.Object ref = playerIds_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
playerIds_ = s;
}
return s;
}
}
/**
* optional string player_ids = 31;
*/
public com.google.protobuf.ByteString
getPlayerIdsBytes() {
java.lang.Object ref = playerIds_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
playerIds_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int LUA_NAME_FIELD_NUMBER = 32;
private java.lang.Object luaName_;
/**
* optional string lua_name = 32;
*/
public boolean hasLuaName() {
return ((bitField0_ & 0x80000000) == 0x80000000);
}
/**
* optional string lua_name = 32;
*/
public java.lang.String getLuaName() {
java.lang.Object ref = luaName_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
luaName_ = s;
}
return s;
}
}
/**
* optional string lua_name = 32;
*/
public com.google.protobuf.ByteString
getLuaNameBytes() {
java.lang.Object ref = luaName_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
luaName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int ATTACK_SPEED_FIELD_NUMBER = 33;
private int attackSpeed_;
/**
* optional int32 attack_speed = 33;
*/
public boolean hasAttackSpeed() {
return ((bitField1_ & 0x00000001) == 0x00000001);
}
/**
* optional int32 attack_speed = 33;
*/
public int getAttackSpeed() {
return attackSpeed_;
}
public static final int AURA_OWNER_FIELD_NUMBER = 34;
private int auraOwner_;
/**
* optional uint32 aura_owner = 34 [default = 16777215];
*/
public boolean hasAuraOwner() {
return ((bitField1_ & 0x00000002) == 0x00000002);
}
/**
* optional uint32 aura_owner = 34 [default = 16777215];
*/
public int getAuraOwner() {
return auraOwner_;
}
public static final int BONUS_ALL_STATS_FIELD_NUMBER = 35;
private int bonusAllStats_;
/**
* optional int32 bonus_all_stats = 35;
*/
public boolean hasBonusAllStats() {
return ((bitField1_ & 0x00000004) == 0x00000004);
}
/**
* optional int32 bonus_all_stats = 35;
*/
public int getBonusAllStats() {
return bonusAllStats_;
}
public static final int BONUS_HEALTH_FIELD_NUMBER = 36;
private int bonusHealth_;
/**
* optional int32 bonus_health = 36;
*/
public boolean hasBonusHealth() {
return ((bitField1_ & 0x00000008) == 0x00000008);
}
/**
* optional int32 bonus_health = 36;
*/
public int getBonusHealth() {
return bonusHealth_;
}
public static final int BONUS_MANA_FIELD_NUMBER = 37;
private int bonusMana_;
/**
* optional int32 bonus_mana = 37;
*/
public boolean hasBonusMana() {
return ((bitField1_ & 0x00000010) == 0x00000010);
}
/**
* optional int32 bonus_mana = 37;
*/
public int getBonusMana() {
return bonusMana_;
}
public static final int CUSTOM_ENTITY_FIELD_NUMBER = 38;
private int customEntity_;
/**
* optional uint32 custom_entity = 38 [default = 16777215];
*/
public boolean hasCustomEntity() {
return ((bitField1_ & 0x00000020) == 0x00000020);
}
/**
* optional uint32 custom_entity = 38 [default = 16777215];
*/
public int getCustomEntity() {
return customEntity_;
}
public static final int AURA_WITHIN_RANGE_FIELD_NUMBER = 39;
private boolean auraWithinRange_;
/**
* optional bool aura_within_range = 39;
*/
public boolean hasAuraWithinRange() {
return ((bitField1_ & 0x00000040) == 0x00000040);
}
/**
* optional bool aura_within_range = 39;
*/
public boolean getAuraWithinRange() {
return auraWithinRange_;
}
private void initFields() {
entryType_ = skadistats.clarity.wire.dota.common.proto.DOTAModifiers.DOTA_MODIFIER_ENTRY_TYPE.DOTA_MODIFIER_ENTRY_TYPE_ACTIVE;
parent_ = 16777215;
index_ = 0;
serialNum_ = 0;
modifierClass_ = 0;
abilityLevel_ = 0;
stackCount_ = 0;
creationTime_ = 0F;
duration_ = -1F;
caster_ = 16777215;
ability_ = 16777215;
armor_ = 0;
fadeTime_ = 0F;
subtle_ = false;
channelTime_ = 0F;
vStart_ = skadistats.clarity.wire.shared.common.proto.CommonNetworkBaseTypes.CMsgVector.getDefaultInstance();
vEnd_ = skadistats.clarity.wire.shared.common.proto.CommonNetworkBaseTypes.CMsgVector.getDefaultInstance();
portalLoopAppear_ = "";
portalLoopDisappear_ = "";
heroLoopAppear_ = "";
heroLoopDisappear_ = "";
movementSpeed_ = 0;
aura_ = false;
activity_ = 0;
damage_ = 0;
range_ = 0;
ddModifierIndex_ = 0;
ddAbilityId_ = -1;
illusionLabel_ = "";
active_ = false;
playerIds_ = "";
luaName_ = "";
attackSpeed_ = 0;
auraOwner_ = 16777215;
bonusAllStats_ = 0;
bonusHealth_ = 0;
bonusMana_ = 0;
customEntity_ = 16777215;
auraWithinRange_ = false;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
if (!hasEntryType()) {
memoizedIsInitialized = 0;
return false;
}
if (!hasParent()) {
memoizedIsInitialized = 0;
return false;
}
if (!hasIndex()) {
memoizedIsInitialized = 0;
return false;
}
if (!hasSerialNum()) {
memoizedIsInitialized = 0;
return false;
}
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeEnum(1, entryType_.getNumber());
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeUInt32(2, parent_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
output.writeInt32(3, index_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
output.writeInt32(4, serialNum_);
}
if (((bitField0_ & 0x00000010) == 0x00000010)) {
output.writeInt32(5, modifierClass_);
}
if (((bitField0_ & 0x00000020) == 0x00000020)) {
output.writeInt32(6, abilityLevel_);
}
if (((bitField0_ & 0x00000040) == 0x00000040)) {
output.writeInt32(7, stackCount_);
}
if (((bitField0_ & 0x00000080) == 0x00000080)) {
output.writeFloat(8, creationTime_);
}
if (((bitField0_ & 0x00000100) == 0x00000100)) {
output.writeFloat(9, duration_);
}
if (((bitField0_ & 0x00000200) == 0x00000200)) {
output.writeUInt32(10, caster_);
}
if (((bitField0_ & 0x00000400) == 0x00000400)) {
output.writeUInt32(11, ability_);
}
if (((bitField0_ & 0x00000800) == 0x00000800)) {
output.writeInt32(12, armor_);
}
if (((bitField0_ & 0x00001000) == 0x00001000)) {
output.writeFloat(13, fadeTime_);
}
if (((bitField0_ & 0x00002000) == 0x00002000)) {
output.writeBool(14, subtle_);
}
if (((bitField0_ & 0x00004000) == 0x00004000)) {
output.writeFloat(15, channelTime_);
}
if (((bitField0_ & 0x00008000) == 0x00008000)) {
output.writeMessage(16, vStart_);
}
if (((bitField0_ & 0x00010000) == 0x00010000)) {
output.writeMessage(17, vEnd_);
}
if (((bitField0_ & 0x00020000) == 0x00020000)) {
output.writeBytes(18, getPortalLoopAppearBytes());
}
if (((bitField0_ & 0x00040000) == 0x00040000)) {
output.writeBytes(19, getPortalLoopDisappearBytes());
}
if (((bitField0_ & 0x00080000) == 0x00080000)) {
output.writeBytes(20, getHeroLoopAppearBytes());
}
if (((bitField0_ & 0x00100000) == 0x00100000)) {
output.writeBytes(21, getHeroLoopDisappearBytes());
}
if (((bitField0_ & 0x00200000) == 0x00200000)) {
output.writeInt32(22, movementSpeed_);
}
if (((bitField0_ & 0x00400000) == 0x00400000)) {
output.writeBool(23, aura_);
}
if (((bitField0_ & 0x00800000) == 0x00800000)) {
output.writeInt32(24, activity_);
}
if (((bitField0_ & 0x01000000) == 0x01000000)) {
output.writeInt32(25, damage_);
}
if (((bitField0_ & 0x02000000) == 0x02000000)) {
output.writeInt32(26, range_);
}
if (((bitField0_ & 0x04000000) == 0x04000000)) {
output.writeInt32(27, ddModifierIndex_);
}
if (((bitField0_ & 0x08000000) == 0x08000000)) {
output.writeInt32(28, ddAbilityId_);
}
if (((bitField0_ & 0x10000000) == 0x10000000)) {
output.writeBytes(29, getIllusionLabelBytes());
}
if (((bitField0_ & 0x20000000) == 0x20000000)) {
output.writeBool(30, active_);
}
if (((bitField0_ & 0x40000000) == 0x40000000)) {
output.writeBytes(31, getPlayerIdsBytes());
}
if (((bitField0_ & 0x80000000) == 0x80000000)) {
output.writeBytes(32, getLuaNameBytes());
}
if (((bitField1_ & 0x00000001) == 0x00000001)) {
output.writeInt32(33, attackSpeed_);
}
if (((bitField1_ & 0x00000002) == 0x00000002)) {
output.writeUInt32(34, auraOwner_);
}
if (((bitField1_ & 0x00000004) == 0x00000004)) {
output.writeInt32(35, bonusAllStats_);
}
if (((bitField1_ & 0x00000008) == 0x00000008)) {
output.writeInt32(36, bonusHealth_);
}
if (((bitField1_ & 0x00000010) == 0x00000010)) {
output.writeInt32(37, bonusMana_);
}
if (((bitField1_ & 0x00000020) == 0x00000020)) {
output.writeUInt32(38, customEntity_);
}
if (((bitField1_ & 0x00000040) == 0x00000040)) {
output.writeBool(39, auraWithinRange_);
}
getUnknownFields().writeTo(output);
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(1, entryType_.getNumber());
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(2, parent_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(3, index_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(4, serialNum_);
}
if (((bitField0_ & 0x00000010) == 0x00000010)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(5, modifierClass_);
}
if (((bitField0_ & 0x00000020) == 0x00000020)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(6, abilityLevel_);
}
if (((bitField0_ & 0x00000040) == 0x00000040)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(7, stackCount_);
}
if (((bitField0_ & 0x00000080) == 0x00000080)) {
size += com.google.protobuf.CodedOutputStream
.computeFloatSize(8, creationTime_);
}
if (((bitField0_ & 0x00000100) == 0x00000100)) {
size += com.google.protobuf.CodedOutputStream
.computeFloatSize(9, duration_);
}
if (((bitField0_ & 0x00000200) == 0x00000200)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(10, caster_);
}
if (((bitField0_ & 0x00000400) == 0x00000400)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(11, ability_);
}
if (((bitField0_ & 0x00000800) == 0x00000800)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(12, armor_);
}
if (((bitField0_ & 0x00001000) == 0x00001000)) {
size += com.google.protobuf.CodedOutputStream
.computeFloatSize(13, fadeTime_);
}
if (((bitField0_ & 0x00002000) == 0x00002000)) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(14, subtle_);
}
if (((bitField0_ & 0x00004000) == 0x00004000)) {
size += com.google.protobuf.CodedOutputStream
.computeFloatSize(15, channelTime_);
}
if (((bitField0_ & 0x00008000) == 0x00008000)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(16, vStart_);
}
if (((bitField0_ & 0x00010000) == 0x00010000)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(17, vEnd_);
}
if (((bitField0_ & 0x00020000) == 0x00020000)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(18, getPortalLoopAppearBytes());
}
if (((bitField0_ & 0x00040000) == 0x00040000)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(19, getPortalLoopDisappearBytes());
}
if (((bitField0_ & 0x00080000) == 0x00080000)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(20, getHeroLoopAppearBytes());
}
if (((bitField0_ & 0x00100000) == 0x00100000)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(21, getHeroLoopDisappearBytes());
}
if (((bitField0_ & 0x00200000) == 0x00200000)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(22, movementSpeed_);
}
if (((bitField0_ & 0x00400000) == 0x00400000)) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(23, aura_);
}
if (((bitField0_ & 0x00800000) == 0x00800000)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(24, activity_);
}
if (((bitField0_ & 0x01000000) == 0x01000000)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(25, damage_);
}
if (((bitField0_ & 0x02000000) == 0x02000000)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(26, range_);
}
if (((bitField0_ & 0x04000000) == 0x04000000)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(27, ddModifierIndex_);
}
if (((bitField0_ & 0x08000000) == 0x08000000)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(28, ddAbilityId_);
}
if (((bitField0_ & 0x10000000) == 0x10000000)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(29, getIllusionLabelBytes());
}
if (((bitField0_ & 0x20000000) == 0x20000000)) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(30, active_);
}
if (((bitField0_ & 0x40000000) == 0x40000000)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(31, getPlayerIdsBytes());
}
if (((bitField0_ & 0x80000000) == 0x80000000)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(32, getLuaNameBytes());
}
if (((bitField1_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(33, attackSpeed_);
}
if (((bitField1_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(34, auraOwner_);
}
if (((bitField1_ & 0x00000004) == 0x00000004)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(35, bonusAllStats_);
}
if (((bitField1_ & 0x00000008) == 0x00000008)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(36, bonusHealth_);
}
if (((bitField1_ & 0x00000010) == 0x00000010)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(37, bonusMana_);
}
if (((bitField1_ & 0x00000020) == 0x00000020)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(38, customEntity_);
}
if (((bitField1_ & 0x00000040) == 0x00000040)) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(39, auraWithinRange_);
}
size += getUnknownFields().getSerializedSize();
memoizedSerializedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
protected java.lang.Object writeReplace()
throws java.io.ObjectStreamException {
return super.writeReplace();
}
public static skadistats.clarity.wire.dota.common.proto.DOTAModifiers.CDOTAModifierBuffTableEntry parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static skadistats.clarity.wire.dota.common.proto.DOTAModifiers.CDOTAModifierBuffTableEntry parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static skadistats.clarity.wire.dota.common.proto.DOTAModifiers.CDOTAModifierBuffTableEntry parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static skadistats.clarity.wire.dota.common.proto.DOTAModifiers.CDOTAModifierBuffTableEntry parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static skadistats.clarity.wire.dota.common.proto.DOTAModifiers.CDOTAModifierBuffTableEntry parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static skadistats.clarity.wire.dota.common.proto.DOTAModifiers.CDOTAModifierBuffTableEntry parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static skadistats.clarity.wire.dota.common.proto.DOTAModifiers.CDOTAModifierBuffTableEntry parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static skadistats.clarity.wire.dota.common.proto.DOTAModifiers.CDOTAModifierBuffTableEntry parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static skadistats.clarity.wire.dota.common.proto.DOTAModifiers.CDOTAModifierBuffTableEntry parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static skadistats.clarity.wire.dota.common.proto.DOTAModifiers.CDOTAModifierBuffTableEntry parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(skadistats.clarity.wire.dota.common.proto.DOTAModifiers.CDOTAModifierBuffTableEntry prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code CDOTAModifierBuffTableEntry}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:CDOTAModifierBuffTableEntry)
skadistats.clarity.wire.dota.common.proto.DOTAModifiers.CDOTAModifierBuffTableEntryOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return skadistats.clarity.wire.dota.common.proto.DOTAModifiers.internal_static_CDOTAModifierBuffTableEntry_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return skadistats.clarity.wire.dota.common.proto.DOTAModifiers.internal_static_CDOTAModifierBuffTableEntry_fieldAccessorTable
.ensureFieldAccessorsInitialized(
skadistats.clarity.wire.dota.common.proto.DOTAModifiers.CDOTAModifierBuffTableEntry.class, skadistats.clarity.wire.dota.common.proto.DOTAModifiers.CDOTAModifierBuffTableEntry.Builder.class);
}
// Construct using skadistats.clarity.wire.dota.common.proto.DOTAModifiers.CDOTAModifierBuffTableEntry.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
getVStartFieldBuilder();
getVEndFieldBuilder();
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
entryType_ = skadistats.clarity.wire.dota.common.proto.DOTAModifiers.DOTA_MODIFIER_ENTRY_TYPE.DOTA_MODIFIER_ENTRY_TYPE_ACTIVE;
bitField0_ = (bitField0_ & ~0x00000001);
parent_ = 16777215;
bitField0_ = (bitField0_ & ~0x00000002);
index_ = 0;
bitField0_ = (bitField0_ & ~0x00000004);
serialNum_ = 0;
bitField0_ = (bitField0_ & ~0x00000008);
modifierClass_ = 0;
bitField0_ = (bitField0_ & ~0x00000010);
abilityLevel_ = 0;
bitField0_ = (bitField0_ & ~0x00000020);
stackCount_ = 0;
bitField0_ = (bitField0_ & ~0x00000040);
creationTime_ = 0F;
bitField0_ = (bitField0_ & ~0x00000080);
duration_ = -1F;
bitField0_ = (bitField0_ & ~0x00000100);
caster_ = 16777215;
bitField0_ = (bitField0_ & ~0x00000200);
ability_ = 16777215;
bitField0_ = (bitField0_ & ~0x00000400);
armor_ = 0;
bitField0_ = (bitField0_ & ~0x00000800);
fadeTime_ = 0F;
bitField0_ = (bitField0_ & ~0x00001000);
subtle_ = false;
bitField0_ = (bitField0_ & ~0x00002000);
channelTime_ = 0F;
bitField0_ = (bitField0_ & ~0x00004000);
if (vStartBuilder_ == null) {
vStart_ = skadistats.clarity.wire.shared.common.proto.CommonNetworkBaseTypes.CMsgVector.getDefaultInstance();
} else {
vStartBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00008000);
if (vEndBuilder_ == null) {
vEnd_ = skadistats.clarity.wire.shared.common.proto.CommonNetworkBaseTypes.CMsgVector.getDefaultInstance();
} else {
vEndBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00010000);
portalLoopAppear_ = "";
bitField0_ = (bitField0_ & ~0x00020000);
portalLoopDisappear_ = "";
bitField0_ = (bitField0_ & ~0x00040000);
heroLoopAppear_ = "";
bitField0_ = (bitField0_ & ~0x00080000);
heroLoopDisappear_ = "";
bitField0_ = (bitField0_ & ~0x00100000);
movementSpeed_ = 0;
bitField0_ = (bitField0_ & ~0x00200000);
aura_ = false;
bitField0_ = (bitField0_ & ~0x00400000);
activity_ = 0;
bitField0_ = (bitField0_ & ~0x00800000);
damage_ = 0;
bitField0_ = (bitField0_ & ~0x01000000);
range_ = 0;
bitField0_ = (bitField0_ & ~0x02000000);
ddModifierIndex_ = 0;
bitField0_ = (bitField0_ & ~0x04000000);
ddAbilityId_ = -1;
bitField0_ = (bitField0_ & ~0x08000000);
illusionLabel_ = "";
bitField0_ = (bitField0_ & ~0x10000000);
active_ = false;
bitField0_ = (bitField0_ & ~0x20000000);
playerIds_ = "";
bitField0_ = (bitField0_ & ~0x40000000);
luaName_ = "";
bitField0_ = (bitField0_ & ~0x80000000);
attackSpeed_ = 0;
bitField1_ = (bitField1_ & ~0x00000001);
auraOwner_ = 16777215;
bitField1_ = (bitField1_ & ~0x00000002);
bonusAllStats_ = 0;
bitField1_ = (bitField1_ & ~0x00000004);
bonusHealth_ = 0;
bitField1_ = (bitField1_ & ~0x00000008);
bonusMana_ = 0;
bitField1_ = (bitField1_ & ~0x00000010);
customEntity_ = 16777215;
bitField1_ = (bitField1_ & ~0x00000020);
auraWithinRange_ = false;
bitField1_ = (bitField1_ & ~0x00000040);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return skadistats.clarity.wire.dota.common.proto.DOTAModifiers.internal_static_CDOTAModifierBuffTableEntry_descriptor;
}
public skadistats.clarity.wire.dota.common.proto.DOTAModifiers.CDOTAModifierBuffTableEntry getDefaultInstanceForType() {
return skadistats.clarity.wire.dota.common.proto.DOTAModifiers.CDOTAModifierBuffTableEntry.getDefaultInstance();
}
public skadistats.clarity.wire.dota.common.proto.DOTAModifiers.CDOTAModifierBuffTableEntry build() {
skadistats.clarity.wire.dota.common.proto.DOTAModifiers.CDOTAModifierBuffTableEntry result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public skadistats.clarity.wire.dota.common.proto.DOTAModifiers.CDOTAModifierBuffTableEntry buildPartial() {
skadistats.clarity.wire.dota.common.proto.DOTAModifiers.CDOTAModifierBuffTableEntry result = new skadistats.clarity.wire.dota.common.proto.DOTAModifiers.CDOTAModifierBuffTableEntry(this);
int from_bitField0_ = bitField0_;
int from_bitField1_ = bitField1_;
int to_bitField0_ = 0;
int to_bitField1_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.entryType_ = entryType_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.parent_ = parent_;
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
to_bitField0_ |= 0x00000004;
}
result.index_ = index_;
if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
to_bitField0_ |= 0x00000008;
}
result.serialNum_ = serialNum_;
if (((from_bitField0_ & 0x00000010) == 0x00000010)) {
to_bitField0_ |= 0x00000010;
}
result.modifierClass_ = modifierClass_;
if (((from_bitField0_ & 0x00000020) == 0x00000020)) {
to_bitField0_ |= 0x00000020;
}
result.abilityLevel_ = abilityLevel_;
if (((from_bitField0_ & 0x00000040) == 0x00000040)) {
to_bitField0_ |= 0x00000040;
}
result.stackCount_ = stackCount_;
if (((from_bitField0_ & 0x00000080) == 0x00000080)) {
to_bitField0_ |= 0x00000080;
}
result.creationTime_ = creationTime_;
if (((from_bitField0_ & 0x00000100) == 0x00000100)) {
to_bitField0_ |= 0x00000100;
}
result.duration_ = duration_;
if (((from_bitField0_ & 0x00000200) == 0x00000200)) {
to_bitField0_ |= 0x00000200;
}
result.caster_ = caster_;
if (((from_bitField0_ & 0x00000400) == 0x00000400)) {
to_bitField0_ |= 0x00000400;
}
result.ability_ = ability_;
if (((from_bitField0_ & 0x00000800) == 0x00000800)) {
to_bitField0_ |= 0x00000800;
}
result.armor_ = armor_;
if (((from_bitField0_ & 0x00001000) == 0x00001000)) {
to_bitField0_ |= 0x00001000;
}
result.fadeTime_ = fadeTime_;
if (((from_bitField0_ & 0x00002000) == 0x00002000)) {
to_bitField0_ |= 0x00002000;
}
result.subtle_ = subtle_;
if (((from_bitField0_ & 0x00004000) == 0x00004000)) {
to_bitField0_ |= 0x00004000;
}
result.channelTime_ = channelTime_;
if (((from_bitField0_ & 0x00008000) == 0x00008000)) {
to_bitField0_ |= 0x00008000;
}
if (vStartBuilder_ == null) {
result.vStart_ = vStart_;
} else {
result.vStart_ = vStartBuilder_.build();
}
if (((from_bitField0_ & 0x00010000) == 0x00010000)) {
to_bitField0_ |= 0x00010000;
}
if (vEndBuilder_ == null) {
result.vEnd_ = vEnd_;
} else {
result.vEnd_ = vEndBuilder_.build();
}
if (((from_bitField0_ & 0x00020000) == 0x00020000)) {
to_bitField0_ |= 0x00020000;
}
result.portalLoopAppear_ = portalLoopAppear_;
if (((from_bitField0_ & 0x00040000) == 0x00040000)) {
to_bitField0_ |= 0x00040000;
}
result.portalLoopDisappear_ = portalLoopDisappear_;
if (((from_bitField0_ & 0x00080000) == 0x00080000)) {
to_bitField0_ |= 0x00080000;
}
result.heroLoopAppear_ = heroLoopAppear_;
if (((from_bitField0_ & 0x00100000) == 0x00100000)) {
to_bitField0_ |= 0x00100000;
}
result.heroLoopDisappear_ = heroLoopDisappear_;
if (((from_bitField0_ & 0x00200000) == 0x00200000)) {
to_bitField0_ |= 0x00200000;
}
result.movementSpeed_ = movementSpeed_;
if (((from_bitField0_ & 0x00400000) == 0x00400000)) {
to_bitField0_ |= 0x00400000;
}
result.aura_ = aura_;
if (((from_bitField0_ & 0x00800000) == 0x00800000)) {
to_bitField0_ |= 0x00800000;
}
result.activity_ = activity_;
if (((from_bitField0_ & 0x01000000) == 0x01000000)) {
to_bitField0_ |= 0x01000000;
}
result.damage_ = damage_;
if (((from_bitField0_ & 0x02000000) == 0x02000000)) {
to_bitField0_ |= 0x02000000;
}
result.range_ = range_;
if (((from_bitField0_ & 0x04000000) == 0x04000000)) {
to_bitField0_ |= 0x04000000;
}
result.ddModifierIndex_ = ddModifierIndex_;
if (((from_bitField0_ & 0x08000000) == 0x08000000)) {
to_bitField0_ |= 0x08000000;
}
result.ddAbilityId_ = ddAbilityId_;
if (((from_bitField0_ & 0x10000000) == 0x10000000)) {
to_bitField0_ |= 0x10000000;
}
result.illusionLabel_ = illusionLabel_;
if (((from_bitField0_ & 0x20000000) == 0x20000000)) {
to_bitField0_ |= 0x20000000;
}
result.active_ = active_;
if (((from_bitField0_ & 0x40000000) == 0x40000000)) {
to_bitField0_ |= 0x40000000;
}
result.playerIds_ = playerIds_;
if (((from_bitField0_ & 0x80000000) == 0x80000000)) {
to_bitField0_ |= 0x80000000;
}
result.luaName_ = luaName_;
if (((from_bitField1_ & 0x00000001) == 0x00000001)) {
to_bitField1_ |= 0x00000001;
}
result.attackSpeed_ = attackSpeed_;
if (((from_bitField1_ & 0x00000002) == 0x00000002)) {
to_bitField1_ |= 0x00000002;
}
result.auraOwner_ = auraOwner_;
if (((from_bitField1_ & 0x00000004) == 0x00000004)) {
to_bitField1_ |= 0x00000004;
}
result.bonusAllStats_ = bonusAllStats_;
if (((from_bitField1_ & 0x00000008) == 0x00000008)) {
to_bitField1_ |= 0x00000008;
}
result.bonusHealth_ = bonusHealth_;
if (((from_bitField1_ & 0x00000010) == 0x00000010)) {
to_bitField1_ |= 0x00000010;
}
result.bonusMana_ = bonusMana_;
if (((from_bitField1_ & 0x00000020) == 0x00000020)) {
to_bitField1_ |= 0x00000020;
}
result.customEntity_ = customEntity_;
if (((from_bitField1_ & 0x00000040) == 0x00000040)) {
to_bitField1_ |= 0x00000040;
}
result.auraWithinRange_ = auraWithinRange_;
result.bitField0_ = to_bitField0_;
result.bitField1_ = to_bitField1_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof skadistats.clarity.wire.dota.common.proto.DOTAModifiers.CDOTAModifierBuffTableEntry) {
return mergeFrom((skadistats.clarity.wire.dota.common.proto.DOTAModifiers.CDOTAModifierBuffTableEntry)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(skadistats.clarity.wire.dota.common.proto.DOTAModifiers.CDOTAModifierBuffTableEntry other) {
if (other == skadistats.clarity.wire.dota.common.proto.DOTAModifiers.CDOTAModifierBuffTableEntry.getDefaultInstance()) return this;
if (other.hasEntryType()) {
setEntryType(other.getEntryType());
}
if (other.hasParent()) {
setParent(other.getParent());
}
if (other.hasIndex()) {
setIndex(other.getIndex());
}
if (other.hasSerialNum()) {
setSerialNum(other.getSerialNum());
}
if (other.hasModifierClass()) {
setModifierClass(other.getModifierClass());
}
if (other.hasAbilityLevel()) {
setAbilityLevel(other.getAbilityLevel());
}
if (other.hasStackCount()) {
setStackCount(other.getStackCount());
}
if (other.hasCreationTime()) {
setCreationTime(other.getCreationTime());
}
if (other.hasDuration()) {
setDuration(other.getDuration());
}
if (other.hasCaster()) {
setCaster(other.getCaster());
}
if (other.hasAbility()) {
setAbility(other.getAbility());
}
if (other.hasArmor()) {
setArmor(other.getArmor());
}
if (other.hasFadeTime()) {
setFadeTime(other.getFadeTime());
}
if (other.hasSubtle()) {
setSubtle(other.getSubtle());
}
if (other.hasChannelTime()) {
setChannelTime(other.getChannelTime());
}
if (other.hasVStart()) {
mergeVStart(other.getVStart());
}
if (other.hasVEnd()) {
mergeVEnd(other.getVEnd());
}
if (other.hasPortalLoopAppear()) {
bitField0_ |= 0x00020000;
portalLoopAppear_ = other.portalLoopAppear_;
onChanged();
}
if (other.hasPortalLoopDisappear()) {
bitField0_ |= 0x00040000;
portalLoopDisappear_ = other.portalLoopDisappear_;
onChanged();
}
if (other.hasHeroLoopAppear()) {
bitField0_ |= 0x00080000;
heroLoopAppear_ = other.heroLoopAppear_;
onChanged();
}
if (other.hasHeroLoopDisappear()) {
bitField0_ |= 0x00100000;
heroLoopDisappear_ = other.heroLoopDisappear_;
onChanged();
}
if (other.hasMovementSpeed()) {
setMovementSpeed(other.getMovementSpeed());
}
if (other.hasAura()) {
setAura(other.getAura());
}
if (other.hasActivity()) {
setActivity(other.getActivity());
}
if (other.hasDamage()) {
setDamage(other.getDamage());
}
if (other.hasRange()) {
setRange(other.getRange());
}
if (other.hasDdModifierIndex()) {
setDdModifierIndex(other.getDdModifierIndex());
}
if (other.hasDdAbilityId()) {
setDdAbilityId(other.getDdAbilityId());
}
if (other.hasIllusionLabel()) {
bitField0_ |= 0x10000000;
illusionLabel_ = other.illusionLabel_;
onChanged();
}
if (other.hasActive()) {
setActive(other.getActive());
}
if (other.hasPlayerIds()) {
bitField0_ |= 0x40000000;
playerIds_ = other.playerIds_;
onChanged();
}
if (other.hasLuaName()) {
bitField0_ |= 0x80000000;
luaName_ = other.luaName_;
onChanged();
}
if (other.hasAttackSpeed()) {
setAttackSpeed(other.getAttackSpeed());
}
if (other.hasAuraOwner()) {
setAuraOwner(other.getAuraOwner());
}
if (other.hasBonusAllStats()) {
setBonusAllStats(other.getBonusAllStats());
}
if (other.hasBonusHealth()) {
setBonusHealth(other.getBonusHealth());
}
if (other.hasBonusMana()) {
setBonusMana(other.getBonusMana());
}
if (other.hasCustomEntity()) {
setCustomEntity(other.getCustomEntity());
}
if (other.hasAuraWithinRange()) {
setAuraWithinRange(other.getAuraWithinRange());
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
if (!hasEntryType()) {
return false;
}
if (!hasParent()) {
return false;
}
if (!hasIndex()) {
return false;
}
if (!hasSerialNum()) {
return false;
}
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
skadistats.clarity.wire.dota.common.proto.DOTAModifiers.CDOTAModifierBuffTableEntry parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (skadistats.clarity.wire.dota.common.proto.DOTAModifiers.CDOTAModifierBuffTableEntry) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private int bitField1_;
private skadistats.clarity.wire.dota.common.proto.DOTAModifiers.DOTA_MODIFIER_ENTRY_TYPE entryType_ = skadistats.clarity.wire.dota.common.proto.DOTAModifiers.DOTA_MODIFIER_ENTRY_TYPE.DOTA_MODIFIER_ENTRY_TYPE_ACTIVE;
/**
* required .DOTA_MODIFIER_ENTRY_TYPE entry_type = 1 [default = DOTA_MODIFIER_ENTRY_TYPE_ACTIVE];
*/
public boolean hasEntryType() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required .DOTA_MODIFIER_ENTRY_TYPE entry_type = 1 [default = DOTA_MODIFIER_ENTRY_TYPE_ACTIVE];
*/
public skadistats.clarity.wire.dota.common.proto.DOTAModifiers.DOTA_MODIFIER_ENTRY_TYPE getEntryType() {
return entryType_;
}
/**
* required .DOTA_MODIFIER_ENTRY_TYPE entry_type = 1 [default = DOTA_MODIFIER_ENTRY_TYPE_ACTIVE];
*/
public Builder setEntryType(skadistats.clarity.wire.dota.common.proto.DOTAModifiers.DOTA_MODIFIER_ENTRY_TYPE value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
entryType_ = value;
onChanged();
return this;
}
/**
* required .DOTA_MODIFIER_ENTRY_TYPE entry_type = 1 [default = DOTA_MODIFIER_ENTRY_TYPE_ACTIVE];
*/
public Builder clearEntryType() {
bitField0_ = (bitField0_ & ~0x00000001);
entryType_ = skadistats.clarity.wire.dota.common.proto.DOTAModifiers.DOTA_MODIFIER_ENTRY_TYPE.DOTA_MODIFIER_ENTRY_TYPE_ACTIVE;
onChanged();
return this;
}
private int parent_ = 16777215;
/**
* required uint32 parent = 2 [default = 16777215];
*/
public boolean hasParent() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* required uint32 parent = 2 [default = 16777215];
*/
public int getParent() {
return parent_;
}
/**
* required uint32 parent = 2 [default = 16777215];
*/
public Builder setParent(int value) {
bitField0_ |= 0x00000002;
parent_ = value;
onChanged();
return this;
}
/**
* required uint32 parent = 2 [default = 16777215];
*/
public Builder clearParent() {
bitField0_ = (bitField0_ & ~0x00000002);
parent_ = 16777215;
onChanged();
return this;
}
private int index_ ;
/**
* required int32 index = 3;
*/
public boolean hasIndex() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* required int32 index = 3;
*/
public int getIndex() {
return index_;
}
/**
* required int32 index = 3;
*/
public Builder setIndex(int value) {
bitField0_ |= 0x00000004;
index_ = value;
onChanged();
return this;
}
/**
* required int32 index = 3;
*/
public Builder clearIndex() {
bitField0_ = (bitField0_ & ~0x00000004);
index_ = 0;
onChanged();
return this;
}
private int serialNum_ ;
/**
* required int32 serial_num = 4;
*/
public boolean hasSerialNum() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* required int32 serial_num = 4;
*/
public int getSerialNum() {
return serialNum_;
}
/**
* required int32 serial_num = 4;
*/
public Builder setSerialNum(int value) {
bitField0_ |= 0x00000008;
serialNum_ = value;
onChanged();
return this;
}
/**
* required int32 serial_num = 4;
*/
public Builder clearSerialNum() {
bitField0_ = (bitField0_ & ~0x00000008);
serialNum_ = 0;
onChanged();
return this;
}
private int modifierClass_ ;
/**
* optional int32 modifier_class = 5;
*/
public boolean hasModifierClass() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
/**
* optional int32 modifier_class = 5;
*/
public int getModifierClass() {
return modifierClass_;
}
/**
* optional int32 modifier_class = 5;
*/
public Builder setModifierClass(int value) {
bitField0_ |= 0x00000010;
modifierClass_ = value;
onChanged();
return this;
}
/**
* optional int32 modifier_class = 5;
*/
public Builder clearModifierClass() {
bitField0_ = (bitField0_ & ~0x00000010);
modifierClass_ = 0;
onChanged();
return this;
}
private int abilityLevel_ ;
/**
* optional int32 ability_level = 6;
*/
public boolean hasAbilityLevel() {
return ((bitField0_ & 0x00000020) == 0x00000020);
}
/**
* optional int32 ability_level = 6;
*/
public int getAbilityLevel() {
return abilityLevel_;
}
/**
* optional int32 ability_level = 6;
*/
public Builder setAbilityLevel(int value) {
bitField0_ |= 0x00000020;
abilityLevel_ = value;
onChanged();
return this;
}
/**
* optional int32 ability_level = 6;
*/
public Builder clearAbilityLevel() {
bitField0_ = (bitField0_ & ~0x00000020);
abilityLevel_ = 0;
onChanged();
return this;
}
private int stackCount_ ;
/**
* optional int32 stack_count = 7;
*/
public boolean hasStackCount() {
return ((bitField0_ & 0x00000040) == 0x00000040);
}
/**
* optional int32 stack_count = 7;
*/
public int getStackCount() {
return stackCount_;
}
/**
* optional int32 stack_count = 7;
*/
public Builder setStackCount(int value) {
bitField0_ |= 0x00000040;
stackCount_ = value;
onChanged();
return this;
}
/**
* optional int32 stack_count = 7;
*/
public Builder clearStackCount() {
bitField0_ = (bitField0_ & ~0x00000040);
stackCount_ = 0;
onChanged();
return this;
}
private float creationTime_ ;
/**
* optional float creation_time = 8;
*/
public boolean hasCreationTime() {
return ((bitField0_ & 0x00000080) == 0x00000080);
}
/**
* optional float creation_time = 8;
*/
public float getCreationTime() {
return creationTime_;
}
/**
* optional float creation_time = 8;
*/
public Builder setCreationTime(float value) {
bitField0_ |= 0x00000080;
creationTime_ = value;
onChanged();
return this;
}
/**
* optional float creation_time = 8;
*/
public Builder clearCreationTime() {
bitField0_ = (bitField0_ & ~0x00000080);
creationTime_ = 0F;
onChanged();
return this;
}
private float duration_ = -1F;
/**
* optional float duration = 9 [default = -1];
*/
public boolean hasDuration() {
return ((bitField0_ & 0x00000100) == 0x00000100);
}
/**
* optional float duration = 9 [default = -1];
*/
public float getDuration() {
return duration_;
}
/**
* optional float duration = 9 [default = -1];
*/
public Builder setDuration(float value) {
bitField0_ |= 0x00000100;
duration_ = value;
onChanged();
return this;
}
/**
* optional float duration = 9 [default = -1];
*/
public Builder clearDuration() {
bitField0_ = (bitField0_ & ~0x00000100);
duration_ = -1F;
onChanged();
return this;
}
private int caster_ = 16777215;
/**
* optional uint32 caster = 10 [default = 16777215];
*/
public boolean hasCaster() {
return ((bitField0_ & 0x00000200) == 0x00000200);
}
/**
* optional uint32 caster = 10 [default = 16777215];
*/
public int getCaster() {
return caster_;
}
/**
* optional uint32 caster = 10 [default = 16777215];
*/
public Builder setCaster(int value) {
bitField0_ |= 0x00000200;
caster_ = value;
onChanged();
return this;
}
/**
* optional uint32 caster = 10 [default = 16777215];
*/
public Builder clearCaster() {
bitField0_ = (bitField0_ & ~0x00000200);
caster_ = 16777215;
onChanged();
return this;
}
private int ability_ = 16777215;
/**
* optional uint32 ability = 11 [default = 16777215];
*/
public boolean hasAbility() {
return ((bitField0_ & 0x00000400) == 0x00000400);
}
/**
* optional uint32 ability = 11 [default = 16777215];
*/
public int getAbility() {
return ability_;
}
/**
* optional uint32 ability = 11 [default = 16777215];
*/
public Builder setAbility(int value) {
bitField0_ |= 0x00000400;
ability_ = value;
onChanged();
return this;
}
/**
* optional uint32 ability = 11 [default = 16777215];
*/
public Builder clearAbility() {
bitField0_ = (bitField0_ & ~0x00000400);
ability_ = 16777215;
onChanged();
return this;
}
private int armor_ ;
/**
* optional int32 armor = 12;
*/
public boolean hasArmor() {
return ((bitField0_ & 0x00000800) == 0x00000800);
}
/**
* optional int32 armor = 12;
*/
public int getArmor() {
return armor_;
}
/**
* optional int32 armor = 12;
*/
public Builder setArmor(int value) {
bitField0_ |= 0x00000800;
armor_ = value;
onChanged();
return this;
}
/**
* optional int32 armor = 12;
*/
public Builder clearArmor() {
bitField0_ = (bitField0_ & ~0x00000800);
armor_ = 0;
onChanged();
return this;
}
private float fadeTime_ ;
/**
* optional float fade_time = 13;
*/
public boolean hasFadeTime() {
return ((bitField0_ & 0x00001000) == 0x00001000);
}
/**
* optional float fade_time = 13;
*/
public float getFadeTime() {
return fadeTime_;
}
/**
* optional float fade_time = 13;
*/
public Builder setFadeTime(float value) {
bitField0_ |= 0x00001000;
fadeTime_ = value;
onChanged();
return this;
}
/**
* optional float fade_time = 13;
*/
public Builder clearFadeTime() {
bitField0_ = (bitField0_ & ~0x00001000);
fadeTime_ = 0F;
onChanged();
return this;
}
private boolean subtle_ ;
/**
* optional bool subtle = 14;
*/
public boolean hasSubtle() {
return ((bitField0_ & 0x00002000) == 0x00002000);
}
/**
* optional bool subtle = 14;
*/
public boolean getSubtle() {
return subtle_;
}
/**
* optional bool subtle = 14;
*/
public Builder setSubtle(boolean value) {
bitField0_ |= 0x00002000;
subtle_ = value;
onChanged();
return this;
}
/**
* optional bool subtle = 14;
*/
public Builder clearSubtle() {
bitField0_ = (bitField0_ & ~0x00002000);
subtle_ = false;
onChanged();
return this;
}
private float channelTime_ ;
/**
* optional float channel_time = 15;
*/
public boolean hasChannelTime() {
return ((bitField0_ & 0x00004000) == 0x00004000);
}
/**
* optional float channel_time = 15;
*/
public float getChannelTime() {
return channelTime_;
}
/**
* optional float channel_time = 15;
*/
public Builder setChannelTime(float value) {
bitField0_ |= 0x00004000;
channelTime_ = value;
onChanged();
return this;
}
/**
* optional float channel_time = 15;
*/
public Builder clearChannelTime() {
bitField0_ = (bitField0_ & ~0x00004000);
channelTime_ = 0F;
onChanged();
return this;
}
private skadistats.clarity.wire.shared.common.proto.CommonNetworkBaseTypes.CMsgVector vStart_ = skadistats.clarity.wire.shared.common.proto.CommonNetworkBaseTypes.CMsgVector.getDefaultInstance();
private com.google.protobuf.SingleFieldBuilder<
skadistats.clarity.wire.shared.common.proto.CommonNetworkBaseTypes.CMsgVector, skadistats.clarity.wire.shared.common.proto.CommonNetworkBaseTypes.CMsgVector.Builder, skadistats.clarity.wire.shared.common.proto.CommonNetworkBaseTypes.CMsgVectorOrBuilder> vStartBuilder_;
/**
* optional .CMsgVector v_start = 16;
*/
public boolean hasVStart() {
return ((bitField0_ & 0x00008000) == 0x00008000);
}
/**
* optional .CMsgVector v_start = 16;
*/
public skadistats.clarity.wire.shared.common.proto.CommonNetworkBaseTypes.CMsgVector getVStart() {
if (vStartBuilder_ == null) {
return vStart_;
} else {
return vStartBuilder_.getMessage();
}
}
/**
* optional .CMsgVector v_start = 16;
*/
public Builder setVStart(skadistats.clarity.wire.shared.common.proto.CommonNetworkBaseTypes.CMsgVector value) {
if (vStartBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
vStart_ = value;
onChanged();
} else {
vStartBuilder_.setMessage(value);
}
bitField0_ |= 0x00008000;
return this;
}
/**
* optional .CMsgVector v_start = 16;
*/
public Builder setVStart(
skadistats.clarity.wire.shared.common.proto.CommonNetworkBaseTypes.CMsgVector.Builder builderForValue) {
if (vStartBuilder_ == null) {
vStart_ = builderForValue.build();
onChanged();
} else {
vStartBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00008000;
return this;
}
/**
* optional .CMsgVector v_start = 16;
*/
public Builder mergeVStart(skadistats.clarity.wire.shared.common.proto.CommonNetworkBaseTypes.CMsgVector value) {
if (vStartBuilder_ == null) {
if (((bitField0_ & 0x00008000) == 0x00008000) &&
vStart_ != skadistats.clarity.wire.shared.common.proto.CommonNetworkBaseTypes.CMsgVector.getDefaultInstance()) {
vStart_ =
skadistats.clarity.wire.shared.common.proto.CommonNetworkBaseTypes.CMsgVector.newBuilder(vStart_).mergeFrom(value).buildPartial();
} else {
vStart_ = value;
}
onChanged();
} else {
vStartBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00008000;
return this;
}
/**
* optional .CMsgVector v_start = 16;
*/
public Builder clearVStart() {
if (vStartBuilder_ == null) {
vStart_ = skadistats.clarity.wire.shared.common.proto.CommonNetworkBaseTypes.CMsgVector.getDefaultInstance();
onChanged();
} else {
vStartBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00008000);
return this;
}
/**
* optional .CMsgVector v_start = 16;
*/
public skadistats.clarity.wire.shared.common.proto.CommonNetworkBaseTypes.CMsgVector.Builder getVStartBuilder() {
bitField0_ |= 0x00008000;
onChanged();
return getVStartFieldBuilder().getBuilder();
}
/**
* optional .CMsgVector v_start = 16;
*/
public skadistats.clarity.wire.shared.common.proto.CommonNetworkBaseTypes.CMsgVectorOrBuilder getVStartOrBuilder() {
if (vStartBuilder_ != null) {
return vStartBuilder_.getMessageOrBuilder();
} else {
return vStart_;
}
}
/**
* optional .CMsgVector v_start = 16;
*/
private com.google.protobuf.SingleFieldBuilder<
skadistats.clarity.wire.shared.common.proto.CommonNetworkBaseTypes.CMsgVector, skadistats.clarity.wire.shared.common.proto.CommonNetworkBaseTypes.CMsgVector.Builder, skadistats.clarity.wire.shared.common.proto.CommonNetworkBaseTypes.CMsgVectorOrBuilder>
getVStartFieldBuilder() {
if (vStartBuilder_ == null) {
vStartBuilder_ = new com.google.protobuf.SingleFieldBuilder<
skadistats.clarity.wire.shared.common.proto.CommonNetworkBaseTypes.CMsgVector, skadistats.clarity.wire.shared.common.proto.CommonNetworkBaseTypes.CMsgVector.Builder, skadistats.clarity.wire.shared.common.proto.CommonNetworkBaseTypes.CMsgVectorOrBuilder>(
getVStart(),
getParentForChildren(),
isClean());
vStart_ = null;
}
return vStartBuilder_;
}
private skadistats.clarity.wire.shared.common.proto.CommonNetworkBaseTypes.CMsgVector vEnd_ = skadistats.clarity.wire.shared.common.proto.CommonNetworkBaseTypes.CMsgVector.getDefaultInstance();
private com.google.protobuf.SingleFieldBuilder<
skadistats.clarity.wire.shared.common.proto.CommonNetworkBaseTypes.CMsgVector, skadistats.clarity.wire.shared.common.proto.CommonNetworkBaseTypes.CMsgVector.Builder, skadistats.clarity.wire.shared.common.proto.CommonNetworkBaseTypes.CMsgVectorOrBuilder> vEndBuilder_;
/**
* optional .CMsgVector v_end = 17;
*/
public boolean hasVEnd() {
return ((bitField0_ & 0x00010000) == 0x00010000);
}
/**
* optional .CMsgVector v_end = 17;
*/
public skadistats.clarity.wire.shared.common.proto.CommonNetworkBaseTypes.CMsgVector getVEnd() {
if (vEndBuilder_ == null) {
return vEnd_;
} else {
return vEndBuilder_.getMessage();
}
}
/**
* optional .CMsgVector v_end = 17;
*/
public Builder setVEnd(skadistats.clarity.wire.shared.common.proto.CommonNetworkBaseTypes.CMsgVector value) {
if (vEndBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
vEnd_ = value;
onChanged();
} else {
vEndBuilder_.setMessage(value);
}
bitField0_ |= 0x00010000;
return this;
}
/**
* optional .CMsgVector v_end = 17;
*/
public Builder setVEnd(
skadistats.clarity.wire.shared.common.proto.CommonNetworkBaseTypes.CMsgVector.Builder builderForValue) {
if (vEndBuilder_ == null) {
vEnd_ = builderForValue.build();
onChanged();
} else {
vEndBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00010000;
return this;
}
/**
* optional .CMsgVector v_end = 17;
*/
public Builder mergeVEnd(skadistats.clarity.wire.shared.common.proto.CommonNetworkBaseTypes.CMsgVector value) {
if (vEndBuilder_ == null) {
if (((bitField0_ & 0x00010000) == 0x00010000) &&
vEnd_ != skadistats.clarity.wire.shared.common.proto.CommonNetworkBaseTypes.CMsgVector.getDefaultInstance()) {
vEnd_ =
skadistats.clarity.wire.shared.common.proto.CommonNetworkBaseTypes.CMsgVector.newBuilder(vEnd_).mergeFrom(value).buildPartial();
} else {
vEnd_ = value;
}
onChanged();
} else {
vEndBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00010000;
return this;
}
/**
* optional .CMsgVector v_end = 17;
*/
public Builder clearVEnd() {
if (vEndBuilder_ == null) {
vEnd_ = skadistats.clarity.wire.shared.common.proto.CommonNetworkBaseTypes.CMsgVector.getDefaultInstance();
onChanged();
} else {
vEndBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00010000);
return this;
}
/**
* optional .CMsgVector v_end = 17;
*/
public skadistats.clarity.wire.shared.common.proto.CommonNetworkBaseTypes.CMsgVector.Builder getVEndBuilder() {
bitField0_ |= 0x00010000;
onChanged();
return getVEndFieldBuilder().getBuilder();
}
/**
* optional .CMsgVector v_end = 17;
*/
public skadistats.clarity.wire.shared.common.proto.CommonNetworkBaseTypes.CMsgVectorOrBuilder getVEndOrBuilder() {
if (vEndBuilder_ != null) {
return vEndBuilder_.getMessageOrBuilder();
} else {
return vEnd_;
}
}
/**
* optional .CMsgVector v_end = 17;
*/
private com.google.protobuf.SingleFieldBuilder<
skadistats.clarity.wire.shared.common.proto.CommonNetworkBaseTypes.CMsgVector, skadistats.clarity.wire.shared.common.proto.CommonNetworkBaseTypes.CMsgVector.Builder, skadistats.clarity.wire.shared.common.proto.CommonNetworkBaseTypes.CMsgVectorOrBuilder>
getVEndFieldBuilder() {
if (vEndBuilder_ == null) {
vEndBuilder_ = new com.google.protobuf.SingleFieldBuilder<
skadistats.clarity.wire.shared.common.proto.CommonNetworkBaseTypes.CMsgVector, skadistats.clarity.wire.shared.common.proto.CommonNetworkBaseTypes.CMsgVector.Builder, skadistats.clarity.wire.shared.common.proto.CommonNetworkBaseTypes.CMsgVectorOrBuilder>(
getVEnd(),
getParentForChildren(),
isClean());
vEnd_ = null;
}
return vEndBuilder_;
}
private java.lang.Object portalLoopAppear_ = "";
/**
* optional string portal_loop_appear = 18;
*/
public boolean hasPortalLoopAppear() {
return ((bitField0_ & 0x00020000) == 0x00020000);
}
/**
* optional string portal_loop_appear = 18;
*/
public java.lang.String getPortalLoopAppear() {
java.lang.Object ref = portalLoopAppear_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
portalLoopAppear_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string portal_loop_appear = 18;
*/
public com.google.protobuf.ByteString
getPortalLoopAppearBytes() {
java.lang.Object ref = portalLoopAppear_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
portalLoopAppear_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string portal_loop_appear = 18;
*/
public Builder setPortalLoopAppear(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00020000;
portalLoopAppear_ = value;
onChanged();
return this;
}
/**
* optional string portal_loop_appear = 18;
*/
public Builder clearPortalLoopAppear() {
bitField0_ = (bitField0_ & ~0x00020000);
portalLoopAppear_ = getDefaultInstance().getPortalLoopAppear();
onChanged();
return this;
}
/**
* optional string portal_loop_appear = 18;
*/
public Builder setPortalLoopAppearBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00020000;
portalLoopAppear_ = value;
onChanged();
return this;
}
private java.lang.Object portalLoopDisappear_ = "";
/**
* optional string portal_loop_disappear = 19;
*/
public boolean hasPortalLoopDisappear() {
return ((bitField0_ & 0x00040000) == 0x00040000);
}
/**
* optional string portal_loop_disappear = 19;
*/
public java.lang.String getPortalLoopDisappear() {
java.lang.Object ref = portalLoopDisappear_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
portalLoopDisappear_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string portal_loop_disappear = 19;
*/
public com.google.protobuf.ByteString
getPortalLoopDisappearBytes() {
java.lang.Object ref = portalLoopDisappear_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
portalLoopDisappear_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string portal_loop_disappear = 19;
*/
public Builder setPortalLoopDisappear(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00040000;
portalLoopDisappear_ = value;
onChanged();
return this;
}
/**
* optional string portal_loop_disappear = 19;
*/
public Builder clearPortalLoopDisappear() {
bitField0_ = (bitField0_ & ~0x00040000);
portalLoopDisappear_ = getDefaultInstance().getPortalLoopDisappear();
onChanged();
return this;
}
/**
* optional string portal_loop_disappear = 19;
*/
public Builder setPortalLoopDisappearBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00040000;
portalLoopDisappear_ = value;
onChanged();
return this;
}
private java.lang.Object heroLoopAppear_ = "";
/**
* optional string hero_loop_appear = 20;
*/
public boolean hasHeroLoopAppear() {
return ((bitField0_ & 0x00080000) == 0x00080000);
}
/**
* optional string hero_loop_appear = 20;
*/
public java.lang.String getHeroLoopAppear() {
java.lang.Object ref = heroLoopAppear_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
heroLoopAppear_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string hero_loop_appear = 20;
*/
public com.google.protobuf.ByteString
getHeroLoopAppearBytes() {
java.lang.Object ref = heroLoopAppear_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
heroLoopAppear_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string hero_loop_appear = 20;
*/
public Builder setHeroLoopAppear(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00080000;
heroLoopAppear_ = value;
onChanged();
return this;
}
/**
* optional string hero_loop_appear = 20;
*/
public Builder clearHeroLoopAppear() {
bitField0_ = (bitField0_ & ~0x00080000);
heroLoopAppear_ = getDefaultInstance().getHeroLoopAppear();
onChanged();
return this;
}
/**
* optional string hero_loop_appear = 20;
*/
public Builder setHeroLoopAppearBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00080000;
heroLoopAppear_ = value;
onChanged();
return this;
}
private java.lang.Object heroLoopDisappear_ = "";
/**
* optional string hero_loop_disappear = 21;
*/
public boolean hasHeroLoopDisappear() {
return ((bitField0_ & 0x00100000) == 0x00100000);
}
/**
* optional string hero_loop_disappear = 21;
*/
public java.lang.String getHeroLoopDisappear() {
java.lang.Object ref = heroLoopDisappear_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
heroLoopDisappear_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string hero_loop_disappear = 21;
*/
public com.google.protobuf.ByteString
getHeroLoopDisappearBytes() {
java.lang.Object ref = heroLoopDisappear_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
heroLoopDisappear_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string hero_loop_disappear = 21;
*/
public Builder setHeroLoopDisappear(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00100000;
heroLoopDisappear_ = value;
onChanged();
return this;
}
/**
* optional string hero_loop_disappear = 21;
*/
public Builder clearHeroLoopDisappear() {
bitField0_ = (bitField0_ & ~0x00100000);
heroLoopDisappear_ = getDefaultInstance().getHeroLoopDisappear();
onChanged();
return this;
}
/**
* optional string hero_loop_disappear = 21;
*/
public Builder setHeroLoopDisappearBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00100000;
heroLoopDisappear_ = value;
onChanged();
return this;
}
private int movementSpeed_ ;
/**
* optional int32 movement_speed = 22;
*/
public boolean hasMovementSpeed() {
return ((bitField0_ & 0x00200000) == 0x00200000);
}
/**
* optional int32 movement_speed = 22;
*/
public int getMovementSpeed() {
return movementSpeed_;
}
/**
* optional int32 movement_speed = 22;
*/
public Builder setMovementSpeed(int value) {
bitField0_ |= 0x00200000;
movementSpeed_ = value;
onChanged();
return this;
}
/**
* optional int32 movement_speed = 22;
*/
public Builder clearMovementSpeed() {
bitField0_ = (bitField0_ & ~0x00200000);
movementSpeed_ = 0;
onChanged();
return this;
}
private boolean aura_ ;
/**
* optional bool aura = 23;
*/
public boolean hasAura() {
return ((bitField0_ & 0x00400000) == 0x00400000);
}
/**
* optional bool aura = 23;
*/
public boolean getAura() {
return aura_;
}
/**
* optional bool aura = 23;
*/
public Builder setAura(boolean value) {
bitField0_ |= 0x00400000;
aura_ = value;
onChanged();
return this;
}
/**
* optional bool aura = 23;
*/
public Builder clearAura() {
bitField0_ = (bitField0_ & ~0x00400000);
aura_ = false;
onChanged();
return this;
}
private int activity_ ;
/**
* optional int32 activity = 24;
*/
public boolean hasActivity() {
return ((bitField0_ & 0x00800000) == 0x00800000);
}
/**
* optional int32 activity = 24;
*/
public int getActivity() {
return activity_;
}
/**
* optional int32 activity = 24;
*/
public Builder setActivity(int value) {
bitField0_ |= 0x00800000;
activity_ = value;
onChanged();
return this;
}
/**
* optional int32 activity = 24;
*/
public Builder clearActivity() {
bitField0_ = (bitField0_ & ~0x00800000);
activity_ = 0;
onChanged();
return this;
}
private int damage_ ;
/**
* optional int32 damage = 25;
*/
public boolean hasDamage() {
return ((bitField0_ & 0x01000000) == 0x01000000);
}
/**
* optional int32 damage = 25;
*/
public int getDamage() {
return damage_;
}
/**
* optional int32 damage = 25;
*/
public Builder setDamage(int value) {
bitField0_ |= 0x01000000;
damage_ = value;
onChanged();
return this;
}
/**
* optional int32 damage = 25;
*/
public Builder clearDamage() {
bitField0_ = (bitField0_ & ~0x01000000);
damage_ = 0;
onChanged();
return this;
}
private int range_ ;
/**
* optional int32 range = 26;
*/
public boolean hasRange() {
return ((bitField0_ & 0x02000000) == 0x02000000);
}
/**
* optional int32 range = 26;
*/
public int getRange() {
return range_;
}
/**
* optional int32 range = 26;
*/
public Builder setRange(int value) {
bitField0_ |= 0x02000000;
range_ = value;
onChanged();
return this;
}
/**
* optional int32 range = 26;
*/
public Builder clearRange() {
bitField0_ = (bitField0_ & ~0x02000000);
range_ = 0;
onChanged();
return this;
}
private int ddModifierIndex_ ;
/**
* optional int32 dd_modifier_index = 27;
*/
public boolean hasDdModifierIndex() {
return ((bitField0_ & 0x04000000) == 0x04000000);
}
/**
* optional int32 dd_modifier_index = 27;
*/
public int getDdModifierIndex() {
return ddModifierIndex_;
}
/**
* optional int32 dd_modifier_index = 27;
*/
public Builder setDdModifierIndex(int value) {
bitField0_ |= 0x04000000;
ddModifierIndex_ = value;
onChanged();
return this;
}
/**
* optional int32 dd_modifier_index = 27;
*/
public Builder clearDdModifierIndex() {
bitField0_ = (bitField0_ & ~0x04000000);
ddModifierIndex_ = 0;
onChanged();
return this;
}
private int ddAbilityId_ = -1;
/**
* optional int32 dd_ability_id = 28 [default = -1];
*/
public boolean hasDdAbilityId() {
return ((bitField0_ & 0x08000000) == 0x08000000);
}
/**
* optional int32 dd_ability_id = 28 [default = -1];
*/
public int getDdAbilityId() {
return ddAbilityId_;
}
/**
* optional int32 dd_ability_id = 28 [default = -1];
*/
public Builder setDdAbilityId(int value) {
bitField0_ |= 0x08000000;
ddAbilityId_ = value;
onChanged();
return this;
}
/**
* optional int32 dd_ability_id = 28 [default = -1];
*/
public Builder clearDdAbilityId() {
bitField0_ = (bitField0_ & ~0x08000000);
ddAbilityId_ = -1;
onChanged();
return this;
}
private java.lang.Object illusionLabel_ = "";
/**
* optional string illusion_label = 29;
*/
public boolean hasIllusionLabel() {
return ((bitField0_ & 0x10000000) == 0x10000000);
}
/**
* optional string illusion_label = 29;
*/
public java.lang.String getIllusionLabel() {
java.lang.Object ref = illusionLabel_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
illusionLabel_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string illusion_label = 29;
*/
public com.google.protobuf.ByteString
getIllusionLabelBytes() {
java.lang.Object ref = illusionLabel_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
illusionLabel_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string illusion_label = 29;
*/
public Builder setIllusionLabel(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x10000000;
illusionLabel_ = value;
onChanged();
return this;
}
/**
* optional string illusion_label = 29;
*/
public Builder clearIllusionLabel() {
bitField0_ = (bitField0_ & ~0x10000000);
illusionLabel_ = getDefaultInstance().getIllusionLabel();
onChanged();
return this;
}
/**
* optional string illusion_label = 29;
*/
public Builder setIllusionLabelBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x10000000;
illusionLabel_ = value;
onChanged();
return this;
}
private boolean active_ ;
/**
* optional bool active = 30;
*/
public boolean hasActive() {
return ((bitField0_ & 0x20000000) == 0x20000000);
}
/**
* optional bool active = 30;
*/
public boolean getActive() {
return active_;
}
/**
* optional bool active = 30;
*/
public Builder setActive(boolean value) {
bitField0_ |= 0x20000000;
active_ = value;
onChanged();
return this;
}
/**
* optional bool active = 30;
*/
public Builder clearActive() {
bitField0_ = (bitField0_ & ~0x20000000);
active_ = false;
onChanged();
return this;
}
private java.lang.Object playerIds_ = "";
/**
* optional string player_ids = 31;
*/
public boolean hasPlayerIds() {
return ((bitField0_ & 0x40000000) == 0x40000000);
}
/**
* optional string player_ids = 31;
*/
public java.lang.String getPlayerIds() {
java.lang.Object ref = playerIds_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
playerIds_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string player_ids = 31;
*/
public com.google.protobuf.ByteString
getPlayerIdsBytes() {
java.lang.Object ref = playerIds_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
playerIds_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string player_ids = 31;
*/
public Builder setPlayerIds(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x40000000;
playerIds_ = value;
onChanged();
return this;
}
/**
* optional string player_ids = 31;
*/
public Builder clearPlayerIds() {
bitField0_ = (bitField0_ & ~0x40000000);
playerIds_ = getDefaultInstance().getPlayerIds();
onChanged();
return this;
}
/**
* optional string player_ids = 31;
*/
public Builder setPlayerIdsBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x40000000;
playerIds_ = value;
onChanged();
return this;
}
private java.lang.Object luaName_ = "";
/**
* optional string lua_name = 32;
*/
public boolean hasLuaName() {
return ((bitField0_ & 0x80000000) == 0x80000000);
}
/**
* optional string lua_name = 32;
*/
public java.lang.String getLuaName() {
java.lang.Object ref = luaName_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
luaName_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string lua_name = 32;
*/
public com.google.protobuf.ByteString
getLuaNameBytes() {
java.lang.Object ref = luaName_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
luaName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string lua_name = 32;
*/
public Builder setLuaName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x80000000;
luaName_ = value;
onChanged();
return this;
}
/**
* optional string lua_name = 32;
*/
public Builder clearLuaName() {
bitField0_ = (bitField0_ & ~0x80000000);
luaName_ = getDefaultInstance().getLuaName();
onChanged();
return this;
}
/**
* optional string lua_name = 32;
*/
public Builder setLuaNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x80000000;
luaName_ = value;
onChanged();
return this;
}
private int attackSpeed_ ;
/**
* optional int32 attack_speed = 33;
*/
public boolean hasAttackSpeed() {
return ((bitField1_ & 0x00000001) == 0x00000001);
}
/**
* optional int32 attack_speed = 33;
*/
public int getAttackSpeed() {
return attackSpeed_;
}
/**
* optional int32 attack_speed = 33;
*/
public Builder setAttackSpeed(int value) {
bitField1_ |= 0x00000001;
attackSpeed_ = value;
onChanged();
return this;
}
/**
* optional int32 attack_speed = 33;
*/
public Builder clearAttackSpeed() {
bitField1_ = (bitField1_ & ~0x00000001);
attackSpeed_ = 0;
onChanged();
return this;
}
private int auraOwner_ = 16777215;
/**
* optional uint32 aura_owner = 34 [default = 16777215];
*/
public boolean hasAuraOwner() {
return ((bitField1_ & 0x00000002) == 0x00000002);
}
/**
* optional uint32 aura_owner = 34 [default = 16777215];
*/
public int getAuraOwner() {
return auraOwner_;
}
/**
* optional uint32 aura_owner = 34 [default = 16777215];
*/
public Builder setAuraOwner(int value) {
bitField1_ |= 0x00000002;
auraOwner_ = value;
onChanged();
return this;
}
/**
* optional uint32 aura_owner = 34 [default = 16777215];
*/
public Builder clearAuraOwner() {
bitField1_ = (bitField1_ & ~0x00000002);
auraOwner_ = 16777215;
onChanged();
return this;
}
private int bonusAllStats_ ;
/**
* optional int32 bonus_all_stats = 35;
*/
public boolean hasBonusAllStats() {
return ((bitField1_ & 0x00000004) == 0x00000004);
}
/**
* optional int32 bonus_all_stats = 35;
*/
public int getBonusAllStats() {
return bonusAllStats_;
}
/**
* optional int32 bonus_all_stats = 35;
*/
public Builder setBonusAllStats(int value) {
bitField1_ |= 0x00000004;
bonusAllStats_ = value;
onChanged();
return this;
}
/**
* optional int32 bonus_all_stats = 35;
*/
public Builder clearBonusAllStats() {
bitField1_ = (bitField1_ & ~0x00000004);
bonusAllStats_ = 0;
onChanged();
return this;
}
private int bonusHealth_ ;
/**
* optional int32 bonus_health = 36;
*/
public boolean hasBonusHealth() {
return ((bitField1_ & 0x00000008) == 0x00000008);
}
/**
* optional int32 bonus_health = 36;
*/
public int getBonusHealth() {
return bonusHealth_;
}
/**
* optional int32 bonus_health = 36;
*/
public Builder setBonusHealth(int value) {
bitField1_ |= 0x00000008;
bonusHealth_ = value;
onChanged();
return this;
}
/**
* optional int32 bonus_health = 36;
*/
public Builder clearBonusHealth() {
bitField1_ = (bitField1_ & ~0x00000008);
bonusHealth_ = 0;
onChanged();
return this;
}
private int bonusMana_ ;
/**
* optional int32 bonus_mana = 37;
*/
public boolean hasBonusMana() {
return ((bitField1_ & 0x00000010) == 0x00000010);
}
/**
* optional int32 bonus_mana = 37;
*/
public int getBonusMana() {
return bonusMana_;
}
/**
* optional int32 bonus_mana = 37;
*/
public Builder setBonusMana(int value) {
bitField1_ |= 0x00000010;
bonusMana_ = value;
onChanged();
return this;
}
/**
* optional int32 bonus_mana = 37;
*/
public Builder clearBonusMana() {
bitField1_ = (bitField1_ & ~0x00000010);
bonusMana_ = 0;
onChanged();
return this;
}
private int customEntity_ = 16777215;
/**
* optional uint32 custom_entity = 38 [default = 16777215];
*/
public boolean hasCustomEntity() {
return ((bitField1_ & 0x00000020) == 0x00000020);
}
/**
* optional uint32 custom_entity = 38 [default = 16777215];
*/
public int getCustomEntity() {
return customEntity_;
}
/**
* optional uint32 custom_entity = 38 [default = 16777215];
*/
public Builder setCustomEntity(int value) {
bitField1_ |= 0x00000020;
customEntity_ = value;
onChanged();
return this;
}
/**
* optional uint32 custom_entity = 38 [default = 16777215];
*/
public Builder clearCustomEntity() {
bitField1_ = (bitField1_ & ~0x00000020);
customEntity_ = 16777215;
onChanged();
return this;
}
private boolean auraWithinRange_ ;
/**
* optional bool aura_within_range = 39;
*/
public boolean hasAuraWithinRange() {
return ((bitField1_ & 0x00000040) == 0x00000040);
}
/**
* optional bool aura_within_range = 39;
*/
public boolean getAuraWithinRange() {
return auraWithinRange_;
}
/**
* optional bool aura_within_range = 39;
*/
public Builder setAuraWithinRange(boolean value) {
bitField1_ |= 0x00000040;
auraWithinRange_ = value;
onChanged();
return this;
}
/**
* optional bool aura_within_range = 39;
*/
public Builder clearAuraWithinRange() {
bitField1_ = (bitField1_ & ~0x00000040);
auraWithinRange_ = false;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:CDOTAModifierBuffTableEntry)
}
static {
defaultInstance = new CDOTAModifierBuffTableEntry(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:CDOTAModifierBuffTableEntry)
}
public interface CDOTALuaModifierEntryOrBuilder extends
// @@protoc_insertion_point(interface_extends:CDOTALuaModifierEntry)
com.google.protobuf.MessageOrBuilder {
/**
* required int32 modifier_type = 1;
*/
boolean hasModifierType();
/**
* required int32 modifier_type = 1;
*/
int getModifierType();
/**
* required string modifier_filename = 2;
*/
boolean hasModifierFilename();
/**
* required string modifier_filename = 2;
*/
java.lang.String getModifierFilename();
/**
* required string modifier_filename = 2;
*/
com.google.protobuf.ByteString
getModifierFilenameBytes();
}
/**
* Protobuf type {@code CDOTALuaModifierEntry}
*/
public static final class CDOTALuaModifierEntry extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:CDOTALuaModifierEntry)
CDOTALuaModifierEntryOrBuilder {
// Use CDOTALuaModifierEntry.newBuilder() to construct.
private CDOTALuaModifierEntry(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private CDOTALuaModifierEntry(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final CDOTALuaModifierEntry defaultInstance;
public static CDOTALuaModifierEntry getDefaultInstance() {
return defaultInstance;
}
public CDOTALuaModifierEntry getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private CDOTALuaModifierEntry(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
initFields();
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;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 8: {
bitField0_ |= 0x00000001;
modifierType_ = input.readInt32();
break;
}
case 18: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000002;
modifierFilename_ = bs;
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return skadistats.clarity.wire.dota.common.proto.DOTAModifiers.internal_static_CDOTALuaModifierEntry_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return skadistats.clarity.wire.dota.common.proto.DOTAModifiers.internal_static_CDOTALuaModifierEntry_fieldAccessorTable
.ensureFieldAccessorsInitialized(
skadistats.clarity.wire.dota.common.proto.DOTAModifiers.CDOTALuaModifierEntry.class, skadistats.clarity.wire.dota.common.proto.DOTAModifiers.CDOTALuaModifierEntry.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public CDOTALuaModifierEntry parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new CDOTALuaModifierEntry(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
public static final int MODIFIER_TYPE_FIELD_NUMBER = 1;
private int modifierType_;
/**
* required int32 modifier_type = 1;
*/
public boolean hasModifierType() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required int32 modifier_type = 1;
*/
public int getModifierType() {
return modifierType_;
}
public static final int MODIFIER_FILENAME_FIELD_NUMBER = 2;
private java.lang.Object modifierFilename_;
/**
* required string modifier_filename = 2;
*/
public boolean hasModifierFilename() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* required string modifier_filename = 2;
*/
public java.lang.String getModifierFilename() {
java.lang.Object ref = modifierFilename_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
modifierFilename_ = s;
}
return s;
}
}
/**
* required string modifier_filename = 2;
*/
public com.google.protobuf.ByteString
getModifierFilenameBytes() {
java.lang.Object ref = modifierFilename_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
modifierFilename_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private void initFields() {
modifierType_ = 0;
modifierFilename_ = "";
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
if (!hasModifierType()) {
memoizedIsInitialized = 0;
return false;
}
if (!hasModifierFilename()) {
memoizedIsInitialized = 0;
return false;
}
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeInt32(1, modifierType_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeBytes(2, getModifierFilenameBytes());
}
getUnknownFields().writeTo(output);
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(1, modifierType_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(2, getModifierFilenameBytes());
}
size += getUnknownFields().getSerializedSize();
memoizedSerializedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
protected java.lang.Object writeReplace()
throws java.io.ObjectStreamException {
return super.writeReplace();
}
public static skadistats.clarity.wire.dota.common.proto.DOTAModifiers.CDOTALuaModifierEntry parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static skadistats.clarity.wire.dota.common.proto.DOTAModifiers.CDOTALuaModifierEntry parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static skadistats.clarity.wire.dota.common.proto.DOTAModifiers.CDOTALuaModifierEntry parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static skadistats.clarity.wire.dota.common.proto.DOTAModifiers.CDOTALuaModifierEntry parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static skadistats.clarity.wire.dota.common.proto.DOTAModifiers.CDOTALuaModifierEntry parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static skadistats.clarity.wire.dota.common.proto.DOTAModifiers.CDOTALuaModifierEntry parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static skadistats.clarity.wire.dota.common.proto.DOTAModifiers.CDOTALuaModifierEntry parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static skadistats.clarity.wire.dota.common.proto.DOTAModifiers.CDOTALuaModifierEntry parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static skadistats.clarity.wire.dota.common.proto.DOTAModifiers.CDOTALuaModifierEntry parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static skadistats.clarity.wire.dota.common.proto.DOTAModifiers.CDOTALuaModifierEntry parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(skadistats.clarity.wire.dota.common.proto.DOTAModifiers.CDOTALuaModifierEntry prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code CDOTALuaModifierEntry}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:CDOTALuaModifierEntry)
skadistats.clarity.wire.dota.common.proto.DOTAModifiers.CDOTALuaModifierEntryOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return skadistats.clarity.wire.dota.common.proto.DOTAModifiers.internal_static_CDOTALuaModifierEntry_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return skadistats.clarity.wire.dota.common.proto.DOTAModifiers.internal_static_CDOTALuaModifierEntry_fieldAccessorTable
.ensureFieldAccessorsInitialized(
skadistats.clarity.wire.dota.common.proto.DOTAModifiers.CDOTALuaModifierEntry.class, skadistats.clarity.wire.dota.common.proto.DOTAModifiers.CDOTALuaModifierEntry.Builder.class);
}
// Construct using skadistats.clarity.wire.dota.common.proto.DOTAModifiers.CDOTALuaModifierEntry.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
modifierType_ = 0;
bitField0_ = (bitField0_ & ~0x00000001);
modifierFilename_ = "";
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return skadistats.clarity.wire.dota.common.proto.DOTAModifiers.internal_static_CDOTALuaModifierEntry_descriptor;
}
public skadistats.clarity.wire.dota.common.proto.DOTAModifiers.CDOTALuaModifierEntry getDefaultInstanceForType() {
return skadistats.clarity.wire.dota.common.proto.DOTAModifiers.CDOTALuaModifierEntry.getDefaultInstance();
}
public skadistats.clarity.wire.dota.common.proto.DOTAModifiers.CDOTALuaModifierEntry build() {
skadistats.clarity.wire.dota.common.proto.DOTAModifiers.CDOTALuaModifierEntry result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public skadistats.clarity.wire.dota.common.proto.DOTAModifiers.CDOTALuaModifierEntry buildPartial() {
skadistats.clarity.wire.dota.common.proto.DOTAModifiers.CDOTALuaModifierEntry result = new skadistats.clarity.wire.dota.common.proto.DOTAModifiers.CDOTALuaModifierEntry(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.modifierType_ = modifierType_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.modifierFilename_ = modifierFilename_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof skadistats.clarity.wire.dota.common.proto.DOTAModifiers.CDOTALuaModifierEntry) {
return mergeFrom((skadistats.clarity.wire.dota.common.proto.DOTAModifiers.CDOTALuaModifierEntry)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(skadistats.clarity.wire.dota.common.proto.DOTAModifiers.CDOTALuaModifierEntry other) {
if (other == skadistats.clarity.wire.dota.common.proto.DOTAModifiers.CDOTALuaModifierEntry.getDefaultInstance()) return this;
if (other.hasModifierType()) {
setModifierType(other.getModifierType());
}
if (other.hasModifierFilename()) {
bitField0_ |= 0x00000002;
modifierFilename_ = other.modifierFilename_;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
if (!hasModifierType()) {
return false;
}
if (!hasModifierFilename()) {
return false;
}
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
skadistats.clarity.wire.dota.common.proto.DOTAModifiers.CDOTALuaModifierEntry parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (skadistats.clarity.wire.dota.common.proto.DOTAModifiers.CDOTALuaModifierEntry) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private int modifierType_ ;
/**
* required int32 modifier_type = 1;
*/
public boolean hasModifierType() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required int32 modifier_type = 1;
*/
public int getModifierType() {
return modifierType_;
}
/**
* required int32 modifier_type = 1;
*/
public Builder setModifierType(int value) {
bitField0_ |= 0x00000001;
modifierType_ = value;
onChanged();
return this;
}
/**
* required int32 modifier_type = 1;
*/
public Builder clearModifierType() {
bitField0_ = (bitField0_ & ~0x00000001);
modifierType_ = 0;
onChanged();
return this;
}
private java.lang.Object modifierFilename_ = "";
/**
* required string modifier_filename = 2;
*/
public boolean hasModifierFilename() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* required string modifier_filename = 2;
*/
public java.lang.String getModifierFilename() {
java.lang.Object ref = modifierFilename_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
modifierFilename_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* required string modifier_filename = 2;
*/
public com.google.protobuf.ByteString
getModifierFilenameBytes() {
java.lang.Object ref = modifierFilename_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
modifierFilename_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* required string modifier_filename = 2;
*/
public Builder setModifierFilename(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
modifierFilename_ = value;
onChanged();
return this;
}
/**
* required string modifier_filename = 2;
*/
public Builder clearModifierFilename() {
bitField0_ = (bitField0_ & ~0x00000002);
modifierFilename_ = getDefaultInstance().getModifierFilename();
onChanged();
return this;
}
/**
* required string modifier_filename = 2;
*/
public Builder setModifierFilenameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
modifierFilename_ = value;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:CDOTALuaModifierEntry)
}
static {
defaultInstance = new CDOTALuaModifierEntry(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:CDOTALuaModifierEntry)
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_CDOTAModifierBuffTableEntry_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_CDOTAModifierBuffTableEntry_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_CDOTALuaModifierEntry_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_CDOTALuaModifierEntry_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\024dota_modifiers.proto\032\035networkbasetypes" +
"-common.proto\"\322\007\n\033CDOTAModifierBuffTable" +
"Entry\022N\n\nentry_type\030\001 \002(\0162\031.DOTA_MODIFIE" +
"R_ENTRY_TYPE:\037DOTA_MODIFIER_ENTRY_TYPE_A" +
"CTIVE\022\030\n\006parent\030\002 \002(\r:\01016777215\022\r\n\005index" +
"\030\003 \002(\005\022\022\n\nserial_num\030\004 \002(\005\022\026\n\016modifier_c" +
"lass\030\005 \001(\005\022\025\n\rability_level\030\006 \001(\005\022\023\n\013sta" +
"ck_count\030\007 \001(\005\022\025\n\rcreation_time\030\010 \001(\002\022\024\n" +
"\010duration\030\t \001(\002:\002-1\022\030\n\006caster\030\n \001(\r:\010167" +
"77215\022\031\n\007ability\030\013 \001(\r:\01016777215\022\r\n\005armo",
"r\030\014 \001(\005\022\021\n\tfade_time\030\r \001(\002\022\016\n\006subtle\030\016 \001" +
"(\010\022\024\n\014channel_time\030\017 \001(\002\022\034\n\007v_start\030\020 \001(" +
"\0132\013.CMsgVector\022\032\n\005v_end\030\021 \001(\0132\013.CMsgVect" +
"or\022\032\n\022portal_loop_appear\030\022 \001(\t\022\035\n\025portal" +
"_loop_disappear\030\023 \001(\t\022\030\n\020hero_loop_appea" +
"r\030\024 \001(\t\022\033\n\023hero_loop_disappear\030\025 \001(\t\022\026\n\016" +
"movement_speed\030\026 \001(\005\022\014\n\004aura\030\027 \001(\010\022\020\n\010ac" +
"tivity\030\030 \001(\005\022\016\n\006damage\030\031 \001(\005\022\r\n\005range\030\032 " +
"\001(\005\022\031\n\021dd_modifier_index\030\033 \001(\005\022\031\n\rdd_abi" +
"lity_id\030\034 \001(\005:\002-1\022\026\n\016illusion_label\030\035 \001(",
"\t\022\016\n\006active\030\036 \001(\010\022\022\n\nplayer_ids\030\037 \001(\t\022\020\n" +
"\010lua_name\030 \001(\t\022\024\n\014attack_speed\030! \001(\005\022\034\n" +
"\naura_owner\030\" \001(\r:\01016777215\022\027\n\017bonus_all" +
"_stats\030# \001(\005\022\024\n\014bonus_health\030$ \001(\005\022\022\n\nbo" +
"nus_mana\030% \001(\005\022\037\n\rcustom_entity\030& \001(\r:\0101" +
"6777215\022\031\n\021aura_within_range\030\' \001(\010\"I\n\025CD" +
"OTALuaModifierEntry\022\025\n\rmodifier_type\030\001 \002" +
"(\005\022\031\n\021modifier_filename\030\002 \002(\t*e\n\030DOTA_MO" +
"DIFIER_ENTRY_TYPE\022#\n\037DOTA_MODIFIER_ENTRY" +
"_TYPE_ACTIVE\020\001\022$\n DOTA_MODIFIER_ENTRY_TY",
"PE_REMOVED\020\002B:\n)skadistats.clarity.wire." +
"dota.common.protoB\rDOTAModifiers"
};
com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() {
public com.google.protobuf.ExtensionRegistry assignDescriptors(
com.google.protobuf.Descriptors.FileDescriptor root) {
descriptor = root;
return null;
}
};
com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
skadistats.clarity.wire.shared.common.proto.CommonNetworkBaseTypes.getDescriptor(),
}, assigner);
internal_static_CDOTAModifierBuffTableEntry_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_CDOTAModifierBuffTableEntry_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_CDOTAModifierBuffTableEntry_descriptor,
new java.lang.String[] { "EntryType", "Parent", "Index", "SerialNum", "ModifierClass", "AbilityLevel", "StackCount", "CreationTime", "Duration", "Caster", "Ability", "Armor", "FadeTime", "Subtle", "ChannelTime", "VStart", "VEnd", "PortalLoopAppear", "PortalLoopDisappear", "HeroLoopAppear", "HeroLoopDisappear", "MovementSpeed", "Aura", "Activity", "Damage", "Range", "DdModifierIndex", "DdAbilityId", "IllusionLabel", "Active", "PlayerIds", "LuaName", "AttackSpeed", "AuraOwner", "BonusAllStats", "BonusHealth", "BonusMana", "CustomEntity", "AuraWithinRange", });
internal_static_CDOTALuaModifierEntry_descriptor =
getDescriptor().getMessageTypes().get(1);
internal_static_CDOTALuaModifierEntry_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_CDOTALuaModifierEntry_descriptor,
new java.lang.String[] { "ModifierType", "ModifierFilename", });
skadistats.clarity.wire.shared.common.proto.CommonNetworkBaseTypes.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
}