skadistats.clarity.wire.common.proto.DotaUserMessages 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.
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: dota_usermessages.proto
package skadistats.clarity.wire.common.proto;
public final class DotaUserMessages {
private DotaUserMessages() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistry registry) {
}
/**
* Protobuf enum {@code DOTA_COMBATLOG_TYPES}
*/
public enum DOTA_COMBATLOG_TYPES
implements com.google.protobuf.ProtocolMessageEnum {
/**
* DOTA_COMBATLOG_INVALID = -1;
*/
DOTA_COMBATLOG_INVALID(0, -1),
/**
* DOTA_COMBATLOG_DAMAGE = 0;
*/
DOTA_COMBATLOG_DAMAGE(1, 0),
/**
* DOTA_COMBATLOG_HEAL = 1;
*/
DOTA_COMBATLOG_HEAL(2, 1),
/**
* DOTA_COMBATLOG_MODIFIER_ADD = 2;
*/
DOTA_COMBATLOG_MODIFIER_ADD(3, 2),
/**
* DOTA_COMBATLOG_MODIFIER_REMOVE = 3;
*/
DOTA_COMBATLOG_MODIFIER_REMOVE(4, 3),
/**
* DOTA_COMBATLOG_DEATH = 4;
*/
DOTA_COMBATLOG_DEATH(5, 4),
/**
* DOTA_COMBATLOG_ABILITY = 5;
*/
DOTA_COMBATLOG_ABILITY(6, 5),
/**
* DOTA_COMBATLOG_ITEM = 6;
*/
DOTA_COMBATLOG_ITEM(7, 6),
/**
* DOTA_COMBATLOG_LOCATION = 7;
*/
DOTA_COMBATLOG_LOCATION(8, 7),
/**
* DOTA_COMBATLOG_GOLD = 8;
*/
DOTA_COMBATLOG_GOLD(9, 8),
/**
* DOTA_COMBATLOG_GAME_STATE = 9;
*/
DOTA_COMBATLOG_GAME_STATE(10, 9),
/**
* DOTA_COMBATLOG_XP = 10;
*/
DOTA_COMBATLOG_XP(11, 10),
/**
* DOTA_COMBATLOG_PURCHASE = 11;
*/
DOTA_COMBATLOG_PURCHASE(12, 11),
/**
* DOTA_COMBATLOG_BUYBACK = 12;
*/
DOTA_COMBATLOG_BUYBACK(13, 12),
/**
* DOTA_COMBATLOG_ABILITY_TRIGGER = 13;
*/
DOTA_COMBATLOG_ABILITY_TRIGGER(14, 13),
/**
* DOTA_COMBATLOG_PLAYERSTATS = 14;
*/
DOTA_COMBATLOG_PLAYERSTATS(15, 14),
/**
* DOTA_COMBATLOG_MULTIKILL = 15;
*/
DOTA_COMBATLOG_MULTIKILL(16, 15),
/**
* DOTA_COMBATLOG_KILLSTREAK = 16;
*/
DOTA_COMBATLOG_KILLSTREAK(17, 16),
/**
* DOTA_COMBATLOG_TEAM_BUILDING_KILL = 17;
*/
DOTA_COMBATLOG_TEAM_BUILDING_KILL(18, 17),
/**
* DOTA_COMBATLOG_FIRST_BLOOD = 18;
*/
DOTA_COMBATLOG_FIRST_BLOOD(19, 18),
/**
* DOTA_COMBATLOG_MODIFIER_STACK_EVENT = 19;
*/
DOTA_COMBATLOG_MODIFIER_STACK_EVENT(20, 19),
/**
* DOTA_COMBATLOG_NEUTRAL_CAMP_STACK = 20;
*/
DOTA_COMBATLOG_NEUTRAL_CAMP_STACK(21, 20),
/**
* DOTA_COMBATLOG_PICKUP_RUNE = 21;
*/
DOTA_COMBATLOG_PICKUP_RUNE(22, 21),
/**
* DOTA_COMBATLOG_REVEALED_INVISIBLE = 22;
*/
DOTA_COMBATLOG_REVEALED_INVISIBLE(23, 22),
/**
* DOTA_COMBATLOG_HERO_SAVED = 23;
*/
DOTA_COMBATLOG_HERO_SAVED(24, 23),
/**
* DOTA_COMBATLOG_MANA_RESTORED = 24;
*/
DOTA_COMBATLOG_MANA_RESTORED(25, 24),
/**
* DOTA_COMBATLOG_HERO_LEVELUP = 25;
*/
DOTA_COMBATLOG_HERO_LEVELUP(26, 25),
/**
* DOTA_COMBATLOG_BOTTLE_HEAL_ALLY = 26;
*/
DOTA_COMBATLOG_BOTTLE_HEAL_ALLY(27, 26),
/**
* DOTA_COMBATLOG_ENDGAME_STATS = 27;
*/
DOTA_COMBATLOG_ENDGAME_STATS(28, 27),
/**
* DOTA_COMBATLOG_INTERRUPT_CHANNEL = 28;
*/
DOTA_COMBATLOG_INTERRUPT_CHANNEL(29, 28),
/**
* DOTA_COMBATLOG_ALLIED_GOLD = 29;
*/
DOTA_COMBATLOG_ALLIED_GOLD(30, 29),
/**
* DOTA_COMBATLOG_AEGIS_TAKEN = 30;
*/
DOTA_COMBATLOG_AEGIS_TAKEN(31, 30),
/**
* DOTA_COMBATLOG_MANA_DAMAGE = 31;
*/
DOTA_COMBATLOG_MANA_DAMAGE(32, 31),
/**
* DOTA_COMBATLOG_PHYSICAL_DAMAGE_PREVENTED = 32;
*/
DOTA_COMBATLOG_PHYSICAL_DAMAGE_PREVENTED(33, 32),
/**
* DOTA_COMBATLOG_UNIT_SUMMONED = 33;
*/
DOTA_COMBATLOG_UNIT_SUMMONED(34, 33),
/**
* DOTA_COMBATLOG_ATTACK_EVADE = 34;
*/
DOTA_COMBATLOG_ATTACK_EVADE(35, 34),
/**
* DOTA_COMBATLOG_TREE_CUT = 35;
*/
DOTA_COMBATLOG_TREE_CUT(36, 35),
/**
* DOTA_COMBATLOG_SUCCESSFUL_SCAN = 36;
*/
DOTA_COMBATLOG_SUCCESSFUL_SCAN(37, 36),
/**
* DOTA_COMBATLOG_END_KILLSTREAK = 37;
*/
DOTA_COMBATLOG_END_KILLSTREAK(38, 37),
/**
* DOTA_COMBATLOG_BLOODSTONE_CHARGE = 38;
*/
DOTA_COMBATLOG_BLOODSTONE_CHARGE(39, 38),
/**
* DOTA_COMBATLOG_CRITICAL_DAMAGE = 39;
*/
DOTA_COMBATLOG_CRITICAL_DAMAGE(40, 39),
/**
* DOTA_COMBATLOG_SPELL_ABSORB = 40;
*/
DOTA_COMBATLOG_SPELL_ABSORB(41, 40),
/**
* DOTA_COMBATLOG_UNIT_TELEPORTED = 41;
*/
DOTA_COMBATLOG_UNIT_TELEPORTED(42, 41),
/**
* DOTA_COMBATLOG_KILL_EATER_EVENT = 42;
*/
DOTA_COMBATLOG_KILL_EATER_EVENT(43, 42),
;
/**
* DOTA_COMBATLOG_INVALID = -1;
*/
public static final int DOTA_COMBATLOG_INVALID_VALUE = -1;
/**
* DOTA_COMBATLOG_DAMAGE = 0;
*/
public static final int DOTA_COMBATLOG_DAMAGE_VALUE = 0;
/**
* DOTA_COMBATLOG_HEAL = 1;
*/
public static final int DOTA_COMBATLOG_HEAL_VALUE = 1;
/**
* DOTA_COMBATLOG_MODIFIER_ADD = 2;
*/
public static final int DOTA_COMBATLOG_MODIFIER_ADD_VALUE = 2;
/**
* DOTA_COMBATLOG_MODIFIER_REMOVE = 3;
*/
public static final int DOTA_COMBATLOG_MODIFIER_REMOVE_VALUE = 3;
/**
* DOTA_COMBATLOG_DEATH = 4;
*/
public static final int DOTA_COMBATLOG_DEATH_VALUE = 4;
/**
* DOTA_COMBATLOG_ABILITY = 5;
*/
public static final int DOTA_COMBATLOG_ABILITY_VALUE = 5;
/**
* DOTA_COMBATLOG_ITEM = 6;
*/
public static final int DOTA_COMBATLOG_ITEM_VALUE = 6;
/**
* DOTA_COMBATLOG_LOCATION = 7;
*/
public static final int DOTA_COMBATLOG_LOCATION_VALUE = 7;
/**
* DOTA_COMBATLOG_GOLD = 8;
*/
public static final int DOTA_COMBATLOG_GOLD_VALUE = 8;
/**
* DOTA_COMBATLOG_GAME_STATE = 9;
*/
public static final int DOTA_COMBATLOG_GAME_STATE_VALUE = 9;
/**
* DOTA_COMBATLOG_XP = 10;
*/
public static final int DOTA_COMBATLOG_XP_VALUE = 10;
/**
* DOTA_COMBATLOG_PURCHASE = 11;
*/
public static final int DOTA_COMBATLOG_PURCHASE_VALUE = 11;
/**
* DOTA_COMBATLOG_BUYBACK = 12;
*/
public static final int DOTA_COMBATLOG_BUYBACK_VALUE = 12;
/**
* DOTA_COMBATLOG_ABILITY_TRIGGER = 13;
*/
public static final int DOTA_COMBATLOG_ABILITY_TRIGGER_VALUE = 13;
/**
* DOTA_COMBATLOG_PLAYERSTATS = 14;
*/
public static final int DOTA_COMBATLOG_PLAYERSTATS_VALUE = 14;
/**
* DOTA_COMBATLOG_MULTIKILL = 15;
*/
public static final int DOTA_COMBATLOG_MULTIKILL_VALUE = 15;
/**
* DOTA_COMBATLOG_KILLSTREAK = 16;
*/
public static final int DOTA_COMBATLOG_KILLSTREAK_VALUE = 16;
/**
* DOTA_COMBATLOG_TEAM_BUILDING_KILL = 17;
*/
public static final int DOTA_COMBATLOG_TEAM_BUILDING_KILL_VALUE = 17;
/**
* DOTA_COMBATLOG_FIRST_BLOOD = 18;
*/
public static final int DOTA_COMBATLOG_FIRST_BLOOD_VALUE = 18;
/**
* DOTA_COMBATLOG_MODIFIER_STACK_EVENT = 19;
*/
public static final int DOTA_COMBATLOG_MODIFIER_STACK_EVENT_VALUE = 19;
/**
* DOTA_COMBATLOG_NEUTRAL_CAMP_STACK = 20;
*/
public static final int DOTA_COMBATLOG_NEUTRAL_CAMP_STACK_VALUE = 20;
/**
* DOTA_COMBATLOG_PICKUP_RUNE = 21;
*/
public static final int DOTA_COMBATLOG_PICKUP_RUNE_VALUE = 21;
/**
* DOTA_COMBATLOG_REVEALED_INVISIBLE = 22;
*/
public static final int DOTA_COMBATLOG_REVEALED_INVISIBLE_VALUE = 22;
/**
* DOTA_COMBATLOG_HERO_SAVED = 23;
*/
public static final int DOTA_COMBATLOG_HERO_SAVED_VALUE = 23;
/**
* DOTA_COMBATLOG_MANA_RESTORED = 24;
*/
public static final int DOTA_COMBATLOG_MANA_RESTORED_VALUE = 24;
/**
* DOTA_COMBATLOG_HERO_LEVELUP = 25;
*/
public static final int DOTA_COMBATLOG_HERO_LEVELUP_VALUE = 25;
/**
* DOTA_COMBATLOG_BOTTLE_HEAL_ALLY = 26;
*/
public static final int DOTA_COMBATLOG_BOTTLE_HEAL_ALLY_VALUE = 26;
/**
* DOTA_COMBATLOG_ENDGAME_STATS = 27;
*/
public static final int DOTA_COMBATLOG_ENDGAME_STATS_VALUE = 27;
/**
* DOTA_COMBATLOG_INTERRUPT_CHANNEL = 28;
*/
public static final int DOTA_COMBATLOG_INTERRUPT_CHANNEL_VALUE = 28;
/**
* DOTA_COMBATLOG_ALLIED_GOLD = 29;
*/
public static final int DOTA_COMBATLOG_ALLIED_GOLD_VALUE = 29;
/**
* DOTA_COMBATLOG_AEGIS_TAKEN = 30;
*/
public static final int DOTA_COMBATLOG_AEGIS_TAKEN_VALUE = 30;
/**
* DOTA_COMBATLOG_MANA_DAMAGE = 31;
*/
public static final int DOTA_COMBATLOG_MANA_DAMAGE_VALUE = 31;
/**
* DOTA_COMBATLOG_PHYSICAL_DAMAGE_PREVENTED = 32;
*/
public static final int DOTA_COMBATLOG_PHYSICAL_DAMAGE_PREVENTED_VALUE = 32;
/**
* DOTA_COMBATLOG_UNIT_SUMMONED = 33;
*/
public static final int DOTA_COMBATLOG_UNIT_SUMMONED_VALUE = 33;
/**
* DOTA_COMBATLOG_ATTACK_EVADE = 34;
*/
public static final int DOTA_COMBATLOG_ATTACK_EVADE_VALUE = 34;
/**
* DOTA_COMBATLOG_TREE_CUT = 35;
*/
public static final int DOTA_COMBATLOG_TREE_CUT_VALUE = 35;
/**
* DOTA_COMBATLOG_SUCCESSFUL_SCAN = 36;
*/
public static final int DOTA_COMBATLOG_SUCCESSFUL_SCAN_VALUE = 36;
/**
* DOTA_COMBATLOG_END_KILLSTREAK = 37;
*/
public static final int DOTA_COMBATLOG_END_KILLSTREAK_VALUE = 37;
/**
* DOTA_COMBATLOG_BLOODSTONE_CHARGE = 38;
*/
public static final int DOTA_COMBATLOG_BLOODSTONE_CHARGE_VALUE = 38;
/**
* DOTA_COMBATLOG_CRITICAL_DAMAGE = 39;
*/
public static final int DOTA_COMBATLOG_CRITICAL_DAMAGE_VALUE = 39;
/**
* DOTA_COMBATLOG_SPELL_ABSORB = 40;
*/
public static final int DOTA_COMBATLOG_SPELL_ABSORB_VALUE = 40;
/**
* DOTA_COMBATLOG_UNIT_TELEPORTED = 41;
*/
public static final int DOTA_COMBATLOG_UNIT_TELEPORTED_VALUE = 41;
/**
* DOTA_COMBATLOG_KILL_EATER_EVENT = 42;
*/
public static final int DOTA_COMBATLOG_KILL_EATER_EVENT_VALUE = 42;
public final int getNumber() { return value; }
public static DOTA_COMBATLOG_TYPES valueOf(int value) {
switch (value) {
case -1: return DOTA_COMBATLOG_INVALID;
case 0: return DOTA_COMBATLOG_DAMAGE;
case 1: return DOTA_COMBATLOG_HEAL;
case 2: return DOTA_COMBATLOG_MODIFIER_ADD;
case 3: return DOTA_COMBATLOG_MODIFIER_REMOVE;
case 4: return DOTA_COMBATLOG_DEATH;
case 5: return DOTA_COMBATLOG_ABILITY;
case 6: return DOTA_COMBATLOG_ITEM;
case 7: return DOTA_COMBATLOG_LOCATION;
case 8: return DOTA_COMBATLOG_GOLD;
case 9: return DOTA_COMBATLOG_GAME_STATE;
case 10: return DOTA_COMBATLOG_XP;
case 11: return DOTA_COMBATLOG_PURCHASE;
case 12: return DOTA_COMBATLOG_BUYBACK;
case 13: return DOTA_COMBATLOG_ABILITY_TRIGGER;
case 14: return DOTA_COMBATLOG_PLAYERSTATS;
case 15: return DOTA_COMBATLOG_MULTIKILL;
case 16: return DOTA_COMBATLOG_KILLSTREAK;
case 17: return DOTA_COMBATLOG_TEAM_BUILDING_KILL;
case 18: return DOTA_COMBATLOG_FIRST_BLOOD;
case 19: return DOTA_COMBATLOG_MODIFIER_STACK_EVENT;
case 20: return DOTA_COMBATLOG_NEUTRAL_CAMP_STACK;
case 21: return DOTA_COMBATLOG_PICKUP_RUNE;
case 22: return DOTA_COMBATLOG_REVEALED_INVISIBLE;
case 23: return DOTA_COMBATLOG_HERO_SAVED;
case 24: return DOTA_COMBATLOG_MANA_RESTORED;
case 25: return DOTA_COMBATLOG_HERO_LEVELUP;
case 26: return DOTA_COMBATLOG_BOTTLE_HEAL_ALLY;
case 27: return DOTA_COMBATLOG_ENDGAME_STATS;
case 28: return DOTA_COMBATLOG_INTERRUPT_CHANNEL;
case 29: return DOTA_COMBATLOG_ALLIED_GOLD;
case 30: return DOTA_COMBATLOG_AEGIS_TAKEN;
case 31: return DOTA_COMBATLOG_MANA_DAMAGE;
case 32: return DOTA_COMBATLOG_PHYSICAL_DAMAGE_PREVENTED;
case 33: return DOTA_COMBATLOG_UNIT_SUMMONED;
case 34: return DOTA_COMBATLOG_ATTACK_EVADE;
case 35: return DOTA_COMBATLOG_TREE_CUT;
case 36: return DOTA_COMBATLOG_SUCCESSFUL_SCAN;
case 37: return DOTA_COMBATLOG_END_KILLSTREAK;
case 38: return DOTA_COMBATLOG_BLOODSTONE_CHARGE;
case 39: return DOTA_COMBATLOG_CRITICAL_DAMAGE;
case 40: return DOTA_COMBATLOG_SPELL_ABSORB;
case 41: return DOTA_COMBATLOG_UNIT_TELEPORTED;
case 42: return DOTA_COMBATLOG_KILL_EATER_EVENT;
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_COMBATLOG_TYPES findValueByNumber(int number) {
return DOTA_COMBATLOG_TYPES.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.common.proto.DotaUserMessages.getDescriptor().getEnumTypes().get(0);
}
private static final DOTA_COMBATLOG_TYPES[] VALUES = values();
public static DOTA_COMBATLOG_TYPES 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_COMBATLOG_TYPES(int index, int value) {
this.index = index;
this.value = value;
}
// @@protoc_insertion_point(enum_scope:DOTA_COMBATLOG_TYPES)
}
/**
* Protobuf enum {@code DOTA_CHAT_MESSAGE}
*/
public enum DOTA_CHAT_MESSAGE
implements com.google.protobuf.ProtocolMessageEnum {
/**
* CHAT_MESSAGE_INVALID = -1;
*/
CHAT_MESSAGE_INVALID(0, -1),
/**
* CHAT_MESSAGE_HERO_KILL = 0;
*/
CHAT_MESSAGE_HERO_KILL(1, 0),
/**
* CHAT_MESSAGE_HERO_DENY = 1;
*/
CHAT_MESSAGE_HERO_DENY(2, 1),
/**
* CHAT_MESSAGE_BARRACKS_KILL = 2;
*/
CHAT_MESSAGE_BARRACKS_KILL(3, 2),
/**
* CHAT_MESSAGE_TOWER_KILL = 3;
*/
CHAT_MESSAGE_TOWER_KILL(4, 3),
/**
* CHAT_MESSAGE_TOWER_DENY = 4;
*/
CHAT_MESSAGE_TOWER_DENY(5, 4),
/**
* CHAT_MESSAGE_FIRSTBLOOD = 5;
*/
CHAT_MESSAGE_FIRSTBLOOD(6, 5),
/**
* CHAT_MESSAGE_STREAK_KILL = 6;
*/
CHAT_MESSAGE_STREAK_KILL(7, 6),
/**
* CHAT_MESSAGE_BUYBACK = 7;
*/
CHAT_MESSAGE_BUYBACK(8, 7),
/**
* CHAT_MESSAGE_AEGIS = 8;
*/
CHAT_MESSAGE_AEGIS(9, 8),
/**
* CHAT_MESSAGE_ROSHAN_KILL = 9;
*/
CHAT_MESSAGE_ROSHAN_KILL(10, 9),
/**
* CHAT_MESSAGE_COURIER_LOST = 10;
*/
CHAT_MESSAGE_COURIER_LOST(11, 10),
/**
* CHAT_MESSAGE_COURIER_RESPAWNED = 11;
*/
CHAT_MESSAGE_COURIER_RESPAWNED(12, 11),
/**
* CHAT_MESSAGE_GLYPH_USED = 12;
*/
CHAT_MESSAGE_GLYPH_USED(13, 12),
/**
* CHAT_MESSAGE_ITEM_PURCHASE = 13;
*/
CHAT_MESSAGE_ITEM_PURCHASE(14, 13),
/**
* CHAT_MESSAGE_CONNECT = 14;
*/
CHAT_MESSAGE_CONNECT(15, 14),
/**
* CHAT_MESSAGE_DISCONNECT = 15;
*/
CHAT_MESSAGE_DISCONNECT(16, 15),
/**
* CHAT_MESSAGE_DISCONNECT_WAIT_FOR_RECONNECT = 16;
*/
CHAT_MESSAGE_DISCONNECT_WAIT_FOR_RECONNECT(17, 16),
/**
* CHAT_MESSAGE_DISCONNECT_TIME_REMAINING = 17;
*/
CHAT_MESSAGE_DISCONNECT_TIME_REMAINING(18, 17),
/**
* CHAT_MESSAGE_DISCONNECT_TIME_REMAINING_PLURAL = 18;
*/
CHAT_MESSAGE_DISCONNECT_TIME_REMAINING_PLURAL(19, 18),
/**
* CHAT_MESSAGE_RECONNECT = 19;
*/
CHAT_MESSAGE_RECONNECT(20, 19),
/**
* CHAT_MESSAGE_PLAYER_LEFT = 20;
*/
CHAT_MESSAGE_PLAYER_LEFT(21, 20),
/**
* CHAT_MESSAGE_SAFE_TO_LEAVE = 21;
*/
CHAT_MESSAGE_SAFE_TO_LEAVE(22, 21),
/**
* CHAT_MESSAGE_RUNE_PICKUP = 22;
*/
CHAT_MESSAGE_RUNE_PICKUP(23, 22),
/**
* CHAT_MESSAGE_RUNE_BOTTLE = 23;
*/
CHAT_MESSAGE_RUNE_BOTTLE(24, 23),
/**
* CHAT_MESSAGE_INTHEBAG = 24;
*/
CHAT_MESSAGE_INTHEBAG(25, 24),
/**
* CHAT_MESSAGE_SECRETSHOP = 25;
*/
CHAT_MESSAGE_SECRETSHOP(26, 25),
/**
* CHAT_MESSAGE_ITEM_AUTOPURCHASED = 26;
*/
CHAT_MESSAGE_ITEM_AUTOPURCHASED(27, 26),
/**
* CHAT_MESSAGE_ITEMS_COMBINED = 27;
*/
CHAT_MESSAGE_ITEMS_COMBINED(28, 27),
/**
* CHAT_MESSAGE_SUPER_CREEPS = 28;
*/
CHAT_MESSAGE_SUPER_CREEPS(29, 28),
/**
* CHAT_MESSAGE_CANT_USE_ACTION_ITEM = 29;
*/
CHAT_MESSAGE_CANT_USE_ACTION_ITEM(30, 29),
/**
* CHAT_MESSAGE_CHARGES_EXHAUSTED = 30;
*/
CHAT_MESSAGE_CHARGES_EXHAUSTED(31, 30),
/**
* CHAT_MESSAGE_CANTPAUSE = 31;
*/
CHAT_MESSAGE_CANTPAUSE(32, 31),
/**
* CHAT_MESSAGE_NOPAUSESLEFT = 32;
*/
CHAT_MESSAGE_NOPAUSESLEFT(33, 32),
/**
* CHAT_MESSAGE_CANTPAUSEYET = 33;
*/
CHAT_MESSAGE_CANTPAUSEYET(34, 33),
/**
* CHAT_MESSAGE_PAUSED = 34;
*/
CHAT_MESSAGE_PAUSED(35, 34),
/**
* CHAT_MESSAGE_UNPAUSE_COUNTDOWN = 35;
*/
CHAT_MESSAGE_UNPAUSE_COUNTDOWN(36, 35),
/**
* CHAT_MESSAGE_UNPAUSED = 36;
*/
CHAT_MESSAGE_UNPAUSED(37, 36),
/**
* CHAT_MESSAGE_AUTO_UNPAUSED = 37;
*/
CHAT_MESSAGE_AUTO_UNPAUSED(38, 37),
/**
* CHAT_MESSAGE_YOUPAUSED = 38;
*/
CHAT_MESSAGE_YOUPAUSED(39, 38),
/**
* CHAT_MESSAGE_CANTUNPAUSETEAM = 39;
*/
CHAT_MESSAGE_CANTUNPAUSETEAM(40, 39),
/**
* CHAT_MESSAGE_VOICE_TEXT_BANNED = 41;
*/
CHAT_MESSAGE_VOICE_TEXT_BANNED(41, 41),
/**
* CHAT_MESSAGE_SPECTATORS_WATCHING_THIS_GAME = 42;
*/
CHAT_MESSAGE_SPECTATORS_WATCHING_THIS_GAME(42, 42),
/**
* CHAT_MESSAGE_REPORT_REMINDER = 43;
*/
CHAT_MESSAGE_REPORT_REMINDER(43, 43),
/**
* CHAT_MESSAGE_ECON_ITEM = 44;
*/
CHAT_MESSAGE_ECON_ITEM(44, 44),
/**
* CHAT_MESSAGE_TAUNT = 45;
*/
CHAT_MESSAGE_TAUNT(45, 45),
/**
* CHAT_MESSAGE_RANDOM = 46;
*/
CHAT_MESSAGE_RANDOM(46, 46),
/**
* CHAT_MESSAGE_RD_TURN = 47;
*/
CHAT_MESSAGE_RD_TURN(47, 47),
/**
* CHAT_MESSAGE_DROP_RATE_BONUS = 49;
*/
CHAT_MESSAGE_DROP_RATE_BONUS(48, 49),
/**
* CHAT_MESSAGE_NO_BATTLE_POINTS = 50;
*/
CHAT_MESSAGE_NO_BATTLE_POINTS(49, 50),
/**
* CHAT_MESSAGE_DENIED_AEGIS = 51;
*/
CHAT_MESSAGE_DENIED_AEGIS(50, 51),
/**
* CHAT_MESSAGE_INFORMATIONAL = 52;
*/
CHAT_MESSAGE_INFORMATIONAL(51, 52),
/**
* CHAT_MESSAGE_AEGIS_STOLEN = 53;
*/
CHAT_MESSAGE_AEGIS_STOLEN(52, 53),
/**
* CHAT_MESSAGE_ROSHAN_CANDY = 54;
*/
CHAT_MESSAGE_ROSHAN_CANDY(53, 54),
/**
* CHAT_MESSAGE_ITEM_GIFTED = 55;
*/
CHAT_MESSAGE_ITEM_GIFTED(54, 55),
/**
* CHAT_MESSAGE_HERO_KILL_WITH_GREEVIL = 56;
*/
CHAT_MESSAGE_HERO_KILL_WITH_GREEVIL(55, 56),
/**
* CHAT_MESSAGE_HOLDOUT_TOWER_DESTROYED = 57;
*/
CHAT_MESSAGE_HOLDOUT_TOWER_DESTROYED(56, 57),
/**
* CHAT_MESSAGE_HOLDOUT_WALL_DESTROYED = 58;
*/
CHAT_MESSAGE_HOLDOUT_WALL_DESTROYED(57, 58),
/**
* CHAT_MESSAGE_HOLDOUT_WALL_FINISHED = 59;
*/
CHAT_MESSAGE_HOLDOUT_WALL_FINISHED(58, 59),
/**
* CHAT_MESSAGE_PLAYER_LEFT_LIMITED_HERO = 62;
*/
CHAT_MESSAGE_PLAYER_LEFT_LIMITED_HERO(59, 62),
/**
* CHAT_MESSAGE_ABANDON_LIMITED_HERO_EXPLANATION = 63;
*/
CHAT_MESSAGE_ABANDON_LIMITED_HERO_EXPLANATION(60, 63),
/**
* CHAT_MESSAGE_DISCONNECT_LIMITED_HERO = 64;
*/
CHAT_MESSAGE_DISCONNECT_LIMITED_HERO(61, 64),
/**
* CHAT_MESSAGE_LOW_PRIORITY_COMPLETED_EXPLANATION = 65;
*/
CHAT_MESSAGE_LOW_PRIORITY_COMPLETED_EXPLANATION(62, 65),
/**
* CHAT_MESSAGE_RECRUITMENT_DROP_RATE_BONUS = 66;
*/
CHAT_MESSAGE_RECRUITMENT_DROP_RATE_BONUS(63, 66),
/**
* CHAT_MESSAGE_FROSTIVUS_SHINING_BOOSTER_ACTIVE = 67;
*/
CHAT_MESSAGE_FROSTIVUS_SHINING_BOOSTER_ACTIVE(64, 67),
/**
* CHAT_MESSAGE_PLAYER_LEFT_AFK = 73;
*/
CHAT_MESSAGE_PLAYER_LEFT_AFK(65, 73),
/**
* CHAT_MESSAGE_PLAYER_LEFT_DISCONNECTED_TOO_LONG = 74;
*/
CHAT_MESSAGE_PLAYER_LEFT_DISCONNECTED_TOO_LONG(66, 74),
/**
* CHAT_MESSAGE_PLAYER_ABANDONED = 75;
*/
CHAT_MESSAGE_PLAYER_ABANDONED(67, 75),
/**
* CHAT_MESSAGE_PLAYER_ABANDONED_AFK = 76;
*/
CHAT_MESSAGE_PLAYER_ABANDONED_AFK(68, 76),
/**
* CHAT_MESSAGE_PLAYER_ABANDONED_DISCONNECTED_TOO_LONG = 77;
*/
CHAT_MESSAGE_PLAYER_ABANDONED_DISCONNECTED_TOO_LONG(69, 77),
/**
* CHAT_MESSAGE_WILL_NOT_BE_SCORED = 78;
*/
CHAT_MESSAGE_WILL_NOT_BE_SCORED(70, 78),
/**
* CHAT_MESSAGE_WILL_NOT_BE_SCORED_RANKED = 79;
*/
CHAT_MESSAGE_WILL_NOT_BE_SCORED_RANKED(71, 79),
/**
* CHAT_MESSAGE_WILL_NOT_BE_SCORED_NETWORK = 80;
*/
CHAT_MESSAGE_WILL_NOT_BE_SCORED_NETWORK(72, 80),
/**
* CHAT_MESSAGE_WILL_NOT_BE_SCORED_NETWORK_RANKED = 81;
*/
CHAT_MESSAGE_WILL_NOT_BE_SCORED_NETWORK_RANKED(73, 81),
/**
* CHAT_MESSAGE_CAN_QUIT_WITHOUT_ABANDON = 82;
*/
CHAT_MESSAGE_CAN_QUIT_WITHOUT_ABANDON(74, 82),
/**
* CHAT_MESSAGE_RANKED_GAME_STILL_SCORED_LEAVERS_GET_LOSS = 83;
*/
CHAT_MESSAGE_RANKED_GAME_STILL_SCORED_LEAVERS_GET_LOSS(75, 83),
/**
* CHAT_MESSAGE_ABANDON_RANKED_BEFORE_FIRST_BLOOD_PARTY = 84;
*/
CHAT_MESSAGE_ABANDON_RANKED_BEFORE_FIRST_BLOOD_PARTY(76, 84),
/**
* CHAT_MESSAGE_COMPENDIUM_LEVEL = 85;
*/
CHAT_MESSAGE_COMPENDIUM_LEVEL(77, 85),
/**
* CHAT_MESSAGE_VICTORY_PREDICTION_STREAK = 86;
*/
CHAT_MESSAGE_VICTORY_PREDICTION_STREAK(78, 86),
/**
* CHAT_MESSAGE_ASSASSIN_ANNOUNCE = 87;
*/
CHAT_MESSAGE_ASSASSIN_ANNOUNCE(79, 87),
/**
* CHAT_MESSAGE_ASSASSIN_SUCCESS = 88;
*/
CHAT_MESSAGE_ASSASSIN_SUCCESS(80, 88),
/**
* CHAT_MESSAGE_ASSASSIN_DENIED = 89;
*/
CHAT_MESSAGE_ASSASSIN_DENIED(81, 89),
/**
* CHAT_MESSAGE_VICTORY_PREDICTION_SINGLE_USER_CONFIRM = 90;
*/
CHAT_MESSAGE_VICTORY_PREDICTION_SINGLE_USER_CONFIRM(82, 90),
/**
* CHAT_MESSAGE_EFFIGY_KILL = 91;
*/
CHAT_MESSAGE_EFFIGY_KILL(83, 91),
/**
* CHAT_MESSAGE_VOICE_TEXT_BANNED_OVERFLOW = 92;
*/
CHAT_MESSAGE_VOICE_TEXT_BANNED_OVERFLOW(84, 92),
/**
* CHAT_MESSAGE_YEAR_BEAST_KILLED = 93;
*/
CHAT_MESSAGE_YEAR_BEAST_KILLED(85, 93),
/**
* CHAT_MESSAGE_PAUSE_COUNTDOWN = 94;
*/
CHAT_MESSAGE_PAUSE_COUNTDOWN(86, 94),
/**
* CHAT_MESSAGE_COINS_WAGERED = 95;
*/
CHAT_MESSAGE_COINS_WAGERED(87, 95),
/**
* CHAT_MESSAGE_HERO_NOMINATED_BAN = 96;
*/
CHAT_MESSAGE_HERO_NOMINATED_BAN(88, 96),
/**
* CHAT_MESSAGE_HERO_BANNED = 97;
*/
CHAT_MESSAGE_HERO_BANNED(89, 97),
/**
* CHAT_MESSAGE_HERO_BAN_COUNT = 98;
*/
CHAT_MESSAGE_HERO_BAN_COUNT(90, 98),
/**
* CHAT_MESSAGE_RIVER_PAINTED = 99;
*/
CHAT_MESSAGE_RIVER_PAINTED(91, 99),
/**
* CHAT_MESSAGE_SCAN_USED = 100;
*/
CHAT_MESSAGE_SCAN_USED(92, 100),
/**
* CHAT_MESSAGE_SHRINE_KILLED = 101;
*/
CHAT_MESSAGE_SHRINE_KILLED(93, 101),
/**
* CHAT_MESSAGE_WAGER_TOKEN_SPENT = 102;
*/
CHAT_MESSAGE_WAGER_TOKEN_SPENT(94, 102),
/**
* CHAT_MESSAGE_RANK_WAGER = 103;
*/
CHAT_MESSAGE_RANK_WAGER(95, 103),
/**
* CHAT_MESSAGE_NEW_PLAYER_REMINDER = 104;
*/
CHAT_MESSAGE_NEW_PLAYER_REMINDER(96, 104),
/**
* CHAT_MESSAGE_OBSERVER_WARD_KILLED = 105;
*/
CHAT_MESSAGE_OBSERVER_WARD_KILLED(97, 105),
/**
* CHAT_MESSAGE_SENTRY_WARD_KILLED = 106;
*/
CHAT_MESSAGE_SENTRY_WARD_KILLED(98, 106),
/**
* CHAT_MESSAGE_ITEM_PLACED_IN_NEUTRAL_STASH = 107;
*/
CHAT_MESSAGE_ITEM_PLACED_IN_NEUTRAL_STASH(99, 107),
/**
* CHAT_MESSAGE_HERO_CHOICE_INVALID = 108;
*/
CHAT_MESSAGE_HERO_CHOICE_INVALID(100, 108),
/**
* CHAT_MESSAGE_BOUNTY = 109;
*/
CHAT_MESSAGE_BOUNTY(101, 109),
/**
* CHAT_MESSAGE_ABILITY_DRAFT_START = 110;
*/
CHAT_MESSAGE_ABILITY_DRAFT_START(102, 110),
/**
* CHAT_MESSAGE_HERO_FOUND_CANDY = 111;
*/
CHAT_MESSAGE_HERO_FOUND_CANDY(103, 111),
/**
* CHAT_MESSAGE_ABILITY_DRAFT_RANDOMED = 112;
*/
CHAT_MESSAGE_ABILITY_DRAFT_RANDOMED(104, 112),
/**
* CHAT_MESSAGE_PRIVATE_COACH_CONNECTED = 113;
*/
CHAT_MESSAGE_PRIVATE_COACH_CONNECTED(105, 113),
;
/**
* CHAT_MESSAGE_INVALID = -1;
*/
public static final int CHAT_MESSAGE_INVALID_VALUE = -1;
/**
* CHAT_MESSAGE_HERO_KILL = 0;
*/
public static final int CHAT_MESSAGE_HERO_KILL_VALUE = 0;
/**
* CHAT_MESSAGE_HERO_DENY = 1;
*/
public static final int CHAT_MESSAGE_HERO_DENY_VALUE = 1;
/**
* CHAT_MESSAGE_BARRACKS_KILL = 2;
*/
public static final int CHAT_MESSAGE_BARRACKS_KILL_VALUE = 2;
/**
* CHAT_MESSAGE_TOWER_KILL = 3;
*/
public static final int CHAT_MESSAGE_TOWER_KILL_VALUE = 3;
/**
* CHAT_MESSAGE_TOWER_DENY = 4;
*/
public static final int CHAT_MESSAGE_TOWER_DENY_VALUE = 4;
/**
* CHAT_MESSAGE_FIRSTBLOOD = 5;
*/
public static final int CHAT_MESSAGE_FIRSTBLOOD_VALUE = 5;
/**
* CHAT_MESSAGE_STREAK_KILL = 6;
*/
public static final int CHAT_MESSAGE_STREAK_KILL_VALUE = 6;
/**
* CHAT_MESSAGE_BUYBACK = 7;
*/
public static final int CHAT_MESSAGE_BUYBACK_VALUE = 7;
/**
* CHAT_MESSAGE_AEGIS = 8;
*/
public static final int CHAT_MESSAGE_AEGIS_VALUE = 8;
/**
* CHAT_MESSAGE_ROSHAN_KILL = 9;
*/
public static final int CHAT_MESSAGE_ROSHAN_KILL_VALUE = 9;
/**
* CHAT_MESSAGE_COURIER_LOST = 10;
*/
public static final int CHAT_MESSAGE_COURIER_LOST_VALUE = 10;
/**
* CHAT_MESSAGE_COURIER_RESPAWNED = 11;
*/
public static final int CHAT_MESSAGE_COURIER_RESPAWNED_VALUE = 11;
/**
* CHAT_MESSAGE_GLYPH_USED = 12;
*/
public static final int CHAT_MESSAGE_GLYPH_USED_VALUE = 12;
/**
* CHAT_MESSAGE_ITEM_PURCHASE = 13;
*/
public static final int CHAT_MESSAGE_ITEM_PURCHASE_VALUE = 13;
/**
* CHAT_MESSAGE_CONNECT = 14;
*/
public static final int CHAT_MESSAGE_CONNECT_VALUE = 14;
/**
* CHAT_MESSAGE_DISCONNECT = 15;
*/
public static final int CHAT_MESSAGE_DISCONNECT_VALUE = 15;
/**
* CHAT_MESSAGE_DISCONNECT_WAIT_FOR_RECONNECT = 16;
*/
public static final int CHAT_MESSAGE_DISCONNECT_WAIT_FOR_RECONNECT_VALUE = 16;
/**
* CHAT_MESSAGE_DISCONNECT_TIME_REMAINING = 17;
*/
public static final int CHAT_MESSAGE_DISCONNECT_TIME_REMAINING_VALUE = 17;
/**
* CHAT_MESSAGE_DISCONNECT_TIME_REMAINING_PLURAL = 18;
*/
public static final int CHAT_MESSAGE_DISCONNECT_TIME_REMAINING_PLURAL_VALUE = 18;
/**
* CHAT_MESSAGE_RECONNECT = 19;
*/
public static final int CHAT_MESSAGE_RECONNECT_VALUE = 19;
/**
* CHAT_MESSAGE_PLAYER_LEFT = 20;
*/
public static final int CHAT_MESSAGE_PLAYER_LEFT_VALUE = 20;
/**
* CHAT_MESSAGE_SAFE_TO_LEAVE = 21;
*/
public static final int CHAT_MESSAGE_SAFE_TO_LEAVE_VALUE = 21;
/**
* CHAT_MESSAGE_RUNE_PICKUP = 22;
*/
public static final int CHAT_MESSAGE_RUNE_PICKUP_VALUE = 22;
/**
* CHAT_MESSAGE_RUNE_BOTTLE = 23;
*/
public static final int CHAT_MESSAGE_RUNE_BOTTLE_VALUE = 23;
/**
* CHAT_MESSAGE_INTHEBAG = 24;
*/
public static final int CHAT_MESSAGE_INTHEBAG_VALUE = 24;
/**
* CHAT_MESSAGE_SECRETSHOP = 25;
*/
public static final int CHAT_MESSAGE_SECRETSHOP_VALUE = 25;
/**
* CHAT_MESSAGE_ITEM_AUTOPURCHASED = 26;
*/
public static final int CHAT_MESSAGE_ITEM_AUTOPURCHASED_VALUE = 26;
/**
* CHAT_MESSAGE_ITEMS_COMBINED = 27;
*/
public static final int CHAT_MESSAGE_ITEMS_COMBINED_VALUE = 27;
/**
* CHAT_MESSAGE_SUPER_CREEPS = 28;
*/
public static final int CHAT_MESSAGE_SUPER_CREEPS_VALUE = 28;
/**
* CHAT_MESSAGE_CANT_USE_ACTION_ITEM = 29;
*/
public static final int CHAT_MESSAGE_CANT_USE_ACTION_ITEM_VALUE = 29;
/**
* CHAT_MESSAGE_CHARGES_EXHAUSTED = 30;
*/
public static final int CHAT_MESSAGE_CHARGES_EXHAUSTED_VALUE = 30;
/**
* CHAT_MESSAGE_CANTPAUSE = 31;
*/
public static final int CHAT_MESSAGE_CANTPAUSE_VALUE = 31;
/**
* CHAT_MESSAGE_NOPAUSESLEFT = 32;
*/
public static final int CHAT_MESSAGE_NOPAUSESLEFT_VALUE = 32;
/**
* CHAT_MESSAGE_CANTPAUSEYET = 33;
*/
public static final int CHAT_MESSAGE_CANTPAUSEYET_VALUE = 33;
/**
* CHAT_MESSAGE_PAUSED = 34;
*/
public static final int CHAT_MESSAGE_PAUSED_VALUE = 34;
/**
* CHAT_MESSAGE_UNPAUSE_COUNTDOWN = 35;
*/
public static final int CHAT_MESSAGE_UNPAUSE_COUNTDOWN_VALUE = 35;
/**
* CHAT_MESSAGE_UNPAUSED = 36;
*/
public static final int CHAT_MESSAGE_UNPAUSED_VALUE = 36;
/**
* CHAT_MESSAGE_AUTO_UNPAUSED = 37;
*/
public static final int CHAT_MESSAGE_AUTO_UNPAUSED_VALUE = 37;
/**
* CHAT_MESSAGE_YOUPAUSED = 38;
*/
public static final int CHAT_MESSAGE_YOUPAUSED_VALUE = 38;
/**
* CHAT_MESSAGE_CANTUNPAUSETEAM = 39;
*/
public static final int CHAT_MESSAGE_CANTUNPAUSETEAM_VALUE = 39;
/**
* CHAT_MESSAGE_VOICE_TEXT_BANNED = 41;
*/
public static final int CHAT_MESSAGE_VOICE_TEXT_BANNED_VALUE = 41;
/**
* CHAT_MESSAGE_SPECTATORS_WATCHING_THIS_GAME = 42;
*/
public static final int CHAT_MESSAGE_SPECTATORS_WATCHING_THIS_GAME_VALUE = 42;
/**
* CHAT_MESSAGE_REPORT_REMINDER = 43;
*/
public static final int CHAT_MESSAGE_REPORT_REMINDER_VALUE = 43;
/**
* CHAT_MESSAGE_ECON_ITEM = 44;
*/
public static final int CHAT_MESSAGE_ECON_ITEM_VALUE = 44;
/**
* CHAT_MESSAGE_TAUNT = 45;
*/
public static final int CHAT_MESSAGE_TAUNT_VALUE = 45;
/**
* CHAT_MESSAGE_RANDOM = 46;
*/
public static final int CHAT_MESSAGE_RANDOM_VALUE = 46;
/**
* CHAT_MESSAGE_RD_TURN = 47;
*/
public static final int CHAT_MESSAGE_RD_TURN_VALUE = 47;
/**
* CHAT_MESSAGE_DROP_RATE_BONUS = 49;
*/
public static final int CHAT_MESSAGE_DROP_RATE_BONUS_VALUE = 49;
/**
* CHAT_MESSAGE_NO_BATTLE_POINTS = 50;
*/
public static final int CHAT_MESSAGE_NO_BATTLE_POINTS_VALUE = 50;
/**
* CHAT_MESSAGE_DENIED_AEGIS = 51;
*/
public static final int CHAT_MESSAGE_DENIED_AEGIS_VALUE = 51;
/**
* CHAT_MESSAGE_INFORMATIONAL = 52;
*/
public static final int CHAT_MESSAGE_INFORMATIONAL_VALUE = 52;
/**
* CHAT_MESSAGE_AEGIS_STOLEN = 53;
*/
public static final int CHAT_MESSAGE_AEGIS_STOLEN_VALUE = 53;
/**
* CHAT_MESSAGE_ROSHAN_CANDY = 54;
*/
public static final int CHAT_MESSAGE_ROSHAN_CANDY_VALUE = 54;
/**
* CHAT_MESSAGE_ITEM_GIFTED = 55;
*/
public static final int CHAT_MESSAGE_ITEM_GIFTED_VALUE = 55;
/**
* CHAT_MESSAGE_HERO_KILL_WITH_GREEVIL = 56;
*/
public static final int CHAT_MESSAGE_HERO_KILL_WITH_GREEVIL_VALUE = 56;
/**
* CHAT_MESSAGE_HOLDOUT_TOWER_DESTROYED = 57;
*/
public static final int CHAT_MESSAGE_HOLDOUT_TOWER_DESTROYED_VALUE = 57;
/**
* CHAT_MESSAGE_HOLDOUT_WALL_DESTROYED = 58;
*/
public static final int CHAT_MESSAGE_HOLDOUT_WALL_DESTROYED_VALUE = 58;
/**
* CHAT_MESSAGE_HOLDOUT_WALL_FINISHED = 59;
*/
public static final int CHAT_MESSAGE_HOLDOUT_WALL_FINISHED_VALUE = 59;
/**
* CHAT_MESSAGE_PLAYER_LEFT_LIMITED_HERO = 62;
*/
public static final int CHAT_MESSAGE_PLAYER_LEFT_LIMITED_HERO_VALUE = 62;
/**
* CHAT_MESSAGE_ABANDON_LIMITED_HERO_EXPLANATION = 63;
*/
public static final int CHAT_MESSAGE_ABANDON_LIMITED_HERO_EXPLANATION_VALUE = 63;
/**
* CHAT_MESSAGE_DISCONNECT_LIMITED_HERO = 64;
*/
public static final int CHAT_MESSAGE_DISCONNECT_LIMITED_HERO_VALUE = 64;
/**
* CHAT_MESSAGE_LOW_PRIORITY_COMPLETED_EXPLANATION = 65;
*/
public static final int CHAT_MESSAGE_LOW_PRIORITY_COMPLETED_EXPLANATION_VALUE = 65;
/**
* CHAT_MESSAGE_RECRUITMENT_DROP_RATE_BONUS = 66;
*/
public static final int CHAT_MESSAGE_RECRUITMENT_DROP_RATE_BONUS_VALUE = 66;
/**
* CHAT_MESSAGE_FROSTIVUS_SHINING_BOOSTER_ACTIVE = 67;
*/
public static final int CHAT_MESSAGE_FROSTIVUS_SHINING_BOOSTER_ACTIVE_VALUE = 67;
/**
* CHAT_MESSAGE_PLAYER_LEFT_AFK = 73;
*/
public static final int CHAT_MESSAGE_PLAYER_LEFT_AFK_VALUE = 73;
/**
* CHAT_MESSAGE_PLAYER_LEFT_DISCONNECTED_TOO_LONG = 74;
*/
public static final int CHAT_MESSAGE_PLAYER_LEFT_DISCONNECTED_TOO_LONG_VALUE = 74;
/**
* CHAT_MESSAGE_PLAYER_ABANDONED = 75;
*/
public static final int CHAT_MESSAGE_PLAYER_ABANDONED_VALUE = 75;
/**
* CHAT_MESSAGE_PLAYER_ABANDONED_AFK = 76;
*/
public static final int CHAT_MESSAGE_PLAYER_ABANDONED_AFK_VALUE = 76;
/**
* CHAT_MESSAGE_PLAYER_ABANDONED_DISCONNECTED_TOO_LONG = 77;
*/
public static final int CHAT_MESSAGE_PLAYER_ABANDONED_DISCONNECTED_TOO_LONG_VALUE = 77;
/**
* CHAT_MESSAGE_WILL_NOT_BE_SCORED = 78;
*/
public static final int CHAT_MESSAGE_WILL_NOT_BE_SCORED_VALUE = 78;
/**
* CHAT_MESSAGE_WILL_NOT_BE_SCORED_RANKED = 79;
*/
public static final int CHAT_MESSAGE_WILL_NOT_BE_SCORED_RANKED_VALUE = 79;
/**
* CHAT_MESSAGE_WILL_NOT_BE_SCORED_NETWORK = 80;
*/
public static final int CHAT_MESSAGE_WILL_NOT_BE_SCORED_NETWORK_VALUE = 80;
/**
* CHAT_MESSAGE_WILL_NOT_BE_SCORED_NETWORK_RANKED = 81;
*/
public static final int CHAT_MESSAGE_WILL_NOT_BE_SCORED_NETWORK_RANKED_VALUE = 81;
/**
* CHAT_MESSAGE_CAN_QUIT_WITHOUT_ABANDON = 82;
*/
public static final int CHAT_MESSAGE_CAN_QUIT_WITHOUT_ABANDON_VALUE = 82;
/**
* CHAT_MESSAGE_RANKED_GAME_STILL_SCORED_LEAVERS_GET_LOSS = 83;
*/
public static final int CHAT_MESSAGE_RANKED_GAME_STILL_SCORED_LEAVERS_GET_LOSS_VALUE = 83;
/**
* CHAT_MESSAGE_ABANDON_RANKED_BEFORE_FIRST_BLOOD_PARTY = 84;
*/
public static final int CHAT_MESSAGE_ABANDON_RANKED_BEFORE_FIRST_BLOOD_PARTY_VALUE = 84;
/**
* CHAT_MESSAGE_COMPENDIUM_LEVEL = 85;
*/
public static final int CHAT_MESSAGE_COMPENDIUM_LEVEL_VALUE = 85;
/**
* CHAT_MESSAGE_VICTORY_PREDICTION_STREAK = 86;
*/
public static final int CHAT_MESSAGE_VICTORY_PREDICTION_STREAK_VALUE = 86;
/**
* CHAT_MESSAGE_ASSASSIN_ANNOUNCE = 87;
*/
public static final int CHAT_MESSAGE_ASSASSIN_ANNOUNCE_VALUE = 87;
/**
* CHAT_MESSAGE_ASSASSIN_SUCCESS = 88;
*/
public static final int CHAT_MESSAGE_ASSASSIN_SUCCESS_VALUE = 88;
/**
* CHAT_MESSAGE_ASSASSIN_DENIED = 89;
*/
public static final int CHAT_MESSAGE_ASSASSIN_DENIED_VALUE = 89;
/**
* CHAT_MESSAGE_VICTORY_PREDICTION_SINGLE_USER_CONFIRM = 90;
*/
public static final int CHAT_MESSAGE_VICTORY_PREDICTION_SINGLE_USER_CONFIRM_VALUE = 90;
/**
* CHAT_MESSAGE_EFFIGY_KILL = 91;
*/
public static final int CHAT_MESSAGE_EFFIGY_KILL_VALUE = 91;
/**
* CHAT_MESSAGE_VOICE_TEXT_BANNED_OVERFLOW = 92;
*/
public static final int CHAT_MESSAGE_VOICE_TEXT_BANNED_OVERFLOW_VALUE = 92;
/**
* CHAT_MESSAGE_YEAR_BEAST_KILLED = 93;
*/
public static final int CHAT_MESSAGE_YEAR_BEAST_KILLED_VALUE = 93;
/**
* CHAT_MESSAGE_PAUSE_COUNTDOWN = 94;
*/
public static final int CHAT_MESSAGE_PAUSE_COUNTDOWN_VALUE = 94;
/**
* CHAT_MESSAGE_COINS_WAGERED = 95;
*/
public static final int CHAT_MESSAGE_COINS_WAGERED_VALUE = 95;
/**
* CHAT_MESSAGE_HERO_NOMINATED_BAN = 96;
*/
public static final int CHAT_MESSAGE_HERO_NOMINATED_BAN_VALUE = 96;
/**
* CHAT_MESSAGE_HERO_BANNED = 97;
*/
public static final int CHAT_MESSAGE_HERO_BANNED_VALUE = 97;
/**
* CHAT_MESSAGE_HERO_BAN_COUNT = 98;
*/
public static final int CHAT_MESSAGE_HERO_BAN_COUNT_VALUE = 98;
/**
* CHAT_MESSAGE_RIVER_PAINTED = 99;
*/
public static final int CHAT_MESSAGE_RIVER_PAINTED_VALUE = 99;
/**
* CHAT_MESSAGE_SCAN_USED = 100;
*/
public static final int CHAT_MESSAGE_SCAN_USED_VALUE = 100;
/**
* CHAT_MESSAGE_SHRINE_KILLED = 101;
*/
public static final int CHAT_MESSAGE_SHRINE_KILLED_VALUE = 101;
/**
* CHAT_MESSAGE_WAGER_TOKEN_SPENT = 102;
*/
public static final int CHAT_MESSAGE_WAGER_TOKEN_SPENT_VALUE = 102;
/**
* CHAT_MESSAGE_RANK_WAGER = 103;
*/
public static final int CHAT_MESSAGE_RANK_WAGER_VALUE = 103;
/**
* CHAT_MESSAGE_NEW_PLAYER_REMINDER = 104;
*/
public static final int CHAT_MESSAGE_NEW_PLAYER_REMINDER_VALUE = 104;
/**
* CHAT_MESSAGE_OBSERVER_WARD_KILLED = 105;
*/
public static final int CHAT_MESSAGE_OBSERVER_WARD_KILLED_VALUE = 105;
/**
* CHAT_MESSAGE_SENTRY_WARD_KILLED = 106;
*/
public static final int CHAT_MESSAGE_SENTRY_WARD_KILLED_VALUE = 106;
/**
* CHAT_MESSAGE_ITEM_PLACED_IN_NEUTRAL_STASH = 107;
*/
public static final int CHAT_MESSAGE_ITEM_PLACED_IN_NEUTRAL_STASH_VALUE = 107;
/**
* CHAT_MESSAGE_HERO_CHOICE_INVALID = 108;
*/
public static final int CHAT_MESSAGE_HERO_CHOICE_INVALID_VALUE = 108;
/**
* CHAT_MESSAGE_BOUNTY = 109;
*/
public static final int CHAT_MESSAGE_BOUNTY_VALUE = 109;
/**
* CHAT_MESSAGE_ABILITY_DRAFT_START = 110;
*/
public static final int CHAT_MESSAGE_ABILITY_DRAFT_START_VALUE = 110;
/**
* CHAT_MESSAGE_HERO_FOUND_CANDY = 111;
*/
public static final int CHAT_MESSAGE_HERO_FOUND_CANDY_VALUE = 111;
/**
* CHAT_MESSAGE_ABILITY_DRAFT_RANDOMED = 112;
*/
public static final int CHAT_MESSAGE_ABILITY_DRAFT_RANDOMED_VALUE = 112;
/**
* CHAT_MESSAGE_PRIVATE_COACH_CONNECTED = 113;
*/
public static final int CHAT_MESSAGE_PRIVATE_COACH_CONNECTED_VALUE = 113;
public final int getNumber() { return value; }
public static DOTA_CHAT_MESSAGE valueOf(int value) {
switch (value) {
case -1: return CHAT_MESSAGE_INVALID;
case 0: return CHAT_MESSAGE_HERO_KILL;
case 1: return CHAT_MESSAGE_HERO_DENY;
case 2: return CHAT_MESSAGE_BARRACKS_KILL;
case 3: return CHAT_MESSAGE_TOWER_KILL;
case 4: return CHAT_MESSAGE_TOWER_DENY;
case 5: return CHAT_MESSAGE_FIRSTBLOOD;
case 6: return CHAT_MESSAGE_STREAK_KILL;
case 7: return CHAT_MESSAGE_BUYBACK;
case 8: return CHAT_MESSAGE_AEGIS;
case 9: return CHAT_MESSAGE_ROSHAN_KILL;
case 10: return CHAT_MESSAGE_COURIER_LOST;
case 11: return CHAT_MESSAGE_COURIER_RESPAWNED;
case 12: return CHAT_MESSAGE_GLYPH_USED;
case 13: return CHAT_MESSAGE_ITEM_PURCHASE;
case 14: return CHAT_MESSAGE_CONNECT;
case 15: return CHAT_MESSAGE_DISCONNECT;
case 16: return CHAT_MESSAGE_DISCONNECT_WAIT_FOR_RECONNECT;
case 17: return CHAT_MESSAGE_DISCONNECT_TIME_REMAINING;
case 18: return CHAT_MESSAGE_DISCONNECT_TIME_REMAINING_PLURAL;
case 19: return CHAT_MESSAGE_RECONNECT;
case 20: return CHAT_MESSAGE_PLAYER_LEFT;
case 21: return CHAT_MESSAGE_SAFE_TO_LEAVE;
case 22: return CHAT_MESSAGE_RUNE_PICKUP;
case 23: return CHAT_MESSAGE_RUNE_BOTTLE;
case 24: return CHAT_MESSAGE_INTHEBAG;
case 25: return CHAT_MESSAGE_SECRETSHOP;
case 26: return CHAT_MESSAGE_ITEM_AUTOPURCHASED;
case 27: return CHAT_MESSAGE_ITEMS_COMBINED;
case 28: return CHAT_MESSAGE_SUPER_CREEPS;
case 29: return CHAT_MESSAGE_CANT_USE_ACTION_ITEM;
case 30: return CHAT_MESSAGE_CHARGES_EXHAUSTED;
case 31: return CHAT_MESSAGE_CANTPAUSE;
case 32: return CHAT_MESSAGE_NOPAUSESLEFT;
case 33: return CHAT_MESSAGE_CANTPAUSEYET;
case 34: return CHAT_MESSAGE_PAUSED;
case 35: return CHAT_MESSAGE_UNPAUSE_COUNTDOWN;
case 36: return CHAT_MESSAGE_UNPAUSED;
case 37: return CHAT_MESSAGE_AUTO_UNPAUSED;
case 38: return CHAT_MESSAGE_YOUPAUSED;
case 39: return CHAT_MESSAGE_CANTUNPAUSETEAM;
case 41: return CHAT_MESSAGE_VOICE_TEXT_BANNED;
case 42: return CHAT_MESSAGE_SPECTATORS_WATCHING_THIS_GAME;
case 43: return CHAT_MESSAGE_REPORT_REMINDER;
case 44: return CHAT_MESSAGE_ECON_ITEM;
case 45: return CHAT_MESSAGE_TAUNT;
case 46: return CHAT_MESSAGE_RANDOM;
case 47: return CHAT_MESSAGE_RD_TURN;
case 49: return CHAT_MESSAGE_DROP_RATE_BONUS;
case 50: return CHAT_MESSAGE_NO_BATTLE_POINTS;
case 51: return CHAT_MESSAGE_DENIED_AEGIS;
case 52: return CHAT_MESSAGE_INFORMATIONAL;
case 53: return CHAT_MESSAGE_AEGIS_STOLEN;
case 54: return CHAT_MESSAGE_ROSHAN_CANDY;
case 55: return CHAT_MESSAGE_ITEM_GIFTED;
case 56: return CHAT_MESSAGE_HERO_KILL_WITH_GREEVIL;
case 57: return CHAT_MESSAGE_HOLDOUT_TOWER_DESTROYED;
case 58: return CHAT_MESSAGE_HOLDOUT_WALL_DESTROYED;
case 59: return CHAT_MESSAGE_HOLDOUT_WALL_FINISHED;
case 62: return CHAT_MESSAGE_PLAYER_LEFT_LIMITED_HERO;
case 63: return CHAT_MESSAGE_ABANDON_LIMITED_HERO_EXPLANATION;
case 64: return CHAT_MESSAGE_DISCONNECT_LIMITED_HERO;
case 65: return CHAT_MESSAGE_LOW_PRIORITY_COMPLETED_EXPLANATION;
case 66: return CHAT_MESSAGE_RECRUITMENT_DROP_RATE_BONUS;
case 67: return CHAT_MESSAGE_FROSTIVUS_SHINING_BOOSTER_ACTIVE;
case 73: return CHAT_MESSAGE_PLAYER_LEFT_AFK;
case 74: return CHAT_MESSAGE_PLAYER_LEFT_DISCONNECTED_TOO_LONG;
case 75: return CHAT_MESSAGE_PLAYER_ABANDONED;
case 76: return CHAT_MESSAGE_PLAYER_ABANDONED_AFK;
case 77: return CHAT_MESSAGE_PLAYER_ABANDONED_DISCONNECTED_TOO_LONG;
case 78: return CHAT_MESSAGE_WILL_NOT_BE_SCORED;
case 79: return CHAT_MESSAGE_WILL_NOT_BE_SCORED_RANKED;
case 80: return CHAT_MESSAGE_WILL_NOT_BE_SCORED_NETWORK;
case 81: return CHAT_MESSAGE_WILL_NOT_BE_SCORED_NETWORK_RANKED;
case 82: return CHAT_MESSAGE_CAN_QUIT_WITHOUT_ABANDON;
case 83: return CHAT_MESSAGE_RANKED_GAME_STILL_SCORED_LEAVERS_GET_LOSS;
case 84: return CHAT_MESSAGE_ABANDON_RANKED_BEFORE_FIRST_BLOOD_PARTY;
case 85: return CHAT_MESSAGE_COMPENDIUM_LEVEL;
case 86: return CHAT_MESSAGE_VICTORY_PREDICTION_STREAK;
case 87: return CHAT_MESSAGE_ASSASSIN_ANNOUNCE;
case 88: return CHAT_MESSAGE_ASSASSIN_SUCCESS;
case 89: return CHAT_MESSAGE_ASSASSIN_DENIED;
case 90: return CHAT_MESSAGE_VICTORY_PREDICTION_SINGLE_USER_CONFIRM;
case 91: return CHAT_MESSAGE_EFFIGY_KILL;
case 92: return CHAT_MESSAGE_VOICE_TEXT_BANNED_OVERFLOW;
case 93: return CHAT_MESSAGE_YEAR_BEAST_KILLED;
case 94: return CHAT_MESSAGE_PAUSE_COUNTDOWN;
case 95: return CHAT_MESSAGE_COINS_WAGERED;
case 96: return CHAT_MESSAGE_HERO_NOMINATED_BAN;
case 97: return CHAT_MESSAGE_HERO_BANNED;
case 98: return CHAT_MESSAGE_HERO_BAN_COUNT;
case 99: return CHAT_MESSAGE_RIVER_PAINTED;
case 100: return CHAT_MESSAGE_SCAN_USED;
case 101: return CHAT_MESSAGE_SHRINE_KILLED;
case 102: return CHAT_MESSAGE_WAGER_TOKEN_SPENT;
case 103: return CHAT_MESSAGE_RANK_WAGER;
case 104: return CHAT_MESSAGE_NEW_PLAYER_REMINDER;
case 105: return CHAT_MESSAGE_OBSERVER_WARD_KILLED;
case 106: return CHAT_MESSAGE_SENTRY_WARD_KILLED;
case 107: return CHAT_MESSAGE_ITEM_PLACED_IN_NEUTRAL_STASH;
case 108: return CHAT_MESSAGE_HERO_CHOICE_INVALID;
case 109: return CHAT_MESSAGE_BOUNTY;
case 110: return CHAT_MESSAGE_ABILITY_DRAFT_START;
case 111: return CHAT_MESSAGE_HERO_FOUND_CANDY;
case 112: return CHAT_MESSAGE_ABILITY_DRAFT_RANDOMED;
case 113: return CHAT_MESSAGE_PRIVATE_COACH_CONNECTED;
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_CHAT_MESSAGE findValueByNumber(int number) {
return DOTA_CHAT_MESSAGE.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.common.proto.DotaUserMessages.getDescriptor().getEnumTypes().get(1);
}
private static final DOTA_CHAT_MESSAGE[] VALUES = values();
public static DOTA_CHAT_MESSAGE 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_CHAT_MESSAGE(int index, int value) {
this.index = index;
this.value = value;
}
// @@protoc_insertion_point(enum_scope:DOTA_CHAT_MESSAGE)
}
/**
* Protobuf enum {@code DOTA_NO_BATTLE_POINTS_REASONS}
*/
public enum DOTA_NO_BATTLE_POINTS_REASONS
implements com.google.protobuf.ProtocolMessageEnum {
/**
* NO_BATTLE_POINTS_WRONG_LOBBY_TYPE = 1;
*/
NO_BATTLE_POINTS_WRONG_LOBBY_TYPE(0, 1),
/**
* NO_BATTLE_POINTS_PRACTICE_BOTS = 2;
*/
NO_BATTLE_POINTS_PRACTICE_BOTS(1, 2),
/**
* NO_BATTLE_POINTS_CHEATS_ENABLED = 3;
*/
NO_BATTLE_POINTS_CHEATS_ENABLED(2, 3),
/**
* NO_BATTLE_POINTS_LOW_PRIORITY = 4;
*/
NO_BATTLE_POINTS_LOW_PRIORITY(3, 4),
;
/**
* NO_BATTLE_POINTS_WRONG_LOBBY_TYPE = 1;
*/
public static final int NO_BATTLE_POINTS_WRONG_LOBBY_TYPE_VALUE = 1;
/**
* NO_BATTLE_POINTS_PRACTICE_BOTS = 2;
*/
public static final int NO_BATTLE_POINTS_PRACTICE_BOTS_VALUE = 2;
/**
* NO_BATTLE_POINTS_CHEATS_ENABLED = 3;
*/
public static final int NO_BATTLE_POINTS_CHEATS_ENABLED_VALUE = 3;
/**
* NO_BATTLE_POINTS_LOW_PRIORITY = 4;
*/
public static final int NO_BATTLE_POINTS_LOW_PRIORITY_VALUE = 4;
public final int getNumber() { return value; }
public static DOTA_NO_BATTLE_POINTS_REASONS valueOf(int value) {
switch (value) {
case 1: return NO_BATTLE_POINTS_WRONG_LOBBY_TYPE;
case 2: return NO_BATTLE_POINTS_PRACTICE_BOTS;
case 3: return NO_BATTLE_POINTS_CHEATS_ENABLED;
case 4: return NO_BATTLE_POINTS_LOW_PRIORITY;
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_NO_BATTLE_POINTS_REASONS findValueByNumber(int number) {
return DOTA_NO_BATTLE_POINTS_REASONS.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.common.proto.DotaUserMessages.getDescriptor().getEnumTypes().get(2);
}
private static final DOTA_NO_BATTLE_POINTS_REASONS[] VALUES = values();
public static DOTA_NO_BATTLE_POINTS_REASONS 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_NO_BATTLE_POINTS_REASONS(int index, int value) {
this.index = index;
this.value = value;
}
// @@protoc_insertion_point(enum_scope:DOTA_NO_BATTLE_POINTS_REASONS)
}
/**
* Protobuf enum {@code DOTA_REPLAY_STATE_EVENT}
*/
public enum DOTA_REPLAY_STATE_EVENT
implements com.google.protobuf.ProtocolMessageEnum {
/**
* DOTA_REPLAY_STATE_EVENT_GAME_START = 1;
*/
DOTA_REPLAY_STATE_EVENT_GAME_START(0, 1),
/**
* DOTA_REPLAY_STATE_EVENT_STARTING_HORN = 2;
*/
DOTA_REPLAY_STATE_EVENT_STARTING_HORN(1, 2),
/**
* DOTA_REPLAY_STATE_EVENT_FIRST_BLOOD = 3;
*/
DOTA_REPLAY_STATE_EVENT_FIRST_BLOOD(2, 3),
/**
* DOTA_REPLAY_STATE_EVENT_SHOWCASE = 4;
*/
DOTA_REPLAY_STATE_EVENT_SHOWCASE(3, 4),
/**
* DOTA_REPLAY_STATE_EVENT_POST_GAME = 5;
*/
DOTA_REPLAY_STATE_EVENT_POST_GAME(4, 5),
/**
* DOTA_REPLAY_STATE_EVENT_WAIT_FOR_MAP = 6;
*/
DOTA_REPLAY_STATE_EVENT_WAIT_FOR_MAP(5, 6),
;
/**
* DOTA_REPLAY_STATE_EVENT_GAME_START = 1;
*/
public static final int DOTA_REPLAY_STATE_EVENT_GAME_START_VALUE = 1;
/**
* DOTA_REPLAY_STATE_EVENT_STARTING_HORN = 2;
*/
public static final int DOTA_REPLAY_STATE_EVENT_STARTING_HORN_VALUE = 2;
/**
* DOTA_REPLAY_STATE_EVENT_FIRST_BLOOD = 3;
*/
public static final int DOTA_REPLAY_STATE_EVENT_FIRST_BLOOD_VALUE = 3;
/**
* DOTA_REPLAY_STATE_EVENT_SHOWCASE = 4;
*/
public static final int DOTA_REPLAY_STATE_EVENT_SHOWCASE_VALUE = 4;
/**
* DOTA_REPLAY_STATE_EVENT_POST_GAME = 5;
*/
public static final int DOTA_REPLAY_STATE_EVENT_POST_GAME_VALUE = 5;
/**
* DOTA_REPLAY_STATE_EVENT_WAIT_FOR_MAP = 6;
*/
public static final int DOTA_REPLAY_STATE_EVENT_WAIT_FOR_MAP_VALUE = 6;
public final int getNumber() { return value; }
public static DOTA_REPLAY_STATE_EVENT valueOf(int value) {
switch (value) {
case 1: return DOTA_REPLAY_STATE_EVENT_GAME_START;
case 2: return DOTA_REPLAY_STATE_EVENT_STARTING_HORN;
case 3: return DOTA_REPLAY_STATE_EVENT_FIRST_BLOOD;
case 4: return DOTA_REPLAY_STATE_EVENT_SHOWCASE;
case 5: return DOTA_REPLAY_STATE_EVENT_POST_GAME;
case 6: return DOTA_REPLAY_STATE_EVENT_WAIT_FOR_MAP;
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_REPLAY_STATE_EVENT findValueByNumber(int number) {
return DOTA_REPLAY_STATE_EVENT.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.common.proto.DotaUserMessages.getDescriptor().getEnumTypes().get(3);
}
private static final DOTA_REPLAY_STATE_EVENT[] VALUES = values();
public static DOTA_REPLAY_STATE_EVENT 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_REPLAY_STATE_EVENT(int index, int value) {
this.index = index;
this.value = value;
}
// @@protoc_insertion_point(enum_scope:DOTA_REPLAY_STATE_EVENT)
}
/**
* Protobuf enum {@code DOTA_CHAT_INFORMATIONAL}
*/
public enum DOTA_CHAT_INFORMATIONAL
implements com.google.protobuf.ProtocolMessageEnum {
/**
* INFO_COOP_BATTLE_POINTS_RULES = 1;
*/
INFO_COOP_BATTLE_POINTS_RULES(0, 1),
/**
* INFO_FROSTIVUS_ABANDON_REMINDER = 2;
*/
INFO_FROSTIVUS_ABANDON_REMINDER(1, 2),
/**
* INFO_RANKED_REMINDER = 3;
*/
INFO_RANKED_REMINDER(2, 3),
/**
* INFO_COOP_LOW_PRIORITY_PASSIVE_REMINDER = 4;
*/
INFO_COOP_LOW_PRIORITY_PASSIVE_REMINDER(3, 4),
/**
* INFO_CUSTOM_GAME_PENALTY_REMINDER = 5;
*/
INFO_CUSTOM_GAME_PENALTY_REMINDER(4, 5),
;
/**
* INFO_COOP_BATTLE_POINTS_RULES = 1;
*/
public static final int INFO_COOP_BATTLE_POINTS_RULES_VALUE = 1;
/**
* INFO_FROSTIVUS_ABANDON_REMINDER = 2;
*/
public static final int INFO_FROSTIVUS_ABANDON_REMINDER_VALUE = 2;
/**
* INFO_RANKED_REMINDER = 3;
*/
public static final int INFO_RANKED_REMINDER_VALUE = 3;
/**
* INFO_COOP_LOW_PRIORITY_PASSIVE_REMINDER = 4;
*/
public static final int INFO_COOP_LOW_PRIORITY_PASSIVE_REMINDER_VALUE = 4;
/**
* INFO_CUSTOM_GAME_PENALTY_REMINDER = 5;
*/
public static final int INFO_CUSTOM_GAME_PENALTY_REMINDER_VALUE = 5;
public final int getNumber() { return value; }
public static DOTA_CHAT_INFORMATIONAL valueOf(int value) {
switch (value) {
case 1: return INFO_COOP_BATTLE_POINTS_RULES;
case 2: return INFO_FROSTIVUS_ABANDON_REMINDER;
case 3: return INFO_RANKED_REMINDER;
case 4: return INFO_COOP_LOW_PRIORITY_PASSIVE_REMINDER;
case 5: return INFO_CUSTOM_GAME_PENALTY_REMINDER;
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_CHAT_INFORMATIONAL findValueByNumber(int number) {
return DOTA_CHAT_INFORMATIONAL.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.common.proto.DotaUserMessages.getDescriptor().getEnumTypes().get(4);
}
private static final DOTA_CHAT_INFORMATIONAL[] VALUES = values();
public static DOTA_CHAT_INFORMATIONAL 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_CHAT_INFORMATIONAL(int index, int value) {
this.index = index;
this.value = value;
}
// @@protoc_insertion_point(enum_scope:DOTA_CHAT_INFORMATIONAL)
}
/**
* Protobuf enum {@code DOTA_ABILITY_PING_TYPE}
*/
public enum DOTA_ABILITY_PING_TYPE
implements com.google.protobuf.ProtocolMessageEnum {
/**
* ABILITY_PING_READY = 1;
*/
ABILITY_PING_READY(0, 1),
/**
* ABILITY_PING_MANA = 2;
*/
ABILITY_PING_MANA(1, 2),
/**
* ABILITY_PING_COOLDOWN = 3;
*/
ABILITY_PING_COOLDOWN(2, 3),
/**
* ABILITY_PING_ENEMY = 4;
*/
ABILITY_PING_ENEMY(3, 4),
/**
* ABILITY_PING_UNLEARNED = 5;
*/
ABILITY_PING_UNLEARNED(4, 5),
/**
* ABILITY_PING_INBACKPACK = 6;
*/
ABILITY_PING_INBACKPACK(5, 6),
/**
* ABILITY_PING_INSTASH = 7;
*/
ABILITY_PING_INSTASH(6, 7),
/**
* ABILITY_PING_ONCOURIER = 8;
*/
ABILITY_PING_ONCOURIER(7, 8),
/**
* ABILITY_PING_ALLY = 9;
*/
ABILITY_PING_ALLY(8, 9),
/**
* ABILITY_PING_LEARN_READY = 10;
*/
ABILITY_PING_LEARN_READY(9, 10),
/**
* ABILITY_PING_WILL_LEARN = 11;
*/
ABILITY_PING_WILL_LEARN(10, 11),
/**
* ABILITY_PING_FUTURE_LEARN = 12;
*/
ABILITY_PING_FUTURE_LEARN(11, 12),
/**
* ABILITY_PING_NEUTRAL_OFFER = 13;
*/
ABILITY_PING_NEUTRAL_OFFER(12, 13),
/**
* ABILITY_PING_NEUTRAL_REQUEST = 14;
*/
ABILITY_PING_NEUTRAL_REQUEST(13, 14),
/**
* ABILITY_PING_NEUTRAL_EQUIP = 15;
*/
ABILITY_PING_NEUTRAL_EQUIP(14, 15),
;
/**
* ABILITY_PING_READY = 1;
*/
public static final int ABILITY_PING_READY_VALUE = 1;
/**
* ABILITY_PING_MANA = 2;
*/
public static final int ABILITY_PING_MANA_VALUE = 2;
/**
* ABILITY_PING_COOLDOWN = 3;
*/
public static final int ABILITY_PING_COOLDOWN_VALUE = 3;
/**
* ABILITY_PING_ENEMY = 4;
*/
public static final int ABILITY_PING_ENEMY_VALUE = 4;
/**
* ABILITY_PING_UNLEARNED = 5;
*/
public static final int ABILITY_PING_UNLEARNED_VALUE = 5;
/**
* ABILITY_PING_INBACKPACK = 6;
*/
public static final int ABILITY_PING_INBACKPACK_VALUE = 6;
/**
* ABILITY_PING_INSTASH = 7;
*/
public static final int ABILITY_PING_INSTASH_VALUE = 7;
/**
* ABILITY_PING_ONCOURIER = 8;
*/
public static final int ABILITY_PING_ONCOURIER_VALUE = 8;
/**
* ABILITY_PING_ALLY = 9;
*/
public static final int ABILITY_PING_ALLY_VALUE = 9;
/**
* ABILITY_PING_LEARN_READY = 10;
*/
public static final int ABILITY_PING_LEARN_READY_VALUE = 10;
/**
* ABILITY_PING_WILL_LEARN = 11;
*/
public static final int ABILITY_PING_WILL_LEARN_VALUE = 11;
/**
* ABILITY_PING_FUTURE_LEARN = 12;
*/
public static final int ABILITY_PING_FUTURE_LEARN_VALUE = 12;
/**
* ABILITY_PING_NEUTRAL_OFFER = 13;
*/
public static final int ABILITY_PING_NEUTRAL_OFFER_VALUE = 13;
/**
* ABILITY_PING_NEUTRAL_REQUEST = 14;
*/
public static final int ABILITY_PING_NEUTRAL_REQUEST_VALUE = 14;
/**
* ABILITY_PING_NEUTRAL_EQUIP = 15;
*/
public static final int ABILITY_PING_NEUTRAL_EQUIP_VALUE = 15;
public final int getNumber() { return value; }
public static DOTA_ABILITY_PING_TYPE valueOf(int value) {
switch (value) {
case 1: return ABILITY_PING_READY;
case 2: return ABILITY_PING_MANA;
case 3: return ABILITY_PING_COOLDOWN;
case 4: return ABILITY_PING_ENEMY;
case 5: return ABILITY_PING_UNLEARNED;
case 6: return ABILITY_PING_INBACKPACK;
case 7: return ABILITY_PING_INSTASH;
case 8: return ABILITY_PING_ONCOURIER;
case 9: return ABILITY_PING_ALLY;
case 10: return ABILITY_PING_LEARN_READY;
case 11: return ABILITY_PING_WILL_LEARN;
case 12: return ABILITY_PING_FUTURE_LEARN;
case 13: return ABILITY_PING_NEUTRAL_OFFER;
case 14: return ABILITY_PING_NEUTRAL_REQUEST;
case 15: return ABILITY_PING_NEUTRAL_EQUIP;
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_ABILITY_PING_TYPE findValueByNumber(int number) {
return DOTA_ABILITY_PING_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.common.proto.DotaUserMessages.getDescriptor().getEnumTypes().get(5);
}
private static final DOTA_ABILITY_PING_TYPE[] VALUES = values();
public static DOTA_ABILITY_PING_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_ABILITY_PING_TYPE(int index, int value) {
this.index = index;
this.value = value;
}
// @@protoc_insertion_point(enum_scope:DOTA_ABILITY_PING_TYPE)
}
/**
* Protobuf enum {@code EDotaEntityMessages}
*/
public enum EDotaEntityMessages
implements com.google.protobuf.ProtocolMessageEnum {
/**
* DOTA_UNIT_SPEECH = 0;
*/
DOTA_UNIT_SPEECH(0, 0),
/**
* DOTA_UNIT_SPEECH_MUTE = 1;
*/
DOTA_UNIT_SPEECH_MUTE(1, 1),
/**
* DOTA_UNIT_ADD_GESTURE = 2;
*/
DOTA_UNIT_ADD_GESTURE(2, 2),
/**
* DOTA_UNIT_REMOVE_GESTURE = 3;
*/
DOTA_UNIT_REMOVE_GESTURE(3, 3),
/**
* DOTA_UNIT_REMOVE_ALL_GESTURES = 4;
*/
DOTA_UNIT_REMOVE_ALL_GESTURES(4, 4),
/**
* DOTA_UNIT_FADE_GESTURE = 6;
*/
DOTA_UNIT_FADE_GESTURE(5, 6),
/**
* DOTA_UNIT_SPEECH_CLIENTSIDE_RULES = 7;
*/
DOTA_UNIT_SPEECH_CLIENTSIDE_RULES(6, 7),
;
/**
* DOTA_UNIT_SPEECH = 0;
*/
public static final int DOTA_UNIT_SPEECH_VALUE = 0;
/**
* DOTA_UNIT_SPEECH_MUTE = 1;
*/
public static final int DOTA_UNIT_SPEECH_MUTE_VALUE = 1;
/**
* DOTA_UNIT_ADD_GESTURE = 2;
*/
public static final int DOTA_UNIT_ADD_GESTURE_VALUE = 2;
/**
* DOTA_UNIT_REMOVE_GESTURE = 3;
*/
public static final int DOTA_UNIT_REMOVE_GESTURE_VALUE = 3;
/**
* DOTA_UNIT_REMOVE_ALL_GESTURES = 4;
*/
public static final int DOTA_UNIT_REMOVE_ALL_GESTURES_VALUE = 4;
/**
* DOTA_UNIT_FADE_GESTURE = 6;
*/
public static final int DOTA_UNIT_FADE_GESTURE_VALUE = 6;
/**
* DOTA_UNIT_SPEECH_CLIENTSIDE_RULES = 7;
*/
public static final int DOTA_UNIT_SPEECH_CLIENTSIDE_RULES_VALUE = 7;
public final int getNumber() { return value; }
public static EDotaEntityMessages valueOf(int value) {
switch (value) {
case 0: return DOTA_UNIT_SPEECH;
case 1: return DOTA_UNIT_SPEECH_MUTE;
case 2: return DOTA_UNIT_ADD_GESTURE;
case 3: return DOTA_UNIT_REMOVE_GESTURE;
case 4: return DOTA_UNIT_REMOVE_ALL_GESTURES;
case 6: return DOTA_UNIT_FADE_GESTURE;
case 7: return DOTA_UNIT_SPEECH_CLIENTSIDE_RULES;
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 EDotaEntityMessages findValueByNumber(int number) {
return EDotaEntityMessages.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.common.proto.DotaUserMessages.getDescriptor().getEnumTypes().get(6);
}
private static final EDotaEntityMessages[] VALUES = values();
public static EDotaEntityMessages 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 EDotaEntityMessages(int index, int value) {
this.index = index;
this.value = value;
}
// @@protoc_insertion_point(enum_scope:EDotaEntityMessages)
}
/**
* Protobuf enum {@code DOTA_PARTICLE_MESSAGE}
*/
public enum DOTA_PARTICLE_MESSAGE
implements com.google.protobuf.ProtocolMessageEnum {
/**
* DOTA_PARTICLE_MANAGER_EVENT_CREATE = 0;
*/
DOTA_PARTICLE_MANAGER_EVENT_CREATE(0, 0),
/**
* DOTA_PARTICLE_MANAGER_EVENT_UPDATE = 1;
*/
DOTA_PARTICLE_MANAGER_EVENT_UPDATE(1, 1),
/**
* DOTA_PARTICLE_MANAGER_EVENT_UPDATE_FORWARD = 2;
*/
DOTA_PARTICLE_MANAGER_EVENT_UPDATE_FORWARD(2, 2),
/**
* DOTA_PARTICLE_MANAGER_EVENT_UPDATE_ORIENTATION = 3;
*/
DOTA_PARTICLE_MANAGER_EVENT_UPDATE_ORIENTATION(3, 3),
/**
* DOTA_PARTICLE_MANAGER_EVENT_UPDATE_FALLBACK = 4;
*/
DOTA_PARTICLE_MANAGER_EVENT_UPDATE_FALLBACK(4, 4),
/**
* DOTA_PARTICLE_MANAGER_EVENT_UPDATE_ENT = 5;
*/
DOTA_PARTICLE_MANAGER_EVENT_UPDATE_ENT(5, 5),
/**
* DOTA_PARTICLE_MANAGER_EVENT_UPDATE_OFFSET = 6;
*/
DOTA_PARTICLE_MANAGER_EVENT_UPDATE_OFFSET(6, 6),
/**
* DOTA_PARTICLE_MANAGER_EVENT_DESTROY = 7;
*/
DOTA_PARTICLE_MANAGER_EVENT_DESTROY(7, 7),
/**
* DOTA_PARTICLE_MANAGER_EVENT_DESTROY_INVOLVING = 8;
*/
DOTA_PARTICLE_MANAGER_EVENT_DESTROY_INVOLVING(8, 8),
/**
* DOTA_PARTICLE_MANAGER_EVENT_RELEASE = 9;
*/
DOTA_PARTICLE_MANAGER_EVENT_RELEASE(9, 9),
/**
* DOTA_PARTICLE_MANAGER_EVENT_LATENCY = 10;
*/
DOTA_PARTICLE_MANAGER_EVENT_LATENCY(10, 10),
/**
* DOTA_PARTICLE_MANAGER_EVENT_SHOULD_DRAW = 11;
*/
DOTA_PARTICLE_MANAGER_EVENT_SHOULD_DRAW(11, 11),
/**
* DOTA_PARTICLE_MANAGER_EVENT_FROZEN = 12;
*/
DOTA_PARTICLE_MANAGER_EVENT_FROZEN(12, 12),
/**
* DOTA_PARTICLE_MANAGER_EVENT_CHANGE_CONTROL_POINT_ATTACHMENT = 13;
*/
DOTA_PARTICLE_MANAGER_EVENT_CHANGE_CONTROL_POINT_ATTACHMENT(13, 13),
/**
* DOTA_PARTICLE_MANAGER_EVENT_UPDATE_ENTITY_POSITION = 14;
*/
DOTA_PARTICLE_MANAGER_EVENT_UPDATE_ENTITY_POSITION(14, 14),
/**
* DOTA_PARTICLE_MANAGER_EVENT_SET_FOW_PROPERTIES = 15;
*/
DOTA_PARTICLE_MANAGER_EVENT_SET_FOW_PROPERTIES(15, 15),
/**
* DOTA_PARTICLE_MANAGER_EVENT_SET_TEXT = 16;
*/
DOTA_PARTICLE_MANAGER_EVENT_SET_TEXT(16, 16),
/**
* DOTA_PARTICLE_MANAGER_EVENT_SET_SHOULD_CHECK_FOW = 17;
*/
DOTA_PARTICLE_MANAGER_EVENT_SET_SHOULD_CHECK_FOW(17, 17),
/**
* DOTA_PARTICLE_MANAGER_EVENT_SET_CONTROL_POINT_MODEL = 18;
*/
DOTA_PARTICLE_MANAGER_EVENT_SET_CONTROL_POINT_MODEL(18, 18),
/**
* DOTA_PARTICLE_MANAGER_EVENT_SET_CONTROL_POINT_SNAPSHOT = 19;
*/
DOTA_PARTICLE_MANAGER_EVENT_SET_CONTROL_POINT_SNAPSHOT(19, 19),
/**
* DOTA_PARTICLE_MANAGER_EVENT_SET_TEXTURE_ATTRIBUTE = 20;
*/
DOTA_PARTICLE_MANAGER_EVENT_SET_TEXTURE_ATTRIBUTE(20, 20),
/**
* DOTA_PARTICLE_MANAGER_EVENT_SET_SCENE_OBJECT_GENERIC_FLAG = 21;
*/
DOTA_PARTICLE_MANAGER_EVENT_SET_SCENE_OBJECT_GENERIC_FLAG(21, 21),
/**
* DOTA_PARTICLE_MANAGER_EVENT_SET_SCENE_OBJECT_TINT_AND_DESAT = 22;
*/
DOTA_PARTICLE_MANAGER_EVENT_SET_SCENE_OBJECT_TINT_AND_DESAT(22, 22),
;
/**
* DOTA_PARTICLE_MANAGER_EVENT_CREATE = 0;
*/
public static final int DOTA_PARTICLE_MANAGER_EVENT_CREATE_VALUE = 0;
/**
* DOTA_PARTICLE_MANAGER_EVENT_UPDATE = 1;
*/
public static final int DOTA_PARTICLE_MANAGER_EVENT_UPDATE_VALUE = 1;
/**
* DOTA_PARTICLE_MANAGER_EVENT_UPDATE_FORWARD = 2;
*/
public static final int DOTA_PARTICLE_MANAGER_EVENT_UPDATE_FORWARD_VALUE = 2;
/**
* DOTA_PARTICLE_MANAGER_EVENT_UPDATE_ORIENTATION = 3;
*/
public static final int DOTA_PARTICLE_MANAGER_EVENT_UPDATE_ORIENTATION_VALUE = 3;
/**
* DOTA_PARTICLE_MANAGER_EVENT_UPDATE_FALLBACK = 4;
*/
public static final int DOTA_PARTICLE_MANAGER_EVENT_UPDATE_FALLBACK_VALUE = 4;
/**
* DOTA_PARTICLE_MANAGER_EVENT_UPDATE_ENT = 5;
*/
public static final int DOTA_PARTICLE_MANAGER_EVENT_UPDATE_ENT_VALUE = 5;
/**
* DOTA_PARTICLE_MANAGER_EVENT_UPDATE_OFFSET = 6;
*/
public static final int DOTA_PARTICLE_MANAGER_EVENT_UPDATE_OFFSET_VALUE = 6;
/**
* DOTA_PARTICLE_MANAGER_EVENT_DESTROY = 7;
*/
public static final int DOTA_PARTICLE_MANAGER_EVENT_DESTROY_VALUE = 7;
/**
* DOTA_PARTICLE_MANAGER_EVENT_DESTROY_INVOLVING = 8;
*/
public static final int DOTA_PARTICLE_MANAGER_EVENT_DESTROY_INVOLVING_VALUE = 8;
/**
* DOTA_PARTICLE_MANAGER_EVENT_RELEASE = 9;
*/
public static final int DOTA_PARTICLE_MANAGER_EVENT_RELEASE_VALUE = 9;
/**
* DOTA_PARTICLE_MANAGER_EVENT_LATENCY = 10;
*/
public static final int DOTA_PARTICLE_MANAGER_EVENT_LATENCY_VALUE = 10;
/**
* DOTA_PARTICLE_MANAGER_EVENT_SHOULD_DRAW = 11;
*/
public static final int DOTA_PARTICLE_MANAGER_EVENT_SHOULD_DRAW_VALUE = 11;
/**
* DOTA_PARTICLE_MANAGER_EVENT_FROZEN = 12;
*/
public static final int DOTA_PARTICLE_MANAGER_EVENT_FROZEN_VALUE = 12;
/**
* DOTA_PARTICLE_MANAGER_EVENT_CHANGE_CONTROL_POINT_ATTACHMENT = 13;
*/
public static final int DOTA_PARTICLE_MANAGER_EVENT_CHANGE_CONTROL_POINT_ATTACHMENT_VALUE = 13;
/**
* DOTA_PARTICLE_MANAGER_EVENT_UPDATE_ENTITY_POSITION = 14;
*/
public static final int DOTA_PARTICLE_MANAGER_EVENT_UPDATE_ENTITY_POSITION_VALUE = 14;
/**
* DOTA_PARTICLE_MANAGER_EVENT_SET_FOW_PROPERTIES = 15;
*/
public static final int DOTA_PARTICLE_MANAGER_EVENT_SET_FOW_PROPERTIES_VALUE = 15;
/**
* DOTA_PARTICLE_MANAGER_EVENT_SET_TEXT = 16;
*/
public static final int DOTA_PARTICLE_MANAGER_EVENT_SET_TEXT_VALUE = 16;
/**
* DOTA_PARTICLE_MANAGER_EVENT_SET_SHOULD_CHECK_FOW = 17;
*/
public static final int DOTA_PARTICLE_MANAGER_EVENT_SET_SHOULD_CHECK_FOW_VALUE = 17;
/**
* DOTA_PARTICLE_MANAGER_EVENT_SET_CONTROL_POINT_MODEL = 18;
*/
public static final int DOTA_PARTICLE_MANAGER_EVENT_SET_CONTROL_POINT_MODEL_VALUE = 18;
/**
* DOTA_PARTICLE_MANAGER_EVENT_SET_CONTROL_POINT_SNAPSHOT = 19;
*/
public static final int DOTA_PARTICLE_MANAGER_EVENT_SET_CONTROL_POINT_SNAPSHOT_VALUE = 19;
/**
* DOTA_PARTICLE_MANAGER_EVENT_SET_TEXTURE_ATTRIBUTE = 20;
*/
public static final int DOTA_PARTICLE_MANAGER_EVENT_SET_TEXTURE_ATTRIBUTE_VALUE = 20;
/**
* DOTA_PARTICLE_MANAGER_EVENT_SET_SCENE_OBJECT_GENERIC_FLAG = 21;
*/
public static final int DOTA_PARTICLE_MANAGER_EVENT_SET_SCENE_OBJECT_GENERIC_FLAG_VALUE = 21;
/**
* DOTA_PARTICLE_MANAGER_EVENT_SET_SCENE_OBJECT_TINT_AND_DESAT = 22;
*/
public static final int DOTA_PARTICLE_MANAGER_EVENT_SET_SCENE_OBJECT_TINT_AND_DESAT_VALUE = 22;
public final int getNumber() { return value; }
public static DOTA_PARTICLE_MESSAGE valueOf(int value) {
switch (value) {
case 0: return DOTA_PARTICLE_MANAGER_EVENT_CREATE;
case 1: return DOTA_PARTICLE_MANAGER_EVENT_UPDATE;
case 2: return DOTA_PARTICLE_MANAGER_EVENT_UPDATE_FORWARD;
case 3: return DOTA_PARTICLE_MANAGER_EVENT_UPDATE_ORIENTATION;
case 4: return DOTA_PARTICLE_MANAGER_EVENT_UPDATE_FALLBACK;
case 5: return DOTA_PARTICLE_MANAGER_EVENT_UPDATE_ENT;
case 6: return DOTA_PARTICLE_MANAGER_EVENT_UPDATE_OFFSET;
case 7: return DOTA_PARTICLE_MANAGER_EVENT_DESTROY;
case 8: return DOTA_PARTICLE_MANAGER_EVENT_DESTROY_INVOLVING;
case 9: return DOTA_PARTICLE_MANAGER_EVENT_RELEASE;
case 10: return DOTA_PARTICLE_MANAGER_EVENT_LATENCY;
case 11: return DOTA_PARTICLE_MANAGER_EVENT_SHOULD_DRAW;
case 12: return DOTA_PARTICLE_MANAGER_EVENT_FROZEN;
case 13: return DOTA_PARTICLE_MANAGER_EVENT_CHANGE_CONTROL_POINT_ATTACHMENT;
case 14: return DOTA_PARTICLE_MANAGER_EVENT_UPDATE_ENTITY_POSITION;
case 15: return DOTA_PARTICLE_MANAGER_EVENT_SET_FOW_PROPERTIES;
case 16: return DOTA_PARTICLE_MANAGER_EVENT_SET_TEXT;
case 17: return DOTA_PARTICLE_MANAGER_EVENT_SET_SHOULD_CHECK_FOW;
case 18: return DOTA_PARTICLE_MANAGER_EVENT_SET_CONTROL_POINT_MODEL;
case 19: return DOTA_PARTICLE_MANAGER_EVENT_SET_CONTROL_POINT_SNAPSHOT;
case 20: return DOTA_PARTICLE_MANAGER_EVENT_SET_TEXTURE_ATTRIBUTE;
case 21: return DOTA_PARTICLE_MANAGER_EVENT_SET_SCENE_OBJECT_GENERIC_FLAG;
case 22: return DOTA_PARTICLE_MANAGER_EVENT_SET_SCENE_OBJECT_TINT_AND_DESAT;
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_PARTICLE_MESSAGE findValueByNumber(int number) {
return DOTA_PARTICLE_MESSAGE.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.common.proto.DotaUserMessages.getDescriptor().getEnumTypes().get(7);
}
private static final DOTA_PARTICLE_MESSAGE[] VALUES = values();
public static DOTA_PARTICLE_MESSAGE 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_PARTICLE_MESSAGE(int index, int value) {
this.index = index;
this.value = value;
}
// @@protoc_insertion_point(enum_scope:DOTA_PARTICLE_MESSAGE)
}
/**
* Protobuf enum {@code DOTA_OVERHEAD_ALERT}
*/
public enum DOTA_OVERHEAD_ALERT
implements com.google.protobuf.ProtocolMessageEnum {
/**
* OVERHEAD_ALERT_GOLD = 0;
*/
OVERHEAD_ALERT_GOLD(0, 0),
/**
* OVERHEAD_ALERT_DENY = 1;
*/
OVERHEAD_ALERT_DENY(1, 1),
/**
* OVERHEAD_ALERT_CRITICAL = 2;
*/
OVERHEAD_ALERT_CRITICAL(2, 2),
/**
* OVERHEAD_ALERT_XP = 3;
*/
OVERHEAD_ALERT_XP(3, 3),
/**
* OVERHEAD_ALERT_BONUS_SPELL_DAMAGE = 4;
*/
OVERHEAD_ALERT_BONUS_SPELL_DAMAGE(4, 4),
/**
* OVERHEAD_ALERT_MISS = 5;
*/
OVERHEAD_ALERT_MISS(5, 5),
/**
* OVERHEAD_ALERT_DAMAGE = 6;
*/
OVERHEAD_ALERT_DAMAGE(6, 6),
/**
* OVERHEAD_ALERT_EVADE = 7;
*/
OVERHEAD_ALERT_EVADE(7, 7),
/**
* OVERHEAD_ALERT_BLOCK = 8;
*/
OVERHEAD_ALERT_BLOCK(8, 8),
/**
* OVERHEAD_ALERT_BONUS_POISON_DAMAGE = 9;
*/
OVERHEAD_ALERT_BONUS_POISON_DAMAGE(9, 9),
/**
* OVERHEAD_ALERT_HEAL = 10;
*/
OVERHEAD_ALERT_HEAL(10, 10),
/**
* OVERHEAD_ALERT_MANA_ADD = 11;
*/
OVERHEAD_ALERT_MANA_ADD(11, 11),
/**
* OVERHEAD_ALERT_MANA_LOSS = 12;
*/
OVERHEAD_ALERT_MANA_LOSS(12, 12),
/**
* OVERHEAD_ALERT_LAST_HIT_EARLY = 13;
*/
OVERHEAD_ALERT_LAST_HIT_EARLY(13, 13),
/**
* OVERHEAD_ALERT_LAST_HIT_CLOSE = 14;
*/
OVERHEAD_ALERT_LAST_HIT_CLOSE(14, 14),
/**
* OVERHEAD_ALERT_LAST_HIT_MISS = 15;
*/
OVERHEAD_ALERT_LAST_HIT_MISS(15, 15),
/**
* OVERHEAD_ALERT_MAGICAL_BLOCK = 16;
*/
OVERHEAD_ALERT_MAGICAL_BLOCK(16, 16),
/**
* OVERHEAD_ALERT_INCOMING_DAMAGE = 17;
*/
OVERHEAD_ALERT_INCOMING_DAMAGE(17, 17),
/**
* OVERHEAD_ALERT_OUTGOING_DAMAGE = 18;
*/
OVERHEAD_ALERT_OUTGOING_DAMAGE(18, 18),
/**
* OVERHEAD_ALERT_DISABLE_RESIST = 19;
*/
OVERHEAD_ALERT_DISABLE_RESIST(19, 19),
/**
* OVERHEAD_ALERT_DEATH = 20;
*/
OVERHEAD_ALERT_DEATH(20, 20),
/**
* OVERHEAD_ALERT_BLOCKED = 21;
*/
OVERHEAD_ALERT_BLOCKED(21, 21),
/**
* OVERHEAD_ALERT_ITEM_RECEIVED = 22;
*/
OVERHEAD_ALERT_ITEM_RECEIVED(22, 22),
/**
* OVERHEAD_ALERT_SHARD = 23;
*/
OVERHEAD_ALERT_SHARD(23, 23),
/**
* OVERHEAD_ALERT_DEADLY_BLOW = 24;
*/
OVERHEAD_ALERT_DEADLY_BLOW(24, 24),
;
/**
* OVERHEAD_ALERT_GOLD = 0;
*/
public static final int OVERHEAD_ALERT_GOLD_VALUE = 0;
/**
* OVERHEAD_ALERT_DENY = 1;
*/
public static final int OVERHEAD_ALERT_DENY_VALUE = 1;
/**
* OVERHEAD_ALERT_CRITICAL = 2;
*/
public static final int OVERHEAD_ALERT_CRITICAL_VALUE = 2;
/**
* OVERHEAD_ALERT_XP = 3;
*/
public static final int OVERHEAD_ALERT_XP_VALUE = 3;
/**
* OVERHEAD_ALERT_BONUS_SPELL_DAMAGE = 4;
*/
public static final int OVERHEAD_ALERT_BONUS_SPELL_DAMAGE_VALUE = 4;
/**
* OVERHEAD_ALERT_MISS = 5;
*/
public static final int OVERHEAD_ALERT_MISS_VALUE = 5;
/**
* OVERHEAD_ALERT_DAMAGE = 6;
*/
public static final int OVERHEAD_ALERT_DAMAGE_VALUE = 6;
/**
* OVERHEAD_ALERT_EVADE = 7;
*/
public static final int OVERHEAD_ALERT_EVADE_VALUE = 7;
/**
* OVERHEAD_ALERT_BLOCK = 8;
*/
public static final int OVERHEAD_ALERT_BLOCK_VALUE = 8;
/**
* OVERHEAD_ALERT_BONUS_POISON_DAMAGE = 9;
*/
public static final int OVERHEAD_ALERT_BONUS_POISON_DAMAGE_VALUE = 9;
/**
* OVERHEAD_ALERT_HEAL = 10;
*/
public static final int OVERHEAD_ALERT_HEAL_VALUE = 10;
/**
* OVERHEAD_ALERT_MANA_ADD = 11;
*/
public static final int OVERHEAD_ALERT_MANA_ADD_VALUE = 11;
/**
* OVERHEAD_ALERT_MANA_LOSS = 12;
*/
public static final int OVERHEAD_ALERT_MANA_LOSS_VALUE = 12;
/**
* OVERHEAD_ALERT_LAST_HIT_EARLY = 13;
*/
public static final int OVERHEAD_ALERT_LAST_HIT_EARLY_VALUE = 13;
/**
* OVERHEAD_ALERT_LAST_HIT_CLOSE = 14;
*/
public static final int OVERHEAD_ALERT_LAST_HIT_CLOSE_VALUE = 14;
/**
* OVERHEAD_ALERT_LAST_HIT_MISS = 15;
*/
public static final int OVERHEAD_ALERT_LAST_HIT_MISS_VALUE = 15;
/**
* OVERHEAD_ALERT_MAGICAL_BLOCK = 16;
*/
public static final int OVERHEAD_ALERT_MAGICAL_BLOCK_VALUE = 16;
/**
* OVERHEAD_ALERT_INCOMING_DAMAGE = 17;
*/
public static final int OVERHEAD_ALERT_INCOMING_DAMAGE_VALUE = 17;
/**
* OVERHEAD_ALERT_OUTGOING_DAMAGE = 18;
*/
public static final int OVERHEAD_ALERT_OUTGOING_DAMAGE_VALUE = 18;
/**
* OVERHEAD_ALERT_DISABLE_RESIST = 19;
*/
public static final int OVERHEAD_ALERT_DISABLE_RESIST_VALUE = 19;
/**
* OVERHEAD_ALERT_DEATH = 20;
*/
public static final int OVERHEAD_ALERT_DEATH_VALUE = 20;
/**
* OVERHEAD_ALERT_BLOCKED = 21;
*/
public static final int OVERHEAD_ALERT_BLOCKED_VALUE = 21;
/**
* OVERHEAD_ALERT_ITEM_RECEIVED = 22;
*/
public static final int OVERHEAD_ALERT_ITEM_RECEIVED_VALUE = 22;
/**
* OVERHEAD_ALERT_SHARD = 23;
*/
public static final int OVERHEAD_ALERT_SHARD_VALUE = 23;
/**
* OVERHEAD_ALERT_DEADLY_BLOW = 24;
*/
public static final int OVERHEAD_ALERT_DEADLY_BLOW_VALUE = 24;
public final int getNumber() { return value; }
public static DOTA_OVERHEAD_ALERT valueOf(int value) {
switch (value) {
case 0: return OVERHEAD_ALERT_GOLD;
case 1: return OVERHEAD_ALERT_DENY;
case 2: return OVERHEAD_ALERT_CRITICAL;
case 3: return OVERHEAD_ALERT_XP;
case 4: return OVERHEAD_ALERT_BONUS_SPELL_DAMAGE;
case 5: return OVERHEAD_ALERT_MISS;
case 6: return OVERHEAD_ALERT_DAMAGE;
case 7: return OVERHEAD_ALERT_EVADE;
case 8: return OVERHEAD_ALERT_BLOCK;
case 9: return OVERHEAD_ALERT_BONUS_POISON_DAMAGE;
case 10: return OVERHEAD_ALERT_HEAL;
case 11: return OVERHEAD_ALERT_MANA_ADD;
case 12: return OVERHEAD_ALERT_MANA_LOSS;
case 13: return OVERHEAD_ALERT_LAST_HIT_EARLY;
case 14: return OVERHEAD_ALERT_LAST_HIT_CLOSE;
case 15: return OVERHEAD_ALERT_LAST_HIT_MISS;
case 16: return OVERHEAD_ALERT_MAGICAL_BLOCK;
case 17: return OVERHEAD_ALERT_INCOMING_DAMAGE;
case 18: return OVERHEAD_ALERT_OUTGOING_DAMAGE;
case 19: return OVERHEAD_ALERT_DISABLE_RESIST;
case 20: return OVERHEAD_ALERT_DEATH;
case 21: return OVERHEAD_ALERT_BLOCKED;
case 22: return OVERHEAD_ALERT_ITEM_RECEIVED;
case 23: return OVERHEAD_ALERT_SHARD;
case 24: return OVERHEAD_ALERT_DEADLY_BLOW;
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_OVERHEAD_ALERT findValueByNumber(int number) {
return DOTA_OVERHEAD_ALERT.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.common.proto.DotaUserMessages.getDescriptor().getEnumTypes().get(8);
}
private static final DOTA_OVERHEAD_ALERT[] VALUES = values();
public static DOTA_OVERHEAD_ALERT 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_OVERHEAD_ALERT(int index, int value) {
this.index = index;
this.value = value;
}
// @@protoc_insertion_point(enum_scope:DOTA_OVERHEAD_ALERT)
}
/**
* Protobuf enum {@code DOTA_ROSHAN_PHASE}
*/
public enum DOTA_ROSHAN_PHASE
implements com.google.protobuf.ProtocolMessageEnum {
/**
* k_SRSP_ROSHAN_ALIVE = 0;
*/
k_SRSP_ROSHAN_ALIVE(0, 0),
/**
* k_SRSP_ROSHAN_BASE_TIMER = 1;
*/
k_SRSP_ROSHAN_BASE_TIMER(1, 1),
/**
* k_SRSP_ROSHAN_VISIBLE_TIMER = 2;
*/
k_SRSP_ROSHAN_VISIBLE_TIMER(2, 2),
;
/**
* k_SRSP_ROSHAN_ALIVE = 0;
*/
public static final int k_SRSP_ROSHAN_ALIVE_VALUE = 0;
/**
* k_SRSP_ROSHAN_BASE_TIMER = 1;
*/
public static final int k_SRSP_ROSHAN_BASE_TIMER_VALUE = 1;
/**
* k_SRSP_ROSHAN_VISIBLE_TIMER = 2;
*/
public static final int k_SRSP_ROSHAN_VISIBLE_TIMER_VALUE = 2;
public final int getNumber() { return value; }
public static DOTA_ROSHAN_PHASE valueOf(int value) {
switch (value) {
case 0: return k_SRSP_ROSHAN_ALIVE;
case 1: return k_SRSP_ROSHAN_BASE_TIMER;
case 2: return k_SRSP_ROSHAN_VISIBLE_TIMER;
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_ROSHAN_PHASE findValueByNumber(int number) {
return DOTA_ROSHAN_PHASE.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.common.proto.DotaUserMessages.getDescriptor().getEnumTypes().get(9);
}
private static final DOTA_ROSHAN_PHASE[] VALUES = values();
public static DOTA_ROSHAN_PHASE 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_ROSHAN_PHASE(int index, int value) {
this.index = index;
this.value = value;
}
// @@protoc_insertion_point(enum_scope:DOTA_ROSHAN_PHASE)
}
/**
* Protobuf enum {@code DOTA_POSITION_CATEGORY}
*/
public enum DOTA_POSITION_CATEGORY
implements com.google.protobuf.ProtocolMessageEnum {
/**
* DOTA_POSITION_NONE = 0;
*/
DOTA_POSITION_NONE(0, 0),
/**
* DOTA_POSITION_BOTTOM_LANE = 1;
*/
DOTA_POSITION_BOTTOM_LANE(1, 1),
/**
* DOTA_POSITION_MID_LANE = 2;
*/
DOTA_POSITION_MID_LANE(2, 2),
/**
* DOTA_POSITION_TOP_LANE = 3;
*/
DOTA_POSITION_TOP_LANE(3, 3),
/**
* DOTA_POSITION_RADIANT_JUNGLE = 4;
*/
DOTA_POSITION_RADIANT_JUNGLE(4, 4),
/**
* DOTA_POSITION_DIRE_JUNGLE = 5;
*/
DOTA_POSITION_DIRE_JUNGLE(5, 5),
/**
* DOTA_POSITION_RADIANT_ANCIENTS = 6;
*/
DOTA_POSITION_RADIANT_ANCIENTS(6, 6),
/**
* DOTA_POSITION_DIRE_ANCIENTS = 7;
*/
DOTA_POSITION_DIRE_ANCIENTS(7, 7),
/**
* DOTA_POSITION_RADIANT_SECRET_SHOP = 8;
*/
DOTA_POSITION_RADIANT_SECRET_SHOP(8, 8),
/**
* DOTA_POSITION_DIRE_SECRET_SHOP = 9;
*/
DOTA_POSITION_DIRE_SECRET_SHOP(9, 9),
/**
* DOTA_POSITION_RIVER = 10;
*/
DOTA_POSITION_RIVER(10, 10),
/**
* DOTA_POSITION_ROSHAN_PIT = 11;
*/
DOTA_POSITION_ROSHAN_PIT(11, 11),
/**
* DOTA_POSITION_RADIANT_BASE = 12;
*/
DOTA_POSITION_RADIANT_BASE(12, 12),
/**
* DOTA_POSITION_DIRE_BASE = 13;
*/
DOTA_POSITION_DIRE_BASE(13, 13),
/**
* DOTA_POSITION_FOUNTAIN = 14;
*/
DOTA_POSITION_FOUNTAIN(14, 14),
/**
* DOTA_POSITION_OTHER = 15;
*/
DOTA_POSITION_OTHER(15, 15),
;
/**
* DOTA_POSITION_NONE = 0;
*/
public static final int DOTA_POSITION_NONE_VALUE = 0;
/**
* DOTA_POSITION_BOTTOM_LANE = 1;
*/
public static final int DOTA_POSITION_BOTTOM_LANE_VALUE = 1;
/**
* DOTA_POSITION_MID_LANE = 2;
*/
public static final int DOTA_POSITION_MID_LANE_VALUE = 2;
/**
* DOTA_POSITION_TOP_LANE = 3;
*/
public static final int DOTA_POSITION_TOP_LANE_VALUE = 3;
/**
* DOTA_POSITION_RADIANT_JUNGLE = 4;
*/
public static final int DOTA_POSITION_RADIANT_JUNGLE_VALUE = 4;
/**
* DOTA_POSITION_DIRE_JUNGLE = 5;
*/
public static final int DOTA_POSITION_DIRE_JUNGLE_VALUE = 5;
/**
* DOTA_POSITION_RADIANT_ANCIENTS = 6;
*/
public static final int DOTA_POSITION_RADIANT_ANCIENTS_VALUE = 6;
/**
* DOTA_POSITION_DIRE_ANCIENTS = 7;
*/
public static final int DOTA_POSITION_DIRE_ANCIENTS_VALUE = 7;
/**
* DOTA_POSITION_RADIANT_SECRET_SHOP = 8;
*/
public static final int DOTA_POSITION_RADIANT_SECRET_SHOP_VALUE = 8;
/**
* DOTA_POSITION_DIRE_SECRET_SHOP = 9;
*/
public static final int DOTA_POSITION_DIRE_SECRET_SHOP_VALUE = 9;
/**
* DOTA_POSITION_RIVER = 10;
*/
public static final int DOTA_POSITION_RIVER_VALUE = 10;
/**
* DOTA_POSITION_ROSHAN_PIT = 11;
*/
public static final int DOTA_POSITION_ROSHAN_PIT_VALUE = 11;
/**
* DOTA_POSITION_RADIANT_BASE = 12;
*/
public static final int DOTA_POSITION_RADIANT_BASE_VALUE = 12;
/**
* DOTA_POSITION_DIRE_BASE = 13;
*/
public static final int DOTA_POSITION_DIRE_BASE_VALUE = 13;
/**
* DOTA_POSITION_FOUNTAIN = 14;
*/
public static final int DOTA_POSITION_FOUNTAIN_VALUE = 14;
/**
* DOTA_POSITION_OTHER = 15;
*/
public static final int DOTA_POSITION_OTHER_VALUE = 15;
public final int getNumber() { return value; }
public static DOTA_POSITION_CATEGORY valueOf(int value) {
switch (value) {
case 0: return DOTA_POSITION_NONE;
case 1: return DOTA_POSITION_BOTTOM_LANE;
case 2: return DOTA_POSITION_MID_LANE;
case 3: return DOTA_POSITION_TOP_LANE;
case 4: return DOTA_POSITION_RADIANT_JUNGLE;
case 5: return DOTA_POSITION_DIRE_JUNGLE;
case 6: return DOTA_POSITION_RADIANT_ANCIENTS;
case 7: return DOTA_POSITION_DIRE_ANCIENTS;
case 8: return DOTA_POSITION_RADIANT_SECRET_SHOP;
case 9: return DOTA_POSITION_DIRE_SECRET_SHOP;
case 10: return DOTA_POSITION_RIVER;
case 11: return DOTA_POSITION_ROSHAN_PIT;
case 12: return DOTA_POSITION_RADIANT_BASE;
case 13: return DOTA_POSITION_DIRE_BASE;
case 14: return DOTA_POSITION_FOUNTAIN;
case 15: return DOTA_POSITION_OTHER;
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_POSITION_CATEGORY findValueByNumber(int number) {
return DOTA_POSITION_CATEGORY.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.common.proto.DotaUserMessages.getDescriptor().getEnumTypes().get(10);
}
private static final DOTA_POSITION_CATEGORY[] VALUES = values();
public static DOTA_POSITION_CATEGORY 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_POSITION_CATEGORY(int index, int value) {
this.index = index;
this.value = value;
}
// @@protoc_insertion_point(enum_scope:DOTA_POSITION_CATEGORY)
}
/**
* Protobuf enum {@code DOTA_ABILITY_TARGET_TYPE}
*/
public enum DOTA_ABILITY_TARGET_TYPE
implements com.google.protobuf.ProtocolMessageEnum {
/**
* DOTA_ABILITY_TARGET_NONE = 0;
*/
DOTA_ABILITY_TARGET_NONE(0, 0),
/**
* DOTA_ABILITY_TARGET_SELF = 1;
*/
DOTA_ABILITY_TARGET_SELF(1, 1),
/**
* DOTA_ABILITY_TARGET_ALLY_HERO = 2;
*/
DOTA_ABILITY_TARGET_ALLY_HERO(2, 2),
/**
* DOTA_ABILITY_TARGET_ALLY_CREEP = 3;
*/
DOTA_ABILITY_TARGET_ALLY_CREEP(3, 3),
/**
* DOTA_ABILITY_TARGET_ENEMY_HERO = 4;
*/
DOTA_ABILITY_TARGET_ENEMY_HERO(4, 4),
/**
* DOTA_ABILITY_TARGET_ENEMY_CREEP = 5;
*/
DOTA_ABILITY_TARGET_ENEMY_CREEP(5, 5),
;
/**
* DOTA_ABILITY_TARGET_NONE = 0;
*/
public static final int DOTA_ABILITY_TARGET_NONE_VALUE = 0;
/**
* DOTA_ABILITY_TARGET_SELF = 1;
*/
public static final int DOTA_ABILITY_TARGET_SELF_VALUE = 1;
/**
* DOTA_ABILITY_TARGET_ALLY_HERO = 2;
*/
public static final int DOTA_ABILITY_TARGET_ALLY_HERO_VALUE = 2;
/**
* DOTA_ABILITY_TARGET_ALLY_CREEP = 3;
*/
public static final int DOTA_ABILITY_TARGET_ALLY_CREEP_VALUE = 3;
/**
* DOTA_ABILITY_TARGET_ENEMY_HERO = 4;
*/
public static final int DOTA_ABILITY_TARGET_ENEMY_HERO_VALUE = 4;
/**
* DOTA_ABILITY_TARGET_ENEMY_CREEP = 5;
*/
public static final int DOTA_ABILITY_TARGET_ENEMY_CREEP_VALUE = 5;
public final int getNumber() { return value; }
public static DOTA_ABILITY_TARGET_TYPE valueOf(int value) {
switch (value) {
case 0: return DOTA_ABILITY_TARGET_NONE;
case 1: return DOTA_ABILITY_TARGET_SELF;
case 2: return DOTA_ABILITY_TARGET_ALLY_HERO;
case 3: return DOTA_ABILITY_TARGET_ALLY_CREEP;
case 4: return DOTA_ABILITY_TARGET_ENEMY_HERO;
case 5: return DOTA_ABILITY_TARGET_ENEMY_CREEP;
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_ABILITY_TARGET_TYPE findValueByNumber(int number) {
return DOTA_ABILITY_TARGET_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.common.proto.DotaUserMessages.getDescriptor().getEnumTypes().get(11);
}
private static final DOTA_ABILITY_TARGET_TYPE[] VALUES = values();
public static DOTA_ABILITY_TARGET_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_ABILITY_TARGET_TYPE(int index, int value) {
this.index = index;
this.value = value;
}
// @@protoc_insertion_point(enum_scope:DOTA_ABILITY_TARGET_TYPE)
}
/**
* Protobuf enum {@code EHeroStatType}
*/
public enum EHeroStatType
implements com.google.protobuf.ProtocolMessageEnum {
/**
* k_EHeroStatType_None = 0;
*/
k_EHeroStatType_None(0, 0),
/**
* k_EHeroStatType_AxeTotalDamage = 2000;
*/
k_EHeroStatType_AxeTotalDamage(1, 2000),
/**
* k_EHeroStatType_BattleHungerDamage = 2001;
*/
k_EHeroStatType_BattleHungerDamage(2, 2001),
/**
* k_EHeroStatType_CounterHelixDamage = 2002;
*/
k_EHeroStatType_CounterHelixDamage(3, 2002),
/**
* k_EHeroStatType_CullingBladeDamage = 2003;
*/
k_EHeroStatType_CullingBladeDamage(4, 2003),
/**
* k_EHeroStatType_BerserkersCallCastCount = 2004;
*/
k_EHeroStatType_BerserkersCallCastCount(5, 2004),
/**
* k_EHeroStatType_BerserkersCallHeroesHitAverage = 2005;
*/
k_EHeroStatType_BerserkersCallHeroesHitAverage(6, 2005),
/**
* k_EHeroStatType_BerserkersCallOtherUnitsHit = 2006;
*/
k_EHeroStatType_BerserkersCallOtherUnitsHit(7, 2006),
/**
* k_EHeroStatType_BerserkersCallHeroAttacksTaken = 2007;
*/
k_EHeroStatType_BerserkersCallHeroAttacksTaken(8, 2007),
/**
* k_EHeroStatType_BerserkersCallOtherAttacksTaken = 2008;
*/
k_EHeroStatType_BerserkersCallOtherAttacksTaken(9, 2008),
/**
* k_EHeroStatType_BattleHungerCastCount = 2009;
*/
k_EHeroStatType_BattleHungerCastCount(10, 2009),
/**
* k_EHeroStatType_BattleHungerPotentialDuration = 2010;
*/
k_EHeroStatType_BattleHungerPotentialDuration(11, 2010),
/**
* k_EHeroStatType_BattleHungerAverageDuration = 2011;
*/
k_EHeroStatType_BattleHungerAverageDuration(12, 2011),
/**
* k_EHeroStatType_CounterHelixProcCount = 2012;
*/
k_EHeroStatType_CounterHelixProcCount(13, 2012),
/**
* k_EHeroStatType_CounterHelixHeroProcCount = 2013;
*/
k_EHeroStatType_CounterHelixHeroProcCount(14, 2013),
/**
* k_EHeroStatType_CounterHelixHeroesHitAverage = 2014;
*/
k_EHeroStatType_CounterHelixHeroesHitAverage(15, 2014),
/**
* k_EHeroStatType_CounterHelixOtherUnitsHitCount = 2015;
*/
k_EHeroStatType_CounterHelixOtherUnitsHitCount(16, 2015),
/**
* k_EHeroStatType_CullingBladeCastCount = 2016;
*/
k_EHeroStatType_CullingBladeCastCount(17, 2016),
/**
* k_EHeroStatType_CullingBladeKillCount = 2017;
*/
k_EHeroStatType_CullingBladeKillCount(18, 2017),
/**
* k_EHeroStatType_CullingBladeAverageHealthCulled = 2018;
*/
k_EHeroStatType_CullingBladeAverageHealthCulled(19, 2018),
/**
* k_EHeroStatType_CullingBladeAverageDamageAvailable = 2019;
*/
k_EHeroStatType_CullingBladeAverageDamageAvailable(20, 2019),
/**
* k_EHeroStatType_CullingBladeHeroBuffAverage = 2020;
*/
k_EHeroStatType_CullingBladeHeroBuffAverage(21, 2020),
;
/**
* k_EHeroStatType_None = 0;
*/
public static final int k_EHeroStatType_None_VALUE = 0;
/**
* k_EHeroStatType_AxeTotalDamage = 2000;
*/
public static final int k_EHeroStatType_AxeTotalDamage_VALUE = 2000;
/**
* k_EHeroStatType_BattleHungerDamage = 2001;
*/
public static final int k_EHeroStatType_BattleHungerDamage_VALUE = 2001;
/**
* k_EHeroStatType_CounterHelixDamage = 2002;
*/
public static final int k_EHeroStatType_CounterHelixDamage_VALUE = 2002;
/**
* k_EHeroStatType_CullingBladeDamage = 2003;
*/
public static final int k_EHeroStatType_CullingBladeDamage_VALUE = 2003;
/**
* k_EHeroStatType_BerserkersCallCastCount = 2004;
*/
public static final int k_EHeroStatType_BerserkersCallCastCount_VALUE = 2004;
/**
* k_EHeroStatType_BerserkersCallHeroesHitAverage = 2005;
*/
public static final int k_EHeroStatType_BerserkersCallHeroesHitAverage_VALUE = 2005;
/**
* k_EHeroStatType_BerserkersCallOtherUnitsHit = 2006;
*/
public static final int k_EHeroStatType_BerserkersCallOtherUnitsHit_VALUE = 2006;
/**
* k_EHeroStatType_BerserkersCallHeroAttacksTaken = 2007;
*/
public static final int k_EHeroStatType_BerserkersCallHeroAttacksTaken_VALUE = 2007;
/**
* k_EHeroStatType_BerserkersCallOtherAttacksTaken = 2008;
*/
public static final int k_EHeroStatType_BerserkersCallOtherAttacksTaken_VALUE = 2008;
/**
* k_EHeroStatType_BattleHungerCastCount = 2009;
*/
public static final int k_EHeroStatType_BattleHungerCastCount_VALUE = 2009;
/**
* k_EHeroStatType_BattleHungerPotentialDuration = 2010;
*/
public static final int k_EHeroStatType_BattleHungerPotentialDuration_VALUE = 2010;
/**
* k_EHeroStatType_BattleHungerAverageDuration = 2011;
*/
public static final int k_EHeroStatType_BattleHungerAverageDuration_VALUE = 2011;
/**
* k_EHeroStatType_CounterHelixProcCount = 2012;
*/
public static final int k_EHeroStatType_CounterHelixProcCount_VALUE = 2012;
/**
* k_EHeroStatType_CounterHelixHeroProcCount = 2013;
*/
public static final int k_EHeroStatType_CounterHelixHeroProcCount_VALUE = 2013;
/**
* k_EHeroStatType_CounterHelixHeroesHitAverage = 2014;
*/
public static final int k_EHeroStatType_CounterHelixHeroesHitAverage_VALUE = 2014;
/**
* k_EHeroStatType_CounterHelixOtherUnitsHitCount = 2015;
*/
public static final int k_EHeroStatType_CounterHelixOtherUnitsHitCount_VALUE = 2015;
/**
* k_EHeroStatType_CullingBladeCastCount = 2016;
*/
public static final int k_EHeroStatType_CullingBladeCastCount_VALUE = 2016;
/**
* k_EHeroStatType_CullingBladeKillCount = 2017;
*/
public static final int k_EHeroStatType_CullingBladeKillCount_VALUE = 2017;
/**
* k_EHeroStatType_CullingBladeAverageHealthCulled = 2018;
*/
public static final int k_EHeroStatType_CullingBladeAverageHealthCulled_VALUE = 2018;
/**
* k_EHeroStatType_CullingBladeAverageDamageAvailable = 2019;
*/
public static final int k_EHeroStatType_CullingBladeAverageDamageAvailable_VALUE = 2019;
/**
* k_EHeroStatType_CullingBladeHeroBuffAverage = 2020;
*/
public static final int k_EHeroStatType_CullingBladeHeroBuffAverage_VALUE = 2020;
public final int getNumber() { return value; }
public static EHeroStatType valueOf(int value) {
switch (value) {
case 0: return k_EHeroStatType_None;
case 2000: return k_EHeroStatType_AxeTotalDamage;
case 2001: return k_EHeroStatType_BattleHungerDamage;
case 2002: return k_EHeroStatType_CounterHelixDamage;
case 2003: return k_EHeroStatType_CullingBladeDamage;
case 2004: return k_EHeroStatType_BerserkersCallCastCount;
case 2005: return k_EHeroStatType_BerserkersCallHeroesHitAverage;
case 2006: return k_EHeroStatType_BerserkersCallOtherUnitsHit;
case 2007: return k_EHeroStatType_BerserkersCallHeroAttacksTaken;
case 2008: return k_EHeroStatType_BerserkersCallOtherAttacksTaken;
case 2009: return k_EHeroStatType_BattleHungerCastCount;
case 2010: return k_EHeroStatType_BattleHungerPotentialDuration;
case 2011: return k_EHeroStatType_BattleHungerAverageDuration;
case 2012: return k_EHeroStatType_CounterHelixProcCount;
case 2013: return k_EHeroStatType_CounterHelixHeroProcCount;
case 2014: return k_EHeroStatType_CounterHelixHeroesHitAverage;
case 2015: return k_EHeroStatType_CounterHelixOtherUnitsHitCount;
case 2016: return k_EHeroStatType_CullingBladeCastCount;
case 2017: return k_EHeroStatType_CullingBladeKillCount;
case 2018: return k_EHeroStatType_CullingBladeAverageHealthCulled;
case 2019: return k_EHeroStatType_CullingBladeAverageDamageAvailable;
case 2020: return k_EHeroStatType_CullingBladeHeroBuffAverage;
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 EHeroStatType findValueByNumber(int number) {
return EHeroStatType.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.common.proto.DotaUserMessages.getDescriptor().getEnumTypes().get(12);
}
private static final EHeroStatType[] VALUES = values();
public static EHeroStatType 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 EHeroStatType(int index, int value) {
this.index = index;
this.value = value;
}
// @@protoc_insertion_point(enum_scope:EHeroStatType)
}
/**
* Protobuf enum {@code EPlayerVoiceListenState}
*/
public enum EPlayerVoiceListenState
implements com.google.protobuf.ProtocolMessageEnum {
/**
* kPVLS_None = 0;
*/
kPVLS_None(0, 0),
/**
* kPVLS_DeniedChatBanned = 1;
*/
kPVLS_DeniedChatBanned(1, 1),
/**
* kPVLS_DeniedPartner = 2;
*/
kPVLS_DeniedPartner(2, 2),
/**
* kPVLS_DeniedHLTVTalkerNotSpectator = 3;
*/
kPVLS_DeniedHLTVTalkerNotSpectator(3, 3),
/**
* kPVLS_DeniedHLTVNoTalkerPlayerID = 4;
*/
kPVLS_DeniedHLTVNoTalkerPlayerID(4, 4),
/**
* kPVLS_DeniedHLTVTalkerNotBroadcaster = 5;
*/
kPVLS_DeniedHLTVTalkerNotBroadcaster(5, 5),
/**
* kPVLS_DeniedTeamSpectator = 6;
*/
kPVLS_DeniedTeamSpectator(6, 6),
/**
* kPVLS_DeniedStudent = 8;
*/
kPVLS_DeniedStudent(7, 8),
/**
* kPVLS_DeniedPrivateCoach = 9;
*/
kPVLS_DeniedPrivateCoach(8, 9),
/**
* kPVLS_Denied = 64;
*/
kPVLS_Denied(9, 64),
/**
* kPVLS_AllowHLTVTalkerIsBroadcaster = 65;
*/
kPVLS_AllowHLTVTalkerIsBroadcaster(10, 65),
/**
* kPVLS_AllowCoBroadcaster = 66;
*/
kPVLS_AllowCoBroadcaster(11, 66),
/**
* kPVLS_AllowAllChat = 67;
*/
kPVLS_AllowAllChat(12, 67),
/**
* kPVLS_AllowStudentToCoach = 68;
*/
kPVLS_AllowStudentToCoach(13, 68),
/**
* kPVLS_AllowFellowStudent = 69;
*/
kPVLS_AllowFellowStudent(14, 69),
/**
* kPVLS_AllowTalkerIsCoach = 70;
*/
kPVLS_AllowTalkerIsCoach(15, 70),
/**
* kPVLS_AllowCoachHearTeam = 71;
*/
kPVLS_AllowCoachHearTeam(16, 71),
/**
* kPVLS_AllowSameTeam = 72;
*/
kPVLS_AllowSameTeam(17, 72),
/**
* kPVLS_AllowShowcase = 73;
*/
kPVLS_AllowShowcase(18, 73),
/**
* kPVLS_AllowPrivateCoach = 74;
*/
kPVLS_AllowPrivateCoach(19, 74),
;
/**
* kPVLS_None = 0;
*/
public static final int kPVLS_None_VALUE = 0;
/**
* kPVLS_DeniedChatBanned = 1;
*/
public static final int kPVLS_DeniedChatBanned_VALUE = 1;
/**
* kPVLS_DeniedPartner = 2;
*/
public static final int kPVLS_DeniedPartner_VALUE = 2;
/**
* kPVLS_DeniedHLTVTalkerNotSpectator = 3;
*/
public static final int kPVLS_DeniedHLTVTalkerNotSpectator_VALUE = 3;
/**
* kPVLS_DeniedHLTVNoTalkerPlayerID = 4;
*/
public static final int kPVLS_DeniedHLTVNoTalkerPlayerID_VALUE = 4;
/**
* kPVLS_DeniedHLTVTalkerNotBroadcaster = 5;
*/
public static final int kPVLS_DeniedHLTVTalkerNotBroadcaster_VALUE = 5;
/**
* kPVLS_DeniedTeamSpectator = 6;
*/
public static final int kPVLS_DeniedTeamSpectator_VALUE = 6;
/**
* kPVLS_DeniedStudent = 8;
*/
public static final int kPVLS_DeniedStudent_VALUE = 8;
/**
* kPVLS_DeniedPrivateCoach = 9;
*/
public static final int kPVLS_DeniedPrivateCoach_VALUE = 9;
/**
* kPVLS_Denied = 64;
*/
public static final int kPVLS_Denied_VALUE = 64;
/**
* kPVLS_AllowHLTVTalkerIsBroadcaster = 65;
*/
public static final int kPVLS_AllowHLTVTalkerIsBroadcaster_VALUE = 65;
/**
* kPVLS_AllowCoBroadcaster = 66;
*/
public static final int kPVLS_AllowCoBroadcaster_VALUE = 66;
/**
* kPVLS_AllowAllChat = 67;
*/
public static final int kPVLS_AllowAllChat_VALUE = 67;
/**
* kPVLS_AllowStudentToCoach = 68;
*/
public static final int kPVLS_AllowStudentToCoach_VALUE = 68;
/**
* kPVLS_AllowFellowStudent = 69;
*/
public static final int kPVLS_AllowFellowStudent_VALUE = 69;
/**
* kPVLS_AllowTalkerIsCoach = 70;
*/
public static final int kPVLS_AllowTalkerIsCoach_VALUE = 70;
/**
* kPVLS_AllowCoachHearTeam = 71;
*/
public static final int kPVLS_AllowCoachHearTeam_VALUE = 71;
/**
* kPVLS_AllowSameTeam = 72;
*/
public static final int kPVLS_AllowSameTeam_VALUE = 72;
/**
* kPVLS_AllowShowcase = 73;
*/
public static final int kPVLS_AllowShowcase_VALUE = 73;
/**
* kPVLS_AllowPrivateCoach = 74;
*/
public static final int kPVLS_AllowPrivateCoach_VALUE = 74;
public final int getNumber() { return value; }
public static EPlayerVoiceListenState valueOf(int value) {
switch (value) {
case 0: return kPVLS_None;
case 1: return kPVLS_DeniedChatBanned;
case 2: return kPVLS_DeniedPartner;
case 3: return kPVLS_DeniedHLTVTalkerNotSpectator;
case 4: return kPVLS_DeniedHLTVNoTalkerPlayerID;
case 5: return kPVLS_DeniedHLTVTalkerNotBroadcaster;
case 6: return kPVLS_DeniedTeamSpectator;
case 8: return kPVLS_DeniedStudent;
case 9: return kPVLS_DeniedPrivateCoach;
case 64: return kPVLS_Denied;
case 65: return kPVLS_AllowHLTVTalkerIsBroadcaster;
case 66: return kPVLS_AllowCoBroadcaster;
case 67: return kPVLS_AllowAllChat;
case 68: return kPVLS_AllowStudentToCoach;
case 69: return kPVLS_AllowFellowStudent;
case 70: return kPVLS_AllowTalkerIsCoach;
case 71: return kPVLS_AllowCoachHearTeam;
case 72: return kPVLS_AllowSameTeam;
case 73: return kPVLS_AllowShowcase;
case 74: return kPVLS_AllowPrivateCoach;
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 EPlayerVoiceListenState findValueByNumber(int number) {
return EPlayerVoiceListenState.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.common.proto.DotaUserMessages.getDescriptor().getEnumTypes().get(13);
}
private static final EPlayerVoiceListenState[] VALUES = values();
public static EPlayerVoiceListenState 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 EPlayerVoiceListenState(int index, int value) {
this.index = index;
this.value = value;
}
// @@protoc_insertion_point(enum_scope:EPlayerVoiceListenState)
}
/**
* Protobuf enum {@code EProjectionEvent}
*/
public enum EProjectionEvent
implements com.google.protobuf.ProtocolMessageEnum {
/**
* ePE_FirstBlood = 0;
*/
ePE_FirstBlood(0, 0),
/**
* ePE_Killstreak_godlike = 1;
*/
ePE_Killstreak_godlike(1, 1),
;
/**
* ePE_FirstBlood = 0;
*/
public static final int ePE_FirstBlood_VALUE = 0;
/**
* ePE_Killstreak_godlike = 1;
*/
public static final int ePE_Killstreak_godlike_VALUE = 1;
public final int getNumber() { return value; }
public static EProjectionEvent valueOf(int value) {
switch (value) {
case 0: return ePE_FirstBlood;
case 1: return ePE_Killstreak_godlike;
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 EProjectionEvent findValueByNumber(int number) {
return EProjectionEvent.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.common.proto.DotaUserMessages.getDescriptor().getEnumTypes().get(14);
}
private static final EProjectionEvent[] VALUES = values();
public static EProjectionEvent 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 EProjectionEvent(int index, int value) {
this.index = index;
this.value = value;
}
// @@protoc_insertion_point(enum_scope:EProjectionEvent)
}
public interface CDOTAUserMsg_ChatEventOrBuilder extends
// @@protoc_insertion_point(interface_extends:CDOTAUserMsg_ChatEvent)
com.google.protobuf.MessageOrBuilder {
/**
* optional .DOTA_CHAT_MESSAGE type = 1 [default = CHAT_MESSAGE_INVALID];
*/
boolean hasType();
/**
* optional .DOTA_CHAT_MESSAGE type = 1 [default = CHAT_MESSAGE_INVALID];
*/
skadistats.clarity.wire.common.proto.DotaUserMessages.DOTA_CHAT_MESSAGE getType();
/**
* optional uint32 value = 2;
*/
boolean hasValue();
/**
* optional uint32 value = 2;
*/
int getValue();
/**
* optional sint32 playerid_1 = 3 [default = -1];
*/
boolean hasPlayerid1();
/**
* optional sint32 playerid_1 = 3 [default = -1];
*/
int getPlayerid1();
/**
* optional sint32 playerid_2 = 4 [default = -1];
*/
boolean hasPlayerid2();
/**
* optional sint32 playerid_2 = 4 [default = -1];
*/
int getPlayerid2();
/**
* optional sint32 playerid_3 = 5 [default = -1];
*/
boolean hasPlayerid3();
/**
* optional sint32 playerid_3 = 5 [default = -1];
*/
int getPlayerid3();
/**
* optional sint32 playerid_4 = 6 [default = -1];
*/
boolean hasPlayerid4();
/**
* optional sint32 playerid_4 = 6 [default = -1];
*/
int getPlayerid4();
/**
* optional sint32 playerid_5 = 7 [default = -1];
*/
boolean hasPlayerid5();
/**
* optional sint32 playerid_5 = 7 [default = -1];
*/
int getPlayerid5();
/**
* optional sint32 playerid_6 = 8 [default = -1];
*/
boolean hasPlayerid6();
/**
* optional sint32 playerid_6 = 8 [default = -1];
*/
int getPlayerid6();
/**
* optional uint32 value2 = 9;
*/
boolean hasValue2();
/**
* optional uint32 value2 = 9;
*/
int getValue2();
/**
* optional uint32 value3 = 10;
*/
boolean hasValue3();
/**
* optional uint32 value3 = 10;
*/
int getValue3();
}
/**
* Protobuf type {@code CDOTAUserMsg_ChatEvent}
*/
public static final class CDOTAUserMsg_ChatEvent extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:CDOTAUserMsg_ChatEvent)
CDOTAUserMsg_ChatEventOrBuilder {
// Use CDOTAUserMsg_ChatEvent.newBuilder() to construct.
private CDOTAUserMsg_ChatEvent(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private CDOTAUserMsg_ChatEvent(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final CDOTAUserMsg_ChatEvent defaultInstance;
public static CDOTAUserMsg_ChatEvent getDefaultInstance() {
return defaultInstance;
}
public CDOTAUserMsg_ChatEvent getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private CDOTAUserMsg_ChatEvent(
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: {
int rawValue = input.readEnum();
skadistats.clarity.wire.common.proto.DotaUserMessages.DOTA_CHAT_MESSAGE value = skadistats.clarity.wire.common.proto.DotaUserMessages.DOTA_CHAT_MESSAGE.valueOf(rawValue);
if (value == null) {
unknownFields.mergeVarintField(1, rawValue);
} else {
bitField0_ |= 0x00000001;
type_ = value;
}
break;
}
case 16: {
bitField0_ |= 0x00000002;
value_ = input.readUInt32();
break;
}
case 24: {
bitField0_ |= 0x00000004;
playerid1_ = input.readSInt32();
break;
}
case 32: {
bitField0_ |= 0x00000008;
playerid2_ = input.readSInt32();
break;
}
case 40: {
bitField0_ |= 0x00000010;
playerid3_ = input.readSInt32();
break;
}
case 48: {
bitField0_ |= 0x00000020;
playerid4_ = input.readSInt32();
break;
}
case 56: {
bitField0_ |= 0x00000040;
playerid5_ = input.readSInt32();
break;
}
case 64: {
bitField0_ |= 0x00000080;
playerid6_ = input.readSInt32();
break;
}
case 72: {
bitField0_ |= 0x00000100;
value2_ = input.readUInt32();
break;
}
case 80: {
bitField0_ |= 0x00000200;
value3_ = input.readUInt32();
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.common.proto.DotaUserMessages.internal_static_CDOTAUserMsg_ChatEvent_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return skadistats.clarity.wire.common.proto.DotaUserMessages.internal_static_CDOTAUserMsg_ChatEvent_fieldAccessorTable
.ensureFieldAccessorsInitialized(
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_ChatEvent.class, skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_ChatEvent.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public CDOTAUserMsg_ChatEvent parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new CDOTAUserMsg_ChatEvent(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
public static final int TYPE_FIELD_NUMBER = 1;
private skadistats.clarity.wire.common.proto.DotaUserMessages.DOTA_CHAT_MESSAGE type_;
/**
* optional .DOTA_CHAT_MESSAGE type = 1 [default = CHAT_MESSAGE_INVALID];
*/
public boolean hasType() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional .DOTA_CHAT_MESSAGE type = 1 [default = CHAT_MESSAGE_INVALID];
*/
public skadistats.clarity.wire.common.proto.DotaUserMessages.DOTA_CHAT_MESSAGE getType() {
return type_;
}
public static final int VALUE_FIELD_NUMBER = 2;
private int value_;
/**
* optional uint32 value = 2;
*/
public boolean hasValue() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional uint32 value = 2;
*/
public int getValue() {
return value_;
}
public static final int PLAYERID_1_FIELD_NUMBER = 3;
private int playerid1_;
/**
* optional sint32 playerid_1 = 3 [default = -1];
*/
public boolean hasPlayerid1() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional sint32 playerid_1 = 3 [default = -1];
*/
public int getPlayerid1() {
return playerid1_;
}
public static final int PLAYERID_2_FIELD_NUMBER = 4;
private int playerid2_;
/**
* optional sint32 playerid_2 = 4 [default = -1];
*/
public boolean hasPlayerid2() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* optional sint32 playerid_2 = 4 [default = -1];
*/
public int getPlayerid2() {
return playerid2_;
}
public static final int PLAYERID_3_FIELD_NUMBER = 5;
private int playerid3_;
/**
* optional sint32 playerid_3 = 5 [default = -1];
*/
public boolean hasPlayerid3() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
/**
* optional sint32 playerid_3 = 5 [default = -1];
*/
public int getPlayerid3() {
return playerid3_;
}
public static final int PLAYERID_4_FIELD_NUMBER = 6;
private int playerid4_;
/**
* optional sint32 playerid_4 = 6 [default = -1];
*/
public boolean hasPlayerid4() {
return ((bitField0_ & 0x00000020) == 0x00000020);
}
/**
* optional sint32 playerid_4 = 6 [default = -1];
*/
public int getPlayerid4() {
return playerid4_;
}
public static final int PLAYERID_5_FIELD_NUMBER = 7;
private int playerid5_;
/**
* optional sint32 playerid_5 = 7 [default = -1];
*/
public boolean hasPlayerid5() {
return ((bitField0_ & 0x00000040) == 0x00000040);
}
/**
* optional sint32 playerid_5 = 7 [default = -1];
*/
public int getPlayerid5() {
return playerid5_;
}
public static final int PLAYERID_6_FIELD_NUMBER = 8;
private int playerid6_;
/**
* optional sint32 playerid_6 = 8 [default = -1];
*/
public boolean hasPlayerid6() {
return ((bitField0_ & 0x00000080) == 0x00000080);
}
/**
* optional sint32 playerid_6 = 8 [default = -1];
*/
public int getPlayerid6() {
return playerid6_;
}
public static final int VALUE2_FIELD_NUMBER = 9;
private int value2_;
/**
* optional uint32 value2 = 9;
*/
public boolean hasValue2() {
return ((bitField0_ & 0x00000100) == 0x00000100);
}
/**
* optional uint32 value2 = 9;
*/
public int getValue2() {
return value2_;
}
public static final int VALUE3_FIELD_NUMBER = 10;
private int value3_;
/**
* optional uint32 value3 = 10;
*/
public boolean hasValue3() {
return ((bitField0_ & 0x00000200) == 0x00000200);
}
/**
* optional uint32 value3 = 10;
*/
public int getValue3() {
return value3_;
}
private void initFields() {
type_ = skadistats.clarity.wire.common.proto.DotaUserMessages.DOTA_CHAT_MESSAGE.CHAT_MESSAGE_INVALID;
value_ = 0;
playerid1_ = -1;
playerid2_ = -1;
playerid3_ = -1;
playerid4_ = -1;
playerid5_ = -1;
playerid6_ = -1;
value2_ = 0;
value3_ = 0;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 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, type_.getNumber());
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeUInt32(2, value_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
output.writeSInt32(3, playerid1_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
output.writeSInt32(4, playerid2_);
}
if (((bitField0_ & 0x00000010) == 0x00000010)) {
output.writeSInt32(5, playerid3_);
}
if (((bitField0_ & 0x00000020) == 0x00000020)) {
output.writeSInt32(6, playerid4_);
}
if (((bitField0_ & 0x00000040) == 0x00000040)) {
output.writeSInt32(7, playerid5_);
}
if (((bitField0_ & 0x00000080) == 0x00000080)) {
output.writeSInt32(8, playerid6_);
}
if (((bitField0_ & 0x00000100) == 0x00000100)) {
output.writeUInt32(9, value2_);
}
if (((bitField0_ & 0x00000200) == 0x00000200)) {
output.writeUInt32(10, value3_);
}
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, type_.getNumber());
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(2, value_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += com.google.protobuf.CodedOutputStream
.computeSInt32Size(3, playerid1_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
size += com.google.protobuf.CodedOutputStream
.computeSInt32Size(4, playerid2_);
}
if (((bitField0_ & 0x00000010) == 0x00000010)) {
size += com.google.protobuf.CodedOutputStream
.computeSInt32Size(5, playerid3_);
}
if (((bitField0_ & 0x00000020) == 0x00000020)) {
size += com.google.protobuf.CodedOutputStream
.computeSInt32Size(6, playerid4_);
}
if (((bitField0_ & 0x00000040) == 0x00000040)) {
size += com.google.protobuf.CodedOutputStream
.computeSInt32Size(7, playerid5_);
}
if (((bitField0_ & 0x00000080) == 0x00000080)) {
size += com.google.protobuf.CodedOutputStream
.computeSInt32Size(8, playerid6_);
}
if (((bitField0_ & 0x00000100) == 0x00000100)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(9, value2_);
}
if (((bitField0_ & 0x00000200) == 0x00000200)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(10, value3_);
}
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.common.proto.DotaUserMessages.CDOTAUserMsg_ChatEvent parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_ChatEvent 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.common.proto.DotaUserMessages.CDOTAUserMsg_ChatEvent parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_ChatEvent parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_ChatEvent parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_ChatEvent parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_ChatEvent parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_ChatEvent parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_ChatEvent parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_ChatEvent 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.common.proto.DotaUserMessages.CDOTAUserMsg_ChatEvent 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 CDOTAUserMsg_ChatEvent}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:CDOTAUserMsg_ChatEvent)
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_ChatEventOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return skadistats.clarity.wire.common.proto.DotaUserMessages.internal_static_CDOTAUserMsg_ChatEvent_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return skadistats.clarity.wire.common.proto.DotaUserMessages.internal_static_CDOTAUserMsg_ChatEvent_fieldAccessorTable
.ensureFieldAccessorsInitialized(
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_ChatEvent.class, skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_ChatEvent.Builder.class);
}
// Construct using skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_ChatEvent.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();
type_ = skadistats.clarity.wire.common.proto.DotaUserMessages.DOTA_CHAT_MESSAGE.CHAT_MESSAGE_INVALID;
bitField0_ = (bitField0_ & ~0x00000001);
value_ = 0;
bitField0_ = (bitField0_ & ~0x00000002);
playerid1_ = -1;
bitField0_ = (bitField0_ & ~0x00000004);
playerid2_ = -1;
bitField0_ = (bitField0_ & ~0x00000008);
playerid3_ = -1;
bitField0_ = (bitField0_ & ~0x00000010);
playerid4_ = -1;
bitField0_ = (bitField0_ & ~0x00000020);
playerid5_ = -1;
bitField0_ = (bitField0_ & ~0x00000040);
playerid6_ = -1;
bitField0_ = (bitField0_ & ~0x00000080);
value2_ = 0;
bitField0_ = (bitField0_ & ~0x00000100);
value3_ = 0;
bitField0_ = (bitField0_ & ~0x00000200);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return skadistats.clarity.wire.common.proto.DotaUserMessages.internal_static_CDOTAUserMsg_ChatEvent_descriptor;
}
public skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_ChatEvent getDefaultInstanceForType() {
return skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_ChatEvent.getDefaultInstance();
}
public skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_ChatEvent build() {
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_ChatEvent result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_ChatEvent buildPartial() {
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_ChatEvent result = new skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_ChatEvent(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.type_ = type_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.value_ = value_;
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
to_bitField0_ |= 0x00000004;
}
result.playerid1_ = playerid1_;
if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
to_bitField0_ |= 0x00000008;
}
result.playerid2_ = playerid2_;
if (((from_bitField0_ & 0x00000010) == 0x00000010)) {
to_bitField0_ |= 0x00000010;
}
result.playerid3_ = playerid3_;
if (((from_bitField0_ & 0x00000020) == 0x00000020)) {
to_bitField0_ |= 0x00000020;
}
result.playerid4_ = playerid4_;
if (((from_bitField0_ & 0x00000040) == 0x00000040)) {
to_bitField0_ |= 0x00000040;
}
result.playerid5_ = playerid5_;
if (((from_bitField0_ & 0x00000080) == 0x00000080)) {
to_bitField0_ |= 0x00000080;
}
result.playerid6_ = playerid6_;
if (((from_bitField0_ & 0x00000100) == 0x00000100)) {
to_bitField0_ |= 0x00000100;
}
result.value2_ = value2_;
if (((from_bitField0_ & 0x00000200) == 0x00000200)) {
to_bitField0_ |= 0x00000200;
}
result.value3_ = value3_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_ChatEvent) {
return mergeFrom((skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_ChatEvent)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_ChatEvent other) {
if (other == skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_ChatEvent.getDefaultInstance()) return this;
if (other.hasType()) {
setType(other.getType());
}
if (other.hasValue()) {
setValue(other.getValue());
}
if (other.hasPlayerid1()) {
setPlayerid1(other.getPlayerid1());
}
if (other.hasPlayerid2()) {
setPlayerid2(other.getPlayerid2());
}
if (other.hasPlayerid3()) {
setPlayerid3(other.getPlayerid3());
}
if (other.hasPlayerid4()) {
setPlayerid4(other.getPlayerid4());
}
if (other.hasPlayerid5()) {
setPlayerid5(other.getPlayerid5());
}
if (other.hasPlayerid6()) {
setPlayerid6(other.getPlayerid6());
}
if (other.hasValue2()) {
setValue2(other.getValue2());
}
if (other.hasValue3()) {
setValue3(other.getValue3());
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_ChatEvent parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_ChatEvent) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private skadistats.clarity.wire.common.proto.DotaUserMessages.DOTA_CHAT_MESSAGE type_ = skadistats.clarity.wire.common.proto.DotaUserMessages.DOTA_CHAT_MESSAGE.CHAT_MESSAGE_INVALID;
/**
* optional .DOTA_CHAT_MESSAGE type = 1 [default = CHAT_MESSAGE_INVALID];
*/
public boolean hasType() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional .DOTA_CHAT_MESSAGE type = 1 [default = CHAT_MESSAGE_INVALID];
*/
public skadistats.clarity.wire.common.proto.DotaUserMessages.DOTA_CHAT_MESSAGE getType() {
return type_;
}
/**
* optional .DOTA_CHAT_MESSAGE type = 1 [default = CHAT_MESSAGE_INVALID];
*/
public Builder setType(skadistats.clarity.wire.common.proto.DotaUserMessages.DOTA_CHAT_MESSAGE value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
type_ = value;
onChanged();
return this;
}
/**
* optional .DOTA_CHAT_MESSAGE type = 1 [default = CHAT_MESSAGE_INVALID];
*/
public Builder clearType() {
bitField0_ = (bitField0_ & ~0x00000001);
type_ = skadistats.clarity.wire.common.proto.DotaUserMessages.DOTA_CHAT_MESSAGE.CHAT_MESSAGE_INVALID;
onChanged();
return this;
}
private int value_ ;
/**
* optional uint32 value = 2;
*/
public boolean hasValue() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional uint32 value = 2;
*/
public int getValue() {
return value_;
}
/**
* optional uint32 value = 2;
*/
public Builder setValue(int value) {
bitField0_ |= 0x00000002;
value_ = value;
onChanged();
return this;
}
/**
* optional uint32 value = 2;
*/
public Builder clearValue() {
bitField0_ = (bitField0_ & ~0x00000002);
value_ = 0;
onChanged();
return this;
}
private int playerid1_ = -1;
/**
* optional sint32 playerid_1 = 3 [default = -1];
*/
public boolean hasPlayerid1() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional sint32 playerid_1 = 3 [default = -1];
*/
public int getPlayerid1() {
return playerid1_;
}
/**
* optional sint32 playerid_1 = 3 [default = -1];
*/
public Builder setPlayerid1(int value) {
bitField0_ |= 0x00000004;
playerid1_ = value;
onChanged();
return this;
}
/**
* optional sint32 playerid_1 = 3 [default = -1];
*/
public Builder clearPlayerid1() {
bitField0_ = (bitField0_ & ~0x00000004);
playerid1_ = -1;
onChanged();
return this;
}
private int playerid2_ = -1;
/**
* optional sint32 playerid_2 = 4 [default = -1];
*/
public boolean hasPlayerid2() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* optional sint32 playerid_2 = 4 [default = -1];
*/
public int getPlayerid2() {
return playerid2_;
}
/**
* optional sint32 playerid_2 = 4 [default = -1];
*/
public Builder setPlayerid2(int value) {
bitField0_ |= 0x00000008;
playerid2_ = value;
onChanged();
return this;
}
/**
* optional sint32 playerid_2 = 4 [default = -1];
*/
public Builder clearPlayerid2() {
bitField0_ = (bitField0_ & ~0x00000008);
playerid2_ = -1;
onChanged();
return this;
}
private int playerid3_ = -1;
/**
* optional sint32 playerid_3 = 5 [default = -1];
*/
public boolean hasPlayerid3() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
/**
* optional sint32 playerid_3 = 5 [default = -1];
*/
public int getPlayerid3() {
return playerid3_;
}
/**
* optional sint32 playerid_3 = 5 [default = -1];
*/
public Builder setPlayerid3(int value) {
bitField0_ |= 0x00000010;
playerid3_ = value;
onChanged();
return this;
}
/**
* optional sint32 playerid_3 = 5 [default = -1];
*/
public Builder clearPlayerid3() {
bitField0_ = (bitField0_ & ~0x00000010);
playerid3_ = -1;
onChanged();
return this;
}
private int playerid4_ = -1;
/**
* optional sint32 playerid_4 = 6 [default = -1];
*/
public boolean hasPlayerid4() {
return ((bitField0_ & 0x00000020) == 0x00000020);
}
/**
* optional sint32 playerid_4 = 6 [default = -1];
*/
public int getPlayerid4() {
return playerid4_;
}
/**
* optional sint32 playerid_4 = 6 [default = -1];
*/
public Builder setPlayerid4(int value) {
bitField0_ |= 0x00000020;
playerid4_ = value;
onChanged();
return this;
}
/**
* optional sint32 playerid_4 = 6 [default = -1];
*/
public Builder clearPlayerid4() {
bitField0_ = (bitField0_ & ~0x00000020);
playerid4_ = -1;
onChanged();
return this;
}
private int playerid5_ = -1;
/**
* optional sint32 playerid_5 = 7 [default = -1];
*/
public boolean hasPlayerid5() {
return ((bitField0_ & 0x00000040) == 0x00000040);
}
/**
* optional sint32 playerid_5 = 7 [default = -1];
*/
public int getPlayerid5() {
return playerid5_;
}
/**
* optional sint32 playerid_5 = 7 [default = -1];
*/
public Builder setPlayerid5(int value) {
bitField0_ |= 0x00000040;
playerid5_ = value;
onChanged();
return this;
}
/**
* optional sint32 playerid_5 = 7 [default = -1];
*/
public Builder clearPlayerid5() {
bitField0_ = (bitField0_ & ~0x00000040);
playerid5_ = -1;
onChanged();
return this;
}
private int playerid6_ = -1;
/**
* optional sint32 playerid_6 = 8 [default = -1];
*/
public boolean hasPlayerid6() {
return ((bitField0_ & 0x00000080) == 0x00000080);
}
/**
* optional sint32 playerid_6 = 8 [default = -1];
*/
public int getPlayerid6() {
return playerid6_;
}
/**
* optional sint32 playerid_6 = 8 [default = -1];
*/
public Builder setPlayerid6(int value) {
bitField0_ |= 0x00000080;
playerid6_ = value;
onChanged();
return this;
}
/**
* optional sint32 playerid_6 = 8 [default = -1];
*/
public Builder clearPlayerid6() {
bitField0_ = (bitField0_ & ~0x00000080);
playerid6_ = -1;
onChanged();
return this;
}
private int value2_ ;
/**
* optional uint32 value2 = 9;
*/
public boolean hasValue2() {
return ((bitField0_ & 0x00000100) == 0x00000100);
}
/**
* optional uint32 value2 = 9;
*/
public int getValue2() {
return value2_;
}
/**
* optional uint32 value2 = 9;
*/
public Builder setValue2(int value) {
bitField0_ |= 0x00000100;
value2_ = value;
onChanged();
return this;
}
/**
* optional uint32 value2 = 9;
*/
public Builder clearValue2() {
bitField0_ = (bitField0_ & ~0x00000100);
value2_ = 0;
onChanged();
return this;
}
private int value3_ ;
/**
* optional uint32 value3 = 10;
*/
public boolean hasValue3() {
return ((bitField0_ & 0x00000200) == 0x00000200);
}
/**
* optional uint32 value3 = 10;
*/
public int getValue3() {
return value3_;
}
/**
* optional uint32 value3 = 10;
*/
public Builder setValue3(int value) {
bitField0_ |= 0x00000200;
value3_ = value;
onChanged();
return this;
}
/**
* optional uint32 value3 = 10;
*/
public Builder clearValue3() {
bitField0_ = (bitField0_ & ~0x00000200);
value3_ = 0;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:CDOTAUserMsg_ChatEvent)
}
static {
defaultInstance = new CDOTAUserMsg_ChatEvent(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:CDOTAUserMsg_ChatEvent)
}
public interface CDOTAUserMsg_BotChatOrBuilder extends
// @@protoc_insertion_point(interface_extends:CDOTAUserMsg_BotChat)
com.google.protobuf.MessageOrBuilder {
/**
* optional uint32 player_id = 1;
*/
boolean hasPlayerId();
/**
* optional uint32 player_id = 1;
*/
int getPlayerId();
/**
* optional string format = 2;
*/
boolean hasFormat();
/**
* optional string format = 2;
*/
java.lang.String getFormat();
/**
* optional string format = 2;
*/
com.google.protobuf.ByteString
getFormatBytes();
/**
* optional string message = 3;
*/
boolean hasMessage();
/**
* optional string message = 3;
*/
java.lang.String getMessage();
/**
* optional string message = 3;
*/
com.google.protobuf.ByteString
getMessageBytes();
/**
* optional string target = 4;
*/
boolean hasTarget();
/**
* optional string target = 4;
*/
java.lang.String getTarget();
/**
* optional string target = 4;
*/
com.google.protobuf.ByteString
getTargetBytes();
/**
* optional bool team_only = 5;
*/
boolean hasTeamOnly();
/**
* optional bool team_only = 5;
*/
boolean getTeamOnly();
}
/**
* Protobuf type {@code CDOTAUserMsg_BotChat}
*/
public static final class CDOTAUserMsg_BotChat extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:CDOTAUserMsg_BotChat)
CDOTAUserMsg_BotChatOrBuilder {
// Use CDOTAUserMsg_BotChat.newBuilder() to construct.
private CDOTAUserMsg_BotChat(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private CDOTAUserMsg_BotChat(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final CDOTAUserMsg_BotChat defaultInstance;
public static CDOTAUserMsg_BotChat getDefaultInstance() {
return defaultInstance;
}
public CDOTAUserMsg_BotChat getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private CDOTAUserMsg_BotChat(
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;
playerId_ = input.readUInt32();
break;
}
case 18: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000002;
format_ = bs;
break;
}
case 26: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000004;
message_ = bs;
break;
}
case 34: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000008;
target_ = bs;
break;
}
case 40: {
bitField0_ |= 0x00000010;
teamOnly_ = 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.common.proto.DotaUserMessages.internal_static_CDOTAUserMsg_BotChat_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return skadistats.clarity.wire.common.proto.DotaUserMessages.internal_static_CDOTAUserMsg_BotChat_fieldAccessorTable
.ensureFieldAccessorsInitialized(
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_BotChat.class, skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_BotChat.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public CDOTAUserMsg_BotChat parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new CDOTAUserMsg_BotChat(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
public static final int PLAYER_ID_FIELD_NUMBER = 1;
private int playerId_;
/**
* optional uint32 player_id = 1;
*/
public boolean hasPlayerId() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional uint32 player_id = 1;
*/
public int getPlayerId() {
return playerId_;
}
public static final int FORMAT_FIELD_NUMBER = 2;
private java.lang.Object format_;
/**
* optional string format = 2;
*/
public boolean hasFormat() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional string format = 2;
*/
public java.lang.String getFormat() {
java.lang.Object ref = format_;
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()) {
format_ = s;
}
return s;
}
}
/**
* optional string format = 2;
*/
public com.google.protobuf.ByteString
getFormatBytes() {
java.lang.Object ref = format_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
format_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int MESSAGE_FIELD_NUMBER = 3;
private java.lang.Object message_;
/**
* optional string message = 3;
*/
public boolean hasMessage() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional string message = 3;
*/
public java.lang.String getMessage() {
java.lang.Object ref = message_;
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()) {
message_ = s;
}
return s;
}
}
/**
* optional string message = 3;
*/
public com.google.protobuf.ByteString
getMessageBytes() {
java.lang.Object ref = message_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
message_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int TARGET_FIELD_NUMBER = 4;
private java.lang.Object target_;
/**
* optional string target = 4;
*/
public boolean hasTarget() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* optional string target = 4;
*/
public java.lang.String getTarget() {
java.lang.Object ref = target_;
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()) {
target_ = s;
}
return s;
}
}
/**
* optional string target = 4;
*/
public com.google.protobuf.ByteString
getTargetBytes() {
java.lang.Object ref = target_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
target_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int TEAM_ONLY_FIELD_NUMBER = 5;
private boolean teamOnly_;
/**
* optional bool team_only = 5;
*/
public boolean hasTeamOnly() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
/**
* optional bool team_only = 5;
*/
public boolean getTeamOnly() {
return teamOnly_;
}
private void initFields() {
playerId_ = 0;
format_ = "";
message_ = "";
target_ = "";
teamOnly_ = false;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 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.writeUInt32(1, playerId_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeBytes(2, getFormatBytes());
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
output.writeBytes(3, getMessageBytes());
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
output.writeBytes(4, getTargetBytes());
}
if (((bitField0_ & 0x00000010) == 0x00000010)) {
output.writeBool(5, teamOnly_);
}
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
.computeUInt32Size(1, playerId_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(2, getFormatBytes());
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(3, getMessageBytes());
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(4, getTargetBytes());
}
if (((bitField0_ & 0x00000010) == 0x00000010)) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(5, teamOnly_);
}
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.common.proto.DotaUserMessages.CDOTAUserMsg_BotChat parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_BotChat 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.common.proto.DotaUserMessages.CDOTAUserMsg_BotChat parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_BotChat parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_BotChat parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_BotChat parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_BotChat parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_BotChat parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_BotChat parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_BotChat 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.common.proto.DotaUserMessages.CDOTAUserMsg_BotChat 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 CDOTAUserMsg_BotChat}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:CDOTAUserMsg_BotChat)
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_BotChatOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return skadistats.clarity.wire.common.proto.DotaUserMessages.internal_static_CDOTAUserMsg_BotChat_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return skadistats.clarity.wire.common.proto.DotaUserMessages.internal_static_CDOTAUserMsg_BotChat_fieldAccessorTable
.ensureFieldAccessorsInitialized(
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_BotChat.class, skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_BotChat.Builder.class);
}
// Construct using skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_BotChat.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();
playerId_ = 0;
bitField0_ = (bitField0_ & ~0x00000001);
format_ = "";
bitField0_ = (bitField0_ & ~0x00000002);
message_ = "";
bitField0_ = (bitField0_ & ~0x00000004);
target_ = "";
bitField0_ = (bitField0_ & ~0x00000008);
teamOnly_ = false;
bitField0_ = (bitField0_ & ~0x00000010);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return skadistats.clarity.wire.common.proto.DotaUserMessages.internal_static_CDOTAUserMsg_BotChat_descriptor;
}
public skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_BotChat getDefaultInstanceForType() {
return skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_BotChat.getDefaultInstance();
}
public skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_BotChat build() {
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_BotChat result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_BotChat buildPartial() {
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_BotChat result = new skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_BotChat(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.playerId_ = playerId_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.format_ = format_;
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
to_bitField0_ |= 0x00000004;
}
result.message_ = message_;
if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
to_bitField0_ |= 0x00000008;
}
result.target_ = target_;
if (((from_bitField0_ & 0x00000010) == 0x00000010)) {
to_bitField0_ |= 0x00000010;
}
result.teamOnly_ = teamOnly_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_BotChat) {
return mergeFrom((skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_BotChat)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_BotChat other) {
if (other == skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_BotChat.getDefaultInstance()) return this;
if (other.hasPlayerId()) {
setPlayerId(other.getPlayerId());
}
if (other.hasFormat()) {
bitField0_ |= 0x00000002;
format_ = other.format_;
onChanged();
}
if (other.hasMessage()) {
bitField0_ |= 0x00000004;
message_ = other.message_;
onChanged();
}
if (other.hasTarget()) {
bitField0_ |= 0x00000008;
target_ = other.target_;
onChanged();
}
if (other.hasTeamOnly()) {
setTeamOnly(other.getTeamOnly());
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_BotChat parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_BotChat) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private int playerId_ ;
/**
* optional uint32 player_id = 1;
*/
public boolean hasPlayerId() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional uint32 player_id = 1;
*/
public int getPlayerId() {
return playerId_;
}
/**
* optional uint32 player_id = 1;
*/
public Builder setPlayerId(int value) {
bitField0_ |= 0x00000001;
playerId_ = value;
onChanged();
return this;
}
/**
* optional uint32 player_id = 1;
*/
public Builder clearPlayerId() {
bitField0_ = (bitField0_ & ~0x00000001);
playerId_ = 0;
onChanged();
return this;
}
private java.lang.Object format_ = "";
/**
* optional string format = 2;
*/
public boolean hasFormat() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional string format = 2;
*/
public java.lang.String getFormat() {
java.lang.Object ref = format_;
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()) {
format_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string format = 2;
*/
public com.google.protobuf.ByteString
getFormatBytes() {
java.lang.Object ref = format_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
format_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string format = 2;
*/
public Builder setFormat(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
format_ = value;
onChanged();
return this;
}
/**
* optional string format = 2;
*/
public Builder clearFormat() {
bitField0_ = (bitField0_ & ~0x00000002);
format_ = getDefaultInstance().getFormat();
onChanged();
return this;
}
/**
* optional string format = 2;
*/
public Builder setFormatBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
format_ = value;
onChanged();
return this;
}
private java.lang.Object message_ = "";
/**
* optional string message = 3;
*/
public boolean hasMessage() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional string message = 3;
*/
public java.lang.String getMessage() {
java.lang.Object ref = message_;
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()) {
message_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string message = 3;
*/
public com.google.protobuf.ByteString
getMessageBytes() {
java.lang.Object ref = message_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
message_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string message = 3;
*/
public Builder setMessage(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000004;
message_ = value;
onChanged();
return this;
}
/**
* optional string message = 3;
*/
public Builder clearMessage() {
bitField0_ = (bitField0_ & ~0x00000004);
message_ = getDefaultInstance().getMessage();
onChanged();
return this;
}
/**
* optional string message = 3;
*/
public Builder setMessageBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000004;
message_ = value;
onChanged();
return this;
}
private java.lang.Object target_ = "";
/**
* optional string target = 4;
*/
public boolean hasTarget() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* optional string target = 4;
*/
public java.lang.String getTarget() {
java.lang.Object ref = target_;
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()) {
target_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string target = 4;
*/
public com.google.protobuf.ByteString
getTargetBytes() {
java.lang.Object ref = target_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
target_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string target = 4;
*/
public Builder setTarget(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000008;
target_ = value;
onChanged();
return this;
}
/**
* optional string target = 4;
*/
public Builder clearTarget() {
bitField0_ = (bitField0_ & ~0x00000008);
target_ = getDefaultInstance().getTarget();
onChanged();
return this;
}
/**
* optional string target = 4;
*/
public Builder setTargetBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000008;
target_ = value;
onChanged();
return this;
}
private boolean teamOnly_ ;
/**
* optional bool team_only = 5;
*/
public boolean hasTeamOnly() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
/**
* optional bool team_only = 5;
*/
public boolean getTeamOnly() {
return teamOnly_;
}
/**
* optional bool team_only = 5;
*/
public Builder setTeamOnly(boolean value) {
bitField0_ |= 0x00000010;
teamOnly_ = value;
onChanged();
return this;
}
/**
* optional bool team_only = 5;
*/
public Builder clearTeamOnly() {
bitField0_ = (bitField0_ & ~0x00000010);
teamOnly_ = false;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:CDOTAUserMsg_BotChat)
}
static {
defaultInstance = new CDOTAUserMsg_BotChat(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:CDOTAUserMsg_BotChat)
}
public interface CDOTAUserMsg_CombatLogBulkDataOrBuilder extends
// @@protoc_insertion_point(interface_extends:CDOTAUserMsg_CombatLogBulkData)
com.google.protobuf.MessageOrBuilder {
/**
* repeated .CMsgDOTACombatLogEntry combat_entries = 1;
*/
java.util.List
getCombatEntriesList();
/**
* repeated .CMsgDOTACombatLogEntry combat_entries = 1;
*/
skadistats.clarity.wire.common.proto.DotaUserMessages.CMsgDOTACombatLogEntry getCombatEntries(int index);
/**
* repeated .CMsgDOTACombatLogEntry combat_entries = 1;
*/
int getCombatEntriesCount();
/**
* repeated .CMsgDOTACombatLogEntry combat_entries = 1;
*/
java.util.List extends skadistats.clarity.wire.common.proto.DotaUserMessages.CMsgDOTACombatLogEntryOrBuilder>
getCombatEntriesOrBuilderList();
/**
* repeated .CMsgDOTACombatLogEntry combat_entries = 1;
*/
skadistats.clarity.wire.common.proto.DotaUserMessages.CMsgDOTACombatLogEntryOrBuilder getCombatEntriesOrBuilder(
int index);
/**
* optional float timestamp = 2;
*/
boolean hasTimestamp();
/**
* optional float timestamp = 2;
*/
float getTimestamp();
/**
* optional float duration = 3;
*/
boolean hasDuration();
/**
* optional float duration = 3;
*/
float getDuration();
/**
* optional uint32 player_id = 4;
*/
boolean hasPlayerId();
/**
* optional uint32 player_id = 4;
*/
int getPlayerId();
}
/**
* Protobuf type {@code CDOTAUserMsg_CombatLogBulkData}
*/
public static final class CDOTAUserMsg_CombatLogBulkData extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:CDOTAUserMsg_CombatLogBulkData)
CDOTAUserMsg_CombatLogBulkDataOrBuilder {
// Use CDOTAUserMsg_CombatLogBulkData.newBuilder() to construct.
private CDOTAUserMsg_CombatLogBulkData(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private CDOTAUserMsg_CombatLogBulkData(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final CDOTAUserMsg_CombatLogBulkData defaultInstance;
public static CDOTAUserMsg_CombatLogBulkData getDefaultInstance() {
return defaultInstance;
}
public CDOTAUserMsg_CombatLogBulkData getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private CDOTAUserMsg_CombatLogBulkData(
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 10: {
if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
combatEntries_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
combatEntries_.add(input.readMessage(skadistats.clarity.wire.common.proto.DotaUserMessages.CMsgDOTACombatLogEntry.PARSER, extensionRegistry));
break;
}
case 21: {
bitField0_ |= 0x00000001;
timestamp_ = input.readFloat();
break;
}
case 29: {
bitField0_ |= 0x00000002;
duration_ = input.readFloat();
break;
}
case 32: {
bitField0_ |= 0x00000004;
playerId_ = input.readUInt32();
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 {
if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
combatEntries_ = java.util.Collections.unmodifiableList(combatEntries_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return skadistats.clarity.wire.common.proto.DotaUserMessages.internal_static_CDOTAUserMsg_CombatLogBulkData_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return skadistats.clarity.wire.common.proto.DotaUserMessages.internal_static_CDOTAUserMsg_CombatLogBulkData_fieldAccessorTable
.ensureFieldAccessorsInitialized(
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_CombatLogBulkData.class, skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_CombatLogBulkData.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public CDOTAUserMsg_CombatLogBulkData parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new CDOTAUserMsg_CombatLogBulkData(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
public static final int COMBAT_ENTRIES_FIELD_NUMBER = 1;
private java.util.List combatEntries_;
/**
* repeated .CMsgDOTACombatLogEntry combat_entries = 1;
*/
public java.util.List getCombatEntriesList() {
return combatEntries_;
}
/**
* repeated .CMsgDOTACombatLogEntry combat_entries = 1;
*/
public java.util.List extends skadistats.clarity.wire.common.proto.DotaUserMessages.CMsgDOTACombatLogEntryOrBuilder>
getCombatEntriesOrBuilderList() {
return combatEntries_;
}
/**
* repeated .CMsgDOTACombatLogEntry combat_entries = 1;
*/
public int getCombatEntriesCount() {
return combatEntries_.size();
}
/**
* repeated .CMsgDOTACombatLogEntry combat_entries = 1;
*/
public skadistats.clarity.wire.common.proto.DotaUserMessages.CMsgDOTACombatLogEntry getCombatEntries(int index) {
return combatEntries_.get(index);
}
/**
* repeated .CMsgDOTACombatLogEntry combat_entries = 1;
*/
public skadistats.clarity.wire.common.proto.DotaUserMessages.CMsgDOTACombatLogEntryOrBuilder getCombatEntriesOrBuilder(
int index) {
return combatEntries_.get(index);
}
public static final int TIMESTAMP_FIELD_NUMBER = 2;
private float timestamp_;
/**
* optional float timestamp = 2;
*/
public boolean hasTimestamp() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional float timestamp = 2;
*/
public float getTimestamp() {
return timestamp_;
}
public static final int DURATION_FIELD_NUMBER = 3;
private float duration_;
/**
* optional float duration = 3;
*/
public boolean hasDuration() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional float duration = 3;
*/
public float getDuration() {
return duration_;
}
public static final int PLAYER_ID_FIELD_NUMBER = 4;
private int playerId_;
/**
* optional uint32 player_id = 4;
*/
public boolean hasPlayerId() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional uint32 player_id = 4;
*/
public int getPlayerId() {
return playerId_;
}
private void initFields() {
combatEntries_ = java.util.Collections.emptyList();
timestamp_ = 0F;
duration_ = 0F;
playerId_ = 0;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
for (int i = 0; i < combatEntries_.size(); i++) {
output.writeMessage(1, combatEntries_.get(i));
}
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeFloat(2, timestamp_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeFloat(3, duration_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
output.writeUInt32(4, playerId_);
}
getUnknownFields().writeTo(output);
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
for (int i = 0; i < combatEntries_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, combatEntries_.get(i));
}
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.CodedOutputStream
.computeFloatSize(2, timestamp_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeFloatSize(3, duration_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(4, playerId_);
}
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.common.proto.DotaUserMessages.CDOTAUserMsg_CombatLogBulkData parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_CombatLogBulkData 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.common.proto.DotaUserMessages.CDOTAUserMsg_CombatLogBulkData parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_CombatLogBulkData parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_CombatLogBulkData parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_CombatLogBulkData parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_CombatLogBulkData parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_CombatLogBulkData parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_CombatLogBulkData parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_CombatLogBulkData 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.common.proto.DotaUserMessages.CDOTAUserMsg_CombatLogBulkData 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 CDOTAUserMsg_CombatLogBulkData}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:CDOTAUserMsg_CombatLogBulkData)
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_CombatLogBulkDataOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return skadistats.clarity.wire.common.proto.DotaUserMessages.internal_static_CDOTAUserMsg_CombatLogBulkData_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return skadistats.clarity.wire.common.proto.DotaUserMessages.internal_static_CDOTAUserMsg_CombatLogBulkData_fieldAccessorTable
.ensureFieldAccessorsInitialized(
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_CombatLogBulkData.class, skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_CombatLogBulkData.Builder.class);
}
// Construct using skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_CombatLogBulkData.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
getCombatEntriesFieldBuilder();
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
if (combatEntriesBuilder_ == null) {
combatEntries_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
combatEntriesBuilder_.clear();
}
timestamp_ = 0F;
bitField0_ = (bitField0_ & ~0x00000002);
duration_ = 0F;
bitField0_ = (bitField0_ & ~0x00000004);
playerId_ = 0;
bitField0_ = (bitField0_ & ~0x00000008);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return skadistats.clarity.wire.common.proto.DotaUserMessages.internal_static_CDOTAUserMsg_CombatLogBulkData_descriptor;
}
public skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_CombatLogBulkData getDefaultInstanceForType() {
return skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_CombatLogBulkData.getDefaultInstance();
}
public skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_CombatLogBulkData build() {
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_CombatLogBulkData result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_CombatLogBulkData buildPartial() {
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_CombatLogBulkData result = new skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_CombatLogBulkData(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (combatEntriesBuilder_ == null) {
if (((bitField0_ & 0x00000001) == 0x00000001)) {
combatEntries_ = java.util.Collections.unmodifiableList(combatEntries_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.combatEntries_ = combatEntries_;
} else {
result.combatEntries_ = combatEntriesBuilder_.build();
}
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000001;
}
result.timestamp_ = timestamp_;
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
to_bitField0_ |= 0x00000002;
}
result.duration_ = duration_;
if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
to_bitField0_ |= 0x00000004;
}
result.playerId_ = playerId_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_CombatLogBulkData) {
return mergeFrom((skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_CombatLogBulkData)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_CombatLogBulkData other) {
if (other == skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_CombatLogBulkData.getDefaultInstance()) return this;
if (combatEntriesBuilder_ == null) {
if (!other.combatEntries_.isEmpty()) {
if (combatEntries_.isEmpty()) {
combatEntries_ = other.combatEntries_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureCombatEntriesIsMutable();
combatEntries_.addAll(other.combatEntries_);
}
onChanged();
}
} else {
if (!other.combatEntries_.isEmpty()) {
if (combatEntriesBuilder_.isEmpty()) {
combatEntriesBuilder_.dispose();
combatEntriesBuilder_ = null;
combatEntries_ = other.combatEntries_;
bitField0_ = (bitField0_ & ~0x00000001);
combatEntriesBuilder_ =
com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
getCombatEntriesFieldBuilder() : null;
} else {
combatEntriesBuilder_.addAllMessages(other.combatEntries_);
}
}
}
if (other.hasTimestamp()) {
setTimestamp(other.getTimestamp());
}
if (other.hasDuration()) {
setDuration(other.getDuration());
}
if (other.hasPlayerId()) {
setPlayerId(other.getPlayerId());
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_CombatLogBulkData parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_CombatLogBulkData) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.util.List combatEntries_ =
java.util.Collections.emptyList();
private void ensureCombatEntriesIsMutable() {
if (!((bitField0_ & 0x00000001) == 0x00000001)) {
combatEntries_ = new java.util.ArrayList(combatEntries_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilder<
skadistats.clarity.wire.common.proto.DotaUserMessages.CMsgDOTACombatLogEntry, skadistats.clarity.wire.common.proto.DotaUserMessages.CMsgDOTACombatLogEntry.Builder, skadistats.clarity.wire.common.proto.DotaUserMessages.CMsgDOTACombatLogEntryOrBuilder> combatEntriesBuilder_;
/**
* repeated .CMsgDOTACombatLogEntry combat_entries = 1;
*/
public java.util.List getCombatEntriesList() {
if (combatEntriesBuilder_ == null) {
return java.util.Collections.unmodifiableList(combatEntries_);
} else {
return combatEntriesBuilder_.getMessageList();
}
}
/**
* repeated .CMsgDOTACombatLogEntry combat_entries = 1;
*/
public int getCombatEntriesCount() {
if (combatEntriesBuilder_ == null) {
return combatEntries_.size();
} else {
return combatEntriesBuilder_.getCount();
}
}
/**
* repeated .CMsgDOTACombatLogEntry combat_entries = 1;
*/
public skadistats.clarity.wire.common.proto.DotaUserMessages.CMsgDOTACombatLogEntry getCombatEntries(int index) {
if (combatEntriesBuilder_ == null) {
return combatEntries_.get(index);
} else {
return combatEntriesBuilder_.getMessage(index);
}
}
/**
* repeated .CMsgDOTACombatLogEntry combat_entries = 1;
*/
public Builder setCombatEntries(
int index, skadistats.clarity.wire.common.proto.DotaUserMessages.CMsgDOTACombatLogEntry value) {
if (combatEntriesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureCombatEntriesIsMutable();
combatEntries_.set(index, value);
onChanged();
} else {
combatEntriesBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .CMsgDOTACombatLogEntry combat_entries = 1;
*/
public Builder setCombatEntries(
int index, skadistats.clarity.wire.common.proto.DotaUserMessages.CMsgDOTACombatLogEntry.Builder builderForValue) {
if (combatEntriesBuilder_ == null) {
ensureCombatEntriesIsMutable();
combatEntries_.set(index, builderForValue.build());
onChanged();
} else {
combatEntriesBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .CMsgDOTACombatLogEntry combat_entries = 1;
*/
public Builder addCombatEntries(skadistats.clarity.wire.common.proto.DotaUserMessages.CMsgDOTACombatLogEntry value) {
if (combatEntriesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureCombatEntriesIsMutable();
combatEntries_.add(value);
onChanged();
} else {
combatEntriesBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .CMsgDOTACombatLogEntry combat_entries = 1;
*/
public Builder addCombatEntries(
int index, skadistats.clarity.wire.common.proto.DotaUserMessages.CMsgDOTACombatLogEntry value) {
if (combatEntriesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureCombatEntriesIsMutable();
combatEntries_.add(index, value);
onChanged();
} else {
combatEntriesBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .CMsgDOTACombatLogEntry combat_entries = 1;
*/
public Builder addCombatEntries(
skadistats.clarity.wire.common.proto.DotaUserMessages.CMsgDOTACombatLogEntry.Builder builderForValue) {
if (combatEntriesBuilder_ == null) {
ensureCombatEntriesIsMutable();
combatEntries_.add(builderForValue.build());
onChanged();
} else {
combatEntriesBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .CMsgDOTACombatLogEntry combat_entries = 1;
*/
public Builder addCombatEntries(
int index, skadistats.clarity.wire.common.proto.DotaUserMessages.CMsgDOTACombatLogEntry.Builder builderForValue) {
if (combatEntriesBuilder_ == null) {
ensureCombatEntriesIsMutable();
combatEntries_.add(index, builderForValue.build());
onChanged();
} else {
combatEntriesBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .CMsgDOTACombatLogEntry combat_entries = 1;
*/
public Builder addAllCombatEntries(
java.lang.Iterable extends skadistats.clarity.wire.common.proto.DotaUserMessages.CMsgDOTACombatLogEntry> values) {
if (combatEntriesBuilder_ == null) {
ensureCombatEntriesIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, combatEntries_);
onChanged();
} else {
combatEntriesBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .CMsgDOTACombatLogEntry combat_entries = 1;
*/
public Builder clearCombatEntries() {
if (combatEntriesBuilder_ == null) {
combatEntries_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
combatEntriesBuilder_.clear();
}
return this;
}
/**
* repeated .CMsgDOTACombatLogEntry combat_entries = 1;
*/
public Builder removeCombatEntries(int index) {
if (combatEntriesBuilder_ == null) {
ensureCombatEntriesIsMutable();
combatEntries_.remove(index);
onChanged();
} else {
combatEntriesBuilder_.remove(index);
}
return this;
}
/**
* repeated .CMsgDOTACombatLogEntry combat_entries = 1;
*/
public skadistats.clarity.wire.common.proto.DotaUserMessages.CMsgDOTACombatLogEntry.Builder getCombatEntriesBuilder(
int index) {
return getCombatEntriesFieldBuilder().getBuilder(index);
}
/**
* repeated .CMsgDOTACombatLogEntry combat_entries = 1;
*/
public skadistats.clarity.wire.common.proto.DotaUserMessages.CMsgDOTACombatLogEntryOrBuilder getCombatEntriesOrBuilder(
int index) {
if (combatEntriesBuilder_ == null) {
return combatEntries_.get(index); } else {
return combatEntriesBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .CMsgDOTACombatLogEntry combat_entries = 1;
*/
public java.util.List extends skadistats.clarity.wire.common.proto.DotaUserMessages.CMsgDOTACombatLogEntryOrBuilder>
getCombatEntriesOrBuilderList() {
if (combatEntriesBuilder_ != null) {
return combatEntriesBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(combatEntries_);
}
}
/**
* repeated .CMsgDOTACombatLogEntry combat_entries = 1;
*/
public skadistats.clarity.wire.common.proto.DotaUserMessages.CMsgDOTACombatLogEntry.Builder addCombatEntriesBuilder() {
return getCombatEntriesFieldBuilder().addBuilder(
skadistats.clarity.wire.common.proto.DotaUserMessages.CMsgDOTACombatLogEntry.getDefaultInstance());
}
/**
* repeated .CMsgDOTACombatLogEntry combat_entries = 1;
*/
public skadistats.clarity.wire.common.proto.DotaUserMessages.CMsgDOTACombatLogEntry.Builder addCombatEntriesBuilder(
int index) {
return getCombatEntriesFieldBuilder().addBuilder(
index, skadistats.clarity.wire.common.proto.DotaUserMessages.CMsgDOTACombatLogEntry.getDefaultInstance());
}
/**
* repeated .CMsgDOTACombatLogEntry combat_entries = 1;
*/
public java.util.List
getCombatEntriesBuilderList() {
return getCombatEntriesFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilder<
skadistats.clarity.wire.common.proto.DotaUserMessages.CMsgDOTACombatLogEntry, skadistats.clarity.wire.common.proto.DotaUserMessages.CMsgDOTACombatLogEntry.Builder, skadistats.clarity.wire.common.proto.DotaUserMessages.CMsgDOTACombatLogEntryOrBuilder>
getCombatEntriesFieldBuilder() {
if (combatEntriesBuilder_ == null) {
combatEntriesBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
skadistats.clarity.wire.common.proto.DotaUserMessages.CMsgDOTACombatLogEntry, skadistats.clarity.wire.common.proto.DotaUserMessages.CMsgDOTACombatLogEntry.Builder, skadistats.clarity.wire.common.proto.DotaUserMessages.CMsgDOTACombatLogEntryOrBuilder>(
combatEntries_,
((bitField0_ & 0x00000001) == 0x00000001),
getParentForChildren(),
isClean());
combatEntries_ = null;
}
return combatEntriesBuilder_;
}
private float timestamp_ ;
/**
* optional float timestamp = 2;
*/
public boolean hasTimestamp() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional float timestamp = 2;
*/
public float getTimestamp() {
return timestamp_;
}
/**
* optional float timestamp = 2;
*/
public Builder setTimestamp(float value) {
bitField0_ |= 0x00000002;
timestamp_ = value;
onChanged();
return this;
}
/**
* optional float timestamp = 2;
*/
public Builder clearTimestamp() {
bitField0_ = (bitField0_ & ~0x00000002);
timestamp_ = 0F;
onChanged();
return this;
}
private float duration_ ;
/**
* optional float duration = 3;
*/
public boolean hasDuration() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional float duration = 3;
*/
public float getDuration() {
return duration_;
}
/**
* optional float duration = 3;
*/
public Builder setDuration(float value) {
bitField0_ |= 0x00000004;
duration_ = value;
onChanged();
return this;
}
/**
* optional float duration = 3;
*/
public Builder clearDuration() {
bitField0_ = (bitField0_ & ~0x00000004);
duration_ = 0F;
onChanged();
return this;
}
private int playerId_ ;
/**
* optional uint32 player_id = 4;
*/
public boolean hasPlayerId() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* optional uint32 player_id = 4;
*/
public int getPlayerId() {
return playerId_;
}
/**
* optional uint32 player_id = 4;
*/
public Builder setPlayerId(int value) {
bitField0_ |= 0x00000008;
playerId_ = value;
onChanged();
return this;
}
/**
* optional uint32 player_id = 4;
*/
public Builder clearPlayerId() {
bitField0_ = (bitField0_ & ~0x00000008);
playerId_ = 0;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:CDOTAUserMsg_CombatLogBulkData)
}
static {
defaultInstance = new CDOTAUserMsg_CombatLogBulkData(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:CDOTAUserMsg_CombatLogBulkData)
}
public interface CDOTAUserMsg_MiniKillCamInfoOrBuilder extends
// @@protoc_insertion_point(interface_extends:CDOTAUserMsg_MiniKillCamInfo)
com.google.protobuf.MessageOrBuilder {
/**
* repeated .CDOTAUserMsg_MiniKillCamInfo.Attacker attackers = 1;
*/
java.util.List
getAttackersList();
/**
* repeated .CDOTAUserMsg_MiniKillCamInfo.Attacker attackers = 1;
*/
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MiniKillCamInfo.Attacker getAttackers(int index);
/**
* repeated .CDOTAUserMsg_MiniKillCamInfo.Attacker attackers = 1;
*/
int getAttackersCount();
/**
* repeated .CDOTAUserMsg_MiniKillCamInfo.Attacker attackers = 1;
*/
java.util.List extends skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MiniKillCamInfo.AttackerOrBuilder>
getAttackersOrBuilderList();
/**
* repeated .CDOTAUserMsg_MiniKillCamInfo.Attacker attackers = 1;
*/
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MiniKillCamInfo.AttackerOrBuilder getAttackersOrBuilder(
int index);
}
/**
* Protobuf type {@code CDOTAUserMsg_MiniKillCamInfo}
*/
public static final class CDOTAUserMsg_MiniKillCamInfo extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:CDOTAUserMsg_MiniKillCamInfo)
CDOTAUserMsg_MiniKillCamInfoOrBuilder {
// Use CDOTAUserMsg_MiniKillCamInfo.newBuilder() to construct.
private CDOTAUserMsg_MiniKillCamInfo(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private CDOTAUserMsg_MiniKillCamInfo(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final CDOTAUserMsg_MiniKillCamInfo defaultInstance;
public static CDOTAUserMsg_MiniKillCamInfo getDefaultInstance() {
return defaultInstance;
}
public CDOTAUserMsg_MiniKillCamInfo getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private CDOTAUserMsg_MiniKillCamInfo(
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 10: {
if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
attackers_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
attackers_.add(input.readMessage(skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MiniKillCamInfo.Attacker.PARSER, extensionRegistry));
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 {
if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
attackers_ = java.util.Collections.unmodifiableList(attackers_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return skadistats.clarity.wire.common.proto.DotaUserMessages.internal_static_CDOTAUserMsg_MiniKillCamInfo_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return skadistats.clarity.wire.common.proto.DotaUserMessages.internal_static_CDOTAUserMsg_MiniKillCamInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MiniKillCamInfo.class, skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MiniKillCamInfo.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public CDOTAUserMsg_MiniKillCamInfo parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new CDOTAUserMsg_MiniKillCamInfo(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public interface AttackerOrBuilder extends
// @@protoc_insertion_point(interface_extends:CDOTAUserMsg_MiniKillCamInfo.Attacker)
com.google.protobuf.MessageOrBuilder {
/**
* optional uint32 attacker = 1;
*/
boolean hasAttacker();
/**
* optional uint32 attacker = 1;
*/
int getAttacker();
/**
* optional int32 total_damage = 2;
*/
boolean hasTotalDamage();
/**
* optional int32 total_damage = 2;
*/
int getTotalDamage();
/**
* repeated .CDOTAUserMsg_MiniKillCamInfo.Attacker.Ability abilities = 3;
*/
java.util.List
getAbilitiesList();
/**
* repeated .CDOTAUserMsg_MiniKillCamInfo.Attacker.Ability abilities = 3;
*/
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MiniKillCamInfo.Attacker.Ability getAbilities(int index);
/**
* repeated .CDOTAUserMsg_MiniKillCamInfo.Attacker.Ability abilities = 3;
*/
int getAbilitiesCount();
/**
* repeated .CDOTAUserMsg_MiniKillCamInfo.Attacker.Ability abilities = 3;
*/
java.util.List extends skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MiniKillCamInfo.Attacker.AbilityOrBuilder>
getAbilitiesOrBuilderList();
/**
* repeated .CDOTAUserMsg_MiniKillCamInfo.Attacker.Ability abilities = 3;
*/
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MiniKillCamInfo.Attacker.AbilityOrBuilder getAbilitiesOrBuilder(
int index);
/**
* optional string attacker_name = 4;
*/
boolean hasAttackerName();
/**
* optional string attacker_name = 4;
*/
java.lang.String getAttackerName();
/**
* optional string attacker_name = 4;
*/
com.google.protobuf.ByteString
getAttackerNameBytes();
}
/**
* Protobuf type {@code CDOTAUserMsg_MiniKillCamInfo.Attacker}
*/
public static final class Attacker extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:CDOTAUserMsg_MiniKillCamInfo.Attacker)
AttackerOrBuilder {
// Use Attacker.newBuilder() to construct.
private Attacker(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private Attacker(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final Attacker defaultInstance;
public static Attacker getDefaultInstance() {
return defaultInstance;
}
public Attacker getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private Attacker(
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;
attacker_ = input.readUInt32();
break;
}
case 16: {
bitField0_ |= 0x00000002;
totalDamage_ = input.readInt32();
break;
}
case 26: {
if (!((mutable_bitField0_ & 0x00000004) == 0x00000004)) {
abilities_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000004;
}
abilities_.add(input.readMessage(skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MiniKillCamInfo.Attacker.Ability.PARSER, extensionRegistry));
break;
}
case 34: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000004;
attackerName_ = 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 {
if (((mutable_bitField0_ & 0x00000004) == 0x00000004)) {
abilities_ = java.util.Collections.unmodifiableList(abilities_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return skadistats.clarity.wire.common.proto.DotaUserMessages.internal_static_CDOTAUserMsg_MiniKillCamInfo_Attacker_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return skadistats.clarity.wire.common.proto.DotaUserMessages.internal_static_CDOTAUserMsg_MiniKillCamInfo_Attacker_fieldAccessorTable
.ensureFieldAccessorsInitialized(
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MiniKillCamInfo.Attacker.class, skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MiniKillCamInfo.Attacker.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public Attacker parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new Attacker(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public interface AbilityOrBuilder extends
// @@protoc_insertion_point(interface_extends:CDOTAUserMsg_MiniKillCamInfo.Attacker.Ability)
com.google.protobuf.MessageOrBuilder {
/**
* optional uint32 ability_id = 1;
*/
boolean hasAbilityId();
/**
* optional uint32 ability_id = 1;
*/
int getAbilityId();
/**
* optional int32 damage = 2;
*/
boolean hasDamage();
/**
* optional int32 damage = 2;
*/
int getDamage();
}
/**
* Protobuf type {@code CDOTAUserMsg_MiniKillCamInfo.Attacker.Ability}
*/
public static final class Ability extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:CDOTAUserMsg_MiniKillCamInfo.Attacker.Ability)
AbilityOrBuilder {
// Use Ability.newBuilder() to construct.
private Ability(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private Ability(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final Ability defaultInstance;
public static Ability getDefaultInstance() {
return defaultInstance;
}
public Ability getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private Ability(
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;
abilityId_ = input.readUInt32();
break;
}
case 16: {
bitField0_ |= 0x00000002;
damage_ = input.readInt32();
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.common.proto.DotaUserMessages.internal_static_CDOTAUserMsg_MiniKillCamInfo_Attacker_Ability_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return skadistats.clarity.wire.common.proto.DotaUserMessages.internal_static_CDOTAUserMsg_MiniKillCamInfo_Attacker_Ability_fieldAccessorTable
.ensureFieldAccessorsInitialized(
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MiniKillCamInfo.Attacker.Ability.class, skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MiniKillCamInfo.Attacker.Ability.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public Ability parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new Ability(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
public static final int ABILITY_ID_FIELD_NUMBER = 1;
private int abilityId_;
/**
* optional uint32 ability_id = 1;
*/
public boolean hasAbilityId() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional uint32 ability_id = 1;
*/
public int getAbilityId() {
return abilityId_;
}
public static final int DAMAGE_FIELD_NUMBER = 2;
private int damage_;
/**
* optional int32 damage = 2;
*/
public boolean hasDamage() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional int32 damage = 2;
*/
public int getDamage() {
return damage_;
}
private void initFields() {
abilityId_ = 0;
damage_ = 0;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 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.writeUInt32(1, abilityId_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeInt32(2, damage_);
}
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
.computeUInt32Size(1, abilityId_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(2, damage_);
}
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.common.proto.DotaUserMessages.CDOTAUserMsg_MiniKillCamInfo.Attacker.Ability parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MiniKillCamInfo.Attacker.Ability 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.common.proto.DotaUserMessages.CDOTAUserMsg_MiniKillCamInfo.Attacker.Ability parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MiniKillCamInfo.Attacker.Ability parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MiniKillCamInfo.Attacker.Ability parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MiniKillCamInfo.Attacker.Ability parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MiniKillCamInfo.Attacker.Ability parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MiniKillCamInfo.Attacker.Ability parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MiniKillCamInfo.Attacker.Ability parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MiniKillCamInfo.Attacker.Ability 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.common.proto.DotaUserMessages.CDOTAUserMsg_MiniKillCamInfo.Attacker.Ability 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 CDOTAUserMsg_MiniKillCamInfo.Attacker.Ability}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:CDOTAUserMsg_MiniKillCamInfo.Attacker.Ability)
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MiniKillCamInfo.Attacker.AbilityOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return skadistats.clarity.wire.common.proto.DotaUserMessages.internal_static_CDOTAUserMsg_MiniKillCamInfo_Attacker_Ability_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return skadistats.clarity.wire.common.proto.DotaUserMessages.internal_static_CDOTAUserMsg_MiniKillCamInfo_Attacker_Ability_fieldAccessorTable
.ensureFieldAccessorsInitialized(
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MiniKillCamInfo.Attacker.Ability.class, skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MiniKillCamInfo.Attacker.Ability.Builder.class);
}
// Construct using skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MiniKillCamInfo.Attacker.Ability.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();
abilityId_ = 0;
bitField0_ = (bitField0_ & ~0x00000001);
damage_ = 0;
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return skadistats.clarity.wire.common.proto.DotaUserMessages.internal_static_CDOTAUserMsg_MiniKillCamInfo_Attacker_Ability_descriptor;
}
public skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MiniKillCamInfo.Attacker.Ability getDefaultInstanceForType() {
return skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MiniKillCamInfo.Attacker.Ability.getDefaultInstance();
}
public skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MiniKillCamInfo.Attacker.Ability build() {
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MiniKillCamInfo.Attacker.Ability result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MiniKillCamInfo.Attacker.Ability buildPartial() {
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MiniKillCamInfo.Attacker.Ability result = new skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MiniKillCamInfo.Attacker.Ability(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.abilityId_ = abilityId_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.damage_ = damage_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MiniKillCamInfo.Attacker.Ability) {
return mergeFrom((skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MiniKillCamInfo.Attacker.Ability)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MiniKillCamInfo.Attacker.Ability other) {
if (other == skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MiniKillCamInfo.Attacker.Ability.getDefaultInstance()) return this;
if (other.hasAbilityId()) {
setAbilityId(other.getAbilityId());
}
if (other.hasDamage()) {
setDamage(other.getDamage());
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MiniKillCamInfo.Attacker.Ability parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MiniKillCamInfo.Attacker.Ability) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private int abilityId_ ;
/**
* optional uint32 ability_id = 1;
*/
public boolean hasAbilityId() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional uint32 ability_id = 1;
*/
public int getAbilityId() {
return abilityId_;
}
/**
* optional uint32 ability_id = 1;
*/
public Builder setAbilityId(int value) {
bitField0_ |= 0x00000001;
abilityId_ = value;
onChanged();
return this;
}
/**
* optional uint32 ability_id = 1;
*/
public Builder clearAbilityId() {
bitField0_ = (bitField0_ & ~0x00000001);
abilityId_ = 0;
onChanged();
return this;
}
private int damage_ ;
/**
* optional int32 damage = 2;
*/
public boolean hasDamage() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional int32 damage = 2;
*/
public int getDamage() {
return damage_;
}
/**
* optional int32 damage = 2;
*/
public Builder setDamage(int value) {
bitField0_ |= 0x00000002;
damage_ = value;
onChanged();
return this;
}
/**
* optional int32 damage = 2;
*/
public Builder clearDamage() {
bitField0_ = (bitField0_ & ~0x00000002);
damage_ = 0;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:CDOTAUserMsg_MiniKillCamInfo.Attacker.Ability)
}
static {
defaultInstance = new Ability(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:CDOTAUserMsg_MiniKillCamInfo.Attacker.Ability)
}
private int bitField0_;
public static final int ATTACKER_FIELD_NUMBER = 1;
private int attacker_;
/**
* optional uint32 attacker = 1;
*/
public boolean hasAttacker() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional uint32 attacker = 1;
*/
public int getAttacker() {
return attacker_;
}
public static final int TOTAL_DAMAGE_FIELD_NUMBER = 2;
private int totalDamage_;
/**
* optional int32 total_damage = 2;
*/
public boolean hasTotalDamage() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional int32 total_damage = 2;
*/
public int getTotalDamage() {
return totalDamage_;
}
public static final int ABILITIES_FIELD_NUMBER = 3;
private java.util.List abilities_;
/**
* repeated .CDOTAUserMsg_MiniKillCamInfo.Attacker.Ability abilities = 3;
*/
public java.util.List getAbilitiesList() {
return abilities_;
}
/**
* repeated .CDOTAUserMsg_MiniKillCamInfo.Attacker.Ability abilities = 3;
*/
public java.util.List extends skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MiniKillCamInfo.Attacker.AbilityOrBuilder>
getAbilitiesOrBuilderList() {
return abilities_;
}
/**
* repeated .CDOTAUserMsg_MiniKillCamInfo.Attacker.Ability abilities = 3;
*/
public int getAbilitiesCount() {
return abilities_.size();
}
/**
* repeated .CDOTAUserMsg_MiniKillCamInfo.Attacker.Ability abilities = 3;
*/
public skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MiniKillCamInfo.Attacker.Ability getAbilities(int index) {
return abilities_.get(index);
}
/**
* repeated .CDOTAUserMsg_MiniKillCamInfo.Attacker.Ability abilities = 3;
*/
public skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MiniKillCamInfo.Attacker.AbilityOrBuilder getAbilitiesOrBuilder(
int index) {
return abilities_.get(index);
}
public static final int ATTACKER_NAME_FIELD_NUMBER = 4;
private java.lang.Object attackerName_;
/**
* optional string attacker_name = 4;
*/
public boolean hasAttackerName() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional string attacker_name = 4;
*/
public java.lang.String getAttackerName() {
java.lang.Object ref = attackerName_;
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()) {
attackerName_ = s;
}
return s;
}
}
/**
* optional string attacker_name = 4;
*/
public com.google.protobuf.ByteString
getAttackerNameBytes() {
java.lang.Object ref = attackerName_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
attackerName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private void initFields() {
attacker_ = 0;
totalDamage_ = 0;
abilities_ = java.util.Collections.emptyList();
attackerName_ = "";
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 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.writeUInt32(1, attacker_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeInt32(2, totalDamage_);
}
for (int i = 0; i < abilities_.size(); i++) {
output.writeMessage(3, abilities_.get(i));
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
output.writeBytes(4, getAttackerNameBytes());
}
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
.computeUInt32Size(1, attacker_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(2, totalDamage_);
}
for (int i = 0; i < abilities_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, abilities_.get(i));
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(4, getAttackerNameBytes());
}
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.common.proto.DotaUserMessages.CDOTAUserMsg_MiniKillCamInfo.Attacker parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MiniKillCamInfo.Attacker 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.common.proto.DotaUserMessages.CDOTAUserMsg_MiniKillCamInfo.Attacker parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MiniKillCamInfo.Attacker parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MiniKillCamInfo.Attacker parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MiniKillCamInfo.Attacker parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MiniKillCamInfo.Attacker parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MiniKillCamInfo.Attacker parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MiniKillCamInfo.Attacker parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MiniKillCamInfo.Attacker 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.common.proto.DotaUserMessages.CDOTAUserMsg_MiniKillCamInfo.Attacker 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 CDOTAUserMsg_MiniKillCamInfo.Attacker}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:CDOTAUserMsg_MiniKillCamInfo.Attacker)
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MiniKillCamInfo.AttackerOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return skadistats.clarity.wire.common.proto.DotaUserMessages.internal_static_CDOTAUserMsg_MiniKillCamInfo_Attacker_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return skadistats.clarity.wire.common.proto.DotaUserMessages.internal_static_CDOTAUserMsg_MiniKillCamInfo_Attacker_fieldAccessorTable
.ensureFieldAccessorsInitialized(
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MiniKillCamInfo.Attacker.class, skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MiniKillCamInfo.Attacker.Builder.class);
}
// Construct using skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MiniKillCamInfo.Attacker.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
getAbilitiesFieldBuilder();
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
attacker_ = 0;
bitField0_ = (bitField0_ & ~0x00000001);
totalDamage_ = 0;
bitField0_ = (bitField0_ & ~0x00000002);
if (abilitiesBuilder_ == null) {
abilities_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000004);
} else {
abilitiesBuilder_.clear();
}
attackerName_ = "";
bitField0_ = (bitField0_ & ~0x00000008);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return skadistats.clarity.wire.common.proto.DotaUserMessages.internal_static_CDOTAUserMsg_MiniKillCamInfo_Attacker_descriptor;
}
public skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MiniKillCamInfo.Attacker getDefaultInstanceForType() {
return skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MiniKillCamInfo.Attacker.getDefaultInstance();
}
public skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MiniKillCamInfo.Attacker build() {
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MiniKillCamInfo.Attacker result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MiniKillCamInfo.Attacker buildPartial() {
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MiniKillCamInfo.Attacker result = new skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MiniKillCamInfo.Attacker(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.attacker_ = attacker_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.totalDamage_ = totalDamage_;
if (abilitiesBuilder_ == null) {
if (((bitField0_ & 0x00000004) == 0x00000004)) {
abilities_ = java.util.Collections.unmodifiableList(abilities_);
bitField0_ = (bitField0_ & ~0x00000004);
}
result.abilities_ = abilities_;
} else {
result.abilities_ = abilitiesBuilder_.build();
}
if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
to_bitField0_ |= 0x00000004;
}
result.attackerName_ = attackerName_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MiniKillCamInfo.Attacker) {
return mergeFrom((skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MiniKillCamInfo.Attacker)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MiniKillCamInfo.Attacker other) {
if (other == skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MiniKillCamInfo.Attacker.getDefaultInstance()) return this;
if (other.hasAttacker()) {
setAttacker(other.getAttacker());
}
if (other.hasTotalDamage()) {
setTotalDamage(other.getTotalDamage());
}
if (abilitiesBuilder_ == null) {
if (!other.abilities_.isEmpty()) {
if (abilities_.isEmpty()) {
abilities_ = other.abilities_;
bitField0_ = (bitField0_ & ~0x00000004);
} else {
ensureAbilitiesIsMutable();
abilities_.addAll(other.abilities_);
}
onChanged();
}
} else {
if (!other.abilities_.isEmpty()) {
if (abilitiesBuilder_.isEmpty()) {
abilitiesBuilder_.dispose();
abilitiesBuilder_ = null;
abilities_ = other.abilities_;
bitField0_ = (bitField0_ & ~0x00000004);
abilitiesBuilder_ =
com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
getAbilitiesFieldBuilder() : null;
} else {
abilitiesBuilder_.addAllMessages(other.abilities_);
}
}
}
if (other.hasAttackerName()) {
bitField0_ |= 0x00000008;
attackerName_ = other.attackerName_;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MiniKillCamInfo.Attacker parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MiniKillCamInfo.Attacker) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private int attacker_ ;
/**
* optional uint32 attacker = 1;
*/
public boolean hasAttacker() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional uint32 attacker = 1;
*/
public int getAttacker() {
return attacker_;
}
/**
* optional uint32 attacker = 1;
*/
public Builder setAttacker(int value) {
bitField0_ |= 0x00000001;
attacker_ = value;
onChanged();
return this;
}
/**
* optional uint32 attacker = 1;
*/
public Builder clearAttacker() {
bitField0_ = (bitField0_ & ~0x00000001);
attacker_ = 0;
onChanged();
return this;
}
private int totalDamage_ ;
/**
* optional int32 total_damage = 2;
*/
public boolean hasTotalDamage() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional int32 total_damage = 2;
*/
public int getTotalDamage() {
return totalDamage_;
}
/**
* optional int32 total_damage = 2;
*/
public Builder setTotalDamage(int value) {
bitField0_ |= 0x00000002;
totalDamage_ = value;
onChanged();
return this;
}
/**
* optional int32 total_damage = 2;
*/
public Builder clearTotalDamage() {
bitField0_ = (bitField0_ & ~0x00000002);
totalDamage_ = 0;
onChanged();
return this;
}
private java.util.List abilities_ =
java.util.Collections.emptyList();
private void ensureAbilitiesIsMutable() {
if (!((bitField0_ & 0x00000004) == 0x00000004)) {
abilities_ = new java.util.ArrayList(abilities_);
bitField0_ |= 0x00000004;
}
}
private com.google.protobuf.RepeatedFieldBuilder<
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MiniKillCamInfo.Attacker.Ability, skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MiniKillCamInfo.Attacker.Ability.Builder, skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MiniKillCamInfo.Attacker.AbilityOrBuilder> abilitiesBuilder_;
/**
* repeated .CDOTAUserMsg_MiniKillCamInfo.Attacker.Ability abilities = 3;
*/
public java.util.List getAbilitiesList() {
if (abilitiesBuilder_ == null) {
return java.util.Collections.unmodifiableList(abilities_);
} else {
return abilitiesBuilder_.getMessageList();
}
}
/**
* repeated .CDOTAUserMsg_MiniKillCamInfo.Attacker.Ability abilities = 3;
*/
public int getAbilitiesCount() {
if (abilitiesBuilder_ == null) {
return abilities_.size();
} else {
return abilitiesBuilder_.getCount();
}
}
/**
* repeated .CDOTAUserMsg_MiniKillCamInfo.Attacker.Ability abilities = 3;
*/
public skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MiniKillCamInfo.Attacker.Ability getAbilities(int index) {
if (abilitiesBuilder_ == null) {
return abilities_.get(index);
} else {
return abilitiesBuilder_.getMessage(index);
}
}
/**
* repeated .CDOTAUserMsg_MiniKillCamInfo.Attacker.Ability abilities = 3;
*/
public Builder setAbilities(
int index, skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MiniKillCamInfo.Attacker.Ability value) {
if (abilitiesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureAbilitiesIsMutable();
abilities_.set(index, value);
onChanged();
} else {
abilitiesBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .CDOTAUserMsg_MiniKillCamInfo.Attacker.Ability abilities = 3;
*/
public Builder setAbilities(
int index, skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MiniKillCamInfo.Attacker.Ability.Builder builderForValue) {
if (abilitiesBuilder_ == null) {
ensureAbilitiesIsMutable();
abilities_.set(index, builderForValue.build());
onChanged();
} else {
abilitiesBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .CDOTAUserMsg_MiniKillCamInfo.Attacker.Ability abilities = 3;
*/
public Builder addAbilities(skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MiniKillCamInfo.Attacker.Ability value) {
if (abilitiesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureAbilitiesIsMutable();
abilities_.add(value);
onChanged();
} else {
abilitiesBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .CDOTAUserMsg_MiniKillCamInfo.Attacker.Ability abilities = 3;
*/
public Builder addAbilities(
int index, skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MiniKillCamInfo.Attacker.Ability value) {
if (abilitiesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureAbilitiesIsMutable();
abilities_.add(index, value);
onChanged();
} else {
abilitiesBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .CDOTAUserMsg_MiniKillCamInfo.Attacker.Ability abilities = 3;
*/
public Builder addAbilities(
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MiniKillCamInfo.Attacker.Ability.Builder builderForValue) {
if (abilitiesBuilder_ == null) {
ensureAbilitiesIsMutable();
abilities_.add(builderForValue.build());
onChanged();
} else {
abilitiesBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .CDOTAUserMsg_MiniKillCamInfo.Attacker.Ability abilities = 3;
*/
public Builder addAbilities(
int index, skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MiniKillCamInfo.Attacker.Ability.Builder builderForValue) {
if (abilitiesBuilder_ == null) {
ensureAbilitiesIsMutable();
abilities_.add(index, builderForValue.build());
onChanged();
} else {
abilitiesBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .CDOTAUserMsg_MiniKillCamInfo.Attacker.Ability abilities = 3;
*/
public Builder addAllAbilities(
java.lang.Iterable extends skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MiniKillCamInfo.Attacker.Ability> values) {
if (abilitiesBuilder_ == null) {
ensureAbilitiesIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, abilities_);
onChanged();
} else {
abilitiesBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .CDOTAUserMsg_MiniKillCamInfo.Attacker.Ability abilities = 3;
*/
public Builder clearAbilities() {
if (abilitiesBuilder_ == null) {
abilities_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
} else {
abilitiesBuilder_.clear();
}
return this;
}
/**
* repeated .CDOTAUserMsg_MiniKillCamInfo.Attacker.Ability abilities = 3;
*/
public Builder removeAbilities(int index) {
if (abilitiesBuilder_ == null) {
ensureAbilitiesIsMutable();
abilities_.remove(index);
onChanged();
} else {
abilitiesBuilder_.remove(index);
}
return this;
}
/**
* repeated .CDOTAUserMsg_MiniKillCamInfo.Attacker.Ability abilities = 3;
*/
public skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MiniKillCamInfo.Attacker.Ability.Builder getAbilitiesBuilder(
int index) {
return getAbilitiesFieldBuilder().getBuilder(index);
}
/**
* repeated .CDOTAUserMsg_MiniKillCamInfo.Attacker.Ability abilities = 3;
*/
public skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MiniKillCamInfo.Attacker.AbilityOrBuilder getAbilitiesOrBuilder(
int index) {
if (abilitiesBuilder_ == null) {
return abilities_.get(index); } else {
return abilitiesBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .CDOTAUserMsg_MiniKillCamInfo.Attacker.Ability abilities = 3;
*/
public java.util.List extends skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MiniKillCamInfo.Attacker.AbilityOrBuilder>
getAbilitiesOrBuilderList() {
if (abilitiesBuilder_ != null) {
return abilitiesBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(abilities_);
}
}
/**
* repeated .CDOTAUserMsg_MiniKillCamInfo.Attacker.Ability abilities = 3;
*/
public skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MiniKillCamInfo.Attacker.Ability.Builder addAbilitiesBuilder() {
return getAbilitiesFieldBuilder().addBuilder(
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MiniKillCamInfo.Attacker.Ability.getDefaultInstance());
}
/**
* repeated .CDOTAUserMsg_MiniKillCamInfo.Attacker.Ability abilities = 3;
*/
public skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MiniKillCamInfo.Attacker.Ability.Builder addAbilitiesBuilder(
int index) {
return getAbilitiesFieldBuilder().addBuilder(
index, skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MiniKillCamInfo.Attacker.Ability.getDefaultInstance());
}
/**
* repeated .CDOTAUserMsg_MiniKillCamInfo.Attacker.Ability abilities = 3;
*/
public java.util.List
getAbilitiesBuilderList() {
return getAbilitiesFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilder<
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MiniKillCamInfo.Attacker.Ability, skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MiniKillCamInfo.Attacker.Ability.Builder, skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MiniKillCamInfo.Attacker.AbilityOrBuilder>
getAbilitiesFieldBuilder() {
if (abilitiesBuilder_ == null) {
abilitiesBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MiniKillCamInfo.Attacker.Ability, skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MiniKillCamInfo.Attacker.Ability.Builder, skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MiniKillCamInfo.Attacker.AbilityOrBuilder>(
abilities_,
((bitField0_ & 0x00000004) == 0x00000004),
getParentForChildren(),
isClean());
abilities_ = null;
}
return abilitiesBuilder_;
}
private java.lang.Object attackerName_ = "";
/**
* optional string attacker_name = 4;
*/
public boolean hasAttackerName() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* optional string attacker_name = 4;
*/
public java.lang.String getAttackerName() {
java.lang.Object ref = attackerName_;
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()) {
attackerName_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string attacker_name = 4;
*/
public com.google.protobuf.ByteString
getAttackerNameBytes() {
java.lang.Object ref = attackerName_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
attackerName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string attacker_name = 4;
*/
public Builder setAttackerName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000008;
attackerName_ = value;
onChanged();
return this;
}
/**
* optional string attacker_name = 4;
*/
public Builder clearAttackerName() {
bitField0_ = (bitField0_ & ~0x00000008);
attackerName_ = getDefaultInstance().getAttackerName();
onChanged();
return this;
}
/**
* optional string attacker_name = 4;
*/
public Builder setAttackerNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000008;
attackerName_ = value;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:CDOTAUserMsg_MiniKillCamInfo.Attacker)
}
static {
defaultInstance = new Attacker(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:CDOTAUserMsg_MiniKillCamInfo.Attacker)
}
public static final int ATTACKERS_FIELD_NUMBER = 1;
private java.util.List attackers_;
/**
* repeated .CDOTAUserMsg_MiniKillCamInfo.Attacker attackers = 1;
*/
public java.util.List getAttackersList() {
return attackers_;
}
/**
* repeated .CDOTAUserMsg_MiniKillCamInfo.Attacker attackers = 1;
*/
public java.util.List extends skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MiniKillCamInfo.AttackerOrBuilder>
getAttackersOrBuilderList() {
return attackers_;
}
/**
* repeated .CDOTAUserMsg_MiniKillCamInfo.Attacker attackers = 1;
*/
public int getAttackersCount() {
return attackers_.size();
}
/**
* repeated .CDOTAUserMsg_MiniKillCamInfo.Attacker attackers = 1;
*/
public skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MiniKillCamInfo.Attacker getAttackers(int index) {
return attackers_.get(index);
}
/**
* repeated .CDOTAUserMsg_MiniKillCamInfo.Attacker attackers = 1;
*/
public skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MiniKillCamInfo.AttackerOrBuilder getAttackersOrBuilder(
int index) {
return attackers_.get(index);
}
private void initFields() {
attackers_ = java.util.Collections.emptyList();
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
for (int i = 0; i < attackers_.size(); i++) {
output.writeMessage(1, attackers_.get(i));
}
getUnknownFields().writeTo(output);
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
for (int i = 0; i < attackers_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, attackers_.get(i));
}
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.common.proto.DotaUserMessages.CDOTAUserMsg_MiniKillCamInfo parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MiniKillCamInfo 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.common.proto.DotaUserMessages.CDOTAUserMsg_MiniKillCamInfo parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MiniKillCamInfo parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MiniKillCamInfo parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MiniKillCamInfo parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MiniKillCamInfo parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MiniKillCamInfo parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MiniKillCamInfo parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MiniKillCamInfo 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.common.proto.DotaUserMessages.CDOTAUserMsg_MiniKillCamInfo 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 CDOTAUserMsg_MiniKillCamInfo}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:CDOTAUserMsg_MiniKillCamInfo)
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MiniKillCamInfoOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return skadistats.clarity.wire.common.proto.DotaUserMessages.internal_static_CDOTAUserMsg_MiniKillCamInfo_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return skadistats.clarity.wire.common.proto.DotaUserMessages.internal_static_CDOTAUserMsg_MiniKillCamInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MiniKillCamInfo.class, skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MiniKillCamInfo.Builder.class);
}
// Construct using skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MiniKillCamInfo.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
getAttackersFieldBuilder();
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
if (attackersBuilder_ == null) {
attackers_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
attackersBuilder_.clear();
}
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return skadistats.clarity.wire.common.proto.DotaUserMessages.internal_static_CDOTAUserMsg_MiniKillCamInfo_descriptor;
}
public skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MiniKillCamInfo getDefaultInstanceForType() {
return skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MiniKillCamInfo.getDefaultInstance();
}
public skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MiniKillCamInfo build() {
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MiniKillCamInfo result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MiniKillCamInfo buildPartial() {
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MiniKillCamInfo result = new skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MiniKillCamInfo(this);
int from_bitField0_ = bitField0_;
if (attackersBuilder_ == null) {
if (((bitField0_ & 0x00000001) == 0x00000001)) {
attackers_ = java.util.Collections.unmodifiableList(attackers_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.attackers_ = attackers_;
} else {
result.attackers_ = attackersBuilder_.build();
}
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MiniKillCamInfo) {
return mergeFrom((skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MiniKillCamInfo)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MiniKillCamInfo other) {
if (other == skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MiniKillCamInfo.getDefaultInstance()) return this;
if (attackersBuilder_ == null) {
if (!other.attackers_.isEmpty()) {
if (attackers_.isEmpty()) {
attackers_ = other.attackers_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureAttackersIsMutable();
attackers_.addAll(other.attackers_);
}
onChanged();
}
} else {
if (!other.attackers_.isEmpty()) {
if (attackersBuilder_.isEmpty()) {
attackersBuilder_.dispose();
attackersBuilder_ = null;
attackers_ = other.attackers_;
bitField0_ = (bitField0_ & ~0x00000001);
attackersBuilder_ =
com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
getAttackersFieldBuilder() : null;
} else {
attackersBuilder_.addAllMessages(other.attackers_);
}
}
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MiniKillCamInfo parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MiniKillCamInfo) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.util.List attackers_ =
java.util.Collections.emptyList();
private void ensureAttackersIsMutable() {
if (!((bitField0_ & 0x00000001) == 0x00000001)) {
attackers_ = new java.util.ArrayList(attackers_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilder<
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MiniKillCamInfo.Attacker, skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MiniKillCamInfo.Attacker.Builder, skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MiniKillCamInfo.AttackerOrBuilder> attackersBuilder_;
/**
* repeated .CDOTAUserMsg_MiniKillCamInfo.Attacker attackers = 1;
*/
public java.util.List getAttackersList() {
if (attackersBuilder_ == null) {
return java.util.Collections.unmodifiableList(attackers_);
} else {
return attackersBuilder_.getMessageList();
}
}
/**
* repeated .CDOTAUserMsg_MiniKillCamInfo.Attacker attackers = 1;
*/
public int getAttackersCount() {
if (attackersBuilder_ == null) {
return attackers_.size();
} else {
return attackersBuilder_.getCount();
}
}
/**
* repeated .CDOTAUserMsg_MiniKillCamInfo.Attacker attackers = 1;
*/
public skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MiniKillCamInfo.Attacker getAttackers(int index) {
if (attackersBuilder_ == null) {
return attackers_.get(index);
} else {
return attackersBuilder_.getMessage(index);
}
}
/**
* repeated .CDOTAUserMsg_MiniKillCamInfo.Attacker attackers = 1;
*/
public Builder setAttackers(
int index, skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MiniKillCamInfo.Attacker value) {
if (attackersBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureAttackersIsMutable();
attackers_.set(index, value);
onChanged();
} else {
attackersBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .CDOTAUserMsg_MiniKillCamInfo.Attacker attackers = 1;
*/
public Builder setAttackers(
int index, skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MiniKillCamInfo.Attacker.Builder builderForValue) {
if (attackersBuilder_ == null) {
ensureAttackersIsMutable();
attackers_.set(index, builderForValue.build());
onChanged();
} else {
attackersBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .CDOTAUserMsg_MiniKillCamInfo.Attacker attackers = 1;
*/
public Builder addAttackers(skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MiniKillCamInfo.Attacker value) {
if (attackersBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureAttackersIsMutable();
attackers_.add(value);
onChanged();
} else {
attackersBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .CDOTAUserMsg_MiniKillCamInfo.Attacker attackers = 1;
*/
public Builder addAttackers(
int index, skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MiniKillCamInfo.Attacker value) {
if (attackersBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureAttackersIsMutable();
attackers_.add(index, value);
onChanged();
} else {
attackersBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .CDOTAUserMsg_MiniKillCamInfo.Attacker attackers = 1;
*/
public Builder addAttackers(
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MiniKillCamInfo.Attacker.Builder builderForValue) {
if (attackersBuilder_ == null) {
ensureAttackersIsMutable();
attackers_.add(builderForValue.build());
onChanged();
} else {
attackersBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .CDOTAUserMsg_MiniKillCamInfo.Attacker attackers = 1;
*/
public Builder addAttackers(
int index, skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MiniKillCamInfo.Attacker.Builder builderForValue) {
if (attackersBuilder_ == null) {
ensureAttackersIsMutable();
attackers_.add(index, builderForValue.build());
onChanged();
} else {
attackersBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .CDOTAUserMsg_MiniKillCamInfo.Attacker attackers = 1;
*/
public Builder addAllAttackers(
java.lang.Iterable extends skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MiniKillCamInfo.Attacker> values) {
if (attackersBuilder_ == null) {
ensureAttackersIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, attackers_);
onChanged();
} else {
attackersBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .CDOTAUserMsg_MiniKillCamInfo.Attacker attackers = 1;
*/
public Builder clearAttackers() {
if (attackersBuilder_ == null) {
attackers_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
attackersBuilder_.clear();
}
return this;
}
/**
* repeated .CDOTAUserMsg_MiniKillCamInfo.Attacker attackers = 1;
*/
public Builder removeAttackers(int index) {
if (attackersBuilder_ == null) {
ensureAttackersIsMutable();
attackers_.remove(index);
onChanged();
} else {
attackersBuilder_.remove(index);
}
return this;
}
/**
* repeated .CDOTAUserMsg_MiniKillCamInfo.Attacker attackers = 1;
*/
public skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MiniKillCamInfo.Attacker.Builder getAttackersBuilder(
int index) {
return getAttackersFieldBuilder().getBuilder(index);
}
/**
* repeated .CDOTAUserMsg_MiniKillCamInfo.Attacker attackers = 1;
*/
public skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MiniKillCamInfo.AttackerOrBuilder getAttackersOrBuilder(
int index) {
if (attackersBuilder_ == null) {
return attackers_.get(index); } else {
return attackersBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .CDOTAUserMsg_MiniKillCamInfo.Attacker attackers = 1;
*/
public java.util.List extends skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MiniKillCamInfo.AttackerOrBuilder>
getAttackersOrBuilderList() {
if (attackersBuilder_ != null) {
return attackersBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(attackers_);
}
}
/**
* repeated .CDOTAUserMsg_MiniKillCamInfo.Attacker attackers = 1;
*/
public skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MiniKillCamInfo.Attacker.Builder addAttackersBuilder() {
return getAttackersFieldBuilder().addBuilder(
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MiniKillCamInfo.Attacker.getDefaultInstance());
}
/**
* repeated .CDOTAUserMsg_MiniKillCamInfo.Attacker attackers = 1;
*/
public skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MiniKillCamInfo.Attacker.Builder addAttackersBuilder(
int index) {
return getAttackersFieldBuilder().addBuilder(
index, skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MiniKillCamInfo.Attacker.getDefaultInstance());
}
/**
* repeated .CDOTAUserMsg_MiniKillCamInfo.Attacker attackers = 1;
*/
public java.util.List
getAttackersBuilderList() {
return getAttackersFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilder<
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MiniKillCamInfo.Attacker, skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MiniKillCamInfo.Attacker.Builder, skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MiniKillCamInfo.AttackerOrBuilder>
getAttackersFieldBuilder() {
if (attackersBuilder_ == null) {
attackersBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MiniKillCamInfo.Attacker, skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MiniKillCamInfo.Attacker.Builder, skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MiniKillCamInfo.AttackerOrBuilder>(
attackers_,
((bitField0_ & 0x00000001) == 0x00000001),
getParentForChildren(),
isClean());
attackers_ = null;
}
return attackersBuilder_;
}
// @@protoc_insertion_point(builder_scope:CDOTAUserMsg_MiniKillCamInfo)
}
static {
defaultInstance = new CDOTAUserMsg_MiniKillCamInfo(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:CDOTAUserMsg_MiniKillCamInfo)
}
public interface CDOTAUserMsg_GlobalLightColorOrBuilder extends
// @@protoc_insertion_point(interface_extends:CDOTAUserMsg_GlobalLightColor)
com.google.protobuf.MessageOrBuilder {
/**
* optional uint32 color = 1;
*/
boolean hasColor();
/**
* optional uint32 color = 1;
*/
int getColor();
/**
* optional float duration = 2;
*/
boolean hasDuration();
/**
* optional float duration = 2;
*/
float getDuration();
}
/**
* Protobuf type {@code CDOTAUserMsg_GlobalLightColor}
*/
public static final class CDOTAUserMsg_GlobalLightColor extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:CDOTAUserMsg_GlobalLightColor)
CDOTAUserMsg_GlobalLightColorOrBuilder {
// Use CDOTAUserMsg_GlobalLightColor.newBuilder() to construct.
private CDOTAUserMsg_GlobalLightColor(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private CDOTAUserMsg_GlobalLightColor(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final CDOTAUserMsg_GlobalLightColor defaultInstance;
public static CDOTAUserMsg_GlobalLightColor getDefaultInstance() {
return defaultInstance;
}
public CDOTAUserMsg_GlobalLightColor getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private CDOTAUserMsg_GlobalLightColor(
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;
color_ = input.readUInt32();
break;
}
case 21: {
bitField0_ |= 0x00000002;
duration_ = input.readFloat();
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.common.proto.DotaUserMessages.internal_static_CDOTAUserMsg_GlobalLightColor_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return skadistats.clarity.wire.common.proto.DotaUserMessages.internal_static_CDOTAUserMsg_GlobalLightColor_fieldAccessorTable
.ensureFieldAccessorsInitialized(
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_GlobalLightColor.class, skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_GlobalLightColor.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public CDOTAUserMsg_GlobalLightColor parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new CDOTAUserMsg_GlobalLightColor(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
public static final int COLOR_FIELD_NUMBER = 1;
private int color_;
/**
* optional uint32 color = 1;
*/
public boolean hasColor() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional uint32 color = 1;
*/
public int getColor() {
return color_;
}
public static final int DURATION_FIELD_NUMBER = 2;
private float duration_;
/**
* optional float duration = 2;
*/
public boolean hasDuration() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional float duration = 2;
*/
public float getDuration() {
return duration_;
}
private void initFields() {
color_ = 0;
duration_ = 0F;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 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.writeUInt32(1, color_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeFloat(2, duration_);
}
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
.computeUInt32Size(1, color_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeFloatSize(2, duration_);
}
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.common.proto.DotaUserMessages.CDOTAUserMsg_GlobalLightColor parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_GlobalLightColor 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.common.proto.DotaUserMessages.CDOTAUserMsg_GlobalLightColor parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_GlobalLightColor parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_GlobalLightColor parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_GlobalLightColor parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_GlobalLightColor parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_GlobalLightColor parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_GlobalLightColor parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_GlobalLightColor 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.common.proto.DotaUserMessages.CDOTAUserMsg_GlobalLightColor 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 CDOTAUserMsg_GlobalLightColor}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:CDOTAUserMsg_GlobalLightColor)
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_GlobalLightColorOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return skadistats.clarity.wire.common.proto.DotaUserMessages.internal_static_CDOTAUserMsg_GlobalLightColor_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return skadistats.clarity.wire.common.proto.DotaUserMessages.internal_static_CDOTAUserMsg_GlobalLightColor_fieldAccessorTable
.ensureFieldAccessorsInitialized(
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_GlobalLightColor.class, skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_GlobalLightColor.Builder.class);
}
// Construct using skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_GlobalLightColor.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();
color_ = 0;
bitField0_ = (bitField0_ & ~0x00000001);
duration_ = 0F;
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return skadistats.clarity.wire.common.proto.DotaUserMessages.internal_static_CDOTAUserMsg_GlobalLightColor_descriptor;
}
public skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_GlobalLightColor getDefaultInstanceForType() {
return skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_GlobalLightColor.getDefaultInstance();
}
public skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_GlobalLightColor build() {
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_GlobalLightColor result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_GlobalLightColor buildPartial() {
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_GlobalLightColor result = new skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_GlobalLightColor(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.color_ = color_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.duration_ = duration_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_GlobalLightColor) {
return mergeFrom((skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_GlobalLightColor)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_GlobalLightColor other) {
if (other == skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_GlobalLightColor.getDefaultInstance()) return this;
if (other.hasColor()) {
setColor(other.getColor());
}
if (other.hasDuration()) {
setDuration(other.getDuration());
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_GlobalLightColor parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_GlobalLightColor) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private int color_ ;
/**
* optional uint32 color = 1;
*/
public boolean hasColor() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional uint32 color = 1;
*/
public int getColor() {
return color_;
}
/**
* optional uint32 color = 1;
*/
public Builder setColor(int value) {
bitField0_ |= 0x00000001;
color_ = value;
onChanged();
return this;
}
/**
* optional uint32 color = 1;
*/
public Builder clearColor() {
bitField0_ = (bitField0_ & ~0x00000001);
color_ = 0;
onChanged();
return this;
}
private float duration_ ;
/**
* optional float duration = 2;
*/
public boolean hasDuration() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional float duration = 2;
*/
public float getDuration() {
return duration_;
}
/**
* optional float duration = 2;
*/
public Builder setDuration(float value) {
bitField0_ |= 0x00000002;
duration_ = value;
onChanged();
return this;
}
/**
* optional float duration = 2;
*/
public Builder clearDuration() {
bitField0_ = (bitField0_ & ~0x00000002);
duration_ = 0F;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:CDOTAUserMsg_GlobalLightColor)
}
static {
defaultInstance = new CDOTAUserMsg_GlobalLightColor(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:CDOTAUserMsg_GlobalLightColor)
}
public interface CDOTAUserMsg_GlobalLightDirectionOrBuilder extends
// @@protoc_insertion_point(interface_extends:CDOTAUserMsg_GlobalLightDirection)
com.google.protobuf.MessageOrBuilder {
/**
* optional .CMsgVector direction = 1;
*/
boolean hasDirection();
/**
* optional .CMsgVector direction = 1;
*/
skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVector getDirection();
/**
* optional .CMsgVector direction = 1;
*/
skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVectorOrBuilder getDirectionOrBuilder();
/**
* optional float duration = 2;
*/
boolean hasDuration();
/**
* optional float duration = 2;
*/
float getDuration();
}
/**
* Protobuf type {@code CDOTAUserMsg_GlobalLightDirection}
*/
public static final class CDOTAUserMsg_GlobalLightDirection extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:CDOTAUserMsg_GlobalLightDirection)
CDOTAUserMsg_GlobalLightDirectionOrBuilder {
// Use CDOTAUserMsg_GlobalLightDirection.newBuilder() to construct.
private CDOTAUserMsg_GlobalLightDirection(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private CDOTAUserMsg_GlobalLightDirection(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final CDOTAUserMsg_GlobalLightDirection defaultInstance;
public static CDOTAUserMsg_GlobalLightDirection getDefaultInstance() {
return defaultInstance;
}
public CDOTAUserMsg_GlobalLightDirection getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private CDOTAUserMsg_GlobalLightDirection(
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 10: {
skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVector.Builder subBuilder = null;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
subBuilder = direction_.toBuilder();
}
direction_ = input.readMessage(skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVector.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(direction_);
direction_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000001;
break;
}
case 21: {
bitField0_ |= 0x00000002;
duration_ = input.readFloat();
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.common.proto.DotaUserMessages.internal_static_CDOTAUserMsg_GlobalLightDirection_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return skadistats.clarity.wire.common.proto.DotaUserMessages.internal_static_CDOTAUserMsg_GlobalLightDirection_fieldAccessorTable
.ensureFieldAccessorsInitialized(
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_GlobalLightDirection.class, skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_GlobalLightDirection.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public CDOTAUserMsg_GlobalLightDirection parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new CDOTAUserMsg_GlobalLightDirection(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
public static final int DIRECTION_FIELD_NUMBER = 1;
private skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVector direction_;
/**
* optional .CMsgVector direction = 1;
*/
public boolean hasDirection() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional .CMsgVector direction = 1;
*/
public skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVector getDirection() {
return direction_;
}
/**
* optional .CMsgVector direction = 1;
*/
public skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVectorOrBuilder getDirectionOrBuilder() {
return direction_;
}
public static final int DURATION_FIELD_NUMBER = 2;
private float duration_;
/**
* optional float duration = 2;
*/
public boolean hasDuration() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional float duration = 2;
*/
public float getDuration() {
return duration_;
}
private void initFields() {
direction_ = skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVector.getDefaultInstance();
duration_ = 0F;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 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.writeMessage(1, direction_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeFloat(2, duration_);
}
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
.computeMessageSize(1, direction_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeFloatSize(2, duration_);
}
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.common.proto.DotaUserMessages.CDOTAUserMsg_GlobalLightDirection parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_GlobalLightDirection 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.common.proto.DotaUserMessages.CDOTAUserMsg_GlobalLightDirection parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_GlobalLightDirection parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_GlobalLightDirection parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_GlobalLightDirection parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_GlobalLightDirection parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_GlobalLightDirection parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_GlobalLightDirection parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_GlobalLightDirection 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.common.proto.DotaUserMessages.CDOTAUserMsg_GlobalLightDirection 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 CDOTAUserMsg_GlobalLightDirection}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:CDOTAUserMsg_GlobalLightDirection)
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_GlobalLightDirectionOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return skadistats.clarity.wire.common.proto.DotaUserMessages.internal_static_CDOTAUserMsg_GlobalLightDirection_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return skadistats.clarity.wire.common.proto.DotaUserMessages.internal_static_CDOTAUserMsg_GlobalLightDirection_fieldAccessorTable
.ensureFieldAccessorsInitialized(
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_GlobalLightDirection.class, skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_GlobalLightDirection.Builder.class);
}
// Construct using skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_GlobalLightDirection.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
getDirectionFieldBuilder();
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
if (directionBuilder_ == null) {
direction_ = skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVector.getDefaultInstance();
} else {
directionBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
duration_ = 0F;
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return skadistats.clarity.wire.common.proto.DotaUserMessages.internal_static_CDOTAUserMsg_GlobalLightDirection_descriptor;
}
public skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_GlobalLightDirection getDefaultInstanceForType() {
return skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_GlobalLightDirection.getDefaultInstance();
}
public skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_GlobalLightDirection build() {
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_GlobalLightDirection result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_GlobalLightDirection buildPartial() {
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_GlobalLightDirection result = new skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_GlobalLightDirection(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
if (directionBuilder_ == null) {
result.direction_ = direction_;
} else {
result.direction_ = directionBuilder_.build();
}
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.duration_ = duration_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_GlobalLightDirection) {
return mergeFrom((skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_GlobalLightDirection)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_GlobalLightDirection other) {
if (other == skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_GlobalLightDirection.getDefaultInstance()) return this;
if (other.hasDirection()) {
mergeDirection(other.getDirection());
}
if (other.hasDuration()) {
setDuration(other.getDuration());
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_GlobalLightDirection parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_GlobalLightDirection) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVector direction_ = skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVector.getDefaultInstance();
private com.google.protobuf.SingleFieldBuilder<
skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVector, skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVector.Builder, skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVectorOrBuilder> directionBuilder_;
/**
* optional .CMsgVector direction = 1;
*/
public boolean hasDirection() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional .CMsgVector direction = 1;
*/
public skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVector getDirection() {
if (directionBuilder_ == null) {
return direction_;
} else {
return directionBuilder_.getMessage();
}
}
/**
* optional .CMsgVector direction = 1;
*/
public Builder setDirection(skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVector value) {
if (directionBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
direction_ = value;
onChanged();
} else {
directionBuilder_.setMessage(value);
}
bitField0_ |= 0x00000001;
return this;
}
/**
* optional .CMsgVector direction = 1;
*/
public Builder setDirection(
skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVector.Builder builderForValue) {
if (directionBuilder_ == null) {
direction_ = builderForValue.build();
onChanged();
} else {
directionBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000001;
return this;
}
/**
* optional .CMsgVector direction = 1;
*/
public Builder mergeDirection(skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVector value) {
if (directionBuilder_ == null) {
if (((bitField0_ & 0x00000001) == 0x00000001) &&
direction_ != skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVector.getDefaultInstance()) {
direction_ =
skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVector.newBuilder(direction_).mergeFrom(value).buildPartial();
} else {
direction_ = value;
}
onChanged();
} else {
directionBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000001;
return this;
}
/**
* optional .CMsgVector direction = 1;
*/
public Builder clearDirection() {
if (directionBuilder_ == null) {
direction_ = skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVector.getDefaultInstance();
onChanged();
} else {
directionBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
/**
* optional .CMsgVector direction = 1;
*/
public skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVector.Builder getDirectionBuilder() {
bitField0_ |= 0x00000001;
onChanged();
return getDirectionFieldBuilder().getBuilder();
}
/**
* optional .CMsgVector direction = 1;
*/
public skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVectorOrBuilder getDirectionOrBuilder() {
if (directionBuilder_ != null) {
return directionBuilder_.getMessageOrBuilder();
} else {
return direction_;
}
}
/**
* optional .CMsgVector direction = 1;
*/
private com.google.protobuf.SingleFieldBuilder<
skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVector, skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVector.Builder, skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVectorOrBuilder>
getDirectionFieldBuilder() {
if (directionBuilder_ == null) {
directionBuilder_ = new com.google.protobuf.SingleFieldBuilder<
skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVector, skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVector.Builder, skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVectorOrBuilder>(
getDirection(),
getParentForChildren(),
isClean());
direction_ = null;
}
return directionBuilder_;
}
private float duration_ ;
/**
* optional float duration = 2;
*/
public boolean hasDuration() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional float duration = 2;
*/
public float getDuration() {
return duration_;
}
/**
* optional float duration = 2;
*/
public Builder setDuration(float value) {
bitField0_ |= 0x00000002;
duration_ = value;
onChanged();
return this;
}
/**
* optional float duration = 2;
*/
public Builder clearDuration() {
bitField0_ = (bitField0_ & ~0x00000002);
duration_ = 0F;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:CDOTAUserMsg_GlobalLightDirection)
}
static {
defaultInstance = new CDOTAUserMsg_GlobalLightDirection(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:CDOTAUserMsg_GlobalLightDirection)
}
public interface CDOTAUserMsg_LocationPingOrBuilder extends
// @@protoc_insertion_point(interface_extends:CDOTAUserMsg_LocationPing)
com.google.protobuf.MessageOrBuilder {
/**
* optional uint32 player_id = 1;
*/
boolean hasPlayerId();
/**
* optional uint32 player_id = 1;
*/
int getPlayerId();
/**
* optional .CDOTAMsg_LocationPing location_ping = 2;
*/
boolean hasLocationPing();
/**
* optional .CDOTAMsg_LocationPing location_ping = 2;
*/
skadistats.clarity.wire.common.proto.DotaCommonMessages.CDOTAMsg_LocationPing getLocationPing();
/**
* optional .CDOTAMsg_LocationPing location_ping = 2;
*/
skadistats.clarity.wire.common.proto.DotaCommonMessages.CDOTAMsg_LocationPingOrBuilder getLocationPingOrBuilder();
}
/**
* Protobuf type {@code CDOTAUserMsg_LocationPing}
*/
public static final class CDOTAUserMsg_LocationPing extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:CDOTAUserMsg_LocationPing)
CDOTAUserMsg_LocationPingOrBuilder {
// Use CDOTAUserMsg_LocationPing.newBuilder() to construct.
private CDOTAUserMsg_LocationPing(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private CDOTAUserMsg_LocationPing(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final CDOTAUserMsg_LocationPing defaultInstance;
public static CDOTAUserMsg_LocationPing getDefaultInstance() {
return defaultInstance;
}
public CDOTAUserMsg_LocationPing getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private CDOTAUserMsg_LocationPing(
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;
playerId_ = input.readUInt32();
break;
}
case 18: {
skadistats.clarity.wire.common.proto.DotaCommonMessages.CDOTAMsg_LocationPing.Builder subBuilder = null;
if (((bitField0_ & 0x00000002) == 0x00000002)) {
subBuilder = locationPing_.toBuilder();
}
locationPing_ = input.readMessage(skadistats.clarity.wire.common.proto.DotaCommonMessages.CDOTAMsg_LocationPing.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(locationPing_);
locationPing_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000002;
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.common.proto.DotaUserMessages.internal_static_CDOTAUserMsg_LocationPing_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return skadistats.clarity.wire.common.proto.DotaUserMessages.internal_static_CDOTAUserMsg_LocationPing_fieldAccessorTable
.ensureFieldAccessorsInitialized(
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_LocationPing.class, skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_LocationPing.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public CDOTAUserMsg_LocationPing parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new CDOTAUserMsg_LocationPing(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
public static final int PLAYER_ID_FIELD_NUMBER = 1;
private int playerId_;
/**
* optional uint32 player_id = 1;
*/
public boolean hasPlayerId() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional uint32 player_id = 1;
*/
public int getPlayerId() {
return playerId_;
}
public static final int LOCATION_PING_FIELD_NUMBER = 2;
private skadistats.clarity.wire.common.proto.DotaCommonMessages.CDOTAMsg_LocationPing locationPing_;
/**
* optional .CDOTAMsg_LocationPing location_ping = 2;
*/
public boolean hasLocationPing() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional .CDOTAMsg_LocationPing location_ping = 2;
*/
public skadistats.clarity.wire.common.proto.DotaCommonMessages.CDOTAMsg_LocationPing getLocationPing() {
return locationPing_;
}
/**
* optional .CDOTAMsg_LocationPing location_ping = 2;
*/
public skadistats.clarity.wire.common.proto.DotaCommonMessages.CDOTAMsg_LocationPingOrBuilder getLocationPingOrBuilder() {
return locationPing_;
}
private void initFields() {
playerId_ = 0;
locationPing_ = skadistats.clarity.wire.common.proto.DotaCommonMessages.CDOTAMsg_LocationPing.getDefaultInstance();
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 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.writeUInt32(1, playerId_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeMessage(2, locationPing_);
}
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
.computeUInt32Size(1, playerId_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, locationPing_);
}
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.common.proto.DotaUserMessages.CDOTAUserMsg_LocationPing parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_LocationPing 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.common.proto.DotaUserMessages.CDOTAUserMsg_LocationPing parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_LocationPing parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_LocationPing parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_LocationPing parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_LocationPing parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_LocationPing parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_LocationPing parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_LocationPing 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.common.proto.DotaUserMessages.CDOTAUserMsg_LocationPing 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 CDOTAUserMsg_LocationPing}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:CDOTAUserMsg_LocationPing)
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_LocationPingOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return skadistats.clarity.wire.common.proto.DotaUserMessages.internal_static_CDOTAUserMsg_LocationPing_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return skadistats.clarity.wire.common.proto.DotaUserMessages.internal_static_CDOTAUserMsg_LocationPing_fieldAccessorTable
.ensureFieldAccessorsInitialized(
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_LocationPing.class, skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_LocationPing.Builder.class);
}
// Construct using skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_LocationPing.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
getLocationPingFieldBuilder();
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
playerId_ = 0;
bitField0_ = (bitField0_ & ~0x00000001);
if (locationPingBuilder_ == null) {
locationPing_ = skadistats.clarity.wire.common.proto.DotaCommonMessages.CDOTAMsg_LocationPing.getDefaultInstance();
} else {
locationPingBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return skadistats.clarity.wire.common.proto.DotaUserMessages.internal_static_CDOTAUserMsg_LocationPing_descriptor;
}
public skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_LocationPing getDefaultInstanceForType() {
return skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_LocationPing.getDefaultInstance();
}
public skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_LocationPing build() {
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_LocationPing result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_LocationPing buildPartial() {
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_LocationPing result = new skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_LocationPing(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.playerId_ = playerId_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
if (locationPingBuilder_ == null) {
result.locationPing_ = locationPing_;
} else {
result.locationPing_ = locationPingBuilder_.build();
}
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_LocationPing) {
return mergeFrom((skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_LocationPing)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_LocationPing other) {
if (other == skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_LocationPing.getDefaultInstance()) return this;
if (other.hasPlayerId()) {
setPlayerId(other.getPlayerId());
}
if (other.hasLocationPing()) {
mergeLocationPing(other.getLocationPing());
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_LocationPing parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_LocationPing) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private int playerId_ ;
/**
* optional uint32 player_id = 1;
*/
public boolean hasPlayerId() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional uint32 player_id = 1;
*/
public int getPlayerId() {
return playerId_;
}
/**
* optional uint32 player_id = 1;
*/
public Builder setPlayerId(int value) {
bitField0_ |= 0x00000001;
playerId_ = value;
onChanged();
return this;
}
/**
* optional uint32 player_id = 1;
*/
public Builder clearPlayerId() {
bitField0_ = (bitField0_ & ~0x00000001);
playerId_ = 0;
onChanged();
return this;
}
private skadistats.clarity.wire.common.proto.DotaCommonMessages.CDOTAMsg_LocationPing locationPing_ = skadistats.clarity.wire.common.proto.DotaCommonMessages.CDOTAMsg_LocationPing.getDefaultInstance();
private com.google.protobuf.SingleFieldBuilder<
skadistats.clarity.wire.common.proto.DotaCommonMessages.CDOTAMsg_LocationPing, skadistats.clarity.wire.common.proto.DotaCommonMessages.CDOTAMsg_LocationPing.Builder, skadistats.clarity.wire.common.proto.DotaCommonMessages.CDOTAMsg_LocationPingOrBuilder> locationPingBuilder_;
/**
* optional .CDOTAMsg_LocationPing location_ping = 2;
*/
public boolean hasLocationPing() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional .CDOTAMsg_LocationPing location_ping = 2;
*/
public skadistats.clarity.wire.common.proto.DotaCommonMessages.CDOTAMsg_LocationPing getLocationPing() {
if (locationPingBuilder_ == null) {
return locationPing_;
} else {
return locationPingBuilder_.getMessage();
}
}
/**
* optional .CDOTAMsg_LocationPing location_ping = 2;
*/
public Builder setLocationPing(skadistats.clarity.wire.common.proto.DotaCommonMessages.CDOTAMsg_LocationPing value) {
if (locationPingBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
locationPing_ = value;
onChanged();
} else {
locationPingBuilder_.setMessage(value);
}
bitField0_ |= 0x00000002;
return this;
}
/**
* optional .CDOTAMsg_LocationPing location_ping = 2;
*/
public Builder setLocationPing(
skadistats.clarity.wire.common.proto.DotaCommonMessages.CDOTAMsg_LocationPing.Builder builderForValue) {
if (locationPingBuilder_ == null) {
locationPing_ = builderForValue.build();
onChanged();
} else {
locationPingBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000002;
return this;
}
/**
* optional .CDOTAMsg_LocationPing location_ping = 2;
*/
public Builder mergeLocationPing(skadistats.clarity.wire.common.proto.DotaCommonMessages.CDOTAMsg_LocationPing value) {
if (locationPingBuilder_ == null) {
if (((bitField0_ & 0x00000002) == 0x00000002) &&
locationPing_ != skadistats.clarity.wire.common.proto.DotaCommonMessages.CDOTAMsg_LocationPing.getDefaultInstance()) {
locationPing_ =
skadistats.clarity.wire.common.proto.DotaCommonMessages.CDOTAMsg_LocationPing.newBuilder(locationPing_).mergeFrom(value).buildPartial();
} else {
locationPing_ = value;
}
onChanged();
} else {
locationPingBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000002;
return this;
}
/**
* optional .CDOTAMsg_LocationPing location_ping = 2;
*/
public Builder clearLocationPing() {
if (locationPingBuilder_ == null) {
locationPing_ = skadistats.clarity.wire.common.proto.DotaCommonMessages.CDOTAMsg_LocationPing.getDefaultInstance();
onChanged();
} else {
locationPingBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
/**
* optional .CDOTAMsg_LocationPing location_ping = 2;
*/
public skadistats.clarity.wire.common.proto.DotaCommonMessages.CDOTAMsg_LocationPing.Builder getLocationPingBuilder() {
bitField0_ |= 0x00000002;
onChanged();
return getLocationPingFieldBuilder().getBuilder();
}
/**
* optional .CDOTAMsg_LocationPing location_ping = 2;
*/
public skadistats.clarity.wire.common.proto.DotaCommonMessages.CDOTAMsg_LocationPingOrBuilder getLocationPingOrBuilder() {
if (locationPingBuilder_ != null) {
return locationPingBuilder_.getMessageOrBuilder();
} else {
return locationPing_;
}
}
/**
* optional .CDOTAMsg_LocationPing location_ping = 2;
*/
private com.google.protobuf.SingleFieldBuilder<
skadistats.clarity.wire.common.proto.DotaCommonMessages.CDOTAMsg_LocationPing, skadistats.clarity.wire.common.proto.DotaCommonMessages.CDOTAMsg_LocationPing.Builder, skadistats.clarity.wire.common.proto.DotaCommonMessages.CDOTAMsg_LocationPingOrBuilder>
getLocationPingFieldBuilder() {
if (locationPingBuilder_ == null) {
locationPingBuilder_ = new com.google.protobuf.SingleFieldBuilder<
skadistats.clarity.wire.common.proto.DotaCommonMessages.CDOTAMsg_LocationPing, skadistats.clarity.wire.common.proto.DotaCommonMessages.CDOTAMsg_LocationPing.Builder, skadistats.clarity.wire.common.proto.DotaCommonMessages.CDOTAMsg_LocationPingOrBuilder>(
getLocationPing(),
getParentForChildren(),
isClean());
locationPing_ = null;
}
return locationPingBuilder_;
}
// @@protoc_insertion_point(builder_scope:CDOTAUserMsg_LocationPing)
}
static {
defaultInstance = new CDOTAUserMsg_LocationPing(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:CDOTAUserMsg_LocationPing)
}
public interface CDOTAUserMsg_PingConfirmationOrBuilder extends
// @@protoc_insertion_point(interface_extends:CDOTAUserMsg_PingConfirmation)
com.google.protobuf.MessageOrBuilder {
/**
* optional uint32 player_id_of_original_pinger = 1;
*/
boolean hasPlayerIdOfOriginalPinger();
/**
* optional uint32 player_id_of_original_pinger = 1;
*/
int getPlayerIdOfOriginalPinger();
/**
* optional uint32 entity_index = 2;
*/
boolean hasEntityIndex();
/**
* optional uint32 entity_index = 2;
*/
int getEntityIndex();
/**
* optional uint32 icon_type = 3;
*/
boolean hasIconType();
/**
* optional uint32 icon_type = 3;
*/
int getIconType();
/**
* optional .CMsgVector location = 4;
*/
boolean hasLocation();
/**
* optional .CMsgVector location = 4;
*/
skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVector getLocation();
/**
* optional .CMsgVector location = 4;
*/
skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVectorOrBuilder getLocationOrBuilder();
}
/**
* Protobuf type {@code CDOTAUserMsg_PingConfirmation}
*/
public static final class CDOTAUserMsg_PingConfirmation extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:CDOTAUserMsg_PingConfirmation)
CDOTAUserMsg_PingConfirmationOrBuilder {
// Use CDOTAUserMsg_PingConfirmation.newBuilder() to construct.
private CDOTAUserMsg_PingConfirmation(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private CDOTAUserMsg_PingConfirmation(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final CDOTAUserMsg_PingConfirmation defaultInstance;
public static CDOTAUserMsg_PingConfirmation getDefaultInstance() {
return defaultInstance;
}
public CDOTAUserMsg_PingConfirmation getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private CDOTAUserMsg_PingConfirmation(
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;
playerIdOfOriginalPinger_ = input.readUInt32();
break;
}
case 16: {
bitField0_ |= 0x00000002;
entityIndex_ = input.readUInt32();
break;
}
case 24: {
bitField0_ |= 0x00000004;
iconType_ = input.readUInt32();
break;
}
case 34: {
skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVector.Builder subBuilder = null;
if (((bitField0_ & 0x00000008) == 0x00000008)) {
subBuilder = location_.toBuilder();
}
location_ = input.readMessage(skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVector.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(location_);
location_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000008;
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.common.proto.DotaUserMessages.internal_static_CDOTAUserMsg_PingConfirmation_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return skadistats.clarity.wire.common.proto.DotaUserMessages.internal_static_CDOTAUserMsg_PingConfirmation_fieldAccessorTable
.ensureFieldAccessorsInitialized(
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_PingConfirmation.class, skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_PingConfirmation.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public CDOTAUserMsg_PingConfirmation parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new CDOTAUserMsg_PingConfirmation(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
public static final int PLAYER_ID_OF_ORIGINAL_PINGER_FIELD_NUMBER = 1;
private int playerIdOfOriginalPinger_;
/**
* optional uint32 player_id_of_original_pinger = 1;
*/
public boolean hasPlayerIdOfOriginalPinger() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional uint32 player_id_of_original_pinger = 1;
*/
public int getPlayerIdOfOriginalPinger() {
return playerIdOfOriginalPinger_;
}
public static final int ENTITY_INDEX_FIELD_NUMBER = 2;
private int entityIndex_;
/**
* optional uint32 entity_index = 2;
*/
public boolean hasEntityIndex() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional uint32 entity_index = 2;
*/
public int getEntityIndex() {
return entityIndex_;
}
public static final int ICON_TYPE_FIELD_NUMBER = 3;
private int iconType_;
/**
* optional uint32 icon_type = 3;
*/
public boolean hasIconType() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional uint32 icon_type = 3;
*/
public int getIconType() {
return iconType_;
}
public static final int LOCATION_FIELD_NUMBER = 4;
private skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVector location_;
/**
* optional .CMsgVector location = 4;
*/
public boolean hasLocation() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* optional .CMsgVector location = 4;
*/
public skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVector getLocation() {
return location_;
}
/**
* optional .CMsgVector location = 4;
*/
public skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVectorOrBuilder getLocationOrBuilder() {
return location_;
}
private void initFields() {
playerIdOfOriginalPinger_ = 0;
entityIndex_ = 0;
iconType_ = 0;
location_ = skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVector.getDefaultInstance();
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 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.writeUInt32(1, playerIdOfOriginalPinger_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeUInt32(2, entityIndex_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
output.writeUInt32(3, iconType_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
output.writeMessage(4, location_);
}
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
.computeUInt32Size(1, playerIdOfOriginalPinger_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(2, entityIndex_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(3, iconType_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, location_);
}
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.common.proto.DotaUserMessages.CDOTAUserMsg_PingConfirmation parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_PingConfirmation 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.common.proto.DotaUserMessages.CDOTAUserMsg_PingConfirmation parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_PingConfirmation parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_PingConfirmation parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_PingConfirmation parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_PingConfirmation parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_PingConfirmation parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_PingConfirmation parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_PingConfirmation 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.common.proto.DotaUserMessages.CDOTAUserMsg_PingConfirmation 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 CDOTAUserMsg_PingConfirmation}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:CDOTAUserMsg_PingConfirmation)
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_PingConfirmationOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return skadistats.clarity.wire.common.proto.DotaUserMessages.internal_static_CDOTAUserMsg_PingConfirmation_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return skadistats.clarity.wire.common.proto.DotaUserMessages.internal_static_CDOTAUserMsg_PingConfirmation_fieldAccessorTable
.ensureFieldAccessorsInitialized(
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_PingConfirmation.class, skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_PingConfirmation.Builder.class);
}
// Construct using skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_PingConfirmation.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
getLocationFieldBuilder();
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
playerIdOfOriginalPinger_ = 0;
bitField0_ = (bitField0_ & ~0x00000001);
entityIndex_ = 0;
bitField0_ = (bitField0_ & ~0x00000002);
iconType_ = 0;
bitField0_ = (bitField0_ & ~0x00000004);
if (locationBuilder_ == null) {
location_ = skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVector.getDefaultInstance();
} else {
locationBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000008);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return skadistats.clarity.wire.common.proto.DotaUserMessages.internal_static_CDOTAUserMsg_PingConfirmation_descriptor;
}
public skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_PingConfirmation getDefaultInstanceForType() {
return skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_PingConfirmation.getDefaultInstance();
}
public skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_PingConfirmation build() {
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_PingConfirmation result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_PingConfirmation buildPartial() {
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_PingConfirmation result = new skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_PingConfirmation(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.playerIdOfOriginalPinger_ = playerIdOfOriginalPinger_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.entityIndex_ = entityIndex_;
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
to_bitField0_ |= 0x00000004;
}
result.iconType_ = iconType_;
if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
to_bitField0_ |= 0x00000008;
}
if (locationBuilder_ == null) {
result.location_ = location_;
} else {
result.location_ = locationBuilder_.build();
}
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_PingConfirmation) {
return mergeFrom((skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_PingConfirmation)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_PingConfirmation other) {
if (other == skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_PingConfirmation.getDefaultInstance()) return this;
if (other.hasPlayerIdOfOriginalPinger()) {
setPlayerIdOfOriginalPinger(other.getPlayerIdOfOriginalPinger());
}
if (other.hasEntityIndex()) {
setEntityIndex(other.getEntityIndex());
}
if (other.hasIconType()) {
setIconType(other.getIconType());
}
if (other.hasLocation()) {
mergeLocation(other.getLocation());
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_PingConfirmation parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_PingConfirmation) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private int playerIdOfOriginalPinger_ ;
/**
* optional uint32 player_id_of_original_pinger = 1;
*/
public boolean hasPlayerIdOfOriginalPinger() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional uint32 player_id_of_original_pinger = 1;
*/
public int getPlayerIdOfOriginalPinger() {
return playerIdOfOriginalPinger_;
}
/**
* optional uint32 player_id_of_original_pinger = 1;
*/
public Builder setPlayerIdOfOriginalPinger(int value) {
bitField0_ |= 0x00000001;
playerIdOfOriginalPinger_ = value;
onChanged();
return this;
}
/**
* optional uint32 player_id_of_original_pinger = 1;
*/
public Builder clearPlayerIdOfOriginalPinger() {
bitField0_ = (bitField0_ & ~0x00000001);
playerIdOfOriginalPinger_ = 0;
onChanged();
return this;
}
private int entityIndex_ ;
/**
* optional uint32 entity_index = 2;
*/
public boolean hasEntityIndex() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional uint32 entity_index = 2;
*/
public int getEntityIndex() {
return entityIndex_;
}
/**
* optional uint32 entity_index = 2;
*/
public Builder setEntityIndex(int value) {
bitField0_ |= 0x00000002;
entityIndex_ = value;
onChanged();
return this;
}
/**
* optional uint32 entity_index = 2;
*/
public Builder clearEntityIndex() {
bitField0_ = (bitField0_ & ~0x00000002);
entityIndex_ = 0;
onChanged();
return this;
}
private int iconType_ ;
/**
* optional uint32 icon_type = 3;
*/
public boolean hasIconType() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional uint32 icon_type = 3;
*/
public int getIconType() {
return iconType_;
}
/**
* optional uint32 icon_type = 3;
*/
public Builder setIconType(int value) {
bitField0_ |= 0x00000004;
iconType_ = value;
onChanged();
return this;
}
/**
* optional uint32 icon_type = 3;
*/
public Builder clearIconType() {
bitField0_ = (bitField0_ & ~0x00000004);
iconType_ = 0;
onChanged();
return this;
}
private skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVector location_ = skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVector.getDefaultInstance();
private com.google.protobuf.SingleFieldBuilder<
skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVector, skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVector.Builder, skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVectorOrBuilder> locationBuilder_;
/**
* optional .CMsgVector location = 4;
*/
public boolean hasLocation() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* optional .CMsgVector location = 4;
*/
public skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVector getLocation() {
if (locationBuilder_ == null) {
return location_;
} else {
return locationBuilder_.getMessage();
}
}
/**
* optional .CMsgVector location = 4;
*/
public Builder setLocation(skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVector value) {
if (locationBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
location_ = value;
onChanged();
} else {
locationBuilder_.setMessage(value);
}
bitField0_ |= 0x00000008;
return this;
}
/**
* optional .CMsgVector location = 4;
*/
public Builder setLocation(
skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVector.Builder builderForValue) {
if (locationBuilder_ == null) {
location_ = builderForValue.build();
onChanged();
} else {
locationBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000008;
return this;
}
/**
* optional .CMsgVector location = 4;
*/
public Builder mergeLocation(skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVector value) {
if (locationBuilder_ == null) {
if (((bitField0_ & 0x00000008) == 0x00000008) &&
location_ != skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVector.getDefaultInstance()) {
location_ =
skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVector.newBuilder(location_).mergeFrom(value).buildPartial();
} else {
location_ = value;
}
onChanged();
} else {
locationBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000008;
return this;
}
/**
* optional .CMsgVector location = 4;
*/
public Builder clearLocation() {
if (locationBuilder_ == null) {
location_ = skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVector.getDefaultInstance();
onChanged();
} else {
locationBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000008);
return this;
}
/**
* optional .CMsgVector location = 4;
*/
public skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVector.Builder getLocationBuilder() {
bitField0_ |= 0x00000008;
onChanged();
return getLocationFieldBuilder().getBuilder();
}
/**
* optional .CMsgVector location = 4;
*/
public skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVectorOrBuilder getLocationOrBuilder() {
if (locationBuilder_ != null) {
return locationBuilder_.getMessageOrBuilder();
} else {
return location_;
}
}
/**
* optional .CMsgVector location = 4;
*/
private com.google.protobuf.SingleFieldBuilder<
skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVector, skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVector.Builder, skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVectorOrBuilder>
getLocationFieldBuilder() {
if (locationBuilder_ == null) {
locationBuilder_ = new com.google.protobuf.SingleFieldBuilder<
skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVector, skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVector.Builder, skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVectorOrBuilder>(
getLocation(),
getParentForChildren(),
isClean());
location_ = null;
}
return locationBuilder_;
}
// @@protoc_insertion_point(builder_scope:CDOTAUserMsg_PingConfirmation)
}
static {
defaultInstance = new CDOTAUserMsg_PingConfirmation(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:CDOTAUserMsg_PingConfirmation)
}
public interface CDOTAUserMsg_EnemyItemAlertOrBuilder extends
// @@protoc_insertion_point(interface_extends:CDOTAUserMsg_EnemyItemAlert)
com.google.protobuf.MessageOrBuilder {
/**
* optional uint32 player_id = 1;
*/
boolean hasPlayerId();
/**
* optional uint32 player_id = 1;
*/
int getPlayerId();
/**
* optional uint32 target_player_id = 2;
*/
boolean hasTargetPlayerId();
/**
* optional uint32 target_player_id = 2;
*/
int getTargetPlayerId();
/**
* optional int32 item_ability_id = 3;
*/
boolean hasItemAbilityId();
/**
* optional int32 item_ability_id = 3;
*/
int getItemAbilityId();
/**
* optional int32 rune_type = 4 [default = -1];
*/
boolean hasRuneType();
/**
* optional int32 rune_type = 4 [default = -1];
*/
int getRuneType();
/**
* optional int32 entity_id = 5;
*/
boolean hasEntityId();
/**
* optional int32 entity_id = 5;
*/
int getEntityId();
/**
* optional int32 item_level = 6 [default = -1];
*/
boolean hasItemLevel();
/**
* optional int32 item_level = 6 [default = -1];
*/
int getItemLevel();
/**
* optional int32 primary_charges = 7 [default = -1];
*/
boolean hasPrimaryCharges();
/**
* optional int32 primary_charges = 7 [default = -1];
*/
int getPrimaryCharges();
/**
* optional int32 secondary_charges = 8 [default = -1];
*/
boolean hasSecondaryCharges();
/**
* optional int32 secondary_charges = 8 [default = -1];
*/
int getSecondaryCharges();
}
/**
* Protobuf type {@code CDOTAUserMsg_EnemyItemAlert}
*/
public static final class CDOTAUserMsg_EnemyItemAlert extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:CDOTAUserMsg_EnemyItemAlert)
CDOTAUserMsg_EnemyItemAlertOrBuilder {
// Use CDOTAUserMsg_EnemyItemAlert.newBuilder() to construct.
private CDOTAUserMsg_EnemyItemAlert(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private CDOTAUserMsg_EnemyItemAlert(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final CDOTAUserMsg_EnemyItemAlert defaultInstance;
public static CDOTAUserMsg_EnemyItemAlert getDefaultInstance() {
return defaultInstance;
}
public CDOTAUserMsg_EnemyItemAlert getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private CDOTAUserMsg_EnemyItemAlert(
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;
playerId_ = input.readUInt32();
break;
}
case 16: {
bitField0_ |= 0x00000002;
targetPlayerId_ = input.readUInt32();
break;
}
case 24: {
bitField0_ |= 0x00000004;
itemAbilityId_ = input.readInt32();
break;
}
case 32: {
bitField0_ |= 0x00000008;
runeType_ = input.readInt32();
break;
}
case 40: {
bitField0_ |= 0x00000010;
entityId_ = input.readInt32();
break;
}
case 48: {
bitField0_ |= 0x00000020;
itemLevel_ = input.readInt32();
break;
}
case 56: {
bitField0_ |= 0x00000040;
primaryCharges_ = input.readInt32();
break;
}
case 64: {
bitField0_ |= 0x00000080;
secondaryCharges_ = input.readInt32();
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.common.proto.DotaUserMessages.internal_static_CDOTAUserMsg_EnemyItemAlert_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return skadistats.clarity.wire.common.proto.DotaUserMessages.internal_static_CDOTAUserMsg_EnemyItemAlert_fieldAccessorTable
.ensureFieldAccessorsInitialized(
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_EnemyItemAlert.class, skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_EnemyItemAlert.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public CDOTAUserMsg_EnemyItemAlert parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new CDOTAUserMsg_EnemyItemAlert(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
public static final int PLAYER_ID_FIELD_NUMBER = 1;
private int playerId_;
/**
* optional uint32 player_id = 1;
*/
public boolean hasPlayerId() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional uint32 player_id = 1;
*/
public int getPlayerId() {
return playerId_;
}
public static final int TARGET_PLAYER_ID_FIELD_NUMBER = 2;
private int targetPlayerId_;
/**
* optional uint32 target_player_id = 2;
*/
public boolean hasTargetPlayerId() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional uint32 target_player_id = 2;
*/
public int getTargetPlayerId() {
return targetPlayerId_;
}
public static final int ITEM_ABILITY_ID_FIELD_NUMBER = 3;
private int itemAbilityId_;
/**
* optional int32 item_ability_id = 3;
*/
public boolean hasItemAbilityId() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional int32 item_ability_id = 3;
*/
public int getItemAbilityId() {
return itemAbilityId_;
}
public static final int RUNE_TYPE_FIELD_NUMBER = 4;
private int runeType_;
/**
* optional int32 rune_type = 4 [default = -1];
*/
public boolean hasRuneType() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* optional int32 rune_type = 4 [default = -1];
*/
public int getRuneType() {
return runeType_;
}
public static final int ENTITY_ID_FIELD_NUMBER = 5;
private int entityId_;
/**
* optional int32 entity_id = 5;
*/
public boolean hasEntityId() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
/**
* optional int32 entity_id = 5;
*/
public int getEntityId() {
return entityId_;
}
public static final int ITEM_LEVEL_FIELD_NUMBER = 6;
private int itemLevel_;
/**
* optional int32 item_level = 6 [default = -1];
*/
public boolean hasItemLevel() {
return ((bitField0_ & 0x00000020) == 0x00000020);
}
/**
* optional int32 item_level = 6 [default = -1];
*/
public int getItemLevel() {
return itemLevel_;
}
public static final int PRIMARY_CHARGES_FIELD_NUMBER = 7;
private int primaryCharges_;
/**
* optional int32 primary_charges = 7 [default = -1];
*/
public boolean hasPrimaryCharges() {
return ((bitField0_ & 0x00000040) == 0x00000040);
}
/**
* optional int32 primary_charges = 7 [default = -1];
*/
public int getPrimaryCharges() {
return primaryCharges_;
}
public static final int SECONDARY_CHARGES_FIELD_NUMBER = 8;
private int secondaryCharges_;
/**
* optional int32 secondary_charges = 8 [default = -1];
*/
public boolean hasSecondaryCharges() {
return ((bitField0_ & 0x00000080) == 0x00000080);
}
/**
* optional int32 secondary_charges = 8 [default = -1];
*/
public int getSecondaryCharges() {
return secondaryCharges_;
}
private void initFields() {
playerId_ = 0;
targetPlayerId_ = 0;
itemAbilityId_ = 0;
runeType_ = -1;
entityId_ = 0;
itemLevel_ = -1;
primaryCharges_ = -1;
secondaryCharges_ = -1;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 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.writeUInt32(1, playerId_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeUInt32(2, targetPlayerId_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
output.writeInt32(3, itemAbilityId_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
output.writeInt32(4, runeType_);
}
if (((bitField0_ & 0x00000010) == 0x00000010)) {
output.writeInt32(5, entityId_);
}
if (((bitField0_ & 0x00000020) == 0x00000020)) {
output.writeInt32(6, itemLevel_);
}
if (((bitField0_ & 0x00000040) == 0x00000040)) {
output.writeInt32(7, primaryCharges_);
}
if (((bitField0_ & 0x00000080) == 0x00000080)) {
output.writeInt32(8, secondaryCharges_);
}
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
.computeUInt32Size(1, playerId_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(2, targetPlayerId_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(3, itemAbilityId_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(4, runeType_);
}
if (((bitField0_ & 0x00000010) == 0x00000010)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(5, entityId_);
}
if (((bitField0_ & 0x00000020) == 0x00000020)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(6, itemLevel_);
}
if (((bitField0_ & 0x00000040) == 0x00000040)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(7, primaryCharges_);
}
if (((bitField0_ & 0x00000080) == 0x00000080)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(8, secondaryCharges_);
}
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.common.proto.DotaUserMessages.CDOTAUserMsg_EnemyItemAlert parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_EnemyItemAlert 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.common.proto.DotaUserMessages.CDOTAUserMsg_EnemyItemAlert parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_EnemyItemAlert parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_EnemyItemAlert parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_EnemyItemAlert parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_EnemyItemAlert parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_EnemyItemAlert parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_EnemyItemAlert parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_EnemyItemAlert 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.common.proto.DotaUserMessages.CDOTAUserMsg_EnemyItemAlert 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 CDOTAUserMsg_EnemyItemAlert}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:CDOTAUserMsg_EnemyItemAlert)
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_EnemyItemAlertOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return skadistats.clarity.wire.common.proto.DotaUserMessages.internal_static_CDOTAUserMsg_EnemyItemAlert_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return skadistats.clarity.wire.common.proto.DotaUserMessages.internal_static_CDOTAUserMsg_EnemyItemAlert_fieldAccessorTable
.ensureFieldAccessorsInitialized(
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_EnemyItemAlert.class, skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_EnemyItemAlert.Builder.class);
}
// Construct using skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_EnemyItemAlert.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();
playerId_ = 0;
bitField0_ = (bitField0_ & ~0x00000001);
targetPlayerId_ = 0;
bitField0_ = (bitField0_ & ~0x00000002);
itemAbilityId_ = 0;
bitField0_ = (bitField0_ & ~0x00000004);
runeType_ = -1;
bitField0_ = (bitField0_ & ~0x00000008);
entityId_ = 0;
bitField0_ = (bitField0_ & ~0x00000010);
itemLevel_ = -1;
bitField0_ = (bitField0_ & ~0x00000020);
primaryCharges_ = -1;
bitField0_ = (bitField0_ & ~0x00000040);
secondaryCharges_ = -1;
bitField0_ = (bitField0_ & ~0x00000080);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return skadistats.clarity.wire.common.proto.DotaUserMessages.internal_static_CDOTAUserMsg_EnemyItemAlert_descriptor;
}
public skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_EnemyItemAlert getDefaultInstanceForType() {
return skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_EnemyItemAlert.getDefaultInstance();
}
public skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_EnemyItemAlert build() {
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_EnemyItemAlert result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_EnemyItemAlert buildPartial() {
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_EnemyItemAlert result = new skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_EnemyItemAlert(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.playerId_ = playerId_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.targetPlayerId_ = targetPlayerId_;
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
to_bitField0_ |= 0x00000004;
}
result.itemAbilityId_ = itemAbilityId_;
if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
to_bitField0_ |= 0x00000008;
}
result.runeType_ = runeType_;
if (((from_bitField0_ & 0x00000010) == 0x00000010)) {
to_bitField0_ |= 0x00000010;
}
result.entityId_ = entityId_;
if (((from_bitField0_ & 0x00000020) == 0x00000020)) {
to_bitField0_ |= 0x00000020;
}
result.itemLevel_ = itemLevel_;
if (((from_bitField0_ & 0x00000040) == 0x00000040)) {
to_bitField0_ |= 0x00000040;
}
result.primaryCharges_ = primaryCharges_;
if (((from_bitField0_ & 0x00000080) == 0x00000080)) {
to_bitField0_ |= 0x00000080;
}
result.secondaryCharges_ = secondaryCharges_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_EnemyItemAlert) {
return mergeFrom((skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_EnemyItemAlert)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_EnemyItemAlert other) {
if (other == skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_EnemyItemAlert.getDefaultInstance()) return this;
if (other.hasPlayerId()) {
setPlayerId(other.getPlayerId());
}
if (other.hasTargetPlayerId()) {
setTargetPlayerId(other.getTargetPlayerId());
}
if (other.hasItemAbilityId()) {
setItemAbilityId(other.getItemAbilityId());
}
if (other.hasRuneType()) {
setRuneType(other.getRuneType());
}
if (other.hasEntityId()) {
setEntityId(other.getEntityId());
}
if (other.hasItemLevel()) {
setItemLevel(other.getItemLevel());
}
if (other.hasPrimaryCharges()) {
setPrimaryCharges(other.getPrimaryCharges());
}
if (other.hasSecondaryCharges()) {
setSecondaryCharges(other.getSecondaryCharges());
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_EnemyItemAlert parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_EnemyItemAlert) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private int playerId_ ;
/**
* optional uint32 player_id = 1;
*/
public boolean hasPlayerId() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional uint32 player_id = 1;
*/
public int getPlayerId() {
return playerId_;
}
/**
* optional uint32 player_id = 1;
*/
public Builder setPlayerId(int value) {
bitField0_ |= 0x00000001;
playerId_ = value;
onChanged();
return this;
}
/**
* optional uint32 player_id = 1;
*/
public Builder clearPlayerId() {
bitField0_ = (bitField0_ & ~0x00000001);
playerId_ = 0;
onChanged();
return this;
}
private int targetPlayerId_ ;
/**
* optional uint32 target_player_id = 2;
*/
public boolean hasTargetPlayerId() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional uint32 target_player_id = 2;
*/
public int getTargetPlayerId() {
return targetPlayerId_;
}
/**
* optional uint32 target_player_id = 2;
*/
public Builder setTargetPlayerId(int value) {
bitField0_ |= 0x00000002;
targetPlayerId_ = value;
onChanged();
return this;
}
/**
* optional uint32 target_player_id = 2;
*/
public Builder clearTargetPlayerId() {
bitField0_ = (bitField0_ & ~0x00000002);
targetPlayerId_ = 0;
onChanged();
return this;
}
private int itemAbilityId_ ;
/**
* optional int32 item_ability_id = 3;
*/
public boolean hasItemAbilityId() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional int32 item_ability_id = 3;
*/
public int getItemAbilityId() {
return itemAbilityId_;
}
/**
* optional int32 item_ability_id = 3;
*/
public Builder setItemAbilityId(int value) {
bitField0_ |= 0x00000004;
itemAbilityId_ = value;
onChanged();
return this;
}
/**
* optional int32 item_ability_id = 3;
*/
public Builder clearItemAbilityId() {
bitField0_ = (bitField0_ & ~0x00000004);
itemAbilityId_ = 0;
onChanged();
return this;
}
private int runeType_ = -1;
/**
* optional int32 rune_type = 4 [default = -1];
*/
public boolean hasRuneType() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* optional int32 rune_type = 4 [default = -1];
*/
public int getRuneType() {
return runeType_;
}
/**
* optional int32 rune_type = 4 [default = -1];
*/
public Builder setRuneType(int value) {
bitField0_ |= 0x00000008;
runeType_ = value;
onChanged();
return this;
}
/**
* optional int32 rune_type = 4 [default = -1];
*/
public Builder clearRuneType() {
bitField0_ = (bitField0_ & ~0x00000008);
runeType_ = -1;
onChanged();
return this;
}
private int entityId_ ;
/**
* optional int32 entity_id = 5;
*/
public boolean hasEntityId() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
/**
* optional int32 entity_id = 5;
*/
public int getEntityId() {
return entityId_;
}
/**
* optional int32 entity_id = 5;
*/
public Builder setEntityId(int value) {
bitField0_ |= 0x00000010;
entityId_ = value;
onChanged();
return this;
}
/**
* optional int32 entity_id = 5;
*/
public Builder clearEntityId() {
bitField0_ = (bitField0_ & ~0x00000010);
entityId_ = 0;
onChanged();
return this;
}
private int itemLevel_ = -1;
/**
* optional int32 item_level = 6 [default = -1];
*/
public boolean hasItemLevel() {
return ((bitField0_ & 0x00000020) == 0x00000020);
}
/**
* optional int32 item_level = 6 [default = -1];
*/
public int getItemLevel() {
return itemLevel_;
}
/**
* optional int32 item_level = 6 [default = -1];
*/
public Builder setItemLevel(int value) {
bitField0_ |= 0x00000020;
itemLevel_ = value;
onChanged();
return this;
}
/**
* optional int32 item_level = 6 [default = -1];
*/
public Builder clearItemLevel() {
bitField0_ = (bitField0_ & ~0x00000020);
itemLevel_ = -1;
onChanged();
return this;
}
private int primaryCharges_ = -1;
/**
* optional int32 primary_charges = 7 [default = -1];
*/
public boolean hasPrimaryCharges() {
return ((bitField0_ & 0x00000040) == 0x00000040);
}
/**
* optional int32 primary_charges = 7 [default = -1];
*/
public int getPrimaryCharges() {
return primaryCharges_;
}
/**
* optional int32 primary_charges = 7 [default = -1];
*/
public Builder setPrimaryCharges(int value) {
bitField0_ |= 0x00000040;
primaryCharges_ = value;
onChanged();
return this;
}
/**
* optional int32 primary_charges = 7 [default = -1];
*/
public Builder clearPrimaryCharges() {
bitField0_ = (bitField0_ & ~0x00000040);
primaryCharges_ = -1;
onChanged();
return this;
}
private int secondaryCharges_ = -1;
/**
* optional int32 secondary_charges = 8 [default = -1];
*/
public boolean hasSecondaryCharges() {
return ((bitField0_ & 0x00000080) == 0x00000080);
}
/**
* optional int32 secondary_charges = 8 [default = -1];
*/
public int getSecondaryCharges() {
return secondaryCharges_;
}
/**
* optional int32 secondary_charges = 8 [default = -1];
*/
public Builder setSecondaryCharges(int value) {
bitField0_ |= 0x00000080;
secondaryCharges_ = value;
onChanged();
return this;
}
/**
* optional int32 secondary_charges = 8 [default = -1];
*/
public Builder clearSecondaryCharges() {
bitField0_ = (bitField0_ & ~0x00000080);
secondaryCharges_ = -1;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:CDOTAUserMsg_EnemyItemAlert)
}
static {
defaultInstance = new CDOTAUserMsg_EnemyItemAlert(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:CDOTAUserMsg_EnemyItemAlert)
}
public interface CDOTAUserMsg_ModifierAlertOrBuilder extends
// @@protoc_insertion_point(interface_extends:CDOTAUserMsg_ModifierAlert)
com.google.protobuf.MessageOrBuilder {
/**
* optional uint32 player_id = 1;
*/
boolean hasPlayerId();
/**
* optional uint32 player_id = 1;
*/
int getPlayerId();
/**
* optional string class_name = 2;
*/
boolean hasClassName();
/**
* optional string class_name = 2;
*/
java.lang.String getClassName();
/**
* optional string class_name = 2;
*/
com.google.protobuf.ByteString
getClassNameBytes();
/**
* optional uint32 stack_count = 3;
*/
boolean hasStackCount();
/**
* optional uint32 stack_count = 3;
*/
int getStackCount();
/**
* optional bool is_debuff = 4;
*/
boolean hasIsDebuff();
/**
* optional bool is_debuff = 4;
*/
boolean getIsDebuff();
/**
* optional uint32 target_entindex = 5;
*/
boolean hasTargetEntindex();
/**
* optional uint32 target_entindex = 5;
*/
int getTargetEntindex();
/**
* optional float seconds_remaining = 6;
*/
boolean hasSecondsRemaining();
/**
* optional float seconds_remaining = 6;
*/
float getSecondsRemaining();
}
/**
* Protobuf type {@code CDOTAUserMsg_ModifierAlert}
*/
public static final class CDOTAUserMsg_ModifierAlert extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:CDOTAUserMsg_ModifierAlert)
CDOTAUserMsg_ModifierAlertOrBuilder {
// Use CDOTAUserMsg_ModifierAlert.newBuilder() to construct.
private CDOTAUserMsg_ModifierAlert(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private CDOTAUserMsg_ModifierAlert(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final CDOTAUserMsg_ModifierAlert defaultInstance;
public static CDOTAUserMsg_ModifierAlert getDefaultInstance() {
return defaultInstance;
}
public CDOTAUserMsg_ModifierAlert getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private CDOTAUserMsg_ModifierAlert(
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;
playerId_ = input.readUInt32();
break;
}
case 18: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000002;
className_ = bs;
break;
}
case 24: {
bitField0_ |= 0x00000004;
stackCount_ = input.readUInt32();
break;
}
case 32: {
bitField0_ |= 0x00000008;
isDebuff_ = input.readBool();
break;
}
case 40: {
bitField0_ |= 0x00000010;
targetEntindex_ = input.readUInt32();
break;
}
case 53: {
bitField0_ |= 0x00000020;
secondsRemaining_ = input.readFloat();
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.common.proto.DotaUserMessages.internal_static_CDOTAUserMsg_ModifierAlert_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return skadistats.clarity.wire.common.proto.DotaUserMessages.internal_static_CDOTAUserMsg_ModifierAlert_fieldAccessorTable
.ensureFieldAccessorsInitialized(
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_ModifierAlert.class, skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_ModifierAlert.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public CDOTAUserMsg_ModifierAlert parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new CDOTAUserMsg_ModifierAlert(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
public static final int PLAYER_ID_FIELD_NUMBER = 1;
private int playerId_;
/**
* optional uint32 player_id = 1;
*/
public boolean hasPlayerId() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional uint32 player_id = 1;
*/
public int getPlayerId() {
return playerId_;
}
public static final int CLASS_NAME_FIELD_NUMBER = 2;
private java.lang.Object className_;
/**
* optional string class_name = 2;
*/
public boolean hasClassName() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional string class_name = 2;
*/
public java.lang.String getClassName() {
java.lang.Object ref = className_;
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()) {
className_ = s;
}
return s;
}
}
/**
* optional string class_name = 2;
*/
public com.google.protobuf.ByteString
getClassNameBytes() {
java.lang.Object ref = className_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
className_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int STACK_COUNT_FIELD_NUMBER = 3;
private int stackCount_;
/**
* optional uint32 stack_count = 3;
*/
public boolean hasStackCount() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional uint32 stack_count = 3;
*/
public int getStackCount() {
return stackCount_;
}
public static final int IS_DEBUFF_FIELD_NUMBER = 4;
private boolean isDebuff_;
/**
* optional bool is_debuff = 4;
*/
public boolean hasIsDebuff() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* optional bool is_debuff = 4;
*/
public boolean getIsDebuff() {
return isDebuff_;
}
public static final int TARGET_ENTINDEX_FIELD_NUMBER = 5;
private int targetEntindex_;
/**
* optional uint32 target_entindex = 5;
*/
public boolean hasTargetEntindex() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
/**
* optional uint32 target_entindex = 5;
*/
public int getTargetEntindex() {
return targetEntindex_;
}
public static final int SECONDS_REMAINING_FIELD_NUMBER = 6;
private float secondsRemaining_;
/**
* optional float seconds_remaining = 6;
*/
public boolean hasSecondsRemaining() {
return ((bitField0_ & 0x00000020) == 0x00000020);
}
/**
* optional float seconds_remaining = 6;
*/
public float getSecondsRemaining() {
return secondsRemaining_;
}
private void initFields() {
playerId_ = 0;
className_ = "";
stackCount_ = 0;
isDebuff_ = false;
targetEntindex_ = 0;
secondsRemaining_ = 0F;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 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.writeUInt32(1, playerId_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeBytes(2, getClassNameBytes());
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
output.writeUInt32(3, stackCount_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
output.writeBool(4, isDebuff_);
}
if (((bitField0_ & 0x00000010) == 0x00000010)) {
output.writeUInt32(5, targetEntindex_);
}
if (((bitField0_ & 0x00000020) == 0x00000020)) {
output.writeFloat(6, secondsRemaining_);
}
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
.computeUInt32Size(1, playerId_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(2, getClassNameBytes());
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(3, stackCount_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(4, isDebuff_);
}
if (((bitField0_ & 0x00000010) == 0x00000010)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(5, targetEntindex_);
}
if (((bitField0_ & 0x00000020) == 0x00000020)) {
size += com.google.protobuf.CodedOutputStream
.computeFloatSize(6, secondsRemaining_);
}
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.common.proto.DotaUserMessages.CDOTAUserMsg_ModifierAlert parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_ModifierAlert 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.common.proto.DotaUserMessages.CDOTAUserMsg_ModifierAlert parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_ModifierAlert parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_ModifierAlert parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_ModifierAlert parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_ModifierAlert parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_ModifierAlert parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_ModifierAlert parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_ModifierAlert 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.common.proto.DotaUserMessages.CDOTAUserMsg_ModifierAlert 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 CDOTAUserMsg_ModifierAlert}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:CDOTAUserMsg_ModifierAlert)
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_ModifierAlertOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return skadistats.clarity.wire.common.proto.DotaUserMessages.internal_static_CDOTAUserMsg_ModifierAlert_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return skadistats.clarity.wire.common.proto.DotaUserMessages.internal_static_CDOTAUserMsg_ModifierAlert_fieldAccessorTable
.ensureFieldAccessorsInitialized(
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_ModifierAlert.class, skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_ModifierAlert.Builder.class);
}
// Construct using skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_ModifierAlert.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();
playerId_ = 0;
bitField0_ = (bitField0_ & ~0x00000001);
className_ = "";
bitField0_ = (bitField0_ & ~0x00000002);
stackCount_ = 0;
bitField0_ = (bitField0_ & ~0x00000004);
isDebuff_ = false;
bitField0_ = (bitField0_ & ~0x00000008);
targetEntindex_ = 0;
bitField0_ = (bitField0_ & ~0x00000010);
secondsRemaining_ = 0F;
bitField0_ = (bitField0_ & ~0x00000020);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return skadistats.clarity.wire.common.proto.DotaUserMessages.internal_static_CDOTAUserMsg_ModifierAlert_descriptor;
}
public skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_ModifierAlert getDefaultInstanceForType() {
return skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_ModifierAlert.getDefaultInstance();
}
public skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_ModifierAlert build() {
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_ModifierAlert result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_ModifierAlert buildPartial() {
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_ModifierAlert result = new skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_ModifierAlert(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.playerId_ = playerId_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.className_ = className_;
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
to_bitField0_ |= 0x00000004;
}
result.stackCount_ = stackCount_;
if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
to_bitField0_ |= 0x00000008;
}
result.isDebuff_ = isDebuff_;
if (((from_bitField0_ & 0x00000010) == 0x00000010)) {
to_bitField0_ |= 0x00000010;
}
result.targetEntindex_ = targetEntindex_;
if (((from_bitField0_ & 0x00000020) == 0x00000020)) {
to_bitField0_ |= 0x00000020;
}
result.secondsRemaining_ = secondsRemaining_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_ModifierAlert) {
return mergeFrom((skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_ModifierAlert)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_ModifierAlert other) {
if (other == skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_ModifierAlert.getDefaultInstance()) return this;
if (other.hasPlayerId()) {
setPlayerId(other.getPlayerId());
}
if (other.hasClassName()) {
bitField0_ |= 0x00000002;
className_ = other.className_;
onChanged();
}
if (other.hasStackCount()) {
setStackCount(other.getStackCount());
}
if (other.hasIsDebuff()) {
setIsDebuff(other.getIsDebuff());
}
if (other.hasTargetEntindex()) {
setTargetEntindex(other.getTargetEntindex());
}
if (other.hasSecondsRemaining()) {
setSecondsRemaining(other.getSecondsRemaining());
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_ModifierAlert parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_ModifierAlert) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private int playerId_ ;
/**
* optional uint32 player_id = 1;
*/
public boolean hasPlayerId() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional uint32 player_id = 1;
*/
public int getPlayerId() {
return playerId_;
}
/**
* optional uint32 player_id = 1;
*/
public Builder setPlayerId(int value) {
bitField0_ |= 0x00000001;
playerId_ = value;
onChanged();
return this;
}
/**
* optional uint32 player_id = 1;
*/
public Builder clearPlayerId() {
bitField0_ = (bitField0_ & ~0x00000001);
playerId_ = 0;
onChanged();
return this;
}
private java.lang.Object className_ = "";
/**
* optional string class_name = 2;
*/
public boolean hasClassName() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional string class_name = 2;
*/
public java.lang.String getClassName() {
java.lang.Object ref = className_;
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()) {
className_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string class_name = 2;
*/
public com.google.protobuf.ByteString
getClassNameBytes() {
java.lang.Object ref = className_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
className_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string class_name = 2;
*/
public Builder setClassName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
className_ = value;
onChanged();
return this;
}
/**
* optional string class_name = 2;
*/
public Builder clearClassName() {
bitField0_ = (bitField0_ & ~0x00000002);
className_ = getDefaultInstance().getClassName();
onChanged();
return this;
}
/**
* optional string class_name = 2;
*/
public Builder setClassNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
className_ = value;
onChanged();
return this;
}
private int stackCount_ ;
/**
* optional uint32 stack_count = 3;
*/
public boolean hasStackCount() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional uint32 stack_count = 3;
*/
public int getStackCount() {
return stackCount_;
}
/**
* optional uint32 stack_count = 3;
*/
public Builder setStackCount(int value) {
bitField0_ |= 0x00000004;
stackCount_ = value;
onChanged();
return this;
}
/**
* optional uint32 stack_count = 3;
*/
public Builder clearStackCount() {
bitField0_ = (bitField0_ & ~0x00000004);
stackCount_ = 0;
onChanged();
return this;
}
private boolean isDebuff_ ;
/**
* optional bool is_debuff = 4;
*/
public boolean hasIsDebuff() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* optional bool is_debuff = 4;
*/
public boolean getIsDebuff() {
return isDebuff_;
}
/**
* optional bool is_debuff = 4;
*/
public Builder setIsDebuff(boolean value) {
bitField0_ |= 0x00000008;
isDebuff_ = value;
onChanged();
return this;
}
/**
* optional bool is_debuff = 4;
*/
public Builder clearIsDebuff() {
bitField0_ = (bitField0_ & ~0x00000008);
isDebuff_ = false;
onChanged();
return this;
}
private int targetEntindex_ ;
/**
* optional uint32 target_entindex = 5;
*/
public boolean hasTargetEntindex() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
/**
* optional uint32 target_entindex = 5;
*/
public int getTargetEntindex() {
return targetEntindex_;
}
/**
* optional uint32 target_entindex = 5;
*/
public Builder setTargetEntindex(int value) {
bitField0_ |= 0x00000010;
targetEntindex_ = value;
onChanged();
return this;
}
/**
* optional uint32 target_entindex = 5;
*/
public Builder clearTargetEntindex() {
bitField0_ = (bitField0_ & ~0x00000010);
targetEntindex_ = 0;
onChanged();
return this;
}
private float secondsRemaining_ ;
/**
* optional float seconds_remaining = 6;
*/
public boolean hasSecondsRemaining() {
return ((bitField0_ & 0x00000020) == 0x00000020);
}
/**
* optional float seconds_remaining = 6;
*/
public float getSecondsRemaining() {
return secondsRemaining_;
}
/**
* optional float seconds_remaining = 6;
*/
public Builder setSecondsRemaining(float value) {
bitField0_ |= 0x00000020;
secondsRemaining_ = value;
onChanged();
return this;
}
/**
* optional float seconds_remaining = 6;
*/
public Builder clearSecondsRemaining() {
bitField0_ = (bitField0_ & ~0x00000020);
secondsRemaining_ = 0F;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:CDOTAUserMsg_ModifierAlert)
}
static {
defaultInstance = new CDOTAUserMsg_ModifierAlert(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:CDOTAUserMsg_ModifierAlert)
}
public interface CDOTAUserMsg_HPManaAlertOrBuilder extends
// @@protoc_insertion_point(interface_extends:CDOTAUserMsg_HPManaAlert)
com.google.protobuf.MessageOrBuilder {
/**
* optional uint32 player_id = 1;
*/
boolean hasPlayerId();
/**
* optional uint32 player_id = 1;
*/
int getPlayerId();
/**
* optional uint32 target_entindex = 2;
*/
boolean hasTargetEntindex();
/**
* optional uint32 target_entindex = 2;
*/
int getTargetEntindex();
/**
* optional bool show_raw_values = 3;
*/
boolean hasShowRawValues();
/**
* optional bool show_raw_values = 3;
*/
boolean getShowRawValues();
}
/**
* Protobuf type {@code CDOTAUserMsg_HPManaAlert}
*/
public static final class CDOTAUserMsg_HPManaAlert extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:CDOTAUserMsg_HPManaAlert)
CDOTAUserMsg_HPManaAlertOrBuilder {
// Use CDOTAUserMsg_HPManaAlert.newBuilder() to construct.
private CDOTAUserMsg_HPManaAlert(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private CDOTAUserMsg_HPManaAlert(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final CDOTAUserMsg_HPManaAlert defaultInstance;
public static CDOTAUserMsg_HPManaAlert getDefaultInstance() {
return defaultInstance;
}
public CDOTAUserMsg_HPManaAlert getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private CDOTAUserMsg_HPManaAlert(
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;
playerId_ = input.readUInt32();
break;
}
case 16: {
bitField0_ |= 0x00000002;
targetEntindex_ = input.readUInt32();
break;
}
case 24: {
bitField0_ |= 0x00000004;
showRawValues_ = 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.common.proto.DotaUserMessages.internal_static_CDOTAUserMsg_HPManaAlert_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return skadistats.clarity.wire.common.proto.DotaUserMessages.internal_static_CDOTAUserMsg_HPManaAlert_fieldAccessorTable
.ensureFieldAccessorsInitialized(
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_HPManaAlert.class, skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_HPManaAlert.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public CDOTAUserMsg_HPManaAlert parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new CDOTAUserMsg_HPManaAlert(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
public static final int PLAYER_ID_FIELD_NUMBER = 1;
private int playerId_;
/**
* optional uint32 player_id = 1;
*/
public boolean hasPlayerId() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional uint32 player_id = 1;
*/
public int getPlayerId() {
return playerId_;
}
public static final int TARGET_ENTINDEX_FIELD_NUMBER = 2;
private int targetEntindex_;
/**
* optional uint32 target_entindex = 2;
*/
public boolean hasTargetEntindex() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional uint32 target_entindex = 2;
*/
public int getTargetEntindex() {
return targetEntindex_;
}
public static final int SHOW_RAW_VALUES_FIELD_NUMBER = 3;
private boolean showRawValues_;
/**
* optional bool show_raw_values = 3;
*/
public boolean hasShowRawValues() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional bool show_raw_values = 3;
*/
public boolean getShowRawValues() {
return showRawValues_;
}
private void initFields() {
playerId_ = 0;
targetEntindex_ = 0;
showRawValues_ = false;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 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.writeUInt32(1, playerId_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeUInt32(2, targetEntindex_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
output.writeBool(3, showRawValues_);
}
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
.computeUInt32Size(1, playerId_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(2, targetEntindex_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(3, showRawValues_);
}
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.common.proto.DotaUserMessages.CDOTAUserMsg_HPManaAlert parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_HPManaAlert 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.common.proto.DotaUserMessages.CDOTAUserMsg_HPManaAlert parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_HPManaAlert parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_HPManaAlert parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_HPManaAlert parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_HPManaAlert parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_HPManaAlert parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_HPManaAlert parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_HPManaAlert 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.common.proto.DotaUserMessages.CDOTAUserMsg_HPManaAlert 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 CDOTAUserMsg_HPManaAlert}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:CDOTAUserMsg_HPManaAlert)
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_HPManaAlertOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return skadistats.clarity.wire.common.proto.DotaUserMessages.internal_static_CDOTAUserMsg_HPManaAlert_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return skadistats.clarity.wire.common.proto.DotaUserMessages.internal_static_CDOTAUserMsg_HPManaAlert_fieldAccessorTable
.ensureFieldAccessorsInitialized(
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_HPManaAlert.class, skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_HPManaAlert.Builder.class);
}
// Construct using skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_HPManaAlert.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();
playerId_ = 0;
bitField0_ = (bitField0_ & ~0x00000001);
targetEntindex_ = 0;
bitField0_ = (bitField0_ & ~0x00000002);
showRawValues_ = false;
bitField0_ = (bitField0_ & ~0x00000004);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return skadistats.clarity.wire.common.proto.DotaUserMessages.internal_static_CDOTAUserMsg_HPManaAlert_descriptor;
}
public skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_HPManaAlert getDefaultInstanceForType() {
return skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_HPManaAlert.getDefaultInstance();
}
public skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_HPManaAlert build() {
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_HPManaAlert result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_HPManaAlert buildPartial() {
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_HPManaAlert result = new skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_HPManaAlert(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.playerId_ = playerId_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.targetEntindex_ = targetEntindex_;
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
to_bitField0_ |= 0x00000004;
}
result.showRawValues_ = showRawValues_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_HPManaAlert) {
return mergeFrom((skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_HPManaAlert)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_HPManaAlert other) {
if (other == skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_HPManaAlert.getDefaultInstance()) return this;
if (other.hasPlayerId()) {
setPlayerId(other.getPlayerId());
}
if (other.hasTargetEntindex()) {
setTargetEntindex(other.getTargetEntindex());
}
if (other.hasShowRawValues()) {
setShowRawValues(other.getShowRawValues());
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_HPManaAlert parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_HPManaAlert) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private int playerId_ ;
/**
* optional uint32 player_id = 1;
*/
public boolean hasPlayerId() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional uint32 player_id = 1;
*/
public int getPlayerId() {
return playerId_;
}
/**
* optional uint32 player_id = 1;
*/
public Builder setPlayerId(int value) {
bitField0_ |= 0x00000001;
playerId_ = value;
onChanged();
return this;
}
/**
* optional uint32 player_id = 1;
*/
public Builder clearPlayerId() {
bitField0_ = (bitField0_ & ~0x00000001);
playerId_ = 0;
onChanged();
return this;
}
private int targetEntindex_ ;
/**
* optional uint32 target_entindex = 2;
*/
public boolean hasTargetEntindex() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional uint32 target_entindex = 2;
*/
public int getTargetEntindex() {
return targetEntindex_;
}
/**
* optional uint32 target_entindex = 2;
*/
public Builder setTargetEntindex(int value) {
bitField0_ |= 0x00000002;
targetEntindex_ = value;
onChanged();
return this;
}
/**
* optional uint32 target_entindex = 2;
*/
public Builder clearTargetEntindex() {
bitField0_ = (bitField0_ & ~0x00000002);
targetEntindex_ = 0;
onChanged();
return this;
}
private boolean showRawValues_ ;
/**
* optional bool show_raw_values = 3;
*/
public boolean hasShowRawValues() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional bool show_raw_values = 3;
*/
public boolean getShowRawValues() {
return showRawValues_;
}
/**
* optional bool show_raw_values = 3;
*/
public Builder setShowRawValues(boolean value) {
bitField0_ |= 0x00000004;
showRawValues_ = value;
onChanged();
return this;
}
/**
* optional bool show_raw_values = 3;
*/
public Builder clearShowRawValues() {
bitField0_ = (bitField0_ & ~0x00000004);
showRawValues_ = false;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:CDOTAUserMsg_HPManaAlert)
}
static {
defaultInstance = new CDOTAUserMsg_HPManaAlert(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:CDOTAUserMsg_HPManaAlert)
}
public interface CDOTAUserMsg_GlyphAlertOrBuilder extends
// @@protoc_insertion_point(interface_extends:CDOTAUserMsg_GlyphAlert)
com.google.protobuf.MessageOrBuilder {
/**
* optional uint32 player_id = 1;
*/
boolean hasPlayerId();
/**
* optional uint32 player_id = 1;
*/
int getPlayerId();
/**
* optional bool negative = 2;
*/
boolean hasNegative();
/**
* optional bool negative = 2;
*/
boolean getNegative();
}
/**
* Protobuf type {@code CDOTAUserMsg_GlyphAlert}
*/
public static final class CDOTAUserMsg_GlyphAlert extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:CDOTAUserMsg_GlyphAlert)
CDOTAUserMsg_GlyphAlertOrBuilder {
// Use CDOTAUserMsg_GlyphAlert.newBuilder() to construct.
private CDOTAUserMsg_GlyphAlert(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private CDOTAUserMsg_GlyphAlert(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final CDOTAUserMsg_GlyphAlert defaultInstance;
public static CDOTAUserMsg_GlyphAlert getDefaultInstance() {
return defaultInstance;
}
public CDOTAUserMsg_GlyphAlert getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private CDOTAUserMsg_GlyphAlert(
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;
playerId_ = input.readUInt32();
break;
}
case 16: {
bitField0_ |= 0x00000002;
negative_ = 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.common.proto.DotaUserMessages.internal_static_CDOTAUserMsg_GlyphAlert_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return skadistats.clarity.wire.common.proto.DotaUserMessages.internal_static_CDOTAUserMsg_GlyphAlert_fieldAccessorTable
.ensureFieldAccessorsInitialized(
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_GlyphAlert.class, skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_GlyphAlert.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public CDOTAUserMsg_GlyphAlert parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new CDOTAUserMsg_GlyphAlert(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
public static final int PLAYER_ID_FIELD_NUMBER = 1;
private int playerId_;
/**
* optional uint32 player_id = 1;
*/
public boolean hasPlayerId() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional uint32 player_id = 1;
*/
public int getPlayerId() {
return playerId_;
}
public static final int NEGATIVE_FIELD_NUMBER = 2;
private boolean negative_;
/**
* optional bool negative = 2;
*/
public boolean hasNegative() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional bool negative = 2;
*/
public boolean getNegative() {
return negative_;
}
private void initFields() {
playerId_ = 0;
negative_ = false;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 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.writeUInt32(1, playerId_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeBool(2, negative_);
}
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
.computeUInt32Size(1, playerId_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(2, negative_);
}
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.common.proto.DotaUserMessages.CDOTAUserMsg_GlyphAlert parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_GlyphAlert 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.common.proto.DotaUserMessages.CDOTAUserMsg_GlyphAlert parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_GlyphAlert parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_GlyphAlert parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_GlyphAlert parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_GlyphAlert parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_GlyphAlert parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_GlyphAlert parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_GlyphAlert 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.common.proto.DotaUserMessages.CDOTAUserMsg_GlyphAlert 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 CDOTAUserMsg_GlyphAlert}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:CDOTAUserMsg_GlyphAlert)
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_GlyphAlertOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return skadistats.clarity.wire.common.proto.DotaUserMessages.internal_static_CDOTAUserMsg_GlyphAlert_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return skadistats.clarity.wire.common.proto.DotaUserMessages.internal_static_CDOTAUserMsg_GlyphAlert_fieldAccessorTable
.ensureFieldAccessorsInitialized(
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_GlyphAlert.class, skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_GlyphAlert.Builder.class);
}
// Construct using skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_GlyphAlert.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();
playerId_ = 0;
bitField0_ = (bitField0_ & ~0x00000001);
negative_ = false;
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return skadistats.clarity.wire.common.proto.DotaUserMessages.internal_static_CDOTAUserMsg_GlyphAlert_descriptor;
}
public skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_GlyphAlert getDefaultInstanceForType() {
return skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_GlyphAlert.getDefaultInstance();
}
public skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_GlyphAlert build() {
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_GlyphAlert result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_GlyphAlert buildPartial() {
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_GlyphAlert result = new skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_GlyphAlert(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.playerId_ = playerId_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.negative_ = negative_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_GlyphAlert) {
return mergeFrom((skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_GlyphAlert)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_GlyphAlert other) {
if (other == skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_GlyphAlert.getDefaultInstance()) return this;
if (other.hasPlayerId()) {
setPlayerId(other.getPlayerId());
}
if (other.hasNegative()) {
setNegative(other.getNegative());
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_GlyphAlert parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_GlyphAlert) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private int playerId_ ;
/**
* optional uint32 player_id = 1;
*/
public boolean hasPlayerId() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional uint32 player_id = 1;
*/
public int getPlayerId() {
return playerId_;
}
/**
* optional uint32 player_id = 1;
*/
public Builder setPlayerId(int value) {
bitField0_ |= 0x00000001;
playerId_ = value;
onChanged();
return this;
}
/**
* optional uint32 player_id = 1;
*/
public Builder clearPlayerId() {
bitField0_ = (bitField0_ & ~0x00000001);
playerId_ = 0;
onChanged();
return this;
}
private boolean negative_ ;
/**
* optional bool negative = 2;
*/
public boolean hasNegative() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional bool negative = 2;
*/
public boolean getNegative() {
return negative_;
}
/**
* optional bool negative = 2;
*/
public Builder setNegative(boolean value) {
bitField0_ |= 0x00000002;
negative_ = value;
onChanged();
return this;
}
/**
* optional bool negative = 2;
*/
public Builder clearNegative() {
bitField0_ = (bitField0_ & ~0x00000002);
negative_ = false;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:CDOTAUserMsg_GlyphAlert)
}
static {
defaultInstance = new CDOTAUserMsg_GlyphAlert(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:CDOTAUserMsg_GlyphAlert)
}
public interface CDOTAUserMsg_RadarAlertOrBuilder extends
// @@protoc_insertion_point(interface_extends:CDOTAUserMsg_RadarAlert)
com.google.protobuf.MessageOrBuilder {
/**
* optional uint32 player_id = 1;
*/
boolean hasPlayerId();
/**
* optional uint32 player_id = 1;
*/
int getPlayerId();
/**
* optional bool negative = 2;
*/
boolean hasNegative();
/**
* optional bool negative = 2;
*/
boolean getNegative();
}
/**
* Protobuf type {@code CDOTAUserMsg_RadarAlert}
*/
public static final class CDOTAUserMsg_RadarAlert extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:CDOTAUserMsg_RadarAlert)
CDOTAUserMsg_RadarAlertOrBuilder {
// Use CDOTAUserMsg_RadarAlert.newBuilder() to construct.
private CDOTAUserMsg_RadarAlert(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private CDOTAUserMsg_RadarAlert(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final CDOTAUserMsg_RadarAlert defaultInstance;
public static CDOTAUserMsg_RadarAlert getDefaultInstance() {
return defaultInstance;
}
public CDOTAUserMsg_RadarAlert getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private CDOTAUserMsg_RadarAlert(
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;
playerId_ = input.readUInt32();
break;
}
case 16: {
bitField0_ |= 0x00000002;
negative_ = 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.common.proto.DotaUserMessages.internal_static_CDOTAUserMsg_RadarAlert_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return skadistats.clarity.wire.common.proto.DotaUserMessages.internal_static_CDOTAUserMsg_RadarAlert_fieldAccessorTable
.ensureFieldAccessorsInitialized(
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_RadarAlert.class, skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_RadarAlert.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public CDOTAUserMsg_RadarAlert parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new CDOTAUserMsg_RadarAlert(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
public static final int PLAYER_ID_FIELD_NUMBER = 1;
private int playerId_;
/**
* optional uint32 player_id = 1;
*/
public boolean hasPlayerId() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional uint32 player_id = 1;
*/
public int getPlayerId() {
return playerId_;
}
public static final int NEGATIVE_FIELD_NUMBER = 2;
private boolean negative_;
/**
* optional bool negative = 2;
*/
public boolean hasNegative() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional bool negative = 2;
*/
public boolean getNegative() {
return negative_;
}
private void initFields() {
playerId_ = 0;
negative_ = false;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 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.writeUInt32(1, playerId_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeBool(2, negative_);
}
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
.computeUInt32Size(1, playerId_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(2, negative_);
}
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.common.proto.DotaUserMessages.CDOTAUserMsg_RadarAlert parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_RadarAlert 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.common.proto.DotaUserMessages.CDOTAUserMsg_RadarAlert parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_RadarAlert parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_RadarAlert parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_RadarAlert parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_RadarAlert parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_RadarAlert parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_RadarAlert parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_RadarAlert 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.common.proto.DotaUserMessages.CDOTAUserMsg_RadarAlert 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 CDOTAUserMsg_RadarAlert}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:CDOTAUserMsg_RadarAlert)
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_RadarAlertOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return skadistats.clarity.wire.common.proto.DotaUserMessages.internal_static_CDOTAUserMsg_RadarAlert_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return skadistats.clarity.wire.common.proto.DotaUserMessages.internal_static_CDOTAUserMsg_RadarAlert_fieldAccessorTable
.ensureFieldAccessorsInitialized(
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_RadarAlert.class, skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_RadarAlert.Builder.class);
}
// Construct using skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_RadarAlert.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();
playerId_ = 0;
bitField0_ = (bitField0_ & ~0x00000001);
negative_ = false;
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return skadistats.clarity.wire.common.proto.DotaUserMessages.internal_static_CDOTAUserMsg_RadarAlert_descriptor;
}
public skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_RadarAlert getDefaultInstanceForType() {
return skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_RadarAlert.getDefaultInstance();
}
public skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_RadarAlert build() {
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_RadarAlert result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_RadarAlert buildPartial() {
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_RadarAlert result = new skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_RadarAlert(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.playerId_ = playerId_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.negative_ = negative_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_RadarAlert) {
return mergeFrom((skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_RadarAlert)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_RadarAlert other) {
if (other == skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_RadarAlert.getDefaultInstance()) return this;
if (other.hasPlayerId()) {
setPlayerId(other.getPlayerId());
}
if (other.hasNegative()) {
setNegative(other.getNegative());
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_RadarAlert parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_RadarAlert) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private int playerId_ ;
/**
* optional uint32 player_id = 1;
*/
public boolean hasPlayerId() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional uint32 player_id = 1;
*/
public int getPlayerId() {
return playerId_;
}
/**
* optional uint32 player_id = 1;
*/
public Builder setPlayerId(int value) {
bitField0_ |= 0x00000001;
playerId_ = value;
onChanged();
return this;
}
/**
* optional uint32 player_id = 1;
*/
public Builder clearPlayerId() {
bitField0_ = (bitField0_ & ~0x00000001);
playerId_ = 0;
onChanged();
return this;
}
private boolean negative_ ;
/**
* optional bool negative = 2;
*/
public boolean hasNegative() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional bool negative = 2;
*/
public boolean getNegative() {
return negative_;
}
/**
* optional bool negative = 2;
*/
public Builder setNegative(boolean value) {
bitField0_ |= 0x00000002;
negative_ = value;
onChanged();
return this;
}
/**
* optional bool negative = 2;
*/
public Builder clearNegative() {
bitField0_ = (bitField0_ & ~0x00000002);
negative_ = false;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:CDOTAUserMsg_RadarAlert)
}
static {
defaultInstance = new CDOTAUserMsg_RadarAlert(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:CDOTAUserMsg_RadarAlert)
}
public interface CDOTAUserMsg_WillPurchaseAlertOrBuilder extends
// @@protoc_insertion_point(interface_extends:CDOTAUserMsg_WillPurchaseAlert)
com.google.protobuf.MessageOrBuilder {
/**
* optional int32 item_ability_id = 1;
*/
boolean hasItemAbilityId();
/**
* optional int32 item_ability_id = 1;
*/
int getItemAbilityId();
/**
* optional int32 player_id = 2;
*/
boolean hasPlayerId();
/**
* optional int32 player_id = 2;
*/
int getPlayerId();
/**
* optional uint32 gold_remaining = 3;
*/
boolean hasGoldRemaining();
/**
* optional uint32 gold_remaining = 3;
*/
int getGoldRemaining();
/**
* optional int32 suggestion_player_id = 4;
*/
boolean hasSuggestionPlayerId();
/**
* optional int32 suggestion_player_id = 4;
*/
int getSuggestionPlayerId();
}
/**
* Protobuf type {@code CDOTAUserMsg_WillPurchaseAlert}
*/
public static final class CDOTAUserMsg_WillPurchaseAlert extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:CDOTAUserMsg_WillPurchaseAlert)
CDOTAUserMsg_WillPurchaseAlertOrBuilder {
// Use CDOTAUserMsg_WillPurchaseAlert.newBuilder() to construct.
private CDOTAUserMsg_WillPurchaseAlert(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private CDOTAUserMsg_WillPurchaseAlert(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final CDOTAUserMsg_WillPurchaseAlert defaultInstance;
public static CDOTAUserMsg_WillPurchaseAlert getDefaultInstance() {
return defaultInstance;
}
public CDOTAUserMsg_WillPurchaseAlert getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private CDOTAUserMsg_WillPurchaseAlert(
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;
itemAbilityId_ = input.readInt32();
break;
}
case 16: {
bitField0_ |= 0x00000002;
playerId_ = input.readInt32();
break;
}
case 24: {
bitField0_ |= 0x00000004;
goldRemaining_ = input.readUInt32();
break;
}
case 32: {
bitField0_ |= 0x00000008;
suggestionPlayerId_ = input.readInt32();
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.common.proto.DotaUserMessages.internal_static_CDOTAUserMsg_WillPurchaseAlert_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return skadistats.clarity.wire.common.proto.DotaUserMessages.internal_static_CDOTAUserMsg_WillPurchaseAlert_fieldAccessorTable
.ensureFieldAccessorsInitialized(
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_WillPurchaseAlert.class, skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_WillPurchaseAlert.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public CDOTAUserMsg_WillPurchaseAlert parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new CDOTAUserMsg_WillPurchaseAlert(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
public static final int ITEM_ABILITY_ID_FIELD_NUMBER = 1;
private int itemAbilityId_;
/**
* optional int32 item_ability_id = 1;
*/
public boolean hasItemAbilityId() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional int32 item_ability_id = 1;
*/
public int getItemAbilityId() {
return itemAbilityId_;
}
public static final int PLAYER_ID_FIELD_NUMBER = 2;
private int playerId_;
/**
* optional int32 player_id = 2;
*/
public boolean hasPlayerId() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional int32 player_id = 2;
*/
public int getPlayerId() {
return playerId_;
}
public static final int GOLD_REMAINING_FIELD_NUMBER = 3;
private int goldRemaining_;
/**
* optional uint32 gold_remaining = 3;
*/
public boolean hasGoldRemaining() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional uint32 gold_remaining = 3;
*/
public int getGoldRemaining() {
return goldRemaining_;
}
public static final int SUGGESTION_PLAYER_ID_FIELD_NUMBER = 4;
private int suggestionPlayerId_;
/**
* optional int32 suggestion_player_id = 4;
*/
public boolean hasSuggestionPlayerId() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* optional int32 suggestion_player_id = 4;
*/
public int getSuggestionPlayerId() {
return suggestionPlayerId_;
}
private void initFields() {
itemAbilityId_ = 0;
playerId_ = 0;
goldRemaining_ = 0;
suggestionPlayerId_ = 0;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 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, itemAbilityId_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeInt32(2, playerId_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
output.writeUInt32(3, goldRemaining_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
output.writeInt32(4, suggestionPlayerId_);
}
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, itemAbilityId_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(2, playerId_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(3, goldRemaining_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(4, suggestionPlayerId_);
}
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.common.proto.DotaUserMessages.CDOTAUserMsg_WillPurchaseAlert parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_WillPurchaseAlert 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.common.proto.DotaUserMessages.CDOTAUserMsg_WillPurchaseAlert parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_WillPurchaseAlert parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_WillPurchaseAlert parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_WillPurchaseAlert parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_WillPurchaseAlert parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_WillPurchaseAlert parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_WillPurchaseAlert parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_WillPurchaseAlert 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.common.proto.DotaUserMessages.CDOTAUserMsg_WillPurchaseAlert 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 CDOTAUserMsg_WillPurchaseAlert}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:CDOTAUserMsg_WillPurchaseAlert)
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_WillPurchaseAlertOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return skadistats.clarity.wire.common.proto.DotaUserMessages.internal_static_CDOTAUserMsg_WillPurchaseAlert_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return skadistats.clarity.wire.common.proto.DotaUserMessages.internal_static_CDOTAUserMsg_WillPurchaseAlert_fieldAccessorTable
.ensureFieldAccessorsInitialized(
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_WillPurchaseAlert.class, skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_WillPurchaseAlert.Builder.class);
}
// Construct using skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_WillPurchaseAlert.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();
itemAbilityId_ = 0;
bitField0_ = (bitField0_ & ~0x00000001);
playerId_ = 0;
bitField0_ = (bitField0_ & ~0x00000002);
goldRemaining_ = 0;
bitField0_ = (bitField0_ & ~0x00000004);
suggestionPlayerId_ = 0;
bitField0_ = (bitField0_ & ~0x00000008);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return skadistats.clarity.wire.common.proto.DotaUserMessages.internal_static_CDOTAUserMsg_WillPurchaseAlert_descriptor;
}
public skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_WillPurchaseAlert getDefaultInstanceForType() {
return skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_WillPurchaseAlert.getDefaultInstance();
}
public skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_WillPurchaseAlert build() {
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_WillPurchaseAlert result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_WillPurchaseAlert buildPartial() {
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_WillPurchaseAlert result = new skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_WillPurchaseAlert(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.itemAbilityId_ = itemAbilityId_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.playerId_ = playerId_;
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
to_bitField0_ |= 0x00000004;
}
result.goldRemaining_ = goldRemaining_;
if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
to_bitField0_ |= 0x00000008;
}
result.suggestionPlayerId_ = suggestionPlayerId_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_WillPurchaseAlert) {
return mergeFrom((skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_WillPurchaseAlert)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_WillPurchaseAlert other) {
if (other == skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_WillPurchaseAlert.getDefaultInstance()) return this;
if (other.hasItemAbilityId()) {
setItemAbilityId(other.getItemAbilityId());
}
if (other.hasPlayerId()) {
setPlayerId(other.getPlayerId());
}
if (other.hasGoldRemaining()) {
setGoldRemaining(other.getGoldRemaining());
}
if (other.hasSuggestionPlayerId()) {
setSuggestionPlayerId(other.getSuggestionPlayerId());
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_WillPurchaseAlert parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_WillPurchaseAlert) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private int itemAbilityId_ ;
/**
* optional int32 item_ability_id = 1;
*/
public boolean hasItemAbilityId() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional int32 item_ability_id = 1;
*/
public int getItemAbilityId() {
return itemAbilityId_;
}
/**
* optional int32 item_ability_id = 1;
*/
public Builder setItemAbilityId(int value) {
bitField0_ |= 0x00000001;
itemAbilityId_ = value;
onChanged();
return this;
}
/**
* optional int32 item_ability_id = 1;
*/
public Builder clearItemAbilityId() {
bitField0_ = (bitField0_ & ~0x00000001);
itemAbilityId_ = 0;
onChanged();
return this;
}
private int playerId_ ;
/**
* optional int32 player_id = 2;
*/
public boolean hasPlayerId() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional int32 player_id = 2;
*/
public int getPlayerId() {
return playerId_;
}
/**
* optional int32 player_id = 2;
*/
public Builder setPlayerId(int value) {
bitField0_ |= 0x00000002;
playerId_ = value;
onChanged();
return this;
}
/**
* optional int32 player_id = 2;
*/
public Builder clearPlayerId() {
bitField0_ = (bitField0_ & ~0x00000002);
playerId_ = 0;
onChanged();
return this;
}
private int goldRemaining_ ;
/**
* optional uint32 gold_remaining = 3;
*/
public boolean hasGoldRemaining() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional uint32 gold_remaining = 3;
*/
public int getGoldRemaining() {
return goldRemaining_;
}
/**
* optional uint32 gold_remaining = 3;
*/
public Builder setGoldRemaining(int value) {
bitField0_ |= 0x00000004;
goldRemaining_ = value;
onChanged();
return this;
}
/**
* optional uint32 gold_remaining = 3;
*/
public Builder clearGoldRemaining() {
bitField0_ = (bitField0_ & ~0x00000004);
goldRemaining_ = 0;
onChanged();
return this;
}
private int suggestionPlayerId_ ;
/**
* optional int32 suggestion_player_id = 4;
*/
public boolean hasSuggestionPlayerId() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* optional int32 suggestion_player_id = 4;
*/
public int getSuggestionPlayerId() {
return suggestionPlayerId_;
}
/**
* optional int32 suggestion_player_id = 4;
*/
public Builder setSuggestionPlayerId(int value) {
bitField0_ |= 0x00000008;
suggestionPlayerId_ = value;
onChanged();
return this;
}
/**
* optional int32 suggestion_player_id = 4;
*/
public Builder clearSuggestionPlayerId() {
bitField0_ = (bitField0_ & ~0x00000008);
suggestionPlayerId_ = 0;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:CDOTAUserMsg_WillPurchaseAlert)
}
static {
defaultInstance = new CDOTAUserMsg_WillPurchaseAlert(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:CDOTAUserMsg_WillPurchaseAlert)
}
public interface CDOTAUserMsg_EmptyTeleportAlertOrBuilder extends
// @@protoc_insertion_point(interface_extends:CDOTAUserMsg_EmptyTeleportAlert)
com.google.protobuf.MessageOrBuilder {
/**
* optional int32 source_player_id = 1;
*/
boolean hasSourcePlayerId();
/**
* optional int32 source_player_id = 1;
*/
int getSourcePlayerId();
/**
* optional int32 target_player_id = 2;
*/
boolean hasTargetPlayerId();
/**
* optional int32 target_player_id = 2;
*/
int getTargetPlayerId();
/**
* optional int32 cooldown_seconds = 3;
*/
boolean hasCooldownSeconds();
/**
* optional int32 cooldown_seconds = 3;
*/
int getCooldownSeconds();
}
/**
* Protobuf type {@code CDOTAUserMsg_EmptyTeleportAlert}
*/
public static final class CDOTAUserMsg_EmptyTeleportAlert extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:CDOTAUserMsg_EmptyTeleportAlert)
CDOTAUserMsg_EmptyTeleportAlertOrBuilder {
// Use CDOTAUserMsg_EmptyTeleportAlert.newBuilder() to construct.
private CDOTAUserMsg_EmptyTeleportAlert(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private CDOTAUserMsg_EmptyTeleportAlert(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final CDOTAUserMsg_EmptyTeleportAlert defaultInstance;
public static CDOTAUserMsg_EmptyTeleportAlert getDefaultInstance() {
return defaultInstance;
}
public CDOTAUserMsg_EmptyTeleportAlert getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private CDOTAUserMsg_EmptyTeleportAlert(
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;
sourcePlayerId_ = input.readInt32();
break;
}
case 16: {
bitField0_ |= 0x00000002;
targetPlayerId_ = input.readInt32();
break;
}
case 24: {
bitField0_ |= 0x00000004;
cooldownSeconds_ = input.readInt32();
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.common.proto.DotaUserMessages.internal_static_CDOTAUserMsg_EmptyTeleportAlert_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return skadistats.clarity.wire.common.proto.DotaUserMessages.internal_static_CDOTAUserMsg_EmptyTeleportAlert_fieldAccessorTable
.ensureFieldAccessorsInitialized(
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_EmptyTeleportAlert.class, skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_EmptyTeleportAlert.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public CDOTAUserMsg_EmptyTeleportAlert parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new CDOTAUserMsg_EmptyTeleportAlert(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
public static final int SOURCE_PLAYER_ID_FIELD_NUMBER = 1;
private int sourcePlayerId_;
/**
* optional int32 source_player_id = 1;
*/
public boolean hasSourcePlayerId() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional int32 source_player_id = 1;
*/
public int getSourcePlayerId() {
return sourcePlayerId_;
}
public static final int TARGET_PLAYER_ID_FIELD_NUMBER = 2;
private int targetPlayerId_;
/**
* optional int32 target_player_id = 2;
*/
public boolean hasTargetPlayerId() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional int32 target_player_id = 2;
*/
public int getTargetPlayerId() {
return targetPlayerId_;
}
public static final int COOLDOWN_SECONDS_FIELD_NUMBER = 3;
private int cooldownSeconds_;
/**
* optional int32 cooldown_seconds = 3;
*/
public boolean hasCooldownSeconds() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional int32 cooldown_seconds = 3;
*/
public int getCooldownSeconds() {
return cooldownSeconds_;
}
private void initFields() {
sourcePlayerId_ = 0;
targetPlayerId_ = 0;
cooldownSeconds_ = 0;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 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, sourcePlayerId_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeInt32(2, targetPlayerId_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
output.writeInt32(3, cooldownSeconds_);
}
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, sourcePlayerId_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(2, targetPlayerId_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(3, cooldownSeconds_);
}
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.common.proto.DotaUserMessages.CDOTAUserMsg_EmptyTeleportAlert parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_EmptyTeleportAlert 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.common.proto.DotaUserMessages.CDOTAUserMsg_EmptyTeleportAlert parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_EmptyTeleportAlert parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_EmptyTeleportAlert parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_EmptyTeleportAlert parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_EmptyTeleportAlert parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_EmptyTeleportAlert parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_EmptyTeleportAlert parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_EmptyTeleportAlert 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.common.proto.DotaUserMessages.CDOTAUserMsg_EmptyTeleportAlert 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 CDOTAUserMsg_EmptyTeleportAlert}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:CDOTAUserMsg_EmptyTeleportAlert)
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_EmptyTeleportAlertOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return skadistats.clarity.wire.common.proto.DotaUserMessages.internal_static_CDOTAUserMsg_EmptyTeleportAlert_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return skadistats.clarity.wire.common.proto.DotaUserMessages.internal_static_CDOTAUserMsg_EmptyTeleportAlert_fieldAccessorTable
.ensureFieldAccessorsInitialized(
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_EmptyTeleportAlert.class, skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_EmptyTeleportAlert.Builder.class);
}
// Construct using skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_EmptyTeleportAlert.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();
sourcePlayerId_ = 0;
bitField0_ = (bitField0_ & ~0x00000001);
targetPlayerId_ = 0;
bitField0_ = (bitField0_ & ~0x00000002);
cooldownSeconds_ = 0;
bitField0_ = (bitField0_ & ~0x00000004);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return skadistats.clarity.wire.common.proto.DotaUserMessages.internal_static_CDOTAUserMsg_EmptyTeleportAlert_descriptor;
}
public skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_EmptyTeleportAlert getDefaultInstanceForType() {
return skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_EmptyTeleportAlert.getDefaultInstance();
}
public skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_EmptyTeleportAlert build() {
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_EmptyTeleportAlert result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_EmptyTeleportAlert buildPartial() {
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_EmptyTeleportAlert result = new skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_EmptyTeleportAlert(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.sourcePlayerId_ = sourcePlayerId_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.targetPlayerId_ = targetPlayerId_;
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
to_bitField0_ |= 0x00000004;
}
result.cooldownSeconds_ = cooldownSeconds_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_EmptyTeleportAlert) {
return mergeFrom((skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_EmptyTeleportAlert)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_EmptyTeleportAlert other) {
if (other == skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_EmptyTeleportAlert.getDefaultInstance()) return this;
if (other.hasSourcePlayerId()) {
setSourcePlayerId(other.getSourcePlayerId());
}
if (other.hasTargetPlayerId()) {
setTargetPlayerId(other.getTargetPlayerId());
}
if (other.hasCooldownSeconds()) {
setCooldownSeconds(other.getCooldownSeconds());
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_EmptyTeleportAlert parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_EmptyTeleportAlert) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private int sourcePlayerId_ ;
/**
* optional int32 source_player_id = 1;
*/
public boolean hasSourcePlayerId() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional int32 source_player_id = 1;
*/
public int getSourcePlayerId() {
return sourcePlayerId_;
}
/**
* optional int32 source_player_id = 1;
*/
public Builder setSourcePlayerId(int value) {
bitField0_ |= 0x00000001;
sourcePlayerId_ = value;
onChanged();
return this;
}
/**
* optional int32 source_player_id = 1;
*/
public Builder clearSourcePlayerId() {
bitField0_ = (bitField0_ & ~0x00000001);
sourcePlayerId_ = 0;
onChanged();
return this;
}
private int targetPlayerId_ ;
/**
* optional int32 target_player_id = 2;
*/
public boolean hasTargetPlayerId() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional int32 target_player_id = 2;
*/
public int getTargetPlayerId() {
return targetPlayerId_;
}
/**
* optional int32 target_player_id = 2;
*/
public Builder setTargetPlayerId(int value) {
bitField0_ |= 0x00000002;
targetPlayerId_ = value;
onChanged();
return this;
}
/**
* optional int32 target_player_id = 2;
*/
public Builder clearTargetPlayerId() {
bitField0_ = (bitField0_ & ~0x00000002);
targetPlayerId_ = 0;
onChanged();
return this;
}
private int cooldownSeconds_ ;
/**
* optional int32 cooldown_seconds = 3;
*/
public boolean hasCooldownSeconds() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional int32 cooldown_seconds = 3;
*/
public int getCooldownSeconds() {
return cooldownSeconds_;
}
/**
* optional int32 cooldown_seconds = 3;
*/
public Builder setCooldownSeconds(int value) {
bitField0_ |= 0x00000004;
cooldownSeconds_ = value;
onChanged();
return this;
}
/**
* optional int32 cooldown_seconds = 3;
*/
public Builder clearCooldownSeconds() {
bitField0_ = (bitField0_ & ~0x00000004);
cooldownSeconds_ = 0;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:CDOTAUserMsg_EmptyTeleportAlert)
}
static {
defaultInstance = new CDOTAUserMsg_EmptyTeleportAlert(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:CDOTAUserMsg_EmptyTeleportAlert)
}
public interface CDOTAUserMsg_MarsArenaOfBloodAttackOrBuilder extends
// @@protoc_insertion_point(interface_extends:CDOTAUserMsg_MarsArenaOfBloodAttack)
com.google.protobuf.MessageOrBuilder {
/**
* optional int32 source_ehandle = 1;
*/
boolean hasSourceEhandle();
/**
* optional int32 source_ehandle = 1;
*/
int getSourceEhandle();
/**
* optional int32 target_ehandle = 2;
*/
boolean hasTargetEhandle();
/**
* optional int32 target_ehandle = 2;
*/
int getTargetEhandle();
/**
* optional int32 warrior_index = 3;
*/
boolean hasWarriorIndex();
/**
* optional int32 warrior_index = 3;
*/
int getWarriorIndex();
}
/**
* Protobuf type {@code CDOTAUserMsg_MarsArenaOfBloodAttack}
*/
public static final class CDOTAUserMsg_MarsArenaOfBloodAttack extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:CDOTAUserMsg_MarsArenaOfBloodAttack)
CDOTAUserMsg_MarsArenaOfBloodAttackOrBuilder {
// Use CDOTAUserMsg_MarsArenaOfBloodAttack.newBuilder() to construct.
private CDOTAUserMsg_MarsArenaOfBloodAttack(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private CDOTAUserMsg_MarsArenaOfBloodAttack(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final CDOTAUserMsg_MarsArenaOfBloodAttack defaultInstance;
public static CDOTAUserMsg_MarsArenaOfBloodAttack getDefaultInstance() {
return defaultInstance;
}
public CDOTAUserMsg_MarsArenaOfBloodAttack getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private CDOTAUserMsg_MarsArenaOfBloodAttack(
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;
sourceEhandle_ = input.readInt32();
break;
}
case 16: {
bitField0_ |= 0x00000002;
targetEhandle_ = input.readInt32();
break;
}
case 24: {
bitField0_ |= 0x00000004;
warriorIndex_ = input.readInt32();
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.common.proto.DotaUserMessages.internal_static_CDOTAUserMsg_MarsArenaOfBloodAttack_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return skadistats.clarity.wire.common.proto.DotaUserMessages.internal_static_CDOTAUserMsg_MarsArenaOfBloodAttack_fieldAccessorTable
.ensureFieldAccessorsInitialized(
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MarsArenaOfBloodAttack.class, skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MarsArenaOfBloodAttack.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public CDOTAUserMsg_MarsArenaOfBloodAttack parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new CDOTAUserMsg_MarsArenaOfBloodAttack(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
public static final int SOURCE_EHANDLE_FIELD_NUMBER = 1;
private int sourceEhandle_;
/**
* optional int32 source_ehandle = 1;
*/
public boolean hasSourceEhandle() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional int32 source_ehandle = 1;
*/
public int getSourceEhandle() {
return sourceEhandle_;
}
public static final int TARGET_EHANDLE_FIELD_NUMBER = 2;
private int targetEhandle_;
/**
* optional int32 target_ehandle = 2;
*/
public boolean hasTargetEhandle() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional int32 target_ehandle = 2;
*/
public int getTargetEhandle() {
return targetEhandle_;
}
public static final int WARRIOR_INDEX_FIELD_NUMBER = 3;
private int warriorIndex_;
/**
* optional int32 warrior_index = 3;
*/
public boolean hasWarriorIndex() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional int32 warrior_index = 3;
*/
public int getWarriorIndex() {
return warriorIndex_;
}
private void initFields() {
sourceEhandle_ = 0;
targetEhandle_ = 0;
warriorIndex_ = 0;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 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, sourceEhandle_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeInt32(2, targetEhandle_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
output.writeInt32(3, warriorIndex_);
}
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, sourceEhandle_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(2, targetEhandle_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(3, warriorIndex_);
}
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.common.proto.DotaUserMessages.CDOTAUserMsg_MarsArenaOfBloodAttack parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MarsArenaOfBloodAttack 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.common.proto.DotaUserMessages.CDOTAUserMsg_MarsArenaOfBloodAttack parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MarsArenaOfBloodAttack parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MarsArenaOfBloodAttack parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MarsArenaOfBloodAttack parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MarsArenaOfBloodAttack parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MarsArenaOfBloodAttack parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MarsArenaOfBloodAttack parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MarsArenaOfBloodAttack 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.common.proto.DotaUserMessages.CDOTAUserMsg_MarsArenaOfBloodAttack 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 CDOTAUserMsg_MarsArenaOfBloodAttack}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:CDOTAUserMsg_MarsArenaOfBloodAttack)
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MarsArenaOfBloodAttackOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return skadistats.clarity.wire.common.proto.DotaUserMessages.internal_static_CDOTAUserMsg_MarsArenaOfBloodAttack_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return skadistats.clarity.wire.common.proto.DotaUserMessages.internal_static_CDOTAUserMsg_MarsArenaOfBloodAttack_fieldAccessorTable
.ensureFieldAccessorsInitialized(
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MarsArenaOfBloodAttack.class, skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MarsArenaOfBloodAttack.Builder.class);
}
// Construct using skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MarsArenaOfBloodAttack.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();
sourceEhandle_ = 0;
bitField0_ = (bitField0_ & ~0x00000001);
targetEhandle_ = 0;
bitField0_ = (bitField0_ & ~0x00000002);
warriorIndex_ = 0;
bitField0_ = (bitField0_ & ~0x00000004);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return skadistats.clarity.wire.common.proto.DotaUserMessages.internal_static_CDOTAUserMsg_MarsArenaOfBloodAttack_descriptor;
}
public skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MarsArenaOfBloodAttack getDefaultInstanceForType() {
return skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MarsArenaOfBloodAttack.getDefaultInstance();
}
public skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MarsArenaOfBloodAttack build() {
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MarsArenaOfBloodAttack result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MarsArenaOfBloodAttack buildPartial() {
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MarsArenaOfBloodAttack result = new skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MarsArenaOfBloodAttack(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.sourceEhandle_ = sourceEhandle_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.targetEhandle_ = targetEhandle_;
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
to_bitField0_ |= 0x00000004;
}
result.warriorIndex_ = warriorIndex_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MarsArenaOfBloodAttack) {
return mergeFrom((skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MarsArenaOfBloodAttack)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MarsArenaOfBloodAttack other) {
if (other == skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MarsArenaOfBloodAttack.getDefaultInstance()) return this;
if (other.hasSourceEhandle()) {
setSourceEhandle(other.getSourceEhandle());
}
if (other.hasTargetEhandle()) {
setTargetEhandle(other.getTargetEhandle());
}
if (other.hasWarriorIndex()) {
setWarriorIndex(other.getWarriorIndex());
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MarsArenaOfBloodAttack parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MarsArenaOfBloodAttack) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private int sourceEhandle_ ;
/**
* optional int32 source_ehandle = 1;
*/
public boolean hasSourceEhandle() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional int32 source_ehandle = 1;
*/
public int getSourceEhandle() {
return sourceEhandle_;
}
/**
* optional int32 source_ehandle = 1;
*/
public Builder setSourceEhandle(int value) {
bitField0_ |= 0x00000001;
sourceEhandle_ = value;
onChanged();
return this;
}
/**
* optional int32 source_ehandle = 1;
*/
public Builder clearSourceEhandle() {
bitField0_ = (bitField0_ & ~0x00000001);
sourceEhandle_ = 0;
onChanged();
return this;
}
private int targetEhandle_ ;
/**
* optional int32 target_ehandle = 2;
*/
public boolean hasTargetEhandle() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional int32 target_ehandle = 2;
*/
public int getTargetEhandle() {
return targetEhandle_;
}
/**
* optional int32 target_ehandle = 2;
*/
public Builder setTargetEhandle(int value) {
bitField0_ |= 0x00000002;
targetEhandle_ = value;
onChanged();
return this;
}
/**
* optional int32 target_ehandle = 2;
*/
public Builder clearTargetEhandle() {
bitField0_ = (bitField0_ & ~0x00000002);
targetEhandle_ = 0;
onChanged();
return this;
}
private int warriorIndex_ ;
/**
* optional int32 warrior_index = 3;
*/
public boolean hasWarriorIndex() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional int32 warrior_index = 3;
*/
public int getWarriorIndex() {
return warriorIndex_;
}
/**
* optional int32 warrior_index = 3;
*/
public Builder setWarriorIndex(int value) {
bitField0_ |= 0x00000004;
warriorIndex_ = value;
onChanged();
return this;
}
/**
* optional int32 warrior_index = 3;
*/
public Builder clearWarriorIndex() {
bitField0_ = (bitField0_ & ~0x00000004);
warriorIndex_ = 0;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:CDOTAUserMsg_MarsArenaOfBloodAttack)
}
static {
defaultInstance = new CDOTAUserMsg_MarsArenaOfBloodAttack(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:CDOTAUserMsg_MarsArenaOfBloodAttack)
}
public interface CDOTAEntityMsg_InvokerSpellCastOrBuilder extends
// @@protoc_insertion_point(interface_extends:CDOTAEntityMsg_InvokerSpellCast)
com.google.protobuf.MessageOrBuilder {
/**
* optional .CEntityMsg entity_msg = 1;
*/
boolean hasEntityMsg();
/**
* optional .CEntityMsg entity_msg = 1;
*/
skadistats.clarity.wire.common.proto.NetworkBaseTypes.CEntityMsg getEntityMsg();
/**
* optional .CEntityMsg entity_msg = 1;
*/
skadistats.clarity.wire.common.proto.NetworkBaseTypes.CEntityMsgOrBuilder getEntityMsgOrBuilder();
/**
* optional int32 cast_activity = 2;
*/
boolean hasCastActivity();
/**
* optional int32 cast_activity = 2;
*/
int getCastActivity();
}
/**
* Protobuf type {@code CDOTAEntityMsg_InvokerSpellCast}
*/
public static final class CDOTAEntityMsg_InvokerSpellCast extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:CDOTAEntityMsg_InvokerSpellCast)
CDOTAEntityMsg_InvokerSpellCastOrBuilder {
// Use CDOTAEntityMsg_InvokerSpellCast.newBuilder() to construct.
private CDOTAEntityMsg_InvokerSpellCast(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private CDOTAEntityMsg_InvokerSpellCast(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final CDOTAEntityMsg_InvokerSpellCast defaultInstance;
public static CDOTAEntityMsg_InvokerSpellCast getDefaultInstance() {
return defaultInstance;
}
public CDOTAEntityMsg_InvokerSpellCast getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private CDOTAEntityMsg_InvokerSpellCast(
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 10: {
skadistats.clarity.wire.common.proto.NetworkBaseTypes.CEntityMsg.Builder subBuilder = null;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
subBuilder = entityMsg_.toBuilder();
}
entityMsg_ = input.readMessage(skadistats.clarity.wire.common.proto.NetworkBaseTypes.CEntityMsg.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(entityMsg_);
entityMsg_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000001;
break;
}
case 16: {
bitField0_ |= 0x00000002;
castActivity_ = input.readInt32();
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.common.proto.DotaUserMessages.internal_static_CDOTAEntityMsg_InvokerSpellCast_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return skadistats.clarity.wire.common.proto.DotaUserMessages.internal_static_CDOTAEntityMsg_InvokerSpellCast_fieldAccessorTable
.ensureFieldAccessorsInitialized(
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAEntityMsg_InvokerSpellCast.class, skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAEntityMsg_InvokerSpellCast.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public CDOTAEntityMsg_InvokerSpellCast parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new CDOTAEntityMsg_InvokerSpellCast(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
public static final int ENTITY_MSG_FIELD_NUMBER = 1;
private skadistats.clarity.wire.common.proto.NetworkBaseTypes.CEntityMsg entityMsg_;
/**
* optional .CEntityMsg entity_msg = 1;
*/
public boolean hasEntityMsg() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional .CEntityMsg entity_msg = 1;
*/
public skadistats.clarity.wire.common.proto.NetworkBaseTypes.CEntityMsg getEntityMsg() {
return entityMsg_;
}
/**
* optional .CEntityMsg entity_msg = 1;
*/
public skadistats.clarity.wire.common.proto.NetworkBaseTypes.CEntityMsgOrBuilder getEntityMsgOrBuilder() {
return entityMsg_;
}
public static final int CAST_ACTIVITY_FIELD_NUMBER = 2;
private int castActivity_;
/**
* optional int32 cast_activity = 2;
*/
public boolean hasCastActivity() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional int32 cast_activity = 2;
*/
public int getCastActivity() {
return castActivity_;
}
private void initFields() {
entityMsg_ = skadistats.clarity.wire.common.proto.NetworkBaseTypes.CEntityMsg.getDefaultInstance();
castActivity_ = 0;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 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.writeMessage(1, entityMsg_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeInt32(2, castActivity_);
}
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
.computeMessageSize(1, entityMsg_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(2, castActivity_);
}
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.common.proto.DotaUserMessages.CDOTAEntityMsg_InvokerSpellCast parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAEntityMsg_InvokerSpellCast 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.common.proto.DotaUserMessages.CDOTAEntityMsg_InvokerSpellCast parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAEntityMsg_InvokerSpellCast parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAEntityMsg_InvokerSpellCast parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAEntityMsg_InvokerSpellCast parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAEntityMsg_InvokerSpellCast parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAEntityMsg_InvokerSpellCast parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAEntityMsg_InvokerSpellCast parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAEntityMsg_InvokerSpellCast 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.common.proto.DotaUserMessages.CDOTAEntityMsg_InvokerSpellCast 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 CDOTAEntityMsg_InvokerSpellCast}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:CDOTAEntityMsg_InvokerSpellCast)
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAEntityMsg_InvokerSpellCastOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return skadistats.clarity.wire.common.proto.DotaUserMessages.internal_static_CDOTAEntityMsg_InvokerSpellCast_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return skadistats.clarity.wire.common.proto.DotaUserMessages.internal_static_CDOTAEntityMsg_InvokerSpellCast_fieldAccessorTable
.ensureFieldAccessorsInitialized(
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAEntityMsg_InvokerSpellCast.class, skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAEntityMsg_InvokerSpellCast.Builder.class);
}
// Construct using skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAEntityMsg_InvokerSpellCast.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
getEntityMsgFieldBuilder();
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
if (entityMsgBuilder_ == null) {
entityMsg_ = skadistats.clarity.wire.common.proto.NetworkBaseTypes.CEntityMsg.getDefaultInstance();
} else {
entityMsgBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
castActivity_ = 0;
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return skadistats.clarity.wire.common.proto.DotaUserMessages.internal_static_CDOTAEntityMsg_InvokerSpellCast_descriptor;
}
public skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAEntityMsg_InvokerSpellCast getDefaultInstanceForType() {
return skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAEntityMsg_InvokerSpellCast.getDefaultInstance();
}
public skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAEntityMsg_InvokerSpellCast build() {
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAEntityMsg_InvokerSpellCast result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAEntityMsg_InvokerSpellCast buildPartial() {
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAEntityMsg_InvokerSpellCast result = new skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAEntityMsg_InvokerSpellCast(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
if (entityMsgBuilder_ == null) {
result.entityMsg_ = entityMsg_;
} else {
result.entityMsg_ = entityMsgBuilder_.build();
}
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.castActivity_ = castActivity_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAEntityMsg_InvokerSpellCast) {
return mergeFrom((skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAEntityMsg_InvokerSpellCast)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAEntityMsg_InvokerSpellCast other) {
if (other == skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAEntityMsg_InvokerSpellCast.getDefaultInstance()) return this;
if (other.hasEntityMsg()) {
mergeEntityMsg(other.getEntityMsg());
}
if (other.hasCastActivity()) {
setCastActivity(other.getCastActivity());
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAEntityMsg_InvokerSpellCast parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAEntityMsg_InvokerSpellCast) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private skadistats.clarity.wire.common.proto.NetworkBaseTypes.CEntityMsg entityMsg_ = skadistats.clarity.wire.common.proto.NetworkBaseTypes.CEntityMsg.getDefaultInstance();
private com.google.protobuf.SingleFieldBuilder<
skadistats.clarity.wire.common.proto.NetworkBaseTypes.CEntityMsg, skadistats.clarity.wire.common.proto.NetworkBaseTypes.CEntityMsg.Builder, skadistats.clarity.wire.common.proto.NetworkBaseTypes.CEntityMsgOrBuilder> entityMsgBuilder_;
/**
* optional .CEntityMsg entity_msg = 1;
*/
public boolean hasEntityMsg() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional .CEntityMsg entity_msg = 1;
*/
public skadistats.clarity.wire.common.proto.NetworkBaseTypes.CEntityMsg getEntityMsg() {
if (entityMsgBuilder_ == null) {
return entityMsg_;
} else {
return entityMsgBuilder_.getMessage();
}
}
/**
* optional .CEntityMsg entity_msg = 1;
*/
public Builder setEntityMsg(skadistats.clarity.wire.common.proto.NetworkBaseTypes.CEntityMsg value) {
if (entityMsgBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
entityMsg_ = value;
onChanged();
} else {
entityMsgBuilder_.setMessage(value);
}
bitField0_ |= 0x00000001;
return this;
}
/**
* optional .CEntityMsg entity_msg = 1;
*/
public Builder setEntityMsg(
skadistats.clarity.wire.common.proto.NetworkBaseTypes.CEntityMsg.Builder builderForValue) {
if (entityMsgBuilder_ == null) {
entityMsg_ = builderForValue.build();
onChanged();
} else {
entityMsgBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000001;
return this;
}
/**
* optional .CEntityMsg entity_msg = 1;
*/
public Builder mergeEntityMsg(skadistats.clarity.wire.common.proto.NetworkBaseTypes.CEntityMsg value) {
if (entityMsgBuilder_ == null) {
if (((bitField0_ & 0x00000001) == 0x00000001) &&
entityMsg_ != skadistats.clarity.wire.common.proto.NetworkBaseTypes.CEntityMsg.getDefaultInstance()) {
entityMsg_ =
skadistats.clarity.wire.common.proto.NetworkBaseTypes.CEntityMsg.newBuilder(entityMsg_).mergeFrom(value).buildPartial();
} else {
entityMsg_ = value;
}
onChanged();
} else {
entityMsgBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000001;
return this;
}
/**
* optional .CEntityMsg entity_msg = 1;
*/
public Builder clearEntityMsg() {
if (entityMsgBuilder_ == null) {
entityMsg_ = skadistats.clarity.wire.common.proto.NetworkBaseTypes.CEntityMsg.getDefaultInstance();
onChanged();
} else {
entityMsgBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
/**
* optional .CEntityMsg entity_msg = 1;
*/
public skadistats.clarity.wire.common.proto.NetworkBaseTypes.CEntityMsg.Builder getEntityMsgBuilder() {
bitField0_ |= 0x00000001;
onChanged();
return getEntityMsgFieldBuilder().getBuilder();
}
/**
* optional .CEntityMsg entity_msg = 1;
*/
public skadistats.clarity.wire.common.proto.NetworkBaseTypes.CEntityMsgOrBuilder getEntityMsgOrBuilder() {
if (entityMsgBuilder_ != null) {
return entityMsgBuilder_.getMessageOrBuilder();
} else {
return entityMsg_;
}
}
/**
* optional .CEntityMsg entity_msg = 1;
*/
private com.google.protobuf.SingleFieldBuilder<
skadistats.clarity.wire.common.proto.NetworkBaseTypes.CEntityMsg, skadistats.clarity.wire.common.proto.NetworkBaseTypes.CEntityMsg.Builder, skadistats.clarity.wire.common.proto.NetworkBaseTypes.CEntityMsgOrBuilder>
getEntityMsgFieldBuilder() {
if (entityMsgBuilder_ == null) {
entityMsgBuilder_ = new com.google.protobuf.SingleFieldBuilder<
skadistats.clarity.wire.common.proto.NetworkBaseTypes.CEntityMsg, skadistats.clarity.wire.common.proto.NetworkBaseTypes.CEntityMsg.Builder, skadistats.clarity.wire.common.proto.NetworkBaseTypes.CEntityMsgOrBuilder>(
getEntityMsg(),
getParentForChildren(),
isClean());
entityMsg_ = null;
}
return entityMsgBuilder_;
}
private int castActivity_ ;
/**
* optional int32 cast_activity = 2;
*/
public boolean hasCastActivity() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional int32 cast_activity = 2;
*/
public int getCastActivity() {
return castActivity_;
}
/**
* optional int32 cast_activity = 2;
*/
public Builder setCastActivity(int value) {
bitField0_ |= 0x00000002;
castActivity_ = value;
onChanged();
return this;
}
/**
* optional int32 cast_activity = 2;
*/
public Builder clearCastActivity() {
bitField0_ = (bitField0_ & ~0x00000002);
castActivity_ = 0;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:CDOTAEntityMsg_InvokerSpellCast)
}
static {
defaultInstance = new CDOTAEntityMsg_InvokerSpellCast(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:CDOTAEntityMsg_InvokerSpellCast)
}
public interface CDOTAUserMsg_QuickBuyAlertOrBuilder extends
// @@protoc_insertion_point(interface_extends:CDOTAUserMsg_QuickBuyAlert)
com.google.protobuf.MessageOrBuilder {
/**
* optional int32 player_id = 1;
*/
boolean hasPlayerId();
/**
* optional int32 player_id = 1;
*/
int getPlayerId();
/**
* optional int32 item_ability_id = 2;
*/
boolean hasItemAbilityId();
/**
* optional int32 item_ability_id = 2;
*/
int getItemAbilityId();
/**
* optional int32 gold_cost = 3;
*/
boolean hasGoldCost();
/**
* optional int32 gold_cost = 3;
*/
int getGoldCost();
/**
* optional int32 item_cooldown_seconds = 4;
*/
boolean hasItemCooldownSeconds();
/**
* optional int32 item_cooldown_seconds = 4;
*/
int getItemCooldownSeconds();
/**
* optional bool show_buyback = 5;
*/
boolean hasShowBuyback();
/**
* optional bool show_buyback = 5;
*/
boolean getShowBuyback();
}
/**
* Protobuf type {@code CDOTAUserMsg_QuickBuyAlert}
*/
public static final class CDOTAUserMsg_QuickBuyAlert extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:CDOTAUserMsg_QuickBuyAlert)
CDOTAUserMsg_QuickBuyAlertOrBuilder {
// Use CDOTAUserMsg_QuickBuyAlert.newBuilder() to construct.
private CDOTAUserMsg_QuickBuyAlert(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private CDOTAUserMsg_QuickBuyAlert(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final CDOTAUserMsg_QuickBuyAlert defaultInstance;
public static CDOTAUserMsg_QuickBuyAlert getDefaultInstance() {
return defaultInstance;
}
public CDOTAUserMsg_QuickBuyAlert getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private CDOTAUserMsg_QuickBuyAlert(
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;
playerId_ = input.readInt32();
break;
}
case 16: {
bitField0_ |= 0x00000002;
itemAbilityId_ = input.readInt32();
break;
}
case 24: {
bitField0_ |= 0x00000004;
goldCost_ = input.readInt32();
break;
}
case 32: {
bitField0_ |= 0x00000008;
itemCooldownSeconds_ = input.readInt32();
break;
}
case 40: {
bitField0_ |= 0x00000010;
showBuyback_ = 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.common.proto.DotaUserMessages.internal_static_CDOTAUserMsg_QuickBuyAlert_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return skadistats.clarity.wire.common.proto.DotaUserMessages.internal_static_CDOTAUserMsg_QuickBuyAlert_fieldAccessorTable
.ensureFieldAccessorsInitialized(
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_QuickBuyAlert.class, skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_QuickBuyAlert.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public CDOTAUserMsg_QuickBuyAlert parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new CDOTAUserMsg_QuickBuyAlert(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
public static final int PLAYER_ID_FIELD_NUMBER = 1;
private int playerId_;
/**
* optional int32 player_id = 1;
*/
public boolean hasPlayerId() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional int32 player_id = 1;
*/
public int getPlayerId() {
return playerId_;
}
public static final int ITEM_ABILITY_ID_FIELD_NUMBER = 2;
private int itemAbilityId_;
/**
* optional int32 item_ability_id = 2;
*/
public boolean hasItemAbilityId() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional int32 item_ability_id = 2;
*/
public int getItemAbilityId() {
return itemAbilityId_;
}
public static final int GOLD_COST_FIELD_NUMBER = 3;
private int goldCost_;
/**
* optional int32 gold_cost = 3;
*/
public boolean hasGoldCost() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional int32 gold_cost = 3;
*/
public int getGoldCost() {
return goldCost_;
}
public static final int ITEM_COOLDOWN_SECONDS_FIELD_NUMBER = 4;
private int itemCooldownSeconds_;
/**
* optional int32 item_cooldown_seconds = 4;
*/
public boolean hasItemCooldownSeconds() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* optional int32 item_cooldown_seconds = 4;
*/
public int getItemCooldownSeconds() {
return itemCooldownSeconds_;
}
public static final int SHOW_BUYBACK_FIELD_NUMBER = 5;
private boolean showBuyback_;
/**
* optional bool show_buyback = 5;
*/
public boolean hasShowBuyback() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
/**
* optional bool show_buyback = 5;
*/
public boolean getShowBuyback() {
return showBuyback_;
}
private void initFields() {
playerId_ = 0;
itemAbilityId_ = 0;
goldCost_ = 0;
itemCooldownSeconds_ = 0;
showBuyback_ = false;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 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, playerId_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeInt32(2, itemAbilityId_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
output.writeInt32(3, goldCost_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
output.writeInt32(4, itemCooldownSeconds_);
}
if (((bitField0_ & 0x00000010) == 0x00000010)) {
output.writeBool(5, showBuyback_);
}
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, playerId_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(2, itemAbilityId_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(3, goldCost_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(4, itemCooldownSeconds_);
}
if (((bitField0_ & 0x00000010) == 0x00000010)) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(5, showBuyback_);
}
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.common.proto.DotaUserMessages.CDOTAUserMsg_QuickBuyAlert parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_QuickBuyAlert 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.common.proto.DotaUserMessages.CDOTAUserMsg_QuickBuyAlert parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_QuickBuyAlert parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_QuickBuyAlert parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_QuickBuyAlert parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_QuickBuyAlert parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_QuickBuyAlert parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_QuickBuyAlert parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_QuickBuyAlert 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.common.proto.DotaUserMessages.CDOTAUserMsg_QuickBuyAlert 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 CDOTAUserMsg_QuickBuyAlert}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:CDOTAUserMsg_QuickBuyAlert)
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_QuickBuyAlertOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return skadistats.clarity.wire.common.proto.DotaUserMessages.internal_static_CDOTAUserMsg_QuickBuyAlert_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return skadistats.clarity.wire.common.proto.DotaUserMessages.internal_static_CDOTAUserMsg_QuickBuyAlert_fieldAccessorTable
.ensureFieldAccessorsInitialized(
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_QuickBuyAlert.class, skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_QuickBuyAlert.Builder.class);
}
// Construct using skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_QuickBuyAlert.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();
playerId_ = 0;
bitField0_ = (bitField0_ & ~0x00000001);
itemAbilityId_ = 0;
bitField0_ = (bitField0_ & ~0x00000002);
goldCost_ = 0;
bitField0_ = (bitField0_ & ~0x00000004);
itemCooldownSeconds_ = 0;
bitField0_ = (bitField0_ & ~0x00000008);
showBuyback_ = false;
bitField0_ = (bitField0_ & ~0x00000010);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return skadistats.clarity.wire.common.proto.DotaUserMessages.internal_static_CDOTAUserMsg_QuickBuyAlert_descriptor;
}
public skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_QuickBuyAlert getDefaultInstanceForType() {
return skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_QuickBuyAlert.getDefaultInstance();
}
public skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_QuickBuyAlert build() {
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_QuickBuyAlert result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_QuickBuyAlert buildPartial() {
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_QuickBuyAlert result = new skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_QuickBuyAlert(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.playerId_ = playerId_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.itemAbilityId_ = itemAbilityId_;
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
to_bitField0_ |= 0x00000004;
}
result.goldCost_ = goldCost_;
if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
to_bitField0_ |= 0x00000008;
}
result.itemCooldownSeconds_ = itemCooldownSeconds_;
if (((from_bitField0_ & 0x00000010) == 0x00000010)) {
to_bitField0_ |= 0x00000010;
}
result.showBuyback_ = showBuyback_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_QuickBuyAlert) {
return mergeFrom((skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_QuickBuyAlert)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_QuickBuyAlert other) {
if (other == skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_QuickBuyAlert.getDefaultInstance()) return this;
if (other.hasPlayerId()) {
setPlayerId(other.getPlayerId());
}
if (other.hasItemAbilityId()) {
setItemAbilityId(other.getItemAbilityId());
}
if (other.hasGoldCost()) {
setGoldCost(other.getGoldCost());
}
if (other.hasItemCooldownSeconds()) {
setItemCooldownSeconds(other.getItemCooldownSeconds());
}
if (other.hasShowBuyback()) {
setShowBuyback(other.getShowBuyback());
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_QuickBuyAlert parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_QuickBuyAlert) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private int playerId_ ;
/**
* optional int32 player_id = 1;
*/
public boolean hasPlayerId() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional int32 player_id = 1;
*/
public int getPlayerId() {
return playerId_;
}
/**
* optional int32 player_id = 1;
*/
public Builder setPlayerId(int value) {
bitField0_ |= 0x00000001;
playerId_ = value;
onChanged();
return this;
}
/**
* optional int32 player_id = 1;
*/
public Builder clearPlayerId() {
bitField0_ = (bitField0_ & ~0x00000001);
playerId_ = 0;
onChanged();
return this;
}
private int itemAbilityId_ ;
/**
* optional int32 item_ability_id = 2;
*/
public boolean hasItemAbilityId() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional int32 item_ability_id = 2;
*/
public int getItemAbilityId() {
return itemAbilityId_;
}
/**
* optional int32 item_ability_id = 2;
*/
public Builder setItemAbilityId(int value) {
bitField0_ |= 0x00000002;
itemAbilityId_ = value;
onChanged();
return this;
}
/**
* optional int32 item_ability_id = 2;
*/
public Builder clearItemAbilityId() {
bitField0_ = (bitField0_ & ~0x00000002);
itemAbilityId_ = 0;
onChanged();
return this;
}
private int goldCost_ ;
/**
* optional int32 gold_cost = 3;
*/
public boolean hasGoldCost() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional int32 gold_cost = 3;
*/
public int getGoldCost() {
return goldCost_;
}
/**
* optional int32 gold_cost = 3;
*/
public Builder setGoldCost(int value) {
bitField0_ |= 0x00000004;
goldCost_ = value;
onChanged();
return this;
}
/**
* optional int32 gold_cost = 3;
*/
public Builder clearGoldCost() {
bitField0_ = (bitField0_ & ~0x00000004);
goldCost_ = 0;
onChanged();
return this;
}
private int itemCooldownSeconds_ ;
/**
* optional int32 item_cooldown_seconds = 4;
*/
public boolean hasItemCooldownSeconds() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* optional int32 item_cooldown_seconds = 4;
*/
public int getItemCooldownSeconds() {
return itemCooldownSeconds_;
}
/**
* optional int32 item_cooldown_seconds = 4;
*/
public Builder setItemCooldownSeconds(int value) {
bitField0_ |= 0x00000008;
itemCooldownSeconds_ = value;
onChanged();
return this;
}
/**
* optional int32 item_cooldown_seconds = 4;
*/
public Builder clearItemCooldownSeconds() {
bitField0_ = (bitField0_ & ~0x00000008);
itemCooldownSeconds_ = 0;
onChanged();
return this;
}
private boolean showBuyback_ ;
/**
* optional bool show_buyback = 5;
*/
public boolean hasShowBuyback() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
/**
* optional bool show_buyback = 5;
*/
public boolean getShowBuyback() {
return showBuyback_;
}
/**
* optional bool show_buyback = 5;
*/
public Builder setShowBuyback(boolean value) {
bitField0_ |= 0x00000010;
showBuyback_ = value;
onChanged();
return this;
}
/**
* optional bool show_buyback = 5;
*/
public Builder clearShowBuyback() {
bitField0_ = (bitField0_ & ~0x00000010);
showBuyback_ = false;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:CDOTAUserMsg_QuickBuyAlert)
}
static {
defaultInstance = new CDOTAUserMsg_QuickBuyAlert(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:CDOTAUserMsg_QuickBuyAlert)
}
public interface CDOTAUserMsg_CourierKilledAlertOrBuilder extends
// @@protoc_insertion_point(interface_extends:CDOTAUserMsg_CourierKilledAlert)
com.google.protobuf.MessageOrBuilder {
/**
* optional uint32 team = 1;
*/
boolean hasTeam();
/**
* optional uint32 team = 1;
*/
int getTeam();
/**
* optional uint32 gold_value = 2;
*/
boolean hasGoldValue();
/**
* optional uint32 gold_value = 2;
*/
int getGoldValue();
/**
* optional int32 entity_handle = 3;
*/
boolean hasEntityHandle();
/**
* optional int32 entity_handle = 3;
*/
int getEntityHandle();
/**
* optional int32 timestamp = 4;
*/
boolean hasTimestamp();
/**
* optional int32 timestamp = 4;
*/
int getTimestamp();
/**
* repeated .CDOTAUserMsg_CourierKilledAlert.LostItem lost_items = 5;
*/
java.util.List
getLostItemsList();
/**
* repeated .CDOTAUserMsg_CourierKilledAlert.LostItem lost_items = 5;
*/
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_CourierKilledAlert.LostItem getLostItems(int index);
/**
* repeated .CDOTAUserMsg_CourierKilledAlert.LostItem lost_items = 5;
*/
int getLostItemsCount();
/**
* repeated .CDOTAUserMsg_CourierKilledAlert.LostItem lost_items = 5;
*/
java.util.List extends skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_CourierKilledAlert.LostItemOrBuilder>
getLostItemsOrBuilderList();
/**
* repeated .CDOTAUserMsg_CourierKilledAlert.LostItem lost_items = 5;
*/
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_CourierKilledAlert.LostItemOrBuilder getLostItemsOrBuilder(
int index);
/**
* optional int32 killer_player_id = 6;
*/
boolean hasKillerPlayerId();
/**
* optional int32 killer_player_id = 6;
*/
int getKillerPlayerId();
/**
* optional int32 owning_player_id = 7;
*/
boolean hasOwningPlayerId();
/**
* optional int32 owning_player_id = 7;
*/
int getOwningPlayerId();
}
/**
* Protobuf type {@code CDOTAUserMsg_CourierKilledAlert}
*/
public static final class CDOTAUserMsg_CourierKilledAlert extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:CDOTAUserMsg_CourierKilledAlert)
CDOTAUserMsg_CourierKilledAlertOrBuilder {
// Use CDOTAUserMsg_CourierKilledAlert.newBuilder() to construct.
private CDOTAUserMsg_CourierKilledAlert(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private CDOTAUserMsg_CourierKilledAlert(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final CDOTAUserMsg_CourierKilledAlert defaultInstance;
public static CDOTAUserMsg_CourierKilledAlert getDefaultInstance() {
return defaultInstance;
}
public CDOTAUserMsg_CourierKilledAlert getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private CDOTAUserMsg_CourierKilledAlert(
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;
team_ = input.readUInt32();
break;
}
case 16: {
bitField0_ |= 0x00000002;
goldValue_ = input.readUInt32();
break;
}
case 24: {
bitField0_ |= 0x00000004;
entityHandle_ = input.readInt32();
break;
}
case 32: {
bitField0_ |= 0x00000008;
timestamp_ = input.readInt32();
break;
}
case 42: {
if (!((mutable_bitField0_ & 0x00000010) == 0x00000010)) {
lostItems_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000010;
}
lostItems_.add(input.readMessage(skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_CourierKilledAlert.LostItem.PARSER, extensionRegistry));
break;
}
case 48: {
bitField0_ |= 0x00000010;
killerPlayerId_ = input.readInt32();
break;
}
case 56: {
bitField0_ |= 0x00000020;
owningPlayerId_ = input.readInt32();
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 {
if (((mutable_bitField0_ & 0x00000010) == 0x00000010)) {
lostItems_ = java.util.Collections.unmodifiableList(lostItems_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return skadistats.clarity.wire.common.proto.DotaUserMessages.internal_static_CDOTAUserMsg_CourierKilledAlert_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return skadistats.clarity.wire.common.proto.DotaUserMessages.internal_static_CDOTAUserMsg_CourierKilledAlert_fieldAccessorTable
.ensureFieldAccessorsInitialized(
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_CourierKilledAlert.class, skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_CourierKilledAlert.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public CDOTAUserMsg_CourierKilledAlert parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new CDOTAUserMsg_CourierKilledAlert(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public interface LostItemOrBuilder extends
// @@protoc_insertion_point(interface_extends:CDOTAUserMsg_CourierKilledAlert.LostItem)
com.google.protobuf.MessageOrBuilder {
/**
* optional int32 item_ability_id = 1;
*/
boolean hasItemAbilityId();
/**
* optional int32 item_ability_id = 1;
*/
int getItemAbilityId();
/**
* optional uint32 quantity = 2;
*/
boolean hasQuantity();
/**
* optional uint32 quantity = 2;
*/
int getQuantity();
}
/**
* Protobuf type {@code CDOTAUserMsg_CourierKilledAlert.LostItem}
*/
public static final class LostItem extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:CDOTAUserMsg_CourierKilledAlert.LostItem)
LostItemOrBuilder {
// Use LostItem.newBuilder() to construct.
private LostItem(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private LostItem(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final LostItem defaultInstance;
public static LostItem getDefaultInstance() {
return defaultInstance;
}
public LostItem getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private LostItem(
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;
itemAbilityId_ = input.readInt32();
break;
}
case 16: {
bitField0_ |= 0x00000002;
quantity_ = input.readUInt32();
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.common.proto.DotaUserMessages.internal_static_CDOTAUserMsg_CourierKilledAlert_LostItem_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return skadistats.clarity.wire.common.proto.DotaUserMessages.internal_static_CDOTAUserMsg_CourierKilledAlert_LostItem_fieldAccessorTable
.ensureFieldAccessorsInitialized(
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_CourierKilledAlert.LostItem.class, skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_CourierKilledAlert.LostItem.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public LostItem parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new LostItem(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
public static final int ITEM_ABILITY_ID_FIELD_NUMBER = 1;
private int itemAbilityId_;
/**
* optional int32 item_ability_id = 1;
*/
public boolean hasItemAbilityId() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional int32 item_ability_id = 1;
*/
public int getItemAbilityId() {
return itemAbilityId_;
}
public static final int QUANTITY_FIELD_NUMBER = 2;
private int quantity_;
/**
* optional uint32 quantity = 2;
*/
public boolean hasQuantity() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional uint32 quantity = 2;
*/
public int getQuantity() {
return quantity_;
}
private void initFields() {
itemAbilityId_ = 0;
quantity_ = 0;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 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, itemAbilityId_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeUInt32(2, quantity_);
}
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, itemAbilityId_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(2, quantity_);
}
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.common.proto.DotaUserMessages.CDOTAUserMsg_CourierKilledAlert.LostItem parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_CourierKilledAlert.LostItem 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.common.proto.DotaUserMessages.CDOTAUserMsg_CourierKilledAlert.LostItem parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_CourierKilledAlert.LostItem parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_CourierKilledAlert.LostItem parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_CourierKilledAlert.LostItem parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_CourierKilledAlert.LostItem parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_CourierKilledAlert.LostItem parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_CourierKilledAlert.LostItem parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_CourierKilledAlert.LostItem 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.common.proto.DotaUserMessages.CDOTAUserMsg_CourierKilledAlert.LostItem 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 CDOTAUserMsg_CourierKilledAlert.LostItem}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:CDOTAUserMsg_CourierKilledAlert.LostItem)
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_CourierKilledAlert.LostItemOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return skadistats.clarity.wire.common.proto.DotaUserMessages.internal_static_CDOTAUserMsg_CourierKilledAlert_LostItem_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return skadistats.clarity.wire.common.proto.DotaUserMessages.internal_static_CDOTAUserMsg_CourierKilledAlert_LostItem_fieldAccessorTable
.ensureFieldAccessorsInitialized(
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_CourierKilledAlert.LostItem.class, skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_CourierKilledAlert.LostItem.Builder.class);
}
// Construct using skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_CourierKilledAlert.LostItem.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();
itemAbilityId_ = 0;
bitField0_ = (bitField0_ & ~0x00000001);
quantity_ = 0;
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return skadistats.clarity.wire.common.proto.DotaUserMessages.internal_static_CDOTAUserMsg_CourierKilledAlert_LostItem_descriptor;
}
public skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_CourierKilledAlert.LostItem getDefaultInstanceForType() {
return skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_CourierKilledAlert.LostItem.getDefaultInstance();
}
public skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_CourierKilledAlert.LostItem build() {
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_CourierKilledAlert.LostItem result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_CourierKilledAlert.LostItem buildPartial() {
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_CourierKilledAlert.LostItem result = new skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_CourierKilledAlert.LostItem(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.itemAbilityId_ = itemAbilityId_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.quantity_ = quantity_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_CourierKilledAlert.LostItem) {
return mergeFrom((skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_CourierKilledAlert.LostItem)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_CourierKilledAlert.LostItem other) {
if (other == skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_CourierKilledAlert.LostItem.getDefaultInstance()) return this;
if (other.hasItemAbilityId()) {
setItemAbilityId(other.getItemAbilityId());
}
if (other.hasQuantity()) {
setQuantity(other.getQuantity());
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_CourierKilledAlert.LostItem parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_CourierKilledAlert.LostItem) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private int itemAbilityId_ ;
/**
* optional int32 item_ability_id = 1;
*/
public boolean hasItemAbilityId() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional int32 item_ability_id = 1;
*/
public int getItemAbilityId() {
return itemAbilityId_;
}
/**
* optional int32 item_ability_id = 1;
*/
public Builder setItemAbilityId(int value) {
bitField0_ |= 0x00000001;
itemAbilityId_ = value;
onChanged();
return this;
}
/**
* optional int32 item_ability_id = 1;
*/
public Builder clearItemAbilityId() {
bitField0_ = (bitField0_ & ~0x00000001);
itemAbilityId_ = 0;
onChanged();
return this;
}
private int quantity_ ;
/**
* optional uint32 quantity = 2;
*/
public boolean hasQuantity() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional uint32 quantity = 2;
*/
public int getQuantity() {
return quantity_;
}
/**
* optional uint32 quantity = 2;
*/
public Builder setQuantity(int value) {
bitField0_ |= 0x00000002;
quantity_ = value;
onChanged();
return this;
}
/**
* optional uint32 quantity = 2;
*/
public Builder clearQuantity() {
bitField0_ = (bitField0_ & ~0x00000002);
quantity_ = 0;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:CDOTAUserMsg_CourierKilledAlert.LostItem)
}
static {
defaultInstance = new LostItem(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:CDOTAUserMsg_CourierKilledAlert.LostItem)
}
private int bitField0_;
public static final int TEAM_FIELD_NUMBER = 1;
private int team_;
/**
* optional uint32 team = 1;
*/
public boolean hasTeam() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional uint32 team = 1;
*/
public int getTeam() {
return team_;
}
public static final int GOLD_VALUE_FIELD_NUMBER = 2;
private int goldValue_;
/**
* optional uint32 gold_value = 2;
*/
public boolean hasGoldValue() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional uint32 gold_value = 2;
*/
public int getGoldValue() {
return goldValue_;
}
public static final int ENTITY_HANDLE_FIELD_NUMBER = 3;
private int entityHandle_;
/**
* optional int32 entity_handle = 3;
*/
public boolean hasEntityHandle() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional int32 entity_handle = 3;
*/
public int getEntityHandle() {
return entityHandle_;
}
public static final int TIMESTAMP_FIELD_NUMBER = 4;
private int timestamp_;
/**
* optional int32 timestamp = 4;
*/
public boolean hasTimestamp() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* optional int32 timestamp = 4;
*/
public int getTimestamp() {
return timestamp_;
}
public static final int LOST_ITEMS_FIELD_NUMBER = 5;
private java.util.List lostItems_;
/**
* repeated .CDOTAUserMsg_CourierKilledAlert.LostItem lost_items = 5;
*/
public java.util.List getLostItemsList() {
return lostItems_;
}
/**
* repeated .CDOTAUserMsg_CourierKilledAlert.LostItem lost_items = 5;
*/
public java.util.List extends skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_CourierKilledAlert.LostItemOrBuilder>
getLostItemsOrBuilderList() {
return lostItems_;
}
/**
* repeated .CDOTAUserMsg_CourierKilledAlert.LostItem lost_items = 5;
*/
public int getLostItemsCount() {
return lostItems_.size();
}
/**
* repeated .CDOTAUserMsg_CourierKilledAlert.LostItem lost_items = 5;
*/
public skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_CourierKilledAlert.LostItem getLostItems(int index) {
return lostItems_.get(index);
}
/**
* repeated .CDOTAUserMsg_CourierKilledAlert.LostItem lost_items = 5;
*/
public skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_CourierKilledAlert.LostItemOrBuilder getLostItemsOrBuilder(
int index) {
return lostItems_.get(index);
}
public static final int KILLER_PLAYER_ID_FIELD_NUMBER = 6;
private int killerPlayerId_;
/**
* optional int32 killer_player_id = 6;
*/
public boolean hasKillerPlayerId() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
/**
* optional int32 killer_player_id = 6;
*/
public int getKillerPlayerId() {
return killerPlayerId_;
}
public static final int OWNING_PLAYER_ID_FIELD_NUMBER = 7;
private int owningPlayerId_;
/**
* optional int32 owning_player_id = 7;
*/
public boolean hasOwningPlayerId() {
return ((bitField0_ & 0x00000020) == 0x00000020);
}
/**
* optional int32 owning_player_id = 7;
*/
public int getOwningPlayerId() {
return owningPlayerId_;
}
private void initFields() {
team_ = 0;
goldValue_ = 0;
entityHandle_ = 0;
timestamp_ = 0;
lostItems_ = java.util.Collections.emptyList();
killerPlayerId_ = 0;
owningPlayerId_ = 0;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 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.writeUInt32(1, team_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeUInt32(2, goldValue_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
output.writeInt32(3, entityHandle_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
output.writeInt32(4, timestamp_);
}
for (int i = 0; i < lostItems_.size(); i++) {
output.writeMessage(5, lostItems_.get(i));
}
if (((bitField0_ & 0x00000010) == 0x00000010)) {
output.writeInt32(6, killerPlayerId_);
}
if (((bitField0_ & 0x00000020) == 0x00000020)) {
output.writeInt32(7, owningPlayerId_);
}
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
.computeUInt32Size(1, team_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(2, goldValue_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(3, entityHandle_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(4, timestamp_);
}
for (int i = 0; i < lostItems_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(5, lostItems_.get(i));
}
if (((bitField0_ & 0x00000010) == 0x00000010)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(6, killerPlayerId_);
}
if (((bitField0_ & 0x00000020) == 0x00000020)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(7, owningPlayerId_);
}
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.common.proto.DotaUserMessages.CDOTAUserMsg_CourierKilledAlert parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_CourierKilledAlert 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.common.proto.DotaUserMessages.CDOTAUserMsg_CourierKilledAlert parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_CourierKilledAlert parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_CourierKilledAlert parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_CourierKilledAlert parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_CourierKilledAlert parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_CourierKilledAlert parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_CourierKilledAlert parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_CourierKilledAlert 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.common.proto.DotaUserMessages.CDOTAUserMsg_CourierKilledAlert 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 CDOTAUserMsg_CourierKilledAlert}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:CDOTAUserMsg_CourierKilledAlert)
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_CourierKilledAlertOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return skadistats.clarity.wire.common.proto.DotaUserMessages.internal_static_CDOTAUserMsg_CourierKilledAlert_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return skadistats.clarity.wire.common.proto.DotaUserMessages.internal_static_CDOTAUserMsg_CourierKilledAlert_fieldAccessorTable
.ensureFieldAccessorsInitialized(
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_CourierKilledAlert.class, skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_CourierKilledAlert.Builder.class);
}
// Construct using skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_CourierKilledAlert.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
getLostItemsFieldBuilder();
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
team_ = 0;
bitField0_ = (bitField0_ & ~0x00000001);
goldValue_ = 0;
bitField0_ = (bitField0_ & ~0x00000002);
entityHandle_ = 0;
bitField0_ = (bitField0_ & ~0x00000004);
timestamp_ = 0;
bitField0_ = (bitField0_ & ~0x00000008);
if (lostItemsBuilder_ == null) {
lostItems_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000010);
} else {
lostItemsBuilder_.clear();
}
killerPlayerId_ = 0;
bitField0_ = (bitField0_ & ~0x00000020);
owningPlayerId_ = 0;
bitField0_ = (bitField0_ & ~0x00000040);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return skadistats.clarity.wire.common.proto.DotaUserMessages.internal_static_CDOTAUserMsg_CourierKilledAlert_descriptor;
}
public skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_CourierKilledAlert getDefaultInstanceForType() {
return skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_CourierKilledAlert.getDefaultInstance();
}
public skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_CourierKilledAlert build() {
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_CourierKilledAlert result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_CourierKilledAlert buildPartial() {
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_CourierKilledAlert result = new skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_CourierKilledAlert(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.team_ = team_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.goldValue_ = goldValue_;
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
to_bitField0_ |= 0x00000004;
}
result.entityHandle_ = entityHandle_;
if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
to_bitField0_ |= 0x00000008;
}
result.timestamp_ = timestamp_;
if (lostItemsBuilder_ == null) {
if (((bitField0_ & 0x00000010) == 0x00000010)) {
lostItems_ = java.util.Collections.unmodifiableList(lostItems_);
bitField0_ = (bitField0_ & ~0x00000010);
}
result.lostItems_ = lostItems_;
} else {
result.lostItems_ = lostItemsBuilder_.build();
}
if (((from_bitField0_ & 0x00000020) == 0x00000020)) {
to_bitField0_ |= 0x00000010;
}
result.killerPlayerId_ = killerPlayerId_;
if (((from_bitField0_ & 0x00000040) == 0x00000040)) {
to_bitField0_ |= 0x00000020;
}
result.owningPlayerId_ = owningPlayerId_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_CourierKilledAlert) {
return mergeFrom((skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_CourierKilledAlert)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_CourierKilledAlert other) {
if (other == skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_CourierKilledAlert.getDefaultInstance()) return this;
if (other.hasTeam()) {
setTeam(other.getTeam());
}
if (other.hasGoldValue()) {
setGoldValue(other.getGoldValue());
}
if (other.hasEntityHandle()) {
setEntityHandle(other.getEntityHandle());
}
if (other.hasTimestamp()) {
setTimestamp(other.getTimestamp());
}
if (lostItemsBuilder_ == null) {
if (!other.lostItems_.isEmpty()) {
if (lostItems_.isEmpty()) {
lostItems_ = other.lostItems_;
bitField0_ = (bitField0_ & ~0x00000010);
} else {
ensureLostItemsIsMutable();
lostItems_.addAll(other.lostItems_);
}
onChanged();
}
} else {
if (!other.lostItems_.isEmpty()) {
if (lostItemsBuilder_.isEmpty()) {
lostItemsBuilder_.dispose();
lostItemsBuilder_ = null;
lostItems_ = other.lostItems_;
bitField0_ = (bitField0_ & ~0x00000010);
lostItemsBuilder_ =
com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
getLostItemsFieldBuilder() : null;
} else {
lostItemsBuilder_.addAllMessages(other.lostItems_);
}
}
}
if (other.hasKillerPlayerId()) {
setKillerPlayerId(other.getKillerPlayerId());
}
if (other.hasOwningPlayerId()) {
setOwningPlayerId(other.getOwningPlayerId());
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_CourierKilledAlert parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_CourierKilledAlert) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private int team_ ;
/**
* optional uint32 team = 1;
*/
public boolean hasTeam() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional uint32 team = 1;
*/
public int getTeam() {
return team_;
}
/**
* optional uint32 team = 1;
*/
public Builder setTeam(int value) {
bitField0_ |= 0x00000001;
team_ = value;
onChanged();
return this;
}
/**
* optional uint32 team = 1;
*/
public Builder clearTeam() {
bitField0_ = (bitField0_ & ~0x00000001);
team_ = 0;
onChanged();
return this;
}
private int goldValue_ ;
/**
* optional uint32 gold_value = 2;
*/
public boolean hasGoldValue() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional uint32 gold_value = 2;
*/
public int getGoldValue() {
return goldValue_;
}
/**
* optional uint32 gold_value = 2;
*/
public Builder setGoldValue(int value) {
bitField0_ |= 0x00000002;
goldValue_ = value;
onChanged();
return this;
}
/**
* optional uint32 gold_value = 2;
*/
public Builder clearGoldValue() {
bitField0_ = (bitField0_ & ~0x00000002);
goldValue_ = 0;
onChanged();
return this;
}
private int entityHandle_ ;
/**
* optional int32 entity_handle = 3;
*/
public boolean hasEntityHandle() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional int32 entity_handle = 3;
*/
public int getEntityHandle() {
return entityHandle_;
}
/**
* optional int32 entity_handle = 3;
*/
public Builder setEntityHandle(int value) {
bitField0_ |= 0x00000004;
entityHandle_ = value;
onChanged();
return this;
}
/**
* optional int32 entity_handle = 3;
*/
public Builder clearEntityHandle() {
bitField0_ = (bitField0_ & ~0x00000004);
entityHandle_ = 0;
onChanged();
return this;
}
private int timestamp_ ;
/**
* optional int32 timestamp = 4;
*/
public boolean hasTimestamp() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* optional int32 timestamp = 4;
*/
public int getTimestamp() {
return timestamp_;
}
/**
* optional int32 timestamp = 4;
*/
public Builder setTimestamp(int value) {
bitField0_ |= 0x00000008;
timestamp_ = value;
onChanged();
return this;
}
/**
* optional int32 timestamp = 4;
*/
public Builder clearTimestamp() {
bitField0_ = (bitField0_ & ~0x00000008);
timestamp_ = 0;
onChanged();
return this;
}
private java.util.List lostItems_ =
java.util.Collections.emptyList();
private void ensureLostItemsIsMutable() {
if (!((bitField0_ & 0x00000010) == 0x00000010)) {
lostItems_ = new java.util.ArrayList(lostItems_);
bitField0_ |= 0x00000010;
}
}
private com.google.protobuf.RepeatedFieldBuilder<
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_CourierKilledAlert.LostItem, skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_CourierKilledAlert.LostItem.Builder, skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_CourierKilledAlert.LostItemOrBuilder> lostItemsBuilder_;
/**
* repeated .CDOTAUserMsg_CourierKilledAlert.LostItem lost_items = 5;
*/
public java.util.List getLostItemsList() {
if (lostItemsBuilder_ == null) {
return java.util.Collections.unmodifiableList(lostItems_);
} else {
return lostItemsBuilder_.getMessageList();
}
}
/**
* repeated .CDOTAUserMsg_CourierKilledAlert.LostItem lost_items = 5;
*/
public int getLostItemsCount() {
if (lostItemsBuilder_ == null) {
return lostItems_.size();
} else {
return lostItemsBuilder_.getCount();
}
}
/**
* repeated .CDOTAUserMsg_CourierKilledAlert.LostItem lost_items = 5;
*/
public skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_CourierKilledAlert.LostItem getLostItems(int index) {
if (lostItemsBuilder_ == null) {
return lostItems_.get(index);
} else {
return lostItemsBuilder_.getMessage(index);
}
}
/**
* repeated .CDOTAUserMsg_CourierKilledAlert.LostItem lost_items = 5;
*/
public Builder setLostItems(
int index, skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_CourierKilledAlert.LostItem value) {
if (lostItemsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureLostItemsIsMutable();
lostItems_.set(index, value);
onChanged();
} else {
lostItemsBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .CDOTAUserMsg_CourierKilledAlert.LostItem lost_items = 5;
*/
public Builder setLostItems(
int index, skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_CourierKilledAlert.LostItem.Builder builderForValue) {
if (lostItemsBuilder_ == null) {
ensureLostItemsIsMutable();
lostItems_.set(index, builderForValue.build());
onChanged();
} else {
lostItemsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .CDOTAUserMsg_CourierKilledAlert.LostItem lost_items = 5;
*/
public Builder addLostItems(skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_CourierKilledAlert.LostItem value) {
if (lostItemsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureLostItemsIsMutable();
lostItems_.add(value);
onChanged();
} else {
lostItemsBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .CDOTAUserMsg_CourierKilledAlert.LostItem lost_items = 5;
*/
public Builder addLostItems(
int index, skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_CourierKilledAlert.LostItem value) {
if (lostItemsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureLostItemsIsMutable();
lostItems_.add(index, value);
onChanged();
} else {
lostItemsBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .CDOTAUserMsg_CourierKilledAlert.LostItem lost_items = 5;
*/
public Builder addLostItems(
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_CourierKilledAlert.LostItem.Builder builderForValue) {
if (lostItemsBuilder_ == null) {
ensureLostItemsIsMutable();
lostItems_.add(builderForValue.build());
onChanged();
} else {
lostItemsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .CDOTAUserMsg_CourierKilledAlert.LostItem lost_items = 5;
*/
public Builder addLostItems(
int index, skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_CourierKilledAlert.LostItem.Builder builderForValue) {
if (lostItemsBuilder_ == null) {
ensureLostItemsIsMutable();
lostItems_.add(index, builderForValue.build());
onChanged();
} else {
lostItemsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .CDOTAUserMsg_CourierKilledAlert.LostItem lost_items = 5;
*/
public Builder addAllLostItems(
java.lang.Iterable extends skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_CourierKilledAlert.LostItem> values) {
if (lostItemsBuilder_ == null) {
ensureLostItemsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, lostItems_);
onChanged();
} else {
lostItemsBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .CDOTAUserMsg_CourierKilledAlert.LostItem lost_items = 5;
*/
public Builder clearLostItems() {
if (lostItemsBuilder_ == null) {
lostItems_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000010);
onChanged();
} else {
lostItemsBuilder_.clear();
}
return this;
}
/**
* repeated .CDOTAUserMsg_CourierKilledAlert.LostItem lost_items = 5;
*/
public Builder removeLostItems(int index) {
if (lostItemsBuilder_ == null) {
ensureLostItemsIsMutable();
lostItems_.remove(index);
onChanged();
} else {
lostItemsBuilder_.remove(index);
}
return this;
}
/**
* repeated .CDOTAUserMsg_CourierKilledAlert.LostItem lost_items = 5;
*/
public skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_CourierKilledAlert.LostItem.Builder getLostItemsBuilder(
int index) {
return getLostItemsFieldBuilder().getBuilder(index);
}
/**
* repeated .CDOTAUserMsg_CourierKilledAlert.LostItem lost_items = 5;
*/
public skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_CourierKilledAlert.LostItemOrBuilder getLostItemsOrBuilder(
int index) {
if (lostItemsBuilder_ == null) {
return lostItems_.get(index); } else {
return lostItemsBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .CDOTAUserMsg_CourierKilledAlert.LostItem lost_items = 5;
*/
public java.util.List extends skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_CourierKilledAlert.LostItemOrBuilder>
getLostItemsOrBuilderList() {
if (lostItemsBuilder_ != null) {
return lostItemsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(lostItems_);
}
}
/**
* repeated .CDOTAUserMsg_CourierKilledAlert.LostItem lost_items = 5;
*/
public skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_CourierKilledAlert.LostItem.Builder addLostItemsBuilder() {
return getLostItemsFieldBuilder().addBuilder(
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_CourierKilledAlert.LostItem.getDefaultInstance());
}
/**
* repeated .CDOTAUserMsg_CourierKilledAlert.LostItem lost_items = 5;
*/
public skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_CourierKilledAlert.LostItem.Builder addLostItemsBuilder(
int index) {
return getLostItemsFieldBuilder().addBuilder(
index, skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_CourierKilledAlert.LostItem.getDefaultInstance());
}
/**
* repeated .CDOTAUserMsg_CourierKilledAlert.LostItem lost_items = 5;
*/
public java.util.List
getLostItemsBuilderList() {
return getLostItemsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilder<
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_CourierKilledAlert.LostItem, skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_CourierKilledAlert.LostItem.Builder, skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_CourierKilledAlert.LostItemOrBuilder>
getLostItemsFieldBuilder() {
if (lostItemsBuilder_ == null) {
lostItemsBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_CourierKilledAlert.LostItem, skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_CourierKilledAlert.LostItem.Builder, skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_CourierKilledAlert.LostItemOrBuilder>(
lostItems_,
((bitField0_ & 0x00000010) == 0x00000010),
getParentForChildren(),
isClean());
lostItems_ = null;
}
return lostItemsBuilder_;
}
private int killerPlayerId_ ;
/**
* optional int32 killer_player_id = 6;
*/
public boolean hasKillerPlayerId() {
return ((bitField0_ & 0x00000020) == 0x00000020);
}
/**
* optional int32 killer_player_id = 6;
*/
public int getKillerPlayerId() {
return killerPlayerId_;
}
/**
* optional int32 killer_player_id = 6;
*/
public Builder setKillerPlayerId(int value) {
bitField0_ |= 0x00000020;
killerPlayerId_ = value;
onChanged();
return this;
}
/**
* optional int32 killer_player_id = 6;
*/
public Builder clearKillerPlayerId() {
bitField0_ = (bitField0_ & ~0x00000020);
killerPlayerId_ = 0;
onChanged();
return this;
}
private int owningPlayerId_ ;
/**
* optional int32 owning_player_id = 7;
*/
public boolean hasOwningPlayerId() {
return ((bitField0_ & 0x00000040) == 0x00000040);
}
/**
* optional int32 owning_player_id = 7;
*/
public int getOwningPlayerId() {
return owningPlayerId_;
}
/**
* optional int32 owning_player_id = 7;
*/
public Builder setOwningPlayerId(int value) {
bitField0_ |= 0x00000040;
owningPlayerId_ = value;
onChanged();
return this;
}
/**
* optional int32 owning_player_id = 7;
*/
public Builder clearOwningPlayerId() {
bitField0_ = (bitField0_ & ~0x00000040);
owningPlayerId_ = 0;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:CDOTAUserMsg_CourierKilledAlert)
}
static {
defaultInstance = new CDOTAUserMsg_CourierKilledAlert(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:CDOTAUserMsg_CourierKilledAlert)
}
public interface CDOTAUserMsg_MinimapEventOrBuilder extends
// @@protoc_insertion_point(interface_extends:CDOTAUserMsg_MinimapEvent)
com.google.protobuf.MessageOrBuilder {
/**
* optional int32 event_type = 1;
*/
boolean hasEventType();
/**
* optional int32 event_type = 1;
*/
int getEventType();
/**
* optional int32 entity_handle = 2;
*/
boolean hasEntityHandle();
/**
* optional int32 entity_handle = 2;
*/
int getEntityHandle();
/**
* optional int32 x = 3;
*/
boolean hasX();
/**
* optional int32 x = 3;
*/
int getX();
/**
* optional int32 y = 4;
*/
boolean hasY();
/**
* optional int32 y = 4;
*/
int getY();
/**
* optional int32 duration = 5;
*/
boolean hasDuration();
/**
* optional int32 duration = 5;
*/
int getDuration();
/**
* optional int32 target_entity_handle = 6;
*/
boolean hasTargetEntityHandle();
/**
* optional int32 target_entity_handle = 6;
*/
int getTargetEntityHandle();
}
/**
* Protobuf type {@code CDOTAUserMsg_MinimapEvent}
*/
public static final class CDOTAUserMsg_MinimapEvent extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:CDOTAUserMsg_MinimapEvent)
CDOTAUserMsg_MinimapEventOrBuilder {
// Use CDOTAUserMsg_MinimapEvent.newBuilder() to construct.
private CDOTAUserMsg_MinimapEvent(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private CDOTAUserMsg_MinimapEvent(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final CDOTAUserMsg_MinimapEvent defaultInstance;
public static CDOTAUserMsg_MinimapEvent getDefaultInstance() {
return defaultInstance;
}
public CDOTAUserMsg_MinimapEvent getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private CDOTAUserMsg_MinimapEvent(
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;
eventType_ = input.readInt32();
break;
}
case 16: {
bitField0_ |= 0x00000002;
entityHandle_ = input.readInt32();
break;
}
case 24: {
bitField0_ |= 0x00000004;
x_ = input.readInt32();
break;
}
case 32: {
bitField0_ |= 0x00000008;
y_ = input.readInt32();
break;
}
case 40: {
bitField0_ |= 0x00000010;
duration_ = input.readInt32();
break;
}
case 48: {
bitField0_ |= 0x00000020;
targetEntityHandle_ = input.readInt32();
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.common.proto.DotaUserMessages.internal_static_CDOTAUserMsg_MinimapEvent_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return skadistats.clarity.wire.common.proto.DotaUserMessages.internal_static_CDOTAUserMsg_MinimapEvent_fieldAccessorTable
.ensureFieldAccessorsInitialized(
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MinimapEvent.class, skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MinimapEvent.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public CDOTAUserMsg_MinimapEvent parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new CDOTAUserMsg_MinimapEvent(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
public static final int EVENT_TYPE_FIELD_NUMBER = 1;
private int eventType_;
/**
* optional int32 event_type = 1;
*/
public boolean hasEventType() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional int32 event_type = 1;
*/
public int getEventType() {
return eventType_;
}
public static final int ENTITY_HANDLE_FIELD_NUMBER = 2;
private int entityHandle_;
/**
* optional int32 entity_handle = 2;
*/
public boolean hasEntityHandle() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional int32 entity_handle = 2;
*/
public int getEntityHandle() {
return entityHandle_;
}
public static final int X_FIELD_NUMBER = 3;
private int x_;
/**
* optional int32 x = 3;
*/
public boolean hasX() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional int32 x = 3;
*/
public int getX() {
return x_;
}
public static final int Y_FIELD_NUMBER = 4;
private int y_;
/**
* optional int32 y = 4;
*/
public boolean hasY() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* optional int32 y = 4;
*/
public int getY() {
return y_;
}
public static final int DURATION_FIELD_NUMBER = 5;
private int duration_;
/**
* optional int32 duration = 5;
*/
public boolean hasDuration() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
/**
* optional int32 duration = 5;
*/
public int getDuration() {
return duration_;
}
public static final int TARGET_ENTITY_HANDLE_FIELD_NUMBER = 6;
private int targetEntityHandle_;
/**
* optional int32 target_entity_handle = 6;
*/
public boolean hasTargetEntityHandle() {
return ((bitField0_ & 0x00000020) == 0x00000020);
}
/**
* optional int32 target_entity_handle = 6;
*/
public int getTargetEntityHandle() {
return targetEntityHandle_;
}
private void initFields() {
eventType_ = 0;
entityHandle_ = 0;
x_ = 0;
y_ = 0;
duration_ = 0;
targetEntityHandle_ = 0;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 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, eventType_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeInt32(2, entityHandle_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
output.writeInt32(3, x_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
output.writeInt32(4, y_);
}
if (((bitField0_ & 0x00000010) == 0x00000010)) {
output.writeInt32(5, duration_);
}
if (((bitField0_ & 0x00000020) == 0x00000020)) {
output.writeInt32(6, targetEntityHandle_);
}
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, eventType_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(2, entityHandle_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(3, x_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(4, y_);
}
if (((bitField0_ & 0x00000010) == 0x00000010)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(5, duration_);
}
if (((bitField0_ & 0x00000020) == 0x00000020)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(6, targetEntityHandle_);
}
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.common.proto.DotaUserMessages.CDOTAUserMsg_MinimapEvent parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MinimapEvent 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.common.proto.DotaUserMessages.CDOTAUserMsg_MinimapEvent parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MinimapEvent parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MinimapEvent parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MinimapEvent parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MinimapEvent parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MinimapEvent parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MinimapEvent parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MinimapEvent 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.common.proto.DotaUserMessages.CDOTAUserMsg_MinimapEvent 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 CDOTAUserMsg_MinimapEvent}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:CDOTAUserMsg_MinimapEvent)
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MinimapEventOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return skadistats.clarity.wire.common.proto.DotaUserMessages.internal_static_CDOTAUserMsg_MinimapEvent_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return skadistats.clarity.wire.common.proto.DotaUserMessages.internal_static_CDOTAUserMsg_MinimapEvent_fieldAccessorTable
.ensureFieldAccessorsInitialized(
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MinimapEvent.class, skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MinimapEvent.Builder.class);
}
// Construct using skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MinimapEvent.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();
eventType_ = 0;
bitField0_ = (bitField0_ & ~0x00000001);
entityHandle_ = 0;
bitField0_ = (bitField0_ & ~0x00000002);
x_ = 0;
bitField0_ = (bitField0_ & ~0x00000004);
y_ = 0;
bitField0_ = (bitField0_ & ~0x00000008);
duration_ = 0;
bitField0_ = (bitField0_ & ~0x00000010);
targetEntityHandle_ = 0;
bitField0_ = (bitField0_ & ~0x00000020);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return skadistats.clarity.wire.common.proto.DotaUserMessages.internal_static_CDOTAUserMsg_MinimapEvent_descriptor;
}
public skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MinimapEvent getDefaultInstanceForType() {
return skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MinimapEvent.getDefaultInstance();
}
public skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MinimapEvent build() {
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MinimapEvent result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MinimapEvent buildPartial() {
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MinimapEvent result = new skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MinimapEvent(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.eventType_ = eventType_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.entityHandle_ = entityHandle_;
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
to_bitField0_ |= 0x00000004;
}
result.x_ = x_;
if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
to_bitField0_ |= 0x00000008;
}
result.y_ = y_;
if (((from_bitField0_ & 0x00000010) == 0x00000010)) {
to_bitField0_ |= 0x00000010;
}
result.duration_ = duration_;
if (((from_bitField0_ & 0x00000020) == 0x00000020)) {
to_bitField0_ |= 0x00000020;
}
result.targetEntityHandle_ = targetEntityHandle_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MinimapEvent) {
return mergeFrom((skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MinimapEvent)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MinimapEvent other) {
if (other == skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MinimapEvent.getDefaultInstance()) return this;
if (other.hasEventType()) {
setEventType(other.getEventType());
}
if (other.hasEntityHandle()) {
setEntityHandle(other.getEntityHandle());
}
if (other.hasX()) {
setX(other.getX());
}
if (other.hasY()) {
setY(other.getY());
}
if (other.hasDuration()) {
setDuration(other.getDuration());
}
if (other.hasTargetEntityHandle()) {
setTargetEntityHandle(other.getTargetEntityHandle());
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MinimapEvent parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MinimapEvent) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private int eventType_ ;
/**
* optional int32 event_type = 1;
*/
public boolean hasEventType() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional int32 event_type = 1;
*/
public int getEventType() {
return eventType_;
}
/**
* optional int32 event_type = 1;
*/
public Builder setEventType(int value) {
bitField0_ |= 0x00000001;
eventType_ = value;
onChanged();
return this;
}
/**
* optional int32 event_type = 1;
*/
public Builder clearEventType() {
bitField0_ = (bitField0_ & ~0x00000001);
eventType_ = 0;
onChanged();
return this;
}
private int entityHandle_ ;
/**
* optional int32 entity_handle = 2;
*/
public boolean hasEntityHandle() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional int32 entity_handle = 2;
*/
public int getEntityHandle() {
return entityHandle_;
}
/**
* optional int32 entity_handle = 2;
*/
public Builder setEntityHandle(int value) {
bitField0_ |= 0x00000002;
entityHandle_ = value;
onChanged();
return this;
}
/**
* optional int32 entity_handle = 2;
*/
public Builder clearEntityHandle() {
bitField0_ = (bitField0_ & ~0x00000002);
entityHandle_ = 0;
onChanged();
return this;
}
private int x_ ;
/**
* optional int32 x = 3;
*/
public boolean hasX() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional int32 x = 3;
*/
public int getX() {
return x_;
}
/**
* optional int32 x = 3;
*/
public Builder setX(int value) {
bitField0_ |= 0x00000004;
x_ = value;
onChanged();
return this;
}
/**
* optional int32 x = 3;
*/
public Builder clearX() {
bitField0_ = (bitField0_ & ~0x00000004);
x_ = 0;
onChanged();
return this;
}
private int y_ ;
/**
* optional int32 y = 4;
*/
public boolean hasY() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* optional int32 y = 4;
*/
public int getY() {
return y_;
}
/**
* optional int32 y = 4;
*/
public Builder setY(int value) {
bitField0_ |= 0x00000008;
y_ = value;
onChanged();
return this;
}
/**
* optional int32 y = 4;
*/
public Builder clearY() {
bitField0_ = (bitField0_ & ~0x00000008);
y_ = 0;
onChanged();
return this;
}
private int duration_ ;
/**
* optional int32 duration = 5;
*/
public boolean hasDuration() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
/**
* optional int32 duration = 5;
*/
public int getDuration() {
return duration_;
}
/**
* optional int32 duration = 5;
*/
public Builder setDuration(int value) {
bitField0_ |= 0x00000010;
duration_ = value;
onChanged();
return this;
}
/**
* optional int32 duration = 5;
*/
public Builder clearDuration() {
bitField0_ = (bitField0_ & ~0x00000010);
duration_ = 0;
onChanged();
return this;
}
private int targetEntityHandle_ ;
/**
* optional int32 target_entity_handle = 6;
*/
public boolean hasTargetEntityHandle() {
return ((bitField0_ & 0x00000020) == 0x00000020);
}
/**
* optional int32 target_entity_handle = 6;
*/
public int getTargetEntityHandle() {
return targetEntityHandle_;
}
/**
* optional int32 target_entity_handle = 6;
*/
public Builder setTargetEntityHandle(int value) {
bitField0_ |= 0x00000020;
targetEntityHandle_ = value;
onChanged();
return this;
}
/**
* optional int32 target_entity_handle = 6;
*/
public Builder clearTargetEntityHandle() {
bitField0_ = (bitField0_ & ~0x00000020);
targetEntityHandle_ = 0;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:CDOTAUserMsg_MinimapEvent)
}
static {
defaultInstance = new CDOTAUserMsg_MinimapEvent(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:CDOTAUserMsg_MinimapEvent)
}
public interface CDOTAUserMsg_MapLineOrBuilder extends
// @@protoc_insertion_point(interface_extends:CDOTAUserMsg_MapLine)
com.google.protobuf.MessageOrBuilder {
/**
* optional int32 player_id = 1;
*/
boolean hasPlayerId();
/**
* optional int32 player_id = 1;
*/
int getPlayerId();
/**
* optional .CDOTAMsg_MapLine mapline = 2;
*/
boolean hasMapline();
/**
* optional .CDOTAMsg_MapLine mapline = 2;
*/
skadistats.clarity.wire.common.proto.DotaCommonMessages.CDOTAMsg_MapLine getMapline();
/**
* optional .CDOTAMsg_MapLine mapline = 2;
*/
skadistats.clarity.wire.common.proto.DotaCommonMessages.CDOTAMsg_MapLineOrBuilder getMaplineOrBuilder();
}
/**
* Protobuf type {@code CDOTAUserMsg_MapLine}
*/
public static final class CDOTAUserMsg_MapLine extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:CDOTAUserMsg_MapLine)
CDOTAUserMsg_MapLineOrBuilder {
// Use CDOTAUserMsg_MapLine.newBuilder() to construct.
private CDOTAUserMsg_MapLine(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private CDOTAUserMsg_MapLine(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final CDOTAUserMsg_MapLine defaultInstance;
public static CDOTAUserMsg_MapLine getDefaultInstance() {
return defaultInstance;
}
public CDOTAUserMsg_MapLine getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private CDOTAUserMsg_MapLine(
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;
playerId_ = input.readInt32();
break;
}
case 18: {
skadistats.clarity.wire.common.proto.DotaCommonMessages.CDOTAMsg_MapLine.Builder subBuilder = null;
if (((bitField0_ & 0x00000002) == 0x00000002)) {
subBuilder = mapline_.toBuilder();
}
mapline_ = input.readMessage(skadistats.clarity.wire.common.proto.DotaCommonMessages.CDOTAMsg_MapLine.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(mapline_);
mapline_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000002;
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.common.proto.DotaUserMessages.internal_static_CDOTAUserMsg_MapLine_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return skadistats.clarity.wire.common.proto.DotaUserMessages.internal_static_CDOTAUserMsg_MapLine_fieldAccessorTable
.ensureFieldAccessorsInitialized(
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MapLine.class, skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MapLine.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public CDOTAUserMsg_MapLine parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new CDOTAUserMsg_MapLine(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
public static final int PLAYER_ID_FIELD_NUMBER = 1;
private int playerId_;
/**
* optional int32 player_id = 1;
*/
public boolean hasPlayerId() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional int32 player_id = 1;
*/
public int getPlayerId() {
return playerId_;
}
public static final int MAPLINE_FIELD_NUMBER = 2;
private skadistats.clarity.wire.common.proto.DotaCommonMessages.CDOTAMsg_MapLine mapline_;
/**
* optional .CDOTAMsg_MapLine mapline = 2;
*/
public boolean hasMapline() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional .CDOTAMsg_MapLine mapline = 2;
*/
public skadistats.clarity.wire.common.proto.DotaCommonMessages.CDOTAMsg_MapLine getMapline() {
return mapline_;
}
/**
* optional .CDOTAMsg_MapLine mapline = 2;
*/
public skadistats.clarity.wire.common.proto.DotaCommonMessages.CDOTAMsg_MapLineOrBuilder getMaplineOrBuilder() {
return mapline_;
}
private void initFields() {
playerId_ = 0;
mapline_ = skadistats.clarity.wire.common.proto.DotaCommonMessages.CDOTAMsg_MapLine.getDefaultInstance();
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 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, playerId_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeMessage(2, mapline_);
}
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, playerId_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, mapline_);
}
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.common.proto.DotaUserMessages.CDOTAUserMsg_MapLine parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MapLine 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.common.proto.DotaUserMessages.CDOTAUserMsg_MapLine parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MapLine parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MapLine parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MapLine parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MapLine parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MapLine parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MapLine parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MapLine 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.common.proto.DotaUserMessages.CDOTAUserMsg_MapLine 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 CDOTAUserMsg_MapLine}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:CDOTAUserMsg_MapLine)
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MapLineOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return skadistats.clarity.wire.common.proto.DotaUserMessages.internal_static_CDOTAUserMsg_MapLine_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return skadistats.clarity.wire.common.proto.DotaUserMessages.internal_static_CDOTAUserMsg_MapLine_fieldAccessorTable
.ensureFieldAccessorsInitialized(
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MapLine.class, skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MapLine.Builder.class);
}
// Construct using skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MapLine.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
getMaplineFieldBuilder();
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
playerId_ = 0;
bitField0_ = (bitField0_ & ~0x00000001);
if (maplineBuilder_ == null) {
mapline_ = skadistats.clarity.wire.common.proto.DotaCommonMessages.CDOTAMsg_MapLine.getDefaultInstance();
} else {
maplineBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return skadistats.clarity.wire.common.proto.DotaUserMessages.internal_static_CDOTAUserMsg_MapLine_descriptor;
}
public skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MapLine getDefaultInstanceForType() {
return skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MapLine.getDefaultInstance();
}
public skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MapLine build() {
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MapLine result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MapLine buildPartial() {
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MapLine result = new skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MapLine(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.playerId_ = playerId_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
if (maplineBuilder_ == null) {
result.mapline_ = mapline_;
} else {
result.mapline_ = maplineBuilder_.build();
}
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MapLine) {
return mergeFrom((skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MapLine)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MapLine other) {
if (other == skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MapLine.getDefaultInstance()) return this;
if (other.hasPlayerId()) {
setPlayerId(other.getPlayerId());
}
if (other.hasMapline()) {
mergeMapline(other.getMapline());
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MapLine parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_MapLine) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private int playerId_ ;
/**
* optional int32 player_id = 1;
*/
public boolean hasPlayerId() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional int32 player_id = 1;
*/
public int getPlayerId() {
return playerId_;
}
/**
* optional int32 player_id = 1;
*/
public Builder setPlayerId(int value) {
bitField0_ |= 0x00000001;
playerId_ = value;
onChanged();
return this;
}
/**
* optional int32 player_id = 1;
*/
public Builder clearPlayerId() {
bitField0_ = (bitField0_ & ~0x00000001);
playerId_ = 0;
onChanged();
return this;
}
private skadistats.clarity.wire.common.proto.DotaCommonMessages.CDOTAMsg_MapLine mapline_ = skadistats.clarity.wire.common.proto.DotaCommonMessages.CDOTAMsg_MapLine.getDefaultInstance();
private com.google.protobuf.SingleFieldBuilder<
skadistats.clarity.wire.common.proto.DotaCommonMessages.CDOTAMsg_MapLine, skadistats.clarity.wire.common.proto.DotaCommonMessages.CDOTAMsg_MapLine.Builder, skadistats.clarity.wire.common.proto.DotaCommonMessages.CDOTAMsg_MapLineOrBuilder> maplineBuilder_;
/**
* optional .CDOTAMsg_MapLine mapline = 2;
*/
public boolean hasMapline() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional .CDOTAMsg_MapLine mapline = 2;
*/
public skadistats.clarity.wire.common.proto.DotaCommonMessages.CDOTAMsg_MapLine getMapline() {
if (maplineBuilder_ == null) {
return mapline_;
} else {
return maplineBuilder_.getMessage();
}
}
/**
* optional .CDOTAMsg_MapLine mapline = 2;
*/
public Builder setMapline(skadistats.clarity.wire.common.proto.DotaCommonMessages.CDOTAMsg_MapLine value) {
if (maplineBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
mapline_ = value;
onChanged();
} else {
maplineBuilder_.setMessage(value);
}
bitField0_ |= 0x00000002;
return this;
}
/**
* optional .CDOTAMsg_MapLine mapline = 2;
*/
public Builder setMapline(
skadistats.clarity.wire.common.proto.DotaCommonMessages.CDOTAMsg_MapLine.Builder builderForValue) {
if (maplineBuilder_ == null) {
mapline_ = builderForValue.build();
onChanged();
} else {
maplineBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000002;
return this;
}
/**
* optional .CDOTAMsg_MapLine mapline = 2;
*/
public Builder mergeMapline(skadistats.clarity.wire.common.proto.DotaCommonMessages.CDOTAMsg_MapLine value) {
if (maplineBuilder_ == null) {
if (((bitField0_ & 0x00000002) == 0x00000002) &&
mapline_ != skadistats.clarity.wire.common.proto.DotaCommonMessages.CDOTAMsg_MapLine.getDefaultInstance()) {
mapline_ =
skadistats.clarity.wire.common.proto.DotaCommonMessages.CDOTAMsg_MapLine.newBuilder(mapline_).mergeFrom(value).buildPartial();
} else {
mapline_ = value;
}
onChanged();
} else {
maplineBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000002;
return this;
}
/**
* optional .CDOTAMsg_MapLine mapline = 2;
*/
public Builder clearMapline() {
if (maplineBuilder_ == null) {
mapline_ = skadistats.clarity.wire.common.proto.DotaCommonMessages.CDOTAMsg_MapLine.getDefaultInstance();
onChanged();
} else {
maplineBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
/**
* optional .CDOTAMsg_MapLine mapline = 2;
*/
public skadistats.clarity.wire.common.proto.DotaCommonMessages.CDOTAMsg_MapLine.Builder getMaplineBuilder() {
bitField0_ |= 0x00000002;
onChanged();
return getMaplineFieldBuilder().getBuilder();
}
/**
* optional .CDOTAMsg_MapLine mapline = 2;
*/
public skadistats.clarity.wire.common.proto.DotaCommonMessages.CDOTAMsg_MapLineOrBuilder getMaplineOrBuilder() {
if (maplineBuilder_ != null) {
return maplineBuilder_.getMessageOrBuilder();
} else {
return mapline_;
}
}
/**
* optional .CDOTAMsg_MapLine mapline = 2;
*/
private com.google.protobuf.SingleFieldBuilder<
skadistats.clarity.wire.common.proto.DotaCommonMessages.CDOTAMsg_MapLine, skadistats.clarity.wire.common.proto.DotaCommonMessages.CDOTAMsg_MapLine.Builder, skadistats.clarity.wire.common.proto.DotaCommonMessages.CDOTAMsg_MapLineOrBuilder>
getMaplineFieldBuilder() {
if (maplineBuilder_ == null) {
maplineBuilder_ = new com.google.protobuf.SingleFieldBuilder<
skadistats.clarity.wire.common.proto.DotaCommonMessages.CDOTAMsg_MapLine, skadistats.clarity.wire.common.proto.DotaCommonMessages.CDOTAMsg_MapLine.Builder, skadistats.clarity.wire.common.proto.DotaCommonMessages.CDOTAMsg_MapLineOrBuilder>(
getMapline(),
getParentForChildren(),
isClean());
mapline_ = null;
}
return maplineBuilder_;
}
// @@protoc_insertion_point(builder_scope:CDOTAUserMsg_MapLine)
}
static {
defaultInstance = new CDOTAUserMsg_MapLine(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:CDOTAUserMsg_MapLine)
}
public interface CDOTAUserMsg_CreateLinearProjectileOrBuilder extends
// @@protoc_insertion_point(interface_extends:CDOTAUserMsg_CreateLinearProjectile)
com.google.protobuf.MessageOrBuilder {
/**
* optional .CMsgVector origin = 1;
*/
boolean hasOrigin();
/**
* optional .CMsgVector origin = 1;
*/
skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVector getOrigin();
/**
* optional .CMsgVector origin = 1;
*/
skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVectorOrBuilder getOriginOrBuilder();
/**
* optional .CMsgVector2D velocity = 2;
*/
boolean hasVelocity();
/**
* optional .CMsgVector2D velocity = 2;
*/
skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVector2D getVelocity();
/**
* optional .CMsgVector2D velocity = 2;
*/
skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVector2DOrBuilder getVelocityOrBuilder();
/**
* optional int32 latency = 3;
*/
boolean hasLatency();
/**
* optional int32 latency = 3;
*/
int getLatency();
/**
* optional int32 entindex = 4;
*/
boolean hasEntindex();
/**
* optional int32 entindex = 4;
*/
int getEntindex();
/**
* optional uint64 particle_index = 5;
*/
boolean hasParticleIndex();
/**
* optional uint64 particle_index = 5;
*/
long getParticleIndex();
/**
* optional int32 handle = 6;
*/
boolean hasHandle();
/**
* optional int32 handle = 6;
*/
int getHandle();
/**
* optional .CMsgVector2D acceleration = 7;
*/
boolean hasAcceleration();
/**
* optional .CMsgVector2D acceleration = 7;
*/
skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVector2D getAcceleration();
/**
* optional .CMsgVector2D acceleration = 7;
*/
skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVector2DOrBuilder getAccelerationOrBuilder();
/**
* optional float max_speed = 8;
*/
boolean hasMaxSpeed();
/**
* optional float max_speed = 8;
*/
float getMaxSpeed();
/**
* optional float fow_radius = 9;
*/
boolean hasFowRadius();
/**
* optional float fow_radius = 9;
*/
float getFowRadius();
/**
* optional bool sticky_fow_reveal = 10;
*/
boolean hasStickyFowReveal();
/**
* optional bool sticky_fow_reveal = 10;
*/
boolean getStickyFowReveal();
/**
* optional float distance = 11;
*/
boolean hasDistance();
/**
* optional float distance = 11;
*/
float getDistance();
/**
* optional fixed32 colorgemcolor = 12;
*/
boolean hasColorgemcolor();
/**
* optional fixed32 colorgemcolor = 12;
*/
int getColorgemcolor();
}
/**
* Protobuf type {@code CDOTAUserMsg_CreateLinearProjectile}
*/
public static final class CDOTAUserMsg_CreateLinearProjectile extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:CDOTAUserMsg_CreateLinearProjectile)
CDOTAUserMsg_CreateLinearProjectileOrBuilder {
// Use CDOTAUserMsg_CreateLinearProjectile.newBuilder() to construct.
private CDOTAUserMsg_CreateLinearProjectile(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private CDOTAUserMsg_CreateLinearProjectile(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final CDOTAUserMsg_CreateLinearProjectile defaultInstance;
public static CDOTAUserMsg_CreateLinearProjectile getDefaultInstance() {
return defaultInstance;
}
public CDOTAUserMsg_CreateLinearProjectile getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private CDOTAUserMsg_CreateLinearProjectile(
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 10: {
skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVector.Builder subBuilder = null;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
subBuilder = origin_.toBuilder();
}
origin_ = input.readMessage(skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVector.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(origin_);
origin_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000001;
break;
}
case 18: {
skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVector2D.Builder subBuilder = null;
if (((bitField0_ & 0x00000002) == 0x00000002)) {
subBuilder = velocity_.toBuilder();
}
velocity_ = input.readMessage(skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVector2D.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(velocity_);
velocity_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000002;
break;
}
case 24: {
bitField0_ |= 0x00000004;
latency_ = input.readInt32();
break;
}
case 32: {
bitField0_ |= 0x00000008;
entindex_ = input.readInt32();
break;
}
case 40: {
bitField0_ |= 0x00000010;
particleIndex_ = input.readUInt64();
break;
}
case 48: {
bitField0_ |= 0x00000020;
handle_ = input.readInt32();
break;
}
case 58: {
skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVector2D.Builder subBuilder = null;
if (((bitField0_ & 0x00000040) == 0x00000040)) {
subBuilder = acceleration_.toBuilder();
}
acceleration_ = input.readMessage(skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVector2D.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(acceleration_);
acceleration_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000040;
break;
}
case 69: {
bitField0_ |= 0x00000080;
maxSpeed_ = input.readFloat();
break;
}
case 77: {
bitField0_ |= 0x00000100;
fowRadius_ = input.readFloat();
break;
}
case 80: {
bitField0_ |= 0x00000200;
stickyFowReveal_ = input.readBool();
break;
}
case 93: {
bitField0_ |= 0x00000400;
distance_ = input.readFloat();
break;
}
case 101: {
bitField0_ |= 0x00000800;
colorgemcolor_ = input.readFixed32();
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.common.proto.DotaUserMessages.internal_static_CDOTAUserMsg_CreateLinearProjectile_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return skadistats.clarity.wire.common.proto.DotaUserMessages.internal_static_CDOTAUserMsg_CreateLinearProjectile_fieldAccessorTable
.ensureFieldAccessorsInitialized(
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_CreateLinearProjectile.class, skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_CreateLinearProjectile.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public CDOTAUserMsg_CreateLinearProjectile parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new CDOTAUserMsg_CreateLinearProjectile(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
public static final int ORIGIN_FIELD_NUMBER = 1;
private skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVector origin_;
/**
* optional .CMsgVector origin = 1;
*/
public boolean hasOrigin() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional .CMsgVector origin = 1;
*/
public skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVector getOrigin() {
return origin_;
}
/**
* optional .CMsgVector origin = 1;
*/
public skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVectorOrBuilder getOriginOrBuilder() {
return origin_;
}
public static final int VELOCITY_FIELD_NUMBER = 2;
private skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVector2D velocity_;
/**
* optional .CMsgVector2D velocity = 2;
*/
public boolean hasVelocity() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional .CMsgVector2D velocity = 2;
*/
public skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVector2D getVelocity() {
return velocity_;
}
/**
* optional .CMsgVector2D velocity = 2;
*/
public skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVector2DOrBuilder getVelocityOrBuilder() {
return velocity_;
}
public static final int LATENCY_FIELD_NUMBER = 3;
private int latency_;
/**
* optional int32 latency = 3;
*/
public boolean hasLatency() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional int32 latency = 3;
*/
public int getLatency() {
return latency_;
}
public static final int ENTINDEX_FIELD_NUMBER = 4;
private int entindex_;
/**
* optional int32 entindex = 4;
*/
public boolean hasEntindex() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* optional int32 entindex = 4;
*/
public int getEntindex() {
return entindex_;
}
public static final int PARTICLE_INDEX_FIELD_NUMBER = 5;
private long particleIndex_;
/**
* optional uint64 particle_index = 5;
*/
public boolean hasParticleIndex() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
/**
* optional uint64 particle_index = 5;
*/
public long getParticleIndex() {
return particleIndex_;
}
public static final int HANDLE_FIELD_NUMBER = 6;
private int handle_;
/**
* optional int32 handle = 6;
*/
public boolean hasHandle() {
return ((bitField0_ & 0x00000020) == 0x00000020);
}
/**
* optional int32 handle = 6;
*/
public int getHandle() {
return handle_;
}
public static final int ACCELERATION_FIELD_NUMBER = 7;
private skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVector2D acceleration_;
/**
* optional .CMsgVector2D acceleration = 7;
*/
public boolean hasAcceleration() {
return ((bitField0_ & 0x00000040) == 0x00000040);
}
/**
* optional .CMsgVector2D acceleration = 7;
*/
public skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVector2D getAcceleration() {
return acceleration_;
}
/**
* optional .CMsgVector2D acceleration = 7;
*/
public skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVector2DOrBuilder getAccelerationOrBuilder() {
return acceleration_;
}
public static final int MAX_SPEED_FIELD_NUMBER = 8;
private float maxSpeed_;
/**
* optional float max_speed = 8;
*/
public boolean hasMaxSpeed() {
return ((bitField0_ & 0x00000080) == 0x00000080);
}
/**
* optional float max_speed = 8;
*/
public float getMaxSpeed() {
return maxSpeed_;
}
public static final int FOW_RADIUS_FIELD_NUMBER = 9;
private float fowRadius_;
/**
* optional float fow_radius = 9;
*/
public boolean hasFowRadius() {
return ((bitField0_ & 0x00000100) == 0x00000100);
}
/**
* optional float fow_radius = 9;
*/
public float getFowRadius() {
return fowRadius_;
}
public static final int STICKY_FOW_REVEAL_FIELD_NUMBER = 10;
private boolean stickyFowReveal_;
/**
* optional bool sticky_fow_reveal = 10;
*/
public boolean hasStickyFowReveal() {
return ((bitField0_ & 0x00000200) == 0x00000200);
}
/**
* optional bool sticky_fow_reveal = 10;
*/
public boolean getStickyFowReveal() {
return stickyFowReveal_;
}
public static final int DISTANCE_FIELD_NUMBER = 11;
private float distance_;
/**
* optional float distance = 11;
*/
public boolean hasDistance() {
return ((bitField0_ & 0x00000400) == 0x00000400);
}
/**
* optional float distance = 11;
*/
public float getDistance() {
return distance_;
}
public static final int COLORGEMCOLOR_FIELD_NUMBER = 12;
private int colorgemcolor_;
/**
* optional fixed32 colorgemcolor = 12;
*/
public boolean hasColorgemcolor() {
return ((bitField0_ & 0x00000800) == 0x00000800);
}
/**
* optional fixed32 colorgemcolor = 12;
*/
public int getColorgemcolor() {
return colorgemcolor_;
}
private void initFields() {
origin_ = skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVector.getDefaultInstance();
velocity_ = skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVector2D.getDefaultInstance();
latency_ = 0;
entindex_ = 0;
particleIndex_ = 0L;
handle_ = 0;
acceleration_ = skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVector2D.getDefaultInstance();
maxSpeed_ = 0F;
fowRadius_ = 0F;
stickyFowReveal_ = false;
distance_ = 0F;
colorgemcolor_ = 0;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 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.writeMessage(1, origin_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeMessage(2, velocity_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
output.writeInt32(3, latency_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
output.writeInt32(4, entindex_);
}
if (((bitField0_ & 0x00000010) == 0x00000010)) {
output.writeUInt64(5, particleIndex_);
}
if (((bitField0_ & 0x00000020) == 0x00000020)) {
output.writeInt32(6, handle_);
}
if (((bitField0_ & 0x00000040) == 0x00000040)) {
output.writeMessage(7, acceleration_);
}
if (((bitField0_ & 0x00000080) == 0x00000080)) {
output.writeFloat(8, maxSpeed_);
}
if (((bitField0_ & 0x00000100) == 0x00000100)) {
output.writeFloat(9, fowRadius_);
}
if (((bitField0_ & 0x00000200) == 0x00000200)) {
output.writeBool(10, stickyFowReveal_);
}
if (((bitField0_ & 0x00000400) == 0x00000400)) {
output.writeFloat(11, distance_);
}
if (((bitField0_ & 0x00000800) == 0x00000800)) {
output.writeFixed32(12, colorgemcolor_);
}
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
.computeMessageSize(1, origin_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, velocity_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(3, latency_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(4, entindex_);
}
if (((bitField0_ & 0x00000010) == 0x00000010)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt64Size(5, particleIndex_);
}
if (((bitField0_ & 0x00000020) == 0x00000020)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(6, handle_);
}
if (((bitField0_ & 0x00000040) == 0x00000040)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(7, acceleration_);
}
if (((bitField0_ & 0x00000080) == 0x00000080)) {
size += com.google.protobuf.CodedOutputStream
.computeFloatSize(8, maxSpeed_);
}
if (((bitField0_ & 0x00000100) == 0x00000100)) {
size += com.google.protobuf.CodedOutputStream
.computeFloatSize(9, fowRadius_);
}
if (((bitField0_ & 0x00000200) == 0x00000200)) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(10, stickyFowReveal_);
}
if (((bitField0_ & 0x00000400) == 0x00000400)) {
size += com.google.protobuf.CodedOutputStream
.computeFloatSize(11, distance_);
}
if (((bitField0_ & 0x00000800) == 0x00000800)) {
size += com.google.protobuf.CodedOutputStream
.computeFixed32Size(12, colorgemcolor_);
}
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.common.proto.DotaUserMessages.CDOTAUserMsg_CreateLinearProjectile parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_CreateLinearProjectile 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.common.proto.DotaUserMessages.CDOTAUserMsg_CreateLinearProjectile parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_CreateLinearProjectile parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_CreateLinearProjectile parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_CreateLinearProjectile parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_CreateLinearProjectile parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_CreateLinearProjectile parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_CreateLinearProjectile parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_CreateLinearProjectile 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.common.proto.DotaUserMessages.CDOTAUserMsg_CreateLinearProjectile 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 CDOTAUserMsg_CreateLinearProjectile}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:CDOTAUserMsg_CreateLinearProjectile)
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_CreateLinearProjectileOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return skadistats.clarity.wire.common.proto.DotaUserMessages.internal_static_CDOTAUserMsg_CreateLinearProjectile_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return skadistats.clarity.wire.common.proto.DotaUserMessages.internal_static_CDOTAUserMsg_CreateLinearProjectile_fieldAccessorTable
.ensureFieldAccessorsInitialized(
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_CreateLinearProjectile.class, skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_CreateLinearProjectile.Builder.class);
}
// Construct using skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_CreateLinearProjectile.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
getOriginFieldBuilder();
getVelocityFieldBuilder();
getAccelerationFieldBuilder();
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
if (originBuilder_ == null) {
origin_ = skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVector.getDefaultInstance();
} else {
originBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
if (velocityBuilder_ == null) {
velocity_ = skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVector2D.getDefaultInstance();
} else {
velocityBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000002);
latency_ = 0;
bitField0_ = (bitField0_ & ~0x00000004);
entindex_ = 0;
bitField0_ = (bitField0_ & ~0x00000008);
particleIndex_ = 0L;
bitField0_ = (bitField0_ & ~0x00000010);
handle_ = 0;
bitField0_ = (bitField0_ & ~0x00000020);
if (accelerationBuilder_ == null) {
acceleration_ = skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVector2D.getDefaultInstance();
} else {
accelerationBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000040);
maxSpeed_ = 0F;
bitField0_ = (bitField0_ & ~0x00000080);
fowRadius_ = 0F;
bitField0_ = (bitField0_ & ~0x00000100);
stickyFowReveal_ = false;
bitField0_ = (bitField0_ & ~0x00000200);
distance_ = 0F;
bitField0_ = (bitField0_ & ~0x00000400);
colorgemcolor_ = 0;
bitField0_ = (bitField0_ & ~0x00000800);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return skadistats.clarity.wire.common.proto.DotaUserMessages.internal_static_CDOTAUserMsg_CreateLinearProjectile_descriptor;
}
public skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_CreateLinearProjectile getDefaultInstanceForType() {
return skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_CreateLinearProjectile.getDefaultInstance();
}
public skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_CreateLinearProjectile build() {
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_CreateLinearProjectile result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_CreateLinearProjectile buildPartial() {
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_CreateLinearProjectile result = new skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_CreateLinearProjectile(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
if (originBuilder_ == null) {
result.origin_ = origin_;
} else {
result.origin_ = originBuilder_.build();
}
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
if (velocityBuilder_ == null) {
result.velocity_ = velocity_;
} else {
result.velocity_ = velocityBuilder_.build();
}
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
to_bitField0_ |= 0x00000004;
}
result.latency_ = latency_;
if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
to_bitField0_ |= 0x00000008;
}
result.entindex_ = entindex_;
if (((from_bitField0_ & 0x00000010) == 0x00000010)) {
to_bitField0_ |= 0x00000010;
}
result.particleIndex_ = particleIndex_;
if (((from_bitField0_ & 0x00000020) == 0x00000020)) {
to_bitField0_ |= 0x00000020;
}
result.handle_ = handle_;
if (((from_bitField0_ & 0x00000040) == 0x00000040)) {
to_bitField0_ |= 0x00000040;
}
if (accelerationBuilder_ == null) {
result.acceleration_ = acceleration_;
} else {
result.acceleration_ = accelerationBuilder_.build();
}
if (((from_bitField0_ & 0x00000080) == 0x00000080)) {
to_bitField0_ |= 0x00000080;
}
result.maxSpeed_ = maxSpeed_;
if (((from_bitField0_ & 0x00000100) == 0x00000100)) {
to_bitField0_ |= 0x00000100;
}
result.fowRadius_ = fowRadius_;
if (((from_bitField0_ & 0x00000200) == 0x00000200)) {
to_bitField0_ |= 0x00000200;
}
result.stickyFowReveal_ = stickyFowReveal_;
if (((from_bitField0_ & 0x00000400) == 0x00000400)) {
to_bitField0_ |= 0x00000400;
}
result.distance_ = distance_;
if (((from_bitField0_ & 0x00000800) == 0x00000800)) {
to_bitField0_ |= 0x00000800;
}
result.colorgemcolor_ = colorgemcolor_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_CreateLinearProjectile) {
return mergeFrom((skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_CreateLinearProjectile)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_CreateLinearProjectile other) {
if (other == skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_CreateLinearProjectile.getDefaultInstance()) return this;
if (other.hasOrigin()) {
mergeOrigin(other.getOrigin());
}
if (other.hasVelocity()) {
mergeVelocity(other.getVelocity());
}
if (other.hasLatency()) {
setLatency(other.getLatency());
}
if (other.hasEntindex()) {
setEntindex(other.getEntindex());
}
if (other.hasParticleIndex()) {
setParticleIndex(other.getParticleIndex());
}
if (other.hasHandle()) {
setHandle(other.getHandle());
}
if (other.hasAcceleration()) {
mergeAcceleration(other.getAcceleration());
}
if (other.hasMaxSpeed()) {
setMaxSpeed(other.getMaxSpeed());
}
if (other.hasFowRadius()) {
setFowRadius(other.getFowRadius());
}
if (other.hasStickyFowReveal()) {
setStickyFowReveal(other.getStickyFowReveal());
}
if (other.hasDistance()) {
setDistance(other.getDistance());
}
if (other.hasColorgemcolor()) {
setColorgemcolor(other.getColorgemcolor());
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_CreateLinearProjectile parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_CreateLinearProjectile) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVector origin_ = skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVector.getDefaultInstance();
private com.google.protobuf.SingleFieldBuilder<
skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVector, skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVector.Builder, skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVectorOrBuilder> originBuilder_;
/**
* optional .CMsgVector origin = 1;
*/
public boolean hasOrigin() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional .CMsgVector origin = 1;
*/
public skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVector getOrigin() {
if (originBuilder_ == null) {
return origin_;
} else {
return originBuilder_.getMessage();
}
}
/**
* optional .CMsgVector origin = 1;
*/
public Builder setOrigin(skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVector value) {
if (originBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
origin_ = value;
onChanged();
} else {
originBuilder_.setMessage(value);
}
bitField0_ |= 0x00000001;
return this;
}
/**
* optional .CMsgVector origin = 1;
*/
public Builder setOrigin(
skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVector.Builder builderForValue) {
if (originBuilder_ == null) {
origin_ = builderForValue.build();
onChanged();
} else {
originBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000001;
return this;
}
/**
* optional .CMsgVector origin = 1;
*/
public Builder mergeOrigin(skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVector value) {
if (originBuilder_ == null) {
if (((bitField0_ & 0x00000001) == 0x00000001) &&
origin_ != skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVector.getDefaultInstance()) {
origin_ =
skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVector.newBuilder(origin_).mergeFrom(value).buildPartial();
} else {
origin_ = value;
}
onChanged();
} else {
originBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000001;
return this;
}
/**
* optional .CMsgVector origin = 1;
*/
public Builder clearOrigin() {
if (originBuilder_ == null) {
origin_ = skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVector.getDefaultInstance();
onChanged();
} else {
originBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
/**
* optional .CMsgVector origin = 1;
*/
public skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVector.Builder getOriginBuilder() {
bitField0_ |= 0x00000001;
onChanged();
return getOriginFieldBuilder().getBuilder();
}
/**
* optional .CMsgVector origin = 1;
*/
public skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVectorOrBuilder getOriginOrBuilder() {
if (originBuilder_ != null) {
return originBuilder_.getMessageOrBuilder();
} else {
return origin_;
}
}
/**
* optional .CMsgVector origin = 1;
*/
private com.google.protobuf.SingleFieldBuilder<
skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVector, skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVector.Builder, skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVectorOrBuilder>
getOriginFieldBuilder() {
if (originBuilder_ == null) {
originBuilder_ = new com.google.protobuf.SingleFieldBuilder<
skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVector, skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVector.Builder, skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVectorOrBuilder>(
getOrigin(),
getParentForChildren(),
isClean());
origin_ = null;
}
return originBuilder_;
}
private skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVector2D velocity_ = skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVector2D.getDefaultInstance();
private com.google.protobuf.SingleFieldBuilder<
skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVector2D, skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVector2D.Builder, skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVector2DOrBuilder> velocityBuilder_;
/**
* optional .CMsgVector2D velocity = 2;
*/
public boolean hasVelocity() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional .CMsgVector2D velocity = 2;
*/
public skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVector2D getVelocity() {
if (velocityBuilder_ == null) {
return velocity_;
} else {
return velocityBuilder_.getMessage();
}
}
/**
* optional .CMsgVector2D velocity = 2;
*/
public Builder setVelocity(skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVector2D value) {
if (velocityBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
velocity_ = value;
onChanged();
} else {
velocityBuilder_.setMessage(value);
}
bitField0_ |= 0x00000002;
return this;
}
/**
* optional .CMsgVector2D velocity = 2;
*/
public Builder setVelocity(
skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVector2D.Builder builderForValue) {
if (velocityBuilder_ == null) {
velocity_ = builderForValue.build();
onChanged();
} else {
velocityBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000002;
return this;
}
/**
* optional .CMsgVector2D velocity = 2;
*/
public Builder mergeVelocity(skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVector2D value) {
if (velocityBuilder_ == null) {
if (((bitField0_ & 0x00000002) == 0x00000002) &&
velocity_ != skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVector2D.getDefaultInstance()) {
velocity_ =
skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVector2D.newBuilder(velocity_).mergeFrom(value).buildPartial();
} else {
velocity_ = value;
}
onChanged();
} else {
velocityBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000002;
return this;
}
/**
* optional .CMsgVector2D velocity = 2;
*/
public Builder clearVelocity() {
if (velocityBuilder_ == null) {
velocity_ = skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVector2D.getDefaultInstance();
onChanged();
} else {
velocityBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
/**
* optional .CMsgVector2D velocity = 2;
*/
public skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVector2D.Builder getVelocityBuilder() {
bitField0_ |= 0x00000002;
onChanged();
return getVelocityFieldBuilder().getBuilder();
}
/**
* optional .CMsgVector2D velocity = 2;
*/
public skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVector2DOrBuilder getVelocityOrBuilder() {
if (velocityBuilder_ != null) {
return velocityBuilder_.getMessageOrBuilder();
} else {
return velocity_;
}
}
/**
* optional .CMsgVector2D velocity = 2;
*/
private com.google.protobuf.SingleFieldBuilder<
skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVector2D, skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVector2D.Builder, skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVector2DOrBuilder>
getVelocityFieldBuilder() {
if (velocityBuilder_ == null) {
velocityBuilder_ = new com.google.protobuf.SingleFieldBuilder<
skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVector2D, skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVector2D.Builder, skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVector2DOrBuilder>(
getVelocity(),
getParentForChildren(),
isClean());
velocity_ = null;
}
return velocityBuilder_;
}
private int latency_ ;
/**
* optional int32 latency = 3;
*/
public boolean hasLatency() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional int32 latency = 3;
*/
public int getLatency() {
return latency_;
}
/**
* optional int32 latency = 3;
*/
public Builder setLatency(int value) {
bitField0_ |= 0x00000004;
latency_ = value;
onChanged();
return this;
}
/**
* optional int32 latency = 3;
*/
public Builder clearLatency() {
bitField0_ = (bitField0_ & ~0x00000004);
latency_ = 0;
onChanged();
return this;
}
private int entindex_ ;
/**
* optional int32 entindex = 4;
*/
public boolean hasEntindex() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* optional int32 entindex = 4;
*/
public int getEntindex() {
return entindex_;
}
/**
* optional int32 entindex = 4;
*/
public Builder setEntindex(int value) {
bitField0_ |= 0x00000008;
entindex_ = value;
onChanged();
return this;
}
/**
* optional int32 entindex = 4;
*/
public Builder clearEntindex() {
bitField0_ = (bitField0_ & ~0x00000008);
entindex_ = 0;
onChanged();
return this;
}
private long particleIndex_ ;
/**
* optional uint64 particle_index = 5;
*/
public boolean hasParticleIndex() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
/**
* optional uint64 particle_index = 5;
*/
public long getParticleIndex() {
return particleIndex_;
}
/**
* optional uint64 particle_index = 5;
*/
public Builder setParticleIndex(long value) {
bitField0_ |= 0x00000010;
particleIndex_ = value;
onChanged();
return this;
}
/**
* optional uint64 particle_index = 5;
*/
public Builder clearParticleIndex() {
bitField0_ = (bitField0_ & ~0x00000010);
particleIndex_ = 0L;
onChanged();
return this;
}
private int handle_ ;
/**
* optional int32 handle = 6;
*/
public boolean hasHandle() {
return ((bitField0_ & 0x00000020) == 0x00000020);
}
/**
* optional int32 handle = 6;
*/
public int getHandle() {
return handle_;
}
/**
* optional int32 handle = 6;
*/
public Builder setHandle(int value) {
bitField0_ |= 0x00000020;
handle_ = value;
onChanged();
return this;
}
/**
* optional int32 handle = 6;
*/
public Builder clearHandle() {
bitField0_ = (bitField0_ & ~0x00000020);
handle_ = 0;
onChanged();
return this;
}
private skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVector2D acceleration_ = skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVector2D.getDefaultInstance();
private com.google.protobuf.SingleFieldBuilder<
skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVector2D, skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVector2D.Builder, skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVector2DOrBuilder> accelerationBuilder_;
/**
* optional .CMsgVector2D acceleration = 7;
*/
public boolean hasAcceleration() {
return ((bitField0_ & 0x00000040) == 0x00000040);
}
/**
* optional .CMsgVector2D acceleration = 7;
*/
public skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVector2D getAcceleration() {
if (accelerationBuilder_ == null) {
return acceleration_;
} else {
return accelerationBuilder_.getMessage();
}
}
/**
* optional .CMsgVector2D acceleration = 7;
*/
public Builder setAcceleration(skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVector2D value) {
if (accelerationBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
acceleration_ = value;
onChanged();
} else {
accelerationBuilder_.setMessage(value);
}
bitField0_ |= 0x00000040;
return this;
}
/**
* optional .CMsgVector2D acceleration = 7;
*/
public Builder setAcceleration(
skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVector2D.Builder builderForValue) {
if (accelerationBuilder_ == null) {
acceleration_ = builderForValue.build();
onChanged();
} else {
accelerationBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000040;
return this;
}
/**
* optional .CMsgVector2D acceleration = 7;
*/
public Builder mergeAcceleration(skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVector2D value) {
if (accelerationBuilder_ == null) {
if (((bitField0_ & 0x00000040) == 0x00000040) &&
acceleration_ != skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVector2D.getDefaultInstance()) {
acceleration_ =
skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVector2D.newBuilder(acceleration_).mergeFrom(value).buildPartial();
} else {
acceleration_ = value;
}
onChanged();
} else {
accelerationBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000040;
return this;
}
/**
* optional .CMsgVector2D acceleration = 7;
*/
public Builder clearAcceleration() {
if (accelerationBuilder_ == null) {
acceleration_ = skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVector2D.getDefaultInstance();
onChanged();
} else {
accelerationBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000040);
return this;
}
/**
* optional .CMsgVector2D acceleration = 7;
*/
public skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVector2D.Builder getAccelerationBuilder() {
bitField0_ |= 0x00000040;
onChanged();
return getAccelerationFieldBuilder().getBuilder();
}
/**
* optional .CMsgVector2D acceleration = 7;
*/
public skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVector2DOrBuilder getAccelerationOrBuilder() {
if (accelerationBuilder_ != null) {
return accelerationBuilder_.getMessageOrBuilder();
} else {
return acceleration_;
}
}
/**
* optional .CMsgVector2D acceleration = 7;
*/
private com.google.protobuf.SingleFieldBuilder<
skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVector2D, skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVector2D.Builder, skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVector2DOrBuilder>
getAccelerationFieldBuilder() {
if (accelerationBuilder_ == null) {
accelerationBuilder_ = new com.google.protobuf.SingleFieldBuilder<
skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVector2D, skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVector2D.Builder, skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVector2DOrBuilder>(
getAcceleration(),
getParentForChildren(),
isClean());
acceleration_ = null;
}
return accelerationBuilder_;
}
private float maxSpeed_ ;
/**
* optional float max_speed = 8;
*/
public boolean hasMaxSpeed() {
return ((bitField0_ & 0x00000080) == 0x00000080);
}
/**
* optional float max_speed = 8;
*/
public float getMaxSpeed() {
return maxSpeed_;
}
/**
* optional float max_speed = 8;
*/
public Builder setMaxSpeed(float value) {
bitField0_ |= 0x00000080;
maxSpeed_ = value;
onChanged();
return this;
}
/**
* optional float max_speed = 8;
*/
public Builder clearMaxSpeed() {
bitField0_ = (bitField0_ & ~0x00000080);
maxSpeed_ = 0F;
onChanged();
return this;
}
private float fowRadius_ ;
/**
* optional float fow_radius = 9;
*/
public boolean hasFowRadius() {
return ((bitField0_ & 0x00000100) == 0x00000100);
}
/**
* optional float fow_radius = 9;
*/
public float getFowRadius() {
return fowRadius_;
}
/**
* optional float fow_radius = 9;
*/
public Builder setFowRadius(float value) {
bitField0_ |= 0x00000100;
fowRadius_ = value;
onChanged();
return this;
}
/**
* optional float fow_radius = 9;
*/
public Builder clearFowRadius() {
bitField0_ = (bitField0_ & ~0x00000100);
fowRadius_ = 0F;
onChanged();
return this;
}
private boolean stickyFowReveal_ ;
/**
* optional bool sticky_fow_reveal = 10;
*/
public boolean hasStickyFowReveal() {
return ((bitField0_ & 0x00000200) == 0x00000200);
}
/**
* optional bool sticky_fow_reveal = 10;
*/
public boolean getStickyFowReveal() {
return stickyFowReveal_;
}
/**
* optional bool sticky_fow_reveal = 10;
*/
public Builder setStickyFowReveal(boolean value) {
bitField0_ |= 0x00000200;
stickyFowReveal_ = value;
onChanged();
return this;
}
/**
* optional bool sticky_fow_reveal = 10;
*/
public Builder clearStickyFowReveal() {
bitField0_ = (bitField0_ & ~0x00000200);
stickyFowReveal_ = false;
onChanged();
return this;
}
private float distance_ ;
/**
* optional float distance = 11;
*/
public boolean hasDistance() {
return ((bitField0_ & 0x00000400) == 0x00000400);
}
/**
* optional float distance = 11;
*/
public float getDistance() {
return distance_;
}
/**
* optional float distance = 11;
*/
public Builder setDistance(float value) {
bitField0_ |= 0x00000400;
distance_ = value;
onChanged();
return this;
}
/**
* optional float distance = 11;
*/
public Builder clearDistance() {
bitField0_ = (bitField0_ & ~0x00000400);
distance_ = 0F;
onChanged();
return this;
}
private int colorgemcolor_ ;
/**
* optional fixed32 colorgemcolor = 12;
*/
public boolean hasColorgemcolor() {
return ((bitField0_ & 0x00000800) == 0x00000800);
}
/**
* optional fixed32 colorgemcolor = 12;
*/
public int getColorgemcolor() {
return colorgemcolor_;
}
/**
* optional fixed32 colorgemcolor = 12;
*/
public Builder setColorgemcolor(int value) {
bitField0_ |= 0x00000800;
colorgemcolor_ = value;
onChanged();
return this;
}
/**
* optional fixed32 colorgemcolor = 12;
*/
public Builder clearColorgemcolor() {
bitField0_ = (bitField0_ & ~0x00000800);
colorgemcolor_ = 0;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:CDOTAUserMsg_CreateLinearProjectile)
}
static {
defaultInstance = new CDOTAUserMsg_CreateLinearProjectile(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:CDOTAUserMsg_CreateLinearProjectile)
}
public interface CDOTAUserMsg_DestroyLinearProjectileOrBuilder extends
// @@protoc_insertion_point(interface_extends:CDOTAUserMsg_DestroyLinearProjectile)
com.google.protobuf.MessageOrBuilder {
/**
* optional int32 handle = 1;
*/
boolean hasHandle();
/**
* optional int32 handle = 1;
*/
int getHandle();
}
/**
* Protobuf type {@code CDOTAUserMsg_DestroyLinearProjectile}
*/
public static final class CDOTAUserMsg_DestroyLinearProjectile extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:CDOTAUserMsg_DestroyLinearProjectile)
CDOTAUserMsg_DestroyLinearProjectileOrBuilder {
// Use CDOTAUserMsg_DestroyLinearProjectile.newBuilder() to construct.
private CDOTAUserMsg_DestroyLinearProjectile(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private CDOTAUserMsg_DestroyLinearProjectile(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final CDOTAUserMsg_DestroyLinearProjectile defaultInstance;
public static CDOTAUserMsg_DestroyLinearProjectile getDefaultInstance() {
return defaultInstance;
}
public CDOTAUserMsg_DestroyLinearProjectile getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private CDOTAUserMsg_DestroyLinearProjectile(
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;
handle_ = input.readInt32();
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.common.proto.DotaUserMessages.internal_static_CDOTAUserMsg_DestroyLinearProjectile_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return skadistats.clarity.wire.common.proto.DotaUserMessages.internal_static_CDOTAUserMsg_DestroyLinearProjectile_fieldAccessorTable
.ensureFieldAccessorsInitialized(
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_DestroyLinearProjectile.class, skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_DestroyLinearProjectile.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public CDOTAUserMsg_DestroyLinearProjectile parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new CDOTAUserMsg_DestroyLinearProjectile(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
public static final int HANDLE_FIELD_NUMBER = 1;
private int handle_;
/**
* optional int32 handle = 1;
*/
public boolean hasHandle() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional int32 handle = 1;
*/
public int getHandle() {
return handle_;
}
private void initFields() {
handle_ = 0;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 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, handle_);
}
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, handle_);
}
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.common.proto.DotaUserMessages.CDOTAUserMsg_DestroyLinearProjectile parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_DestroyLinearProjectile 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.common.proto.DotaUserMessages.CDOTAUserMsg_DestroyLinearProjectile parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_DestroyLinearProjectile parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_DestroyLinearProjectile parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_DestroyLinearProjectile parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_DestroyLinearProjectile parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_DestroyLinearProjectile parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_DestroyLinearProjectile parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_DestroyLinearProjectile 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.common.proto.DotaUserMessages.CDOTAUserMsg_DestroyLinearProjectile 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 CDOTAUserMsg_DestroyLinearProjectile}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:CDOTAUserMsg_DestroyLinearProjectile)
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_DestroyLinearProjectileOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return skadistats.clarity.wire.common.proto.DotaUserMessages.internal_static_CDOTAUserMsg_DestroyLinearProjectile_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return skadistats.clarity.wire.common.proto.DotaUserMessages.internal_static_CDOTAUserMsg_DestroyLinearProjectile_fieldAccessorTable
.ensureFieldAccessorsInitialized(
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_DestroyLinearProjectile.class, skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_DestroyLinearProjectile.Builder.class);
}
// Construct using skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_DestroyLinearProjectile.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();
handle_ = 0;
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return skadistats.clarity.wire.common.proto.DotaUserMessages.internal_static_CDOTAUserMsg_DestroyLinearProjectile_descriptor;
}
public skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_DestroyLinearProjectile getDefaultInstanceForType() {
return skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_DestroyLinearProjectile.getDefaultInstance();
}
public skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_DestroyLinearProjectile build() {
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_DestroyLinearProjectile result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_DestroyLinearProjectile buildPartial() {
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_DestroyLinearProjectile result = new skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_DestroyLinearProjectile(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.handle_ = handle_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_DestroyLinearProjectile) {
return mergeFrom((skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_DestroyLinearProjectile)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_DestroyLinearProjectile other) {
if (other == skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_DestroyLinearProjectile.getDefaultInstance()) return this;
if (other.hasHandle()) {
setHandle(other.getHandle());
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_DestroyLinearProjectile parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_DestroyLinearProjectile) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private int handle_ ;
/**
* optional int32 handle = 1;
*/
public boolean hasHandle() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional int32 handle = 1;
*/
public int getHandle() {
return handle_;
}
/**
* optional int32 handle = 1;
*/
public Builder setHandle(int value) {
bitField0_ |= 0x00000001;
handle_ = value;
onChanged();
return this;
}
/**
* optional int32 handle = 1;
*/
public Builder clearHandle() {
bitField0_ = (bitField0_ & ~0x00000001);
handle_ = 0;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:CDOTAUserMsg_DestroyLinearProjectile)
}
static {
defaultInstance = new CDOTAUserMsg_DestroyLinearProjectile(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:CDOTAUserMsg_DestroyLinearProjectile)
}
public interface CDOTAUserMsg_DodgeTrackingProjectilesOrBuilder extends
// @@protoc_insertion_point(interface_extends:CDOTAUserMsg_DodgeTrackingProjectiles)
com.google.protobuf.MessageOrBuilder {
/**
* required int32 entindex = 1;
*/
boolean hasEntindex();
/**
* required int32 entindex = 1;
*/
int getEntindex();
/**
* optional bool attacks_only = 2;
*/
boolean hasAttacksOnly();
/**
* optional bool attacks_only = 2;
*/
boolean getAttacksOnly();
}
/**
* Protobuf type {@code CDOTAUserMsg_DodgeTrackingProjectiles}
*/
public static final class CDOTAUserMsg_DodgeTrackingProjectiles extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:CDOTAUserMsg_DodgeTrackingProjectiles)
CDOTAUserMsg_DodgeTrackingProjectilesOrBuilder {
// Use CDOTAUserMsg_DodgeTrackingProjectiles.newBuilder() to construct.
private CDOTAUserMsg_DodgeTrackingProjectiles(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private CDOTAUserMsg_DodgeTrackingProjectiles(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final CDOTAUserMsg_DodgeTrackingProjectiles defaultInstance;
public static CDOTAUserMsg_DodgeTrackingProjectiles getDefaultInstance() {
return defaultInstance;
}
public CDOTAUserMsg_DodgeTrackingProjectiles getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private CDOTAUserMsg_DodgeTrackingProjectiles(
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;
entindex_ = input.readInt32();
break;
}
case 16: {
bitField0_ |= 0x00000002;
attacksOnly_ = 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.common.proto.DotaUserMessages.internal_static_CDOTAUserMsg_DodgeTrackingProjectiles_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return skadistats.clarity.wire.common.proto.DotaUserMessages.internal_static_CDOTAUserMsg_DodgeTrackingProjectiles_fieldAccessorTable
.ensureFieldAccessorsInitialized(
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_DodgeTrackingProjectiles.class, skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_DodgeTrackingProjectiles.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public CDOTAUserMsg_DodgeTrackingProjectiles parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new CDOTAUserMsg_DodgeTrackingProjectiles(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
public static final int ENTINDEX_FIELD_NUMBER = 1;
private int entindex_;
/**
* required int32 entindex = 1;
*/
public boolean hasEntindex() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required int32 entindex = 1;
*/
public int getEntindex() {
return entindex_;
}
public static final int ATTACKS_ONLY_FIELD_NUMBER = 2;
private boolean attacksOnly_;
/**
* optional bool attacks_only = 2;
*/
public boolean hasAttacksOnly() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional bool attacks_only = 2;
*/
public boolean getAttacksOnly() {
return attacksOnly_;
}
private void initFields() {
entindex_ = 0;
attacksOnly_ = false;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
if (!hasEntindex()) {
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, entindex_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeBool(2, attacksOnly_);
}
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, entindex_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(2, attacksOnly_);
}
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.common.proto.DotaUserMessages.CDOTAUserMsg_DodgeTrackingProjectiles parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_DodgeTrackingProjectiles 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.common.proto.DotaUserMessages.CDOTAUserMsg_DodgeTrackingProjectiles parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_DodgeTrackingProjectiles parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_DodgeTrackingProjectiles parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_DodgeTrackingProjectiles parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_DodgeTrackingProjectiles parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_DodgeTrackingProjectiles parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_DodgeTrackingProjectiles parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_DodgeTrackingProjectiles 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.common.proto.DotaUserMessages.CDOTAUserMsg_DodgeTrackingProjectiles 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 CDOTAUserMsg_DodgeTrackingProjectiles}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:CDOTAUserMsg_DodgeTrackingProjectiles)
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_DodgeTrackingProjectilesOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return skadistats.clarity.wire.common.proto.DotaUserMessages.internal_static_CDOTAUserMsg_DodgeTrackingProjectiles_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return skadistats.clarity.wire.common.proto.DotaUserMessages.internal_static_CDOTAUserMsg_DodgeTrackingProjectiles_fieldAccessorTable
.ensureFieldAccessorsInitialized(
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_DodgeTrackingProjectiles.class, skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_DodgeTrackingProjectiles.Builder.class);
}
// Construct using skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_DodgeTrackingProjectiles.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();
entindex_ = 0;
bitField0_ = (bitField0_ & ~0x00000001);
attacksOnly_ = false;
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return skadistats.clarity.wire.common.proto.DotaUserMessages.internal_static_CDOTAUserMsg_DodgeTrackingProjectiles_descriptor;
}
public skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_DodgeTrackingProjectiles getDefaultInstanceForType() {
return skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_DodgeTrackingProjectiles.getDefaultInstance();
}
public skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_DodgeTrackingProjectiles build() {
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_DodgeTrackingProjectiles result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_DodgeTrackingProjectiles buildPartial() {
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_DodgeTrackingProjectiles result = new skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_DodgeTrackingProjectiles(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.entindex_ = entindex_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.attacksOnly_ = attacksOnly_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_DodgeTrackingProjectiles) {
return mergeFrom((skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_DodgeTrackingProjectiles)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_DodgeTrackingProjectiles other) {
if (other == skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_DodgeTrackingProjectiles.getDefaultInstance()) return this;
if (other.hasEntindex()) {
setEntindex(other.getEntindex());
}
if (other.hasAttacksOnly()) {
setAttacksOnly(other.getAttacksOnly());
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
if (!hasEntindex()) {
return false;
}
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_DodgeTrackingProjectiles parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_DodgeTrackingProjectiles) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private int entindex_ ;
/**
* required int32 entindex = 1;
*/
public boolean hasEntindex() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required int32 entindex = 1;
*/
public int getEntindex() {
return entindex_;
}
/**
* required int32 entindex = 1;
*/
public Builder setEntindex(int value) {
bitField0_ |= 0x00000001;
entindex_ = value;
onChanged();
return this;
}
/**
* required int32 entindex = 1;
*/
public Builder clearEntindex() {
bitField0_ = (bitField0_ & ~0x00000001);
entindex_ = 0;
onChanged();
return this;
}
private boolean attacksOnly_ ;
/**
* optional bool attacks_only = 2;
*/
public boolean hasAttacksOnly() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional bool attacks_only = 2;
*/
public boolean getAttacksOnly() {
return attacksOnly_;
}
/**
* optional bool attacks_only = 2;
*/
public Builder setAttacksOnly(boolean value) {
bitField0_ |= 0x00000002;
attacksOnly_ = value;
onChanged();
return this;
}
/**
* optional bool attacks_only = 2;
*/
public Builder clearAttacksOnly() {
bitField0_ = (bitField0_ & ~0x00000002);
attacksOnly_ = false;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:CDOTAUserMsg_DodgeTrackingProjectiles)
}
static {
defaultInstance = new CDOTAUserMsg_DodgeTrackingProjectiles(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:CDOTAUserMsg_DodgeTrackingProjectiles)
}
public interface CDOTAUserMsg_SpectatorPlayerClickOrBuilder extends
// @@protoc_insertion_point(interface_extends:CDOTAUserMsg_SpectatorPlayerClick)
com.google.protobuf.MessageOrBuilder {
/**
* required int32 entindex = 1;
*/
boolean hasEntindex();
/**
* required int32 entindex = 1;
*/
int getEntindex();
/**
* optional int32 order_type = 2;
*/
boolean hasOrderType();
/**
* optional int32 order_type = 2;
*/
int getOrderType();
/**
* optional int32 target_index = 3;
*/
boolean hasTargetIndex();
/**
* optional int32 target_index = 3;
*/
int getTargetIndex();
}
/**
* Protobuf type {@code CDOTAUserMsg_SpectatorPlayerClick}
*/
public static final class CDOTAUserMsg_SpectatorPlayerClick extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:CDOTAUserMsg_SpectatorPlayerClick)
CDOTAUserMsg_SpectatorPlayerClickOrBuilder {
// Use CDOTAUserMsg_SpectatorPlayerClick.newBuilder() to construct.
private CDOTAUserMsg_SpectatorPlayerClick(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private CDOTAUserMsg_SpectatorPlayerClick(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final CDOTAUserMsg_SpectatorPlayerClick defaultInstance;
public static CDOTAUserMsg_SpectatorPlayerClick getDefaultInstance() {
return defaultInstance;
}
public CDOTAUserMsg_SpectatorPlayerClick getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private CDOTAUserMsg_SpectatorPlayerClick(
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;
entindex_ = input.readInt32();
break;
}
case 16: {
bitField0_ |= 0x00000002;
orderType_ = input.readInt32();
break;
}
case 24: {
bitField0_ |= 0x00000004;
targetIndex_ = input.readInt32();
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.common.proto.DotaUserMessages.internal_static_CDOTAUserMsg_SpectatorPlayerClick_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return skadistats.clarity.wire.common.proto.DotaUserMessages.internal_static_CDOTAUserMsg_SpectatorPlayerClick_fieldAccessorTable
.ensureFieldAccessorsInitialized(
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_SpectatorPlayerClick.class, skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_SpectatorPlayerClick.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public CDOTAUserMsg_SpectatorPlayerClick parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new CDOTAUserMsg_SpectatorPlayerClick(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
public static final int ENTINDEX_FIELD_NUMBER = 1;
private int entindex_;
/**
* required int32 entindex = 1;
*/
public boolean hasEntindex() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required int32 entindex = 1;
*/
public int getEntindex() {
return entindex_;
}
public static final int ORDER_TYPE_FIELD_NUMBER = 2;
private int orderType_;
/**
* optional int32 order_type = 2;
*/
public boolean hasOrderType() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional int32 order_type = 2;
*/
public int getOrderType() {
return orderType_;
}
public static final int TARGET_INDEX_FIELD_NUMBER = 3;
private int targetIndex_;
/**
* optional int32 target_index = 3;
*/
public boolean hasTargetIndex() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional int32 target_index = 3;
*/
public int getTargetIndex() {
return targetIndex_;
}
private void initFields() {
entindex_ = 0;
orderType_ = 0;
targetIndex_ = 0;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
if (!hasEntindex()) {
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, entindex_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeInt32(2, orderType_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
output.writeInt32(3, targetIndex_);
}
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, entindex_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(2, orderType_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(3, targetIndex_);
}
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.common.proto.DotaUserMessages.CDOTAUserMsg_SpectatorPlayerClick parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_SpectatorPlayerClick 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.common.proto.DotaUserMessages.CDOTAUserMsg_SpectatorPlayerClick parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_SpectatorPlayerClick parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_SpectatorPlayerClick parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_SpectatorPlayerClick parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_SpectatorPlayerClick parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_SpectatorPlayerClick parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_SpectatorPlayerClick parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_SpectatorPlayerClick 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.common.proto.DotaUserMessages.CDOTAUserMsg_SpectatorPlayerClick 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 CDOTAUserMsg_SpectatorPlayerClick}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:CDOTAUserMsg_SpectatorPlayerClick)
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_SpectatorPlayerClickOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return skadistats.clarity.wire.common.proto.DotaUserMessages.internal_static_CDOTAUserMsg_SpectatorPlayerClick_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return skadistats.clarity.wire.common.proto.DotaUserMessages.internal_static_CDOTAUserMsg_SpectatorPlayerClick_fieldAccessorTable
.ensureFieldAccessorsInitialized(
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_SpectatorPlayerClick.class, skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_SpectatorPlayerClick.Builder.class);
}
// Construct using skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_SpectatorPlayerClick.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();
entindex_ = 0;
bitField0_ = (bitField0_ & ~0x00000001);
orderType_ = 0;
bitField0_ = (bitField0_ & ~0x00000002);
targetIndex_ = 0;
bitField0_ = (bitField0_ & ~0x00000004);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return skadistats.clarity.wire.common.proto.DotaUserMessages.internal_static_CDOTAUserMsg_SpectatorPlayerClick_descriptor;
}
public skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_SpectatorPlayerClick getDefaultInstanceForType() {
return skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_SpectatorPlayerClick.getDefaultInstance();
}
public skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_SpectatorPlayerClick build() {
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_SpectatorPlayerClick result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_SpectatorPlayerClick buildPartial() {
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_SpectatorPlayerClick result = new skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_SpectatorPlayerClick(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.entindex_ = entindex_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.orderType_ = orderType_;
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
to_bitField0_ |= 0x00000004;
}
result.targetIndex_ = targetIndex_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_SpectatorPlayerClick) {
return mergeFrom((skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_SpectatorPlayerClick)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_SpectatorPlayerClick other) {
if (other == skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_SpectatorPlayerClick.getDefaultInstance()) return this;
if (other.hasEntindex()) {
setEntindex(other.getEntindex());
}
if (other.hasOrderType()) {
setOrderType(other.getOrderType());
}
if (other.hasTargetIndex()) {
setTargetIndex(other.getTargetIndex());
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
if (!hasEntindex()) {
return false;
}
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_SpectatorPlayerClick parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_SpectatorPlayerClick) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private int entindex_ ;
/**
* required int32 entindex = 1;
*/
public boolean hasEntindex() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required int32 entindex = 1;
*/
public int getEntindex() {
return entindex_;
}
/**
* required int32 entindex = 1;
*/
public Builder setEntindex(int value) {
bitField0_ |= 0x00000001;
entindex_ = value;
onChanged();
return this;
}
/**
* required int32 entindex = 1;
*/
public Builder clearEntindex() {
bitField0_ = (bitField0_ & ~0x00000001);
entindex_ = 0;
onChanged();
return this;
}
private int orderType_ ;
/**
* optional int32 order_type = 2;
*/
public boolean hasOrderType() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional int32 order_type = 2;
*/
public int getOrderType() {
return orderType_;
}
/**
* optional int32 order_type = 2;
*/
public Builder setOrderType(int value) {
bitField0_ |= 0x00000002;
orderType_ = value;
onChanged();
return this;
}
/**
* optional int32 order_type = 2;
*/
public Builder clearOrderType() {
bitField0_ = (bitField0_ & ~0x00000002);
orderType_ = 0;
onChanged();
return this;
}
private int targetIndex_ ;
/**
* optional int32 target_index = 3;
*/
public boolean hasTargetIndex() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional int32 target_index = 3;
*/
public int getTargetIndex() {
return targetIndex_;
}
/**
* optional int32 target_index = 3;
*/
public Builder setTargetIndex(int value) {
bitField0_ |= 0x00000004;
targetIndex_ = value;
onChanged();
return this;
}
/**
* optional int32 target_index = 3;
*/
public Builder clearTargetIndex() {
bitField0_ = (bitField0_ & ~0x00000004);
targetIndex_ = 0;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:CDOTAUserMsg_SpectatorPlayerClick)
}
static {
defaultInstance = new CDOTAUserMsg_SpectatorPlayerClick(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:CDOTAUserMsg_SpectatorPlayerClick)
}
public interface CDOTAUserMsg_SpectatorPlayerUnitOrdersOrBuilder extends
// @@protoc_insertion_point(interface_extends:CDOTAUserMsg_SpectatorPlayerUnitOrders)
com.google.protobuf.MessageOrBuilder {
/**
* optional int32 entindex = 1;
*/
boolean hasEntindex();
/**
* optional int32 entindex = 1;
*/
int getEntindex();
/**
* optional int32 order_type = 2;
*/
boolean hasOrderType();
/**
* optional int32 order_type = 2;
*/
int getOrderType();
/**
* repeated int32 units = 3;
*/
java.util.List getUnitsList();
/**
* repeated int32 units = 3;
*/
int getUnitsCount();
/**
* repeated int32 units = 3;
*/
int getUnits(int index);
/**
* optional int32 target_index = 4;
*/
boolean hasTargetIndex();
/**
* optional int32 target_index = 4;
*/
int getTargetIndex();
/**
* optional int32 ability_id = 5;
*/
boolean hasAbilityId();
/**
* optional int32 ability_id = 5;
*/
int getAbilityId();
/**
* optional .CMsgVector position = 6;
*/
boolean hasPosition();
/**
* optional .CMsgVector position = 6;
*/
skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVector getPosition();
/**
* optional .CMsgVector position = 6;
*/
skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVectorOrBuilder getPositionOrBuilder();
/**
* optional bool queue = 7;
*/
boolean hasQueue();
/**
* optional bool queue = 7;
*/
boolean getQueue();
/**
* optional int32 sequence_number = 8;
*/
boolean hasSequenceNumber();
/**
* optional int32 sequence_number = 8;
*/
int getSequenceNumber();
/**
* optional uint32 flags = 9;
*/
boolean hasFlags();
/**
* optional uint32 flags = 9;
*/
int getFlags();
}
/**
* Protobuf type {@code CDOTAUserMsg_SpectatorPlayerUnitOrders}
*/
public static final class CDOTAUserMsg_SpectatorPlayerUnitOrders extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:CDOTAUserMsg_SpectatorPlayerUnitOrders)
CDOTAUserMsg_SpectatorPlayerUnitOrdersOrBuilder {
// Use CDOTAUserMsg_SpectatorPlayerUnitOrders.newBuilder() to construct.
private CDOTAUserMsg_SpectatorPlayerUnitOrders(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private CDOTAUserMsg_SpectatorPlayerUnitOrders(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final CDOTAUserMsg_SpectatorPlayerUnitOrders defaultInstance;
public static CDOTAUserMsg_SpectatorPlayerUnitOrders getDefaultInstance() {
return defaultInstance;
}
public CDOTAUserMsg_SpectatorPlayerUnitOrders getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private CDOTAUserMsg_SpectatorPlayerUnitOrders(
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;
entindex_ = input.readInt32();
break;
}
case 16: {
bitField0_ |= 0x00000002;
orderType_ = input.readInt32();
break;
}
case 24: {
if (!((mutable_bitField0_ & 0x00000004) == 0x00000004)) {
units_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000004;
}
units_.add(input.readInt32());
break;
}
case 26: {
int length = input.readRawVarint32();
int limit = input.pushLimit(length);
if (!((mutable_bitField0_ & 0x00000004) == 0x00000004) && input.getBytesUntilLimit() > 0) {
units_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000004;
}
while (input.getBytesUntilLimit() > 0) {
units_.add(input.readInt32());
}
input.popLimit(limit);
break;
}
case 32: {
bitField0_ |= 0x00000004;
targetIndex_ = input.readInt32();
break;
}
case 40: {
bitField0_ |= 0x00000008;
abilityId_ = input.readInt32();
break;
}
case 50: {
skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVector.Builder subBuilder = null;
if (((bitField0_ & 0x00000010) == 0x00000010)) {
subBuilder = position_.toBuilder();
}
position_ = input.readMessage(skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVector.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(position_);
position_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000010;
break;
}
case 56: {
bitField0_ |= 0x00000020;
queue_ = input.readBool();
break;
}
case 64: {
bitField0_ |= 0x00000040;
sequenceNumber_ = input.readInt32();
break;
}
case 72: {
bitField0_ |= 0x00000080;
flags_ = input.readUInt32();
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 {
if (((mutable_bitField0_ & 0x00000004) == 0x00000004)) {
units_ = java.util.Collections.unmodifiableList(units_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return skadistats.clarity.wire.common.proto.DotaUserMessages.internal_static_CDOTAUserMsg_SpectatorPlayerUnitOrders_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return skadistats.clarity.wire.common.proto.DotaUserMessages.internal_static_CDOTAUserMsg_SpectatorPlayerUnitOrders_fieldAccessorTable
.ensureFieldAccessorsInitialized(
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_SpectatorPlayerUnitOrders.class, skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_SpectatorPlayerUnitOrders.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public CDOTAUserMsg_SpectatorPlayerUnitOrders parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new CDOTAUserMsg_SpectatorPlayerUnitOrders(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
public static final int ENTINDEX_FIELD_NUMBER = 1;
private int entindex_;
/**
* optional int32 entindex = 1;
*/
public boolean hasEntindex() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional int32 entindex = 1;
*/
public int getEntindex() {
return entindex_;
}
public static final int ORDER_TYPE_FIELD_NUMBER = 2;
private int orderType_;
/**
* optional int32 order_type = 2;
*/
public boolean hasOrderType() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional int32 order_type = 2;
*/
public int getOrderType() {
return orderType_;
}
public static final int UNITS_FIELD_NUMBER = 3;
private java.util.List units_;
/**
* repeated int32 units = 3;
*/
public java.util.List
getUnitsList() {
return units_;
}
/**
* repeated int32 units = 3;
*/
public int getUnitsCount() {
return units_.size();
}
/**
* repeated int32 units = 3;
*/
public int getUnits(int index) {
return units_.get(index);
}
public static final int TARGET_INDEX_FIELD_NUMBER = 4;
private int targetIndex_;
/**
* optional int32 target_index = 4;
*/
public boolean hasTargetIndex() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional int32 target_index = 4;
*/
public int getTargetIndex() {
return targetIndex_;
}
public static final int ABILITY_ID_FIELD_NUMBER = 5;
private int abilityId_;
/**
* optional int32 ability_id = 5;
*/
public boolean hasAbilityId() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* optional int32 ability_id = 5;
*/
public int getAbilityId() {
return abilityId_;
}
public static final int POSITION_FIELD_NUMBER = 6;
private skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVector position_;
/**
* optional .CMsgVector position = 6;
*/
public boolean hasPosition() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
/**
* optional .CMsgVector position = 6;
*/
public skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVector getPosition() {
return position_;
}
/**
* optional .CMsgVector position = 6;
*/
public skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVectorOrBuilder getPositionOrBuilder() {
return position_;
}
public static final int QUEUE_FIELD_NUMBER = 7;
private boolean queue_;
/**
* optional bool queue = 7;
*/
public boolean hasQueue() {
return ((bitField0_ & 0x00000020) == 0x00000020);
}
/**
* optional bool queue = 7;
*/
public boolean getQueue() {
return queue_;
}
public static final int SEQUENCE_NUMBER_FIELD_NUMBER = 8;
private int sequenceNumber_;
/**
* optional int32 sequence_number = 8;
*/
public boolean hasSequenceNumber() {
return ((bitField0_ & 0x00000040) == 0x00000040);
}
/**
* optional int32 sequence_number = 8;
*/
public int getSequenceNumber() {
return sequenceNumber_;
}
public static final int FLAGS_FIELD_NUMBER = 9;
private int flags_;
/**
* optional uint32 flags = 9;
*/
public boolean hasFlags() {
return ((bitField0_ & 0x00000080) == 0x00000080);
}
/**
* optional uint32 flags = 9;
*/
public int getFlags() {
return flags_;
}
private void initFields() {
entindex_ = 0;
orderType_ = 0;
units_ = java.util.Collections.emptyList();
targetIndex_ = 0;
abilityId_ = 0;
position_ = skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVector.getDefaultInstance();
queue_ = false;
sequenceNumber_ = 0;
flags_ = 0;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 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, entindex_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeInt32(2, orderType_);
}
for (int i = 0; i < units_.size(); i++) {
output.writeInt32(3, units_.get(i));
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
output.writeInt32(4, targetIndex_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
output.writeInt32(5, abilityId_);
}
if (((bitField0_ & 0x00000010) == 0x00000010)) {
output.writeMessage(6, position_);
}
if (((bitField0_ & 0x00000020) == 0x00000020)) {
output.writeBool(7, queue_);
}
if (((bitField0_ & 0x00000040) == 0x00000040)) {
output.writeInt32(8, sequenceNumber_);
}
if (((bitField0_ & 0x00000080) == 0x00000080)) {
output.writeUInt32(9, flags_);
}
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, entindex_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(2, orderType_);
}
{
int dataSize = 0;
for (int i = 0; i < units_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeInt32SizeNoTag(units_.get(i));
}
size += dataSize;
size += 1 * getUnitsList().size();
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(4, targetIndex_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(5, abilityId_);
}
if (((bitField0_ & 0x00000010) == 0x00000010)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(6, position_);
}
if (((bitField0_ & 0x00000020) == 0x00000020)) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(7, queue_);
}
if (((bitField0_ & 0x00000040) == 0x00000040)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(8, sequenceNumber_);
}
if (((bitField0_ & 0x00000080) == 0x00000080)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(9, flags_);
}
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.common.proto.DotaUserMessages.CDOTAUserMsg_SpectatorPlayerUnitOrders parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_SpectatorPlayerUnitOrders 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.common.proto.DotaUserMessages.CDOTAUserMsg_SpectatorPlayerUnitOrders parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_SpectatorPlayerUnitOrders parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_SpectatorPlayerUnitOrders parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_SpectatorPlayerUnitOrders parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_SpectatorPlayerUnitOrders parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_SpectatorPlayerUnitOrders parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_SpectatorPlayerUnitOrders parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_SpectatorPlayerUnitOrders 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.common.proto.DotaUserMessages.CDOTAUserMsg_SpectatorPlayerUnitOrders 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 CDOTAUserMsg_SpectatorPlayerUnitOrders}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:CDOTAUserMsg_SpectatorPlayerUnitOrders)
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_SpectatorPlayerUnitOrdersOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return skadistats.clarity.wire.common.proto.DotaUserMessages.internal_static_CDOTAUserMsg_SpectatorPlayerUnitOrders_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return skadistats.clarity.wire.common.proto.DotaUserMessages.internal_static_CDOTAUserMsg_SpectatorPlayerUnitOrders_fieldAccessorTable
.ensureFieldAccessorsInitialized(
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_SpectatorPlayerUnitOrders.class, skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_SpectatorPlayerUnitOrders.Builder.class);
}
// Construct using skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_SpectatorPlayerUnitOrders.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
getPositionFieldBuilder();
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
entindex_ = 0;
bitField0_ = (bitField0_ & ~0x00000001);
orderType_ = 0;
bitField0_ = (bitField0_ & ~0x00000002);
units_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000004);
targetIndex_ = 0;
bitField0_ = (bitField0_ & ~0x00000008);
abilityId_ = 0;
bitField0_ = (bitField0_ & ~0x00000010);
if (positionBuilder_ == null) {
position_ = skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVector.getDefaultInstance();
} else {
positionBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000020);
queue_ = false;
bitField0_ = (bitField0_ & ~0x00000040);
sequenceNumber_ = 0;
bitField0_ = (bitField0_ & ~0x00000080);
flags_ = 0;
bitField0_ = (bitField0_ & ~0x00000100);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return skadistats.clarity.wire.common.proto.DotaUserMessages.internal_static_CDOTAUserMsg_SpectatorPlayerUnitOrders_descriptor;
}
public skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_SpectatorPlayerUnitOrders getDefaultInstanceForType() {
return skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_SpectatorPlayerUnitOrders.getDefaultInstance();
}
public skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_SpectatorPlayerUnitOrders build() {
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_SpectatorPlayerUnitOrders result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_SpectatorPlayerUnitOrders buildPartial() {
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_SpectatorPlayerUnitOrders result = new skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_SpectatorPlayerUnitOrders(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.entindex_ = entindex_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.orderType_ = orderType_;
if (((bitField0_ & 0x00000004) == 0x00000004)) {
units_ = java.util.Collections.unmodifiableList(units_);
bitField0_ = (bitField0_ & ~0x00000004);
}
result.units_ = units_;
if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
to_bitField0_ |= 0x00000004;
}
result.targetIndex_ = targetIndex_;
if (((from_bitField0_ & 0x00000010) == 0x00000010)) {
to_bitField0_ |= 0x00000008;
}
result.abilityId_ = abilityId_;
if (((from_bitField0_ & 0x00000020) == 0x00000020)) {
to_bitField0_ |= 0x00000010;
}
if (positionBuilder_ == null) {
result.position_ = position_;
} else {
result.position_ = positionBuilder_.build();
}
if (((from_bitField0_ & 0x00000040) == 0x00000040)) {
to_bitField0_ |= 0x00000020;
}
result.queue_ = queue_;
if (((from_bitField0_ & 0x00000080) == 0x00000080)) {
to_bitField0_ |= 0x00000040;
}
result.sequenceNumber_ = sequenceNumber_;
if (((from_bitField0_ & 0x00000100) == 0x00000100)) {
to_bitField0_ |= 0x00000080;
}
result.flags_ = flags_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_SpectatorPlayerUnitOrders) {
return mergeFrom((skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_SpectatorPlayerUnitOrders)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_SpectatorPlayerUnitOrders other) {
if (other == skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_SpectatorPlayerUnitOrders.getDefaultInstance()) return this;
if (other.hasEntindex()) {
setEntindex(other.getEntindex());
}
if (other.hasOrderType()) {
setOrderType(other.getOrderType());
}
if (!other.units_.isEmpty()) {
if (units_.isEmpty()) {
units_ = other.units_;
bitField0_ = (bitField0_ & ~0x00000004);
} else {
ensureUnitsIsMutable();
units_.addAll(other.units_);
}
onChanged();
}
if (other.hasTargetIndex()) {
setTargetIndex(other.getTargetIndex());
}
if (other.hasAbilityId()) {
setAbilityId(other.getAbilityId());
}
if (other.hasPosition()) {
mergePosition(other.getPosition());
}
if (other.hasQueue()) {
setQueue(other.getQueue());
}
if (other.hasSequenceNumber()) {
setSequenceNumber(other.getSequenceNumber());
}
if (other.hasFlags()) {
setFlags(other.getFlags());
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_SpectatorPlayerUnitOrders parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_SpectatorPlayerUnitOrders) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private int entindex_ ;
/**
* optional int32 entindex = 1;
*/
public boolean hasEntindex() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional int32 entindex = 1;
*/
public int getEntindex() {
return entindex_;
}
/**
* optional int32 entindex = 1;
*/
public Builder setEntindex(int value) {
bitField0_ |= 0x00000001;
entindex_ = value;
onChanged();
return this;
}
/**
* optional int32 entindex = 1;
*/
public Builder clearEntindex() {
bitField0_ = (bitField0_ & ~0x00000001);
entindex_ = 0;
onChanged();
return this;
}
private int orderType_ ;
/**
* optional int32 order_type = 2;
*/
public boolean hasOrderType() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional int32 order_type = 2;
*/
public int getOrderType() {
return orderType_;
}
/**
* optional int32 order_type = 2;
*/
public Builder setOrderType(int value) {
bitField0_ |= 0x00000002;
orderType_ = value;
onChanged();
return this;
}
/**
* optional int32 order_type = 2;
*/
public Builder clearOrderType() {
bitField0_ = (bitField0_ & ~0x00000002);
orderType_ = 0;
onChanged();
return this;
}
private java.util.List units_ = java.util.Collections.emptyList();
private void ensureUnitsIsMutable() {
if (!((bitField0_ & 0x00000004) == 0x00000004)) {
units_ = new java.util.ArrayList(units_);
bitField0_ |= 0x00000004;
}
}
/**
* repeated int32 units = 3;
*/
public java.util.List
getUnitsList() {
return java.util.Collections.unmodifiableList(units_);
}
/**
* repeated int32 units = 3;
*/
public int getUnitsCount() {
return units_.size();
}
/**
* repeated int32 units = 3;
*/
public int getUnits(int index) {
return units_.get(index);
}
/**
* repeated int32 units = 3;
*/
public Builder setUnits(
int index, int value) {
ensureUnitsIsMutable();
units_.set(index, value);
onChanged();
return this;
}
/**
* repeated int32 units = 3;
*/
public Builder addUnits(int value) {
ensureUnitsIsMutable();
units_.add(value);
onChanged();
return this;
}
/**
* repeated int32 units = 3;
*/
public Builder addAllUnits(
java.lang.Iterable extends java.lang.Integer> values) {
ensureUnitsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, units_);
onChanged();
return this;
}
/**
* repeated int32 units = 3;
*/
public Builder clearUnits() {
units_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
return this;
}
private int targetIndex_ ;
/**
* optional int32 target_index = 4;
*/
public boolean hasTargetIndex() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* optional int32 target_index = 4;
*/
public int getTargetIndex() {
return targetIndex_;
}
/**
* optional int32 target_index = 4;
*/
public Builder setTargetIndex(int value) {
bitField0_ |= 0x00000008;
targetIndex_ = value;
onChanged();
return this;
}
/**
* optional int32 target_index = 4;
*/
public Builder clearTargetIndex() {
bitField0_ = (bitField0_ & ~0x00000008);
targetIndex_ = 0;
onChanged();
return this;
}
private int abilityId_ ;
/**
* optional int32 ability_id = 5;
*/
public boolean hasAbilityId() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
/**
* optional int32 ability_id = 5;
*/
public int getAbilityId() {
return abilityId_;
}
/**
* optional int32 ability_id = 5;
*/
public Builder setAbilityId(int value) {
bitField0_ |= 0x00000010;
abilityId_ = value;
onChanged();
return this;
}
/**
* optional int32 ability_id = 5;
*/
public Builder clearAbilityId() {
bitField0_ = (bitField0_ & ~0x00000010);
abilityId_ = 0;
onChanged();
return this;
}
private skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVector position_ = skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVector.getDefaultInstance();
private com.google.protobuf.SingleFieldBuilder<
skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVector, skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVector.Builder, skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVectorOrBuilder> positionBuilder_;
/**
* optional .CMsgVector position = 6;
*/
public boolean hasPosition() {
return ((bitField0_ & 0x00000020) == 0x00000020);
}
/**
* optional .CMsgVector position = 6;
*/
public skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVector getPosition() {
if (positionBuilder_ == null) {
return position_;
} else {
return positionBuilder_.getMessage();
}
}
/**
* optional .CMsgVector position = 6;
*/
public Builder setPosition(skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVector value) {
if (positionBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
position_ = value;
onChanged();
} else {
positionBuilder_.setMessage(value);
}
bitField0_ |= 0x00000020;
return this;
}
/**
* optional .CMsgVector position = 6;
*/
public Builder setPosition(
skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVector.Builder builderForValue) {
if (positionBuilder_ == null) {
position_ = builderForValue.build();
onChanged();
} else {
positionBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000020;
return this;
}
/**
* optional .CMsgVector position = 6;
*/
public Builder mergePosition(skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVector value) {
if (positionBuilder_ == null) {
if (((bitField0_ & 0x00000020) == 0x00000020) &&
position_ != skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVector.getDefaultInstance()) {
position_ =
skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVector.newBuilder(position_).mergeFrom(value).buildPartial();
} else {
position_ = value;
}
onChanged();
} else {
positionBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000020;
return this;
}
/**
* optional .CMsgVector position = 6;
*/
public Builder clearPosition() {
if (positionBuilder_ == null) {
position_ = skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVector.getDefaultInstance();
onChanged();
} else {
positionBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000020);
return this;
}
/**
* optional .CMsgVector position = 6;
*/
public skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVector.Builder getPositionBuilder() {
bitField0_ |= 0x00000020;
onChanged();
return getPositionFieldBuilder().getBuilder();
}
/**
* optional .CMsgVector position = 6;
*/
public skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVectorOrBuilder getPositionOrBuilder() {
if (positionBuilder_ != null) {
return positionBuilder_.getMessageOrBuilder();
} else {
return position_;
}
}
/**
* optional .CMsgVector position = 6;
*/
private com.google.protobuf.SingleFieldBuilder<
skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVector, skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVector.Builder, skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVectorOrBuilder>
getPositionFieldBuilder() {
if (positionBuilder_ == null) {
positionBuilder_ = new com.google.protobuf.SingleFieldBuilder<
skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVector, skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVector.Builder, skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVectorOrBuilder>(
getPosition(),
getParentForChildren(),
isClean());
position_ = null;
}
return positionBuilder_;
}
private boolean queue_ ;
/**
* optional bool queue = 7;
*/
public boolean hasQueue() {
return ((bitField0_ & 0x00000040) == 0x00000040);
}
/**
* optional bool queue = 7;
*/
public boolean getQueue() {
return queue_;
}
/**
* optional bool queue = 7;
*/
public Builder setQueue(boolean value) {
bitField0_ |= 0x00000040;
queue_ = value;
onChanged();
return this;
}
/**
* optional bool queue = 7;
*/
public Builder clearQueue() {
bitField0_ = (bitField0_ & ~0x00000040);
queue_ = false;
onChanged();
return this;
}
private int sequenceNumber_ ;
/**
* optional int32 sequence_number = 8;
*/
public boolean hasSequenceNumber() {
return ((bitField0_ & 0x00000080) == 0x00000080);
}
/**
* optional int32 sequence_number = 8;
*/
public int getSequenceNumber() {
return sequenceNumber_;
}
/**
* optional int32 sequence_number = 8;
*/
public Builder setSequenceNumber(int value) {
bitField0_ |= 0x00000080;
sequenceNumber_ = value;
onChanged();
return this;
}
/**
* optional int32 sequence_number = 8;
*/
public Builder clearSequenceNumber() {
bitField0_ = (bitField0_ & ~0x00000080);
sequenceNumber_ = 0;
onChanged();
return this;
}
private int flags_ ;
/**
* optional uint32 flags = 9;
*/
public boolean hasFlags() {
return ((bitField0_ & 0x00000100) == 0x00000100);
}
/**
* optional uint32 flags = 9;
*/
public int getFlags() {
return flags_;
}
/**
* optional uint32 flags = 9;
*/
public Builder setFlags(int value) {
bitField0_ |= 0x00000100;
flags_ = value;
onChanged();
return this;
}
/**
* optional uint32 flags = 9;
*/
public Builder clearFlags() {
bitField0_ = (bitField0_ & ~0x00000100);
flags_ = 0;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:CDOTAUserMsg_SpectatorPlayerUnitOrders)
}
static {
defaultInstance = new CDOTAUserMsg_SpectatorPlayerUnitOrders(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:CDOTAUserMsg_SpectatorPlayerUnitOrders)
}
public interface CDOTAUserMsg_NevermoreRequiemOrBuilder extends
// @@protoc_insertion_point(interface_extends:CDOTAUserMsg_NevermoreRequiem)
com.google.protobuf.MessageOrBuilder {
/**
* optional int32 entity_handle = 1;
*/
boolean hasEntityHandle();
/**
* optional int32 entity_handle = 1;
*/
int getEntityHandle();
/**
* optional int32 lines = 2;
*/
boolean hasLines();
/**
* optional int32 lines = 2;
*/
int getLines();
/**
* optional .CMsgVector origin = 3;
*/
boolean hasOrigin();
/**
* optional .CMsgVector origin = 3;
*/
skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVector getOrigin();
/**
* optional .CMsgVector origin = 3;
*/
skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVectorOrBuilder getOriginOrBuilder();
/**
* optional bool reverse = 4;
*/
boolean hasReverse();
/**
* optional bool reverse = 4;
*/
boolean getReverse();
}
/**
* Protobuf type {@code CDOTAUserMsg_NevermoreRequiem}
*/
public static final class CDOTAUserMsg_NevermoreRequiem extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:CDOTAUserMsg_NevermoreRequiem)
CDOTAUserMsg_NevermoreRequiemOrBuilder {
// Use CDOTAUserMsg_NevermoreRequiem.newBuilder() to construct.
private CDOTAUserMsg_NevermoreRequiem(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private CDOTAUserMsg_NevermoreRequiem(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final CDOTAUserMsg_NevermoreRequiem defaultInstance;
public static CDOTAUserMsg_NevermoreRequiem getDefaultInstance() {
return defaultInstance;
}
public CDOTAUserMsg_NevermoreRequiem getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private CDOTAUserMsg_NevermoreRequiem(
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;
entityHandle_ = input.readInt32();
break;
}
case 16: {
bitField0_ |= 0x00000002;
lines_ = input.readInt32();
break;
}
case 26: {
skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVector.Builder subBuilder = null;
if (((bitField0_ & 0x00000004) == 0x00000004)) {
subBuilder = origin_.toBuilder();
}
origin_ = input.readMessage(skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVector.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(origin_);
origin_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000004;
break;
}
case 32: {
bitField0_ |= 0x00000008;
reverse_ = 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.common.proto.DotaUserMessages.internal_static_CDOTAUserMsg_NevermoreRequiem_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return skadistats.clarity.wire.common.proto.DotaUserMessages.internal_static_CDOTAUserMsg_NevermoreRequiem_fieldAccessorTable
.ensureFieldAccessorsInitialized(
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_NevermoreRequiem.class, skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_NevermoreRequiem.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public CDOTAUserMsg_NevermoreRequiem parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new CDOTAUserMsg_NevermoreRequiem(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
public static final int ENTITY_HANDLE_FIELD_NUMBER = 1;
private int entityHandle_;
/**
* optional int32 entity_handle = 1;
*/
public boolean hasEntityHandle() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional int32 entity_handle = 1;
*/
public int getEntityHandle() {
return entityHandle_;
}
public static final int LINES_FIELD_NUMBER = 2;
private int lines_;
/**
* optional int32 lines = 2;
*/
public boolean hasLines() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional int32 lines = 2;
*/
public int getLines() {
return lines_;
}
public static final int ORIGIN_FIELD_NUMBER = 3;
private skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVector origin_;
/**
* optional .CMsgVector origin = 3;
*/
public boolean hasOrigin() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional .CMsgVector origin = 3;
*/
public skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVector getOrigin() {
return origin_;
}
/**
* optional .CMsgVector origin = 3;
*/
public skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVectorOrBuilder getOriginOrBuilder() {
return origin_;
}
public static final int REVERSE_FIELD_NUMBER = 4;
private boolean reverse_;
/**
* optional bool reverse = 4;
*/
public boolean hasReverse() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* optional bool reverse = 4;
*/
public boolean getReverse() {
return reverse_;
}
private void initFields() {
entityHandle_ = 0;
lines_ = 0;
origin_ = skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVector.getDefaultInstance();
reverse_ = false;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 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, entityHandle_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeInt32(2, lines_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
output.writeMessage(3, origin_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
output.writeBool(4, reverse_);
}
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, entityHandle_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(2, lines_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, origin_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(4, reverse_);
}
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.common.proto.DotaUserMessages.CDOTAUserMsg_NevermoreRequiem parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_NevermoreRequiem 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.common.proto.DotaUserMessages.CDOTAUserMsg_NevermoreRequiem parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_NevermoreRequiem parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_NevermoreRequiem parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_NevermoreRequiem parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_NevermoreRequiem parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_NevermoreRequiem parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_NevermoreRequiem parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_NevermoreRequiem 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.common.proto.DotaUserMessages.CDOTAUserMsg_NevermoreRequiem 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 CDOTAUserMsg_NevermoreRequiem}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:CDOTAUserMsg_NevermoreRequiem)
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_NevermoreRequiemOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return skadistats.clarity.wire.common.proto.DotaUserMessages.internal_static_CDOTAUserMsg_NevermoreRequiem_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return skadistats.clarity.wire.common.proto.DotaUserMessages.internal_static_CDOTAUserMsg_NevermoreRequiem_fieldAccessorTable
.ensureFieldAccessorsInitialized(
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_NevermoreRequiem.class, skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_NevermoreRequiem.Builder.class);
}
// Construct using skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_NevermoreRequiem.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
getOriginFieldBuilder();
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
entityHandle_ = 0;
bitField0_ = (bitField0_ & ~0x00000001);
lines_ = 0;
bitField0_ = (bitField0_ & ~0x00000002);
if (originBuilder_ == null) {
origin_ = skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVector.getDefaultInstance();
} else {
originBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000004);
reverse_ = false;
bitField0_ = (bitField0_ & ~0x00000008);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return skadistats.clarity.wire.common.proto.DotaUserMessages.internal_static_CDOTAUserMsg_NevermoreRequiem_descriptor;
}
public skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_NevermoreRequiem getDefaultInstanceForType() {
return skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_NevermoreRequiem.getDefaultInstance();
}
public skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_NevermoreRequiem build() {
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_NevermoreRequiem result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_NevermoreRequiem buildPartial() {
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_NevermoreRequiem result = new skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_NevermoreRequiem(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.entityHandle_ = entityHandle_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.lines_ = lines_;
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
to_bitField0_ |= 0x00000004;
}
if (originBuilder_ == null) {
result.origin_ = origin_;
} else {
result.origin_ = originBuilder_.build();
}
if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
to_bitField0_ |= 0x00000008;
}
result.reverse_ = reverse_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_NevermoreRequiem) {
return mergeFrom((skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_NevermoreRequiem)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_NevermoreRequiem other) {
if (other == skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_NevermoreRequiem.getDefaultInstance()) return this;
if (other.hasEntityHandle()) {
setEntityHandle(other.getEntityHandle());
}
if (other.hasLines()) {
setLines(other.getLines());
}
if (other.hasOrigin()) {
mergeOrigin(other.getOrigin());
}
if (other.hasReverse()) {
setReverse(other.getReverse());
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_NevermoreRequiem parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_NevermoreRequiem) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private int entityHandle_ ;
/**
* optional int32 entity_handle = 1;
*/
public boolean hasEntityHandle() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional int32 entity_handle = 1;
*/
public int getEntityHandle() {
return entityHandle_;
}
/**
* optional int32 entity_handle = 1;
*/
public Builder setEntityHandle(int value) {
bitField0_ |= 0x00000001;
entityHandle_ = value;
onChanged();
return this;
}
/**
* optional int32 entity_handle = 1;
*/
public Builder clearEntityHandle() {
bitField0_ = (bitField0_ & ~0x00000001);
entityHandle_ = 0;
onChanged();
return this;
}
private int lines_ ;
/**
* optional int32 lines = 2;
*/
public boolean hasLines() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional int32 lines = 2;
*/
public int getLines() {
return lines_;
}
/**
* optional int32 lines = 2;
*/
public Builder setLines(int value) {
bitField0_ |= 0x00000002;
lines_ = value;
onChanged();
return this;
}
/**
* optional int32 lines = 2;
*/
public Builder clearLines() {
bitField0_ = (bitField0_ & ~0x00000002);
lines_ = 0;
onChanged();
return this;
}
private skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVector origin_ = skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVector.getDefaultInstance();
private com.google.protobuf.SingleFieldBuilder<
skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVector, skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVector.Builder, skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVectorOrBuilder> originBuilder_;
/**
* optional .CMsgVector origin = 3;
*/
public boolean hasOrigin() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional .CMsgVector origin = 3;
*/
public skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVector getOrigin() {
if (originBuilder_ == null) {
return origin_;
} else {
return originBuilder_.getMessage();
}
}
/**
* optional .CMsgVector origin = 3;
*/
public Builder setOrigin(skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVector value) {
if (originBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
origin_ = value;
onChanged();
} else {
originBuilder_.setMessage(value);
}
bitField0_ |= 0x00000004;
return this;
}
/**
* optional .CMsgVector origin = 3;
*/
public Builder setOrigin(
skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVector.Builder builderForValue) {
if (originBuilder_ == null) {
origin_ = builderForValue.build();
onChanged();
} else {
originBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000004;
return this;
}
/**
* optional .CMsgVector origin = 3;
*/
public Builder mergeOrigin(skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVector value) {
if (originBuilder_ == null) {
if (((bitField0_ & 0x00000004) == 0x00000004) &&
origin_ != skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVector.getDefaultInstance()) {
origin_ =
skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVector.newBuilder(origin_).mergeFrom(value).buildPartial();
} else {
origin_ = value;
}
onChanged();
} else {
originBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000004;
return this;
}
/**
* optional .CMsgVector origin = 3;
*/
public Builder clearOrigin() {
if (originBuilder_ == null) {
origin_ = skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVector.getDefaultInstance();
onChanged();
} else {
originBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000004);
return this;
}
/**
* optional .CMsgVector origin = 3;
*/
public skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVector.Builder getOriginBuilder() {
bitField0_ |= 0x00000004;
onChanged();
return getOriginFieldBuilder().getBuilder();
}
/**
* optional .CMsgVector origin = 3;
*/
public skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVectorOrBuilder getOriginOrBuilder() {
if (originBuilder_ != null) {
return originBuilder_.getMessageOrBuilder();
} else {
return origin_;
}
}
/**
* optional .CMsgVector origin = 3;
*/
private com.google.protobuf.SingleFieldBuilder<
skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVector, skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVector.Builder, skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVectorOrBuilder>
getOriginFieldBuilder() {
if (originBuilder_ == null) {
originBuilder_ = new com.google.protobuf.SingleFieldBuilder<
skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVector, skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVector.Builder, skadistats.clarity.wire.common.proto.NetworkBaseTypes.CMsgVectorOrBuilder>(
getOrigin(),
getParentForChildren(),
isClean());
origin_ = null;
}
return originBuilder_;
}
private boolean reverse_ ;
/**
* optional bool reverse = 4;
*/
public boolean hasReverse() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* optional bool reverse = 4;
*/
public boolean getReverse() {
return reverse_;
}
/**
* optional bool reverse = 4;
*/
public Builder setReverse(boolean value) {
bitField0_ |= 0x00000008;
reverse_ = value;
onChanged();
return this;
}
/**
* optional bool reverse = 4;
*/
public Builder clearReverse() {
bitField0_ = (bitField0_ & ~0x00000008);
reverse_ = false;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:CDOTAUserMsg_NevermoreRequiem)
}
static {
defaultInstance = new CDOTAUserMsg_NevermoreRequiem(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:CDOTAUserMsg_NevermoreRequiem)
}
public interface CDOTAUserMsg_HudErrorOrBuilder extends
// @@protoc_insertion_point(interface_extends:CDOTAUserMsg_HudError)
com.google.protobuf.MessageOrBuilder {
/**
* optional int32 order_id = 1;
*/
boolean hasOrderId();
/**
* optional int32 order_id = 1;
*/
int getOrderId();
}
/**
* Protobuf type {@code CDOTAUserMsg_HudError}
*/
public static final class CDOTAUserMsg_HudError extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:CDOTAUserMsg_HudError)
CDOTAUserMsg_HudErrorOrBuilder {
// Use CDOTAUserMsg_HudError.newBuilder() to construct.
private CDOTAUserMsg_HudError(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private CDOTAUserMsg_HudError(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final CDOTAUserMsg_HudError defaultInstance;
public static CDOTAUserMsg_HudError getDefaultInstance() {
return defaultInstance;
}
public CDOTAUserMsg_HudError getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private CDOTAUserMsg_HudError(
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;
orderId_ = input.readInt32();
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.common.proto.DotaUserMessages.internal_static_CDOTAUserMsg_HudError_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return skadistats.clarity.wire.common.proto.DotaUserMessages.internal_static_CDOTAUserMsg_HudError_fieldAccessorTable
.ensureFieldAccessorsInitialized(
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_HudError.class, skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_HudError.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public CDOTAUserMsg_HudError parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new CDOTAUserMsg_HudError(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
public static final int ORDER_ID_FIELD_NUMBER = 1;
private int orderId_;
/**
* optional int32 order_id = 1;
*/
public boolean hasOrderId() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional int32 order_id = 1;
*/
public int getOrderId() {
return orderId_;
}
private void initFields() {
orderId_ = 0;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 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, orderId_);
}
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, orderId_);
}
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.common.proto.DotaUserMessages.CDOTAUserMsg_HudError parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_HudError 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.common.proto.DotaUserMessages.CDOTAUserMsg_HudError parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_HudError parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_HudError parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_HudError parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_HudError parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_HudError parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_HudError parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_HudError 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.common.proto.DotaUserMessages.CDOTAUserMsg_HudError 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 CDOTAUserMsg_HudError}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:CDOTAUserMsg_HudError)
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_HudErrorOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return skadistats.clarity.wire.common.proto.DotaUserMessages.internal_static_CDOTAUserMsg_HudError_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return skadistats.clarity.wire.common.proto.DotaUserMessages.internal_static_CDOTAUserMsg_HudError_fieldAccessorTable
.ensureFieldAccessorsInitialized(
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_HudError.class, skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_HudError.Builder.class);
}
// Construct using skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_HudError.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();
orderId_ = 0;
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return skadistats.clarity.wire.common.proto.DotaUserMessages.internal_static_CDOTAUserMsg_HudError_descriptor;
}
public skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_HudError getDefaultInstanceForType() {
return skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_HudError.getDefaultInstance();
}
public skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_HudError build() {
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_HudError result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_HudError buildPartial() {
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_HudError result = new skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_HudError(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.orderId_ = orderId_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_HudError) {
return mergeFrom((skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_HudError)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_HudError other) {
if (other == skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_HudError.getDefaultInstance()) return this;
if (other.hasOrderId()) {
setOrderId(other.getOrderId());
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_HudError parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_HudError) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private int orderId_ ;
/**
* optional int32 order_id = 1;
*/
public boolean hasOrderId() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional int32 order_id = 1;
*/
public int getOrderId() {
return orderId_;
}
/**
* optional int32 order_id = 1;
*/
public Builder setOrderId(int value) {
bitField0_ |= 0x00000001;
orderId_ = value;
onChanged();
return this;
}
/**
* optional int32 order_id = 1;
*/
public Builder clearOrderId() {
bitField0_ = (bitField0_ & ~0x00000001);
orderId_ = 0;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:CDOTAUserMsg_HudError)
}
static {
defaultInstance = new CDOTAUserMsg_HudError(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:CDOTAUserMsg_HudError)
}
public interface CDOTAUserMsg_SharedCooldownOrBuilder extends
// @@protoc_insertion_point(interface_extends:CDOTAUserMsg_SharedCooldown)
com.google.protobuf.MessageOrBuilder {
/**
* optional int32 entindex = 1;
*/
boolean hasEntindex();
/**
* optional int32 entindex = 1;
*/
int getEntindex();
/**
* optional string name = 2;
*/
boolean hasName();
/**
* optional string name = 2;
*/
java.lang.String getName();
/**
* optional string name = 2;
*/
com.google.protobuf.ByteString
getNameBytes();
/**
* optional float cooldown = 3;
*/
boolean hasCooldown();
/**
* optional float cooldown = 3;
*/
float getCooldown();
/**
* optional int32 name_index = 4;
*/
boolean hasNameIndex();
/**
* optional int32 name_index = 4;
*/
int getNameIndex();
}
/**
* Protobuf type {@code CDOTAUserMsg_SharedCooldown}
*/
public static final class CDOTAUserMsg_SharedCooldown extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:CDOTAUserMsg_SharedCooldown)
CDOTAUserMsg_SharedCooldownOrBuilder {
// Use CDOTAUserMsg_SharedCooldown.newBuilder() to construct.
private CDOTAUserMsg_SharedCooldown(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private CDOTAUserMsg_SharedCooldown(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final CDOTAUserMsg_SharedCooldown defaultInstance;
public static CDOTAUserMsg_SharedCooldown getDefaultInstance() {
return defaultInstance;
}
public CDOTAUserMsg_SharedCooldown getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private CDOTAUserMsg_SharedCooldown(
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;
entindex_ = input.readInt32();
break;
}
case 18: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000002;
name_ = bs;
break;
}
case 29: {
bitField0_ |= 0x00000004;
cooldown_ = input.readFloat();
break;
}
case 32: {
bitField0_ |= 0x00000008;
nameIndex_ = input.readInt32();
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.common.proto.DotaUserMessages.internal_static_CDOTAUserMsg_SharedCooldown_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return skadistats.clarity.wire.common.proto.DotaUserMessages.internal_static_CDOTAUserMsg_SharedCooldown_fieldAccessorTable
.ensureFieldAccessorsInitialized(
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_SharedCooldown.class, skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_SharedCooldown.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public CDOTAUserMsg_SharedCooldown parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new CDOTAUserMsg_SharedCooldown(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
public static final int ENTINDEX_FIELD_NUMBER = 1;
private int entindex_;
/**
* optional int32 entindex = 1;
*/
public boolean hasEntindex() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional int32 entindex = 1;
*/
public int getEntindex() {
return entindex_;
}
public static final int NAME_FIELD_NUMBER = 2;
private java.lang.Object name_;
/**
* optional string name = 2;
*/
public boolean hasName() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional string name = 2;
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
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()) {
name_ = s;
}
return s;
}
}
/**
* optional string name = 2;
*/
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int COOLDOWN_FIELD_NUMBER = 3;
private float cooldown_;
/**
* optional float cooldown = 3;
*/
public boolean hasCooldown() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional float cooldown = 3;
*/
public float getCooldown() {
return cooldown_;
}
public static final int NAME_INDEX_FIELD_NUMBER = 4;
private int nameIndex_;
/**
* optional int32 name_index = 4;
*/
public boolean hasNameIndex() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* optional int32 name_index = 4;
*/
public int getNameIndex() {
return nameIndex_;
}
private void initFields() {
entindex_ = 0;
name_ = "";
cooldown_ = 0F;
nameIndex_ = 0;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 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, entindex_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeBytes(2, getNameBytes());
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
output.writeFloat(3, cooldown_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
output.writeInt32(4, nameIndex_);
}
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, entindex_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(2, getNameBytes());
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += com.google.protobuf.CodedOutputStream
.computeFloatSize(3, cooldown_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(4, nameIndex_);
}
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.common.proto.DotaUserMessages.CDOTAUserMsg_SharedCooldown parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_SharedCooldown 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.common.proto.DotaUserMessages.CDOTAUserMsg_SharedCooldown parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_SharedCooldown parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_SharedCooldown parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_SharedCooldown parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_SharedCooldown parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_SharedCooldown parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_SharedCooldown parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_SharedCooldown 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.common.proto.DotaUserMessages.CDOTAUserMsg_SharedCooldown 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 CDOTAUserMsg_SharedCooldown}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:CDOTAUserMsg_SharedCooldown)
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_SharedCooldownOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return skadistats.clarity.wire.common.proto.DotaUserMessages.internal_static_CDOTAUserMsg_SharedCooldown_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return skadistats.clarity.wire.common.proto.DotaUserMessages.internal_static_CDOTAUserMsg_SharedCooldown_fieldAccessorTable
.ensureFieldAccessorsInitialized(
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_SharedCooldown.class, skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_SharedCooldown.Builder.class);
}
// Construct using skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_SharedCooldown.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();
entindex_ = 0;
bitField0_ = (bitField0_ & ~0x00000001);
name_ = "";
bitField0_ = (bitField0_ & ~0x00000002);
cooldown_ = 0F;
bitField0_ = (bitField0_ & ~0x00000004);
nameIndex_ = 0;
bitField0_ = (bitField0_ & ~0x00000008);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return skadistats.clarity.wire.common.proto.DotaUserMessages.internal_static_CDOTAUserMsg_SharedCooldown_descriptor;
}
public skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_SharedCooldown getDefaultInstanceForType() {
return skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_SharedCooldown.getDefaultInstance();
}
public skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_SharedCooldown build() {
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_SharedCooldown result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_SharedCooldown buildPartial() {
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_SharedCooldown result = new skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_SharedCooldown(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.entindex_ = entindex_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.name_ = name_;
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
to_bitField0_ |= 0x00000004;
}
result.cooldown_ = cooldown_;
if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
to_bitField0_ |= 0x00000008;
}
result.nameIndex_ = nameIndex_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_SharedCooldown) {
return mergeFrom((skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_SharedCooldown)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_SharedCooldown other) {
if (other == skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_SharedCooldown.getDefaultInstance()) return this;
if (other.hasEntindex()) {
setEntindex(other.getEntindex());
}
if (other.hasName()) {
bitField0_ |= 0x00000002;
name_ = other.name_;
onChanged();
}
if (other.hasCooldown()) {
setCooldown(other.getCooldown());
}
if (other.hasNameIndex()) {
setNameIndex(other.getNameIndex());
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_SharedCooldown parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_SharedCooldown) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private int entindex_ ;
/**
* optional int32 entindex = 1;
*/
public boolean hasEntindex() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional int32 entindex = 1;
*/
public int getEntindex() {
return entindex_;
}
/**
* optional int32 entindex = 1;
*/
public Builder setEntindex(int value) {
bitField0_ |= 0x00000001;
entindex_ = value;
onChanged();
return this;
}
/**
* optional int32 entindex = 1;
*/
public Builder clearEntindex() {
bitField0_ = (bitField0_ & ~0x00000001);
entindex_ = 0;
onChanged();
return this;
}
private java.lang.Object name_ = "";
/**
* optional string name = 2;
*/
public boolean hasName() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional string name = 2;
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
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()) {
name_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string name = 2;
*/
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string name = 2;
*/
public Builder setName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
name_ = value;
onChanged();
return this;
}
/**
* optional string name = 2;
*/
public Builder clearName() {
bitField0_ = (bitField0_ & ~0x00000002);
name_ = getDefaultInstance().getName();
onChanged();
return this;
}
/**
* optional string name = 2;
*/
public Builder setNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
name_ = value;
onChanged();
return this;
}
private float cooldown_ ;
/**
* optional float cooldown = 3;
*/
public boolean hasCooldown() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional float cooldown = 3;
*/
public float getCooldown() {
return cooldown_;
}
/**
* optional float cooldown = 3;
*/
public Builder setCooldown(float value) {
bitField0_ |= 0x00000004;
cooldown_ = value;
onChanged();
return this;
}
/**
* optional float cooldown = 3;
*/
public Builder clearCooldown() {
bitField0_ = (bitField0_ & ~0x00000004);
cooldown_ = 0F;
onChanged();
return this;
}
private int nameIndex_ ;
/**
* optional int32 name_index = 4;
*/
public boolean hasNameIndex() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* optional int32 name_index = 4;
*/
public int getNameIndex() {
return nameIndex_;
}
/**
* optional int32 name_index = 4;
*/
public Builder setNameIndex(int value) {
bitField0_ |= 0x00000008;
nameIndex_ = value;
onChanged();
return this;
}
/**
* optional int32 name_index = 4;
*/
public Builder clearNameIndex() {
bitField0_ = (bitField0_ & ~0x00000008);
nameIndex_ = 0;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:CDOTAUserMsg_SharedCooldown)
}
static {
defaultInstance = new CDOTAUserMsg_SharedCooldown(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:CDOTAUserMsg_SharedCooldown)
}
public interface CDOTAUserMsg_HalloweenDropsOrBuilder extends
// @@protoc_insertion_point(interface_extends:CDOTAUserMsg_HalloweenDrops)
com.google.protobuf.MessageOrBuilder {
/**
* repeated uint32 item_defs = 1;
*/
java.util.List getItemDefsList();
/**
* repeated uint32 item_defs = 1;
*/
int getItemDefsCount();
/**
* repeated uint32 item_defs = 1;
*/
int getItemDefs(int index);
/**
* repeated uint32 player_ids = 2;
*/
java.util.List getPlayerIdsList();
/**
* repeated uint32 player_ids = 2;
*/
int getPlayerIdsCount();
/**
* repeated uint32 player_ids = 2;
*/
int getPlayerIds(int index);
/**
* optional uint32 prize_list = 3;
*/
boolean hasPrizeList();
/**
* optional uint32 prize_list = 3;
*/
int getPrizeList();
}
/**
* Protobuf type {@code CDOTAUserMsg_HalloweenDrops}
*/
public static final class CDOTAUserMsg_HalloweenDrops extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:CDOTAUserMsg_HalloweenDrops)
CDOTAUserMsg_HalloweenDropsOrBuilder {
// Use CDOTAUserMsg_HalloweenDrops.newBuilder() to construct.
private CDOTAUserMsg_HalloweenDrops(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private CDOTAUserMsg_HalloweenDrops(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final CDOTAUserMsg_HalloweenDrops defaultInstance;
public static CDOTAUserMsg_HalloweenDrops getDefaultInstance() {
return defaultInstance;
}
public CDOTAUserMsg_HalloweenDrops getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private CDOTAUserMsg_HalloweenDrops(
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: {
if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
itemDefs_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
itemDefs_.add(input.readUInt32());
break;
}
case 10: {
int length = input.readRawVarint32();
int limit = input.pushLimit(length);
if (!((mutable_bitField0_ & 0x00000001) == 0x00000001) && input.getBytesUntilLimit() > 0) {
itemDefs_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
while (input.getBytesUntilLimit() > 0) {
itemDefs_.add(input.readUInt32());
}
input.popLimit(limit);
break;
}
case 16: {
if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
playerIds_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000002;
}
playerIds_.add(input.readUInt32());
break;
}
case 18: {
int length = input.readRawVarint32();
int limit = input.pushLimit(length);
if (!((mutable_bitField0_ & 0x00000002) == 0x00000002) && input.getBytesUntilLimit() > 0) {
playerIds_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000002;
}
while (input.getBytesUntilLimit() > 0) {
playerIds_.add(input.readUInt32());
}
input.popLimit(limit);
break;
}
case 24: {
bitField0_ |= 0x00000001;
prizeList_ = input.readUInt32();
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 {
if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
itemDefs_ = java.util.Collections.unmodifiableList(itemDefs_);
}
if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
playerIds_ = java.util.Collections.unmodifiableList(playerIds_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return skadistats.clarity.wire.common.proto.DotaUserMessages.internal_static_CDOTAUserMsg_HalloweenDrops_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return skadistats.clarity.wire.common.proto.DotaUserMessages.internal_static_CDOTAUserMsg_HalloweenDrops_fieldAccessorTable
.ensureFieldAccessorsInitialized(
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_HalloweenDrops.class, skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_HalloweenDrops.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public CDOTAUserMsg_HalloweenDrops parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new CDOTAUserMsg_HalloweenDrops(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
public static final int ITEM_DEFS_FIELD_NUMBER = 1;
private java.util.List itemDefs_;
/**
* repeated uint32 item_defs = 1;
*/
public java.util.List
getItemDefsList() {
return itemDefs_;
}
/**
* repeated uint32 item_defs = 1;
*/
public int getItemDefsCount() {
return itemDefs_.size();
}
/**
* repeated uint32 item_defs = 1;
*/
public int getItemDefs(int index) {
return itemDefs_.get(index);
}
public static final int PLAYER_IDS_FIELD_NUMBER = 2;
private java.util.List playerIds_;
/**
* repeated uint32 player_ids = 2;
*/
public java.util.List
getPlayerIdsList() {
return playerIds_;
}
/**
* repeated uint32 player_ids = 2;
*/
public int getPlayerIdsCount() {
return playerIds_.size();
}
/**
* repeated uint32 player_ids = 2;
*/
public int getPlayerIds(int index) {
return playerIds_.get(index);
}
public static final int PRIZE_LIST_FIELD_NUMBER = 3;
private int prizeList_;
/**
* optional uint32 prize_list = 3;
*/
public boolean hasPrizeList() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional uint32 prize_list = 3;
*/
public int getPrizeList() {
return prizeList_;
}
private void initFields() {
itemDefs_ = java.util.Collections.emptyList();
playerIds_ = java.util.Collections.emptyList();
prizeList_ = 0;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
for (int i = 0; i < itemDefs_.size(); i++) {
output.writeUInt32(1, itemDefs_.get(i));
}
for (int i = 0; i < playerIds_.size(); i++) {
output.writeUInt32(2, playerIds_.get(i));
}
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeUInt32(3, prizeList_);
}
getUnknownFields().writeTo(output);
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
{
int dataSize = 0;
for (int i = 0; i < itemDefs_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeUInt32SizeNoTag(itemDefs_.get(i));
}
size += dataSize;
size += 1 * getItemDefsList().size();
}
{
int dataSize = 0;
for (int i = 0; i < playerIds_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeUInt32SizeNoTag(playerIds_.get(i));
}
size += dataSize;
size += 1 * getPlayerIdsList().size();
}
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(3, prizeList_);
}
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.common.proto.DotaUserMessages.CDOTAUserMsg_HalloweenDrops parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_HalloweenDrops 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.common.proto.DotaUserMessages.CDOTAUserMsg_HalloweenDrops parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_HalloweenDrops parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_HalloweenDrops parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_HalloweenDrops parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_HalloweenDrops parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_HalloweenDrops parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_HalloweenDrops parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_HalloweenDrops 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.common.proto.DotaUserMessages.CDOTAUserMsg_HalloweenDrops 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 CDOTAUserMsg_HalloweenDrops}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:CDOTAUserMsg_HalloweenDrops)
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_HalloweenDropsOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return skadistats.clarity.wire.common.proto.DotaUserMessages.internal_static_CDOTAUserMsg_HalloweenDrops_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return skadistats.clarity.wire.common.proto.DotaUserMessages.internal_static_CDOTAUserMsg_HalloweenDrops_fieldAccessorTable
.ensureFieldAccessorsInitialized(
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_HalloweenDrops.class, skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_HalloweenDrops.Builder.class);
}
// Construct using skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_HalloweenDrops.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();
itemDefs_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
playerIds_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
prizeList_ = 0;
bitField0_ = (bitField0_ & ~0x00000004);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return skadistats.clarity.wire.common.proto.DotaUserMessages.internal_static_CDOTAUserMsg_HalloweenDrops_descriptor;
}
public skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_HalloweenDrops getDefaultInstanceForType() {
return skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_HalloweenDrops.getDefaultInstance();
}
public skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_HalloweenDrops build() {
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_HalloweenDrops result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_HalloweenDrops buildPartial() {
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_HalloweenDrops result = new skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_HalloweenDrops(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
itemDefs_ = java.util.Collections.unmodifiableList(itemDefs_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.itemDefs_ = itemDefs_;
if (((bitField0_ & 0x00000002) == 0x00000002)) {
playerIds_ = java.util.Collections.unmodifiableList(playerIds_);
bitField0_ = (bitField0_ & ~0x00000002);
}
result.playerIds_ = playerIds_;
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
to_bitField0_ |= 0x00000001;
}
result.prizeList_ = prizeList_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_HalloweenDrops) {
return mergeFrom((skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_HalloweenDrops)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_HalloweenDrops other) {
if (other == skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_HalloweenDrops.getDefaultInstance()) return this;
if (!other.itemDefs_.isEmpty()) {
if (itemDefs_.isEmpty()) {
itemDefs_ = other.itemDefs_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureItemDefsIsMutable();
itemDefs_.addAll(other.itemDefs_);
}
onChanged();
}
if (!other.playerIds_.isEmpty()) {
if (playerIds_.isEmpty()) {
playerIds_ = other.playerIds_;
bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensurePlayerIdsIsMutable();
playerIds_.addAll(other.playerIds_);
}
onChanged();
}
if (other.hasPrizeList()) {
setPrizeList(other.getPrizeList());
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_HalloweenDrops parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_HalloweenDrops) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.util.List itemDefs_ = java.util.Collections.emptyList();
private void ensureItemDefsIsMutable() {
if (!((bitField0_ & 0x00000001) == 0x00000001)) {
itemDefs_ = new java.util.ArrayList(itemDefs_);
bitField0_ |= 0x00000001;
}
}
/**
* repeated uint32 item_defs = 1;
*/
public java.util.List
getItemDefsList() {
return java.util.Collections.unmodifiableList(itemDefs_);
}
/**
* repeated uint32 item_defs = 1;
*/
public int getItemDefsCount() {
return itemDefs_.size();
}
/**
* repeated uint32 item_defs = 1;
*/
public int getItemDefs(int index) {
return itemDefs_.get(index);
}
/**
* repeated uint32 item_defs = 1;
*/
public Builder setItemDefs(
int index, int value) {
ensureItemDefsIsMutable();
itemDefs_.set(index, value);
onChanged();
return this;
}
/**
* repeated uint32 item_defs = 1;
*/
public Builder addItemDefs(int value) {
ensureItemDefsIsMutable();
itemDefs_.add(value);
onChanged();
return this;
}
/**
* repeated uint32 item_defs = 1;
*/
public Builder addAllItemDefs(
java.lang.Iterable extends java.lang.Integer> values) {
ensureItemDefsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, itemDefs_);
onChanged();
return this;
}
/**
* repeated uint32 item_defs = 1;
*/
public Builder clearItemDefs() {
itemDefs_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
private java.util.List playerIds_ = java.util.Collections.emptyList();
private void ensurePlayerIdsIsMutable() {
if (!((bitField0_ & 0x00000002) == 0x00000002)) {
playerIds_ = new java.util.ArrayList(playerIds_);
bitField0_ |= 0x00000002;
}
}
/**
* repeated uint32 player_ids = 2;
*/
public java.util.List
getPlayerIdsList() {
return java.util.Collections.unmodifiableList(playerIds_);
}
/**
* repeated uint32 player_ids = 2;
*/
public int getPlayerIdsCount() {
return playerIds_.size();
}
/**
* repeated uint32 player_ids = 2;
*/
public int getPlayerIds(int index) {
return playerIds_.get(index);
}
/**
* repeated uint32 player_ids = 2;
*/
public Builder setPlayerIds(
int index, int value) {
ensurePlayerIdsIsMutable();
playerIds_.set(index, value);
onChanged();
return this;
}
/**
* repeated uint32 player_ids = 2;
*/
public Builder addPlayerIds(int value) {
ensurePlayerIdsIsMutable();
playerIds_.add(value);
onChanged();
return this;
}
/**
* repeated uint32 player_ids = 2;
*/
public Builder addAllPlayerIds(
java.lang.Iterable extends java.lang.Integer> values) {
ensurePlayerIdsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, playerIds_);
onChanged();
return this;
}
/**
* repeated uint32 player_ids = 2;
*/
public Builder clearPlayerIds() {
playerIds_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
private int prizeList_ ;
/**
* optional uint32 prize_list = 3;
*/
public boolean hasPrizeList() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional uint32 prize_list = 3;
*/
public int getPrizeList() {
return prizeList_;
}
/**
* optional uint32 prize_list = 3;
*/
public Builder setPrizeList(int value) {
bitField0_ |= 0x00000004;
prizeList_ = value;
onChanged();
return this;
}
/**
* optional uint32 prize_list = 3;
*/
public Builder clearPrizeList() {
bitField0_ = (bitField0_ & ~0x00000004);
prizeList_ = 0;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:CDOTAUserMsg_HalloweenDrops)
}
static {
defaultInstance = new CDOTAUserMsg_HalloweenDrops(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:CDOTAUserMsg_HalloweenDrops)
}
public interface CDOTAUserMsg_PredictionResultOrBuilder extends
// @@protoc_insertion_point(interface_extends:CDOTAUserMsg_PredictionResult)
com.google.protobuf.MessageOrBuilder {
/**
* optional uint32 account_id = 1;
*/
boolean hasAccountId();
/**
* optional uint32 account_id = 1;
*/
int getAccountId();
/**
* optional uint64 match_id = 2;
*/
boolean hasMatchId();
/**
* optional uint64 match_id = 2;
*/
long getMatchId();
/**
* optional bool correct = 3;
*/
boolean hasCorrect();
/**
* optional bool correct = 3;
*/
boolean getCorrect();
/**
* repeated .CDOTAUserMsg_PredictionResult.Prediction predictions = 4;
*/
java.util.List
getPredictionsList();
/**
* repeated .CDOTAUserMsg_PredictionResult.Prediction predictions = 4;
*/
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_PredictionResult.Prediction getPredictions(int index);
/**
* repeated .CDOTAUserMsg_PredictionResult.Prediction predictions = 4;
*/
int getPredictionsCount();
/**
* repeated .CDOTAUserMsg_PredictionResult.Prediction predictions = 4;
*/
java.util.List extends skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_PredictionResult.PredictionOrBuilder>
getPredictionsOrBuilderList();
/**
* repeated .CDOTAUserMsg_PredictionResult.Prediction predictions = 4;
*/
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_PredictionResult.PredictionOrBuilder getPredictionsOrBuilder(
int index);
}
/**
* Protobuf type {@code CDOTAUserMsg_PredictionResult}
*/
public static final class CDOTAUserMsg_PredictionResult extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:CDOTAUserMsg_PredictionResult)
CDOTAUserMsg_PredictionResultOrBuilder {
// Use CDOTAUserMsg_PredictionResult.newBuilder() to construct.
private CDOTAUserMsg_PredictionResult(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private CDOTAUserMsg_PredictionResult(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final CDOTAUserMsg_PredictionResult defaultInstance;
public static CDOTAUserMsg_PredictionResult getDefaultInstance() {
return defaultInstance;
}
public CDOTAUserMsg_PredictionResult getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private CDOTAUserMsg_PredictionResult(
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;
accountId_ = input.readUInt32();
break;
}
case 16: {
bitField0_ |= 0x00000002;
matchId_ = input.readUInt64();
break;
}
case 24: {
bitField0_ |= 0x00000004;
correct_ = input.readBool();
break;
}
case 34: {
if (!((mutable_bitField0_ & 0x00000008) == 0x00000008)) {
predictions_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000008;
}
predictions_.add(input.readMessage(skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_PredictionResult.Prediction.PARSER, extensionRegistry));
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 {
if (((mutable_bitField0_ & 0x00000008) == 0x00000008)) {
predictions_ = java.util.Collections.unmodifiableList(predictions_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return skadistats.clarity.wire.common.proto.DotaUserMessages.internal_static_CDOTAUserMsg_PredictionResult_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return skadistats.clarity.wire.common.proto.DotaUserMessages.internal_static_CDOTAUserMsg_PredictionResult_fieldAccessorTable
.ensureFieldAccessorsInitialized(
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_PredictionResult.class, skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_PredictionResult.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public CDOTAUserMsg_PredictionResult parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new CDOTAUserMsg_PredictionResult(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public interface PredictionOrBuilder extends
// @@protoc_insertion_point(interface_extends:CDOTAUserMsg_PredictionResult.Prediction)
com.google.protobuf.MessageOrBuilder {
/**
* optional uint32 item_def = 1;
*/
boolean hasItemDef();
/**
* optional uint32 item_def = 1;
*/
int getItemDef();
/**
* optional uint32 num_correct = 2;
*/
boolean hasNumCorrect();
/**
* optional uint32 num_correct = 2;
*/
int getNumCorrect();
/**
* optional uint32 num_fails = 3;
*/
boolean hasNumFails();
/**
* optional uint32 num_fails = 3;
*/
int getNumFails();
/**
* optional .CDOTAUserMsg_PredictionResult.Prediction.EResult result = 4 [default = k_eResult_ItemGranted];
*/
boolean hasResult();
/**
* optional .CDOTAUserMsg_PredictionResult.Prediction.EResult result = 4 [default = k_eResult_ItemGranted];
*/
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_PredictionResult.Prediction.EResult getResult();
/**
* repeated uint32 granted_item_defs = 6;
*/
java.util.List getGrantedItemDefsList();
/**
* repeated uint32 granted_item_defs = 6;
*/
int getGrantedItemDefsCount();
/**
* repeated uint32 granted_item_defs = 6;
*/
int getGrantedItemDefs(int index);
}
/**
* Protobuf type {@code CDOTAUserMsg_PredictionResult.Prediction}
*/
public static final class Prediction extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:CDOTAUserMsg_PredictionResult.Prediction)
PredictionOrBuilder {
// Use Prediction.newBuilder() to construct.
private Prediction(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private Prediction(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final Prediction defaultInstance;
public static Prediction getDefaultInstance() {
return defaultInstance;
}
public Prediction getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private Prediction(
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;
itemDef_ = input.readUInt32();
break;
}
case 16: {
bitField0_ |= 0x00000002;
numCorrect_ = input.readUInt32();
break;
}
case 24: {
bitField0_ |= 0x00000004;
numFails_ = input.readUInt32();
break;
}
case 32: {
int rawValue = input.readEnum();
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_PredictionResult.Prediction.EResult value = skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_PredictionResult.Prediction.EResult.valueOf(rawValue);
if (value == null) {
unknownFields.mergeVarintField(4, rawValue);
} else {
bitField0_ |= 0x00000008;
result_ = value;
}
break;
}
case 48: {
if (!((mutable_bitField0_ & 0x00000010) == 0x00000010)) {
grantedItemDefs_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000010;
}
grantedItemDefs_.add(input.readUInt32());
break;
}
case 50: {
int length = input.readRawVarint32();
int limit = input.pushLimit(length);
if (!((mutable_bitField0_ & 0x00000010) == 0x00000010) && input.getBytesUntilLimit() > 0) {
grantedItemDefs_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000010;
}
while (input.getBytesUntilLimit() > 0) {
grantedItemDefs_.add(input.readUInt32());
}
input.popLimit(limit);
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 {
if (((mutable_bitField0_ & 0x00000010) == 0x00000010)) {
grantedItemDefs_ = java.util.Collections.unmodifiableList(grantedItemDefs_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return skadistats.clarity.wire.common.proto.DotaUserMessages.internal_static_CDOTAUserMsg_PredictionResult_Prediction_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return skadistats.clarity.wire.common.proto.DotaUserMessages.internal_static_CDOTAUserMsg_PredictionResult_Prediction_fieldAccessorTable
.ensureFieldAccessorsInitialized(
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_PredictionResult.Prediction.class, skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_PredictionResult.Prediction.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public Prediction parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new Prediction(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
/**
* Protobuf enum {@code CDOTAUserMsg_PredictionResult.Prediction.EResult}
*/
public enum EResult
implements com.google.protobuf.ProtocolMessageEnum {
/**
* k_eResult_ItemGranted = 1;
*/
k_eResult_ItemGranted(0, 1),
/**
* k_eResult_Destroyed = 2;
*/
k_eResult_Destroyed(1, 2),
;
/**
* k_eResult_ItemGranted = 1;
*/
public static final int k_eResult_ItemGranted_VALUE = 1;
/**
* k_eResult_Destroyed = 2;
*/
public static final int k_eResult_Destroyed_VALUE = 2;
public final int getNumber() { return value; }
public static EResult valueOf(int value) {
switch (value) {
case 1: return k_eResult_ItemGranted;
case 2: return k_eResult_Destroyed;
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 EResult findValueByNumber(int number) {
return EResult.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.common.proto.DotaUserMessages.CDOTAUserMsg_PredictionResult.Prediction.getDescriptor().getEnumTypes().get(0);
}
private static final EResult[] VALUES = values();
public static EResult 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 EResult(int index, int value) {
this.index = index;
this.value = value;
}
// @@protoc_insertion_point(enum_scope:CDOTAUserMsg_PredictionResult.Prediction.EResult)
}
private int bitField0_;
public static final int ITEM_DEF_FIELD_NUMBER = 1;
private int itemDef_;
/**
* optional uint32 item_def = 1;
*/
public boolean hasItemDef() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional uint32 item_def = 1;
*/
public int getItemDef() {
return itemDef_;
}
public static final int NUM_CORRECT_FIELD_NUMBER = 2;
private int numCorrect_;
/**
* optional uint32 num_correct = 2;
*/
public boolean hasNumCorrect() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional uint32 num_correct = 2;
*/
public int getNumCorrect() {
return numCorrect_;
}
public static final int NUM_FAILS_FIELD_NUMBER = 3;
private int numFails_;
/**
* optional uint32 num_fails = 3;
*/
public boolean hasNumFails() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional uint32 num_fails = 3;
*/
public int getNumFails() {
return numFails_;
}
public static final int RESULT_FIELD_NUMBER = 4;
private skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_PredictionResult.Prediction.EResult result_;
/**
* optional .CDOTAUserMsg_PredictionResult.Prediction.EResult result = 4 [default = k_eResult_ItemGranted];
*/
public boolean hasResult() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* optional .CDOTAUserMsg_PredictionResult.Prediction.EResult result = 4 [default = k_eResult_ItemGranted];
*/
public skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_PredictionResult.Prediction.EResult getResult() {
return result_;
}
public static final int GRANTED_ITEM_DEFS_FIELD_NUMBER = 6;
private java.util.List grantedItemDefs_;
/**
* repeated uint32 granted_item_defs = 6;
*/
public java.util.List
getGrantedItemDefsList() {
return grantedItemDefs_;
}
/**
* repeated uint32 granted_item_defs = 6;
*/
public int getGrantedItemDefsCount() {
return grantedItemDefs_.size();
}
/**
* repeated uint32 granted_item_defs = 6;
*/
public int getGrantedItemDefs(int index) {
return grantedItemDefs_.get(index);
}
private void initFields() {
itemDef_ = 0;
numCorrect_ = 0;
numFails_ = 0;
result_ = skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_PredictionResult.Prediction.EResult.k_eResult_ItemGranted;
grantedItemDefs_ = java.util.Collections.emptyList();
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 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.writeUInt32(1, itemDef_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeUInt32(2, numCorrect_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
output.writeUInt32(3, numFails_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
output.writeEnum(4, result_.getNumber());
}
for (int i = 0; i < grantedItemDefs_.size(); i++) {
output.writeUInt32(6, grantedItemDefs_.get(i));
}
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
.computeUInt32Size(1, itemDef_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(2, numCorrect_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(3, numFails_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(4, result_.getNumber());
}
{
int dataSize = 0;
for (int i = 0; i < grantedItemDefs_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeUInt32SizeNoTag(grantedItemDefs_.get(i));
}
size += dataSize;
size += 1 * getGrantedItemDefsList().size();
}
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.common.proto.DotaUserMessages.CDOTAUserMsg_PredictionResult.Prediction parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_PredictionResult.Prediction 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.common.proto.DotaUserMessages.CDOTAUserMsg_PredictionResult.Prediction parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_PredictionResult.Prediction parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_PredictionResult.Prediction parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_PredictionResult.Prediction parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_PredictionResult.Prediction parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_PredictionResult.Prediction parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_PredictionResult.Prediction parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_PredictionResult.Prediction 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.common.proto.DotaUserMessages.CDOTAUserMsg_PredictionResult.Prediction 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 CDOTAUserMsg_PredictionResult.Prediction}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:CDOTAUserMsg_PredictionResult.Prediction)
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_PredictionResult.PredictionOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return skadistats.clarity.wire.common.proto.DotaUserMessages.internal_static_CDOTAUserMsg_PredictionResult_Prediction_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return skadistats.clarity.wire.common.proto.DotaUserMessages.internal_static_CDOTAUserMsg_PredictionResult_Prediction_fieldAccessorTable
.ensureFieldAccessorsInitialized(
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_PredictionResult.Prediction.class, skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_PredictionResult.Prediction.Builder.class);
}
// Construct using skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_PredictionResult.Prediction.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();
itemDef_ = 0;
bitField0_ = (bitField0_ & ~0x00000001);
numCorrect_ = 0;
bitField0_ = (bitField0_ & ~0x00000002);
numFails_ = 0;
bitField0_ = (bitField0_ & ~0x00000004);
result_ = skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_PredictionResult.Prediction.EResult.k_eResult_ItemGranted;
bitField0_ = (bitField0_ & ~0x00000008);
grantedItemDefs_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000010);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return skadistats.clarity.wire.common.proto.DotaUserMessages.internal_static_CDOTAUserMsg_PredictionResult_Prediction_descriptor;
}
public skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_PredictionResult.Prediction getDefaultInstanceForType() {
return skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_PredictionResult.Prediction.getDefaultInstance();
}
public skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_PredictionResult.Prediction build() {
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_PredictionResult.Prediction result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_PredictionResult.Prediction buildPartial() {
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_PredictionResult.Prediction result = new skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_PredictionResult.Prediction(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.itemDef_ = itemDef_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.numCorrect_ = numCorrect_;
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
to_bitField0_ |= 0x00000004;
}
result.numFails_ = numFails_;
if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
to_bitField0_ |= 0x00000008;
}
result.result_ = result_;
if (((bitField0_ & 0x00000010) == 0x00000010)) {
grantedItemDefs_ = java.util.Collections.unmodifiableList(grantedItemDefs_);
bitField0_ = (bitField0_ & ~0x00000010);
}
result.grantedItemDefs_ = grantedItemDefs_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_PredictionResult.Prediction) {
return mergeFrom((skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_PredictionResult.Prediction)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_PredictionResult.Prediction other) {
if (other == skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_PredictionResult.Prediction.getDefaultInstance()) return this;
if (other.hasItemDef()) {
setItemDef(other.getItemDef());
}
if (other.hasNumCorrect()) {
setNumCorrect(other.getNumCorrect());
}
if (other.hasNumFails()) {
setNumFails(other.getNumFails());
}
if (other.hasResult()) {
setResult(other.getResult());
}
if (!other.grantedItemDefs_.isEmpty()) {
if (grantedItemDefs_.isEmpty()) {
grantedItemDefs_ = other.grantedItemDefs_;
bitField0_ = (bitField0_ & ~0x00000010);
} else {
ensureGrantedItemDefsIsMutable();
grantedItemDefs_.addAll(other.grantedItemDefs_);
}
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_PredictionResult.Prediction parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_PredictionResult.Prediction) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private int itemDef_ ;
/**
* optional uint32 item_def = 1;
*/
public boolean hasItemDef() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional uint32 item_def = 1;
*/
public int getItemDef() {
return itemDef_;
}
/**
* optional uint32 item_def = 1;
*/
public Builder setItemDef(int value) {
bitField0_ |= 0x00000001;
itemDef_ = value;
onChanged();
return this;
}
/**
* optional uint32 item_def = 1;
*/
public Builder clearItemDef() {
bitField0_ = (bitField0_ & ~0x00000001);
itemDef_ = 0;
onChanged();
return this;
}
private int numCorrect_ ;
/**
* optional uint32 num_correct = 2;
*/
public boolean hasNumCorrect() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional uint32 num_correct = 2;
*/
public int getNumCorrect() {
return numCorrect_;
}
/**
* optional uint32 num_correct = 2;
*/
public Builder setNumCorrect(int value) {
bitField0_ |= 0x00000002;
numCorrect_ = value;
onChanged();
return this;
}
/**
* optional uint32 num_correct = 2;
*/
public Builder clearNumCorrect() {
bitField0_ = (bitField0_ & ~0x00000002);
numCorrect_ = 0;
onChanged();
return this;
}
private int numFails_ ;
/**
* optional uint32 num_fails = 3;
*/
public boolean hasNumFails() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional uint32 num_fails = 3;
*/
public int getNumFails() {
return numFails_;
}
/**
* optional uint32 num_fails = 3;
*/
public Builder setNumFails(int value) {
bitField0_ |= 0x00000004;
numFails_ = value;
onChanged();
return this;
}
/**
* optional uint32 num_fails = 3;
*/
public Builder clearNumFails() {
bitField0_ = (bitField0_ & ~0x00000004);
numFails_ = 0;
onChanged();
return this;
}
private skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_PredictionResult.Prediction.EResult result_ = skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_PredictionResult.Prediction.EResult.k_eResult_ItemGranted;
/**
* optional .CDOTAUserMsg_PredictionResult.Prediction.EResult result = 4 [default = k_eResult_ItemGranted];
*/
public boolean hasResult() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* optional .CDOTAUserMsg_PredictionResult.Prediction.EResult result = 4 [default = k_eResult_ItemGranted];
*/
public skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_PredictionResult.Prediction.EResult getResult() {
return result_;
}
/**
* optional .CDOTAUserMsg_PredictionResult.Prediction.EResult result = 4 [default = k_eResult_ItemGranted];
*/
public Builder setResult(skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_PredictionResult.Prediction.EResult value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000008;
result_ = value;
onChanged();
return this;
}
/**
* optional .CDOTAUserMsg_PredictionResult.Prediction.EResult result = 4 [default = k_eResult_ItemGranted];
*/
public Builder clearResult() {
bitField0_ = (bitField0_ & ~0x00000008);
result_ = skadistats.clarity.wire.common.proto.DotaUserMessages.CDOTAUserMsg_PredictionResult.Prediction.EResult.k_eResult_ItemGranted;
onChanged();
return this;
}
private java.util.List grantedItemDefs_ = java.util.Collections.emptyList();
private void ensureGrantedItemDefsIsMutable() {
if (!((bitField0_ & 0x00000010) == 0x00000010)) {
grantedItemDefs_ = new java.util.ArrayList