Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
com.dota2.proto.DotaUsermessages Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: dota_usermessages.proto
package com.dota2.proto;
public final class DotaUsermessages {
private DotaUsermessages() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistry registry) {
}
/**
* Protobuf enum {@code EDotaUserMessages}
*/
public enum EDotaUserMessages
implements com.google.protobuf.ProtocolMessageEnum {
/**
* DOTA_UM_AddUnitToSelection = 64;
*/
DOTA_UM_AddUnitToSelection(0, 64),
/**
* DOTA_UM_AIDebugLine = 65;
*/
DOTA_UM_AIDebugLine(1, 65),
/**
* DOTA_UM_ChatEvent = 66;
*/
DOTA_UM_ChatEvent(2, 66),
/**
* DOTA_UM_CombatHeroPositions = 67;
*/
DOTA_UM_CombatHeroPositions(3, 67),
/**
* DOTA_UM_CombatLogData = 68;
*/
DOTA_UM_CombatLogData(4, 68),
/**
* DOTA_UM_CombatLogShowDeath = 70;
*/
DOTA_UM_CombatLogShowDeath(5, 70),
/**
* DOTA_UM_CreateLinearProjectile = 71;
*/
DOTA_UM_CreateLinearProjectile(6, 71),
/**
* DOTA_UM_DestroyLinearProjectile = 72;
*/
DOTA_UM_DestroyLinearProjectile(7, 72),
/**
* DOTA_UM_DodgeTrackingProjectiles = 73;
*/
DOTA_UM_DodgeTrackingProjectiles(8, 73),
/**
* DOTA_UM_GlobalLightColor = 74;
*/
DOTA_UM_GlobalLightColor(9, 74),
/**
* DOTA_UM_GlobalLightDirection = 75;
*/
DOTA_UM_GlobalLightDirection(10, 75),
/**
* DOTA_UM_InvalidCommand = 76;
*/
DOTA_UM_InvalidCommand(11, 76),
/**
* DOTA_UM_LocationPing = 77;
*/
DOTA_UM_LocationPing(12, 77),
/**
* DOTA_UM_MapLine = 78;
*/
DOTA_UM_MapLine(13, 78),
/**
* DOTA_UM_MiniKillCamInfo = 79;
*/
DOTA_UM_MiniKillCamInfo(14, 79),
/**
* DOTA_UM_MinimapDebugPoint = 80;
*/
DOTA_UM_MinimapDebugPoint(15, 80),
/**
* DOTA_UM_MinimapEvent = 81;
*/
DOTA_UM_MinimapEvent(16, 81),
/**
* DOTA_UM_NevermoreRequiem = 82;
*/
DOTA_UM_NevermoreRequiem(17, 82),
/**
* DOTA_UM_OverheadEvent = 83;
*/
DOTA_UM_OverheadEvent(18, 83),
/**
* DOTA_UM_SetNextAutobuyItem = 84;
*/
DOTA_UM_SetNextAutobuyItem(19, 84),
/**
* DOTA_UM_SharedCooldown = 85;
*/
DOTA_UM_SharedCooldown(20, 85),
/**
* DOTA_UM_SpectatorPlayerClick = 86;
*/
DOTA_UM_SpectatorPlayerClick(21, 86),
/**
* DOTA_UM_TutorialTipInfo = 87;
*/
DOTA_UM_TutorialTipInfo(22, 87),
/**
* DOTA_UM_UnitEvent = 88;
*/
DOTA_UM_UnitEvent(23, 88),
/**
* DOTA_UM_ParticleManager = 89;
*/
DOTA_UM_ParticleManager(24, 89),
/**
* DOTA_UM_BotChat = 90;
*/
DOTA_UM_BotChat(25, 90),
/**
* DOTA_UM_HudError = 91;
*/
DOTA_UM_HudError(26, 91),
/**
* DOTA_UM_ItemPurchased = 92;
*/
DOTA_UM_ItemPurchased(27, 92),
/**
* DOTA_UM_Ping = 93;
*/
DOTA_UM_Ping(28, 93),
/**
* DOTA_UM_ItemFound = 94;
*/
DOTA_UM_ItemFound(29, 94),
/**
* DOTA_UM_CharacterSpeakConcept = 95;
*/
DOTA_UM_CharacterSpeakConcept(30, 95),
/**
* DOTA_UM_SwapVerify = 96;
*/
DOTA_UM_SwapVerify(31, 96),
/**
* DOTA_UM_WorldLine = 97;
*/
DOTA_UM_WorldLine(32, 97),
/**
* DOTA_UM_TournamentDrop = 98;
*/
DOTA_UM_TournamentDrop(33, 98),
/**
* DOTA_UM_ItemAlert = 99;
*/
DOTA_UM_ItemAlert(34, 99),
/**
* DOTA_UM_HalloweenDrops = 100;
*/
DOTA_UM_HalloweenDrops(35, 100),
/**
* DOTA_UM_ChatWheel = 101;
*/
DOTA_UM_ChatWheel(36, 101),
/**
* DOTA_UM_ReceivedXmasGift = 102;
*/
DOTA_UM_ReceivedXmasGift(37, 102),
/**
* DOTA_UM_UpdateSharedContent = 103;
*/
DOTA_UM_UpdateSharedContent(38, 103),
/**
* DOTA_UM_TutorialRequestExp = 104;
*/
DOTA_UM_TutorialRequestExp(39, 104),
/**
* DOTA_UM_TutorialPingMinimap = 105;
*/
DOTA_UM_TutorialPingMinimap(40, 105),
/**
* DOTA_UM_GamerulesStateChanged = 106;
*/
DOTA_UM_GamerulesStateChanged(41, 106),
/**
* DOTA_UM_ShowSurvey = 107;
*/
DOTA_UM_ShowSurvey(42, 107),
/**
* DOTA_UM_TutorialFade = 108;
*/
DOTA_UM_TutorialFade(43, 108),
/**
* DOTA_UM_AddQuestLogEntry = 109;
*/
DOTA_UM_AddQuestLogEntry(44, 109),
/**
* DOTA_UM_SendStatPopup = 110;
*/
DOTA_UM_SendStatPopup(45, 110),
/**
* DOTA_UM_TutorialFinish = 111;
*/
DOTA_UM_TutorialFinish(46, 111),
/**
* DOTA_UM_SendRoshanPopup = 112;
*/
DOTA_UM_SendRoshanPopup(47, 112),
/**
* DOTA_UM_SendGenericToolTip = 113;
*/
DOTA_UM_SendGenericToolTip(48, 113),
/**
* DOTA_UM_SendFinalGold = 114;
*/
DOTA_UM_SendFinalGold(49, 114),
/**
* DOTA_UM_CustomMsg = 115;
*/
DOTA_UM_CustomMsg(50, 115),
/**
* DOTA_UM_CoachHUDPing = 116;
*/
DOTA_UM_CoachHUDPing(51, 116),
/**
* DOTA_UM_ClientLoadGridNav = 117;
*/
DOTA_UM_ClientLoadGridNav(52, 117),
/**
* DOTA_UM_AbilityPing = 118;
*/
DOTA_UM_AbilityPing(53, 118),
/**
* DOTA_UM_ShowGenericPopup = 119;
*/
DOTA_UM_ShowGenericPopup(54, 119),
/**
* DOTA_UM_VoteStart = 120;
*/
DOTA_UM_VoteStart(55, 120),
/**
* DOTA_UM_VoteUpdate = 121;
*/
DOTA_UM_VoteUpdate(56, 121),
/**
* DOTA_UM_VoteEnd = 122;
*/
DOTA_UM_VoteEnd(57, 122),
/**
* DOTA_UM_BoosterState = 123;
*/
DOTA_UM_BoosterState(58, 123),
/**
* DOTA_UM_WillPurchaseAlert = 124;
*/
DOTA_UM_WillPurchaseAlert(59, 124),
/**
* DOTA_UM_TutorialMinimapPosition = 125;
*/
DOTA_UM_TutorialMinimapPosition(60, 125),
/**
* DOTA_UM_PlayerMMR = 126;
*/
DOTA_UM_PlayerMMR(61, 126),
/**
* DOTA_UM_AbilitySteal = 127;
*/
DOTA_UM_AbilitySteal(62, 127),
/**
* DOTA_UM_CourierKilledAlert = 128;
*/
DOTA_UM_CourierKilledAlert(63, 128),
/**
* DOTA_UM_EnemyItemAlert = 129;
*/
DOTA_UM_EnemyItemAlert(64, 129),
/**
* DOTA_UM_StatsMatchDetails = 130;
*/
DOTA_UM_StatsMatchDetails(65, 130),
/**
* DOTA_UM_MiniTaunt = 131;
*/
DOTA_UM_MiniTaunt(66, 131),
/**
* DOTA_UM_BuyBackStateAlert = 132;
*/
DOTA_UM_BuyBackStateAlert(67, 132),
/**
* DOTA_UM_QuickBuyAlert = 133;
*/
DOTA_UM_QuickBuyAlert(68, 133),
/**
* DOTA_UM_StatsHeroDetails = 134;
*/
DOTA_UM_StatsHeroDetails(69, 134),
;
/**
* DOTA_UM_AddUnitToSelection = 64;
*/
public static final int DOTA_UM_AddUnitToSelection_VALUE = 64;
/**
* DOTA_UM_AIDebugLine = 65;
*/
public static final int DOTA_UM_AIDebugLine_VALUE = 65;
/**
* DOTA_UM_ChatEvent = 66;
*/
public static final int DOTA_UM_ChatEvent_VALUE = 66;
/**
* DOTA_UM_CombatHeroPositions = 67;
*/
public static final int DOTA_UM_CombatHeroPositions_VALUE = 67;
/**
* DOTA_UM_CombatLogData = 68;
*/
public static final int DOTA_UM_CombatLogData_VALUE = 68;
/**
* DOTA_UM_CombatLogShowDeath = 70;
*/
public static final int DOTA_UM_CombatLogShowDeath_VALUE = 70;
/**
* DOTA_UM_CreateLinearProjectile = 71;
*/
public static final int DOTA_UM_CreateLinearProjectile_VALUE = 71;
/**
* DOTA_UM_DestroyLinearProjectile = 72;
*/
public static final int DOTA_UM_DestroyLinearProjectile_VALUE = 72;
/**
* DOTA_UM_DodgeTrackingProjectiles = 73;
*/
public static final int DOTA_UM_DodgeTrackingProjectiles_VALUE = 73;
/**
* DOTA_UM_GlobalLightColor = 74;
*/
public static final int DOTA_UM_GlobalLightColor_VALUE = 74;
/**
* DOTA_UM_GlobalLightDirection = 75;
*/
public static final int DOTA_UM_GlobalLightDirection_VALUE = 75;
/**
* DOTA_UM_InvalidCommand = 76;
*/
public static final int DOTA_UM_InvalidCommand_VALUE = 76;
/**
* DOTA_UM_LocationPing = 77;
*/
public static final int DOTA_UM_LocationPing_VALUE = 77;
/**
* DOTA_UM_MapLine = 78;
*/
public static final int DOTA_UM_MapLine_VALUE = 78;
/**
* DOTA_UM_MiniKillCamInfo = 79;
*/
public static final int DOTA_UM_MiniKillCamInfo_VALUE = 79;
/**
* DOTA_UM_MinimapDebugPoint = 80;
*/
public static final int DOTA_UM_MinimapDebugPoint_VALUE = 80;
/**
* DOTA_UM_MinimapEvent = 81;
*/
public static final int DOTA_UM_MinimapEvent_VALUE = 81;
/**
* DOTA_UM_NevermoreRequiem = 82;
*/
public static final int DOTA_UM_NevermoreRequiem_VALUE = 82;
/**
* DOTA_UM_OverheadEvent = 83;
*/
public static final int DOTA_UM_OverheadEvent_VALUE = 83;
/**
* DOTA_UM_SetNextAutobuyItem = 84;
*/
public static final int DOTA_UM_SetNextAutobuyItem_VALUE = 84;
/**
* DOTA_UM_SharedCooldown = 85;
*/
public static final int DOTA_UM_SharedCooldown_VALUE = 85;
/**
* DOTA_UM_SpectatorPlayerClick = 86;
*/
public static final int DOTA_UM_SpectatorPlayerClick_VALUE = 86;
/**
* DOTA_UM_TutorialTipInfo = 87;
*/
public static final int DOTA_UM_TutorialTipInfo_VALUE = 87;
/**
* DOTA_UM_UnitEvent = 88;
*/
public static final int DOTA_UM_UnitEvent_VALUE = 88;
/**
* DOTA_UM_ParticleManager = 89;
*/
public static final int DOTA_UM_ParticleManager_VALUE = 89;
/**
* DOTA_UM_BotChat = 90;
*/
public static final int DOTA_UM_BotChat_VALUE = 90;
/**
* DOTA_UM_HudError = 91;
*/
public static final int DOTA_UM_HudError_VALUE = 91;
/**
* DOTA_UM_ItemPurchased = 92;
*/
public static final int DOTA_UM_ItemPurchased_VALUE = 92;
/**
* DOTA_UM_Ping = 93;
*/
public static final int DOTA_UM_Ping_VALUE = 93;
/**
* DOTA_UM_ItemFound = 94;
*/
public static final int DOTA_UM_ItemFound_VALUE = 94;
/**
* DOTA_UM_CharacterSpeakConcept = 95;
*/
public static final int DOTA_UM_CharacterSpeakConcept_VALUE = 95;
/**
* DOTA_UM_SwapVerify = 96;
*/
public static final int DOTA_UM_SwapVerify_VALUE = 96;
/**
* DOTA_UM_WorldLine = 97;
*/
public static final int DOTA_UM_WorldLine_VALUE = 97;
/**
* DOTA_UM_TournamentDrop = 98;
*/
public static final int DOTA_UM_TournamentDrop_VALUE = 98;
/**
* DOTA_UM_ItemAlert = 99;
*/
public static final int DOTA_UM_ItemAlert_VALUE = 99;
/**
* DOTA_UM_HalloweenDrops = 100;
*/
public static final int DOTA_UM_HalloweenDrops_VALUE = 100;
/**
* DOTA_UM_ChatWheel = 101;
*/
public static final int DOTA_UM_ChatWheel_VALUE = 101;
/**
* DOTA_UM_ReceivedXmasGift = 102;
*/
public static final int DOTA_UM_ReceivedXmasGift_VALUE = 102;
/**
* DOTA_UM_UpdateSharedContent = 103;
*/
public static final int DOTA_UM_UpdateSharedContent_VALUE = 103;
/**
* DOTA_UM_TutorialRequestExp = 104;
*/
public static final int DOTA_UM_TutorialRequestExp_VALUE = 104;
/**
* DOTA_UM_TutorialPingMinimap = 105;
*/
public static final int DOTA_UM_TutorialPingMinimap_VALUE = 105;
/**
* DOTA_UM_GamerulesStateChanged = 106;
*/
public static final int DOTA_UM_GamerulesStateChanged_VALUE = 106;
/**
* DOTA_UM_ShowSurvey = 107;
*/
public static final int DOTA_UM_ShowSurvey_VALUE = 107;
/**
* DOTA_UM_TutorialFade = 108;
*/
public static final int DOTA_UM_TutorialFade_VALUE = 108;
/**
* DOTA_UM_AddQuestLogEntry = 109;
*/
public static final int DOTA_UM_AddQuestLogEntry_VALUE = 109;
/**
* DOTA_UM_SendStatPopup = 110;
*/
public static final int DOTA_UM_SendStatPopup_VALUE = 110;
/**
* DOTA_UM_TutorialFinish = 111;
*/
public static final int DOTA_UM_TutorialFinish_VALUE = 111;
/**
* DOTA_UM_SendRoshanPopup = 112;
*/
public static final int DOTA_UM_SendRoshanPopup_VALUE = 112;
/**
* DOTA_UM_SendGenericToolTip = 113;
*/
public static final int DOTA_UM_SendGenericToolTip_VALUE = 113;
/**
* DOTA_UM_SendFinalGold = 114;
*/
public static final int DOTA_UM_SendFinalGold_VALUE = 114;
/**
* DOTA_UM_CustomMsg = 115;
*/
public static final int DOTA_UM_CustomMsg_VALUE = 115;
/**
* DOTA_UM_CoachHUDPing = 116;
*/
public static final int DOTA_UM_CoachHUDPing_VALUE = 116;
/**
* DOTA_UM_ClientLoadGridNav = 117;
*/
public static final int DOTA_UM_ClientLoadGridNav_VALUE = 117;
/**
* DOTA_UM_AbilityPing = 118;
*/
public static final int DOTA_UM_AbilityPing_VALUE = 118;
/**
* DOTA_UM_ShowGenericPopup = 119;
*/
public static final int DOTA_UM_ShowGenericPopup_VALUE = 119;
/**
* DOTA_UM_VoteStart = 120;
*/
public static final int DOTA_UM_VoteStart_VALUE = 120;
/**
* DOTA_UM_VoteUpdate = 121;
*/
public static final int DOTA_UM_VoteUpdate_VALUE = 121;
/**
* DOTA_UM_VoteEnd = 122;
*/
public static final int DOTA_UM_VoteEnd_VALUE = 122;
/**
* DOTA_UM_BoosterState = 123;
*/
public static final int DOTA_UM_BoosterState_VALUE = 123;
/**
* DOTA_UM_WillPurchaseAlert = 124;
*/
public static final int DOTA_UM_WillPurchaseAlert_VALUE = 124;
/**
* DOTA_UM_TutorialMinimapPosition = 125;
*/
public static final int DOTA_UM_TutorialMinimapPosition_VALUE = 125;
/**
* DOTA_UM_PlayerMMR = 126;
*/
public static final int DOTA_UM_PlayerMMR_VALUE = 126;
/**
* DOTA_UM_AbilitySteal = 127;
*/
public static final int DOTA_UM_AbilitySteal_VALUE = 127;
/**
* DOTA_UM_CourierKilledAlert = 128;
*/
public static final int DOTA_UM_CourierKilledAlert_VALUE = 128;
/**
* DOTA_UM_EnemyItemAlert = 129;
*/
public static final int DOTA_UM_EnemyItemAlert_VALUE = 129;
/**
* DOTA_UM_StatsMatchDetails = 130;
*/
public static final int DOTA_UM_StatsMatchDetails_VALUE = 130;
/**
* DOTA_UM_MiniTaunt = 131;
*/
public static final int DOTA_UM_MiniTaunt_VALUE = 131;
/**
* DOTA_UM_BuyBackStateAlert = 132;
*/
public static final int DOTA_UM_BuyBackStateAlert_VALUE = 132;
/**
* DOTA_UM_QuickBuyAlert = 133;
*/
public static final int DOTA_UM_QuickBuyAlert_VALUE = 133;
/**
* DOTA_UM_StatsHeroDetails = 134;
*/
public static final int DOTA_UM_StatsHeroDetails_VALUE = 134;
public final int getNumber() { return value; }
public static EDotaUserMessages valueOf(int value) {
switch (value) {
case 64: return DOTA_UM_AddUnitToSelection;
case 65: return DOTA_UM_AIDebugLine;
case 66: return DOTA_UM_ChatEvent;
case 67: return DOTA_UM_CombatHeroPositions;
case 68: return DOTA_UM_CombatLogData;
case 70: return DOTA_UM_CombatLogShowDeath;
case 71: return DOTA_UM_CreateLinearProjectile;
case 72: return DOTA_UM_DestroyLinearProjectile;
case 73: return DOTA_UM_DodgeTrackingProjectiles;
case 74: return DOTA_UM_GlobalLightColor;
case 75: return DOTA_UM_GlobalLightDirection;
case 76: return DOTA_UM_InvalidCommand;
case 77: return DOTA_UM_LocationPing;
case 78: return DOTA_UM_MapLine;
case 79: return DOTA_UM_MiniKillCamInfo;
case 80: return DOTA_UM_MinimapDebugPoint;
case 81: return DOTA_UM_MinimapEvent;
case 82: return DOTA_UM_NevermoreRequiem;
case 83: return DOTA_UM_OverheadEvent;
case 84: return DOTA_UM_SetNextAutobuyItem;
case 85: return DOTA_UM_SharedCooldown;
case 86: return DOTA_UM_SpectatorPlayerClick;
case 87: return DOTA_UM_TutorialTipInfo;
case 88: return DOTA_UM_UnitEvent;
case 89: return DOTA_UM_ParticleManager;
case 90: return DOTA_UM_BotChat;
case 91: return DOTA_UM_HudError;
case 92: return DOTA_UM_ItemPurchased;
case 93: return DOTA_UM_Ping;
case 94: return DOTA_UM_ItemFound;
case 95: return DOTA_UM_CharacterSpeakConcept;
case 96: return DOTA_UM_SwapVerify;
case 97: return DOTA_UM_WorldLine;
case 98: return DOTA_UM_TournamentDrop;
case 99: return DOTA_UM_ItemAlert;
case 100: return DOTA_UM_HalloweenDrops;
case 101: return DOTA_UM_ChatWheel;
case 102: return DOTA_UM_ReceivedXmasGift;
case 103: return DOTA_UM_UpdateSharedContent;
case 104: return DOTA_UM_TutorialRequestExp;
case 105: return DOTA_UM_TutorialPingMinimap;
case 106: return DOTA_UM_GamerulesStateChanged;
case 107: return DOTA_UM_ShowSurvey;
case 108: return DOTA_UM_TutorialFade;
case 109: return DOTA_UM_AddQuestLogEntry;
case 110: return DOTA_UM_SendStatPopup;
case 111: return DOTA_UM_TutorialFinish;
case 112: return DOTA_UM_SendRoshanPopup;
case 113: return DOTA_UM_SendGenericToolTip;
case 114: return DOTA_UM_SendFinalGold;
case 115: return DOTA_UM_CustomMsg;
case 116: return DOTA_UM_CoachHUDPing;
case 117: return DOTA_UM_ClientLoadGridNav;
case 118: return DOTA_UM_AbilityPing;
case 119: return DOTA_UM_ShowGenericPopup;
case 120: return DOTA_UM_VoteStart;
case 121: return DOTA_UM_VoteUpdate;
case 122: return DOTA_UM_VoteEnd;
case 123: return DOTA_UM_BoosterState;
case 124: return DOTA_UM_WillPurchaseAlert;
case 125: return DOTA_UM_TutorialMinimapPosition;
case 126: return DOTA_UM_PlayerMMR;
case 127: return DOTA_UM_AbilitySteal;
case 128: return DOTA_UM_CourierKilledAlert;
case 129: return DOTA_UM_EnemyItemAlert;
case 130: return DOTA_UM_StatsMatchDetails;
case 131: return DOTA_UM_MiniTaunt;
case 132: return DOTA_UM_BuyBackStateAlert;
case 133: return DOTA_UM_QuickBuyAlert;
case 134: return DOTA_UM_StatsHeroDetails;
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 EDotaUserMessages findValueByNumber(int number) {
return EDotaUserMessages.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 com.dota2.proto.DotaUsermessages.getDescriptor().getEnumTypes().get(0);
}
private static final EDotaUserMessages[] VALUES = values();
public static EDotaUserMessages 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 EDotaUserMessages(int index, int value) {
this.index = index;
this.value = value;
}
// @@protoc_insertion_point(enum_scope:EDotaUserMessages)
}
/**
* 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_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;
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;
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 com.dota2.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 com.dota2.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_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_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;
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;
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 com.dota2.proto.DotaUsermessages.getDescriptor().getEnumTypes().get(3);
}
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_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;
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;
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 com.dota2.proto.DotaUsermessages.getDescriptor().getEnumTypes().get(4);
}
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 DOTA_COMBATLOG_TYPES}
*/
public enum DOTA_COMBATLOG_TYPES
implements com.google.protobuf.ProtocolMessageEnum {
/**
* DOTA_COMBATLOG_DAMAGE = 0;
*/
DOTA_COMBATLOG_DAMAGE(0, 0),
/**
* DOTA_COMBATLOG_HEAL = 1;
*/
DOTA_COMBATLOG_HEAL(1, 1),
/**
* DOTA_COMBATLOG_MODIFIER_ADD = 2;
*/
DOTA_COMBATLOG_MODIFIER_ADD(2, 2),
/**
* DOTA_COMBATLOG_MODIFIER_REMOVE = 3;
*/
DOTA_COMBATLOG_MODIFIER_REMOVE(3, 3),
/**
* DOTA_COMBATLOG_DEATH = 4;
*/
DOTA_COMBATLOG_DEATH(4, 4),
/**
* DOTA_COMBATLOG_ABILITY = 5;
*/
DOTA_COMBATLOG_ABILITY(5, 5),
/**
* DOTA_COMBATLOG_ITEM = 6;
*/
DOTA_COMBATLOG_ITEM(6, 6),
/**
* DOTA_COMBATLOG_LOCATION = 7;
*/
DOTA_COMBATLOG_LOCATION(7, 7),
/**
* DOTA_COMBATLOG_GOLD = 8;
*/
DOTA_COMBATLOG_GOLD(8, 8),
/**
* DOTA_COMBATLOG_GAME_STATE = 9;
*/
DOTA_COMBATLOG_GAME_STATE(9, 9),
/**
* DOTA_COMBATLOG_XP = 10;
*/
DOTA_COMBATLOG_XP(10, 10),
/**
* DOTA_COMBATLOG_PURCHASE = 11;
*/
DOTA_COMBATLOG_PURCHASE(11, 11),
/**
* DOTA_COMBATLOG_BUYBACK = 12;
*/
DOTA_COMBATLOG_BUYBACK(12, 12),
/**
* DOTA_COMBATLOG_ABILITY_TRIGGER = 13;
*/
DOTA_COMBATLOG_ABILITY_TRIGGER(13, 13),
;
/**
* 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;
public final int getNumber() { return value; }
public static DOTA_COMBATLOG_TYPES valueOf(int value) {
switch (value) {
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;
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 com.dota2.proto.DotaUsermessages.getDescriptor().getEnumTypes().get(5);
}
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 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 com.dota2.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_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;
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;
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 com.dota2.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_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;
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;
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 com.dota2.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 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 com.dota2.proto.DotaUsermessages.getDescriptor().getEnumTypes().get(9);
}
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)
}
public interface CDOTAUserMsg_AIDebugLineOrBuilder
extends com.google.protobuf.MessageOrBuilder {
// optional string message = 1;
/**
* optional string message = 1;
*/
boolean hasMessage();
/**
* optional string message = 1;
*/
java.lang.String getMessage();
/**
* optional string message = 1;
*/
com.google.protobuf.ByteString
getMessageBytes();
}
/**
* Protobuf type {@code CDOTAUserMsg_AIDebugLine}
*/
public static final class CDOTAUserMsg_AIDebugLine extends
com.google.protobuf.GeneratedMessage
implements CDOTAUserMsg_AIDebugLineOrBuilder {
// Use CDOTAUserMsg_AIDebugLine.newBuilder() to construct.
private CDOTAUserMsg_AIDebugLine(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private CDOTAUserMsg_AIDebugLine(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final CDOTAUserMsg_AIDebugLine defaultInstance;
public static CDOTAUserMsg_AIDebugLine getDefaultInstance() {
return defaultInstance;
}
public CDOTAUserMsg_AIDebugLine 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_AIDebugLine(
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: {
bitField0_ |= 0x00000001;
message_ = input.readBytes();
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 com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_AIDebugLine_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_AIDebugLine_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_AIDebugLine.class, com.dota2.proto.DotaUsermessages.CDOTAUserMsg_AIDebugLine.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public CDOTAUserMsg_AIDebugLine parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new CDOTAUserMsg_AIDebugLine(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
// optional string message = 1;
public static final int MESSAGE_FIELD_NUMBER = 1;
private java.lang.Object message_;
/**
* optional string message = 1;
*/
public boolean hasMessage() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional string message = 1;
*/
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 = 1;
*/
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;
}
}
private void initFields() {
message_ = "";
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeBytes(1, getMessageBytes());
}
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
.computeBytesSize(1, getMessageBytes());
}
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 com.dota2.proto.DotaUsermessages.CDOTAUserMsg_AIDebugLine parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_AIDebugLine parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_AIDebugLine parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_AIDebugLine parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_AIDebugLine parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_AIDebugLine parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_AIDebugLine parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_AIDebugLine parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_AIDebugLine parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_AIDebugLine 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(com.dota2.proto.DotaUsermessages.CDOTAUserMsg_AIDebugLine 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_AIDebugLine}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder
implements com.dota2.proto.DotaUsermessages.CDOTAUserMsg_AIDebugLineOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_AIDebugLine_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_AIDebugLine_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_AIDebugLine.class, com.dota2.proto.DotaUsermessages.CDOTAUserMsg_AIDebugLine.Builder.class);
}
// Construct using com.dota2.proto.DotaUsermessages.CDOTAUserMsg_AIDebugLine.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();
message_ = "";
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_AIDebugLine_descriptor;
}
public com.dota2.proto.DotaUsermessages.CDOTAUserMsg_AIDebugLine getDefaultInstanceForType() {
return com.dota2.proto.DotaUsermessages.CDOTAUserMsg_AIDebugLine.getDefaultInstance();
}
public com.dota2.proto.DotaUsermessages.CDOTAUserMsg_AIDebugLine build() {
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_AIDebugLine result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.dota2.proto.DotaUsermessages.CDOTAUserMsg_AIDebugLine buildPartial() {
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_AIDebugLine result = new com.dota2.proto.DotaUsermessages.CDOTAUserMsg_AIDebugLine(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.message_ = message_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.dota2.proto.DotaUsermessages.CDOTAUserMsg_AIDebugLine) {
return mergeFrom((com.dota2.proto.DotaUsermessages.CDOTAUserMsg_AIDebugLine)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.dota2.proto.DotaUsermessages.CDOTAUserMsg_AIDebugLine other) {
if (other == com.dota2.proto.DotaUsermessages.CDOTAUserMsg_AIDebugLine.getDefaultInstance()) return this;
if (other.hasMessage()) {
bitField0_ |= 0x00000001;
message_ = other.message_;
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 {
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_AIDebugLine parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.dota2.proto.DotaUsermessages.CDOTAUserMsg_AIDebugLine) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// optional string message = 1;
private java.lang.Object message_ = "";
/**
* optional string message = 1;
*/
public boolean hasMessage() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional string message = 1;
*/
public java.lang.String getMessage() {
java.lang.Object ref = message_;
if (!(ref instanceof java.lang.String)) {
java.lang.String s = ((com.google.protobuf.ByteString) ref)
.toStringUtf8();
message_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string message = 1;
*/
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 = 1;
*/
public Builder setMessage(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
message_ = value;
onChanged();
return this;
}
/**
* optional string message = 1;
*/
public Builder clearMessage() {
bitField0_ = (bitField0_ & ~0x00000001);
message_ = getDefaultInstance().getMessage();
onChanged();
return this;
}
/**
* optional string message = 1;
*/
public Builder setMessageBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
message_ = value;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:CDOTAUserMsg_AIDebugLine)
}
static {
defaultInstance = new CDOTAUserMsg_AIDebugLine(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:CDOTAUserMsg_AIDebugLine)
}
public interface CDOTAUserMsg_PingOrBuilder
extends com.google.protobuf.MessageOrBuilder {
// optional string message = 1;
/**
* optional string message = 1;
*/
boolean hasMessage();
/**
* optional string message = 1;
*/
java.lang.String getMessage();
/**
* optional string message = 1;
*/
com.google.protobuf.ByteString
getMessageBytes();
}
/**
* Protobuf type {@code CDOTAUserMsg_Ping}
*/
public static final class CDOTAUserMsg_Ping extends
com.google.protobuf.GeneratedMessage
implements CDOTAUserMsg_PingOrBuilder {
// Use CDOTAUserMsg_Ping.newBuilder() to construct.
private CDOTAUserMsg_Ping(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private CDOTAUserMsg_Ping(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final CDOTAUserMsg_Ping defaultInstance;
public static CDOTAUserMsg_Ping getDefaultInstance() {
return defaultInstance;
}
public CDOTAUserMsg_Ping 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_Ping(
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: {
bitField0_ |= 0x00000001;
message_ = input.readBytes();
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 com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_Ping_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_Ping_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_Ping.class, com.dota2.proto.DotaUsermessages.CDOTAUserMsg_Ping.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public CDOTAUserMsg_Ping parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new CDOTAUserMsg_Ping(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
// optional string message = 1;
public static final int MESSAGE_FIELD_NUMBER = 1;
private java.lang.Object message_;
/**
* optional string message = 1;
*/
public boolean hasMessage() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional string message = 1;
*/
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 = 1;
*/
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;
}
}
private void initFields() {
message_ = "";
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeBytes(1, getMessageBytes());
}
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
.computeBytesSize(1, getMessageBytes());
}
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 com.dota2.proto.DotaUsermessages.CDOTAUserMsg_Ping parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_Ping parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_Ping parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_Ping parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_Ping parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_Ping parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_Ping parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_Ping parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_Ping parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_Ping 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(com.dota2.proto.DotaUsermessages.CDOTAUserMsg_Ping 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_Ping}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder
implements com.dota2.proto.DotaUsermessages.CDOTAUserMsg_PingOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_Ping_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_Ping_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_Ping.class, com.dota2.proto.DotaUsermessages.CDOTAUserMsg_Ping.Builder.class);
}
// Construct using com.dota2.proto.DotaUsermessages.CDOTAUserMsg_Ping.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();
message_ = "";
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_Ping_descriptor;
}
public com.dota2.proto.DotaUsermessages.CDOTAUserMsg_Ping getDefaultInstanceForType() {
return com.dota2.proto.DotaUsermessages.CDOTAUserMsg_Ping.getDefaultInstance();
}
public com.dota2.proto.DotaUsermessages.CDOTAUserMsg_Ping build() {
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_Ping result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.dota2.proto.DotaUsermessages.CDOTAUserMsg_Ping buildPartial() {
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_Ping result = new com.dota2.proto.DotaUsermessages.CDOTAUserMsg_Ping(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.message_ = message_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.dota2.proto.DotaUsermessages.CDOTAUserMsg_Ping) {
return mergeFrom((com.dota2.proto.DotaUsermessages.CDOTAUserMsg_Ping)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.dota2.proto.DotaUsermessages.CDOTAUserMsg_Ping other) {
if (other == com.dota2.proto.DotaUsermessages.CDOTAUserMsg_Ping.getDefaultInstance()) return this;
if (other.hasMessage()) {
bitField0_ |= 0x00000001;
message_ = other.message_;
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 {
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_Ping parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.dota2.proto.DotaUsermessages.CDOTAUserMsg_Ping) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// optional string message = 1;
private java.lang.Object message_ = "";
/**
* optional string message = 1;
*/
public boolean hasMessage() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional string message = 1;
*/
public java.lang.String getMessage() {
java.lang.Object ref = message_;
if (!(ref instanceof java.lang.String)) {
java.lang.String s = ((com.google.protobuf.ByteString) ref)
.toStringUtf8();
message_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string message = 1;
*/
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 = 1;
*/
public Builder setMessage(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
message_ = value;
onChanged();
return this;
}
/**
* optional string message = 1;
*/
public Builder clearMessage() {
bitField0_ = (bitField0_ & ~0x00000001);
message_ = getDefaultInstance().getMessage();
onChanged();
return this;
}
/**
* optional string message = 1;
*/
public Builder setMessageBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
message_ = value;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:CDOTAUserMsg_Ping)
}
static {
defaultInstance = new CDOTAUserMsg_Ping(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:CDOTAUserMsg_Ping)
}
public interface CDOTAUserMsg_SwapVerifyOrBuilder
extends com.google.protobuf.MessageOrBuilder {
// optional uint32 player_id = 1;
/**
* optional uint32 player_id = 1;
*/
boolean hasPlayerId();
/**
* optional uint32 player_id = 1;
*/
int getPlayerId();
}
/**
* Protobuf type {@code CDOTAUserMsg_SwapVerify}
*/
public static final class CDOTAUserMsg_SwapVerify extends
com.google.protobuf.GeneratedMessage
implements CDOTAUserMsg_SwapVerifyOrBuilder {
// Use CDOTAUserMsg_SwapVerify.newBuilder() to construct.
private CDOTAUserMsg_SwapVerify(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private CDOTAUserMsg_SwapVerify(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final CDOTAUserMsg_SwapVerify defaultInstance;
public static CDOTAUserMsg_SwapVerify getDefaultInstance() {
return defaultInstance;
}
public CDOTAUserMsg_SwapVerify 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_SwapVerify(
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;
}
}
}
} 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 com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_SwapVerify_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_SwapVerify_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_SwapVerify.class, com.dota2.proto.DotaUsermessages.CDOTAUserMsg_SwapVerify.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public CDOTAUserMsg_SwapVerify parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new CDOTAUserMsg_SwapVerify(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
// optional uint32 player_id = 1;
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_;
}
private void initFields() {
playerId_ = 0;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
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_);
}
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_);
}
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 com.dota2.proto.DotaUsermessages.CDOTAUserMsg_SwapVerify parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_SwapVerify parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_SwapVerify parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_SwapVerify parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_SwapVerify parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_SwapVerify parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_SwapVerify parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_SwapVerify parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_SwapVerify parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_SwapVerify 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(com.dota2.proto.DotaUsermessages.CDOTAUserMsg_SwapVerify 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_SwapVerify}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder
implements com.dota2.proto.DotaUsermessages.CDOTAUserMsg_SwapVerifyOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_SwapVerify_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_SwapVerify_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_SwapVerify.class, com.dota2.proto.DotaUsermessages.CDOTAUserMsg_SwapVerify.Builder.class);
}
// Construct using com.dota2.proto.DotaUsermessages.CDOTAUserMsg_SwapVerify.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);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_SwapVerify_descriptor;
}
public com.dota2.proto.DotaUsermessages.CDOTAUserMsg_SwapVerify getDefaultInstanceForType() {
return com.dota2.proto.DotaUsermessages.CDOTAUserMsg_SwapVerify.getDefaultInstance();
}
public com.dota2.proto.DotaUsermessages.CDOTAUserMsg_SwapVerify build() {
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_SwapVerify result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.dota2.proto.DotaUsermessages.CDOTAUserMsg_SwapVerify buildPartial() {
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_SwapVerify result = new com.dota2.proto.DotaUsermessages.CDOTAUserMsg_SwapVerify(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.playerId_ = playerId_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.dota2.proto.DotaUsermessages.CDOTAUserMsg_SwapVerify) {
return mergeFrom((com.dota2.proto.DotaUsermessages.CDOTAUserMsg_SwapVerify)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.dota2.proto.DotaUsermessages.CDOTAUserMsg_SwapVerify other) {
if (other == com.dota2.proto.DotaUsermessages.CDOTAUserMsg_SwapVerify.getDefaultInstance()) return this;
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 {
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_SwapVerify parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.dota2.proto.DotaUsermessages.CDOTAUserMsg_SwapVerify) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// optional uint32 player_id = 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_;
}
/**
* 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;
}
// @@protoc_insertion_point(builder_scope:CDOTAUserMsg_SwapVerify)
}
static {
defaultInstance = new CDOTAUserMsg_SwapVerify(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:CDOTAUserMsg_SwapVerify)
}
public interface CDOTAUserMsg_ChatEventOrBuilder
extends com.google.protobuf.MessageOrBuilder {
// optional .DOTA_CHAT_MESSAGE type = 1 [default = CHAT_MESSAGE_INVALID];
/**
* optional .DOTA_CHAT_MESSAGE type = 1 [default = CHAT_MESSAGE_INVALID];
*/
boolean hasType();
/**
* optional .DOTA_CHAT_MESSAGE type = 1 [default = CHAT_MESSAGE_INVALID];
*/
com.dota2.proto.DotaUsermessages.DOTA_CHAT_MESSAGE getType();
// optional uint32 value = 2;
/**
* optional uint32 value = 2;
*/
boolean hasValue();
/**
* optional uint32 value = 2;
*/
int getValue();
// optional sint32 playerid_1 = 3 [default = -1];
/**
* 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];
/**
* 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];
/**
* 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];
/**
* 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];
/**
* 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];
/**
* optional sint32 playerid_6 = 8 [default = -1];
*/
boolean hasPlayerid6();
/**
* optional sint32 playerid_6 = 8 [default = -1];
*/
int getPlayerid6();
}
/**
* Protobuf type {@code CDOTAUserMsg_ChatEvent}
*/
public static final class CDOTAUserMsg_ChatEvent extends
com.google.protobuf.GeneratedMessage
implements 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();
com.dota2.proto.DotaUsermessages.DOTA_CHAT_MESSAGE value = com.dota2.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;
}
}
}
} 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 com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_ChatEvent_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_ChatEvent_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_ChatEvent.class, com.dota2.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_;
// optional .DOTA_CHAT_MESSAGE type = 1 [default = CHAT_MESSAGE_INVALID];
public static final int TYPE_FIELD_NUMBER = 1;
private com.dota2.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 com.dota2.proto.DotaUsermessages.DOTA_CHAT_MESSAGE getType() {
return type_;
}
// optional uint32 value = 2;
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_;
}
// optional sint32 playerid_1 = 3 [default = -1];
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_;
}
// optional sint32 playerid_2 = 4 [default = -1];
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_;
}
// optional sint32 playerid_3 = 5 [default = -1];
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_;
}
// optional sint32 playerid_4 = 6 [default = -1];
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_;
}
// optional sint32 playerid_5 = 7 [default = -1];
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_;
}
// optional sint32 playerid_6 = 8 [default = -1];
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_;
}
private void initFields() {
type_ = com.dota2.proto.DotaUsermessages.DOTA_CHAT_MESSAGE.CHAT_MESSAGE_INVALID;
value_ = 0;
playerid1_ = -1;
playerid2_ = -1;
playerid3_ = -1;
playerid4_ = -1;
playerid5_ = -1;
playerid6_ = -1;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
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_);
}
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_);
}
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 com.dota2.proto.DotaUsermessages.CDOTAUserMsg_ChatEvent parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.dota2.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 com.dota2.proto.DotaUsermessages.CDOTAUserMsg_ChatEvent parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_ChatEvent parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_ChatEvent parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.dota2.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 com.dota2.proto.DotaUsermessages.CDOTAUserMsg_ChatEvent parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static com.dota2.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 com.dota2.proto.DotaUsermessages.CDOTAUserMsg_ChatEvent parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.dota2.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(com.dota2.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 com.dota2.proto.DotaUsermessages.CDOTAUserMsg_ChatEventOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_ChatEvent_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_ChatEvent_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_ChatEvent.class, com.dota2.proto.DotaUsermessages.CDOTAUserMsg_ChatEvent.Builder.class);
}
// Construct using com.dota2.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_ = com.dota2.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);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_ChatEvent_descriptor;
}
public com.dota2.proto.DotaUsermessages.CDOTAUserMsg_ChatEvent getDefaultInstanceForType() {
return com.dota2.proto.DotaUsermessages.CDOTAUserMsg_ChatEvent.getDefaultInstance();
}
public com.dota2.proto.DotaUsermessages.CDOTAUserMsg_ChatEvent build() {
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_ChatEvent result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.dota2.proto.DotaUsermessages.CDOTAUserMsg_ChatEvent buildPartial() {
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_ChatEvent result = new com.dota2.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_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.dota2.proto.DotaUsermessages.CDOTAUserMsg_ChatEvent) {
return mergeFrom((com.dota2.proto.DotaUsermessages.CDOTAUserMsg_ChatEvent)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.dota2.proto.DotaUsermessages.CDOTAUserMsg_ChatEvent other) {
if (other == com.dota2.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());
}
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 {
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_ChatEvent parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.dota2.proto.DotaUsermessages.CDOTAUserMsg_ChatEvent) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// optional .DOTA_CHAT_MESSAGE type = 1 [default = CHAT_MESSAGE_INVALID];
private com.dota2.proto.DotaUsermessages.DOTA_CHAT_MESSAGE type_ = com.dota2.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 com.dota2.proto.DotaUsermessages.DOTA_CHAT_MESSAGE getType() {
return type_;
}
/**
* optional .DOTA_CHAT_MESSAGE type = 1 [default = CHAT_MESSAGE_INVALID];
*/
public Builder setType(com.dota2.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_ = com.dota2.proto.DotaUsermessages.DOTA_CHAT_MESSAGE.CHAT_MESSAGE_INVALID;
onChanged();
return this;
}
// optional uint32 value = 2;
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;
}
// optional sint32 playerid_1 = 3 [default = -1];
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;
}
// optional sint32 playerid_2 = 4 [default = -1];
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;
}
// optional sint32 playerid_3 = 5 [default = -1];
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;
}
// optional sint32 playerid_4 = 6 [default = -1];
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;
}
// optional sint32 playerid_5 = 7 [default = -1];
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;
}
// optional sint32 playerid_6 = 8 [default = -1];
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;
}
// @@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_CombatLogShowDeathOrBuilder
extends com.google.protobuf.MessageOrBuilder {
}
/**
* Protobuf type {@code CDOTAUserMsg_CombatLogShowDeath}
*/
public static final class CDOTAUserMsg_CombatLogShowDeath extends
com.google.protobuf.GeneratedMessage
implements CDOTAUserMsg_CombatLogShowDeathOrBuilder {
// Use CDOTAUserMsg_CombatLogShowDeath.newBuilder() to construct.
private CDOTAUserMsg_CombatLogShowDeath(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private CDOTAUserMsg_CombatLogShowDeath(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final CDOTAUserMsg_CombatLogShowDeath defaultInstance;
public static CDOTAUserMsg_CombatLogShowDeath getDefaultInstance() {
return defaultInstance;
}
public CDOTAUserMsg_CombatLogShowDeath 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_CombatLogShowDeath(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
initFields();
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;
}
}
}
} 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 com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_CombatLogShowDeath_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_CombatLogShowDeath_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_CombatLogShowDeath.class, com.dota2.proto.DotaUsermessages.CDOTAUserMsg_CombatLogShowDeath.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public CDOTAUserMsg_CombatLogShowDeath parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new CDOTAUserMsg_CombatLogShowDeath(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private void initFields() {
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
getUnknownFields().writeTo(output);
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
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 com.dota2.proto.DotaUsermessages.CDOTAUserMsg_CombatLogShowDeath parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_CombatLogShowDeath parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_CombatLogShowDeath parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_CombatLogShowDeath parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_CombatLogShowDeath parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_CombatLogShowDeath parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_CombatLogShowDeath parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_CombatLogShowDeath parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_CombatLogShowDeath parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_CombatLogShowDeath 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(com.dota2.proto.DotaUsermessages.CDOTAUserMsg_CombatLogShowDeath 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_CombatLogShowDeath}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder
implements com.dota2.proto.DotaUsermessages.CDOTAUserMsg_CombatLogShowDeathOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_CombatLogShowDeath_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_CombatLogShowDeath_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_CombatLogShowDeath.class, com.dota2.proto.DotaUsermessages.CDOTAUserMsg_CombatLogShowDeath.Builder.class);
}
// Construct using com.dota2.proto.DotaUsermessages.CDOTAUserMsg_CombatLogShowDeath.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();
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_CombatLogShowDeath_descriptor;
}
public com.dota2.proto.DotaUsermessages.CDOTAUserMsg_CombatLogShowDeath getDefaultInstanceForType() {
return com.dota2.proto.DotaUsermessages.CDOTAUserMsg_CombatLogShowDeath.getDefaultInstance();
}
public com.dota2.proto.DotaUsermessages.CDOTAUserMsg_CombatLogShowDeath build() {
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_CombatLogShowDeath result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.dota2.proto.DotaUsermessages.CDOTAUserMsg_CombatLogShowDeath buildPartial() {
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_CombatLogShowDeath result = new com.dota2.proto.DotaUsermessages.CDOTAUserMsg_CombatLogShowDeath(this);
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.dota2.proto.DotaUsermessages.CDOTAUserMsg_CombatLogShowDeath) {
return mergeFrom((com.dota2.proto.DotaUsermessages.CDOTAUserMsg_CombatLogShowDeath)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.dota2.proto.DotaUsermessages.CDOTAUserMsg_CombatLogShowDeath other) {
if (other == com.dota2.proto.DotaUsermessages.CDOTAUserMsg_CombatLogShowDeath.getDefaultInstance()) return this;
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 {
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_CombatLogShowDeath parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.dota2.proto.DotaUsermessages.CDOTAUserMsg_CombatLogShowDeath) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
// @@protoc_insertion_point(builder_scope:CDOTAUserMsg_CombatLogShowDeath)
}
static {
defaultInstance = new CDOTAUserMsg_CombatLogShowDeath(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:CDOTAUserMsg_CombatLogShowDeath)
}
public interface CDOTAUserMsg_BotChatOrBuilder
extends com.google.protobuf.MessageOrBuilder {
// optional uint32 player_id = 1;
/**
* optional uint32 player_id = 1;
*/
boolean hasPlayerId();
/**
* optional uint32 player_id = 1;
*/
int getPlayerId();
// optional string format = 2;
/**
* 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;
/**
* 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;
/**
* optional string target = 4;
*/
boolean hasTarget();
/**
* optional string target = 4;
*/
java.lang.String getTarget();
/**
* optional string target = 4;
*/
com.google.protobuf.ByteString
getTargetBytes();
}
/**
* Protobuf type {@code CDOTAUserMsg_BotChat}
*/
public static final class CDOTAUserMsg_BotChat extends
com.google.protobuf.GeneratedMessage
implements 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: {
bitField0_ |= 0x00000002;
format_ = input.readBytes();
break;
}
case 26: {
bitField0_ |= 0x00000004;
message_ = input.readBytes();
break;
}
case 34: {
bitField0_ |= 0x00000008;
target_ = input.readBytes();
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 com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_BotChat_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_BotChat_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_BotChat.class, com.dota2.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_;
// optional uint32 player_id = 1;
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_;
}
// optional string format = 2;
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;
}
}
// optional string message = 3;
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;
}
}
// optional string target = 4;
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;
}
}
private void initFields() {
playerId_ = 0;
format_ = "";
message_ = "";
target_ = "";
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
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());
}
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());
}
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 com.dota2.proto.DotaUsermessages.CDOTAUserMsg_BotChat parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.dota2.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 com.dota2.proto.DotaUsermessages.CDOTAUserMsg_BotChat parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_BotChat parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_BotChat parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.dota2.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 com.dota2.proto.DotaUsermessages.CDOTAUserMsg_BotChat parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static com.dota2.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 com.dota2.proto.DotaUsermessages.CDOTAUserMsg_BotChat parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.dota2.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(com.dota2.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 com.dota2.proto.DotaUsermessages.CDOTAUserMsg_BotChatOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_BotChat_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_BotChat_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_BotChat.class, com.dota2.proto.DotaUsermessages.CDOTAUserMsg_BotChat.Builder.class);
}
// Construct using com.dota2.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);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_BotChat_descriptor;
}
public com.dota2.proto.DotaUsermessages.CDOTAUserMsg_BotChat getDefaultInstanceForType() {
return com.dota2.proto.DotaUsermessages.CDOTAUserMsg_BotChat.getDefaultInstance();
}
public com.dota2.proto.DotaUsermessages.CDOTAUserMsg_BotChat build() {
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_BotChat result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.dota2.proto.DotaUsermessages.CDOTAUserMsg_BotChat buildPartial() {
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_BotChat result = new com.dota2.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_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.dota2.proto.DotaUsermessages.CDOTAUserMsg_BotChat) {
return mergeFrom((com.dota2.proto.DotaUsermessages.CDOTAUserMsg_BotChat)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.dota2.proto.DotaUsermessages.CDOTAUserMsg_BotChat other) {
if (other == com.dota2.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();
}
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 {
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_BotChat parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.dota2.proto.DotaUsermessages.CDOTAUserMsg_BotChat) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// optional uint32 player_id = 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_;
}
/**
* 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;
}
// optional string format = 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)) {
java.lang.String s = ((com.google.protobuf.ByteString) ref)
.toStringUtf8();
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;
}
// optional string message = 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)) {
java.lang.String s = ((com.google.protobuf.ByteString) ref)
.toStringUtf8();
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;
}
// optional string target = 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)) {
java.lang.String s = ((com.google.protobuf.ByteString) ref)
.toStringUtf8();
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;
}
// @@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_CombatHeroPositionsOrBuilder
extends com.google.protobuf.MessageOrBuilder {
// optional uint32 index = 1;
/**
* optional uint32 index = 1;
*/
boolean hasIndex();
/**
* optional uint32 index = 1;
*/
int getIndex();
// optional int32 time = 2;
/**
* optional int32 time = 2;
*/
boolean hasTime();
/**
* optional int32 time = 2;
*/
int getTime();
// optional .CMsgVector2D world_pos = 3;
/**
* optional .CMsgVector2D world_pos = 3;
*/
boolean hasWorldPos();
/**
* optional .CMsgVector2D world_pos = 3;
*/
com.dota2.proto.Networkbasetypes.CMsgVector2D getWorldPos();
/**
* optional .CMsgVector2D world_pos = 3;
*/
com.dota2.proto.Networkbasetypes.CMsgVector2DOrBuilder getWorldPosOrBuilder();
// optional int32 health = 4;
/**
* optional int32 health = 4;
*/
boolean hasHealth();
/**
* optional int32 health = 4;
*/
int getHealth();
}
/**
* Protobuf type {@code CDOTAUserMsg_CombatHeroPositions}
*/
public static final class CDOTAUserMsg_CombatHeroPositions extends
com.google.protobuf.GeneratedMessage
implements CDOTAUserMsg_CombatHeroPositionsOrBuilder {
// Use CDOTAUserMsg_CombatHeroPositions.newBuilder() to construct.
private CDOTAUserMsg_CombatHeroPositions(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private CDOTAUserMsg_CombatHeroPositions(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final CDOTAUserMsg_CombatHeroPositions defaultInstance;
public static CDOTAUserMsg_CombatHeroPositions getDefaultInstance() {
return defaultInstance;
}
public CDOTAUserMsg_CombatHeroPositions 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_CombatHeroPositions(
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;
index_ = input.readUInt32();
break;
}
case 16: {
bitField0_ |= 0x00000002;
time_ = input.readInt32();
break;
}
case 26: {
com.dota2.proto.Networkbasetypes.CMsgVector2D.Builder subBuilder = null;
if (((bitField0_ & 0x00000004) == 0x00000004)) {
subBuilder = worldPos_.toBuilder();
}
worldPos_ = input.readMessage(com.dota2.proto.Networkbasetypes.CMsgVector2D.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(worldPos_);
worldPos_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000004;
break;
}
case 32: {
bitField0_ |= 0x00000008;
health_ = 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 com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_CombatHeroPositions_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_CombatHeroPositions_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_CombatHeroPositions.class, com.dota2.proto.DotaUsermessages.CDOTAUserMsg_CombatHeroPositions.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public CDOTAUserMsg_CombatHeroPositions parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new CDOTAUserMsg_CombatHeroPositions(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
// optional uint32 index = 1;
public static final int INDEX_FIELD_NUMBER = 1;
private int index_;
/**
* optional uint32 index = 1;
*/
public boolean hasIndex() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional uint32 index = 1;
*/
public int getIndex() {
return index_;
}
// optional int32 time = 2;
public static final int TIME_FIELD_NUMBER = 2;
private int time_;
/**
* optional int32 time = 2;
*/
public boolean hasTime() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional int32 time = 2;
*/
public int getTime() {
return time_;
}
// optional .CMsgVector2D world_pos = 3;
public static final int WORLD_POS_FIELD_NUMBER = 3;
private com.dota2.proto.Networkbasetypes.CMsgVector2D worldPos_;
/**
* optional .CMsgVector2D world_pos = 3;
*/
public boolean hasWorldPos() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional .CMsgVector2D world_pos = 3;
*/
public com.dota2.proto.Networkbasetypes.CMsgVector2D getWorldPos() {
return worldPos_;
}
/**
* optional .CMsgVector2D world_pos = 3;
*/
public com.dota2.proto.Networkbasetypes.CMsgVector2DOrBuilder getWorldPosOrBuilder() {
return worldPos_;
}
// optional int32 health = 4;
public static final int HEALTH_FIELD_NUMBER = 4;
private int health_;
/**
* optional int32 health = 4;
*/
public boolean hasHealth() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* optional int32 health = 4;
*/
public int getHealth() {
return health_;
}
private void initFields() {
index_ = 0;
time_ = 0;
worldPos_ = com.dota2.proto.Networkbasetypes.CMsgVector2D.getDefaultInstance();
health_ = 0;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeUInt32(1, index_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeInt32(2, time_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
output.writeMessage(3, worldPos_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
output.writeInt32(4, health_);
}
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, index_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(2, time_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, worldPos_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(4, health_);
}
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 com.dota2.proto.DotaUsermessages.CDOTAUserMsg_CombatHeroPositions parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_CombatHeroPositions parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_CombatHeroPositions parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_CombatHeroPositions parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_CombatHeroPositions parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_CombatHeroPositions parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_CombatHeroPositions parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_CombatHeroPositions parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_CombatHeroPositions parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_CombatHeroPositions 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(com.dota2.proto.DotaUsermessages.CDOTAUserMsg_CombatHeroPositions 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_CombatHeroPositions}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder
implements com.dota2.proto.DotaUsermessages.CDOTAUserMsg_CombatHeroPositionsOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_CombatHeroPositions_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_CombatHeroPositions_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_CombatHeroPositions.class, com.dota2.proto.DotaUsermessages.CDOTAUserMsg_CombatHeroPositions.Builder.class);
}
// Construct using com.dota2.proto.DotaUsermessages.CDOTAUserMsg_CombatHeroPositions.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
getWorldPosFieldBuilder();
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
index_ = 0;
bitField0_ = (bitField0_ & ~0x00000001);
time_ = 0;
bitField0_ = (bitField0_ & ~0x00000002);
if (worldPosBuilder_ == null) {
worldPos_ = com.dota2.proto.Networkbasetypes.CMsgVector2D.getDefaultInstance();
} else {
worldPosBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000004);
health_ = 0;
bitField0_ = (bitField0_ & ~0x00000008);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_CombatHeroPositions_descriptor;
}
public com.dota2.proto.DotaUsermessages.CDOTAUserMsg_CombatHeroPositions getDefaultInstanceForType() {
return com.dota2.proto.DotaUsermessages.CDOTAUserMsg_CombatHeroPositions.getDefaultInstance();
}
public com.dota2.proto.DotaUsermessages.CDOTAUserMsg_CombatHeroPositions build() {
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_CombatHeroPositions result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.dota2.proto.DotaUsermessages.CDOTAUserMsg_CombatHeroPositions buildPartial() {
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_CombatHeroPositions result = new com.dota2.proto.DotaUsermessages.CDOTAUserMsg_CombatHeroPositions(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.index_ = index_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.time_ = time_;
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
to_bitField0_ |= 0x00000004;
}
if (worldPosBuilder_ == null) {
result.worldPos_ = worldPos_;
} else {
result.worldPos_ = worldPosBuilder_.build();
}
if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
to_bitField0_ |= 0x00000008;
}
result.health_ = health_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.dota2.proto.DotaUsermessages.CDOTAUserMsg_CombatHeroPositions) {
return mergeFrom((com.dota2.proto.DotaUsermessages.CDOTAUserMsg_CombatHeroPositions)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.dota2.proto.DotaUsermessages.CDOTAUserMsg_CombatHeroPositions other) {
if (other == com.dota2.proto.DotaUsermessages.CDOTAUserMsg_CombatHeroPositions.getDefaultInstance()) return this;
if (other.hasIndex()) {
setIndex(other.getIndex());
}
if (other.hasTime()) {
setTime(other.getTime());
}
if (other.hasWorldPos()) {
mergeWorldPos(other.getWorldPos());
}
if (other.hasHealth()) {
setHealth(other.getHealth());
}
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 {
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_CombatHeroPositions parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.dota2.proto.DotaUsermessages.CDOTAUserMsg_CombatHeroPositions) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// optional uint32 index = 1;
private int index_ ;
/**
* optional uint32 index = 1;
*/
public boolean hasIndex() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional uint32 index = 1;
*/
public int getIndex() {
return index_;
}
/**
* optional uint32 index = 1;
*/
public Builder setIndex(int value) {
bitField0_ |= 0x00000001;
index_ = value;
onChanged();
return this;
}
/**
* optional uint32 index = 1;
*/
public Builder clearIndex() {
bitField0_ = (bitField0_ & ~0x00000001);
index_ = 0;
onChanged();
return this;
}
// optional int32 time = 2;
private int time_ ;
/**
* optional int32 time = 2;
*/
public boolean hasTime() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional int32 time = 2;
*/
public int getTime() {
return time_;
}
/**
* optional int32 time = 2;
*/
public Builder setTime(int value) {
bitField0_ |= 0x00000002;
time_ = value;
onChanged();
return this;
}
/**
* optional int32 time = 2;
*/
public Builder clearTime() {
bitField0_ = (bitField0_ & ~0x00000002);
time_ = 0;
onChanged();
return this;
}
// optional .CMsgVector2D world_pos = 3;
private com.dota2.proto.Networkbasetypes.CMsgVector2D worldPos_ = com.dota2.proto.Networkbasetypes.CMsgVector2D.getDefaultInstance();
private com.google.protobuf.SingleFieldBuilder<
com.dota2.proto.Networkbasetypes.CMsgVector2D, com.dota2.proto.Networkbasetypes.CMsgVector2D.Builder, com.dota2.proto.Networkbasetypes.CMsgVector2DOrBuilder> worldPosBuilder_;
/**
* optional .CMsgVector2D world_pos = 3;
*/
public boolean hasWorldPos() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional .CMsgVector2D world_pos = 3;
*/
public com.dota2.proto.Networkbasetypes.CMsgVector2D getWorldPos() {
if (worldPosBuilder_ == null) {
return worldPos_;
} else {
return worldPosBuilder_.getMessage();
}
}
/**
* optional .CMsgVector2D world_pos = 3;
*/
public Builder setWorldPos(com.dota2.proto.Networkbasetypes.CMsgVector2D value) {
if (worldPosBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
worldPos_ = value;
onChanged();
} else {
worldPosBuilder_.setMessage(value);
}
bitField0_ |= 0x00000004;
return this;
}
/**
* optional .CMsgVector2D world_pos = 3;
*/
public Builder setWorldPos(
com.dota2.proto.Networkbasetypes.CMsgVector2D.Builder builderForValue) {
if (worldPosBuilder_ == null) {
worldPos_ = builderForValue.build();
onChanged();
} else {
worldPosBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000004;
return this;
}
/**
* optional .CMsgVector2D world_pos = 3;
*/
public Builder mergeWorldPos(com.dota2.proto.Networkbasetypes.CMsgVector2D value) {
if (worldPosBuilder_ == null) {
if (((bitField0_ & 0x00000004) == 0x00000004) &&
worldPos_ != com.dota2.proto.Networkbasetypes.CMsgVector2D.getDefaultInstance()) {
worldPos_ =
com.dota2.proto.Networkbasetypes.CMsgVector2D.newBuilder(worldPos_).mergeFrom(value).buildPartial();
} else {
worldPos_ = value;
}
onChanged();
} else {
worldPosBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000004;
return this;
}
/**
* optional .CMsgVector2D world_pos = 3;
*/
public Builder clearWorldPos() {
if (worldPosBuilder_ == null) {
worldPos_ = com.dota2.proto.Networkbasetypes.CMsgVector2D.getDefaultInstance();
onChanged();
} else {
worldPosBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000004);
return this;
}
/**
* optional .CMsgVector2D world_pos = 3;
*/
public com.dota2.proto.Networkbasetypes.CMsgVector2D.Builder getWorldPosBuilder() {
bitField0_ |= 0x00000004;
onChanged();
return getWorldPosFieldBuilder().getBuilder();
}
/**
* optional .CMsgVector2D world_pos = 3;
*/
public com.dota2.proto.Networkbasetypes.CMsgVector2DOrBuilder getWorldPosOrBuilder() {
if (worldPosBuilder_ != null) {
return worldPosBuilder_.getMessageOrBuilder();
} else {
return worldPos_;
}
}
/**
* optional .CMsgVector2D world_pos = 3;
*/
private com.google.protobuf.SingleFieldBuilder<
com.dota2.proto.Networkbasetypes.CMsgVector2D, com.dota2.proto.Networkbasetypes.CMsgVector2D.Builder, com.dota2.proto.Networkbasetypes.CMsgVector2DOrBuilder>
getWorldPosFieldBuilder() {
if (worldPosBuilder_ == null) {
worldPosBuilder_ = new com.google.protobuf.SingleFieldBuilder<
com.dota2.proto.Networkbasetypes.CMsgVector2D, com.dota2.proto.Networkbasetypes.CMsgVector2D.Builder, com.dota2.proto.Networkbasetypes.CMsgVector2DOrBuilder>(
worldPos_,
getParentForChildren(),
isClean());
worldPos_ = null;
}
return worldPosBuilder_;
}
// optional int32 health = 4;
private int health_ ;
/**
* optional int32 health = 4;
*/
public boolean hasHealth() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* optional int32 health = 4;
*/
public int getHealth() {
return health_;
}
/**
* optional int32 health = 4;
*/
public Builder setHealth(int value) {
bitField0_ |= 0x00000008;
health_ = value;
onChanged();
return this;
}
/**
* optional int32 health = 4;
*/
public Builder clearHealth() {
bitField0_ = (bitField0_ & ~0x00000008);
health_ = 0;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:CDOTAUserMsg_CombatHeroPositions)
}
static {
defaultInstance = new CDOTAUserMsg_CombatHeroPositions(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:CDOTAUserMsg_CombatHeroPositions)
}
public interface CDOTAUserMsg_MiniKillCamInfoOrBuilder
extends com.google.protobuf.MessageOrBuilder {
// repeated .CDOTAUserMsg_MiniKillCamInfo.Attacker attackers = 1;
/**
* repeated .CDOTAUserMsg_MiniKillCamInfo.Attacker attackers = 1;
*/
java.util.List
getAttackersList();
/**
* repeated .CDOTAUserMsg_MiniKillCamInfo.Attacker attackers = 1;
*/
com.dota2.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 com.dota2.proto.DotaUsermessages.CDOTAUserMsg_MiniKillCamInfo.AttackerOrBuilder>
getAttackersOrBuilderList();
/**
* repeated .CDOTAUserMsg_MiniKillCamInfo.Attacker attackers = 1;
*/
com.dota2.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 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(com.dota2.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 com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_MiniKillCamInfo_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_MiniKillCamInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_MiniKillCamInfo.class, com.dota2.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 com.google.protobuf.MessageOrBuilder {
// optional uint32 attacker = 1;
/**
* optional uint32 attacker = 1;
*/
boolean hasAttacker();
/**
* optional uint32 attacker = 1;
*/
int getAttacker();
// optional int32 total_damage = 2;
/**
* optional int32 total_damage = 2;
*/
boolean hasTotalDamage();
/**
* optional int32 total_damage = 2;
*/
int getTotalDamage();
// repeated .CDOTAUserMsg_MiniKillCamInfo.Attacker.Ability abilities = 3;
/**
* repeated .CDOTAUserMsg_MiniKillCamInfo.Attacker.Ability abilities = 3;
*/
java.util.List
getAbilitiesList();
/**
* repeated .CDOTAUserMsg_MiniKillCamInfo.Attacker.Ability abilities = 3;
*/
com.dota2.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 com.dota2.proto.DotaUsermessages.CDOTAUserMsg_MiniKillCamInfo.Attacker.AbilityOrBuilder>
getAbilitiesOrBuilderList();
/**
* repeated .CDOTAUserMsg_MiniKillCamInfo.Attacker.Ability abilities = 3;
*/
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_MiniKillCamInfo.Attacker.AbilityOrBuilder getAbilitiesOrBuilder(
int index);
}
/**
* Protobuf type {@code CDOTAUserMsg_MiniKillCamInfo.Attacker}
*/
public static final class Attacker extends
com.google.protobuf.GeneratedMessage
implements 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(com.dota2.proto.DotaUsermessages.CDOTAUserMsg_MiniKillCamInfo.Attacker.Ability.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_ & 0x00000004) == 0x00000004)) {
abilities_ = java.util.Collections.unmodifiableList(abilities_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_MiniKillCamInfo_Attacker_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_MiniKillCamInfo_Attacker_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_MiniKillCamInfo.Attacker.class, com.dota2.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 com.google.protobuf.MessageOrBuilder {
// optional uint32 ability = 1;
/**
* optional uint32 ability = 1;
*/
boolean hasAbility();
/**
* optional uint32 ability = 1;
*/
int getAbility();
// optional int32 damage = 2;
/**
* 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 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;
ability_ = 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 com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_MiniKillCamInfo_Attacker_Ability_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_MiniKillCamInfo_Attacker_Ability_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_MiniKillCamInfo.Attacker.Ability.class, com.dota2.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_;
// optional uint32 ability = 1;
public static final int ABILITY_FIELD_NUMBER = 1;
private int ability_;
/**
* optional uint32 ability = 1;
*/
public boolean hasAbility() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional uint32 ability = 1;
*/
public int getAbility() {
return ability_;
}
// optional int32 damage = 2;
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() {
ability_ = 0;
damage_ = 0;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeUInt32(1, ability_);
}
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, ability_);
}
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 com.dota2.proto.DotaUsermessages.CDOTAUserMsg_MiniKillCamInfo.Attacker.Ability parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.dota2.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 com.dota2.proto.DotaUsermessages.CDOTAUserMsg_MiniKillCamInfo.Attacker.Ability parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.dota2.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 com.dota2.proto.DotaUsermessages.CDOTAUserMsg_MiniKillCamInfo.Attacker.Ability parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.dota2.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 com.dota2.proto.DotaUsermessages.CDOTAUserMsg_MiniKillCamInfo.Attacker.Ability parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static com.dota2.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 com.dota2.proto.DotaUsermessages.CDOTAUserMsg_MiniKillCamInfo.Attacker.Ability parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.dota2.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(com.dota2.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 com.dota2.proto.DotaUsermessages.CDOTAUserMsg_MiniKillCamInfo.Attacker.AbilityOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_MiniKillCamInfo_Attacker_Ability_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_MiniKillCamInfo_Attacker_Ability_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_MiniKillCamInfo.Attacker.Ability.class, com.dota2.proto.DotaUsermessages.CDOTAUserMsg_MiniKillCamInfo.Attacker.Ability.Builder.class);
}
// Construct using com.dota2.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();
ability_ = 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 com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_MiniKillCamInfo_Attacker_Ability_descriptor;
}
public com.dota2.proto.DotaUsermessages.CDOTAUserMsg_MiniKillCamInfo.Attacker.Ability getDefaultInstanceForType() {
return com.dota2.proto.DotaUsermessages.CDOTAUserMsg_MiniKillCamInfo.Attacker.Ability.getDefaultInstance();
}
public com.dota2.proto.DotaUsermessages.CDOTAUserMsg_MiniKillCamInfo.Attacker.Ability build() {
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_MiniKillCamInfo.Attacker.Ability result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.dota2.proto.DotaUsermessages.CDOTAUserMsg_MiniKillCamInfo.Attacker.Ability buildPartial() {
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_MiniKillCamInfo.Attacker.Ability result = new com.dota2.proto.DotaUsermessages.CDOTAUserMsg_MiniKillCamInfo.Attacker.Ability(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.ability_ = ability_;
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 com.dota2.proto.DotaUsermessages.CDOTAUserMsg_MiniKillCamInfo.Attacker.Ability) {
return mergeFrom((com.dota2.proto.DotaUsermessages.CDOTAUserMsg_MiniKillCamInfo.Attacker.Ability)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.dota2.proto.DotaUsermessages.CDOTAUserMsg_MiniKillCamInfo.Attacker.Ability other) {
if (other == com.dota2.proto.DotaUsermessages.CDOTAUserMsg_MiniKillCamInfo.Attacker.Ability.getDefaultInstance()) return this;
if (other.hasAbility()) {
setAbility(other.getAbility());
}
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 {
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_MiniKillCamInfo.Attacker.Ability parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.dota2.proto.DotaUsermessages.CDOTAUserMsg_MiniKillCamInfo.Attacker.Ability) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// optional uint32 ability = 1;
private int ability_ ;
/**
* optional uint32 ability = 1;
*/
public boolean hasAbility() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional uint32 ability = 1;
*/
public int getAbility() {
return ability_;
}
/**
* optional uint32 ability = 1;
*/
public Builder setAbility(int value) {
bitField0_ |= 0x00000001;
ability_ = value;
onChanged();
return this;
}
/**
* optional uint32 ability = 1;
*/
public Builder clearAbility() {
bitField0_ = (bitField0_ & ~0x00000001);
ability_ = 0;
onChanged();
return this;
}
// optional int32 damage = 2;
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_;
// optional uint32 attacker = 1;
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_;
}
// optional int32 total_damage = 2;
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_;
}
// repeated .CDOTAUserMsg_MiniKillCamInfo.Attacker.Ability abilities = 3;
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 com.dota2.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 com.dota2.proto.DotaUsermessages.CDOTAUserMsg_MiniKillCamInfo.Attacker.Ability getAbilities(int index) {
return abilities_.get(index);
}
/**
* repeated .CDOTAUserMsg_MiniKillCamInfo.Attacker.Ability abilities = 3;
*/
public com.dota2.proto.DotaUsermessages.CDOTAUserMsg_MiniKillCamInfo.Attacker.AbilityOrBuilder getAbilitiesOrBuilder(
int index) {
return abilities_.get(index);
}
private void initFields() {
attacker_ = 0;
totalDamage_ = 0;
abilities_ = java.util.Collections.emptyList();
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
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));
}
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));
}
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 com.dota2.proto.DotaUsermessages.CDOTAUserMsg_MiniKillCamInfo.Attacker parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.dota2.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 com.dota2.proto.DotaUsermessages.CDOTAUserMsg_MiniKillCamInfo.Attacker parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.dota2.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 com.dota2.proto.DotaUsermessages.CDOTAUserMsg_MiniKillCamInfo.Attacker parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.dota2.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 com.dota2.proto.DotaUsermessages.CDOTAUserMsg_MiniKillCamInfo.Attacker parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static com.dota2.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 com.dota2.proto.DotaUsermessages.CDOTAUserMsg_MiniKillCamInfo.Attacker parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.dota2.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(com.dota2.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 com.dota2.proto.DotaUsermessages.CDOTAUserMsg_MiniKillCamInfo.AttackerOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_MiniKillCamInfo_Attacker_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_MiniKillCamInfo_Attacker_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_MiniKillCamInfo.Attacker.class, com.dota2.proto.DotaUsermessages.CDOTAUserMsg_MiniKillCamInfo.Attacker.Builder.class);
}
// Construct using com.dota2.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();
}
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_MiniKillCamInfo_Attacker_descriptor;
}
public com.dota2.proto.DotaUsermessages.CDOTAUserMsg_MiniKillCamInfo.Attacker getDefaultInstanceForType() {
return com.dota2.proto.DotaUsermessages.CDOTAUserMsg_MiniKillCamInfo.Attacker.getDefaultInstance();
}
public com.dota2.proto.DotaUsermessages.CDOTAUserMsg_MiniKillCamInfo.Attacker build() {
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_MiniKillCamInfo.Attacker result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.dota2.proto.DotaUsermessages.CDOTAUserMsg_MiniKillCamInfo.Attacker buildPartial() {
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_MiniKillCamInfo.Attacker result = new com.dota2.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();
}
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.dota2.proto.DotaUsermessages.CDOTAUserMsg_MiniKillCamInfo.Attacker) {
return mergeFrom((com.dota2.proto.DotaUsermessages.CDOTAUserMsg_MiniKillCamInfo.Attacker)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.dota2.proto.DotaUsermessages.CDOTAUserMsg_MiniKillCamInfo.Attacker other) {
if (other == com.dota2.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_);
}
}
}
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 {
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_MiniKillCamInfo.Attacker parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.dota2.proto.DotaUsermessages.CDOTAUserMsg_MiniKillCamInfo.Attacker) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// optional uint32 attacker = 1;
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;
}
// optional int32 total_damage = 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_;
}
/**
* 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;
}
// repeated .CDOTAUserMsg_MiniKillCamInfo.Attacker.Ability abilities = 3;
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<
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_MiniKillCamInfo.Attacker.Ability, com.dota2.proto.DotaUsermessages.CDOTAUserMsg_MiniKillCamInfo.Attacker.Ability.Builder, com.dota2.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 com.dota2.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, com.dota2.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, com.dota2.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(com.dota2.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, com.dota2.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(
com.dota2.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, com.dota2.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 com.dota2.proto.DotaUsermessages.CDOTAUserMsg_MiniKillCamInfo.Attacker.Ability> values) {
if (abilitiesBuilder_ == null) {
ensureAbilitiesIsMutable();
super.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 com.dota2.proto.DotaUsermessages.CDOTAUserMsg_MiniKillCamInfo.Attacker.Ability.Builder getAbilitiesBuilder(
int index) {
return getAbilitiesFieldBuilder().getBuilder(index);
}
/**
* repeated .CDOTAUserMsg_MiniKillCamInfo.Attacker.Ability abilities = 3;
*/
public com.dota2.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 com.dota2.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 com.dota2.proto.DotaUsermessages.CDOTAUserMsg_MiniKillCamInfo.Attacker.Ability.Builder addAbilitiesBuilder() {
return getAbilitiesFieldBuilder().addBuilder(
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_MiniKillCamInfo.Attacker.Ability.getDefaultInstance());
}
/**
* repeated .CDOTAUserMsg_MiniKillCamInfo.Attacker.Ability abilities = 3;
*/
public com.dota2.proto.DotaUsermessages.CDOTAUserMsg_MiniKillCamInfo.Attacker.Ability.Builder addAbilitiesBuilder(
int index) {
return getAbilitiesFieldBuilder().addBuilder(
index, com.dota2.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<
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_MiniKillCamInfo.Attacker.Ability, com.dota2.proto.DotaUsermessages.CDOTAUserMsg_MiniKillCamInfo.Attacker.Ability.Builder, com.dota2.proto.DotaUsermessages.CDOTAUserMsg_MiniKillCamInfo.Attacker.AbilityOrBuilder>
getAbilitiesFieldBuilder() {
if (abilitiesBuilder_ == null) {
abilitiesBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_MiniKillCamInfo.Attacker.Ability, com.dota2.proto.DotaUsermessages.CDOTAUserMsg_MiniKillCamInfo.Attacker.Ability.Builder, com.dota2.proto.DotaUsermessages.CDOTAUserMsg_MiniKillCamInfo.Attacker.AbilityOrBuilder>(
abilities_,
((bitField0_ & 0x00000004) == 0x00000004),
getParentForChildren(),
isClean());
abilities_ = null;
}
return abilitiesBuilder_;
}
// @@protoc_insertion_point(builder_scope:CDOTAUserMsg_MiniKillCamInfo.Attacker)
}
static {
defaultInstance = new Attacker(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:CDOTAUserMsg_MiniKillCamInfo.Attacker)
}
// repeated .CDOTAUserMsg_MiniKillCamInfo.Attacker attackers = 1;
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 com.dota2.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 com.dota2.proto.DotaUsermessages.CDOTAUserMsg_MiniKillCamInfo.Attacker getAttackers(int index) {
return attackers_.get(index);
}
/**
* repeated .CDOTAUserMsg_MiniKillCamInfo.Attacker attackers = 1;
*/
public com.dota2.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 isInitialized == 1;
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 com.dota2.proto.DotaUsermessages.CDOTAUserMsg_MiniKillCamInfo parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.dota2.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 com.dota2.proto.DotaUsermessages.CDOTAUserMsg_MiniKillCamInfo parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_MiniKillCamInfo parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_MiniKillCamInfo parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.dota2.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 com.dota2.proto.DotaUsermessages.CDOTAUserMsg_MiniKillCamInfo parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static com.dota2.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 com.dota2.proto.DotaUsermessages.CDOTAUserMsg_MiniKillCamInfo parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.dota2.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(com.dota2.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 com.dota2.proto.DotaUsermessages.CDOTAUserMsg_MiniKillCamInfoOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_MiniKillCamInfo_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_MiniKillCamInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_MiniKillCamInfo.class, com.dota2.proto.DotaUsermessages.CDOTAUserMsg_MiniKillCamInfo.Builder.class);
}
// Construct using com.dota2.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 com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_MiniKillCamInfo_descriptor;
}
public com.dota2.proto.DotaUsermessages.CDOTAUserMsg_MiniKillCamInfo getDefaultInstanceForType() {
return com.dota2.proto.DotaUsermessages.CDOTAUserMsg_MiniKillCamInfo.getDefaultInstance();
}
public com.dota2.proto.DotaUsermessages.CDOTAUserMsg_MiniKillCamInfo build() {
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_MiniKillCamInfo result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.dota2.proto.DotaUsermessages.CDOTAUserMsg_MiniKillCamInfo buildPartial() {
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_MiniKillCamInfo result = new com.dota2.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 com.dota2.proto.DotaUsermessages.CDOTAUserMsg_MiniKillCamInfo) {
return mergeFrom((com.dota2.proto.DotaUsermessages.CDOTAUserMsg_MiniKillCamInfo)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.dota2.proto.DotaUsermessages.CDOTAUserMsg_MiniKillCamInfo other) {
if (other == com.dota2.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 {
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_MiniKillCamInfo parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.dota2.proto.DotaUsermessages.CDOTAUserMsg_MiniKillCamInfo) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// repeated .CDOTAUserMsg_MiniKillCamInfo.Attacker attackers = 1;
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<
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_MiniKillCamInfo.Attacker, com.dota2.proto.DotaUsermessages.CDOTAUserMsg_MiniKillCamInfo.Attacker.Builder, com.dota2.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 com.dota2.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, com.dota2.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, com.dota2.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(com.dota2.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, com.dota2.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(
com.dota2.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, com.dota2.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 com.dota2.proto.DotaUsermessages.CDOTAUserMsg_MiniKillCamInfo.Attacker> values) {
if (attackersBuilder_ == null) {
ensureAttackersIsMutable();
super.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 com.dota2.proto.DotaUsermessages.CDOTAUserMsg_MiniKillCamInfo.Attacker.Builder getAttackersBuilder(
int index) {
return getAttackersFieldBuilder().getBuilder(index);
}
/**
* repeated .CDOTAUserMsg_MiniKillCamInfo.Attacker attackers = 1;
*/
public com.dota2.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 com.dota2.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 com.dota2.proto.DotaUsermessages.CDOTAUserMsg_MiniKillCamInfo.Attacker.Builder addAttackersBuilder() {
return getAttackersFieldBuilder().addBuilder(
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_MiniKillCamInfo.Attacker.getDefaultInstance());
}
/**
* repeated .CDOTAUserMsg_MiniKillCamInfo.Attacker attackers = 1;
*/
public com.dota2.proto.DotaUsermessages.CDOTAUserMsg_MiniKillCamInfo.Attacker.Builder addAttackersBuilder(
int index) {
return getAttackersFieldBuilder().addBuilder(
index, com.dota2.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<
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_MiniKillCamInfo.Attacker, com.dota2.proto.DotaUsermessages.CDOTAUserMsg_MiniKillCamInfo.Attacker.Builder, com.dota2.proto.DotaUsermessages.CDOTAUserMsg_MiniKillCamInfo.AttackerOrBuilder>
getAttackersFieldBuilder() {
if (attackersBuilder_ == null) {
attackersBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_MiniKillCamInfo.Attacker, com.dota2.proto.DotaUsermessages.CDOTAUserMsg_MiniKillCamInfo.Attacker.Builder, com.dota2.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 com.google.protobuf.MessageOrBuilder {
// optional uint32 color = 1;
/**
* optional uint32 color = 1;
*/
boolean hasColor();
/**
* optional uint32 color = 1;
*/
int getColor();
// optional float duration = 2;
/**
* 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 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 com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_GlobalLightColor_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_GlobalLightColor_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_GlobalLightColor.class, com.dota2.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_;
// optional uint32 color = 1;
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_;
}
// optional float duration = 2;
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 isInitialized == 1;
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 com.dota2.proto.DotaUsermessages.CDOTAUserMsg_GlobalLightColor parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.dota2.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 com.dota2.proto.DotaUsermessages.CDOTAUserMsg_GlobalLightColor parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_GlobalLightColor parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_GlobalLightColor parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.dota2.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 com.dota2.proto.DotaUsermessages.CDOTAUserMsg_GlobalLightColor parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static com.dota2.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 com.dota2.proto.DotaUsermessages.CDOTAUserMsg_GlobalLightColor parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.dota2.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(com.dota2.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 com.dota2.proto.DotaUsermessages.CDOTAUserMsg_GlobalLightColorOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_GlobalLightColor_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_GlobalLightColor_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_GlobalLightColor.class, com.dota2.proto.DotaUsermessages.CDOTAUserMsg_GlobalLightColor.Builder.class);
}
// Construct using com.dota2.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 com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_GlobalLightColor_descriptor;
}
public com.dota2.proto.DotaUsermessages.CDOTAUserMsg_GlobalLightColor getDefaultInstanceForType() {
return com.dota2.proto.DotaUsermessages.CDOTAUserMsg_GlobalLightColor.getDefaultInstance();
}
public com.dota2.proto.DotaUsermessages.CDOTAUserMsg_GlobalLightColor build() {
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_GlobalLightColor result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.dota2.proto.DotaUsermessages.CDOTAUserMsg_GlobalLightColor buildPartial() {
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_GlobalLightColor result = new com.dota2.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 com.dota2.proto.DotaUsermessages.CDOTAUserMsg_GlobalLightColor) {
return mergeFrom((com.dota2.proto.DotaUsermessages.CDOTAUserMsg_GlobalLightColor)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.dota2.proto.DotaUsermessages.CDOTAUserMsg_GlobalLightColor other) {
if (other == com.dota2.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 {
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_GlobalLightColor parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.dota2.proto.DotaUsermessages.CDOTAUserMsg_GlobalLightColor) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// optional uint32 color = 1;
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;
}
// optional float duration = 2;
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 com.google.protobuf.MessageOrBuilder {
// optional .CMsgVector direction = 1;
/**
* optional .CMsgVector direction = 1;
*/
boolean hasDirection();
/**
* optional .CMsgVector direction = 1;
*/
com.dota2.proto.Networkbasetypes.CMsgVector getDirection();
/**
* optional .CMsgVector direction = 1;
*/
com.dota2.proto.Networkbasetypes.CMsgVectorOrBuilder getDirectionOrBuilder();
// optional float duration = 2;
/**
* 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 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: {
com.dota2.proto.Networkbasetypes.CMsgVector.Builder subBuilder = null;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
subBuilder = direction_.toBuilder();
}
direction_ = input.readMessage(com.dota2.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 com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_GlobalLightDirection_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_GlobalLightDirection_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_GlobalLightDirection.class, com.dota2.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_;
// optional .CMsgVector direction = 1;
public static final int DIRECTION_FIELD_NUMBER = 1;
private com.dota2.proto.Networkbasetypes.CMsgVector direction_;
/**
* optional .CMsgVector direction = 1;
*/
public boolean hasDirection() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional .CMsgVector direction = 1;
*/
public com.dota2.proto.Networkbasetypes.CMsgVector getDirection() {
return direction_;
}
/**
* optional .CMsgVector direction = 1;
*/
public com.dota2.proto.Networkbasetypes.CMsgVectorOrBuilder getDirectionOrBuilder() {
return direction_;
}
// optional float duration = 2;
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_ = com.dota2.proto.Networkbasetypes.CMsgVector.getDefaultInstance();
duration_ = 0F;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
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 com.dota2.proto.DotaUsermessages.CDOTAUserMsg_GlobalLightDirection parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.dota2.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 com.dota2.proto.DotaUsermessages.CDOTAUserMsg_GlobalLightDirection parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_GlobalLightDirection parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_GlobalLightDirection parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.dota2.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 com.dota2.proto.DotaUsermessages.CDOTAUserMsg_GlobalLightDirection parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static com.dota2.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 com.dota2.proto.DotaUsermessages.CDOTAUserMsg_GlobalLightDirection parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.dota2.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(com.dota2.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 com.dota2.proto.DotaUsermessages.CDOTAUserMsg_GlobalLightDirectionOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_GlobalLightDirection_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_GlobalLightDirection_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_GlobalLightDirection.class, com.dota2.proto.DotaUsermessages.CDOTAUserMsg_GlobalLightDirection.Builder.class);
}
// Construct using com.dota2.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_ = com.dota2.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 com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_GlobalLightDirection_descriptor;
}
public com.dota2.proto.DotaUsermessages.CDOTAUserMsg_GlobalLightDirection getDefaultInstanceForType() {
return com.dota2.proto.DotaUsermessages.CDOTAUserMsg_GlobalLightDirection.getDefaultInstance();
}
public com.dota2.proto.DotaUsermessages.CDOTAUserMsg_GlobalLightDirection build() {
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_GlobalLightDirection result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.dota2.proto.DotaUsermessages.CDOTAUserMsg_GlobalLightDirection buildPartial() {
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_GlobalLightDirection result = new com.dota2.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 com.dota2.proto.DotaUsermessages.CDOTAUserMsg_GlobalLightDirection) {
return mergeFrom((com.dota2.proto.DotaUsermessages.CDOTAUserMsg_GlobalLightDirection)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.dota2.proto.DotaUsermessages.CDOTAUserMsg_GlobalLightDirection other) {
if (other == com.dota2.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 {
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_GlobalLightDirection parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.dota2.proto.DotaUsermessages.CDOTAUserMsg_GlobalLightDirection) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// optional .CMsgVector direction = 1;
private com.dota2.proto.Networkbasetypes.CMsgVector direction_ = com.dota2.proto.Networkbasetypes.CMsgVector.getDefaultInstance();
private com.google.protobuf.SingleFieldBuilder<
com.dota2.proto.Networkbasetypes.CMsgVector, com.dota2.proto.Networkbasetypes.CMsgVector.Builder, com.dota2.proto.Networkbasetypes.CMsgVectorOrBuilder> directionBuilder_;
/**
* optional .CMsgVector direction = 1;
*/
public boolean hasDirection() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional .CMsgVector direction = 1;
*/
public com.dota2.proto.Networkbasetypes.CMsgVector getDirection() {
if (directionBuilder_ == null) {
return direction_;
} else {
return directionBuilder_.getMessage();
}
}
/**
* optional .CMsgVector direction = 1;
*/
public Builder setDirection(com.dota2.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(
com.dota2.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(com.dota2.proto.Networkbasetypes.CMsgVector value) {
if (directionBuilder_ == null) {
if (((bitField0_ & 0x00000001) == 0x00000001) &&
direction_ != com.dota2.proto.Networkbasetypes.CMsgVector.getDefaultInstance()) {
direction_ =
com.dota2.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_ = com.dota2.proto.Networkbasetypes.CMsgVector.getDefaultInstance();
onChanged();
} else {
directionBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
/**
* optional .CMsgVector direction = 1;
*/
public com.dota2.proto.Networkbasetypes.CMsgVector.Builder getDirectionBuilder() {
bitField0_ |= 0x00000001;
onChanged();
return getDirectionFieldBuilder().getBuilder();
}
/**
* optional .CMsgVector direction = 1;
*/
public com.dota2.proto.Networkbasetypes.CMsgVectorOrBuilder getDirectionOrBuilder() {
if (directionBuilder_ != null) {
return directionBuilder_.getMessageOrBuilder();
} else {
return direction_;
}
}
/**
* optional .CMsgVector direction = 1;
*/
private com.google.protobuf.SingleFieldBuilder<
com.dota2.proto.Networkbasetypes.CMsgVector, com.dota2.proto.Networkbasetypes.CMsgVector.Builder, com.dota2.proto.Networkbasetypes.CMsgVectorOrBuilder>
getDirectionFieldBuilder() {
if (directionBuilder_ == null) {
directionBuilder_ = new com.google.protobuf.SingleFieldBuilder<
com.dota2.proto.Networkbasetypes.CMsgVector, com.dota2.proto.Networkbasetypes.CMsgVector.Builder, com.dota2.proto.Networkbasetypes.CMsgVectorOrBuilder>(
direction_,
getParentForChildren(),
isClean());
direction_ = null;
}
return directionBuilder_;
}
// optional float duration = 2;
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 com.google.protobuf.MessageOrBuilder {
// optional uint32 player_id = 1;
/**
* optional uint32 player_id = 1;
*/
boolean hasPlayerId();
/**
* optional uint32 player_id = 1;
*/
int getPlayerId();
// optional .CDOTAMsg_LocationPing location_ping = 2;
/**
* optional .CDOTAMsg_LocationPing location_ping = 2;
*/
boolean hasLocationPing();
/**
* optional .CDOTAMsg_LocationPing location_ping = 2;
*/
com.dota2.proto.DotaCommonmessages.CDOTAMsg_LocationPing getLocationPing();
/**
* optional .CDOTAMsg_LocationPing location_ping = 2;
*/
com.dota2.proto.DotaCommonmessages.CDOTAMsg_LocationPingOrBuilder getLocationPingOrBuilder();
}
/**
* Protobuf type {@code CDOTAUserMsg_LocationPing}
*/
public static final class CDOTAUserMsg_LocationPing extends
com.google.protobuf.GeneratedMessage
implements 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: {
com.dota2.proto.DotaCommonmessages.CDOTAMsg_LocationPing.Builder subBuilder = null;
if (((bitField0_ & 0x00000002) == 0x00000002)) {
subBuilder = locationPing_.toBuilder();
}
locationPing_ = input.readMessage(com.dota2.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 com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_LocationPing_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_LocationPing_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_LocationPing.class, com.dota2.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_;
// optional uint32 player_id = 1;
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_;
}
// optional .CDOTAMsg_LocationPing location_ping = 2;
public static final int LOCATION_PING_FIELD_NUMBER = 2;
private com.dota2.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 com.dota2.proto.DotaCommonmessages.CDOTAMsg_LocationPing getLocationPing() {
return locationPing_;
}
/**
* optional .CDOTAMsg_LocationPing location_ping = 2;
*/
public com.dota2.proto.DotaCommonmessages.CDOTAMsg_LocationPingOrBuilder getLocationPingOrBuilder() {
return locationPing_;
}
private void initFields() {
playerId_ = 0;
locationPing_ = com.dota2.proto.DotaCommonmessages.CDOTAMsg_LocationPing.getDefaultInstance();
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
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 com.dota2.proto.DotaUsermessages.CDOTAUserMsg_LocationPing parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.dota2.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 com.dota2.proto.DotaUsermessages.CDOTAUserMsg_LocationPing parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_LocationPing parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_LocationPing parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.dota2.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 com.dota2.proto.DotaUsermessages.CDOTAUserMsg_LocationPing parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static com.dota2.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 com.dota2.proto.DotaUsermessages.CDOTAUserMsg_LocationPing parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.dota2.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(com.dota2.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 com.dota2.proto.DotaUsermessages.CDOTAUserMsg_LocationPingOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_LocationPing_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_LocationPing_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_LocationPing.class, com.dota2.proto.DotaUsermessages.CDOTAUserMsg_LocationPing.Builder.class);
}
// Construct using com.dota2.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_ = com.dota2.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 com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_LocationPing_descriptor;
}
public com.dota2.proto.DotaUsermessages.CDOTAUserMsg_LocationPing getDefaultInstanceForType() {
return com.dota2.proto.DotaUsermessages.CDOTAUserMsg_LocationPing.getDefaultInstance();
}
public com.dota2.proto.DotaUsermessages.CDOTAUserMsg_LocationPing build() {
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_LocationPing result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.dota2.proto.DotaUsermessages.CDOTAUserMsg_LocationPing buildPartial() {
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_LocationPing result = new com.dota2.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 com.dota2.proto.DotaUsermessages.CDOTAUserMsg_LocationPing) {
return mergeFrom((com.dota2.proto.DotaUsermessages.CDOTAUserMsg_LocationPing)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.dota2.proto.DotaUsermessages.CDOTAUserMsg_LocationPing other) {
if (other == com.dota2.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 {
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_LocationPing parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.dota2.proto.DotaUsermessages.CDOTAUserMsg_LocationPing) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// optional uint32 player_id = 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_;
}
/**
* 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;
}
// optional .CDOTAMsg_LocationPing location_ping = 2;
private com.dota2.proto.DotaCommonmessages.CDOTAMsg_LocationPing locationPing_ = com.dota2.proto.DotaCommonmessages.CDOTAMsg_LocationPing.getDefaultInstance();
private com.google.protobuf.SingleFieldBuilder<
com.dota2.proto.DotaCommonmessages.CDOTAMsg_LocationPing, com.dota2.proto.DotaCommonmessages.CDOTAMsg_LocationPing.Builder, com.dota2.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 com.dota2.proto.DotaCommonmessages.CDOTAMsg_LocationPing getLocationPing() {
if (locationPingBuilder_ == null) {
return locationPing_;
} else {
return locationPingBuilder_.getMessage();
}
}
/**
* optional .CDOTAMsg_LocationPing location_ping = 2;
*/
public Builder setLocationPing(com.dota2.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(
com.dota2.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(com.dota2.proto.DotaCommonmessages.CDOTAMsg_LocationPing value) {
if (locationPingBuilder_ == null) {
if (((bitField0_ & 0x00000002) == 0x00000002) &&
locationPing_ != com.dota2.proto.DotaCommonmessages.CDOTAMsg_LocationPing.getDefaultInstance()) {
locationPing_ =
com.dota2.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_ = com.dota2.proto.DotaCommonmessages.CDOTAMsg_LocationPing.getDefaultInstance();
onChanged();
} else {
locationPingBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
/**
* optional .CDOTAMsg_LocationPing location_ping = 2;
*/
public com.dota2.proto.DotaCommonmessages.CDOTAMsg_LocationPing.Builder getLocationPingBuilder() {
bitField0_ |= 0x00000002;
onChanged();
return getLocationPingFieldBuilder().getBuilder();
}
/**
* optional .CDOTAMsg_LocationPing location_ping = 2;
*/
public com.dota2.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<
com.dota2.proto.DotaCommonmessages.CDOTAMsg_LocationPing, com.dota2.proto.DotaCommonmessages.CDOTAMsg_LocationPing.Builder, com.dota2.proto.DotaCommonmessages.CDOTAMsg_LocationPingOrBuilder>
getLocationPingFieldBuilder() {
if (locationPingBuilder_ == null) {
locationPingBuilder_ = new com.google.protobuf.SingleFieldBuilder<
com.dota2.proto.DotaCommonmessages.CDOTAMsg_LocationPing, com.dota2.proto.DotaCommonmessages.CDOTAMsg_LocationPing.Builder, com.dota2.proto.DotaCommonmessages.CDOTAMsg_LocationPingOrBuilder>(
locationPing_,
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_ItemAlertOrBuilder
extends com.google.protobuf.MessageOrBuilder {
// optional uint32 player_id = 1;
/**
* optional uint32 player_id = 1;
*/
boolean hasPlayerId();
/**
* optional uint32 player_id = 1;
*/
int getPlayerId();
// optional .CDOTAMsg_ItemAlert item_alert = 2;
/**
* optional .CDOTAMsg_ItemAlert item_alert = 2;
*/
boolean hasItemAlert();
/**
* optional .CDOTAMsg_ItemAlert item_alert = 2;
*/
com.dota2.proto.DotaCommonmessages.CDOTAMsg_ItemAlert getItemAlert();
/**
* optional .CDOTAMsg_ItemAlert item_alert = 2;
*/
com.dota2.proto.DotaCommonmessages.CDOTAMsg_ItemAlertOrBuilder getItemAlertOrBuilder();
}
/**
* Protobuf type {@code CDOTAUserMsg_ItemAlert}
*/
public static final class CDOTAUserMsg_ItemAlert extends
com.google.protobuf.GeneratedMessage
implements CDOTAUserMsg_ItemAlertOrBuilder {
// Use CDOTAUserMsg_ItemAlert.newBuilder() to construct.
private CDOTAUserMsg_ItemAlert(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private CDOTAUserMsg_ItemAlert(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final CDOTAUserMsg_ItemAlert defaultInstance;
public static CDOTAUserMsg_ItemAlert getDefaultInstance() {
return defaultInstance;
}
public CDOTAUserMsg_ItemAlert 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_ItemAlert(
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.dota2.proto.DotaCommonmessages.CDOTAMsg_ItemAlert.Builder subBuilder = null;
if (((bitField0_ & 0x00000002) == 0x00000002)) {
subBuilder = itemAlert_.toBuilder();
}
itemAlert_ = input.readMessage(com.dota2.proto.DotaCommonmessages.CDOTAMsg_ItemAlert.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(itemAlert_);
itemAlert_ = 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 com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_ItemAlert_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_ItemAlert_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_ItemAlert.class, com.dota2.proto.DotaUsermessages.CDOTAUserMsg_ItemAlert.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public CDOTAUserMsg_ItemAlert parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new CDOTAUserMsg_ItemAlert(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
// optional uint32 player_id = 1;
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_;
}
// optional .CDOTAMsg_ItemAlert item_alert = 2;
public static final int ITEM_ALERT_FIELD_NUMBER = 2;
private com.dota2.proto.DotaCommonmessages.CDOTAMsg_ItemAlert itemAlert_;
/**
* optional .CDOTAMsg_ItemAlert item_alert = 2;
*/
public boolean hasItemAlert() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional .CDOTAMsg_ItemAlert item_alert = 2;
*/
public com.dota2.proto.DotaCommonmessages.CDOTAMsg_ItemAlert getItemAlert() {
return itemAlert_;
}
/**
* optional .CDOTAMsg_ItemAlert item_alert = 2;
*/
public com.dota2.proto.DotaCommonmessages.CDOTAMsg_ItemAlertOrBuilder getItemAlertOrBuilder() {
return itemAlert_;
}
private void initFields() {
playerId_ = 0;
itemAlert_ = com.dota2.proto.DotaCommonmessages.CDOTAMsg_ItemAlert.getDefaultInstance();
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
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, itemAlert_);
}
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, itemAlert_);
}
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 com.dota2.proto.DotaUsermessages.CDOTAUserMsg_ItemAlert parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_ItemAlert parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_ItemAlert parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_ItemAlert parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_ItemAlert parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_ItemAlert parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_ItemAlert parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_ItemAlert parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_ItemAlert parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_ItemAlert 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(com.dota2.proto.DotaUsermessages.CDOTAUserMsg_ItemAlert 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_ItemAlert}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder
implements com.dota2.proto.DotaUsermessages.CDOTAUserMsg_ItemAlertOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_ItemAlert_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_ItemAlert_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_ItemAlert.class, com.dota2.proto.DotaUsermessages.CDOTAUserMsg_ItemAlert.Builder.class);
}
// Construct using com.dota2.proto.DotaUsermessages.CDOTAUserMsg_ItemAlert.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
getItemAlertFieldBuilder();
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
playerId_ = 0;
bitField0_ = (bitField0_ & ~0x00000001);
if (itemAlertBuilder_ == null) {
itemAlert_ = com.dota2.proto.DotaCommonmessages.CDOTAMsg_ItemAlert.getDefaultInstance();
} else {
itemAlertBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_ItemAlert_descriptor;
}
public com.dota2.proto.DotaUsermessages.CDOTAUserMsg_ItemAlert getDefaultInstanceForType() {
return com.dota2.proto.DotaUsermessages.CDOTAUserMsg_ItemAlert.getDefaultInstance();
}
public com.dota2.proto.DotaUsermessages.CDOTAUserMsg_ItemAlert build() {
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_ItemAlert result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.dota2.proto.DotaUsermessages.CDOTAUserMsg_ItemAlert buildPartial() {
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_ItemAlert result = new com.dota2.proto.DotaUsermessages.CDOTAUserMsg_ItemAlert(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 (itemAlertBuilder_ == null) {
result.itemAlert_ = itemAlert_;
} else {
result.itemAlert_ = itemAlertBuilder_.build();
}
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.dota2.proto.DotaUsermessages.CDOTAUserMsg_ItemAlert) {
return mergeFrom((com.dota2.proto.DotaUsermessages.CDOTAUserMsg_ItemAlert)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.dota2.proto.DotaUsermessages.CDOTAUserMsg_ItemAlert other) {
if (other == com.dota2.proto.DotaUsermessages.CDOTAUserMsg_ItemAlert.getDefaultInstance()) return this;
if (other.hasPlayerId()) {
setPlayerId(other.getPlayerId());
}
if (other.hasItemAlert()) {
mergeItemAlert(other.getItemAlert());
}
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 {
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_ItemAlert parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.dota2.proto.DotaUsermessages.CDOTAUserMsg_ItemAlert) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// optional uint32 player_id = 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_;
}
/**
* 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;
}
// optional .CDOTAMsg_ItemAlert item_alert = 2;
private com.dota2.proto.DotaCommonmessages.CDOTAMsg_ItemAlert itemAlert_ = com.dota2.proto.DotaCommonmessages.CDOTAMsg_ItemAlert.getDefaultInstance();
private com.google.protobuf.SingleFieldBuilder<
com.dota2.proto.DotaCommonmessages.CDOTAMsg_ItemAlert, com.dota2.proto.DotaCommonmessages.CDOTAMsg_ItemAlert.Builder, com.dota2.proto.DotaCommonmessages.CDOTAMsg_ItemAlertOrBuilder> itemAlertBuilder_;
/**
* optional .CDOTAMsg_ItemAlert item_alert = 2;
*/
public boolean hasItemAlert() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional .CDOTAMsg_ItemAlert item_alert = 2;
*/
public com.dota2.proto.DotaCommonmessages.CDOTAMsg_ItemAlert getItemAlert() {
if (itemAlertBuilder_ == null) {
return itemAlert_;
} else {
return itemAlertBuilder_.getMessage();
}
}
/**
* optional .CDOTAMsg_ItemAlert item_alert = 2;
*/
public Builder setItemAlert(com.dota2.proto.DotaCommonmessages.CDOTAMsg_ItemAlert value) {
if (itemAlertBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
itemAlert_ = value;
onChanged();
} else {
itemAlertBuilder_.setMessage(value);
}
bitField0_ |= 0x00000002;
return this;
}
/**
* optional .CDOTAMsg_ItemAlert item_alert = 2;
*/
public Builder setItemAlert(
com.dota2.proto.DotaCommonmessages.CDOTAMsg_ItemAlert.Builder builderForValue) {
if (itemAlertBuilder_ == null) {
itemAlert_ = builderForValue.build();
onChanged();
} else {
itemAlertBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000002;
return this;
}
/**
* optional .CDOTAMsg_ItemAlert item_alert = 2;
*/
public Builder mergeItemAlert(com.dota2.proto.DotaCommonmessages.CDOTAMsg_ItemAlert value) {
if (itemAlertBuilder_ == null) {
if (((bitField0_ & 0x00000002) == 0x00000002) &&
itemAlert_ != com.dota2.proto.DotaCommonmessages.CDOTAMsg_ItemAlert.getDefaultInstance()) {
itemAlert_ =
com.dota2.proto.DotaCommonmessages.CDOTAMsg_ItemAlert.newBuilder(itemAlert_).mergeFrom(value).buildPartial();
} else {
itemAlert_ = value;
}
onChanged();
} else {
itemAlertBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000002;
return this;
}
/**
* optional .CDOTAMsg_ItemAlert item_alert = 2;
*/
public Builder clearItemAlert() {
if (itemAlertBuilder_ == null) {
itemAlert_ = com.dota2.proto.DotaCommonmessages.CDOTAMsg_ItemAlert.getDefaultInstance();
onChanged();
} else {
itemAlertBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
/**
* optional .CDOTAMsg_ItemAlert item_alert = 2;
*/
public com.dota2.proto.DotaCommonmessages.CDOTAMsg_ItemAlert.Builder getItemAlertBuilder() {
bitField0_ |= 0x00000002;
onChanged();
return getItemAlertFieldBuilder().getBuilder();
}
/**
* optional .CDOTAMsg_ItemAlert item_alert = 2;
*/
public com.dota2.proto.DotaCommonmessages.CDOTAMsg_ItemAlertOrBuilder getItemAlertOrBuilder() {
if (itemAlertBuilder_ != null) {
return itemAlertBuilder_.getMessageOrBuilder();
} else {
return itemAlert_;
}
}
/**
* optional .CDOTAMsg_ItemAlert item_alert = 2;
*/
private com.google.protobuf.SingleFieldBuilder<
com.dota2.proto.DotaCommonmessages.CDOTAMsg_ItemAlert, com.dota2.proto.DotaCommonmessages.CDOTAMsg_ItemAlert.Builder, com.dota2.proto.DotaCommonmessages.CDOTAMsg_ItemAlertOrBuilder>
getItemAlertFieldBuilder() {
if (itemAlertBuilder_ == null) {
itemAlertBuilder_ = new com.google.protobuf.SingleFieldBuilder<
com.dota2.proto.DotaCommonmessages.CDOTAMsg_ItemAlert, com.dota2.proto.DotaCommonmessages.CDOTAMsg_ItemAlert.Builder, com.dota2.proto.DotaCommonmessages.CDOTAMsg_ItemAlertOrBuilder>(
itemAlert_,
getParentForChildren(),
isClean());
itemAlert_ = null;
}
return itemAlertBuilder_;
}
// @@protoc_insertion_point(builder_scope:CDOTAUserMsg_ItemAlert)
}
static {
defaultInstance = new CDOTAUserMsg_ItemAlert(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:CDOTAUserMsg_ItemAlert)
}
public interface CDOTAUserMsg_EnemyItemAlertOrBuilder
extends com.google.protobuf.MessageOrBuilder {
// optional uint32 player_id = 1;
/**
* optional uint32 player_id = 1;
*/
boolean hasPlayerId();
/**
* optional uint32 player_id = 1;
*/
int getPlayerId();
// optional .CDOTAMsg_EnemyItemAlert enemy_item_alert = 2;
/**
* optional .CDOTAMsg_EnemyItemAlert enemy_item_alert = 2;
*/
boolean hasEnemyItemAlert();
/**
* optional .CDOTAMsg_EnemyItemAlert enemy_item_alert = 2;
*/
com.dota2.proto.DotaCommonmessages.CDOTAMsg_EnemyItemAlert getEnemyItemAlert();
/**
* optional .CDOTAMsg_EnemyItemAlert enemy_item_alert = 2;
*/
com.dota2.proto.DotaCommonmessages.CDOTAMsg_EnemyItemAlertOrBuilder getEnemyItemAlertOrBuilder();
}
/**
* Protobuf type {@code CDOTAUserMsg_EnemyItemAlert}
*/
public static final class CDOTAUserMsg_EnemyItemAlert extends
com.google.protobuf.GeneratedMessage
implements 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 18: {
com.dota2.proto.DotaCommonmessages.CDOTAMsg_EnemyItemAlert.Builder subBuilder = null;
if (((bitField0_ & 0x00000002) == 0x00000002)) {
subBuilder = enemyItemAlert_.toBuilder();
}
enemyItemAlert_ = input.readMessage(com.dota2.proto.DotaCommonmessages.CDOTAMsg_EnemyItemAlert.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(enemyItemAlert_);
enemyItemAlert_ = 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 com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_EnemyItemAlert_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_EnemyItemAlert_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_EnemyItemAlert.class, com.dota2.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_;
// optional uint32 player_id = 1;
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_;
}
// optional .CDOTAMsg_EnemyItemAlert enemy_item_alert = 2;
public static final int ENEMY_ITEM_ALERT_FIELD_NUMBER = 2;
private com.dota2.proto.DotaCommonmessages.CDOTAMsg_EnemyItemAlert enemyItemAlert_;
/**
* optional .CDOTAMsg_EnemyItemAlert enemy_item_alert = 2;
*/
public boolean hasEnemyItemAlert() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional .CDOTAMsg_EnemyItemAlert enemy_item_alert = 2;
*/
public com.dota2.proto.DotaCommonmessages.CDOTAMsg_EnemyItemAlert getEnemyItemAlert() {
return enemyItemAlert_;
}
/**
* optional .CDOTAMsg_EnemyItemAlert enemy_item_alert = 2;
*/
public com.dota2.proto.DotaCommonmessages.CDOTAMsg_EnemyItemAlertOrBuilder getEnemyItemAlertOrBuilder() {
return enemyItemAlert_;
}
private void initFields() {
playerId_ = 0;
enemyItemAlert_ = com.dota2.proto.DotaCommonmessages.CDOTAMsg_EnemyItemAlert.getDefaultInstance();
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
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, enemyItemAlert_);
}
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, enemyItemAlert_);
}
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 com.dota2.proto.DotaUsermessages.CDOTAUserMsg_EnemyItemAlert parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.dota2.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 com.dota2.proto.DotaUsermessages.CDOTAUserMsg_EnemyItemAlert parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_EnemyItemAlert parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_EnemyItemAlert parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.dota2.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 com.dota2.proto.DotaUsermessages.CDOTAUserMsg_EnemyItemAlert parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static com.dota2.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 com.dota2.proto.DotaUsermessages.CDOTAUserMsg_EnemyItemAlert parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.dota2.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(com.dota2.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 com.dota2.proto.DotaUsermessages.CDOTAUserMsg_EnemyItemAlertOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_EnemyItemAlert_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_EnemyItemAlert_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_EnemyItemAlert.class, com.dota2.proto.DotaUsermessages.CDOTAUserMsg_EnemyItemAlert.Builder.class);
}
// Construct using com.dota2.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) {
getEnemyItemAlertFieldBuilder();
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
playerId_ = 0;
bitField0_ = (bitField0_ & ~0x00000001);
if (enemyItemAlertBuilder_ == null) {
enemyItemAlert_ = com.dota2.proto.DotaCommonmessages.CDOTAMsg_EnemyItemAlert.getDefaultInstance();
} else {
enemyItemAlertBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_EnemyItemAlert_descriptor;
}
public com.dota2.proto.DotaUsermessages.CDOTAUserMsg_EnemyItemAlert getDefaultInstanceForType() {
return com.dota2.proto.DotaUsermessages.CDOTAUserMsg_EnemyItemAlert.getDefaultInstance();
}
public com.dota2.proto.DotaUsermessages.CDOTAUserMsg_EnemyItemAlert build() {
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_EnemyItemAlert result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.dota2.proto.DotaUsermessages.CDOTAUserMsg_EnemyItemAlert buildPartial() {
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_EnemyItemAlert result = new com.dota2.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;
}
if (enemyItemAlertBuilder_ == null) {
result.enemyItemAlert_ = enemyItemAlert_;
} else {
result.enemyItemAlert_ = enemyItemAlertBuilder_.build();
}
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.dota2.proto.DotaUsermessages.CDOTAUserMsg_EnemyItemAlert) {
return mergeFrom((com.dota2.proto.DotaUsermessages.CDOTAUserMsg_EnemyItemAlert)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.dota2.proto.DotaUsermessages.CDOTAUserMsg_EnemyItemAlert other) {
if (other == com.dota2.proto.DotaUsermessages.CDOTAUserMsg_EnemyItemAlert.getDefaultInstance()) return this;
if (other.hasPlayerId()) {
setPlayerId(other.getPlayerId());
}
if (other.hasEnemyItemAlert()) {
mergeEnemyItemAlert(other.getEnemyItemAlert());
}
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 {
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_EnemyItemAlert parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.dota2.proto.DotaUsermessages.CDOTAUserMsg_EnemyItemAlert) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// optional uint32 player_id = 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_;
}
/**
* 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;
}
// optional .CDOTAMsg_EnemyItemAlert enemy_item_alert = 2;
private com.dota2.proto.DotaCommonmessages.CDOTAMsg_EnemyItemAlert enemyItemAlert_ = com.dota2.proto.DotaCommonmessages.CDOTAMsg_EnemyItemAlert.getDefaultInstance();
private com.google.protobuf.SingleFieldBuilder<
com.dota2.proto.DotaCommonmessages.CDOTAMsg_EnemyItemAlert, com.dota2.proto.DotaCommonmessages.CDOTAMsg_EnemyItemAlert.Builder, com.dota2.proto.DotaCommonmessages.CDOTAMsg_EnemyItemAlertOrBuilder> enemyItemAlertBuilder_;
/**
* optional .CDOTAMsg_EnemyItemAlert enemy_item_alert = 2;
*/
public boolean hasEnemyItemAlert() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional .CDOTAMsg_EnemyItemAlert enemy_item_alert = 2;
*/
public com.dota2.proto.DotaCommonmessages.CDOTAMsg_EnemyItemAlert getEnemyItemAlert() {
if (enemyItemAlertBuilder_ == null) {
return enemyItemAlert_;
} else {
return enemyItemAlertBuilder_.getMessage();
}
}
/**
* optional .CDOTAMsg_EnemyItemAlert enemy_item_alert = 2;
*/
public Builder setEnemyItemAlert(com.dota2.proto.DotaCommonmessages.CDOTAMsg_EnemyItemAlert value) {
if (enemyItemAlertBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
enemyItemAlert_ = value;
onChanged();
} else {
enemyItemAlertBuilder_.setMessage(value);
}
bitField0_ |= 0x00000002;
return this;
}
/**
* optional .CDOTAMsg_EnemyItemAlert enemy_item_alert = 2;
*/
public Builder setEnemyItemAlert(
com.dota2.proto.DotaCommonmessages.CDOTAMsg_EnemyItemAlert.Builder builderForValue) {
if (enemyItemAlertBuilder_ == null) {
enemyItemAlert_ = builderForValue.build();
onChanged();
} else {
enemyItemAlertBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000002;
return this;
}
/**
* optional .CDOTAMsg_EnemyItemAlert enemy_item_alert = 2;
*/
public Builder mergeEnemyItemAlert(com.dota2.proto.DotaCommonmessages.CDOTAMsg_EnemyItemAlert value) {
if (enemyItemAlertBuilder_ == null) {
if (((bitField0_ & 0x00000002) == 0x00000002) &&
enemyItemAlert_ != com.dota2.proto.DotaCommonmessages.CDOTAMsg_EnemyItemAlert.getDefaultInstance()) {
enemyItemAlert_ =
com.dota2.proto.DotaCommonmessages.CDOTAMsg_EnemyItemAlert.newBuilder(enemyItemAlert_).mergeFrom(value).buildPartial();
} else {
enemyItemAlert_ = value;
}
onChanged();
} else {
enemyItemAlertBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000002;
return this;
}
/**
* optional .CDOTAMsg_EnemyItemAlert enemy_item_alert = 2;
*/
public Builder clearEnemyItemAlert() {
if (enemyItemAlertBuilder_ == null) {
enemyItemAlert_ = com.dota2.proto.DotaCommonmessages.CDOTAMsg_EnemyItemAlert.getDefaultInstance();
onChanged();
} else {
enemyItemAlertBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
/**
* optional .CDOTAMsg_EnemyItemAlert enemy_item_alert = 2;
*/
public com.dota2.proto.DotaCommonmessages.CDOTAMsg_EnemyItemAlert.Builder getEnemyItemAlertBuilder() {
bitField0_ |= 0x00000002;
onChanged();
return getEnemyItemAlertFieldBuilder().getBuilder();
}
/**
* optional .CDOTAMsg_EnemyItemAlert enemy_item_alert = 2;
*/
public com.dota2.proto.DotaCommonmessages.CDOTAMsg_EnemyItemAlertOrBuilder getEnemyItemAlertOrBuilder() {
if (enemyItemAlertBuilder_ != null) {
return enemyItemAlertBuilder_.getMessageOrBuilder();
} else {
return enemyItemAlert_;
}
}
/**
* optional .CDOTAMsg_EnemyItemAlert enemy_item_alert = 2;
*/
private com.google.protobuf.SingleFieldBuilder<
com.dota2.proto.DotaCommonmessages.CDOTAMsg_EnemyItemAlert, com.dota2.proto.DotaCommonmessages.CDOTAMsg_EnemyItemAlert.Builder, com.dota2.proto.DotaCommonmessages.CDOTAMsg_EnemyItemAlertOrBuilder>
getEnemyItemAlertFieldBuilder() {
if (enemyItemAlertBuilder_ == null) {
enemyItemAlertBuilder_ = new com.google.protobuf.SingleFieldBuilder<
com.dota2.proto.DotaCommonmessages.CDOTAMsg_EnemyItemAlert, com.dota2.proto.DotaCommonmessages.CDOTAMsg_EnemyItemAlert.Builder, com.dota2.proto.DotaCommonmessages.CDOTAMsg_EnemyItemAlertOrBuilder>(
enemyItemAlert_,
getParentForChildren(),
isClean());
enemyItemAlert_ = null;
}
return enemyItemAlertBuilder_;
}
// @@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_WillPurchaseAlertOrBuilder
extends com.google.protobuf.MessageOrBuilder {
// optional int32 itemid = 1;
/**
* optional int32 itemid = 1;
*/
boolean hasItemid();
/**
* optional int32 itemid = 1;
*/
int getItemid();
// optional int32 player_id = 2;
/**
* optional int32 player_id = 2;
*/
boolean hasPlayerId();
/**
* optional int32 player_id = 2;
*/
int getPlayerId();
// optional uint32 gold_remaining = 3;
/**
* optional uint32 gold_remaining = 3;
*/
boolean hasGoldRemaining();
/**
* optional uint32 gold_remaining = 3;
*/
int getGoldRemaining();
}
/**
* Protobuf type {@code CDOTAUserMsg_WillPurchaseAlert}
*/
public static final class CDOTAUserMsg_WillPurchaseAlert extends
com.google.protobuf.GeneratedMessage
implements 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;
itemid_ = input.readInt32();
break;
}
case 16: {
bitField0_ |= 0x00000002;
playerId_ = input.readInt32();
break;
}
case 24: {
bitField0_ |= 0x00000004;
goldRemaining_ = 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 com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_WillPurchaseAlert_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_WillPurchaseAlert_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_WillPurchaseAlert.class, com.dota2.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_;
// optional int32 itemid = 1;
public static final int ITEMID_FIELD_NUMBER = 1;
private int itemid_;
/**
* optional int32 itemid = 1;
*/
public boolean hasItemid() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional int32 itemid = 1;
*/
public int getItemid() {
return itemid_;
}
// optional int32 player_id = 2;
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_;
}
// optional uint32 gold_remaining = 3;
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_;
}
private void initFields() {
itemid_ = 0;
playerId_ = 0;
goldRemaining_ = 0;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeInt32(1, itemid_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeInt32(2, playerId_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
output.writeUInt32(3, goldRemaining_);
}
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, itemid_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(2, playerId_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(3, goldRemaining_);
}
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 com.dota2.proto.DotaUsermessages.CDOTAUserMsg_WillPurchaseAlert parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.dota2.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 com.dota2.proto.DotaUsermessages.CDOTAUserMsg_WillPurchaseAlert parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_WillPurchaseAlert parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_WillPurchaseAlert parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.dota2.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 com.dota2.proto.DotaUsermessages.CDOTAUserMsg_WillPurchaseAlert parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static com.dota2.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 com.dota2.proto.DotaUsermessages.CDOTAUserMsg_WillPurchaseAlert parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.dota2.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(com.dota2.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 com.dota2.proto.DotaUsermessages.CDOTAUserMsg_WillPurchaseAlertOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_WillPurchaseAlert_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_WillPurchaseAlert_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_WillPurchaseAlert.class, com.dota2.proto.DotaUsermessages.CDOTAUserMsg_WillPurchaseAlert.Builder.class);
}
// Construct using com.dota2.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();
itemid_ = 0;
bitField0_ = (bitField0_ & ~0x00000001);
playerId_ = 0;
bitField0_ = (bitField0_ & ~0x00000002);
goldRemaining_ = 0;
bitField0_ = (bitField0_ & ~0x00000004);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_WillPurchaseAlert_descriptor;
}
public com.dota2.proto.DotaUsermessages.CDOTAUserMsg_WillPurchaseAlert getDefaultInstanceForType() {
return com.dota2.proto.DotaUsermessages.CDOTAUserMsg_WillPurchaseAlert.getDefaultInstance();
}
public com.dota2.proto.DotaUsermessages.CDOTAUserMsg_WillPurchaseAlert build() {
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_WillPurchaseAlert result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.dota2.proto.DotaUsermessages.CDOTAUserMsg_WillPurchaseAlert buildPartial() {
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_WillPurchaseAlert result = new com.dota2.proto.DotaUsermessages.CDOTAUserMsg_WillPurchaseAlert(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.itemid_ = itemid_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.playerId_ = playerId_;
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
to_bitField0_ |= 0x00000004;
}
result.goldRemaining_ = goldRemaining_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.dota2.proto.DotaUsermessages.CDOTAUserMsg_WillPurchaseAlert) {
return mergeFrom((com.dota2.proto.DotaUsermessages.CDOTAUserMsg_WillPurchaseAlert)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.dota2.proto.DotaUsermessages.CDOTAUserMsg_WillPurchaseAlert other) {
if (other == com.dota2.proto.DotaUsermessages.CDOTAUserMsg_WillPurchaseAlert.getDefaultInstance()) return this;
if (other.hasItemid()) {
setItemid(other.getItemid());
}
if (other.hasPlayerId()) {
setPlayerId(other.getPlayerId());
}
if (other.hasGoldRemaining()) {
setGoldRemaining(other.getGoldRemaining());
}
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 {
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_WillPurchaseAlert parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.dota2.proto.DotaUsermessages.CDOTAUserMsg_WillPurchaseAlert) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// optional int32 itemid = 1;
private int itemid_ ;
/**
* optional int32 itemid = 1;
*/
public boolean hasItemid() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional int32 itemid = 1;
*/
public int getItemid() {
return itemid_;
}
/**
* optional int32 itemid = 1;
*/
public Builder setItemid(int value) {
bitField0_ |= 0x00000001;
itemid_ = value;
onChanged();
return this;
}
/**
* optional int32 itemid = 1;
*/
public Builder clearItemid() {
bitField0_ = (bitField0_ & ~0x00000001);
itemid_ = 0;
onChanged();
return this;
}
// optional int32 player_id = 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_;
}
/**
* 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;
}
// optional uint32 gold_remaining = 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_;
}
/**
* 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;
}
// @@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_BuyBackStateAlertOrBuilder
extends com.google.protobuf.MessageOrBuilder {
// optional int32 player_id = 1;
/**
* optional int32 player_id = 1;
*/
boolean hasPlayerId();
/**
* optional int32 player_id = 1;
*/
int getPlayerId();
}
/**
* Protobuf type {@code CDOTAUserMsg_BuyBackStateAlert}
*/
public static final class CDOTAUserMsg_BuyBackStateAlert extends
com.google.protobuf.GeneratedMessage
implements CDOTAUserMsg_BuyBackStateAlertOrBuilder {
// Use CDOTAUserMsg_BuyBackStateAlert.newBuilder() to construct.
private CDOTAUserMsg_BuyBackStateAlert(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private CDOTAUserMsg_BuyBackStateAlert(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final CDOTAUserMsg_BuyBackStateAlert defaultInstance;
public static CDOTAUserMsg_BuyBackStateAlert getDefaultInstance() {
return defaultInstance;
}
public CDOTAUserMsg_BuyBackStateAlert 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_BuyBackStateAlert(
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;
}
}
}
} 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 com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_BuyBackStateAlert_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_BuyBackStateAlert_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_BuyBackStateAlert.class, com.dota2.proto.DotaUsermessages.CDOTAUserMsg_BuyBackStateAlert.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public CDOTAUserMsg_BuyBackStateAlert parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new CDOTAUserMsg_BuyBackStateAlert(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
// optional int32 player_id = 1;
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_;
}
private void initFields() {
playerId_ = 0;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
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_);
}
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_);
}
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 com.dota2.proto.DotaUsermessages.CDOTAUserMsg_BuyBackStateAlert parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_BuyBackStateAlert parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_BuyBackStateAlert parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_BuyBackStateAlert parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_BuyBackStateAlert parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_BuyBackStateAlert parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_BuyBackStateAlert parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_BuyBackStateAlert parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_BuyBackStateAlert parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_BuyBackStateAlert 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(com.dota2.proto.DotaUsermessages.CDOTAUserMsg_BuyBackStateAlert 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_BuyBackStateAlert}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder
implements com.dota2.proto.DotaUsermessages.CDOTAUserMsg_BuyBackStateAlertOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_BuyBackStateAlert_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_BuyBackStateAlert_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_BuyBackStateAlert.class, com.dota2.proto.DotaUsermessages.CDOTAUserMsg_BuyBackStateAlert.Builder.class);
}
// Construct using com.dota2.proto.DotaUsermessages.CDOTAUserMsg_BuyBackStateAlert.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);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_BuyBackStateAlert_descriptor;
}
public com.dota2.proto.DotaUsermessages.CDOTAUserMsg_BuyBackStateAlert getDefaultInstanceForType() {
return com.dota2.proto.DotaUsermessages.CDOTAUserMsg_BuyBackStateAlert.getDefaultInstance();
}
public com.dota2.proto.DotaUsermessages.CDOTAUserMsg_BuyBackStateAlert build() {
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_BuyBackStateAlert result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.dota2.proto.DotaUsermessages.CDOTAUserMsg_BuyBackStateAlert buildPartial() {
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_BuyBackStateAlert result = new com.dota2.proto.DotaUsermessages.CDOTAUserMsg_BuyBackStateAlert(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.playerId_ = playerId_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.dota2.proto.DotaUsermessages.CDOTAUserMsg_BuyBackStateAlert) {
return mergeFrom((com.dota2.proto.DotaUsermessages.CDOTAUserMsg_BuyBackStateAlert)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.dota2.proto.DotaUsermessages.CDOTAUserMsg_BuyBackStateAlert other) {
if (other == com.dota2.proto.DotaUsermessages.CDOTAUserMsg_BuyBackStateAlert.getDefaultInstance()) return this;
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 {
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_BuyBackStateAlert parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.dota2.proto.DotaUsermessages.CDOTAUserMsg_BuyBackStateAlert) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// optional int32 player_id = 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_;
}
/**
* 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;
}
// @@protoc_insertion_point(builder_scope:CDOTAUserMsg_BuyBackStateAlert)
}
static {
defaultInstance = new CDOTAUserMsg_BuyBackStateAlert(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:CDOTAUserMsg_BuyBackStateAlert)
}
public interface CDOTAUserMsg_QuickBuyAlertOrBuilder
extends com.google.protobuf.MessageOrBuilder {
// optional int32 player_id = 1;
/**
* optional int32 player_id = 1;
*/
boolean hasPlayerId();
/**
* optional int32 player_id = 1;
*/
int getPlayerId();
// optional int32 itemid = 2;
/**
* optional int32 itemid = 2;
*/
boolean hasItemid();
/**
* optional int32 itemid = 2;
*/
int getItemid();
// optional int32 gold_required = 3;
/**
* optional int32 gold_required = 3;
*/
boolean hasGoldRequired();
/**
* optional int32 gold_required = 3;
*/
int getGoldRequired();
}
/**
* Protobuf type {@code CDOTAUserMsg_QuickBuyAlert}
*/
public static final class CDOTAUserMsg_QuickBuyAlert extends
com.google.protobuf.GeneratedMessage
implements 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;
itemid_ = input.readInt32();
break;
}
case 24: {
bitField0_ |= 0x00000004;
goldRequired_ = 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 com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_QuickBuyAlert_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_QuickBuyAlert_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_QuickBuyAlert.class, com.dota2.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_;
// optional int32 player_id = 1;
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_;
}
// optional int32 itemid = 2;
public static final int ITEMID_FIELD_NUMBER = 2;
private int itemid_;
/**
* optional int32 itemid = 2;
*/
public boolean hasItemid() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional int32 itemid = 2;
*/
public int getItemid() {
return itemid_;
}
// optional int32 gold_required = 3;
public static final int GOLD_REQUIRED_FIELD_NUMBER = 3;
private int goldRequired_;
/**
* optional int32 gold_required = 3;
*/
public boolean hasGoldRequired() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional int32 gold_required = 3;
*/
public int getGoldRequired() {
return goldRequired_;
}
private void initFields() {
playerId_ = 0;
itemid_ = 0;
goldRequired_ = 0;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
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, itemid_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
output.writeInt32(3, goldRequired_);
}
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, itemid_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(3, goldRequired_);
}
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 com.dota2.proto.DotaUsermessages.CDOTAUserMsg_QuickBuyAlert parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.dota2.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 com.dota2.proto.DotaUsermessages.CDOTAUserMsg_QuickBuyAlert parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_QuickBuyAlert parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_QuickBuyAlert parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.dota2.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 com.dota2.proto.DotaUsermessages.CDOTAUserMsg_QuickBuyAlert parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static com.dota2.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 com.dota2.proto.DotaUsermessages.CDOTAUserMsg_QuickBuyAlert parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.dota2.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(com.dota2.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 com.dota2.proto.DotaUsermessages.CDOTAUserMsg_QuickBuyAlertOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_QuickBuyAlert_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_QuickBuyAlert_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_QuickBuyAlert.class, com.dota2.proto.DotaUsermessages.CDOTAUserMsg_QuickBuyAlert.Builder.class);
}
// Construct using com.dota2.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);
itemid_ = 0;
bitField0_ = (bitField0_ & ~0x00000002);
goldRequired_ = 0;
bitField0_ = (bitField0_ & ~0x00000004);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_QuickBuyAlert_descriptor;
}
public com.dota2.proto.DotaUsermessages.CDOTAUserMsg_QuickBuyAlert getDefaultInstanceForType() {
return com.dota2.proto.DotaUsermessages.CDOTAUserMsg_QuickBuyAlert.getDefaultInstance();
}
public com.dota2.proto.DotaUsermessages.CDOTAUserMsg_QuickBuyAlert build() {
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_QuickBuyAlert result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.dota2.proto.DotaUsermessages.CDOTAUserMsg_QuickBuyAlert buildPartial() {
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_QuickBuyAlert result = new com.dota2.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.itemid_ = itemid_;
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
to_bitField0_ |= 0x00000004;
}
result.goldRequired_ = goldRequired_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.dota2.proto.DotaUsermessages.CDOTAUserMsg_QuickBuyAlert) {
return mergeFrom((com.dota2.proto.DotaUsermessages.CDOTAUserMsg_QuickBuyAlert)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.dota2.proto.DotaUsermessages.CDOTAUserMsg_QuickBuyAlert other) {
if (other == com.dota2.proto.DotaUsermessages.CDOTAUserMsg_QuickBuyAlert.getDefaultInstance()) return this;
if (other.hasPlayerId()) {
setPlayerId(other.getPlayerId());
}
if (other.hasItemid()) {
setItemid(other.getItemid());
}
if (other.hasGoldRequired()) {
setGoldRequired(other.getGoldRequired());
}
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 {
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_QuickBuyAlert parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.dota2.proto.DotaUsermessages.CDOTAUserMsg_QuickBuyAlert) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// optional int32 player_id = 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_;
}
/**
* 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;
}
// optional int32 itemid = 2;
private int itemid_ ;
/**
* optional int32 itemid = 2;
*/
public boolean hasItemid() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional int32 itemid = 2;
*/
public int getItemid() {
return itemid_;
}
/**
* optional int32 itemid = 2;
*/
public Builder setItemid(int value) {
bitField0_ |= 0x00000002;
itemid_ = value;
onChanged();
return this;
}
/**
* optional int32 itemid = 2;
*/
public Builder clearItemid() {
bitField0_ = (bitField0_ & ~0x00000002);
itemid_ = 0;
onChanged();
return this;
}
// optional int32 gold_required = 3;
private int goldRequired_ ;
/**
* optional int32 gold_required = 3;
*/
public boolean hasGoldRequired() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional int32 gold_required = 3;
*/
public int getGoldRequired() {
return goldRequired_;
}
/**
* optional int32 gold_required = 3;
*/
public Builder setGoldRequired(int value) {
bitField0_ |= 0x00000004;
goldRequired_ = value;
onChanged();
return this;
}
/**
* optional int32 gold_required = 3;
*/
public Builder clearGoldRequired() {
bitField0_ = (bitField0_ & ~0x00000004);
goldRequired_ = 0;
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 com.google.protobuf.MessageOrBuilder {
// optional uint32 team = 1;
/**
* optional uint32 team = 1;
*/
boolean hasTeam();
/**
* optional uint32 team = 1;
*/
int getTeam();
// optional uint32 gold_value = 2;
/**
* optional uint32 gold_value = 2;
*/
boolean hasGoldValue();
/**
* optional uint32 gold_value = 2;
*/
int getGoldValue();
// optional int32 entity_handle = 3;
/**
* optional int32 entity_handle = 3;
*/
boolean hasEntityHandle();
/**
* optional int32 entity_handle = 3;
*/
int getEntityHandle();
// optional int32 timestamp = 4;
/**
* optional int32 timestamp = 4;
*/
boolean hasTimestamp();
/**
* optional int32 timestamp = 4;
*/
int getTimestamp();
}
/**
* Protobuf type {@code CDOTAUserMsg_CourierKilledAlert}
*/
public static final class CDOTAUserMsg_CourierKilledAlert extends
com.google.protobuf.GeneratedMessage
implements 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;
}
}
}
} 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 com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_CourierKilledAlert_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_CourierKilledAlert_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_CourierKilledAlert.class, com.dota2.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;
}
private int bitField0_;
// optional uint32 team = 1;
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_;
}
// optional uint32 gold_value = 2;
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_;
}
// optional int32 entity_handle = 3;
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_;
}
// optional int32 timestamp = 4;
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_;
}
private void initFields() {
team_ = 0;
goldValue_ = 0;
entityHandle_ = 0;
timestamp_ = 0;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
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_);
}
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_);
}
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 com.dota2.proto.DotaUsermessages.CDOTAUserMsg_CourierKilledAlert parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.dota2.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 com.dota2.proto.DotaUsermessages.CDOTAUserMsg_CourierKilledAlert parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_CourierKilledAlert parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_CourierKilledAlert parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.dota2.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 com.dota2.proto.DotaUsermessages.CDOTAUserMsg_CourierKilledAlert parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static com.dota2.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 com.dota2.proto.DotaUsermessages.CDOTAUserMsg_CourierKilledAlert parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.dota2.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(com.dota2.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 com.dota2.proto.DotaUsermessages.CDOTAUserMsg_CourierKilledAlertOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_CourierKilledAlert_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_CourierKilledAlert_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_CourierKilledAlert.class, com.dota2.proto.DotaUsermessages.CDOTAUserMsg_CourierKilledAlert.Builder.class);
}
// Construct using com.dota2.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) {
}
}
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);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_CourierKilledAlert_descriptor;
}
public com.dota2.proto.DotaUsermessages.CDOTAUserMsg_CourierKilledAlert getDefaultInstanceForType() {
return com.dota2.proto.DotaUsermessages.CDOTAUserMsg_CourierKilledAlert.getDefaultInstance();
}
public com.dota2.proto.DotaUsermessages.CDOTAUserMsg_CourierKilledAlert build() {
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_CourierKilledAlert result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.dota2.proto.DotaUsermessages.CDOTAUserMsg_CourierKilledAlert buildPartial() {
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_CourierKilledAlert result = new com.dota2.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_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.dota2.proto.DotaUsermessages.CDOTAUserMsg_CourierKilledAlert) {
return mergeFrom((com.dota2.proto.DotaUsermessages.CDOTAUserMsg_CourierKilledAlert)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.dota2.proto.DotaUsermessages.CDOTAUserMsg_CourierKilledAlert other) {
if (other == com.dota2.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());
}
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 {
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_CourierKilledAlert parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.dota2.proto.DotaUsermessages.CDOTAUserMsg_CourierKilledAlert) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// optional uint32 team = 1;
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;
}
// optional uint32 gold_value = 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_;
}
/**
* 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;
}
// optional int32 entity_handle = 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_;
}
/**
* 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;
}
// optional int32 timestamp = 4;
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;
}
// @@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 com.google.protobuf.MessageOrBuilder {
// optional int32 event_type = 1;
/**
* optional int32 event_type = 1;
*/
boolean hasEventType();
/**
* optional int32 event_type = 1;
*/
int getEventType();
// optional int32 entity_handle = 2;
/**
* optional int32 entity_handle = 2;
*/
boolean hasEntityHandle();
/**
* optional int32 entity_handle = 2;
*/
int getEntityHandle();
// optional int32 x = 3;
/**
* optional int32 x = 3;
*/
boolean hasX();
/**
* optional int32 x = 3;
*/
int getX();
// optional int32 y = 4;
/**
* optional int32 y = 4;
*/
boolean hasY();
/**
* optional int32 y = 4;
*/
int getY();
// optional int32 duration = 5;
/**
* optional int32 duration = 5;
*/
boolean hasDuration();
/**
* optional int32 duration = 5;
*/
int getDuration();
}
/**
* Protobuf type {@code CDOTAUserMsg_MinimapEvent}
*/
public static final class CDOTAUserMsg_MinimapEvent extends
com.google.protobuf.GeneratedMessage
implements 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;
}
}
}
} 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 com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_MinimapEvent_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_MinimapEvent_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_MinimapEvent.class, com.dota2.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_;
// optional int32 event_type = 1;
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_;
}
// optional int32 entity_handle = 2;
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_;
}
// optional int32 x = 3;
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_;
}
// optional int32 y = 4;
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_;
}
// optional int32 duration = 5;
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_;
}
private void initFields() {
eventType_ = 0;
entityHandle_ = 0;
x_ = 0;
y_ = 0;
duration_ = 0;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
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_);
}
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_);
}
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 com.dota2.proto.DotaUsermessages.CDOTAUserMsg_MinimapEvent parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.dota2.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 com.dota2.proto.DotaUsermessages.CDOTAUserMsg_MinimapEvent parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_MinimapEvent parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_MinimapEvent parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.dota2.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 com.dota2.proto.DotaUsermessages.CDOTAUserMsg_MinimapEvent parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static com.dota2.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 com.dota2.proto.DotaUsermessages.CDOTAUserMsg_MinimapEvent parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.dota2.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(com.dota2.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 com.dota2.proto.DotaUsermessages.CDOTAUserMsg_MinimapEventOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_MinimapEvent_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_MinimapEvent_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_MinimapEvent.class, com.dota2.proto.DotaUsermessages.CDOTAUserMsg_MinimapEvent.Builder.class);
}
// Construct using com.dota2.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);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_MinimapEvent_descriptor;
}
public com.dota2.proto.DotaUsermessages.CDOTAUserMsg_MinimapEvent getDefaultInstanceForType() {
return com.dota2.proto.DotaUsermessages.CDOTAUserMsg_MinimapEvent.getDefaultInstance();
}
public com.dota2.proto.DotaUsermessages.CDOTAUserMsg_MinimapEvent build() {
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_MinimapEvent result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.dota2.proto.DotaUsermessages.CDOTAUserMsg_MinimapEvent buildPartial() {
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_MinimapEvent result = new com.dota2.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_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.dota2.proto.DotaUsermessages.CDOTAUserMsg_MinimapEvent) {
return mergeFrom((com.dota2.proto.DotaUsermessages.CDOTAUserMsg_MinimapEvent)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.dota2.proto.DotaUsermessages.CDOTAUserMsg_MinimapEvent other) {
if (other == com.dota2.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());
}
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 {
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_MinimapEvent parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.dota2.proto.DotaUsermessages.CDOTAUserMsg_MinimapEvent) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// optional int32 event_type = 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_;
}
/**
* 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;
}
// optional int32 entity_handle = 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_;
}
/**
* 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;
}
// optional int32 x = 3;
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;
}
// optional int32 y = 4;
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;
}
// optional int32 duration = 5;
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;
}
// @@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_TournamentDropOrBuilder
extends com.google.protobuf.MessageOrBuilder {
// optional string deprecated_winner_name = 1;
/**
* optional string deprecated_winner_name = 1;
*/
boolean hasDeprecatedWinnerName();
/**
* optional string deprecated_winner_name = 1;
*/
java.lang.String getDeprecatedWinnerName();
/**
* optional string deprecated_winner_name = 1;
*/
com.google.protobuf.ByteString
getDeprecatedWinnerNameBytes();
// optional int32 deprecated_event_type = 2;
/**
* optional int32 deprecated_event_type = 2;
*/
boolean hasDeprecatedEventType();
/**
* optional int32 deprecated_event_type = 2;
*/
int getDeprecatedEventType();
}
/**
* Protobuf type {@code CDOTAUserMsg_TournamentDrop}
*/
public static final class CDOTAUserMsg_TournamentDrop extends
com.google.protobuf.GeneratedMessage
implements CDOTAUserMsg_TournamentDropOrBuilder {
// Use CDOTAUserMsg_TournamentDrop.newBuilder() to construct.
private CDOTAUserMsg_TournamentDrop(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private CDOTAUserMsg_TournamentDrop(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final CDOTAUserMsg_TournamentDrop defaultInstance;
public static CDOTAUserMsg_TournamentDrop getDefaultInstance() {
return defaultInstance;
}
public CDOTAUserMsg_TournamentDrop 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_TournamentDrop(
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: {
bitField0_ |= 0x00000001;
deprecatedWinnerName_ = input.readBytes();
break;
}
case 16: {
bitField0_ |= 0x00000002;
deprecatedEventType_ = 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 com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_TournamentDrop_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_TournamentDrop_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_TournamentDrop.class, com.dota2.proto.DotaUsermessages.CDOTAUserMsg_TournamentDrop.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public CDOTAUserMsg_TournamentDrop parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new CDOTAUserMsg_TournamentDrop(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
// optional string deprecated_winner_name = 1;
public static final int DEPRECATED_WINNER_NAME_FIELD_NUMBER = 1;
private java.lang.Object deprecatedWinnerName_;
/**
* optional string deprecated_winner_name = 1;
*/
public boolean hasDeprecatedWinnerName() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional string deprecated_winner_name = 1;
*/
public java.lang.String getDeprecatedWinnerName() {
java.lang.Object ref = deprecatedWinnerName_;
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()) {
deprecatedWinnerName_ = s;
}
return s;
}
}
/**
* optional string deprecated_winner_name = 1;
*/
public com.google.protobuf.ByteString
getDeprecatedWinnerNameBytes() {
java.lang.Object ref = deprecatedWinnerName_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
deprecatedWinnerName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
// optional int32 deprecated_event_type = 2;
public static final int DEPRECATED_EVENT_TYPE_FIELD_NUMBER = 2;
private int deprecatedEventType_;
/**
* optional int32 deprecated_event_type = 2;
*/
public boolean hasDeprecatedEventType() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional int32 deprecated_event_type = 2;
*/
public int getDeprecatedEventType() {
return deprecatedEventType_;
}
private void initFields() {
deprecatedWinnerName_ = "";
deprecatedEventType_ = 0;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeBytes(1, getDeprecatedWinnerNameBytes());
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeInt32(2, deprecatedEventType_);
}
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
.computeBytesSize(1, getDeprecatedWinnerNameBytes());
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(2, deprecatedEventType_);
}
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 com.dota2.proto.DotaUsermessages.CDOTAUserMsg_TournamentDrop parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_TournamentDrop parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_TournamentDrop parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_TournamentDrop parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_TournamentDrop parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_TournamentDrop parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_TournamentDrop parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_TournamentDrop parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_TournamentDrop parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_TournamentDrop 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(com.dota2.proto.DotaUsermessages.CDOTAUserMsg_TournamentDrop 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_TournamentDrop}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder
implements com.dota2.proto.DotaUsermessages.CDOTAUserMsg_TournamentDropOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_TournamentDrop_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_TournamentDrop_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_TournamentDrop.class, com.dota2.proto.DotaUsermessages.CDOTAUserMsg_TournamentDrop.Builder.class);
}
// Construct using com.dota2.proto.DotaUsermessages.CDOTAUserMsg_TournamentDrop.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();
deprecatedWinnerName_ = "";
bitField0_ = (bitField0_ & ~0x00000001);
deprecatedEventType_ = 0;
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_TournamentDrop_descriptor;
}
public com.dota2.proto.DotaUsermessages.CDOTAUserMsg_TournamentDrop getDefaultInstanceForType() {
return com.dota2.proto.DotaUsermessages.CDOTAUserMsg_TournamentDrop.getDefaultInstance();
}
public com.dota2.proto.DotaUsermessages.CDOTAUserMsg_TournamentDrop build() {
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_TournamentDrop result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.dota2.proto.DotaUsermessages.CDOTAUserMsg_TournamentDrop buildPartial() {
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_TournamentDrop result = new com.dota2.proto.DotaUsermessages.CDOTAUserMsg_TournamentDrop(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.deprecatedWinnerName_ = deprecatedWinnerName_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.deprecatedEventType_ = deprecatedEventType_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.dota2.proto.DotaUsermessages.CDOTAUserMsg_TournamentDrop) {
return mergeFrom((com.dota2.proto.DotaUsermessages.CDOTAUserMsg_TournamentDrop)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.dota2.proto.DotaUsermessages.CDOTAUserMsg_TournamentDrop other) {
if (other == com.dota2.proto.DotaUsermessages.CDOTAUserMsg_TournamentDrop.getDefaultInstance()) return this;
if (other.hasDeprecatedWinnerName()) {
bitField0_ |= 0x00000001;
deprecatedWinnerName_ = other.deprecatedWinnerName_;
onChanged();
}
if (other.hasDeprecatedEventType()) {
setDeprecatedEventType(other.getDeprecatedEventType());
}
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 {
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_TournamentDrop parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.dota2.proto.DotaUsermessages.CDOTAUserMsg_TournamentDrop) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// optional string deprecated_winner_name = 1;
private java.lang.Object deprecatedWinnerName_ = "";
/**
* optional string deprecated_winner_name = 1;
*/
public boolean hasDeprecatedWinnerName() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional string deprecated_winner_name = 1;
*/
public java.lang.String getDeprecatedWinnerName() {
java.lang.Object ref = deprecatedWinnerName_;
if (!(ref instanceof java.lang.String)) {
java.lang.String s = ((com.google.protobuf.ByteString) ref)
.toStringUtf8();
deprecatedWinnerName_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string deprecated_winner_name = 1;
*/
public com.google.protobuf.ByteString
getDeprecatedWinnerNameBytes() {
java.lang.Object ref = deprecatedWinnerName_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
deprecatedWinnerName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string deprecated_winner_name = 1;
*/
public Builder setDeprecatedWinnerName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
deprecatedWinnerName_ = value;
onChanged();
return this;
}
/**
* optional string deprecated_winner_name = 1;
*/
public Builder clearDeprecatedWinnerName() {
bitField0_ = (bitField0_ & ~0x00000001);
deprecatedWinnerName_ = getDefaultInstance().getDeprecatedWinnerName();
onChanged();
return this;
}
/**
* optional string deprecated_winner_name = 1;
*/
public Builder setDeprecatedWinnerNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
deprecatedWinnerName_ = value;
onChanged();
return this;
}
// optional int32 deprecated_event_type = 2;
private int deprecatedEventType_ ;
/**
* optional int32 deprecated_event_type = 2;
*/
public boolean hasDeprecatedEventType() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional int32 deprecated_event_type = 2;
*/
public int getDeprecatedEventType() {
return deprecatedEventType_;
}
/**
* optional int32 deprecated_event_type = 2;
*/
public Builder setDeprecatedEventType(int value) {
bitField0_ |= 0x00000002;
deprecatedEventType_ = value;
onChanged();
return this;
}
/**
* optional int32 deprecated_event_type = 2;
*/
public Builder clearDeprecatedEventType() {
bitField0_ = (bitField0_ & ~0x00000002);
deprecatedEventType_ = 0;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:CDOTAUserMsg_TournamentDrop)
}
static {
defaultInstance = new CDOTAUserMsg_TournamentDrop(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:CDOTAUserMsg_TournamentDrop)
}
public interface CDOTAUserMsg_MapLineOrBuilder
extends com.google.protobuf.MessageOrBuilder {
// optional int32 player_id = 1;
/**
* optional int32 player_id = 1;
*/
boolean hasPlayerId();
/**
* optional int32 player_id = 1;
*/
int getPlayerId();
// optional .CDOTAMsg_MapLine mapline = 2;
/**
* optional .CDOTAMsg_MapLine mapline = 2;
*/
boolean hasMapline();
/**
* optional .CDOTAMsg_MapLine mapline = 2;
*/
com.dota2.proto.DotaCommonmessages.CDOTAMsg_MapLine getMapline();
/**
* optional .CDOTAMsg_MapLine mapline = 2;
*/
com.dota2.proto.DotaCommonmessages.CDOTAMsg_MapLineOrBuilder getMaplineOrBuilder();
}
/**
* Protobuf type {@code CDOTAUserMsg_MapLine}
*/
public static final class CDOTAUserMsg_MapLine extends
com.google.protobuf.GeneratedMessage
implements 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: {
com.dota2.proto.DotaCommonmessages.CDOTAMsg_MapLine.Builder subBuilder = null;
if (((bitField0_ & 0x00000002) == 0x00000002)) {
subBuilder = mapline_.toBuilder();
}
mapline_ = input.readMessage(com.dota2.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 com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_MapLine_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_MapLine_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_MapLine.class, com.dota2.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_;
// optional int32 player_id = 1;
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_;
}
// optional .CDOTAMsg_MapLine mapline = 2;
public static final int MAPLINE_FIELD_NUMBER = 2;
private com.dota2.proto.DotaCommonmessages.CDOTAMsg_MapLine mapline_;
/**
* optional .CDOTAMsg_MapLine mapline = 2;
*/
public boolean hasMapline() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional .CDOTAMsg_MapLine mapline = 2;
*/
public com.dota2.proto.DotaCommonmessages.CDOTAMsg_MapLine getMapline() {
return mapline_;
}
/**
* optional .CDOTAMsg_MapLine mapline = 2;
*/
public com.dota2.proto.DotaCommonmessages.CDOTAMsg_MapLineOrBuilder getMaplineOrBuilder() {
return mapline_;
}
private void initFields() {
playerId_ = 0;
mapline_ = com.dota2.proto.DotaCommonmessages.CDOTAMsg_MapLine.getDefaultInstance();
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
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 com.dota2.proto.DotaUsermessages.CDOTAUserMsg_MapLine parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.dota2.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 com.dota2.proto.DotaUsermessages.CDOTAUserMsg_MapLine parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_MapLine parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_MapLine parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.dota2.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 com.dota2.proto.DotaUsermessages.CDOTAUserMsg_MapLine parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static com.dota2.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 com.dota2.proto.DotaUsermessages.CDOTAUserMsg_MapLine parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.dota2.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(com.dota2.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 com.dota2.proto.DotaUsermessages.CDOTAUserMsg_MapLineOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_MapLine_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_MapLine_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_MapLine.class, com.dota2.proto.DotaUsermessages.CDOTAUserMsg_MapLine.Builder.class);
}
// Construct using com.dota2.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_ = com.dota2.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 com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_MapLine_descriptor;
}
public com.dota2.proto.DotaUsermessages.CDOTAUserMsg_MapLine getDefaultInstanceForType() {
return com.dota2.proto.DotaUsermessages.CDOTAUserMsg_MapLine.getDefaultInstance();
}
public com.dota2.proto.DotaUsermessages.CDOTAUserMsg_MapLine build() {
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_MapLine result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.dota2.proto.DotaUsermessages.CDOTAUserMsg_MapLine buildPartial() {
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_MapLine result = new com.dota2.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 com.dota2.proto.DotaUsermessages.CDOTAUserMsg_MapLine) {
return mergeFrom((com.dota2.proto.DotaUsermessages.CDOTAUserMsg_MapLine)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.dota2.proto.DotaUsermessages.CDOTAUserMsg_MapLine other) {
if (other == com.dota2.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 {
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_MapLine parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.dota2.proto.DotaUsermessages.CDOTAUserMsg_MapLine) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// optional int32 player_id = 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_;
}
/**
* 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;
}
// optional .CDOTAMsg_MapLine mapline = 2;
private com.dota2.proto.DotaCommonmessages.CDOTAMsg_MapLine mapline_ = com.dota2.proto.DotaCommonmessages.CDOTAMsg_MapLine.getDefaultInstance();
private com.google.protobuf.SingleFieldBuilder<
com.dota2.proto.DotaCommonmessages.CDOTAMsg_MapLine, com.dota2.proto.DotaCommonmessages.CDOTAMsg_MapLine.Builder, com.dota2.proto.DotaCommonmessages.CDOTAMsg_MapLineOrBuilder> maplineBuilder_;
/**
* optional .CDOTAMsg_MapLine mapline = 2;
*/
public boolean hasMapline() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional .CDOTAMsg_MapLine mapline = 2;
*/
public com.dota2.proto.DotaCommonmessages.CDOTAMsg_MapLine getMapline() {
if (maplineBuilder_ == null) {
return mapline_;
} else {
return maplineBuilder_.getMessage();
}
}
/**
* optional .CDOTAMsg_MapLine mapline = 2;
*/
public Builder setMapline(com.dota2.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(
com.dota2.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(com.dota2.proto.DotaCommonmessages.CDOTAMsg_MapLine value) {
if (maplineBuilder_ == null) {
if (((bitField0_ & 0x00000002) == 0x00000002) &&
mapline_ != com.dota2.proto.DotaCommonmessages.CDOTAMsg_MapLine.getDefaultInstance()) {
mapline_ =
com.dota2.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_ = com.dota2.proto.DotaCommonmessages.CDOTAMsg_MapLine.getDefaultInstance();
onChanged();
} else {
maplineBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
/**
* optional .CDOTAMsg_MapLine mapline = 2;
*/
public com.dota2.proto.DotaCommonmessages.CDOTAMsg_MapLine.Builder getMaplineBuilder() {
bitField0_ |= 0x00000002;
onChanged();
return getMaplineFieldBuilder().getBuilder();
}
/**
* optional .CDOTAMsg_MapLine mapline = 2;
*/
public com.dota2.proto.DotaCommonmessages.CDOTAMsg_MapLineOrBuilder getMaplineOrBuilder() {
if (maplineBuilder_ != null) {
return maplineBuilder_.getMessageOrBuilder();
} else {
return mapline_;
}
}
/**
* optional .CDOTAMsg_MapLine mapline = 2;
*/
private com.google.protobuf.SingleFieldBuilder<
com.dota2.proto.DotaCommonmessages.CDOTAMsg_MapLine, com.dota2.proto.DotaCommonmessages.CDOTAMsg_MapLine.Builder, com.dota2.proto.DotaCommonmessages.CDOTAMsg_MapLineOrBuilder>
getMaplineFieldBuilder() {
if (maplineBuilder_ == null) {
maplineBuilder_ = new com.google.protobuf.SingleFieldBuilder<
com.dota2.proto.DotaCommonmessages.CDOTAMsg_MapLine, com.dota2.proto.DotaCommonmessages.CDOTAMsg_MapLine.Builder, com.dota2.proto.DotaCommonmessages.CDOTAMsg_MapLineOrBuilder>(
mapline_,
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_MinimapDebugPointOrBuilder
extends com.google.protobuf.MessageOrBuilder {
// optional .CMsgVector location = 1;
/**
* optional .CMsgVector location = 1;
*/
boolean hasLocation();
/**
* optional .CMsgVector location = 1;
*/
com.dota2.proto.Networkbasetypes.CMsgVector getLocation();
/**
* optional .CMsgVector location = 1;
*/
com.dota2.proto.Networkbasetypes.CMsgVectorOrBuilder getLocationOrBuilder();
// optional uint32 color = 2;
/**
* optional uint32 color = 2;
*/
boolean hasColor();
/**
* optional uint32 color = 2;
*/
int getColor();
// optional int32 size = 3;
/**
* optional int32 size = 3;
*/
boolean hasSize();
/**
* optional int32 size = 3;
*/
int getSize();
// optional float duration = 4;
/**
* optional float duration = 4;
*/
boolean hasDuration();
/**
* optional float duration = 4;
*/
float getDuration();
}
/**
* Protobuf type {@code CDOTAUserMsg_MinimapDebugPoint}
*/
public static final class CDOTAUserMsg_MinimapDebugPoint extends
com.google.protobuf.GeneratedMessage
implements CDOTAUserMsg_MinimapDebugPointOrBuilder {
// Use CDOTAUserMsg_MinimapDebugPoint.newBuilder() to construct.
private CDOTAUserMsg_MinimapDebugPoint(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private CDOTAUserMsg_MinimapDebugPoint(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final CDOTAUserMsg_MinimapDebugPoint defaultInstance;
public static CDOTAUserMsg_MinimapDebugPoint getDefaultInstance() {
return defaultInstance;
}
public CDOTAUserMsg_MinimapDebugPoint 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_MinimapDebugPoint(
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: {
com.dota2.proto.Networkbasetypes.CMsgVector.Builder subBuilder = null;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
subBuilder = location_.toBuilder();
}
location_ = input.readMessage(com.dota2.proto.Networkbasetypes.CMsgVector.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(location_);
location_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000001;
break;
}
case 16: {
bitField0_ |= 0x00000002;
color_ = input.readUInt32();
break;
}
case 24: {
bitField0_ |= 0x00000004;
size_ = input.readInt32();
break;
}
case 37: {
bitField0_ |= 0x00000008;
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 com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_MinimapDebugPoint_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_MinimapDebugPoint_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_MinimapDebugPoint.class, com.dota2.proto.DotaUsermessages.CDOTAUserMsg_MinimapDebugPoint.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public CDOTAUserMsg_MinimapDebugPoint parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new CDOTAUserMsg_MinimapDebugPoint(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
// optional .CMsgVector location = 1;
public static final int LOCATION_FIELD_NUMBER = 1;
private com.dota2.proto.Networkbasetypes.CMsgVector location_;
/**
* optional .CMsgVector location = 1;
*/
public boolean hasLocation() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional .CMsgVector location = 1;
*/
public com.dota2.proto.Networkbasetypes.CMsgVector getLocation() {
return location_;
}
/**
* optional .CMsgVector location = 1;
*/
public com.dota2.proto.Networkbasetypes.CMsgVectorOrBuilder getLocationOrBuilder() {
return location_;
}
// optional uint32 color = 2;
public static final int COLOR_FIELD_NUMBER = 2;
private int color_;
/**
* optional uint32 color = 2;
*/
public boolean hasColor() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional uint32 color = 2;
*/
public int getColor() {
return color_;
}
// optional int32 size = 3;
public static final int SIZE_FIELD_NUMBER = 3;
private int size_;
/**
* optional int32 size = 3;
*/
public boolean hasSize() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional int32 size = 3;
*/
public int getSize() {
return size_;
}
// optional float duration = 4;
public static final int DURATION_FIELD_NUMBER = 4;
private float duration_;
/**
* optional float duration = 4;
*/
public boolean hasDuration() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* optional float duration = 4;
*/
public float getDuration() {
return duration_;
}
private void initFields() {
location_ = com.dota2.proto.Networkbasetypes.CMsgVector.getDefaultInstance();
color_ = 0;
size_ = 0;
duration_ = 0F;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeMessage(1, location_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeUInt32(2, color_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
output.writeInt32(3, size_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
output.writeFloat(4, 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, location_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(2, color_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(3, size_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
size += com.google.protobuf.CodedOutputStream
.computeFloatSize(4, 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 com.dota2.proto.DotaUsermessages.CDOTAUserMsg_MinimapDebugPoint parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_MinimapDebugPoint parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_MinimapDebugPoint parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_MinimapDebugPoint parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_MinimapDebugPoint parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_MinimapDebugPoint parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_MinimapDebugPoint parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_MinimapDebugPoint parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_MinimapDebugPoint parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_MinimapDebugPoint 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(com.dota2.proto.DotaUsermessages.CDOTAUserMsg_MinimapDebugPoint 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_MinimapDebugPoint}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder
implements com.dota2.proto.DotaUsermessages.CDOTAUserMsg_MinimapDebugPointOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_MinimapDebugPoint_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_MinimapDebugPoint_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_MinimapDebugPoint.class, com.dota2.proto.DotaUsermessages.CDOTAUserMsg_MinimapDebugPoint.Builder.class);
}
// Construct using com.dota2.proto.DotaUsermessages.CDOTAUserMsg_MinimapDebugPoint.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();
if (locationBuilder_ == null) {
location_ = com.dota2.proto.Networkbasetypes.CMsgVector.getDefaultInstance();
} else {
locationBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
color_ = 0;
bitField0_ = (bitField0_ & ~0x00000002);
size_ = 0;
bitField0_ = (bitField0_ & ~0x00000004);
duration_ = 0F;
bitField0_ = (bitField0_ & ~0x00000008);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_MinimapDebugPoint_descriptor;
}
public com.dota2.proto.DotaUsermessages.CDOTAUserMsg_MinimapDebugPoint getDefaultInstanceForType() {
return com.dota2.proto.DotaUsermessages.CDOTAUserMsg_MinimapDebugPoint.getDefaultInstance();
}
public com.dota2.proto.DotaUsermessages.CDOTAUserMsg_MinimapDebugPoint build() {
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_MinimapDebugPoint result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.dota2.proto.DotaUsermessages.CDOTAUserMsg_MinimapDebugPoint buildPartial() {
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_MinimapDebugPoint result = new com.dota2.proto.DotaUsermessages.CDOTAUserMsg_MinimapDebugPoint(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
if (locationBuilder_ == null) {
result.location_ = location_;
} else {
result.location_ = locationBuilder_.build();
}
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.color_ = color_;
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
to_bitField0_ |= 0x00000004;
}
result.size_ = size_;
if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
to_bitField0_ |= 0x00000008;
}
result.duration_ = duration_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.dota2.proto.DotaUsermessages.CDOTAUserMsg_MinimapDebugPoint) {
return mergeFrom((com.dota2.proto.DotaUsermessages.CDOTAUserMsg_MinimapDebugPoint)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.dota2.proto.DotaUsermessages.CDOTAUserMsg_MinimapDebugPoint other) {
if (other == com.dota2.proto.DotaUsermessages.CDOTAUserMsg_MinimapDebugPoint.getDefaultInstance()) return this;
if (other.hasLocation()) {
mergeLocation(other.getLocation());
}
if (other.hasColor()) {
setColor(other.getColor());
}
if (other.hasSize()) {
setSize(other.getSize());
}
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 {
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_MinimapDebugPoint parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.dota2.proto.DotaUsermessages.CDOTAUserMsg_MinimapDebugPoint) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// optional .CMsgVector location = 1;
private com.dota2.proto.Networkbasetypes.CMsgVector location_ = com.dota2.proto.Networkbasetypes.CMsgVector.getDefaultInstance();
private com.google.protobuf.SingleFieldBuilder<
com.dota2.proto.Networkbasetypes.CMsgVector, com.dota2.proto.Networkbasetypes.CMsgVector.Builder, com.dota2.proto.Networkbasetypes.CMsgVectorOrBuilder> locationBuilder_;
/**
* optional .CMsgVector location = 1;
*/
public boolean hasLocation() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional .CMsgVector location = 1;
*/
public com.dota2.proto.Networkbasetypes.CMsgVector getLocation() {
if (locationBuilder_ == null) {
return location_;
} else {
return locationBuilder_.getMessage();
}
}
/**
* optional .CMsgVector location = 1;
*/
public Builder setLocation(com.dota2.proto.Networkbasetypes.CMsgVector value) {
if (locationBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
location_ = value;
onChanged();
} else {
locationBuilder_.setMessage(value);
}
bitField0_ |= 0x00000001;
return this;
}
/**
* optional .CMsgVector location = 1;
*/
public Builder setLocation(
com.dota2.proto.Networkbasetypes.CMsgVector.Builder builderForValue) {
if (locationBuilder_ == null) {
location_ = builderForValue.build();
onChanged();
} else {
locationBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000001;
return this;
}
/**
* optional .CMsgVector location = 1;
*/
public Builder mergeLocation(com.dota2.proto.Networkbasetypes.CMsgVector value) {
if (locationBuilder_ == null) {
if (((bitField0_ & 0x00000001) == 0x00000001) &&
location_ != com.dota2.proto.Networkbasetypes.CMsgVector.getDefaultInstance()) {
location_ =
com.dota2.proto.Networkbasetypes.CMsgVector.newBuilder(location_).mergeFrom(value).buildPartial();
} else {
location_ = value;
}
onChanged();
} else {
locationBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000001;
return this;
}
/**
* optional .CMsgVector location = 1;
*/
public Builder clearLocation() {
if (locationBuilder_ == null) {
location_ = com.dota2.proto.Networkbasetypes.CMsgVector.getDefaultInstance();
onChanged();
} else {
locationBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
/**
* optional .CMsgVector location = 1;
*/
public com.dota2.proto.Networkbasetypes.CMsgVector.Builder getLocationBuilder() {
bitField0_ |= 0x00000001;
onChanged();
return getLocationFieldBuilder().getBuilder();
}
/**
* optional .CMsgVector location = 1;
*/
public com.dota2.proto.Networkbasetypes.CMsgVectorOrBuilder getLocationOrBuilder() {
if (locationBuilder_ != null) {
return locationBuilder_.getMessageOrBuilder();
} else {
return location_;
}
}
/**
* optional .CMsgVector location = 1;
*/
private com.google.protobuf.SingleFieldBuilder<
com.dota2.proto.Networkbasetypes.CMsgVector, com.dota2.proto.Networkbasetypes.CMsgVector.Builder, com.dota2.proto.Networkbasetypes.CMsgVectorOrBuilder>
getLocationFieldBuilder() {
if (locationBuilder_ == null) {
locationBuilder_ = new com.google.protobuf.SingleFieldBuilder<
com.dota2.proto.Networkbasetypes.CMsgVector, com.dota2.proto.Networkbasetypes.CMsgVector.Builder, com.dota2.proto.Networkbasetypes.CMsgVectorOrBuilder>(
location_,
getParentForChildren(),
isClean());
location_ = null;
}
return locationBuilder_;
}
// optional uint32 color = 2;
private int color_ ;
/**
* optional uint32 color = 2;
*/
public boolean hasColor() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional uint32 color = 2;
*/
public int getColor() {
return color_;
}
/**
* optional uint32 color = 2;
*/
public Builder setColor(int value) {
bitField0_ |= 0x00000002;
color_ = value;
onChanged();
return this;
}
/**
* optional uint32 color = 2;
*/
public Builder clearColor() {
bitField0_ = (bitField0_ & ~0x00000002);
color_ = 0;
onChanged();
return this;
}
// optional int32 size = 3;
private int size_ ;
/**
* optional int32 size = 3;
*/
public boolean hasSize() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional int32 size = 3;
*/
public int getSize() {
return size_;
}
/**
* optional int32 size = 3;
*/
public Builder setSize(int value) {
bitField0_ |= 0x00000004;
size_ = value;
onChanged();
return this;
}
/**
* optional int32 size = 3;
*/
public Builder clearSize() {
bitField0_ = (bitField0_ & ~0x00000004);
size_ = 0;
onChanged();
return this;
}
// optional float duration = 4;
private float duration_ ;
/**
* optional float duration = 4;
*/
public boolean hasDuration() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* optional float duration = 4;
*/
public float getDuration() {
return duration_;
}
/**
* optional float duration = 4;
*/
public Builder setDuration(float value) {
bitField0_ |= 0x00000008;
duration_ = value;
onChanged();
return this;
}
/**
* optional float duration = 4;
*/
public Builder clearDuration() {
bitField0_ = (bitField0_ & ~0x00000008);
duration_ = 0F;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:CDOTAUserMsg_MinimapDebugPoint)
}
static {
defaultInstance = new CDOTAUserMsg_MinimapDebugPoint(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:CDOTAUserMsg_MinimapDebugPoint)
}
public interface CDOTAUserMsg_CreateLinearProjectileOrBuilder
extends com.google.protobuf.MessageOrBuilder {
// optional .CMsgVector origin = 1;
/**
* optional .CMsgVector origin = 1;
*/
boolean hasOrigin();
/**
* optional .CMsgVector origin = 1;
*/
com.dota2.proto.Networkbasetypes.CMsgVector getOrigin();
/**
* optional .CMsgVector origin = 1;
*/
com.dota2.proto.Networkbasetypes.CMsgVectorOrBuilder getOriginOrBuilder();
// optional .CMsgVector2D velocity = 2;
/**
* optional .CMsgVector2D velocity = 2;
*/
boolean hasVelocity();
/**
* optional .CMsgVector2D velocity = 2;
*/
com.dota2.proto.Networkbasetypes.CMsgVector2D getVelocity();
/**
* optional .CMsgVector2D velocity = 2;
*/
com.dota2.proto.Networkbasetypes.CMsgVector2DOrBuilder getVelocityOrBuilder();
// optional int32 latency = 3;
/**
* optional int32 latency = 3;
*/
boolean hasLatency();
/**
* optional int32 latency = 3;
*/
int getLatency();
// optional int32 entindex = 4;
/**
* optional int32 entindex = 4;
*/
boolean hasEntindex();
/**
* optional int32 entindex = 4;
*/
int getEntindex();
// optional int32 particle_index = 5;
/**
* optional int32 particle_index = 5;
*/
boolean hasParticleIndex();
/**
* optional int32 particle_index = 5;
*/
int getParticleIndex();
// optional int32 handle = 6;
/**
* optional int32 handle = 6;
*/
boolean hasHandle();
/**
* optional int32 handle = 6;
*/
int getHandle();
// optional .CMsgVector2D acceleration = 7;
/**
* optional .CMsgVector2D acceleration = 7;
*/
boolean hasAcceleration();
/**
* optional .CMsgVector2D acceleration = 7;
*/
com.dota2.proto.Networkbasetypes.CMsgVector2D getAcceleration();
/**
* optional .CMsgVector2D acceleration = 7;
*/
com.dota2.proto.Networkbasetypes.CMsgVector2DOrBuilder getAccelerationOrBuilder();
// optional float max_speed = 8;
/**
* optional float max_speed = 8;
*/
boolean hasMaxSpeed();
/**
* optional float max_speed = 8;
*/
float getMaxSpeed();
}
/**
* Protobuf type {@code CDOTAUserMsg_CreateLinearProjectile}
*/
public static final class CDOTAUserMsg_CreateLinearProjectile extends
com.google.protobuf.GeneratedMessage
implements 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: {
com.dota2.proto.Networkbasetypes.CMsgVector.Builder subBuilder = null;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
subBuilder = origin_.toBuilder();
}
origin_ = input.readMessage(com.dota2.proto.Networkbasetypes.CMsgVector.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(origin_);
origin_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000001;
break;
}
case 18: {
com.dota2.proto.Networkbasetypes.CMsgVector2D.Builder subBuilder = null;
if (((bitField0_ & 0x00000002) == 0x00000002)) {
subBuilder = velocity_.toBuilder();
}
velocity_ = input.readMessage(com.dota2.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.readInt32();
break;
}
case 48: {
bitField0_ |= 0x00000020;
handle_ = input.readInt32();
break;
}
case 58: {
com.dota2.proto.Networkbasetypes.CMsgVector2D.Builder subBuilder = null;
if (((bitField0_ & 0x00000040) == 0x00000040)) {
subBuilder = acceleration_.toBuilder();
}
acceleration_ = input.readMessage(com.dota2.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;
}
}
}
} 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 com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_CreateLinearProjectile_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_CreateLinearProjectile_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_CreateLinearProjectile.class, com.dota2.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_;
// optional .CMsgVector origin = 1;
public static final int ORIGIN_FIELD_NUMBER = 1;
private com.dota2.proto.Networkbasetypes.CMsgVector origin_;
/**
* optional .CMsgVector origin = 1;
*/
public boolean hasOrigin() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional .CMsgVector origin = 1;
*/
public com.dota2.proto.Networkbasetypes.CMsgVector getOrigin() {
return origin_;
}
/**
* optional .CMsgVector origin = 1;
*/
public com.dota2.proto.Networkbasetypes.CMsgVectorOrBuilder getOriginOrBuilder() {
return origin_;
}
// optional .CMsgVector2D velocity = 2;
public static final int VELOCITY_FIELD_NUMBER = 2;
private com.dota2.proto.Networkbasetypes.CMsgVector2D velocity_;
/**
* optional .CMsgVector2D velocity = 2;
*/
public boolean hasVelocity() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional .CMsgVector2D velocity = 2;
*/
public com.dota2.proto.Networkbasetypes.CMsgVector2D getVelocity() {
return velocity_;
}
/**
* optional .CMsgVector2D velocity = 2;
*/
public com.dota2.proto.Networkbasetypes.CMsgVector2DOrBuilder getVelocityOrBuilder() {
return velocity_;
}
// optional int32 latency = 3;
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_;
}
// optional int32 entindex = 4;
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_;
}
// optional int32 particle_index = 5;
public static final int PARTICLE_INDEX_FIELD_NUMBER = 5;
private int particleIndex_;
/**
* optional int32 particle_index = 5;
*/
public boolean hasParticleIndex() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
/**
* optional int32 particle_index = 5;
*/
public int getParticleIndex() {
return particleIndex_;
}
// optional int32 handle = 6;
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_;
}
// optional .CMsgVector2D acceleration = 7;
public static final int ACCELERATION_FIELD_NUMBER = 7;
private com.dota2.proto.Networkbasetypes.CMsgVector2D acceleration_;
/**
* optional .CMsgVector2D acceleration = 7;
*/
public boolean hasAcceleration() {
return ((bitField0_ & 0x00000040) == 0x00000040);
}
/**
* optional .CMsgVector2D acceleration = 7;
*/
public com.dota2.proto.Networkbasetypes.CMsgVector2D getAcceleration() {
return acceleration_;
}
/**
* optional .CMsgVector2D acceleration = 7;
*/
public com.dota2.proto.Networkbasetypes.CMsgVector2DOrBuilder getAccelerationOrBuilder() {
return acceleration_;
}
// optional float max_speed = 8;
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_;
}
private void initFields() {
origin_ = com.dota2.proto.Networkbasetypes.CMsgVector.getDefaultInstance();
velocity_ = com.dota2.proto.Networkbasetypes.CMsgVector2D.getDefaultInstance();
latency_ = 0;
entindex_ = 0;
particleIndex_ = 0;
handle_ = 0;
acceleration_ = com.dota2.proto.Networkbasetypes.CMsgVector2D.getDefaultInstance();
maxSpeed_ = 0F;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
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.writeInt32(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_);
}
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
.computeInt32Size(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_);
}
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 com.dota2.proto.DotaUsermessages.CDOTAUserMsg_CreateLinearProjectile parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.dota2.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 com.dota2.proto.DotaUsermessages.CDOTAUserMsg_CreateLinearProjectile parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_CreateLinearProjectile parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_CreateLinearProjectile parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.dota2.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 com.dota2.proto.DotaUsermessages.CDOTAUserMsg_CreateLinearProjectile parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static com.dota2.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 com.dota2.proto.DotaUsermessages.CDOTAUserMsg_CreateLinearProjectile parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.dota2.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(com.dota2.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 com.dota2.proto.DotaUsermessages.CDOTAUserMsg_CreateLinearProjectileOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_CreateLinearProjectile_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_CreateLinearProjectile_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_CreateLinearProjectile.class, com.dota2.proto.DotaUsermessages.CDOTAUserMsg_CreateLinearProjectile.Builder.class);
}
// Construct using com.dota2.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_ = com.dota2.proto.Networkbasetypes.CMsgVector.getDefaultInstance();
} else {
originBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
if (velocityBuilder_ == null) {
velocity_ = com.dota2.proto.Networkbasetypes.CMsgVector2D.getDefaultInstance();
} else {
velocityBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000002);
latency_ = 0;
bitField0_ = (bitField0_ & ~0x00000004);
entindex_ = 0;
bitField0_ = (bitField0_ & ~0x00000008);
particleIndex_ = 0;
bitField0_ = (bitField0_ & ~0x00000010);
handle_ = 0;
bitField0_ = (bitField0_ & ~0x00000020);
if (accelerationBuilder_ == null) {
acceleration_ = com.dota2.proto.Networkbasetypes.CMsgVector2D.getDefaultInstance();
} else {
accelerationBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000040);
maxSpeed_ = 0F;
bitField0_ = (bitField0_ & ~0x00000080);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_CreateLinearProjectile_descriptor;
}
public com.dota2.proto.DotaUsermessages.CDOTAUserMsg_CreateLinearProjectile getDefaultInstanceForType() {
return com.dota2.proto.DotaUsermessages.CDOTAUserMsg_CreateLinearProjectile.getDefaultInstance();
}
public com.dota2.proto.DotaUsermessages.CDOTAUserMsg_CreateLinearProjectile build() {
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_CreateLinearProjectile result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.dota2.proto.DotaUsermessages.CDOTAUserMsg_CreateLinearProjectile buildPartial() {
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_CreateLinearProjectile result = new com.dota2.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_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.dota2.proto.DotaUsermessages.CDOTAUserMsg_CreateLinearProjectile) {
return mergeFrom((com.dota2.proto.DotaUsermessages.CDOTAUserMsg_CreateLinearProjectile)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.dota2.proto.DotaUsermessages.CDOTAUserMsg_CreateLinearProjectile other) {
if (other == com.dota2.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());
}
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 {
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_CreateLinearProjectile parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.dota2.proto.DotaUsermessages.CDOTAUserMsg_CreateLinearProjectile) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// optional .CMsgVector origin = 1;
private com.dota2.proto.Networkbasetypes.CMsgVector origin_ = com.dota2.proto.Networkbasetypes.CMsgVector.getDefaultInstance();
private com.google.protobuf.SingleFieldBuilder<
com.dota2.proto.Networkbasetypes.CMsgVector, com.dota2.proto.Networkbasetypes.CMsgVector.Builder, com.dota2.proto.Networkbasetypes.CMsgVectorOrBuilder> originBuilder_;
/**
* optional .CMsgVector origin = 1;
*/
public boolean hasOrigin() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional .CMsgVector origin = 1;
*/
public com.dota2.proto.Networkbasetypes.CMsgVector getOrigin() {
if (originBuilder_ == null) {
return origin_;
} else {
return originBuilder_.getMessage();
}
}
/**
* optional .CMsgVector origin = 1;
*/
public Builder setOrigin(com.dota2.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(
com.dota2.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(com.dota2.proto.Networkbasetypes.CMsgVector value) {
if (originBuilder_ == null) {
if (((bitField0_ & 0x00000001) == 0x00000001) &&
origin_ != com.dota2.proto.Networkbasetypes.CMsgVector.getDefaultInstance()) {
origin_ =
com.dota2.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_ = com.dota2.proto.Networkbasetypes.CMsgVector.getDefaultInstance();
onChanged();
} else {
originBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
/**
* optional .CMsgVector origin = 1;
*/
public com.dota2.proto.Networkbasetypes.CMsgVector.Builder getOriginBuilder() {
bitField0_ |= 0x00000001;
onChanged();
return getOriginFieldBuilder().getBuilder();
}
/**
* optional .CMsgVector origin = 1;
*/
public com.dota2.proto.Networkbasetypes.CMsgVectorOrBuilder getOriginOrBuilder() {
if (originBuilder_ != null) {
return originBuilder_.getMessageOrBuilder();
} else {
return origin_;
}
}
/**
* optional .CMsgVector origin = 1;
*/
private com.google.protobuf.SingleFieldBuilder<
com.dota2.proto.Networkbasetypes.CMsgVector, com.dota2.proto.Networkbasetypes.CMsgVector.Builder, com.dota2.proto.Networkbasetypes.CMsgVectorOrBuilder>
getOriginFieldBuilder() {
if (originBuilder_ == null) {
originBuilder_ = new com.google.protobuf.SingleFieldBuilder<
com.dota2.proto.Networkbasetypes.CMsgVector, com.dota2.proto.Networkbasetypes.CMsgVector.Builder, com.dota2.proto.Networkbasetypes.CMsgVectorOrBuilder>(
origin_,
getParentForChildren(),
isClean());
origin_ = null;
}
return originBuilder_;
}
// optional .CMsgVector2D velocity = 2;
private com.dota2.proto.Networkbasetypes.CMsgVector2D velocity_ = com.dota2.proto.Networkbasetypes.CMsgVector2D.getDefaultInstance();
private com.google.protobuf.SingleFieldBuilder<
com.dota2.proto.Networkbasetypes.CMsgVector2D, com.dota2.proto.Networkbasetypes.CMsgVector2D.Builder, com.dota2.proto.Networkbasetypes.CMsgVector2DOrBuilder> velocityBuilder_;
/**
* optional .CMsgVector2D velocity = 2;
*/
public boolean hasVelocity() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional .CMsgVector2D velocity = 2;
*/
public com.dota2.proto.Networkbasetypes.CMsgVector2D getVelocity() {
if (velocityBuilder_ == null) {
return velocity_;
} else {
return velocityBuilder_.getMessage();
}
}
/**
* optional .CMsgVector2D velocity = 2;
*/
public Builder setVelocity(com.dota2.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(
com.dota2.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(com.dota2.proto.Networkbasetypes.CMsgVector2D value) {
if (velocityBuilder_ == null) {
if (((bitField0_ & 0x00000002) == 0x00000002) &&
velocity_ != com.dota2.proto.Networkbasetypes.CMsgVector2D.getDefaultInstance()) {
velocity_ =
com.dota2.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_ = com.dota2.proto.Networkbasetypes.CMsgVector2D.getDefaultInstance();
onChanged();
} else {
velocityBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
/**
* optional .CMsgVector2D velocity = 2;
*/
public com.dota2.proto.Networkbasetypes.CMsgVector2D.Builder getVelocityBuilder() {
bitField0_ |= 0x00000002;
onChanged();
return getVelocityFieldBuilder().getBuilder();
}
/**
* optional .CMsgVector2D velocity = 2;
*/
public com.dota2.proto.Networkbasetypes.CMsgVector2DOrBuilder getVelocityOrBuilder() {
if (velocityBuilder_ != null) {
return velocityBuilder_.getMessageOrBuilder();
} else {
return velocity_;
}
}
/**
* optional .CMsgVector2D velocity = 2;
*/
private com.google.protobuf.SingleFieldBuilder<
com.dota2.proto.Networkbasetypes.CMsgVector2D, com.dota2.proto.Networkbasetypes.CMsgVector2D.Builder, com.dota2.proto.Networkbasetypes.CMsgVector2DOrBuilder>
getVelocityFieldBuilder() {
if (velocityBuilder_ == null) {
velocityBuilder_ = new com.google.protobuf.SingleFieldBuilder<
com.dota2.proto.Networkbasetypes.CMsgVector2D, com.dota2.proto.Networkbasetypes.CMsgVector2D.Builder, com.dota2.proto.Networkbasetypes.CMsgVector2DOrBuilder>(
velocity_,
getParentForChildren(),
isClean());
velocity_ = null;
}
return velocityBuilder_;
}
// optional int32 latency = 3;
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;
}
// optional int32 entindex = 4;
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;
}
// optional int32 particle_index = 5;
private int particleIndex_ ;
/**
* optional int32 particle_index = 5;
*/
public boolean hasParticleIndex() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
/**
* optional int32 particle_index = 5;
*/
public int getParticleIndex() {
return particleIndex_;
}
/**
* optional int32 particle_index = 5;
*/
public Builder setParticleIndex(int value) {
bitField0_ |= 0x00000010;
particleIndex_ = value;
onChanged();
return this;
}
/**
* optional int32 particle_index = 5;
*/
public Builder clearParticleIndex() {
bitField0_ = (bitField0_ & ~0x00000010);
particleIndex_ = 0;
onChanged();
return this;
}
// optional int32 handle = 6;
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;
}
// optional .CMsgVector2D acceleration = 7;
private com.dota2.proto.Networkbasetypes.CMsgVector2D acceleration_ = com.dota2.proto.Networkbasetypes.CMsgVector2D.getDefaultInstance();
private com.google.protobuf.SingleFieldBuilder<
com.dota2.proto.Networkbasetypes.CMsgVector2D, com.dota2.proto.Networkbasetypes.CMsgVector2D.Builder, com.dota2.proto.Networkbasetypes.CMsgVector2DOrBuilder> accelerationBuilder_;
/**
* optional .CMsgVector2D acceleration = 7;
*/
public boolean hasAcceleration() {
return ((bitField0_ & 0x00000040) == 0x00000040);
}
/**
* optional .CMsgVector2D acceleration = 7;
*/
public com.dota2.proto.Networkbasetypes.CMsgVector2D getAcceleration() {
if (accelerationBuilder_ == null) {
return acceleration_;
} else {
return accelerationBuilder_.getMessage();
}
}
/**
* optional .CMsgVector2D acceleration = 7;
*/
public Builder setAcceleration(com.dota2.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(
com.dota2.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(com.dota2.proto.Networkbasetypes.CMsgVector2D value) {
if (accelerationBuilder_ == null) {
if (((bitField0_ & 0x00000040) == 0x00000040) &&
acceleration_ != com.dota2.proto.Networkbasetypes.CMsgVector2D.getDefaultInstance()) {
acceleration_ =
com.dota2.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_ = com.dota2.proto.Networkbasetypes.CMsgVector2D.getDefaultInstance();
onChanged();
} else {
accelerationBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000040);
return this;
}
/**
* optional .CMsgVector2D acceleration = 7;
*/
public com.dota2.proto.Networkbasetypes.CMsgVector2D.Builder getAccelerationBuilder() {
bitField0_ |= 0x00000040;
onChanged();
return getAccelerationFieldBuilder().getBuilder();
}
/**
* optional .CMsgVector2D acceleration = 7;
*/
public com.dota2.proto.Networkbasetypes.CMsgVector2DOrBuilder getAccelerationOrBuilder() {
if (accelerationBuilder_ != null) {
return accelerationBuilder_.getMessageOrBuilder();
} else {
return acceleration_;
}
}
/**
* optional .CMsgVector2D acceleration = 7;
*/
private com.google.protobuf.SingleFieldBuilder<
com.dota2.proto.Networkbasetypes.CMsgVector2D, com.dota2.proto.Networkbasetypes.CMsgVector2D.Builder, com.dota2.proto.Networkbasetypes.CMsgVector2DOrBuilder>
getAccelerationFieldBuilder() {
if (accelerationBuilder_ == null) {
accelerationBuilder_ = new com.google.protobuf.SingleFieldBuilder<
com.dota2.proto.Networkbasetypes.CMsgVector2D, com.dota2.proto.Networkbasetypes.CMsgVector2D.Builder, com.dota2.proto.Networkbasetypes.CMsgVector2DOrBuilder>(
acceleration_,
getParentForChildren(),
isClean());
acceleration_ = null;
}
return accelerationBuilder_;
}
// optional float max_speed = 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_;
}
/**
* 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;
}
// @@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 com.google.protobuf.MessageOrBuilder {
// optional int32 handle = 1;
/**
* 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 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 com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_DestroyLinearProjectile_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_DestroyLinearProjectile_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_DestroyLinearProjectile.class, com.dota2.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_;
// optional int32 handle = 1;
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 isInitialized == 1;
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 com.dota2.proto.DotaUsermessages.CDOTAUserMsg_DestroyLinearProjectile parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.dota2.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 com.dota2.proto.DotaUsermessages.CDOTAUserMsg_DestroyLinearProjectile parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_DestroyLinearProjectile parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_DestroyLinearProjectile parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.dota2.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 com.dota2.proto.DotaUsermessages.CDOTAUserMsg_DestroyLinearProjectile parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static com.dota2.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 com.dota2.proto.DotaUsermessages.CDOTAUserMsg_DestroyLinearProjectile parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.dota2.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(com.dota2.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 com.dota2.proto.DotaUsermessages.CDOTAUserMsg_DestroyLinearProjectileOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_DestroyLinearProjectile_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_DestroyLinearProjectile_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_DestroyLinearProjectile.class, com.dota2.proto.DotaUsermessages.CDOTAUserMsg_DestroyLinearProjectile.Builder.class);
}
// Construct using com.dota2.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 com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_DestroyLinearProjectile_descriptor;
}
public com.dota2.proto.DotaUsermessages.CDOTAUserMsg_DestroyLinearProjectile getDefaultInstanceForType() {
return com.dota2.proto.DotaUsermessages.CDOTAUserMsg_DestroyLinearProjectile.getDefaultInstance();
}
public com.dota2.proto.DotaUsermessages.CDOTAUserMsg_DestroyLinearProjectile build() {
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_DestroyLinearProjectile result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.dota2.proto.DotaUsermessages.CDOTAUserMsg_DestroyLinearProjectile buildPartial() {
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_DestroyLinearProjectile result = new com.dota2.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 com.dota2.proto.DotaUsermessages.CDOTAUserMsg_DestroyLinearProjectile) {
return mergeFrom((com.dota2.proto.DotaUsermessages.CDOTAUserMsg_DestroyLinearProjectile)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.dota2.proto.DotaUsermessages.CDOTAUserMsg_DestroyLinearProjectile other) {
if (other == com.dota2.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 {
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_DestroyLinearProjectile parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.dota2.proto.DotaUsermessages.CDOTAUserMsg_DestroyLinearProjectile) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// optional int32 handle = 1;
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 com.google.protobuf.MessageOrBuilder {
// required int32 entindex = 1;
/**
* required int32 entindex = 1;
*/
boolean hasEntindex();
/**
* required int32 entindex = 1;
*/
int getEntindex();
// optional bool attacks_only = 2;
/**
* 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 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 com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_DodgeTrackingProjectiles_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_DodgeTrackingProjectiles_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_DodgeTrackingProjectiles.class, com.dota2.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_;
// required int32 entindex = 1;
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_;
}
// optional bool attacks_only = 2;
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 isInitialized == 1;
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 com.dota2.proto.DotaUsermessages.CDOTAUserMsg_DodgeTrackingProjectiles parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.dota2.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 com.dota2.proto.DotaUsermessages.CDOTAUserMsg_DodgeTrackingProjectiles parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_DodgeTrackingProjectiles parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_DodgeTrackingProjectiles parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.dota2.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 com.dota2.proto.DotaUsermessages.CDOTAUserMsg_DodgeTrackingProjectiles parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static com.dota2.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 com.dota2.proto.DotaUsermessages.CDOTAUserMsg_DodgeTrackingProjectiles parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.dota2.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(com.dota2.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 com.dota2.proto.DotaUsermessages.CDOTAUserMsg_DodgeTrackingProjectilesOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_DodgeTrackingProjectiles_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_DodgeTrackingProjectiles_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_DodgeTrackingProjectiles.class, com.dota2.proto.DotaUsermessages.CDOTAUserMsg_DodgeTrackingProjectiles.Builder.class);
}
// Construct using com.dota2.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 com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_DodgeTrackingProjectiles_descriptor;
}
public com.dota2.proto.DotaUsermessages.CDOTAUserMsg_DodgeTrackingProjectiles getDefaultInstanceForType() {
return com.dota2.proto.DotaUsermessages.CDOTAUserMsg_DodgeTrackingProjectiles.getDefaultInstance();
}
public com.dota2.proto.DotaUsermessages.CDOTAUserMsg_DodgeTrackingProjectiles build() {
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_DodgeTrackingProjectiles result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.dota2.proto.DotaUsermessages.CDOTAUserMsg_DodgeTrackingProjectiles buildPartial() {
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_DodgeTrackingProjectiles result = new com.dota2.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 com.dota2.proto.DotaUsermessages.CDOTAUserMsg_DodgeTrackingProjectiles) {
return mergeFrom((com.dota2.proto.DotaUsermessages.CDOTAUserMsg_DodgeTrackingProjectiles)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.dota2.proto.DotaUsermessages.CDOTAUserMsg_DodgeTrackingProjectiles other) {
if (other == com.dota2.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 {
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_DodgeTrackingProjectiles parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.dota2.proto.DotaUsermessages.CDOTAUserMsg_DodgeTrackingProjectiles) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// required int32 entindex = 1;
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;
}
// optional bool attacks_only = 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_;
}
/**
* 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 com.google.protobuf.MessageOrBuilder {
// required int32 entindex = 1;
/**
* required int32 entindex = 1;
*/
boolean hasEntindex();
/**
* required int32 entindex = 1;
*/
int getEntindex();
// optional int32 order_type = 2;
/**
* optional int32 order_type = 2;
*/
boolean hasOrderType();
/**
* optional int32 order_type = 2;
*/
int getOrderType();
// optional int32 target_index = 3;
/**
* 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 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 com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_SpectatorPlayerClick_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_SpectatorPlayerClick_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_SpectatorPlayerClick.class, com.dota2.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_;
// required int32 entindex = 1;
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_;
}
// optional int32 order_type = 2;
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_;
}
// optional int32 target_index = 3;
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 isInitialized == 1;
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 com.dota2.proto.DotaUsermessages.CDOTAUserMsg_SpectatorPlayerClick parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.dota2.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 com.dota2.proto.DotaUsermessages.CDOTAUserMsg_SpectatorPlayerClick parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_SpectatorPlayerClick parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_SpectatorPlayerClick parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.dota2.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 com.dota2.proto.DotaUsermessages.CDOTAUserMsg_SpectatorPlayerClick parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static com.dota2.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 com.dota2.proto.DotaUsermessages.CDOTAUserMsg_SpectatorPlayerClick parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.dota2.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(com.dota2.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 com.dota2.proto.DotaUsermessages.CDOTAUserMsg_SpectatorPlayerClickOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_SpectatorPlayerClick_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_SpectatorPlayerClick_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_SpectatorPlayerClick.class, com.dota2.proto.DotaUsermessages.CDOTAUserMsg_SpectatorPlayerClick.Builder.class);
}
// Construct using com.dota2.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 com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_SpectatorPlayerClick_descriptor;
}
public com.dota2.proto.DotaUsermessages.CDOTAUserMsg_SpectatorPlayerClick getDefaultInstanceForType() {
return com.dota2.proto.DotaUsermessages.CDOTAUserMsg_SpectatorPlayerClick.getDefaultInstance();
}
public com.dota2.proto.DotaUsermessages.CDOTAUserMsg_SpectatorPlayerClick build() {
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_SpectatorPlayerClick result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.dota2.proto.DotaUsermessages.CDOTAUserMsg_SpectatorPlayerClick buildPartial() {
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_SpectatorPlayerClick result = new com.dota2.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 com.dota2.proto.DotaUsermessages.CDOTAUserMsg_SpectatorPlayerClick) {
return mergeFrom((com.dota2.proto.DotaUsermessages.CDOTAUserMsg_SpectatorPlayerClick)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.dota2.proto.DotaUsermessages.CDOTAUserMsg_SpectatorPlayerClick other) {
if (other == com.dota2.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 {
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_SpectatorPlayerClick parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.dota2.proto.DotaUsermessages.CDOTAUserMsg_SpectatorPlayerClick) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// required int32 entindex = 1;
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;
}
// optional int32 order_type = 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_;
}
/**
* 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;
}
// optional int32 target_index = 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_;
}
/**
* 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_NevermoreRequiemOrBuilder
extends com.google.protobuf.MessageOrBuilder {
// optional int32 entity_handle = 1;
/**
* optional int32 entity_handle = 1;
*/
boolean hasEntityHandle();
/**
* optional int32 entity_handle = 1;
*/
int getEntityHandle();
// optional int32 lines = 2;
/**
* optional int32 lines = 2;
*/
boolean hasLines();
/**
* optional int32 lines = 2;
*/
int getLines();
// optional .CMsgVector origin = 3;
/**
* optional .CMsgVector origin = 3;
*/
boolean hasOrigin();
/**
* optional .CMsgVector origin = 3;
*/
com.dota2.proto.Networkbasetypes.CMsgVector getOrigin();
/**
* optional .CMsgVector origin = 3;
*/
com.dota2.proto.Networkbasetypes.CMsgVectorOrBuilder getOriginOrBuilder();
}
/**
* Protobuf type {@code CDOTAUserMsg_NevermoreRequiem}
*/
public static final class CDOTAUserMsg_NevermoreRequiem extends
com.google.protobuf.GeneratedMessage
implements 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: {
com.dota2.proto.Networkbasetypes.CMsgVector.Builder subBuilder = null;
if (((bitField0_ & 0x00000004) == 0x00000004)) {
subBuilder = origin_.toBuilder();
}
origin_ = input.readMessage(com.dota2.proto.Networkbasetypes.CMsgVector.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(origin_);
origin_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000004;
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 com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_NevermoreRequiem_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_NevermoreRequiem_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_NevermoreRequiem.class, com.dota2.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_;
// optional int32 entity_handle = 1;
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_;
}
// optional int32 lines = 2;
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_;
}
// optional .CMsgVector origin = 3;
public static final int ORIGIN_FIELD_NUMBER = 3;
private com.dota2.proto.Networkbasetypes.CMsgVector origin_;
/**
* optional .CMsgVector origin = 3;
*/
public boolean hasOrigin() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional .CMsgVector origin = 3;
*/
public com.dota2.proto.Networkbasetypes.CMsgVector getOrigin() {
return origin_;
}
/**
* optional .CMsgVector origin = 3;
*/
public com.dota2.proto.Networkbasetypes.CMsgVectorOrBuilder getOriginOrBuilder() {
return origin_;
}
private void initFields() {
entityHandle_ = 0;
lines_ = 0;
origin_ = com.dota2.proto.Networkbasetypes.CMsgVector.getDefaultInstance();
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
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_);
}
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_);
}
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 com.dota2.proto.DotaUsermessages.CDOTAUserMsg_NevermoreRequiem parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.dota2.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 com.dota2.proto.DotaUsermessages.CDOTAUserMsg_NevermoreRequiem parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_NevermoreRequiem parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_NevermoreRequiem parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.dota2.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 com.dota2.proto.DotaUsermessages.CDOTAUserMsg_NevermoreRequiem parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static com.dota2.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 com.dota2.proto.DotaUsermessages.CDOTAUserMsg_NevermoreRequiem parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.dota2.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(com.dota2.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 com.dota2.proto.DotaUsermessages.CDOTAUserMsg_NevermoreRequiemOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_NevermoreRequiem_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_NevermoreRequiem_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_NevermoreRequiem.class, com.dota2.proto.DotaUsermessages.CDOTAUserMsg_NevermoreRequiem.Builder.class);
}
// Construct using com.dota2.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_ = com.dota2.proto.Networkbasetypes.CMsgVector.getDefaultInstance();
} else {
originBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000004);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_NevermoreRequiem_descriptor;
}
public com.dota2.proto.DotaUsermessages.CDOTAUserMsg_NevermoreRequiem getDefaultInstanceForType() {
return com.dota2.proto.DotaUsermessages.CDOTAUserMsg_NevermoreRequiem.getDefaultInstance();
}
public com.dota2.proto.DotaUsermessages.CDOTAUserMsg_NevermoreRequiem build() {
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_NevermoreRequiem result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.dota2.proto.DotaUsermessages.CDOTAUserMsg_NevermoreRequiem buildPartial() {
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_NevermoreRequiem result = new com.dota2.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();
}
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.dota2.proto.DotaUsermessages.CDOTAUserMsg_NevermoreRequiem) {
return mergeFrom((com.dota2.proto.DotaUsermessages.CDOTAUserMsg_NevermoreRequiem)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.dota2.proto.DotaUsermessages.CDOTAUserMsg_NevermoreRequiem other) {
if (other == com.dota2.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());
}
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 {
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_NevermoreRequiem parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.dota2.proto.DotaUsermessages.CDOTAUserMsg_NevermoreRequiem) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// optional int32 entity_handle = 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_;
}
/**
* 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;
}
// optional int32 lines = 2;
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;
}
// optional .CMsgVector origin = 3;
private com.dota2.proto.Networkbasetypes.CMsgVector origin_ = com.dota2.proto.Networkbasetypes.CMsgVector.getDefaultInstance();
private com.google.protobuf.SingleFieldBuilder<
com.dota2.proto.Networkbasetypes.CMsgVector, com.dota2.proto.Networkbasetypes.CMsgVector.Builder, com.dota2.proto.Networkbasetypes.CMsgVectorOrBuilder> originBuilder_;
/**
* optional .CMsgVector origin = 3;
*/
public boolean hasOrigin() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional .CMsgVector origin = 3;
*/
public com.dota2.proto.Networkbasetypes.CMsgVector getOrigin() {
if (originBuilder_ == null) {
return origin_;
} else {
return originBuilder_.getMessage();
}
}
/**
* optional .CMsgVector origin = 3;
*/
public Builder setOrigin(com.dota2.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(
com.dota2.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(com.dota2.proto.Networkbasetypes.CMsgVector value) {
if (originBuilder_ == null) {
if (((bitField0_ & 0x00000004) == 0x00000004) &&
origin_ != com.dota2.proto.Networkbasetypes.CMsgVector.getDefaultInstance()) {
origin_ =
com.dota2.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_ = com.dota2.proto.Networkbasetypes.CMsgVector.getDefaultInstance();
onChanged();
} else {
originBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000004);
return this;
}
/**
* optional .CMsgVector origin = 3;
*/
public com.dota2.proto.Networkbasetypes.CMsgVector.Builder getOriginBuilder() {
bitField0_ |= 0x00000004;
onChanged();
return getOriginFieldBuilder().getBuilder();
}
/**
* optional .CMsgVector origin = 3;
*/
public com.dota2.proto.Networkbasetypes.CMsgVectorOrBuilder getOriginOrBuilder() {
if (originBuilder_ != null) {
return originBuilder_.getMessageOrBuilder();
} else {
return origin_;
}
}
/**
* optional .CMsgVector origin = 3;
*/
private com.google.protobuf.SingleFieldBuilder<
com.dota2.proto.Networkbasetypes.CMsgVector, com.dota2.proto.Networkbasetypes.CMsgVector.Builder, com.dota2.proto.Networkbasetypes.CMsgVectorOrBuilder>
getOriginFieldBuilder() {
if (originBuilder_ == null) {
originBuilder_ = new com.google.protobuf.SingleFieldBuilder<
com.dota2.proto.Networkbasetypes.CMsgVector, com.dota2.proto.Networkbasetypes.CMsgVector.Builder, com.dota2.proto.Networkbasetypes.CMsgVectorOrBuilder>(
origin_,
getParentForChildren(),
isClean());
origin_ = null;
}
return originBuilder_;
}
// @@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_InvalidCommandOrBuilder
extends com.google.protobuf.MessageOrBuilder {
// optional string message = 1;
/**
* optional string message = 1;
*/
boolean hasMessage();
/**
* optional string message = 1;
*/
java.lang.String getMessage();
/**
* optional string message = 1;
*/
com.google.protobuf.ByteString
getMessageBytes();
}
/**
* Protobuf type {@code CDOTAUserMsg_InvalidCommand}
*/
public static final class CDOTAUserMsg_InvalidCommand extends
com.google.protobuf.GeneratedMessage
implements CDOTAUserMsg_InvalidCommandOrBuilder {
// Use CDOTAUserMsg_InvalidCommand.newBuilder() to construct.
private CDOTAUserMsg_InvalidCommand(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private CDOTAUserMsg_InvalidCommand(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final CDOTAUserMsg_InvalidCommand defaultInstance;
public static CDOTAUserMsg_InvalidCommand getDefaultInstance() {
return defaultInstance;
}
public CDOTAUserMsg_InvalidCommand 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_InvalidCommand(
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: {
bitField0_ |= 0x00000001;
message_ = input.readBytes();
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 com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_InvalidCommand_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_InvalidCommand_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_InvalidCommand.class, com.dota2.proto.DotaUsermessages.CDOTAUserMsg_InvalidCommand.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public CDOTAUserMsg_InvalidCommand parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new CDOTAUserMsg_InvalidCommand(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
// optional string message = 1;
public static final int MESSAGE_FIELD_NUMBER = 1;
private java.lang.Object message_;
/**
* optional string message = 1;
*/
public boolean hasMessage() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional string message = 1;
*/
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 = 1;
*/
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;
}
}
private void initFields() {
message_ = "";
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeBytes(1, getMessageBytes());
}
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
.computeBytesSize(1, getMessageBytes());
}
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 com.dota2.proto.DotaUsermessages.CDOTAUserMsg_InvalidCommand parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_InvalidCommand parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_InvalidCommand parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_InvalidCommand parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_InvalidCommand parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_InvalidCommand parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_InvalidCommand parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_InvalidCommand parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_InvalidCommand parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_InvalidCommand 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(com.dota2.proto.DotaUsermessages.CDOTAUserMsg_InvalidCommand 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_InvalidCommand}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder
implements com.dota2.proto.DotaUsermessages.CDOTAUserMsg_InvalidCommandOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_InvalidCommand_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_InvalidCommand_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_InvalidCommand.class, com.dota2.proto.DotaUsermessages.CDOTAUserMsg_InvalidCommand.Builder.class);
}
// Construct using com.dota2.proto.DotaUsermessages.CDOTAUserMsg_InvalidCommand.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();
message_ = "";
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_InvalidCommand_descriptor;
}
public com.dota2.proto.DotaUsermessages.CDOTAUserMsg_InvalidCommand getDefaultInstanceForType() {
return com.dota2.proto.DotaUsermessages.CDOTAUserMsg_InvalidCommand.getDefaultInstance();
}
public com.dota2.proto.DotaUsermessages.CDOTAUserMsg_InvalidCommand build() {
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_InvalidCommand result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.dota2.proto.DotaUsermessages.CDOTAUserMsg_InvalidCommand buildPartial() {
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_InvalidCommand result = new com.dota2.proto.DotaUsermessages.CDOTAUserMsg_InvalidCommand(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.message_ = message_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.dota2.proto.DotaUsermessages.CDOTAUserMsg_InvalidCommand) {
return mergeFrom((com.dota2.proto.DotaUsermessages.CDOTAUserMsg_InvalidCommand)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.dota2.proto.DotaUsermessages.CDOTAUserMsg_InvalidCommand other) {
if (other == com.dota2.proto.DotaUsermessages.CDOTAUserMsg_InvalidCommand.getDefaultInstance()) return this;
if (other.hasMessage()) {
bitField0_ |= 0x00000001;
message_ = other.message_;
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 {
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_InvalidCommand parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.dota2.proto.DotaUsermessages.CDOTAUserMsg_InvalidCommand) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// optional string message = 1;
private java.lang.Object message_ = "";
/**
* optional string message = 1;
*/
public boolean hasMessage() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional string message = 1;
*/
public java.lang.String getMessage() {
java.lang.Object ref = message_;
if (!(ref instanceof java.lang.String)) {
java.lang.String s = ((com.google.protobuf.ByteString) ref)
.toStringUtf8();
message_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string message = 1;
*/
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 = 1;
*/
public Builder setMessage(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
message_ = value;
onChanged();
return this;
}
/**
* optional string message = 1;
*/
public Builder clearMessage() {
bitField0_ = (bitField0_ & ~0x00000001);
message_ = getDefaultInstance().getMessage();
onChanged();
return this;
}
/**
* optional string message = 1;
*/
public Builder setMessageBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
message_ = value;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:CDOTAUserMsg_InvalidCommand)
}
static {
defaultInstance = new CDOTAUserMsg_InvalidCommand(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:CDOTAUserMsg_InvalidCommand)
}
public interface CDOTAUserMsg_HudErrorOrBuilder
extends com.google.protobuf.MessageOrBuilder {
// optional int32 order_id = 1;
/**
* 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 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 com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_HudError_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_HudError_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_HudError.class, com.dota2.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_;
// optional int32 order_id = 1;
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 isInitialized == 1;
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 com.dota2.proto.DotaUsermessages.CDOTAUserMsg_HudError parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.dota2.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 com.dota2.proto.DotaUsermessages.CDOTAUserMsg_HudError parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_HudError parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_HudError parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.dota2.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 com.dota2.proto.DotaUsermessages.CDOTAUserMsg_HudError parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static com.dota2.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 com.dota2.proto.DotaUsermessages.CDOTAUserMsg_HudError parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.dota2.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(com.dota2.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 com.dota2.proto.DotaUsermessages.CDOTAUserMsg_HudErrorOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_HudError_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_HudError_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_HudError.class, com.dota2.proto.DotaUsermessages.CDOTAUserMsg_HudError.Builder.class);
}
// Construct using com.dota2.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 com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_HudError_descriptor;
}
public com.dota2.proto.DotaUsermessages.CDOTAUserMsg_HudError getDefaultInstanceForType() {
return com.dota2.proto.DotaUsermessages.CDOTAUserMsg_HudError.getDefaultInstance();
}
public com.dota2.proto.DotaUsermessages.CDOTAUserMsg_HudError build() {
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_HudError result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.dota2.proto.DotaUsermessages.CDOTAUserMsg_HudError buildPartial() {
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_HudError result = new com.dota2.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 com.dota2.proto.DotaUsermessages.CDOTAUserMsg_HudError) {
return mergeFrom((com.dota2.proto.DotaUsermessages.CDOTAUserMsg_HudError)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.dota2.proto.DotaUsermessages.CDOTAUserMsg_HudError other) {
if (other == com.dota2.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 {
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_HudError parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.dota2.proto.DotaUsermessages.CDOTAUserMsg_HudError) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// optional int32 order_id = 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_;
}
/**
* 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 com.google.protobuf.MessageOrBuilder {
// optional int32 entindex = 1;
/**
* optional int32 entindex = 1;
*/
boolean hasEntindex();
/**
* optional int32 entindex = 1;
*/
int getEntindex();
// optional string name = 2;
/**
* 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;
/**
* optional float cooldown = 3;
*/
boolean hasCooldown();
/**
* optional float cooldown = 3;
*/
float getCooldown();
// optional int32 name_index = 4;
/**
* 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 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: {
bitField0_ |= 0x00000002;
name_ = input.readBytes();
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 com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_SharedCooldown_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_SharedCooldown_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_SharedCooldown.class, com.dota2.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_;
// optional int32 entindex = 1;
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_;
}
// optional string name = 2;
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;
}
}
// optional float cooldown = 3;
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_;
}
// optional int32 name_index = 4;
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 isInitialized == 1;
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 com.dota2.proto.DotaUsermessages.CDOTAUserMsg_SharedCooldown parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.dota2.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 com.dota2.proto.DotaUsermessages.CDOTAUserMsg_SharedCooldown parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_SharedCooldown parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_SharedCooldown parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.dota2.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 com.dota2.proto.DotaUsermessages.CDOTAUserMsg_SharedCooldown parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static com.dota2.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 com.dota2.proto.DotaUsermessages.CDOTAUserMsg_SharedCooldown parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.dota2.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(com.dota2.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 com.dota2.proto.DotaUsermessages.CDOTAUserMsg_SharedCooldownOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_SharedCooldown_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_SharedCooldown_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_SharedCooldown.class, com.dota2.proto.DotaUsermessages.CDOTAUserMsg_SharedCooldown.Builder.class);
}
// Construct using com.dota2.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 com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_SharedCooldown_descriptor;
}
public com.dota2.proto.DotaUsermessages.CDOTAUserMsg_SharedCooldown getDefaultInstanceForType() {
return com.dota2.proto.DotaUsermessages.CDOTAUserMsg_SharedCooldown.getDefaultInstance();
}
public com.dota2.proto.DotaUsermessages.CDOTAUserMsg_SharedCooldown build() {
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_SharedCooldown result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.dota2.proto.DotaUsermessages.CDOTAUserMsg_SharedCooldown buildPartial() {
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_SharedCooldown result = new com.dota2.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 com.dota2.proto.DotaUsermessages.CDOTAUserMsg_SharedCooldown) {
return mergeFrom((com.dota2.proto.DotaUsermessages.CDOTAUserMsg_SharedCooldown)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.dota2.proto.DotaUsermessages.CDOTAUserMsg_SharedCooldown other) {
if (other == com.dota2.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 {
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_SharedCooldown parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.dota2.proto.DotaUsermessages.CDOTAUserMsg_SharedCooldown) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// optional int32 entindex = 1;
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;
}
// optional string name = 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)) {
java.lang.String s = ((com.google.protobuf.ByteString) ref)
.toStringUtf8();
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;
}
// optional float cooldown = 3;
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;
}
// optional int32 name_index = 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_;
}
/**
* 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_SetNextAutobuyItemOrBuilder
extends com.google.protobuf.MessageOrBuilder {
// optional string name = 1;
/**
* optional string name = 1;
*/
boolean hasName();
/**
* optional string name = 1;
*/
java.lang.String getName();
/**
* optional string name = 1;
*/
com.google.protobuf.ByteString
getNameBytes();
}
/**
* Protobuf type {@code CDOTAUserMsg_SetNextAutobuyItem}
*/
public static final class CDOTAUserMsg_SetNextAutobuyItem extends
com.google.protobuf.GeneratedMessage
implements CDOTAUserMsg_SetNextAutobuyItemOrBuilder {
// Use CDOTAUserMsg_SetNextAutobuyItem.newBuilder() to construct.
private CDOTAUserMsg_SetNextAutobuyItem(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private CDOTAUserMsg_SetNextAutobuyItem(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final CDOTAUserMsg_SetNextAutobuyItem defaultInstance;
public static CDOTAUserMsg_SetNextAutobuyItem getDefaultInstance() {
return defaultInstance;
}
public CDOTAUserMsg_SetNextAutobuyItem 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_SetNextAutobuyItem(
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: {
bitField0_ |= 0x00000001;
name_ = input.readBytes();
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 com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_SetNextAutobuyItem_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_SetNextAutobuyItem_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_SetNextAutobuyItem.class, com.dota2.proto.DotaUsermessages.CDOTAUserMsg_SetNextAutobuyItem.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public CDOTAUserMsg_SetNextAutobuyItem parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new CDOTAUserMsg_SetNextAutobuyItem(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
// optional string name = 1;
public static final int NAME_FIELD_NUMBER = 1;
private java.lang.Object name_;
/**
* optional string name = 1;
*/
public boolean hasName() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional string name = 1;
*/
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 = 1;
*/
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;
}
}
private void initFields() {
name_ = "";
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeBytes(1, getNameBytes());
}
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
.computeBytesSize(1, getNameBytes());
}
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 com.dota2.proto.DotaUsermessages.CDOTAUserMsg_SetNextAutobuyItem parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_SetNextAutobuyItem parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_SetNextAutobuyItem parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_SetNextAutobuyItem parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_SetNextAutobuyItem parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_SetNextAutobuyItem parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_SetNextAutobuyItem parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_SetNextAutobuyItem parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_SetNextAutobuyItem parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_SetNextAutobuyItem 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(com.dota2.proto.DotaUsermessages.CDOTAUserMsg_SetNextAutobuyItem 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_SetNextAutobuyItem}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder
implements com.dota2.proto.DotaUsermessages.CDOTAUserMsg_SetNextAutobuyItemOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_SetNextAutobuyItem_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_SetNextAutobuyItem_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_SetNextAutobuyItem.class, com.dota2.proto.DotaUsermessages.CDOTAUserMsg_SetNextAutobuyItem.Builder.class);
}
// Construct using com.dota2.proto.DotaUsermessages.CDOTAUserMsg_SetNextAutobuyItem.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();
name_ = "";
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_SetNextAutobuyItem_descriptor;
}
public com.dota2.proto.DotaUsermessages.CDOTAUserMsg_SetNextAutobuyItem getDefaultInstanceForType() {
return com.dota2.proto.DotaUsermessages.CDOTAUserMsg_SetNextAutobuyItem.getDefaultInstance();
}
public com.dota2.proto.DotaUsermessages.CDOTAUserMsg_SetNextAutobuyItem build() {
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_SetNextAutobuyItem result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.dota2.proto.DotaUsermessages.CDOTAUserMsg_SetNextAutobuyItem buildPartial() {
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_SetNextAutobuyItem result = new com.dota2.proto.DotaUsermessages.CDOTAUserMsg_SetNextAutobuyItem(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.name_ = name_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.dota2.proto.DotaUsermessages.CDOTAUserMsg_SetNextAutobuyItem) {
return mergeFrom((com.dota2.proto.DotaUsermessages.CDOTAUserMsg_SetNextAutobuyItem)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.dota2.proto.DotaUsermessages.CDOTAUserMsg_SetNextAutobuyItem other) {
if (other == com.dota2.proto.DotaUsermessages.CDOTAUserMsg_SetNextAutobuyItem.getDefaultInstance()) return this;
if (other.hasName()) {
bitField0_ |= 0x00000001;
name_ = other.name_;
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 {
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_SetNextAutobuyItem parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.dota2.proto.DotaUsermessages.CDOTAUserMsg_SetNextAutobuyItem) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// optional string name = 1;
private java.lang.Object name_ = "";
/**
* optional string name = 1;
*/
public boolean hasName() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional string name = 1;
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
if (!(ref instanceof java.lang.String)) {
java.lang.String s = ((com.google.protobuf.ByteString) ref)
.toStringUtf8();
name_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string name = 1;
*/
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 = 1;
*/
public Builder setName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
name_ = value;
onChanged();
return this;
}
/**
* optional string name = 1;
*/
public Builder clearName() {
bitField0_ = (bitField0_ & ~0x00000001);
name_ = getDefaultInstance().getName();
onChanged();
return this;
}
/**
* optional string name = 1;
*/
public Builder setNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
name_ = value;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:CDOTAUserMsg_SetNextAutobuyItem)
}
static {
defaultInstance = new CDOTAUserMsg_SetNextAutobuyItem(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:CDOTAUserMsg_SetNextAutobuyItem)
}
public interface CDOTAUserMsg_HalloweenDropsOrBuilder
extends com.google.protobuf.MessageOrBuilder {
// repeated uint32 item_defs = 1;
/**
* 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;
/**
* 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;
/**
* 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 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 com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_HalloweenDrops_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_HalloweenDrops_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_HalloweenDrops.class, com.dota2.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_;
// repeated uint32 item_defs = 1;
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);
}
// repeated uint32 player_ids = 2;
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);
}
// optional uint32 prize_list = 3;
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 isInitialized == 1;
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 com.dota2.proto.DotaUsermessages.CDOTAUserMsg_HalloweenDrops parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.dota2.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 com.dota2.proto.DotaUsermessages.CDOTAUserMsg_HalloweenDrops parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_HalloweenDrops parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_HalloweenDrops parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.dota2.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 com.dota2.proto.DotaUsermessages.CDOTAUserMsg_HalloweenDrops parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static com.dota2.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 com.dota2.proto.DotaUsermessages.CDOTAUserMsg_HalloweenDrops parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.dota2.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(com.dota2.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 com.dota2.proto.DotaUsermessages.CDOTAUserMsg_HalloweenDropsOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_HalloweenDrops_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_HalloweenDrops_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_HalloweenDrops.class, com.dota2.proto.DotaUsermessages.CDOTAUserMsg_HalloweenDrops.Builder.class);
}
// Construct using com.dota2.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 com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_HalloweenDrops_descriptor;
}
public com.dota2.proto.DotaUsermessages.CDOTAUserMsg_HalloweenDrops getDefaultInstanceForType() {
return com.dota2.proto.DotaUsermessages.CDOTAUserMsg_HalloweenDrops.getDefaultInstance();
}
public com.dota2.proto.DotaUsermessages.CDOTAUserMsg_HalloweenDrops build() {
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_HalloweenDrops result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.dota2.proto.DotaUsermessages.CDOTAUserMsg_HalloweenDrops buildPartial() {
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_HalloweenDrops result = new com.dota2.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 com.dota2.proto.DotaUsermessages.CDOTAUserMsg_HalloweenDrops) {
return mergeFrom((com.dota2.proto.DotaUsermessages.CDOTAUserMsg_HalloweenDrops)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.dota2.proto.DotaUsermessages.CDOTAUserMsg_HalloweenDrops other) {
if (other == com.dota2.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 {
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_HalloweenDrops parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.dota2.proto.DotaUsermessages.CDOTAUserMsg_HalloweenDrops) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// repeated uint32 item_defs = 1;
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();
super.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;
}
// repeated uint32 player_ids = 2;
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();
super.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;
}
// optional uint32 prize_list = 3;
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 CDOTAResponseQuerySerializedOrBuilder
extends com.google.protobuf.MessageOrBuilder {
// repeated .CDOTAResponseQuerySerialized.Fact facts = 1;
/**
* repeated .CDOTAResponseQuerySerialized.Fact facts = 1;
*/
java.util.List
getFactsList();
/**
* repeated .CDOTAResponseQuerySerialized.Fact facts = 1;
*/
com.dota2.proto.DotaUsermessages.CDOTAResponseQuerySerialized.Fact getFacts(int index);
/**
* repeated .CDOTAResponseQuerySerialized.Fact facts = 1;
*/
int getFactsCount();
/**
* repeated .CDOTAResponseQuerySerialized.Fact facts = 1;
*/
java.util.List extends com.dota2.proto.DotaUsermessages.CDOTAResponseQuerySerialized.FactOrBuilder>
getFactsOrBuilderList();
/**
* repeated .CDOTAResponseQuerySerialized.Fact facts = 1;
*/
com.dota2.proto.DotaUsermessages.CDOTAResponseQuerySerialized.FactOrBuilder getFactsOrBuilder(
int index);
}
/**
* Protobuf type {@code CDOTAResponseQuerySerialized}
*/
public static final class CDOTAResponseQuerySerialized extends
com.google.protobuf.GeneratedMessage
implements CDOTAResponseQuerySerializedOrBuilder {
// Use CDOTAResponseQuerySerialized.newBuilder() to construct.
private CDOTAResponseQuerySerialized(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private CDOTAResponseQuerySerialized(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final CDOTAResponseQuerySerialized defaultInstance;
public static CDOTAResponseQuerySerialized getDefaultInstance() {
return defaultInstance;
}
public CDOTAResponseQuerySerialized getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private CDOTAResponseQuerySerialized(
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)) {
facts_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
facts_.add(input.readMessage(com.dota2.proto.DotaUsermessages.CDOTAResponseQuerySerialized.Fact.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)) {
facts_ = java.util.Collections.unmodifiableList(facts_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.dota2.proto.DotaUsermessages.internal_static_CDOTAResponseQuerySerialized_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.dota2.proto.DotaUsermessages.internal_static_CDOTAResponseQuerySerialized_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.dota2.proto.DotaUsermessages.CDOTAResponseQuerySerialized.class, com.dota2.proto.DotaUsermessages.CDOTAResponseQuerySerialized.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public CDOTAResponseQuerySerialized parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new CDOTAResponseQuerySerialized(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public interface FactOrBuilder
extends com.google.protobuf.MessageOrBuilder {
// required int32 key = 1;
/**
* required int32 key = 1;
*/
boolean hasKey();
/**
* required int32 key = 1;
*/
int getKey();
// required .CDOTAResponseQuerySerialized.Fact.ValueType valtype = 2 [default = NUMERIC];
/**
* required .CDOTAResponseQuerySerialized.Fact.ValueType valtype = 2 [default = NUMERIC];
*/
boolean hasValtype();
/**
* required .CDOTAResponseQuerySerialized.Fact.ValueType valtype = 2 [default = NUMERIC];
*/
com.dota2.proto.DotaUsermessages.CDOTAResponseQuerySerialized.Fact.ValueType getValtype();
// optional float val_numeric = 3;
/**
* optional float val_numeric = 3;
*/
boolean hasValNumeric();
/**
* optional float val_numeric = 3;
*/
float getValNumeric();
// optional string val_string = 4;
/**
* optional string val_string = 4;
*/
boolean hasValString();
/**
* optional string val_string = 4;
*/
java.lang.String getValString();
/**
* optional string val_string = 4;
*/
com.google.protobuf.ByteString
getValStringBytes();
}
/**
* Protobuf type {@code CDOTAResponseQuerySerialized.Fact}
*/
public static final class Fact extends
com.google.protobuf.GeneratedMessage
implements FactOrBuilder {
// Use Fact.newBuilder() to construct.
private Fact(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private Fact(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final Fact defaultInstance;
public static Fact getDefaultInstance() {
return defaultInstance;
}
public Fact getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private Fact(
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;
key_ = input.readInt32();
break;
}
case 16: {
int rawValue = input.readEnum();
com.dota2.proto.DotaUsermessages.CDOTAResponseQuerySerialized.Fact.ValueType value = com.dota2.proto.DotaUsermessages.CDOTAResponseQuerySerialized.Fact.ValueType.valueOf(rawValue);
if (value == null) {
unknownFields.mergeVarintField(2, rawValue);
} else {
bitField0_ |= 0x00000002;
valtype_ = value;
}
break;
}
case 29: {
bitField0_ |= 0x00000004;
valNumeric_ = input.readFloat();
break;
}
case 34: {
bitField0_ |= 0x00000008;
valString_ = input.readBytes();
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 com.dota2.proto.DotaUsermessages.internal_static_CDOTAResponseQuerySerialized_Fact_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.dota2.proto.DotaUsermessages.internal_static_CDOTAResponseQuerySerialized_Fact_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.dota2.proto.DotaUsermessages.CDOTAResponseQuerySerialized.Fact.class, com.dota2.proto.DotaUsermessages.CDOTAResponseQuerySerialized.Fact.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public Fact parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new Fact(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
/**
* Protobuf enum {@code CDOTAResponseQuerySerialized.Fact.ValueType}
*/
public enum ValueType
implements com.google.protobuf.ProtocolMessageEnum {
/**
* NUMERIC = 1;
*/
NUMERIC(0, 1),
/**
* STRING = 2;
*/
STRING(1, 2),
;
/**
* NUMERIC = 1;
*/
public static final int NUMERIC_VALUE = 1;
/**
* STRING = 2;
*/
public static final int STRING_VALUE = 2;
public final int getNumber() { return value; }
public static ValueType valueOf(int value) {
switch (value) {
case 1: return NUMERIC;
case 2: return STRING;
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 ValueType findValueByNumber(int number) {
return ValueType.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 com.dota2.proto.DotaUsermessages.CDOTAResponseQuerySerialized.Fact.getDescriptor().getEnumTypes().get(0);
}
private static final ValueType[] VALUES = values();
public static ValueType 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 ValueType(int index, int value) {
this.index = index;
this.value = value;
}
// @@protoc_insertion_point(enum_scope:CDOTAResponseQuerySerialized.Fact.ValueType)
}
private int bitField0_;
// required int32 key = 1;
public static final int KEY_FIELD_NUMBER = 1;
private int key_;
/**
* required int32 key = 1;
*/
public boolean hasKey() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required int32 key = 1;
*/
public int getKey() {
return key_;
}
// required .CDOTAResponseQuerySerialized.Fact.ValueType valtype = 2 [default = NUMERIC];
public static final int VALTYPE_FIELD_NUMBER = 2;
private com.dota2.proto.DotaUsermessages.CDOTAResponseQuerySerialized.Fact.ValueType valtype_;
/**
* required .CDOTAResponseQuerySerialized.Fact.ValueType valtype = 2 [default = NUMERIC];
*/
public boolean hasValtype() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* required .CDOTAResponseQuerySerialized.Fact.ValueType valtype = 2 [default = NUMERIC];
*/
public com.dota2.proto.DotaUsermessages.CDOTAResponseQuerySerialized.Fact.ValueType getValtype() {
return valtype_;
}
// optional float val_numeric = 3;
public static final int VAL_NUMERIC_FIELD_NUMBER = 3;
private float valNumeric_;
/**
* optional float val_numeric = 3;
*/
public boolean hasValNumeric() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional float val_numeric = 3;
*/
public float getValNumeric() {
return valNumeric_;
}
// optional string val_string = 4;
public static final int VAL_STRING_FIELD_NUMBER = 4;
private java.lang.Object valString_;
/**
* optional string val_string = 4;
*/
public boolean hasValString() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* optional string val_string = 4;
*/
public java.lang.String getValString() {
java.lang.Object ref = valString_;
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()) {
valString_ = s;
}
return s;
}
}
/**
* optional string val_string = 4;
*/
public com.google.protobuf.ByteString
getValStringBytes() {
java.lang.Object ref = valString_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
valString_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private void initFields() {
key_ = 0;
valtype_ = com.dota2.proto.DotaUsermessages.CDOTAResponseQuerySerialized.Fact.ValueType.NUMERIC;
valNumeric_ = 0F;
valString_ = "";
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
if (!hasKey()) {
memoizedIsInitialized = 0;
return false;
}
if (!hasValtype()) {
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, key_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeEnum(2, valtype_.getNumber());
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
output.writeFloat(3, valNumeric_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
output.writeBytes(4, getValStringBytes());
}
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, key_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(2, valtype_.getNumber());
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += com.google.protobuf.CodedOutputStream
.computeFloatSize(3, valNumeric_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(4, getValStringBytes());
}
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 com.dota2.proto.DotaUsermessages.CDOTAResponseQuerySerialized.Fact parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.dota2.proto.DotaUsermessages.CDOTAResponseQuerySerialized.Fact parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.dota2.proto.DotaUsermessages.CDOTAResponseQuerySerialized.Fact parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.dota2.proto.DotaUsermessages.CDOTAResponseQuerySerialized.Fact parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.dota2.proto.DotaUsermessages.CDOTAResponseQuerySerialized.Fact parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.dota2.proto.DotaUsermessages.CDOTAResponseQuerySerialized.Fact parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static com.dota2.proto.DotaUsermessages.CDOTAResponseQuerySerialized.Fact parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static com.dota2.proto.DotaUsermessages.CDOTAResponseQuerySerialized.Fact parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static com.dota2.proto.DotaUsermessages.CDOTAResponseQuerySerialized.Fact parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.dota2.proto.DotaUsermessages.CDOTAResponseQuerySerialized.Fact 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(com.dota2.proto.DotaUsermessages.CDOTAResponseQuerySerialized.Fact 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 CDOTAResponseQuerySerialized.Fact}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder
implements com.dota2.proto.DotaUsermessages.CDOTAResponseQuerySerialized.FactOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.dota2.proto.DotaUsermessages.internal_static_CDOTAResponseQuerySerialized_Fact_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.dota2.proto.DotaUsermessages.internal_static_CDOTAResponseQuerySerialized_Fact_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.dota2.proto.DotaUsermessages.CDOTAResponseQuerySerialized.Fact.class, com.dota2.proto.DotaUsermessages.CDOTAResponseQuerySerialized.Fact.Builder.class);
}
// Construct using com.dota2.proto.DotaUsermessages.CDOTAResponseQuerySerialized.Fact.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();
key_ = 0;
bitField0_ = (bitField0_ & ~0x00000001);
valtype_ = com.dota2.proto.DotaUsermessages.CDOTAResponseQuerySerialized.Fact.ValueType.NUMERIC;
bitField0_ = (bitField0_ & ~0x00000002);
valNumeric_ = 0F;
bitField0_ = (bitField0_ & ~0x00000004);
valString_ = "";
bitField0_ = (bitField0_ & ~0x00000008);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.dota2.proto.DotaUsermessages.internal_static_CDOTAResponseQuerySerialized_Fact_descriptor;
}
public com.dota2.proto.DotaUsermessages.CDOTAResponseQuerySerialized.Fact getDefaultInstanceForType() {
return com.dota2.proto.DotaUsermessages.CDOTAResponseQuerySerialized.Fact.getDefaultInstance();
}
public com.dota2.proto.DotaUsermessages.CDOTAResponseQuerySerialized.Fact build() {
com.dota2.proto.DotaUsermessages.CDOTAResponseQuerySerialized.Fact result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.dota2.proto.DotaUsermessages.CDOTAResponseQuerySerialized.Fact buildPartial() {
com.dota2.proto.DotaUsermessages.CDOTAResponseQuerySerialized.Fact result = new com.dota2.proto.DotaUsermessages.CDOTAResponseQuerySerialized.Fact(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.key_ = key_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.valtype_ = valtype_;
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
to_bitField0_ |= 0x00000004;
}
result.valNumeric_ = valNumeric_;
if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
to_bitField0_ |= 0x00000008;
}
result.valString_ = valString_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.dota2.proto.DotaUsermessages.CDOTAResponseQuerySerialized.Fact) {
return mergeFrom((com.dota2.proto.DotaUsermessages.CDOTAResponseQuerySerialized.Fact)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.dota2.proto.DotaUsermessages.CDOTAResponseQuerySerialized.Fact other) {
if (other == com.dota2.proto.DotaUsermessages.CDOTAResponseQuerySerialized.Fact.getDefaultInstance()) return this;
if (other.hasKey()) {
setKey(other.getKey());
}
if (other.hasValtype()) {
setValtype(other.getValtype());
}
if (other.hasValNumeric()) {
setValNumeric(other.getValNumeric());
}
if (other.hasValString()) {
bitField0_ |= 0x00000008;
valString_ = other.valString_;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
if (!hasKey()) {
return false;
}
if (!hasValtype()) {
return false;
}
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.dota2.proto.DotaUsermessages.CDOTAResponseQuerySerialized.Fact parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.dota2.proto.DotaUsermessages.CDOTAResponseQuerySerialized.Fact) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// required int32 key = 1;
private int key_ ;
/**
* required int32 key = 1;
*/
public boolean hasKey() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required int32 key = 1;
*/
public int getKey() {
return key_;
}
/**
* required int32 key = 1;
*/
public Builder setKey(int value) {
bitField0_ |= 0x00000001;
key_ = value;
onChanged();
return this;
}
/**
* required int32 key = 1;
*/
public Builder clearKey() {
bitField0_ = (bitField0_ & ~0x00000001);
key_ = 0;
onChanged();
return this;
}
// required .CDOTAResponseQuerySerialized.Fact.ValueType valtype = 2 [default = NUMERIC];
private com.dota2.proto.DotaUsermessages.CDOTAResponseQuerySerialized.Fact.ValueType valtype_ = com.dota2.proto.DotaUsermessages.CDOTAResponseQuerySerialized.Fact.ValueType.NUMERIC;
/**
* required .CDOTAResponseQuerySerialized.Fact.ValueType valtype = 2 [default = NUMERIC];
*/
public boolean hasValtype() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* required .CDOTAResponseQuerySerialized.Fact.ValueType valtype = 2 [default = NUMERIC];
*/
public com.dota2.proto.DotaUsermessages.CDOTAResponseQuerySerialized.Fact.ValueType getValtype() {
return valtype_;
}
/**
* required .CDOTAResponseQuerySerialized.Fact.ValueType valtype = 2 [default = NUMERIC];
*/
public Builder setValtype(com.dota2.proto.DotaUsermessages.CDOTAResponseQuerySerialized.Fact.ValueType value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
valtype_ = value;
onChanged();
return this;
}
/**
* required .CDOTAResponseQuerySerialized.Fact.ValueType valtype = 2 [default = NUMERIC];
*/
public Builder clearValtype() {
bitField0_ = (bitField0_ & ~0x00000002);
valtype_ = com.dota2.proto.DotaUsermessages.CDOTAResponseQuerySerialized.Fact.ValueType.NUMERIC;
onChanged();
return this;
}
// optional float val_numeric = 3;
private float valNumeric_ ;
/**
* optional float val_numeric = 3;
*/
public boolean hasValNumeric() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional float val_numeric = 3;
*/
public float getValNumeric() {
return valNumeric_;
}
/**
* optional float val_numeric = 3;
*/
public Builder setValNumeric(float value) {
bitField0_ |= 0x00000004;
valNumeric_ = value;
onChanged();
return this;
}
/**
* optional float val_numeric = 3;
*/
public Builder clearValNumeric() {
bitField0_ = (bitField0_ & ~0x00000004);
valNumeric_ = 0F;
onChanged();
return this;
}
// optional string val_string = 4;
private java.lang.Object valString_ = "";
/**
* optional string val_string = 4;
*/
public boolean hasValString() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* optional string val_string = 4;
*/
public java.lang.String getValString() {
java.lang.Object ref = valString_;
if (!(ref instanceof java.lang.String)) {
java.lang.String s = ((com.google.protobuf.ByteString) ref)
.toStringUtf8();
valString_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string val_string = 4;
*/
public com.google.protobuf.ByteString
getValStringBytes() {
java.lang.Object ref = valString_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
valString_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string val_string = 4;
*/
public Builder setValString(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000008;
valString_ = value;
onChanged();
return this;
}
/**
* optional string val_string = 4;
*/
public Builder clearValString() {
bitField0_ = (bitField0_ & ~0x00000008);
valString_ = getDefaultInstance().getValString();
onChanged();
return this;
}
/**
* optional string val_string = 4;
*/
public Builder setValStringBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000008;
valString_ = value;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:CDOTAResponseQuerySerialized.Fact)
}
static {
defaultInstance = new Fact(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:CDOTAResponseQuerySerialized.Fact)
}
// repeated .CDOTAResponseQuerySerialized.Fact facts = 1;
public static final int FACTS_FIELD_NUMBER = 1;
private java.util.List facts_;
/**
* repeated .CDOTAResponseQuerySerialized.Fact facts = 1;
*/
public java.util.List getFactsList() {
return facts_;
}
/**
* repeated .CDOTAResponseQuerySerialized.Fact facts = 1;
*/
public java.util.List extends com.dota2.proto.DotaUsermessages.CDOTAResponseQuerySerialized.FactOrBuilder>
getFactsOrBuilderList() {
return facts_;
}
/**
* repeated .CDOTAResponseQuerySerialized.Fact facts = 1;
*/
public int getFactsCount() {
return facts_.size();
}
/**
* repeated .CDOTAResponseQuerySerialized.Fact facts = 1;
*/
public com.dota2.proto.DotaUsermessages.CDOTAResponseQuerySerialized.Fact getFacts(int index) {
return facts_.get(index);
}
/**
* repeated .CDOTAResponseQuerySerialized.Fact facts = 1;
*/
public com.dota2.proto.DotaUsermessages.CDOTAResponseQuerySerialized.FactOrBuilder getFactsOrBuilder(
int index) {
return facts_.get(index);
}
private void initFields() {
facts_ = java.util.Collections.emptyList();
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
for (int i = 0; i < getFactsCount(); i++) {
if (!getFacts(i).isInitialized()) {
memoizedIsInitialized = 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 < facts_.size(); i++) {
output.writeMessage(1, facts_.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 < facts_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, facts_.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 com.dota2.proto.DotaUsermessages.CDOTAResponseQuerySerialized parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.dota2.proto.DotaUsermessages.CDOTAResponseQuerySerialized parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.dota2.proto.DotaUsermessages.CDOTAResponseQuerySerialized parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.dota2.proto.DotaUsermessages.CDOTAResponseQuerySerialized parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.dota2.proto.DotaUsermessages.CDOTAResponseQuerySerialized parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.dota2.proto.DotaUsermessages.CDOTAResponseQuerySerialized parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static com.dota2.proto.DotaUsermessages.CDOTAResponseQuerySerialized parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static com.dota2.proto.DotaUsermessages.CDOTAResponseQuerySerialized parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static com.dota2.proto.DotaUsermessages.CDOTAResponseQuerySerialized parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.dota2.proto.DotaUsermessages.CDOTAResponseQuerySerialized 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(com.dota2.proto.DotaUsermessages.CDOTAResponseQuerySerialized 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 CDOTAResponseQuerySerialized}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder
implements com.dota2.proto.DotaUsermessages.CDOTAResponseQuerySerializedOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.dota2.proto.DotaUsermessages.internal_static_CDOTAResponseQuerySerialized_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.dota2.proto.DotaUsermessages.internal_static_CDOTAResponseQuerySerialized_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.dota2.proto.DotaUsermessages.CDOTAResponseQuerySerialized.class, com.dota2.proto.DotaUsermessages.CDOTAResponseQuerySerialized.Builder.class);
}
// Construct using com.dota2.proto.DotaUsermessages.CDOTAResponseQuerySerialized.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
getFactsFieldBuilder();
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
if (factsBuilder_ == null) {
facts_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
factsBuilder_.clear();
}
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.dota2.proto.DotaUsermessages.internal_static_CDOTAResponseQuerySerialized_descriptor;
}
public com.dota2.proto.DotaUsermessages.CDOTAResponseQuerySerialized getDefaultInstanceForType() {
return com.dota2.proto.DotaUsermessages.CDOTAResponseQuerySerialized.getDefaultInstance();
}
public com.dota2.proto.DotaUsermessages.CDOTAResponseQuerySerialized build() {
com.dota2.proto.DotaUsermessages.CDOTAResponseQuerySerialized result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.dota2.proto.DotaUsermessages.CDOTAResponseQuerySerialized buildPartial() {
com.dota2.proto.DotaUsermessages.CDOTAResponseQuerySerialized result = new com.dota2.proto.DotaUsermessages.CDOTAResponseQuerySerialized(this);
int from_bitField0_ = bitField0_;
if (factsBuilder_ == null) {
if (((bitField0_ & 0x00000001) == 0x00000001)) {
facts_ = java.util.Collections.unmodifiableList(facts_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.facts_ = facts_;
} else {
result.facts_ = factsBuilder_.build();
}
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.dota2.proto.DotaUsermessages.CDOTAResponseQuerySerialized) {
return mergeFrom((com.dota2.proto.DotaUsermessages.CDOTAResponseQuerySerialized)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.dota2.proto.DotaUsermessages.CDOTAResponseQuerySerialized other) {
if (other == com.dota2.proto.DotaUsermessages.CDOTAResponseQuerySerialized.getDefaultInstance()) return this;
if (factsBuilder_ == null) {
if (!other.facts_.isEmpty()) {
if (facts_.isEmpty()) {
facts_ = other.facts_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureFactsIsMutable();
facts_.addAll(other.facts_);
}
onChanged();
}
} else {
if (!other.facts_.isEmpty()) {
if (factsBuilder_.isEmpty()) {
factsBuilder_.dispose();
factsBuilder_ = null;
facts_ = other.facts_;
bitField0_ = (bitField0_ & ~0x00000001);
factsBuilder_ =
com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
getFactsFieldBuilder() : null;
} else {
factsBuilder_.addAllMessages(other.facts_);
}
}
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
for (int i = 0; i < getFactsCount(); i++) {
if (!getFacts(i).isInitialized()) {
return false;
}
}
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.dota2.proto.DotaUsermessages.CDOTAResponseQuerySerialized parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.dota2.proto.DotaUsermessages.CDOTAResponseQuerySerialized) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// repeated .CDOTAResponseQuerySerialized.Fact facts = 1;
private java.util.List facts_ =
java.util.Collections.emptyList();
private void ensureFactsIsMutable() {
if (!((bitField0_ & 0x00000001) == 0x00000001)) {
facts_ = new java.util.ArrayList(facts_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilder<
com.dota2.proto.DotaUsermessages.CDOTAResponseQuerySerialized.Fact, com.dota2.proto.DotaUsermessages.CDOTAResponseQuerySerialized.Fact.Builder, com.dota2.proto.DotaUsermessages.CDOTAResponseQuerySerialized.FactOrBuilder> factsBuilder_;
/**
* repeated .CDOTAResponseQuerySerialized.Fact facts = 1;
*/
public java.util.List getFactsList() {
if (factsBuilder_ == null) {
return java.util.Collections.unmodifiableList(facts_);
} else {
return factsBuilder_.getMessageList();
}
}
/**
* repeated .CDOTAResponseQuerySerialized.Fact facts = 1;
*/
public int getFactsCount() {
if (factsBuilder_ == null) {
return facts_.size();
} else {
return factsBuilder_.getCount();
}
}
/**
* repeated .CDOTAResponseQuerySerialized.Fact facts = 1;
*/
public com.dota2.proto.DotaUsermessages.CDOTAResponseQuerySerialized.Fact getFacts(int index) {
if (factsBuilder_ == null) {
return facts_.get(index);
} else {
return factsBuilder_.getMessage(index);
}
}
/**
* repeated .CDOTAResponseQuerySerialized.Fact facts = 1;
*/
public Builder setFacts(
int index, com.dota2.proto.DotaUsermessages.CDOTAResponseQuerySerialized.Fact value) {
if (factsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureFactsIsMutable();
facts_.set(index, value);
onChanged();
} else {
factsBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .CDOTAResponseQuerySerialized.Fact facts = 1;
*/
public Builder setFacts(
int index, com.dota2.proto.DotaUsermessages.CDOTAResponseQuerySerialized.Fact.Builder builderForValue) {
if (factsBuilder_ == null) {
ensureFactsIsMutable();
facts_.set(index, builderForValue.build());
onChanged();
} else {
factsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .CDOTAResponseQuerySerialized.Fact facts = 1;
*/
public Builder addFacts(com.dota2.proto.DotaUsermessages.CDOTAResponseQuerySerialized.Fact value) {
if (factsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureFactsIsMutable();
facts_.add(value);
onChanged();
} else {
factsBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .CDOTAResponseQuerySerialized.Fact facts = 1;
*/
public Builder addFacts(
int index, com.dota2.proto.DotaUsermessages.CDOTAResponseQuerySerialized.Fact value) {
if (factsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureFactsIsMutable();
facts_.add(index, value);
onChanged();
} else {
factsBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .CDOTAResponseQuerySerialized.Fact facts = 1;
*/
public Builder addFacts(
com.dota2.proto.DotaUsermessages.CDOTAResponseQuerySerialized.Fact.Builder builderForValue) {
if (factsBuilder_ == null) {
ensureFactsIsMutable();
facts_.add(builderForValue.build());
onChanged();
} else {
factsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .CDOTAResponseQuerySerialized.Fact facts = 1;
*/
public Builder addFacts(
int index, com.dota2.proto.DotaUsermessages.CDOTAResponseQuerySerialized.Fact.Builder builderForValue) {
if (factsBuilder_ == null) {
ensureFactsIsMutable();
facts_.add(index, builderForValue.build());
onChanged();
} else {
factsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .CDOTAResponseQuerySerialized.Fact facts = 1;
*/
public Builder addAllFacts(
java.lang.Iterable extends com.dota2.proto.DotaUsermessages.CDOTAResponseQuerySerialized.Fact> values) {
if (factsBuilder_ == null) {
ensureFactsIsMutable();
super.addAll(values, facts_);
onChanged();
} else {
factsBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .CDOTAResponseQuerySerialized.Fact facts = 1;
*/
public Builder clearFacts() {
if (factsBuilder_ == null) {
facts_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
factsBuilder_.clear();
}
return this;
}
/**
* repeated .CDOTAResponseQuerySerialized.Fact facts = 1;
*/
public Builder removeFacts(int index) {
if (factsBuilder_ == null) {
ensureFactsIsMutable();
facts_.remove(index);
onChanged();
} else {
factsBuilder_.remove(index);
}
return this;
}
/**
* repeated .CDOTAResponseQuerySerialized.Fact facts = 1;
*/
public com.dota2.proto.DotaUsermessages.CDOTAResponseQuerySerialized.Fact.Builder getFactsBuilder(
int index) {
return getFactsFieldBuilder().getBuilder(index);
}
/**
* repeated .CDOTAResponseQuerySerialized.Fact facts = 1;
*/
public com.dota2.proto.DotaUsermessages.CDOTAResponseQuerySerialized.FactOrBuilder getFactsOrBuilder(
int index) {
if (factsBuilder_ == null) {
return facts_.get(index); } else {
return factsBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .CDOTAResponseQuerySerialized.Fact facts = 1;
*/
public java.util.List extends com.dota2.proto.DotaUsermessages.CDOTAResponseQuerySerialized.FactOrBuilder>
getFactsOrBuilderList() {
if (factsBuilder_ != null) {
return factsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(facts_);
}
}
/**
* repeated .CDOTAResponseQuerySerialized.Fact facts = 1;
*/
public com.dota2.proto.DotaUsermessages.CDOTAResponseQuerySerialized.Fact.Builder addFactsBuilder() {
return getFactsFieldBuilder().addBuilder(
com.dota2.proto.DotaUsermessages.CDOTAResponseQuerySerialized.Fact.getDefaultInstance());
}
/**
* repeated .CDOTAResponseQuerySerialized.Fact facts = 1;
*/
public com.dota2.proto.DotaUsermessages.CDOTAResponseQuerySerialized.Fact.Builder addFactsBuilder(
int index) {
return getFactsFieldBuilder().addBuilder(
index, com.dota2.proto.DotaUsermessages.CDOTAResponseQuerySerialized.Fact.getDefaultInstance());
}
/**
* repeated .CDOTAResponseQuerySerialized.Fact facts = 1;
*/
public java.util.List
getFactsBuilderList() {
return getFactsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilder<
com.dota2.proto.DotaUsermessages.CDOTAResponseQuerySerialized.Fact, com.dota2.proto.DotaUsermessages.CDOTAResponseQuerySerialized.Fact.Builder, com.dota2.proto.DotaUsermessages.CDOTAResponseQuerySerialized.FactOrBuilder>
getFactsFieldBuilder() {
if (factsBuilder_ == null) {
factsBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
com.dota2.proto.DotaUsermessages.CDOTAResponseQuerySerialized.Fact, com.dota2.proto.DotaUsermessages.CDOTAResponseQuerySerialized.Fact.Builder, com.dota2.proto.DotaUsermessages.CDOTAResponseQuerySerialized.FactOrBuilder>(
facts_,
((bitField0_ & 0x00000001) == 0x00000001),
getParentForChildren(),
isClean());
facts_ = null;
}
return factsBuilder_;
}
// @@protoc_insertion_point(builder_scope:CDOTAResponseQuerySerialized)
}
static {
defaultInstance = new CDOTAResponseQuerySerialized(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:CDOTAResponseQuerySerialized)
}
public interface CDOTASpeechMatchOnClientOrBuilder
extends com.google.protobuf.MessageOrBuilder {
// optional int32 concept = 1;
/**
* optional int32 concept = 1;
*/
boolean hasConcept();
/**
* optional int32 concept = 1;
*/
int getConcept();
// optional int32 recipient_type = 2;
/**
* optional int32 recipient_type = 2;
*/
boolean hasRecipientType();
/**
* optional int32 recipient_type = 2;
*/
int getRecipientType();
// optional .CDOTAResponseQuerySerialized responsequery = 3;
/**
* optional .CDOTAResponseQuerySerialized responsequery = 3;
*/
boolean hasResponsequery();
/**
* optional .CDOTAResponseQuerySerialized responsequery = 3;
*/
com.dota2.proto.DotaUsermessages.CDOTAResponseQuerySerialized getResponsequery();
/**
* optional .CDOTAResponseQuerySerialized responsequery = 3;
*/
com.dota2.proto.DotaUsermessages.CDOTAResponseQuerySerializedOrBuilder getResponsequeryOrBuilder();
// optional sfixed32 randomseed = 4 [default = 0];
/**
* optional sfixed32 randomseed = 4 [default = 0];
*/
boolean hasRandomseed();
/**
* optional sfixed32 randomseed = 4 [default = 0];
*/
int getRandomseed();
}
/**
* Protobuf type {@code CDOTASpeechMatchOnClient}
*/
public static final class CDOTASpeechMatchOnClient extends
com.google.protobuf.GeneratedMessage
implements CDOTASpeechMatchOnClientOrBuilder {
// Use CDOTASpeechMatchOnClient.newBuilder() to construct.
private CDOTASpeechMatchOnClient(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private CDOTASpeechMatchOnClient(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final CDOTASpeechMatchOnClient defaultInstance;
public static CDOTASpeechMatchOnClient getDefaultInstance() {
return defaultInstance;
}
public CDOTASpeechMatchOnClient getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private CDOTASpeechMatchOnClient(
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;
concept_ = input.readInt32();
break;
}
case 16: {
bitField0_ |= 0x00000002;
recipientType_ = input.readInt32();
break;
}
case 26: {
com.dota2.proto.DotaUsermessages.CDOTAResponseQuerySerialized.Builder subBuilder = null;
if (((bitField0_ & 0x00000004) == 0x00000004)) {
subBuilder = responsequery_.toBuilder();
}
responsequery_ = input.readMessage(com.dota2.proto.DotaUsermessages.CDOTAResponseQuerySerialized.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(responsequery_);
responsequery_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000004;
break;
}
case 37: {
bitField0_ |= 0x00000008;
randomseed_ = input.readSFixed32();
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 com.dota2.proto.DotaUsermessages.internal_static_CDOTASpeechMatchOnClient_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.dota2.proto.DotaUsermessages.internal_static_CDOTASpeechMatchOnClient_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.dota2.proto.DotaUsermessages.CDOTASpeechMatchOnClient.class, com.dota2.proto.DotaUsermessages.CDOTASpeechMatchOnClient.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public CDOTASpeechMatchOnClient parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new CDOTASpeechMatchOnClient(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
// optional int32 concept = 1;
public static final int CONCEPT_FIELD_NUMBER = 1;
private int concept_;
/**
* optional int32 concept = 1;
*/
public boolean hasConcept() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional int32 concept = 1;
*/
public int getConcept() {
return concept_;
}
// optional int32 recipient_type = 2;
public static final int RECIPIENT_TYPE_FIELD_NUMBER = 2;
private int recipientType_;
/**
* optional int32 recipient_type = 2;
*/
public boolean hasRecipientType() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional int32 recipient_type = 2;
*/
public int getRecipientType() {
return recipientType_;
}
// optional .CDOTAResponseQuerySerialized responsequery = 3;
public static final int RESPONSEQUERY_FIELD_NUMBER = 3;
private com.dota2.proto.DotaUsermessages.CDOTAResponseQuerySerialized responsequery_;
/**
* optional .CDOTAResponseQuerySerialized responsequery = 3;
*/
public boolean hasResponsequery() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional .CDOTAResponseQuerySerialized responsequery = 3;
*/
public com.dota2.proto.DotaUsermessages.CDOTAResponseQuerySerialized getResponsequery() {
return responsequery_;
}
/**
* optional .CDOTAResponseQuerySerialized responsequery = 3;
*/
public com.dota2.proto.DotaUsermessages.CDOTAResponseQuerySerializedOrBuilder getResponsequeryOrBuilder() {
return responsequery_;
}
// optional sfixed32 randomseed = 4 [default = 0];
public static final int RANDOMSEED_FIELD_NUMBER = 4;
private int randomseed_;
/**
* optional sfixed32 randomseed = 4 [default = 0];
*/
public boolean hasRandomseed() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* optional sfixed32 randomseed = 4 [default = 0];
*/
public int getRandomseed() {
return randomseed_;
}
private void initFields() {
concept_ = 0;
recipientType_ = 0;
responsequery_ = com.dota2.proto.DotaUsermessages.CDOTAResponseQuerySerialized.getDefaultInstance();
randomseed_ = 0;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
if (hasResponsequery()) {
if (!getResponsequery().isInitialized()) {
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, concept_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeInt32(2, recipientType_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
output.writeMessage(3, responsequery_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
output.writeSFixed32(4, randomseed_);
}
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, concept_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(2, recipientType_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, responsequery_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
size += com.google.protobuf.CodedOutputStream
.computeSFixed32Size(4, randomseed_);
}
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 com.dota2.proto.DotaUsermessages.CDOTASpeechMatchOnClient parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.dota2.proto.DotaUsermessages.CDOTASpeechMatchOnClient parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.dota2.proto.DotaUsermessages.CDOTASpeechMatchOnClient parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.dota2.proto.DotaUsermessages.CDOTASpeechMatchOnClient parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.dota2.proto.DotaUsermessages.CDOTASpeechMatchOnClient parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.dota2.proto.DotaUsermessages.CDOTASpeechMatchOnClient parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static com.dota2.proto.DotaUsermessages.CDOTASpeechMatchOnClient parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static com.dota2.proto.DotaUsermessages.CDOTASpeechMatchOnClient parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static com.dota2.proto.DotaUsermessages.CDOTASpeechMatchOnClient parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.dota2.proto.DotaUsermessages.CDOTASpeechMatchOnClient 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(com.dota2.proto.DotaUsermessages.CDOTASpeechMatchOnClient 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 CDOTASpeechMatchOnClient}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder
implements com.dota2.proto.DotaUsermessages.CDOTASpeechMatchOnClientOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.dota2.proto.DotaUsermessages.internal_static_CDOTASpeechMatchOnClient_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.dota2.proto.DotaUsermessages.internal_static_CDOTASpeechMatchOnClient_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.dota2.proto.DotaUsermessages.CDOTASpeechMatchOnClient.class, com.dota2.proto.DotaUsermessages.CDOTASpeechMatchOnClient.Builder.class);
}
// Construct using com.dota2.proto.DotaUsermessages.CDOTASpeechMatchOnClient.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
getResponsequeryFieldBuilder();
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
concept_ = 0;
bitField0_ = (bitField0_ & ~0x00000001);
recipientType_ = 0;
bitField0_ = (bitField0_ & ~0x00000002);
if (responsequeryBuilder_ == null) {
responsequery_ = com.dota2.proto.DotaUsermessages.CDOTAResponseQuerySerialized.getDefaultInstance();
} else {
responsequeryBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000004);
randomseed_ = 0;
bitField0_ = (bitField0_ & ~0x00000008);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.dota2.proto.DotaUsermessages.internal_static_CDOTASpeechMatchOnClient_descriptor;
}
public com.dota2.proto.DotaUsermessages.CDOTASpeechMatchOnClient getDefaultInstanceForType() {
return com.dota2.proto.DotaUsermessages.CDOTASpeechMatchOnClient.getDefaultInstance();
}
public com.dota2.proto.DotaUsermessages.CDOTASpeechMatchOnClient build() {
com.dota2.proto.DotaUsermessages.CDOTASpeechMatchOnClient result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.dota2.proto.DotaUsermessages.CDOTASpeechMatchOnClient buildPartial() {
com.dota2.proto.DotaUsermessages.CDOTASpeechMatchOnClient result = new com.dota2.proto.DotaUsermessages.CDOTASpeechMatchOnClient(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.concept_ = concept_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.recipientType_ = recipientType_;
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
to_bitField0_ |= 0x00000004;
}
if (responsequeryBuilder_ == null) {
result.responsequery_ = responsequery_;
} else {
result.responsequery_ = responsequeryBuilder_.build();
}
if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
to_bitField0_ |= 0x00000008;
}
result.randomseed_ = randomseed_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.dota2.proto.DotaUsermessages.CDOTASpeechMatchOnClient) {
return mergeFrom((com.dota2.proto.DotaUsermessages.CDOTASpeechMatchOnClient)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.dota2.proto.DotaUsermessages.CDOTASpeechMatchOnClient other) {
if (other == com.dota2.proto.DotaUsermessages.CDOTASpeechMatchOnClient.getDefaultInstance()) return this;
if (other.hasConcept()) {
setConcept(other.getConcept());
}
if (other.hasRecipientType()) {
setRecipientType(other.getRecipientType());
}
if (other.hasResponsequery()) {
mergeResponsequery(other.getResponsequery());
}
if (other.hasRandomseed()) {
setRandomseed(other.getRandomseed());
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
if (hasResponsequery()) {
if (!getResponsequery().isInitialized()) {
return false;
}
}
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.dota2.proto.DotaUsermessages.CDOTASpeechMatchOnClient parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.dota2.proto.DotaUsermessages.CDOTASpeechMatchOnClient) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// optional int32 concept = 1;
private int concept_ ;
/**
* optional int32 concept = 1;
*/
public boolean hasConcept() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional int32 concept = 1;
*/
public int getConcept() {
return concept_;
}
/**
* optional int32 concept = 1;
*/
public Builder setConcept(int value) {
bitField0_ |= 0x00000001;
concept_ = value;
onChanged();
return this;
}
/**
* optional int32 concept = 1;
*/
public Builder clearConcept() {
bitField0_ = (bitField0_ & ~0x00000001);
concept_ = 0;
onChanged();
return this;
}
// optional int32 recipient_type = 2;
private int recipientType_ ;
/**
* optional int32 recipient_type = 2;
*/
public boolean hasRecipientType() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional int32 recipient_type = 2;
*/
public int getRecipientType() {
return recipientType_;
}
/**
* optional int32 recipient_type = 2;
*/
public Builder setRecipientType(int value) {
bitField0_ |= 0x00000002;
recipientType_ = value;
onChanged();
return this;
}
/**
* optional int32 recipient_type = 2;
*/
public Builder clearRecipientType() {
bitField0_ = (bitField0_ & ~0x00000002);
recipientType_ = 0;
onChanged();
return this;
}
// optional .CDOTAResponseQuerySerialized responsequery = 3;
private com.dota2.proto.DotaUsermessages.CDOTAResponseQuerySerialized responsequery_ = com.dota2.proto.DotaUsermessages.CDOTAResponseQuerySerialized.getDefaultInstance();
private com.google.protobuf.SingleFieldBuilder<
com.dota2.proto.DotaUsermessages.CDOTAResponseQuerySerialized, com.dota2.proto.DotaUsermessages.CDOTAResponseQuerySerialized.Builder, com.dota2.proto.DotaUsermessages.CDOTAResponseQuerySerializedOrBuilder> responsequeryBuilder_;
/**
* optional .CDOTAResponseQuerySerialized responsequery = 3;
*/
public boolean hasResponsequery() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional .CDOTAResponseQuerySerialized responsequery = 3;
*/
public com.dota2.proto.DotaUsermessages.CDOTAResponseQuerySerialized getResponsequery() {
if (responsequeryBuilder_ == null) {
return responsequery_;
} else {
return responsequeryBuilder_.getMessage();
}
}
/**
* optional .CDOTAResponseQuerySerialized responsequery = 3;
*/
public Builder setResponsequery(com.dota2.proto.DotaUsermessages.CDOTAResponseQuerySerialized value) {
if (responsequeryBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
responsequery_ = value;
onChanged();
} else {
responsequeryBuilder_.setMessage(value);
}
bitField0_ |= 0x00000004;
return this;
}
/**
* optional .CDOTAResponseQuerySerialized responsequery = 3;
*/
public Builder setResponsequery(
com.dota2.proto.DotaUsermessages.CDOTAResponseQuerySerialized.Builder builderForValue) {
if (responsequeryBuilder_ == null) {
responsequery_ = builderForValue.build();
onChanged();
} else {
responsequeryBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000004;
return this;
}
/**
* optional .CDOTAResponseQuerySerialized responsequery = 3;
*/
public Builder mergeResponsequery(com.dota2.proto.DotaUsermessages.CDOTAResponseQuerySerialized value) {
if (responsequeryBuilder_ == null) {
if (((bitField0_ & 0x00000004) == 0x00000004) &&
responsequery_ != com.dota2.proto.DotaUsermessages.CDOTAResponseQuerySerialized.getDefaultInstance()) {
responsequery_ =
com.dota2.proto.DotaUsermessages.CDOTAResponseQuerySerialized.newBuilder(responsequery_).mergeFrom(value).buildPartial();
} else {
responsequery_ = value;
}
onChanged();
} else {
responsequeryBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000004;
return this;
}
/**
* optional .CDOTAResponseQuerySerialized responsequery = 3;
*/
public Builder clearResponsequery() {
if (responsequeryBuilder_ == null) {
responsequery_ = com.dota2.proto.DotaUsermessages.CDOTAResponseQuerySerialized.getDefaultInstance();
onChanged();
} else {
responsequeryBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000004);
return this;
}
/**
* optional .CDOTAResponseQuerySerialized responsequery = 3;
*/
public com.dota2.proto.DotaUsermessages.CDOTAResponseQuerySerialized.Builder getResponsequeryBuilder() {
bitField0_ |= 0x00000004;
onChanged();
return getResponsequeryFieldBuilder().getBuilder();
}
/**
* optional .CDOTAResponseQuerySerialized responsequery = 3;
*/
public com.dota2.proto.DotaUsermessages.CDOTAResponseQuerySerializedOrBuilder getResponsequeryOrBuilder() {
if (responsequeryBuilder_ != null) {
return responsequeryBuilder_.getMessageOrBuilder();
} else {
return responsequery_;
}
}
/**
* optional .CDOTAResponseQuerySerialized responsequery = 3;
*/
private com.google.protobuf.SingleFieldBuilder<
com.dota2.proto.DotaUsermessages.CDOTAResponseQuerySerialized, com.dota2.proto.DotaUsermessages.CDOTAResponseQuerySerialized.Builder, com.dota2.proto.DotaUsermessages.CDOTAResponseQuerySerializedOrBuilder>
getResponsequeryFieldBuilder() {
if (responsequeryBuilder_ == null) {
responsequeryBuilder_ = new com.google.protobuf.SingleFieldBuilder<
com.dota2.proto.DotaUsermessages.CDOTAResponseQuerySerialized, com.dota2.proto.DotaUsermessages.CDOTAResponseQuerySerialized.Builder, com.dota2.proto.DotaUsermessages.CDOTAResponseQuerySerializedOrBuilder>(
responsequery_,
getParentForChildren(),
isClean());
responsequery_ = null;
}
return responsequeryBuilder_;
}
// optional sfixed32 randomseed = 4 [default = 0];
private int randomseed_ ;
/**
* optional sfixed32 randomseed = 4 [default = 0];
*/
public boolean hasRandomseed() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* optional sfixed32 randomseed = 4 [default = 0];
*/
public int getRandomseed() {
return randomseed_;
}
/**
* optional sfixed32 randomseed = 4 [default = 0];
*/
public Builder setRandomseed(int value) {
bitField0_ |= 0x00000008;
randomseed_ = value;
onChanged();
return this;
}
/**
* optional sfixed32 randomseed = 4 [default = 0];
*/
public Builder clearRandomseed() {
bitField0_ = (bitField0_ & ~0x00000008);
randomseed_ = 0;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:CDOTASpeechMatchOnClient)
}
static {
defaultInstance = new CDOTASpeechMatchOnClient(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:CDOTASpeechMatchOnClient)
}
public interface CDOTAUserMsg_UnitEventOrBuilder
extends com.google.protobuf.MessageOrBuilder {
// required .EDotaEntityMessages msg_type = 1 [default = DOTA_UNIT_SPEECH];
/**
* required .EDotaEntityMessages msg_type = 1 [default = DOTA_UNIT_SPEECH];
*/
boolean hasMsgType();
/**
* required .EDotaEntityMessages msg_type = 1 [default = DOTA_UNIT_SPEECH];
*/
com.dota2.proto.DotaUsermessages.EDotaEntityMessages getMsgType();
// required int32 entity_index = 2;
/**
* required int32 entity_index = 2;
*/
boolean hasEntityIndex();
/**
* required int32 entity_index = 2;
*/
int getEntityIndex();
// optional .CDOTAUserMsg_UnitEvent.Speech speech = 3;
/**
* optional .CDOTAUserMsg_UnitEvent.Speech speech = 3;
*/
boolean hasSpeech();
/**
* optional .CDOTAUserMsg_UnitEvent.Speech speech = 3;
*/
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.Speech getSpeech();
/**
* optional .CDOTAUserMsg_UnitEvent.Speech speech = 3;
*/
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.SpeechOrBuilder getSpeechOrBuilder();
// optional .CDOTAUserMsg_UnitEvent.SpeechMute speech_mute = 4;
/**
* optional .CDOTAUserMsg_UnitEvent.SpeechMute speech_mute = 4;
*/
boolean hasSpeechMute();
/**
* optional .CDOTAUserMsg_UnitEvent.SpeechMute speech_mute = 4;
*/
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.SpeechMute getSpeechMute();
/**
* optional .CDOTAUserMsg_UnitEvent.SpeechMute speech_mute = 4;
*/
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.SpeechMuteOrBuilder getSpeechMuteOrBuilder();
// optional .CDOTAUserMsg_UnitEvent.AddGesture add_gesture = 5;
/**
* optional .CDOTAUserMsg_UnitEvent.AddGesture add_gesture = 5;
*/
boolean hasAddGesture();
/**
* optional .CDOTAUserMsg_UnitEvent.AddGesture add_gesture = 5;
*/
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.AddGesture getAddGesture();
/**
* optional .CDOTAUserMsg_UnitEvent.AddGesture add_gesture = 5;
*/
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.AddGestureOrBuilder getAddGestureOrBuilder();
// optional .CDOTAUserMsg_UnitEvent.RemoveGesture remove_gesture = 6;
/**
* optional .CDOTAUserMsg_UnitEvent.RemoveGesture remove_gesture = 6;
*/
boolean hasRemoveGesture();
/**
* optional .CDOTAUserMsg_UnitEvent.RemoveGesture remove_gesture = 6;
*/
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.RemoveGesture getRemoveGesture();
/**
* optional .CDOTAUserMsg_UnitEvent.RemoveGesture remove_gesture = 6;
*/
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.RemoveGestureOrBuilder getRemoveGestureOrBuilder();
// optional .CDOTAUserMsg_UnitEvent.BloodImpact blood_impact = 7;
/**
* optional .CDOTAUserMsg_UnitEvent.BloodImpact blood_impact = 7;
*/
boolean hasBloodImpact();
/**
* optional .CDOTAUserMsg_UnitEvent.BloodImpact blood_impact = 7;
*/
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.BloodImpact getBloodImpact();
/**
* optional .CDOTAUserMsg_UnitEvent.BloodImpact blood_impact = 7;
*/
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.BloodImpactOrBuilder getBloodImpactOrBuilder();
// optional .CDOTAUserMsg_UnitEvent.FadeGesture fade_gesture = 8;
/**
* optional .CDOTAUserMsg_UnitEvent.FadeGesture fade_gesture = 8;
*/
boolean hasFadeGesture();
/**
* optional .CDOTAUserMsg_UnitEvent.FadeGesture fade_gesture = 8;
*/
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.FadeGesture getFadeGesture();
/**
* optional .CDOTAUserMsg_UnitEvent.FadeGesture fade_gesture = 8;
*/
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.FadeGestureOrBuilder getFadeGestureOrBuilder();
// optional .CDOTASpeechMatchOnClient speech_match_on_client = 9;
/**
* optional .CDOTASpeechMatchOnClient speech_match_on_client = 9;
*/
boolean hasSpeechMatchOnClient();
/**
* optional .CDOTASpeechMatchOnClient speech_match_on_client = 9;
*/
com.dota2.proto.DotaUsermessages.CDOTASpeechMatchOnClient getSpeechMatchOnClient();
/**
* optional .CDOTASpeechMatchOnClient speech_match_on_client = 9;
*/
com.dota2.proto.DotaUsermessages.CDOTASpeechMatchOnClientOrBuilder getSpeechMatchOnClientOrBuilder();
}
/**
* Protobuf type {@code CDOTAUserMsg_UnitEvent}
*/
public static final class CDOTAUserMsg_UnitEvent extends
com.google.protobuf.GeneratedMessage
implements CDOTAUserMsg_UnitEventOrBuilder {
// Use CDOTAUserMsg_UnitEvent.newBuilder() to construct.
private CDOTAUserMsg_UnitEvent(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private CDOTAUserMsg_UnitEvent(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final CDOTAUserMsg_UnitEvent defaultInstance;
public static CDOTAUserMsg_UnitEvent getDefaultInstance() {
return defaultInstance;
}
public CDOTAUserMsg_UnitEvent 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_UnitEvent(
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();
com.dota2.proto.DotaUsermessages.EDotaEntityMessages value = com.dota2.proto.DotaUsermessages.EDotaEntityMessages.valueOf(rawValue);
if (value == null) {
unknownFields.mergeVarintField(1, rawValue);
} else {
bitField0_ |= 0x00000001;
msgType_ = value;
}
break;
}
case 16: {
bitField0_ |= 0x00000002;
entityIndex_ = input.readInt32();
break;
}
case 26: {
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.Speech.Builder subBuilder = null;
if (((bitField0_ & 0x00000004) == 0x00000004)) {
subBuilder = speech_.toBuilder();
}
speech_ = input.readMessage(com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.Speech.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(speech_);
speech_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000004;
break;
}
case 34: {
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.SpeechMute.Builder subBuilder = null;
if (((bitField0_ & 0x00000008) == 0x00000008)) {
subBuilder = speechMute_.toBuilder();
}
speechMute_ = input.readMessage(com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.SpeechMute.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(speechMute_);
speechMute_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000008;
break;
}
case 42: {
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.AddGesture.Builder subBuilder = null;
if (((bitField0_ & 0x00000010) == 0x00000010)) {
subBuilder = addGesture_.toBuilder();
}
addGesture_ = input.readMessage(com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.AddGesture.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(addGesture_);
addGesture_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000010;
break;
}
case 50: {
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.RemoveGesture.Builder subBuilder = null;
if (((bitField0_ & 0x00000020) == 0x00000020)) {
subBuilder = removeGesture_.toBuilder();
}
removeGesture_ = input.readMessage(com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.RemoveGesture.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(removeGesture_);
removeGesture_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000020;
break;
}
case 58: {
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.BloodImpact.Builder subBuilder = null;
if (((bitField0_ & 0x00000040) == 0x00000040)) {
subBuilder = bloodImpact_.toBuilder();
}
bloodImpact_ = input.readMessage(com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.BloodImpact.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(bloodImpact_);
bloodImpact_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000040;
break;
}
case 66: {
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.FadeGesture.Builder subBuilder = null;
if (((bitField0_ & 0x00000080) == 0x00000080)) {
subBuilder = fadeGesture_.toBuilder();
}
fadeGesture_ = input.readMessage(com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.FadeGesture.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(fadeGesture_);
fadeGesture_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000080;
break;
}
case 74: {
com.dota2.proto.DotaUsermessages.CDOTASpeechMatchOnClient.Builder subBuilder = null;
if (((bitField0_ & 0x00000100) == 0x00000100)) {
subBuilder = speechMatchOnClient_.toBuilder();
}
speechMatchOnClient_ = input.readMessage(com.dota2.proto.DotaUsermessages.CDOTASpeechMatchOnClient.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(speechMatchOnClient_);
speechMatchOnClient_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000100;
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 com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_UnitEvent_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_UnitEvent_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.class, com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public CDOTAUserMsg_UnitEvent parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new CDOTAUserMsg_UnitEvent(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public interface SpeechOrBuilder
extends com.google.protobuf.MessageOrBuilder {
// optional int32 concept = 1;
/**
* optional int32 concept = 1;
*/
boolean hasConcept();
/**
* optional int32 concept = 1;
*/
int getConcept();
// optional string response = 2;
/**
* optional string response = 2;
*/
boolean hasResponse();
/**
* optional string response = 2;
*/
java.lang.String getResponse();
/**
* optional string response = 2;
*/
com.google.protobuf.ByteString
getResponseBytes();
// optional int32 recipient_type = 3;
/**
* optional int32 recipient_type = 3;
*/
boolean hasRecipientType();
/**
* optional int32 recipient_type = 3;
*/
int getRecipientType();
// optional int32 level = 4;
/**
* optional int32 level = 4;
*/
boolean hasLevel();
/**
* optional int32 level = 4;
*/
int getLevel();
// optional bool muteable = 5 [default = false];
/**
* optional bool muteable = 5 [default = false];
*/
boolean hasMuteable();
/**
* optional bool muteable = 5 [default = false];
*/
boolean getMuteable();
}
/**
* Protobuf type {@code CDOTAUserMsg_UnitEvent.Speech}
*/
public static final class Speech extends
com.google.protobuf.GeneratedMessage
implements SpeechOrBuilder {
// Use Speech.newBuilder() to construct.
private Speech(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private Speech(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final Speech defaultInstance;
public static Speech getDefaultInstance() {
return defaultInstance;
}
public Speech getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private Speech(
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;
concept_ = input.readInt32();
break;
}
case 18: {
bitField0_ |= 0x00000002;
response_ = input.readBytes();
break;
}
case 24: {
bitField0_ |= 0x00000004;
recipientType_ = input.readInt32();
break;
}
case 32: {
bitField0_ |= 0x00000008;
level_ = input.readInt32();
break;
}
case 40: {
bitField0_ |= 0x00000010;
muteable_ = 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 com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_UnitEvent_Speech_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_UnitEvent_Speech_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.Speech.class, com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.Speech.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public Speech parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new Speech(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
// optional int32 concept = 1;
public static final int CONCEPT_FIELD_NUMBER = 1;
private int concept_;
/**
* optional int32 concept = 1;
*/
public boolean hasConcept() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional int32 concept = 1;
*/
public int getConcept() {
return concept_;
}
// optional string response = 2;
public static final int RESPONSE_FIELD_NUMBER = 2;
private java.lang.Object response_;
/**
* optional string response = 2;
*/
public boolean hasResponse() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional string response = 2;
*/
public java.lang.String getResponse() {
java.lang.Object ref = response_;
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()) {
response_ = s;
}
return s;
}
}
/**
* optional string response = 2;
*/
public com.google.protobuf.ByteString
getResponseBytes() {
java.lang.Object ref = response_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
response_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
// optional int32 recipient_type = 3;
public static final int RECIPIENT_TYPE_FIELD_NUMBER = 3;
private int recipientType_;
/**
* optional int32 recipient_type = 3;
*/
public boolean hasRecipientType() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional int32 recipient_type = 3;
*/
public int getRecipientType() {
return recipientType_;
}
// optional int32 level = 4;
public static final int LEVEL_FIELD_NUMBER = 4;
private int level_;
/**
* optional int32 level = 4;
*/
public boolean hasLevel() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* optional int32 level = 4;
*/
public int getLevel() {
return level_;
}
// optional bool muteable = 5 [default = false];
public static final int MUTEABLE_FIELD_NUMBER = 5;
private boolean muteable_;
/**
* optional bool muteable = 5 [default = false];
*/
public boolean hasMuteable() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
/**
* optional bool muteable = 5 [default = false];
*/
public boolean getMuteable() {
return muteable_;
}
private void initFields() {
concept_ = 0;
response_ = "";
recipientType_ = 0;
level_ = 0;
muteable_ = false;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeInt32(1, concept_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeBytes(2, getResponseBytes());
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
output.writeInt32(3, recipientType_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
output.writeInt32(4, level_);
}
if (((bitField0_ & 0x00000010) == 0x00000010)) {
output.writeBool(5, muteable_);
}
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, concept_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(2, getResponseBytes());
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(3, recipientType_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(4, level_);
}
if (((bitField0_ & 0x00000010) == 0x00000010)) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(5, muteable_);
}
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 com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.Speech parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.Speech parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.Speech parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.Speech parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.Speech parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.Speech parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.Speech parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.Speech parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.Speech parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.Speech 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(com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.Speech 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_UnitEvent.Speech}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder
implements com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.SpeechOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_UnitEvent_Speech_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_UnitEvent_Speech_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.Speech.class, com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.Speech.Builder.class);
}
// Construct using com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.Speech.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();
concept_ = 0;
bitField0_ = (bitField0_ & ~0x00000001);
response_ = "";
bitField0_ = (bitField0_ & ~0x00000002);
recipientType_ = 0;
bitField0_ = (bitField0_ & ~0x00000004);
level_ = 0;
bitField0_ = (bitField0_ & ~0x00000008);
muteable_ = false;
bitField0_ = (bitField0_ & ~0x00000010);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_UnitEvent_Speech_descriptor;
}
public com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.Speech getDefaultInstanceForType() {
return com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.Speech.getDefaultInstance();
}
public com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.Speech build() {
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.Speech result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.Speech buildPartial() {
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.Speech result = new com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.Speech(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.concept_ = concept_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.response_ = response_;
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
to_bitField0_ |= 0x00000004;
}
result.recipientType_ = recipientType_;
if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
to_bitField0_ |= 0x00000008;
}
result.level_ = level_;
if (((from_bitField0_ & 0x00000010) == 0x00000010)) {
to_bitField0_ |= 0x00000010;
}
result.muteable_ = muteable_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.Speech) {
return mergeFrom((com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.Speech)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.Speech other) {
if (other == com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.Speech.getDefaultInstance()) return this;
if (other.hasConcept()) {
setConcept(other.getConcept());
}
if (other.hasResponse()) {
bitField0_ |= 0x00000002;
response_ = other.response_;
onChanged();
}
if (other.hasRecipientType()) {
setRecipientType(other.getRecipientType());
}
if (other.hasLevel()) {
setLevel(other.getLevel());
}
if (other.hasMuteable()) {
setMuteable(other.getMuteable());
}
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 {
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.Speech parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.Speech) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// optional int32 concept = 1;
private int concept_ ;
/**
* optional int32 concept = 1;
*/
public boolean hasConcept() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional int32 concept = 1;
*/
public int getConcept() {
return concept_;
}
/**
* optional int32 concept = 1;
*/
public Builder setConcept(int value) {
bitField0_ |= 0x00000001;
concept_ = value;
onChanged();
return this;
}
/**
* optional int32 concept = 1;
*/
public Builder clearConcept() {
bitField0_ = (bitField0_ & ~0x00000001);
concept_ = 0;
onChanged();
return this;
}
// optional string response = 2;
private java.lang.Object response_ = "";
/**
* optional string response = 2;
*/
public boolean hasResponse() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional string response = 2;
*/
public java.lang.String getResponse() {
java.lang.Object ref = response_;
if (!(ref instanceof java.lang.String)) {
java.lang.String s = ((com.google.protobuf.ByteString) ref)
.toStringUtf8();
response_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string response = 2;
*/
public com.google.protobuf.ByteString
getResponseBytes() {
java.lang.Object ref = response_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
response_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string response = 2;
*/
public Builder setResponse(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
response_ = value;
onChanged();
return this;
}
/**
* optional string response = 2;
*/
public Builder clearResponse() {
bitField0_ = (bitField0_ & ~0x00000002);
response_ = getDefaultInstance().getResponse();
onChanged();
return this;
}
/**
* optional string response = 2;
*/
public Builder setResponseBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
response_ = value;
onChanged();
return this;
}
// optional int32 recipient_type = 3;
private int recipientType_ ;
/**
* optional int32 recipient_type = 3;
*/
public boolean hasRecipientType() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional int32 recipient_type = 3;
*/
public int getRecipientType() {
return recipientType_;
}
/**
* optional int32 recipient_type = 3;
*/
public Builder setRecipientType(int value) {
bitField0_ |= 0x00000004;
recipientType_ = value;
onChanged();
return this;
}
/**
* optional int32 recipient_type = 3;
*/
public Builder clearRecipientType() {
bitField0_ = (bitField0_ & ~0x00000004);
recipientType_ = 0;
onChanged();
return this;
}
// optional int32 level = 4;
private int level_ ;
/**
* optional int32 level = 4;
*/
public boolean hasLevel() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* optional int32 level = 4;
*/
public int getLevel() {
return level_;
}
/**
* optional int32 level = 4;
*/
public Builder setLevel(int value) {
bitField0_ |= 0x00000008;
level_ = value;
onChanged();
return this;
}
/**
* optional int32 level = 4;
*/
public Builder clearLevel() {
bitField0_ = (bitField0_ & ~0x00000008);
level_ = 0;
onChanged();
return this;
}
// optional bool muteable = 5 [default = false];
private boolean muteable_ ;
/**
* optional bool muteable = 5 [default = false];
*/
public boolean hasMuteable() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
/**
* optional bool muteable = 5 [default = false];
*/
public boolean getMuteable() {
return muteable_;
}
/**
* optional bool muteable = 5 [default = false];
*/
public Builder setMuteable(boolean value) {
bitField0_ |= 0x00000010;
muteable_ = value;
onChanged();
return this;
}
/**
* optional bool muteable = 5 [default = false];
*/
public Builder clearMuteable() {
bitField0_ = (bitField0_ & ~0x00000010);
muteable_ = false;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:CDOTAUserMsg_UnitEvent.Speech)
}
static {
defaultInstance = new Speech(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:CDOTAUserMsg_UnitEvent.Speech)
}
public interface SpeechMuteOrBuilder
extends com.google.protobuf.MessageOrBuilder {
// optional float delay = 1 [default = 0.5];
/**
* optional float delay = 1 [default = 0.5];
*/
boolean hasDelay();
/**
* optional float delay = 1 [default = 0.5];
*/
float getDelay();
}
/**
* Protobuf type {@code CDOTAUserMsg_UnitEvent.SpeechMute}
*/
public static final class SpeechMute extends
com.google.protobuf.GeneratedMessage
implements SpeechMuteOrBuilder {
// Use SpeechMute.newBuilder() to construct.
private SpeechMute(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private SpeechMute(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final SpeechMute defaultInstance;
public static SpeechMute getDefaultInstance() {
return defaultInstance;
}
public SpeechMute getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private SpeechMute(
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 13: {
bitField0_ |= 0x00000001;
delay_ = 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 com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_UnitEvent_SpeechMute_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_UnitEvent_SpeechMute_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.SpeechMute.class, com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.SpeechMute.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public SpeechMute parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new SpeechMute(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
// optional float delay = 1 [default = 0.5];
public static final int DELAY_FIELD_NUMBER = 1;
private float delay_;
/**
* optional float delay = 1 [default = 0.5];
*/
public boolean hasDelay() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional float delay = 1 [default = 0.5];
*/
public float getDelay() {
return delay_;
}
private void initFields() {
delay_ = 0.5F;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeFloat(1, delay_);
}
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
.computeFloatSize(1, delay_);
}
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 com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.SpeechMute parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.SpeechMute parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.SpeechMute parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.SpeechMute parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.SpeechMute parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.SpeechMute parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.SpeechMute parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.SpeechMute parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.SpeechMute parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.SpeechMute 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(com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.SpeechMute 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_UnitEvent.SpeechMute}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder
implements com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.SpeechMuteOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_UnitEvent_SpeechMute_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_UnitEvent_SpeechMute_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.SpeechMute.class, com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.SpeechMute.Builder.class);
}
// Construct using com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.SpeechMute.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();
delay_ = 0.5F;
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_UnitEvent_SpeechMute_descriptor;
}
public com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.SpeechMute getDefaultInstanceForType() {
return com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.SpeechMute.getDefaultInstance();
}
public com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.SpeechMute build() {
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.SpeechMute result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.SpeechMute buildPartial() {
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.SpeechMute result = new com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.SpeechMute(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.delay_ = delay_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.SpeechMute) {
return mergeFrom((com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.SpeechMute)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.SpeechMute other) {
if (other == com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.SpeechMute.getDefaultInstance()) return this;
if (other.hasDelay()) {
setDelay(other.getDelay());
}
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 {
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.SpeechMute parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.SpeechMute) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// optional float delay = 1 [default = 0.5];
private float delay_ = 0.5F;
/**
* optional float delay = 1 [default = 0.5];
*/
public boolean hasDelay() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional float delay = 1 [default = 0.5];
*/
public float getDelay() {
return delay_;
}
/**
* optional float delay = 1 [default = 0.5];
*/
public Builder setDelay(float value) {
bitField0_ |= 0x00000001;
delay_ = value;
onChanged();
return this;
}
/**
* optional float delay = 1 [default = 0.5];
*/
public Builder clearDelay() {
bitField0_ = (bitField0_ & ~0x00000001);
delay_ = 0.5F;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:CDOTAUserMsg_UnitEvent.SpeechMute)
}
static {
defaultInstance = new SpeechMute(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:CDOTAUserMsg_UnitEvent.SpeechMute)
}
public interface AddGestureOrBuilder
extends com.google.protobuf.MessageOrBuilder {
// optional .Activity activity = 1 [default = ACT_INVALID];
/**
* optional .Activity activity = 1 [default = ACT_INVALID];
*/
boolean hasActivity();
/**
* optional .Activity activity = 1 [default = ACT_INVALID];
*/
com.dota2.proto.AiActivity.Activity getActivity();
// optional int32 slot = 2;
/**
* optional int32 slot = 2;
*/
boolean hasSlot();
/**
* optional int32 slot = 2;
*/
int getSlot();
// optional float fade_in = 3 [default = 0];
/**
* optional float fade_in = 3 [default = 0];
*/
boolean hasFadeIn();
/**
* optional float fade_in = 3 [default = 0];
*/
float getFadeIn();
// optional float fade_out = 4 [default = 0.1];
/**
* optional float fade_out = 4 [default = 0.1];
*/
boolean hasFadeOut();
/**
* optional float fade_out = 4 [default = 0.1];
*/
float getFadeOut();
}
/**
* Protobuf type {@code CDOTAUserMsg_UnitEvent.AddGesture}
*/
public static final class AddGesture extends
com.google.protobuf.GeneratedMessage
implements AddGestureOrBuilder {
// Use AddGesture.newBuilder() to construct.
private AddGesture(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private AddGesture(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final AddGesture defaultInstance;
public static AddGesture getDefaultInstance() {
return defaultInstance;
}
public AddGesture getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private AddGesture(
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();
com.dota2.proto.AiActivity.Activity value = com.dota2.proto.AiActivity.Activity.valueOf(rawValue);
if (value == null) {
unknownFields.mergeVarintField(1, rawValue);
} else {
bitField0_ |= 0x00000001;
activity_ = value;
}
break;
}
case 16: {
bitField0_ |= 0x00000002;
slot_ = input.readInt32();
break;
}
case 29: {
bitField0_ |= 0x00000004;
fadeIn_ = input.readFloat();
break;
}
case 37: {
bitField0_ |= 0x00000008;
fadeOut_ = 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 com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_UnitEvent_AddGesture_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_UnitEvent_AddGesture_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.AddGesture.class, com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.AddGesture.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public AddGesture parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new AddGesture(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
// optional .Activity activity = 1 [default = ACT_INVALID];
public static final int ACTIVITY_FIELD_NUMBER = 1;
private com.dota2.proto.AiActivity.Activity activity_;
/**
* optional .Activity activity = 1 [default = ACT_INVALID];
*/
public boolean hasActivity() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional .Activity activity = 1 [default = ACT_INVALID];
*/
public com.dota2.proto.AiActivity.Activity getActivity() {
return activity_;
}
// optional int32 slot = 2;
public static final int SLOT_FIELD_NUMBER = 2;
private int slot_;
/**
* optional int32 slot = 2;
*/
public boolean hasSlot() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional int32 slot = 2;
*/
public int getSlot() {
return slot_;
}
// optional float fade_in = 3 [default = 0];
public static final int FADE_IN_FIELD_NUMBER = 3;
private float fadeIn_;
/**
* optional float fade_in = 3 [default = 0];
*/
public boolean hasFadeIn() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional float fade_in = 3 [default = 0];
*/
public float getFadeIn() {
return fadeIn_;
}
// optional float fade_out = 4 [default = 0.1];
public static final int FADE_OUT_FIELD_NUMBER = 4;
private float fadeOut_;
/**
* optional float fade_out = 4 [default = 0.1];
*/
public boolean hasFadeOut() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* optional float fade_out = 4 [default = 0.1];
*/
public float getFadeOut() {
return fadeOut_;
}
private void initFields() {
activity_ = com.dota2.proto.AiActivity.Activity.ACT_INVALID;
slot_ = 0;
fadeIn_ = 0F;
fadeOut_ = 0.1F;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeEnum(1, activity_.getNumber());
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeInt32(2, slot_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
output.writeFloat(3, fadeIn_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
output.writeFloat(4, fadeOut_);
}
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, activity_.getNumber());
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(2, slot_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += com.google.protobuf.CodedOutputStream
.computeFloatSize(3, fadeIn_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
size += com.google.protobuf.CodedOutputStream
.computeFloatSize(4, fadeOut_);
}
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 com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.AddGesture parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.AddGesture parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.AddGesture parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.AddGesture parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.AddGesture parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.AddGesture parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.AddGesture parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.AddGesture parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.AddGesture parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.AddGesture 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(com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.AddGesture 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_UnitEvent.AddGesture}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder
implements com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.AddGestureOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_UnitEvent_AddGesture_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_UnitEvent_AddGesture_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.AddGesture.class, com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.AddGesture.Builder.class);
}
// Construct using com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.AddGesture.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();
activity_ = com.dota2.proto.AiActivity.Activity.ACT_INVALID;
bitField0_ = (bitField0_ & ~0x00000001);
slot_ = 0;
bitField0_ = (bitField0_ & ~0x00000002);
fadeIn_ = 0F;
bitField0_ = (bitField0_ & ~0x00000004);
fadeOut_ = 0.1F;
bitField0_ = (bitField0_ & ~0x00000008);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_UnitEvent_AddGesture_descriptor;
}
public com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.AddGesture getDefaultInstanceForType() {
return com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.AddGesture.getDefaultInstance();
}
public com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.AddGesture build() {
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.AddGesture result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.AddGesture buildPartial() {
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.AddGesture result = new com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.AddGesture(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.activity_ = activity_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.slot_ = slot_;
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
to_bitField0_ |= 0x00000004;
}
result.fadeIn_ = fadeIn_;
if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
to_bitField0_ |= 0x00000008;
}
result.fadeOut_ = fadeOut_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.AddGesture) {
return mergeFrom((com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.AddGesture)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.AddGesture other) {
if (other == com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.AddGesture.getDefaultInstance()) return this;
if (other.hasActivity()) {
setActivity(other.getActivity());
}
if (other.hasSlot()) {
setSlot(other.getSlot());
}
if (other.hasFadeIn()) {
setFadeIn(other.getFadeIn());
}
if (other.hasFadeOut()) {
setFadeOut(other.getFadeOut());
}
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 {
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.AddGesture parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.AddGesture) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// optional .Activity activity = 1 [default = ACT_INVALID];
private com.dota2.proto.AiActivity.Activity activity_ = com.dota2.proto.AiActivity.Activity.ACT_INVALID;
/**
* optional .Activity activity = 1 [default = ACT_INVALID];
*/
public boolean hasActivity() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional .Activity activity = 1 [default = ACT_INVALID];
*/
public com.dota2.proto.AiActivity.Activity getActivity() {
return activity_;
}
/**
* optional .Activity activity = 1 [default = ACT_INVALID];
*/
public Builder setActivity(com.dota2.proto.AiActivity.Activity value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
activity_ = value;
onChanged();
return this;
}
/**
* optional .Activity activity = 1 [default = ACT_INVALID];
*/
public Builder clearActivity() {
bitField0_ = (bitField0_ & ~0x00000001);
activity_ = com.dota2.proto.AiActivity.Activity.ACT_INVALID;
onChanged();
return this;
}
// optional int32 slot = 2;
private int slot_ ;
/**
* optional int32 slot = 2;
*/
public boolean hasSlot() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional int32 slot = 2;
*/
public int getSlot() {
return slot_;
}
/**
* optional int32 slot = 2;
*/
public Builder setSlot(int value) {
bitField0_ |= 0x00000002;
slot_ = value;
onChanged();
return this;
}
/**
* optional int32 slot = 2;
*/
public Builder clearSlot() {
bitField0_ = (bitField0_ & ~0x00000002);
slot_ = 0;
onChanged();
return this;
}
// optional float fade_in = 3 [default = 0];
private float fadeIn_ ;
/**
* optional float fade_in = 3 [default = 0];
*/
public boolean hasFadeIn() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional float fade_in = 3 [default = 0];
*/
public float getFadeIn() {
return fadeIn_;
}
/**
* optional float fade_in = 3 [default = 0];
*/
public Builder setFadeIn(float value) {
bitField0_ |= 0x00000004;
fadeIn_ = value;
onChanged();
return this;
}
/**
* optional float fade_in = 3 [default = 0];
*/
public Builder clearFadeIn() {
bitField0_ = (bitField0_ & ~0x00000004);
fadeIn_ = 0F;
onChanged();
return this;
}
// optional float fade_out = 4 [default = 0.1];
private float fadeOut_ = 0.1F;
/**
* optional float fade_out = 4 [default = 0.1];
*/
public boolean hasFadeOut() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* optional float fade_out = 4 [default = 0.1];
*/
public float getFadeOut() {
return fadeOut_;
}
/**
* optional float fade_out = 4 [default = 0.1];
*/
public Builder setFadeOut(float value) {
bitField0_ |= 0x00000008;
fadeOut_ = value;
onChanged();
return this;
}
/**
* optional float fade_out = 4 [default = 0.1];
*/
public Builder clearFadeOut() {
bitField0_ = (bitField0_ & ~0x00000008);
fadeOut_ = 0.1F;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:CDOTAUserMsg_UnitEvent.AddGesture)
}
static {
defaultInstance = new AddGesture(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:CDOTAUserMsg_UnitEvent.AddGesture)
}
public interface RemoveGestureOrBuilder
extends com.google.protobuf.MessageOrBuilder {
// optional .Activity activity = 1 [default = ACT_INVALID];
/**
* optional .Activity activity = 1 [default = ACT_INVALID];
*/
boolean hasActivity();
/**
* optional .Activity activity = 1 [default = ACT_INVALID];
*/
com.dota2.proto.AiActivity.Activity getActivity();
}
/**
* Protobuf type {@code CDOTAUserMsg_UnitEvent.RemoveGesture}
*/
public static final class RemoveGesture extends
com.google.protobuf.GeneratedMessage
implements RemoveGestureOrBuilder {
// Use RemoveGesture.newBuilder() to construct.
private RemoveGesture(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private RemoveGesture(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final RemoveGesture defaultInstance;
public static RemoveGesture getDefaultInstance() {
return defaultInstance;
}
public RemoveGesture getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private RemoveGesture(
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();
com.dota2.proto.AiActivity.Activity value = com.dota2.proto.AiActivity.Activity.valueOf(rawValue);
if (value == null) {
unknownFields.mergeVarintField(1, rawValue);
} else {
bitField0_ |= 0x00000001;
activity_ = value;
}
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 com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_UnitEvent_RemoveGesture_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_UnitEvent_RemoveGesture_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.RemoveGesture.class, com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.RemoveGesture.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public RemoveGesture parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new RemoveGesture(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
// optional .Activity activity = 1 [default = ACT_INVALID];
public static final int ACTIVITY_FIELD_NUMBER = 1;
private com.dota2.proto.AiActivity.Activity activity_;
/**
* optional .Activity activity = 1 [default = ACT_INVALID];
*/
public boolean hasActivity() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional .Activity activity = 1 [default = ACT_INVALID];
*/
public com.dota2.proto.AiActivity.Activity getActivity() {
return activity_;
}
private void initFields() {
activity_ = com.dota2.proto.AiActivity.Activity.ACT_INVALID;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeEnum(1, activity_.getNumber());
}
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, activity_.getNumber());
}
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 com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.RemoveGesture parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.RemoveGesture parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.RemoveGesture parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.RemoveGesture parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.RemoveGesture parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.RemoveGesture parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.RemoveGesture parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.RemoveGesture parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.RemoveGesture parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.RemoveGesture 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(com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.RemoveGesture 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_UnitEvent.RemoveGesture}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder
implements com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.RemoveGestureOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_UnitEvent_RemoveGesture_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_UnitEvent_RemoveGesture_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.RemoveGesture.class, com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.RemoveGesture.Builder.class);
}
// Construct using com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.RemoveGesture.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();
activity_ = com.dota2.proto.AiActivity.Activity.ACT_INVALID;
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_UnitEvent_RemoveGesture_descriptor;
}
public com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.RemoveGesture getDefaultInstanceForType() {
return com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.RemoveGesture.getDefaultInstance();
}
public com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.RemoveGesture build() {
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.RemoveGesture result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.RemoveGesture buildPartial() {
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.RemoveGesture result = new com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.RemoveGesture(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.activity_ = activity_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.RemoveGesture) {
return mergeFrom((com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.RemoveGesture)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.RemoveGesture other) {
if (other == com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.RemoveGesture.getDefaultInstance()) return this;
if (other.hasActivity()) {
setActivity(other.getActivity());
}
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 {
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.RemoveGesture parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.RemoveGesture) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// optional .Activity activity = 1 [default = ACT_INVALID];
private com.dota2.proto.AiActivity.Activity activity_ = com.dota2.proto.AiActivity.Activity.ACT_INVALID;
/**
* optional .Activity activity = 1 [default = ACT_INVALID];
*/
public boolean hasActivity() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional .Activity activity = 1 [default = ACT_INVALID];
*/
public com.dota2.proto.AiActivity.Activity getActivity() {
return activity_;
}
/**
* optional .Activity activity = 1 [default = ACT_INVALID];
*/
public Builder setActivity(com.dota2.proto.AiActivity.Activity value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
activity_ = value;
onChanged();
return this;
}
/**
* optional .Activity activity = 1 [default = ACT_INVALID];
*/
public Builder clearActivity() {
bitField0_ = (bitField0_ & ~0x00000001);
activity_ = com.dota2.proto.AiActivity.Activity.ACT_INVALID;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:CDOTAUserMsg_UnitEvent.RemoveGesture)
}
static {
defaultInstance = new RemoveGesture(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:CDOTAUserMsg_UnitEvent.RemoveGesture)
}
public interface BloodImpactOrBuilder
extends com.google.protobuf.MessageOrBuilder {
// optional int32 scale = 1;
/**
* optional int32 scale = 1;
*/
boolean hasScale();
/**
* optional int32 scale = 1;
*/
int getScale();
// optional int32 x_normal = 2;
/**
* optional int32 x_normal = 2;
*/
boolean hasXNormal();
/**
* optional int32 x_normal = 2;
*/
int getXNormal();
// optional int32 y_normal = 3;
/**
* optional int32 y_normal = 3;
*/
boolean hasYNormal();
/**
* optional int32 y_normal = 3;
*/
int getYNormal();
}
/**
* Protobuf type {@code CDOTAUserMsg_UnitEvent.BloodImpact}
*/
public static final class BloodImpact extends
com.google.protobuf.GeneratedMessage
implements BloodImpactOrBuilder {
// Use BloodImpact.newBuilder() to construct.
private BloodImpact(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private BloodImpact(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final BloodImpact defaultInstance;
public static BloodImpact getDefaultInstance() {
return defaultInstance;
}
public BloodImpact getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private BloodImpact(
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;
scale_ = input.readInt32();
break;
}
case 16: {
bitField0_ |= 0x00000002;
xNormal_ = input.readInt32();
break;
}
case 24: {
bitField0_ |= 0x00000004;
yNormal_ = 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 com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_UnitEvent_BloodImpact_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_UnitEvent_BloodImpact_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.BloodImpact.class, com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.BloodImpact.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public BloodImpact parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new BloodImpact(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
// optional int32 scale = 1;
public static final int SCALE_FIELD_NUMBER = 1;
private int scale_;
/**
* optional int32 scale = 1;
*/
public boolean hasScale() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional int32 scale = 1;
*/
public int getScale() {
return scale_;
}
// optional int32 x_normal = 2;
public static final int X_NORMAL_FIELD_NUMBER = 2;
private int xNormal_;
/**
* optional int32 x_normal = 2;
*/
public boolean hasXNormal() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional int32 x_normal = 2;
*/
public int getXNormal() {
return xNormal_;
}
// optional int32 y_normal = 3;
public static final int Y_NORMAL_FIELD_NUMBER = 3;
private int yNormal_;
/**
* optional int32 y_normal = 3;
*/
public boolean hasYNormal() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional int32 y_normal = 3;
*/
public int getYNormal() {
return yNormal_;
}
private void initFields() {
scale_ = 0;
xNormal_ = 0;
yNormal_ = 0;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeInt32(1, scale_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeInt32(2, xNormal_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
output.writeInt32(3, yNormal_);
}
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, scale_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(2, xNormal_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(3, yNormal_);
}
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 com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.BloodImpact parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.BloodImpact parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.BloodImpact parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.BloodImpact parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.BloodImpact parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.BloodImpact parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.BloodImpact parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.BloodImpact parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.BloodImpact parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.BloodImpact 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(com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.BloodImpact 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_UnitEvent.BloodImpact}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder
implements com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.BloodImpactOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_UnitEvent_BloodImpact_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_UnitEvent_BloodImpact_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.BloodImpact.class, com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.BloodImpact.Builder.class);
}
// Construct using com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.BloodImpact.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();
scale_ = 0;
bitField0_ = (bitField0_ & ~0x00000001);
xNormal_ = 0;
bitField0_ = (bitField0_ & ~0x00000002);
yNormal_ = 0;
bitField0_ = (bitField0_ & ~0x00000004);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_UnitEvent_BloodImpact_descriptor;
}
public com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.BloodImpact getDefaultInstanceForType() {
return com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.BloodImpact.getDefaultInstance();
}
public com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.BloodImpact build() {
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.BloodImpact result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.BloodImpact buildPartial() {
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.BloodImpact result = new com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.BloodImpact(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.scale_ = scale_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.xNormal_ = xNormal_;
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
to_bitField0_ |= 0x00000004;
}
result.yNormal_ = yNormal_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.BloodImpact) {
return mergeFrom((com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.BloodImpact)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.BloodImpact other) {
if (other == com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.BloodImpact.getDefaultInstance()) return this;
if (other.hasScale()) {
setScale(other.getScale());
}
if (other.hasXNormal()) {
setXNormal(other.getXNormal());
}
if (other.hasYNormal()) {
setYNormal(other.getYNormal());
}
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 {
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.BloodImpact parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.BloodImpact) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// optional int32 scale = 1;
private int scale_ ;
/**
* optional int32 scale = 1;
*/
public boolean hasScale() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional int32 scale = 1;
*/
public int getScale() {
return scale_;
}
/**
* optional int32 scale = 1;
*/
public Builder setScale(int value) {
bitField0_ |= 0x00000001;
scale_ = value;
onChanged();
return this;
}
/**
* optional int32 scale = 1;
*/
public Builder clearScale() {
bitField0_ = (bitField0_ & ~0x00000001);
scale_ = 0;
onChanged();
return this;
}
// optional int32 x_normal = 2;
private int xNormal_ ;
/**
* optional int32 x_normal = 2;
*/
public boolean hasXNormal() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional int32 x_normal = 2;
*/
public int getXNormal() {
return xNormal_;
}
/**
* optional int32 x_normal = 2;
*/
public Builder setXNormal(int value) {
bitField0_ |= 0x00000002;
xNormal_ = value;
onChanged();
return this;
}
/**
* optional int32 x_normal = 2;
*/
public Builder clearXNormal() {
bitField0_ = (bitField0_ & ~0x00000002);
xNormal_ = 0;
onChanged();
return this;
}
// optional int32 y_normal = 3;
private int yNormal_ ;
/**
* optional int32 y_normal = 3;
*/
public boolean hasYNormal() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional int32 y_normal = 3;
*/
public int getYNormal() {
return yNormal_;
}
/**
* optional int32 y_normal = 3;
*/
public Builder setYNormal(int value) {
bitField0_ |= 0x00000004;
yNormal_ = value;
onChanged();
return this;
}
/**
* optional int32 y_normal = 3;
*/
public Builder clearYNormal() {
bitField0_ = (bitField0_ & ~0x00000004);
yNormal_ = 0;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:CDOTAUserMsg_UnitEvent.BloodImpact)
}
static {
defaultInstance = new BloodImpact(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:CDOTAUserMsg_UnitEvent.BloodImpact)
}
public interface FadeGestureOrBuilder
extends com.google.protobuf.MessageOrBuilder {
// optional .Activity activity = 1 [default = ACT_INVALID];
/**
* optional .Activity activity = 1 [default = ACT_INVALID];
*/
boolean hasActivity();
/**
* optional .Activity activity = 1 [default = ACT_INVALID];
*/
com.dota2.proto.AiActivity.Activity getActivity();
}
/**
* Protobuf type {@code CDOTAUserMsg_UnitEvent.FadeGesture}
*/
public static final class FadeGesture extends
com.google.protobuf.GeneratedMessage
implements FadeGestureOrBuilder {
// Use FadeGesture.newBuilder() to construct.
private FadeGesture(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private FadeGesture(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final FadeGesture defaultInstance;
public static FadeGesture getDefaultInstance() {
return defaultInstance;
}
public FadeGesture getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private FadeGesture(
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();
com.dota2.proto.AiActivity.Activity value = com.dota2.proto.AiActivity.Activity.valueOf(rawValue);
if (value == null) {
unknownFields.mergeVarintField(1, rawValue);
} else {
bitField0_ |= 0x00000001;
activity_ = value;
}
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 com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_UnitEvent_FadeGesture_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_UnitEvent_FadeGesture_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.FadeGesture.class, com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.FadeGesture.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public FadeGesture parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new FadeGesture(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
// optional .Activity activity = 1 [default = ACT_INVALID];
public static final int ACTIVITY_FIELD_NUMBER = 1;
private com.dota2.proto.AiActivity.Activity activity_;
/**
* optional .Activity activity = 1 [default = ACT_INVALID];
*/
public boolean hasActivity() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional .Activity activity = 1 [default = ACT_INVALID];
*/
public com.dota2.proto.AiActivity.Activity getActivity() {
return activity_;
}
private void initFields() {
activity_ = com.dota2.proto.AiActivity.Activity.ACT_INVALID;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeEnum(1, activity_.getNumber());
}
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, activity_.getNumber());
}
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 com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.FadeGesture parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.FadeGesture parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.FadeGesture parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.FadeGesture parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.FadeGesture parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.FadeGesture parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.FadeGesture parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.FadeGesture parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.FadeGesture parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.FadeGesture 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(com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.FadeGesture 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_UnitEvent.FadeGesture}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder
implements com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.FadeGestureOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_UnitEvent_FadeGesture_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_UnitEvent_FadeGesture_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.FadeGesture.class, com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.FadeGesture.Builder.class);
}
// Construct using com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.FadeGesture.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();
activity_ = com.dota2.proto.AiActivity.Activity.ACT_INVALID;
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_UnitEvent_FadeGesture_descriptor;
}
public com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.FadeGesture getDefaultInstanceForType() {
return com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.FadeGesture.getDefaultInstance();
}
public com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.FadeGesture build() {
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.FadeGesture result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.FadeGesture buildPartial() {
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.FadeGesture result = new com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.FadeGesture(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.activity_ = activity_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.FadeGesture) {
return mergeFrom((com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.FadeGesture)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.FadeGesture other) {
if (other == com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.FadeGesture.getDefaultInstance()) return this;
if (other.hasActivity()) {
setActivity(other.getActivity());
}
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 {
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.FadeGesture parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.FadeGesture) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// optional .Activity activity = 1 [default = ACT_INVALID];
private com.dota2.proto.AiActivity.Activity activity_ = com.dota2.proto.AiActivity.Activity.ACT_INVALID;
/**
* optional .Activity activity = 1 [default = ACT_INVALID];
*/
public boolean hasActivity() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional .Activity activity = 1 [default = ACT_INVALID];
*/
public com.dota2.proto.AiActivity.Activity getActivity() {
return activity_;
}
/**
* optional .Activity activity = 1 [default = ACT_INVALID];
*/
public Builder setActivity(com.dota2.proto.AiActivity.Activity value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
activity_ = value;
onChanged();
return this;
}
/**
* optional .Activity activity = 1 [default = ACT_INVALID];
*/
public Builder clearActivity() {
bitField0_ = (bitField0_ & ~0x00000001);
activity_ = com.dota2.proto.AiActivity.Activity.ACT_INVALID;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:CDOTAUserMsg_UnitEvent.FadeGesture)
}
static {
defaultInstance = new FadeGesture(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:CDOTAUserMsg_UnitEvent.FadeGesture)
}
private int bitField0_;
// required .EDotaEntityMessages msg_type = 1 [default = DOTA_UNIT_SPEECH];
public static final int MSG_TYPE_FIELD_NUMBER = 1;
private com.dota2.proto.DotaUsermessages.EDotaEntityMessages msgType_;
/**
* required .EDotaEntityMessages msg_type = 1 [default = DOTA_UNIT_SPEECH];
*/
public boolean hasMsgType() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required .EDotaEntityMessages msg_type = 1 [default = DOTA_UNIT_SPEECH];
*/
public com.dota2.proto.DotaUsermessages.EDotaEntityMessages getMsgType() {
return msgType_;
}
// required int32 entity_index = 2;
public static final int ENTITY_INDEX_FIELD_NUMBER = 2;
private int entityIndex_;
/**
* required int32 entity_index = 2;
*/
public boolean hasEntityIndex() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* required int32 entity_index = 2;
*/
public int getEntityIndex() {
return entityIndex_;
}
// optional .CDOTAUserMsg_UnitEvent.Speech speech = 3;
public static final int SPEECH_FIELD_NUMBER = 3;
private com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.Speech speech_;
/**
* optional .CDOTAUserMsg_UnitEvent.Speech speech = 3;
*/
public boolean hasSpeech() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional .CDOTAUserMsg_UnitEvent.Speech speech = 3;
*/
public com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.Speech getSpeech() {
return speech_;
}
/**
* optional .CDOTAUserMsg_UnitEvent.Speech speech = 3;
*/
public com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.SpeechOrBuilder getSpeechOrBuilder() {
return speech_;
}
// optional .CDOTAUserMsg_UnitEvent.SpeechMute speech_mute = 4;
public static final int SPEECH_MUTE_FIELD_NUMBER = 4;
private com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.SpeechMute speechMute_;
/**
* optional .CDOTAUserMsg_UnitEvent.SpeechMute speech_mute = 4;
*/
public boolean hasSpeechMute() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* optional .CDOTAUserMsg_UnitEvent.SpeechMute speech_mute = 4;
*/
public com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.SpeechMute getSpeechMute() {
return speechMute_;
}
/**
* optional .CDOTAUserMsg_UnitEvent.SpeechMute speech_mute = 4;
*/
public com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.SpeechMuteOrBuilder getSpeechMuteOrBuilder() {
return speechMute_;
}
// optional .CDOTAUserMsg_UnitEvent.AddGesture add_gesture = 5;
public static final int ADD_GESTURE_FIELD_NUMBER = 5;
private com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.AddGesture addGesture_;
/**
* optional .CDOTAUserMsg_UnitEvent.AddGesture add_gesture = 5;
*/
public boolean hasAddGesture() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
/**
* optional .CDOTAUserMsg_UnitEvent.AddGesture add_gesture = 5;
*/
public com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.AddGesture getAddGesture() {
return addGesture_;
}
/**
* optional .CDOTAUserMsg_UnitEvent.AddGesture add_gesture = 5;
*/
public com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.AddGestureOrBuilder getAddGestureOrBuilder() {
return addGesture_;
}
// optional .CDOTAUserMsg_UnitEvent.RemoveGesture remove_gesture = 6;
public static final int REMOVE_GESTURE_FIELD_NUMBER = 6;
private com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.RemoveGesture removeGesture_;
/**
* optional .CDOTAUserMsg_UnitEvent.RemoveGesture remove_gesture = 6;
*/
public boolean hasRemoveGesture() {
return ((bitField0_ & 0x00000020) == 0x00000020);
}
/**
* optional .CDOTAUserMsg_UnitEvent.RemoveGesture remove_gesture = 6;
*/
public com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.RemoveGesture getRemoveGesture() {
return removeGesture_;
}
/**
* optional .CDOTAUserMsg_UnitEvent.RemoveGesture remove_gesture = 6;
*/
public com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.RemoveGestureOrBuilder getRemoveGestureOrBuilder() {
return removeGesture_;
}
// optional .CDOTAUserMsg_UnitEvent.BloodImpact blood_impact = 7;
public static final int BLOOD_IMPACT_FIELD_NUMBER = 7;
private com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.BloodImpact bloodImpact_;
/**
* optional .CDOTAUserMsg_UnitEvent.BloodImpact blood_impact = 7;
*/
public boolean hasBloodImpact() {
return ((bitField0_ & 0x00000040) == 0x00000040);
}
/**
* optional .CDOTAUserMsg_UnitEvent.BloodImpact blood_impact = 7;
*/
public com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.BloodImpact getBloodImpact() {
return bloodImpact_;
}
/**
* optional .CDOTAUserMsg_UnitEvent.BloodImpact blood_impact = 7;
*/
public com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.BloodImpactOrBuilder getBloodImpactOrBuilder() {
return bloodImpact_;
}
// optional .CDOTAUserMsg_UnitEvent.FadeGesture fade_gesture = 8;
public static final int FADE_GESTURE_FIELD_NUMBER = 8;
private com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.FadeGesture fadeGesture_;
/**
* optional .CDOTAUserMsg_UnitEvent.FadeGesture fade_gesture = 8;
*/
public boolean hasFadeGesture() {
return ((bitField0_ & 0x00000080) == 0x00000080);
}
/**
* optional .CDOTAUserMsg_UnitEvent.FadeGesture fade_gesture = 8;
*/
public com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.FadeGesture getFadeGesture() {
return fadeGesture_;
}
/**
* optional .CDOTAUserMsg_UnitEvent.FadeGesture fade_gesture = 8;
*/
public com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.FadeGestureOrBuilder getFadeGestureOrBuilder() {
return fadeGesture_;
}
// optional .CDOTASpeechMatchOnClient speech_match_on_client = 9;
public static final int SPEECH_MATCH_ON_CLIENT_FIELD_NUMBER = 9;
private com.dota2.proto.DotaUsermessages.CDOTASpeechMatchOnClient speechMatchOnClient_;
/**
* optional .CDOTASpeechMatchOnClient speech_match_on_client = 9;
*/
public boolean hasSpeechMatchOnClient() {
return ((bitField0_ & 0x00000100) == 0x00000100);
}
/**
* optional .CDOTASpeechMatchOnClient speech_match_on_client = 9;
*/
public com.dota2.proto.DotaUsermessages.CDOTASpeechMatchOnClient getSpeechMatchOnClient() {
return speechMatchOnClient_;
}
/**
* optional .CDOTASpeechMatchOnClient speech_match_on_client = 9;
*/
public com.dota2.proto.DotaUsermessages.CDOTASpeechMatchOnClientOrBuilder getSpeechMatchOnClientOrBuilder() {
return speechMatchOnClient_;
}
private void initFields() {
msgType_ = com.dota2.proto.DotaUsermessages.EDotaEntityMessages.DOTA_UNIT_SPEECH;
entityIndex_ = 0;
speech_ = com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.Speech.getDefaultInstance();
speechMute_ = com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.SpeechMute.getDefaultInstance();
addGesture_ = com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.AddGesture.getDefaultInstance();
removeGesture_ = com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.RemoveGesture.getDefaultInstance();
bloodImpact_ = com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.BloodImpact.getDefaultInstance();
fadeGesture_ = com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.FadeGesture.getDefaultInstance();
speechMatchOnClient_ = com.dota2.proto.DotaUsermessages.CDOTASpeechMatchOnClient.getDefaultInstance();
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
if (!hasMsgType()) {
memoizedIsInitialized = 0;
return false;
}
if (!hasEntityIndex()) {
memoizedIsInitialized = 0;
return false;
}
if (hasSpeechMatchOnClient()) {
if (!getSpeechMatchOnClient().isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
}
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeEnum(1, msgType_.getNumber());
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeInt32(2, entityIndex_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
output.writeMessage(3, speech_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
output.writeMessage(4, speechMute_);
}
if (((bitField0_ & 0x00000010) == 0x00000010)) {
output.writeMessage(5, addGesture_);
}
if (((bitField0_ & 0x00000020) == 0x00000020)) {
output.writeMessage(6, removeGesture_);
}
if (((bitField0_ & 0x00000040) == 0x00000040)) {
output.writeMessage(7, bloodImpact_);
}
if (((bitField0_ & 0x00000080) == 0x00000080)) {
output.writeMessage(8, fadeGesture_);
}
if (((bitField0_ & 0x00000100) == 0x00000100)) {
output.writeMessage(9, speechMatchOnClient_);
}
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, msgType_.getNumber());
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(2, entityIndex_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, speech_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, speechMute_);
}
if (((bitField0_ & 0x00000010) == 0x00000010)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(5, addGesture_);
}
if (((bitField0_ & 0x00000020) == 0x00000020)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(6, removeGesture_);
}
if (((bitField0_ & 0x00000040) == 0x00000040)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(7, bloodImpact_);
}
if (((bitField0_ & 0x00000080) == 0x00000080)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(8, fadeGesture_);
}
if (((bitField0_ & 0x00000100) == 0x00000100)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(9, speechMatchOnClient_);
}
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 com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent 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(com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent 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_UnitEvent}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder
implements com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEventOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_UnitEvent_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_UnitEvent_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.class, com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.Builder.class);
}
// Construct using com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
getSpeechFieldBuilder();
getSpeechMuteFieldBuilder();
getAddGestureFieldBuilder();
getRemoveGestureFieldBuilder();
getBloodImpactFieldBuilder();
getFadeGestureFieldBuilder();
getSpeechMatchOnClientFieldBuilder();
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
msgType_ = com.dota2.proto.DotaUsermessages.EDotaEntityMessages.DOTA_UNIT_SPEECH;
bitField0_ = (bitField0_ & ~0x00000001);
entityIndex_ = 0;
bitField0_ = (bitField0_ & ~0x00000002);
if (speechBuilder_ == null) {
speech_ = com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.Speech.getDefaultInstance();
} else {
speechBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000004);
if (speechMuteBuilder_ == null) {
speechMute_ = com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.SpeechMute.getDefaultInstance();
} else {
speechMuteBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000008);
if (addGestureBuilder_ == null) {
addGesture_ = com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.AddGesture.getDefaultInstance();
} else {
addGestureBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000010);
if (removeGestureBuilder_ == null) {
removeGesture_ = com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.RemoveGesture.getDefaultInstance();
} else {
removeGestureBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000020);
if (bloodImpactBuilder_ == null) {
bloodImpact_ = com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.BloodImpact.getDefaultInstance();
} else {
bloodImpactBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000040);
if (fadeGestureBuilder_ == null) {
fadeGesture_ = com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.FadeGesture.getDefaultInstance();
} else {
fadeGestureBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000080);
if (speechMatchOnClientBuilder_ == null) {
speechMatchOnClient_ = com.dota2.proto.DotaUsermessages.CDOTASpeechMatchOnClient.getDefaultInstance();
} else {
speechMatchOnClientBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000100);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_UnitEvent_descriptor;
}
public com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent getDefaultInstanceForType() {
return com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.getDefaultInstance();
}
public com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent build() {
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent buildPartial() {
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent result = new com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.msgType_ = msgType_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.entityIndex_ = entityIndex_;
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
to_bitField0_ |= 0x00000004;
}
if (speechBuilder_ == null) {
result.speech_ = speech_;
} else {
result.speech_ = speechBuilder_.build();
}
if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
to_bitField0_ |= 0x00000008;
}
if (speechMuteBuilder_ == null) {
result.speechMute_ = speechMute_;
} else {
result.speechMute_ = speechMuteBuilder_.build();
}
if (((from_bitField0_ & 0x00000010) == 0x00000010)) {
to_bitField0_ |= 0x00000010;
}
if (addGestureBuilder_ == null) {
result.addGesture_ = addGesture_;
} else {
result.addGesture_ = addGestureBuilder_.build();
}
if (((from_bitField0_ & 0x00000020) == 0x00000020)) {
to_bitField0_ |= 0x00000020;
}
if (removeGestureBuilder_ == null) {
result.removeGesture_ = removeGesture_;
} else {
result.removeGesture_ = removeGestureBuilder_.build();
}
if (((from_bitField0_ & 0x00000040) == 0x00000040)) {
to_bitField0_ |= 0x00000040;
}
if (bloodImpactBuilder_ == null) {
result.bloodImpact_ = bloodImpact_;
} else {
result.bloodImpact_ = bloodImpactBuilder_.build();
}
if (((from_bitField0_ & 0x00000080) == 0x00000080)) {
to_bitField0_ |= 0x00000080;
}
if (fadeGestureBuilder_ == null) {
result.fadeGesture_ = fadeGesture_;
} else {
result.fadeGesture_ = fadeGestureBuilder_.build();
}
if (((from_bitField0_ & 0x00000100) == 0x00000100)) {
to_bitField0_ |= 0x00000100;
}
if (speechMatchOnClientBuilder_ == null) {
result.speechMatchOnClient_ = speechMatchOnClient_;
} else {
result.speechMatchOnClient_ = speechMatchOnClientBuilder_.build();
}
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent) {
return mergeFrom((com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent other) {
if (other == com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.getDefaultInstance()) return this;
if (other.hasMsgType()) {
setMsgType(other.getMsgType());
}
if (other.hasEntityIndex()) {
setEntityIndex(other.getEntityIndex());
}
if (other.hasSpeech()) {
mergeSpeech(other.getSpeech());
}
if (other.hasSpeechMute()) {
mergeSpeechMute(other.getSpeechMute());
}
if (other.hasAddGesture()) {
mergeAddGesture(other.getAddGesture());
}
if (other.hasRemoveGesture()) {
mergeRemoveGesture(other.getRemoveGesture());
}
if (other.hasBloodImpact()) {
mergeBloodImpact(other.getBloodImpact());
}
if (other.hasFadeGesture()) {
mergeFadeGesture(other.getFadeGesture());
}
if (other.hasSpeechMatchOnClient()) {
mergeSpeechMatchOnClient(other.getSpeechMatchOnClient());
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
if (!hasMsgType()) {
return false;
}
if (!hasEntityIndex()) {
return false;
}
if (hasSpeechMatchOnClient()) {
if (!getSpeechMatchOnClient().isInitialized()) {
return false;
}
}
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// required .EDotaEntityMessages msg_type = 1 [default = DOTA_UNIT_SPEECH];
private com.dota2.proto.DotaUsermessages.EDotaEntityMessages msgType_ = com.dota2.proto.DotaUsermessages.EDotaEntityMessages.DOTA_UNIT_SPEECH;
/**
* required .EDotaEntityMessages msg_type = 1 [default = DOTA_UNIT_SPEECH];
*/
public boolean hasMsgType() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required .EDotaEntityMessages msg_type = 1 [default = DOTA_UNIT_SPEECH];
*/
public com.dota2.proto.DotaUsermessages.EDotaEntityMessages getMsgType() {
return msgType_;
}
/**
* required .EDotaEntityMessages msg_type = 1 [default = DOTA_UNIT_SPEECH];
*/
public Builder setMsgType(com.dota2.proto.DotaUsermessages.EDotaEntityMessages value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
msgType_ = value;
onChanged();
return this;
}
/**
* required .EDotaEntityMessages msg_type = 1 [default = DOTA_UNIT_SPEECH];
*/
public Builder clearMsgType() {
bitField0_ = (bitField0_ & ~0x00000001);
msgType_ = com.dota2.proto.DotaUsermessages.EDotaEntityMessages.DOTA_UNIT_SPEECH;
onChanged();
return this;
}
// required int32 entity_index = 2;
private int entityIndex_ ;
/**
* required int32 entity_index = 2;
*/
public boolean hasEntityIndex() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* required int32 entity_index = 2;
*/
public int getEntityIndex() {
return entityIndex_;
}
/**
* required int32 entity_index = 2;
*/
public Builder setEntityIndex(int value) {
bitField0_ |= 0x00000002;
entityIndex_ = value;
onChanged();
return this;
}
/**
* required int32 entity_index = 2;
*/
public Builder clearEntityIndex() {
bitField0_ = (bitField0_ & ~0x00000002);
entityIndex_ = 0;
onChanged();
return this;
}
// optional .CDOTAUserMsg_UnitEvent.Speech speech = 3;
private com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.Speech speech_ = com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.Speech.getDefaultInstance();
private com.google.protobuf.SingleFieldBuilder<
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.Speech, com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.Speech.Builder, com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.SpeechOrBuilder> speechBuilder_;
/**
* optional .CDOTAUserMsg_UnitEvent.Speech speech = 3;
*/
public boolean hasSpeech() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional .CDOTAUserMsg_UnitEvent.Speech speech = 3;
*/
public com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.Speech getSpeech() {
if (speechBuilder_ == null) {
return speech_;
} else {
return speechBuilder_.getMessage();
}
}
/**
* optional .CDOTAUserMsg_UnitEvent.Speech speech = 3;
*/
public Builder setSpeech(com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.Speech value) {
if (speechBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
speech_ = value;
onChanged();
} else {
speechBuilder_.setMessage(value);
}
bitField0_ |= 0x00000004;
return this;
}
/**
* optional .CDOTAUserMsg_UnitEvent.Speech speech = 3;
*/
public Builder setSpeech(
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.Speech.Builder builderForValue) {
if (speechBuilder_ == null) {
speech_ = builderForValue.build();
onChanged();
} else {
speechBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000004;
return this;
}
/**
* optional .CDOTAUserMsg_UnitEvent.Speech speech = 3;
*/
public Builder mergeSpeech(com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.Speech value) {
if (speechBuilder_ == null) {
if (((bitField0_ & 0x00000004) == 0x00000004) &&
speech_ != com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.Speech.getDefaultInstance()) {
speech_ =
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.Speech.newBuilder(speech_).mergeFrom(value).buildPartial();
} else {
speech_ = value;
}
onChanged();
} else {
speechBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000004;
return this;
}
/**
* optional .CDOTAUserMsg_UnitEvent.Speech speech = 3;
*/
public Builder clearSpeech() {
if (speechBuilder_ == null) {
speech_ = com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.Speech.getDefaultInstance();
onChanged();
} else {
speechBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000004);
return this;
}
/**
* optional .CDOTAUserMsg_UnitEvent.Speech speech = 3;
*/
public com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.Speech.Builder getSpeechBuilder() {
bitField0_ |= 0x00000004;
onChanged();
return getSpeechFieldBuilder().getBuilder();
}
/**
* optional .CDOTAUserMsg_UnitEvent.Speech speech = 3;
*/
public com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.SpeechOrBuilder getSpeechOrBuilder() {
if (speechBuilder_ != null) {
return speechBuilder_.getMessageOrBuilder();
} else {
return speech_;
}
}
/**
* optional .CDOTAUserMsg_UnitEvent.Speech speech = 3;
*/
private com.google.protobuf.SingleFieldBuilder<
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.Speech, com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.Speech.Builder, com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.SpeechOrBuilder>
getSpeechFieldBuilder() {
if (speechBuilder_ == null) {
speechBuilder_ = new com.google.protobuf.SingleFieldBuilder<
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.Speech, com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.Speech.Builder, com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.SpeechOrBuilder>(
speech_,
getParentForChildren(),
isClean());
speech_ = null;
}
return speechBuilder_;
}
// optional .CDOTAUserMsg_UnitEvent.SpeechMute speech_mute = 4;
private com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.SpeechMute speechMute_ = com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.SpeechMute.getDefaultInstance();
private com.google.protobuf.SingleFieldBuilder<
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.SpeechMute, com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.SpeechMute.Builder, com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.SpeechMuteOrBuilder> speechMuteBuilder_;
/**
* optional .CDOTAUserMsg_UnitEvent.SpeechMute speech_mute = 4;
*/
public boolean hasSpeechMute() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* optional .CDOTAUserMsg_UnitEvent.SpeechMute speech_mute = 4;
*/
public com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.SpeechMute getSpeechMute() {
if (speechMuteBuilder_ == null) {
return speechMute_;
} else {
return speechMuteBuilder_.getMessage();
}
}
/**
* optional .CDOTAUserMsg_UnitEvent.SpeechMute speech_mute = 4;
*/
public Builder setSpeechMute(com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.SpeechMute value) {
if (speechMuteBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
speechMute_ = value;
onChanged();
} else {
speechMuteBuilder_.setMessage(value);
}
bitField0_ |= 0x00000008;
return this;
}
/**
* optional .CDOTAUserMsg_UnitEvent.SpeechMute speech_mute = 4;
*/
public Builder setSpeechMute(
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.SpeechMute.Builder builderForValue) {
if (speechMuteBuilder_ == null) {
speechMute_ = builderForValue.build();
onChanged();
} else {
speechMuteBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000008;
return this;
}
/**
* optional .CDOTAUserMsg_UnitEvent.SpeechMute speech_mute = 4;
*/
public Builder mergeSpeechMute(com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.SpeechMute value) {
if (speechMuteBuilder_ == null) {
if (((bitField0_ & 0x00000008) == 0x00000008) &&
speechMute_ != com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.SpeechMute.getDefaultInstance()) {
speechMute_ =
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.SpeechMute.newBuilder(speechMute_).mergeFrom(value).buildPartial();
} else {
speechMute_ = value;
}
onChanged();
} else {
speechMuteBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000008;
return this;
}
/**
* optional .CDOTAUserMsg_UnitEvent.SpeechMute speech_mute = 4;
*/
public Builder clearSpeechMute() {
if (speechMuteBuilder_ == null) {
speechMute_ = com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.SpeechMute.getDefaultInstance();
onChanged();
} else {
speechMuteBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000008);
return this;
}
/**
* optional .CDOTAUserMsg_UnitEvent.SpeechMute speech_mute = 4;
*/
public com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.SpeechMute.Builder getSpeechMuteBuilder() {
bitField0_ |= 0x00000008;
onChanged();
return getSpeechMuteFieldBuilder().getBuilder();
}
/**
* optional .CDOTAUserMsg_UnitEvent.SpeechMute speech_mute = 4;
*/
public com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.SpeechMuteOrBuilder getSpeechMuteOrBuilder() {
if (speechMuteBuilder_ != null) {
return speechMuteBuilder_.getMessageOrBuilder();
} else {
return speechMute_;
}
}
/**
* optional .CDOTAUserMsg_UnitEvent.SpeechMute speech_mute = 4;
*/
private com.google.protobuf.SingleFieldBuilder<
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.SpeechMute, com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.SpeechMute.Builder, com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.SpeechMuteOrBuilder>
getSpeechMuteFieldBuilder() {
if (speechMuteBuilder_ == null) {
speechMuteBuilder_ = new com.google.protobuf.SingleFieldBuilder<
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.SpeechMute, com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.SpeechMute.Builder, com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.SpeechMuteOrBuilder>(
speechMute_,
getParentForChildren(),
isClean());
speechMute_ = null;
}
return speechMuteBuilder_;
}
// optional .CDOTAUserMsg_UnitEvent.AddGesture add_gesture = 5;
private com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.AddGesture addGesture_ = com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.AddGesture.getDefaultInstance();
private com.google.protobuf.SingleFieldBuilder<
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.AddGesture, com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.AddGesture.Builder, com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.AddGestureOrBuilder> addGestureBuilder_;
/**
* optional .CDOTAUserMsg_UnitEvent.AddGesture add_gesture = 5;
*/
public boolean hasAddGesture() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
/**
* optional .CDOTAUserMsg_UnitEvent.AddGesture add_gesture = 5;
*/
public com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.AddGesture getAddGesture() {
if (addGestureBuilder_ == null) {
return addGesture_;
} else {
return addGestureBuilder_.getMessage();
}
}
/**
* optional .CDOTAUserMsg_UnitEvent.AddGesture add_gesture = 5;
*/
public Builder setAddGesture(com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.AddGesture value) {
if (addGestureBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
addGesture_ = value;
onChanged();
} else {
addGestureBuilder_.setMessage(value);
}
bitField0_ |= 0x00000010;
return this;
}
/**
* optional .CDOTAUserMsg_UnitEvent.AddGesture add_gesture = 5;
*/
public Builder setAddGesture(
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.AddGesture.Builder builderForValue) {
if (addGestureBuilder_ == null) {
addGesture_ = builderForValue.build();
onChanged();
} else {
addGestureBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000010;
return this;
}
/**
* optional .CDOTAUserMsg_UnitEvent.AddGesture add_gesture = 5;
*/
public Builder mergeAddGesture(com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.AddGesture value) {
if (addGestureBuilder_ == null) {
if (((bitField0_ & 0x00000010) == 0x00000010) &&
addGesture_ != com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.AddGesture.getDefaultInstance()) {
addGesture_ =
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.AddGesture.newBuilder(addGesture_).mergeFrom(value).buildPartial();
} else {
addGesture_ = value;
}
onChanged();
} else {
addGestureBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000010;
return this;
}
/**
* optional .CDOTAUserMsg_UnitEvent.AddGesture add_gesture = 5;
*/
public Builder clearAddGesture() {
if (addGestureBuilder_ == null) {
addGesture_ = com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.AddGesture.getDefaultInstance();
onChanged();
} else {
addGestureBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000010);
return this;
}
/**
* optional .CDOTAUserMsg_UnitEvent.AddGesture add_gesture = 5;
*/
public com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.AddGesture.Builder getAddGestureBuilder() {
bitField0_ |= 0x00000010;
onChanged();
return getAddGestureFieldBuilder().getBuilder();
}
/**
* optional .CDOTAUserMsg_UnitEvent.AddGesture add_gesture = 5;
*/
public com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.AddGestureOrBuilder getAddGestureOrBuilder() {
if (addGestureBuilder_ != null) {
return addGestureBuilder_.getMessageOrBuilder();
} else {
return addGesture_;
}
}
/**
* optional .CDOTAUserMsg_UnitEvent.AddGesture add_gesture = 5;
*/
private com.google.protobuf.SingleFieldBuilder<
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.AddGesture, com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.AddGesture.Builder, com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.AddGestureOrBuilder>
getAddGestureFieldBuilder() {
if (addGestureBuilder_ == null) {
addGestureBuilder_ = new com.google.protobuf.SingleFieldBuilder<
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.AddGesture, com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.AddGesture.Builder, com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.AddGestureOrBuilder>(
addGesture_,
getParentForChildren(),
isClean());
addGesture_ = null;
}
return addGestureBuilder_;
}
// optional .CDOTAUserMsg_UnitEvent.RemoveGesture remove_gesture = 6;
private com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.RemoveGesture removeGesture_ = com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.RemoveGesture.getDefaultInstance();
private com.google.protobuf.SingleFieldBuilder<
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.RemoveGesture, com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.RemoveGesture.Builder, com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.RemoveGestureOrBuilder> removeGestureBuilder_;
/**
* optional .CDOTAUserMsg_UnitEvent.RemoveGesture remove_gesture = 6;
*/
public boolean hasRemoveGesture() {
return ((bitField0_ & 0x00000020) == 0x00000020);
}
/**
* optional .CDOTAUserMsg_UnitEvent.RemoveGesture remove_gesture = 6;
*/
public com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.RemoveGesture getRemoveGesture() {
if (removeGestureBuilder_ == null) {
return removeGesture_;
} else {
return removeGestureBuilder_.getMessage();
}
}
/**
* optional .CDOTAUserMsg_UnitEvent.RemoveGesture remove_gesture = 6;
*/
public Builder setRemoveGesture(com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.RemoveGesture value) {
if (removeGestureBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
removeGesture_ = value;
onChanged();
} else {
removeGestureBuilder_.setMessage(value);
}
bitField0_ |= 0x00000020;
return this;
}
/**
* optional .CDOTAUserMsg_UnitEvent.RemoveGesture remove_gesture = 6;
*/
public Builder setRemoveGesture(
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.RemoveGesture.Builder builderForValue) {
if (removeGestureBuilder_ == null) {
removeGesture_ = builderForValue.build();
onChanged();
} else {
removeGestureBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000020;
return this;
}
/**
* optional .CDOTAUserMsg_UnitEvent.RemoveGesture remove_gesture = 6;
*/
public Builder mergeRemoveGesture(com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.RemoveGesture value) {
if (removeGestureBuilder_ == null) {
if (((bitField0_ & 0x00000020) == 0x00000020) &&
removeGesture_ != com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.RemoveGesture.getDefaultInstance()) {
removeGesture_ =
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.RemoveGesture.newBuilder(removeGesture_).mergeFrom(value).buildPartial();
} else {
removeGesture_ = value;
}
onChanged();
} else {
removeGestureBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000020;
return this;
}
/**
* optional .CDOTAUserMsg_UnitEvent.RemoveGesture remove_gesture = 6;
*/
public Builder clearRemoveGesture() {
if (removeGestureBuilder_ == null) {
removeGesture_ = com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.RemoveGesture.getDefaultInstance();
onChanged();
} else {
removeGestureBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000020);
return this;
}
/**
* optional .CDOTAUserMsg_UnitEvent.RemoveGesture remove_gesture = 6;
*/
public com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.RemoveGesture.Builder getRemoveGestureBuilder() {
bitField0_ |= 0x00000020;
onChanged();
return getRemoveGestureFieldBuilder().getBuilder();
}
/**
* optional .CDOTAUserMsg_UnitEvent.RemoveGesture remove_gesture = 6;
*/
public com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.RemoveGestureOrBuilder getRemoveGestureOrBuilder() {
if (removeGestureBuilder_ != null) {
return removeGestureBuilder_.getMessageOrBuilder();
} else {
return removeGesture_;
}
}
/**
* optional .CDOTAUserMsg_UnitEvent.RemoveGesture remove_gesture = 6;
*/
private com.google.protobuf.SingleFieldBuilder<
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.RemoveGesture, com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.RemoveGesture.Builder, com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.RemoveGestureOrBuilder>
getRemoveGestureFieldBuilder() {
if (removeGestureBuilder_ == null) {
removeGestureBuilder_ = new com.google.protobuf.SingleFieldBuilder<
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.RemoveGesture, com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.RemoveGesture.Builder, com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.RemoveGestureOrBuilder>(
removeGesture_,
getParentForChildren(),
isClean());
removeGesture_ = null;
}
return removeGestureBuilder_;
}
// optional .CDOTAUserMsg_UnitEvent.BloodImpact blood_impact = 7;
private com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.BloodImpact bloodImpact_ = com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.BloodImpact.getDefaultInstance();
private com.google.protobuf.SingleFieldBuilder<
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.BloodImpact, com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.BloodImpact.Builder, com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.BloodImpactOrBuilder> bloodImpactBuilder_;
/**
* optional .CDOTAUserMsg_UnitEvent.BloodImpact blood_impact = 7;
*/
public boolean hasBloodImpact() {
return ((bitField0_ & 0x00000040) == 0x00000040);
}
/**
* optional .CDOTAUserMsg_UnitEvent.BloodImpact blood_impact = 7;
*/
public com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.BloodImpact getBloodImpact() {
if (bloodImpactBuilder_ == null) {
return bloodImpact_;
} else {
return bloodImpactBuilder_.getMessage();
}
}
/**
* optional .CDOTAUserMsg_UnitEvent.BloodImpact blood_impact = 7;
*/
public Builder setBloodImpact(com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.BloodImpact value) {
if (bloodImpactBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
bloodImpact_ = value;
onChanged();
} else {
bloodImpactBuilder_.setMessage(value);
}
bitField0_ |= 0x00000040;
return this;
}
/**
* optional .CDOTAUserMsg_UnitEvent.BloodImpact blood_impact = 7;
*/
public Builder setBloodImpact(
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.BloodImpact.Builder builderForValue) {
if (bloodImpactBuilder_ == null) {
bloodImpact_ = builderForValue.build();
onChanged();
} else {
bloodImpactBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000040;
return this;
}
/**
* optional .CDOTAUserMsg_UnitEvent.BloodImpact blood_impact = 7;
*/
public Builder mergeBloodImpact(com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.BloodImpact value) {
if (bloodImpactBuilder_ == null) {
if (((bitField0_ & 0x00000040) == 0x00000040) &&
bloodImpact_ != com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.BloodImpact.getDefaultInstance()) {
bloodImpact_ =
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.BloodImpact.newBuilder(bloodImpact_).mergeFrom(value).buildPartial();
} else {
bloodImpact_ = value;
}
onChanged();
} else {
bloodImpactBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000040;
return this;
}
/**
* optional .CDOTAUserMsg_UnitEvent.BloodImpact blood_impact = 7;
*/
public Builder clearBloodImpact() {
if (bloodImpactBuilder_ == null) {
bloodImpact_ = com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.BloodImpact.getDefaultInstance();
onChanged();
} else {
bloodImpactBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000040);
return this;
}
/**
* optional .CDOTAUserMsg_UnitEvent.BloodImpact blood_impact = 7;
*/
public com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.BloodImpact.Builder getBloodImpactBuilder() {
bitField0_ |= 0x00000040;
onChanged();
return getBloodImpactFieldBuilder().getBuilder();
}
/**
* optional .CDOTAUserMsg_UnitEvent.BloodImpact blood_impact = 7;
*/
public com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.BloodImpactOrBuilder getBloodImpactOrBuilder() {
if (bloodImpactBuilder_ != null) {
return bloodImpactBuilder_.getMessageOrBuilder();
} else {
return bloodImpact_;
}
}
/**
* optional .CDOTAUserMsg_UnitEvent.BloodImpact blood_impact = 7;
*/
private com.google.protobuf.SingleFieldBuilder<
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.BloodImpact, com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.BloodImpact.Builder, com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.BloodImpactOrBuilder>
getBloodImpactFieldBuilder() {
if (bloodImpactBuilder_ == null) {
bloodImpactBuilder_ = new com.google.protobuf.SingleFieldBuilder<
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.BloodImpact, com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.BloodImpact.Builder, com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.BloodImpactOrBuilder>(
bloodImpact_,
getParentForChildren(),
isClean());
bloodImpact_ = null;
}
return bloodImpactBuilder_;
}
// optional .CDOTAUserMsg_UnitEvent.FadeGesture fade_gesture = 8;
private com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.FadeGesture fadeGesture_ = com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.FadeGesture.getDefaultInstance();
private com.google.protobuf.SingleFieldBuilder<
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.FadeGesture, com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.FadeGesture.Builder, com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.FadeGestureOrBuilder> fadeGestureBuilder_;
/**
* optional .CDOTAUserMsg_UnitEvent.FadeGesture fade_gesture = 8;
*/
public boolean hasFadeGesture() {
return ((bitField0_ & 0x00000080) == 0x00000080);
}
/**
* optional .CDOTAUserMsg_UnitEvent.FadeGesture fade_gesture = 8;
*/
public com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.FadeGesture getFadeGesture() {
if (fadeGestureBuilder_ == null) {
return fadeGesture_;
} else {
return fadeGestureBuilder_.getMessage();
}
}
/**
* optional .CDOTAUserMsg_UnitEvent.FadeGesture fade_gesture = 8;
*/
public Builder setFadeGesture(com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.FadeGesture value) {
if (fadeGestureBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
fadeGesture_ = value;
onChanged();
} else {
fadeGestureBuilder_.setMessage(value);
}
bitField0_ |= 0x00000080;
return this;
}
/**
* optional .CDOTAUserMsg_UnitEvent.FadeGesture fade_gesture = 8;
*/
public Builder setFadeGesture(
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.FadeGesture.Builder builderForValue) {
if (fadeGestureBuilder_ == null) {
fadeGesture_ = builderForValue.build();
onChanged();
} else {
fadeGestureBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000080;
return this;
}
/**
* optional .CDOTAUserMsg_UnitEvent.FadeGesture fade_gesture = 8;
*/
public Builder mergeFadeGesture(com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.FadeGesture value) {
if (fadeGestureBuilder_ == null) {
if (((bitField0_ & 0x00000080) == 0x00000080) &&
fadeGesture_ != com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.FadeGesture.getDefaultInstance()) {
fadeGesture_ =
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.FadeGesture.newBuilder(fadeGesture_).mergeFrom(value).buildPartial();
} else {
fadeGesture_ = value;
}
onChanged();
} else {
fadeGestureBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000080;
return this;
}
/**
* optional .CDOTAUserMsg_UnitEvent.FadeGesture fade_gesture = 8;
*/
public Builder clearFadeGesture() {
if (fadeGestureBuilder_ == null) {
fadeGesture_ = com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.FadeGesture.getDefaultInstance();
onChanged();
} else {
fadeGestureBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000080);
return this;
}
/**
* optional .CDOTAUserMsg_UnitEvent.FadeGesture fade_gesture = 8;
*/
public com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.FadeGesture.Builder getFadeGestureBuilder() {
bitField0_ |= 0x00000080;
onChanged();
return getFadeGestureFieldBuilder().getBuilder();
}
/**
* optional .CDOTAUserMsg_UnitEvent.FadeGesture fade_gesture = 8;
*/
public com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.FadeGestureOrBuilder getFadeGestureOrBuilder() {
if (fadeGestureBuilder_ != null) {
return fadeGestureBuilder_.getMessageOrBuilder();
} else {
return fadeGesture_;
}
}
/**
* optional .CDOTAUserMsg_UnitEvent.FadeGesture fade_gesture = 8;
*/
private com.google.protobuf.SingleFieldBuilder<
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.FadeGesture, com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.FadeGesture.Builder, com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.FadeGestureOrBuilder>
getFadeGestureFieldBuilder() {
if (fadeGestureBuilder_ == null) {
fadeGestureBuilder_ = new com.google.protobuf.SingleFieldBuilder<
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.FadeGesture, com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.FadeGesture.Builder, com.dota2.proto.DotaUsermessages.CDOTAUserMsg_UnitEvent.FadeGestureOrBuilder>(
fadeGesture_,
getParentForChildren(),
isClean());
fadeGesture_ = null;
}
return fadeGestureBuilder_;
}
// optional .CDOTASpeechMatchOnClient speech_match_on_client = 9;
private com.dota2.proto.DotaUsermessages.CDOTASpeechMatchOnClient speechMatchOnClient_ = com.dota2.proto.DotaUsermessages.CDOTASpeechMatchOnClient.getDefaultInstance();
private com.google.protobuf.SingleFieldBuilder<
com.dota2.proto.DotaUsermessages.CDOTASpeechMatchOnClient, com.dota2.proto.DotaUsermessages.CDOTASpeechMatchOnClient.Builder, com.dota2.proto.DotaUsermessages.CDOTASpeechMatchOnClientOrBuilder> speechMatchOnClientBuilder_;
/**
* optional .CDOTASpeechMatchOnClient speech_match_on_client = 9;
*/
public boolean hasSpeechMatchOnClient() {
return ((bitField0_ & 0x00000100) == 0x00000100);
}
/**
* optional .CDOTASpeechMatchOnClient speech_match_on_client = 9;
*/
public com.dota2.proto.DotaUsermessages.CDOTASpeechMatchOnClient getSpeechMatchOnClient() {
if (speechMatchOnClientBuilder_ == null) {
return speechMatchOnClient_;
} else {
return speechMatchOnClientBuilder_.getMessage();
}
}
/**
* optional .CDOTASpeechMatchOnClient speech_match_on_client = 9;
*/
public Builder setSpeechMatchOnClient(com.dota2.proto.DotaUsermessages.CDOTASpeechMatchOnClient value) {
if (speechMatchOnClientBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
speechMatchOnClient_ = value;
onChanged();
} else {
speechMatchOnClientBuilder_.setMessage(value);
}
bitField0_ |= 0x00000100;
return this;
}
/**
* optional .CDOTASpeechMatchOnClient speech_match_on_client = 9;
*/
public Builder setSpeechMatchOnClient(
com.dota2.proto.DotaUsermessages.CDOTASpeechMatchOnClient.Builder builderForValue) {
if (speechMatchOnClientBuilder_ == null) {
speechMatchOnClient_ = builderForValue.build();
onChanged();
} else {
speechMatchOnClientBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000100;
return this;
}
/**
* optional .CDOTASpeechMatchOnClient speech_match_on_client = 9;
*/
public Builder mergeSpeechMatchOnClient(com.dota2.proto.DotaUsermessages.CDOTASpeechMatchOnClient value) {
if (speechMatchOnClientBuilder_ == null) {
if (((bitField0_ & 0x00000100) == 0x00000100) &&
speechMatchOnClient_ != com.dota2.proto.DotaUsermessages.CDOTASpeechMatchOnClient.getDefaultInstance()) {
speechMatchOnClient_ =
com.dota2.proto.DotaUsermessages.CDOTASpeechMatchOnClient.newBuilder(speechMatchOnClient_).mergeFrom(value).buildPartial();
} else {
speechMatchOnClient_ = value;
}
onChanged();
} else {
speechMatchOnClientBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000100;
return this;
}
/**
* optional .CDOTASpeechMatchOnClient speech_match_on_client = 9;
*/
public Builder clearSpeechMatchOnClient() {
if (speechMatchOnClientBuilder_ == null) {
speechMatchOnClient_ = com.dota2.proto.DotaUsermessages.CDOTASpeechMatchOnClient.getDefaultInstance();
onChanged();
} else {
speechMatchOnClientBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000100);
return this;
}
/**
* optional .CDOTASpeechMatchOnClient speech_match_on_client = 9;
*/
public com.dota2.proto.DotaUsermessages.CDOTASpeechMatchOnClient.Builder getSpeechMatchOnClientBuilder() {
bitField0_ |= 0x00000100;
onChanged();
return getSpeechMatchOnClientFieldBuilder().getBuilder();
}
/**
* optional .CDOTASpeechMatchOnClient speech_match_on_client = 9;
*/
public com.dota2.proto.DotaUsermessages.CDOTASpeechMatchOnClientOrBuilder getSpeechMatchOnClientOrBuilder() {
if (speechMatchOnClientBuilder_ != null) {
return speechMatchOnClientBuilder_.getMessageOrBuilder();
} else {
return speechMatchOnClient_;
}
}
/**
* optional .CDOTASpeechMatchOnClient speech_match_on_client = 9;
*/
private com.google.protobuf.SingleFieldBuilder<
com.dota2.proto.DotaUsermessages.CDOTASpeechMatchOnClient, com.dota2.proto.DotaUsermessages.CDOTASpeechMatchOnClient.Builder, com.dota2.proto.DotaUsermessages.CDOTASpeechMatchOnClientOrBuilder>
getSpeechMatchOnClientFieldBuilder() {
if (speechMatchOnClientBuilder_ == null) {
speechMatchOnClientBuilder_ = new com.google.protobuf.SingleFieldBuilder<
com.dota2.proto.DotaUsermessages.CDOTASpeechMatchOnClient, com.dota2.proto.DotaUsermessages.CDOTASpeechMatchOnClient.Builder, com.dota2.proto.DotaUsermessages.CDOTASpeechMatchOnClientOrBuilder>(
speechMatchOnClient_,
getParentForChildren(),
isClean());
speechMatchOnClient_ = null;
}
return speechMatchOnClientBuilder_;
}
// @@protoc_insertion_point(builder_scope:CDOTAUserMsg_UnitEvent)
}
static {
defaultInstance = new CDOTAUserMsg_UnitEvent(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:CDOTAUserMsg_UnitEvent)
}
public interface CDOTAUserMsg_ItemPurchasedOrBuilder
extends com.google.protobuf.MessageOrBuilder {
// optional int32 item_index = 1;
/**
* optional int32 item_index = 1;
*/
boolean hasItemIndex();
/**
* optional int32 item_index = 1;
*/
int getItemIndex();
}
/**
* Protobuf type {@code CDOTAUserMsg_ItemPurchased}
*/
public static final class CDOTAUserMsg_ItemPurchased extends
com.google.protobuf.GeneratedMessage
implements CDOTAUserMsg_ItemPurchasedOrBuilder {
// Use CDOTAUserMsg_ItemPurchased.newBuilder() to construct.
private CDOTAUserMsg_ItemPurchased(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private CDOTAUserMsg_ItemPurchased(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final CDOTAUserMsg_ItemPurchased defaultInstance;
public static CDOTAUserMsg_ItemPurchased getDefaultInstance() {
return defaultInstance;
}
public CDOTAUserMsg_ItemPurchased 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_ItemPurchased(
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;
itemIndex_ = 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 com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_ItemPurchased_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_ItemPurchased_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_ItemPurchased.class, com.dota2.proto.DotaUsermessages.CDOTAUserMsg_ItemPurchased.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public CDOTAUserMsg_ItemPurchased parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new CDOTAUserMsg_ItemPurchased(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
// optional int32 item_index = 1;
public static final int ITEM_INDEX_FIELD_NUMBER = 1;
private int itemIndex_;
/**
* optional int32 item_index = 1;
*/
public boolean hasItemIndex() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional int32 item_index = 1;
*/
public int getItemIndex() {
return itemIndex_;
}
private void initFields() {
itemIndex_ = 0;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeInt32(1, itemIndex_);
}
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, itemIndex_);
}
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 com.dota2.proto.DotaUsermessages.CDOTAUserMsg_ItemPurchased parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_ItemPurchased parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_ItemPurchased parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_ItemPurchased parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_ItemPurchased parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_ItemPurchased parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_ItemPurchased parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_ItemPurchased parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_ItemPurchased parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.dota2.proto.DotaUsermessages.CDOTAUserMsg_ItemPurchased 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(com.dota2.proto.DotaUsermessages.CDOTAUserMsg_ItemPurchased 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_ItemPurchased}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder
implements com.dota2.proto.DotaUsermessages.CDOTAUserMsg_ItemPurchasedOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_ItemPurchased_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_ItemPurchased_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_ItemPurchased.class, com.dota2.proto.DotaUsermessages.CDOTAUserMsg_ItemPurchased.Builder.class);
}
// Construct using com.dota2.proto.DotaUsermessages.CDOTAUserMsg_ItemPurchased.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();
itemIndex_ = 0;
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_ItemPurchased_descriptor;
}
public com.dota2.proto.DotaUsermessages.CDOTAUserMsg_ItemPurchased getDefaultInstanceForType() {
return com.dota2.proto.DotaUsermessages.CDOTAUserMsg_ItemPurchased.getDefaultInstance();
}
public com.dota2.proto.DotaUsermessages.CDOTAUserMsg_ItemPurchased build() {
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_ItemPurchased result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.dota2.proto.DotaUsermessages.CDOTAUserMsg_ItemPurchased buildPartial() {
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_ItemPurchased result = new com.dota2.proto.DotaUsermessages.CDOTAUserMsg_ItemPurchased(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.itemIndex_ = itemIndex_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.dota2.proto.DotaUsermessages.CDOTAUserMsg_ItemPurchased) {
return mergeFrom((com.dota2.proto.DotaUsermessages.CDOTAUserMsg_ItemPurchased)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.dota2.proto.DotaUsermessages.CDOTAUserMsg_ItemPurchased other) {
if (other == com.dota2.proto.DotaUsermessages.CDOTAUserMsg_ItemPurchased.getDefaultInstance()) return this;
if (other.hasItemIndex()) {
setItemIndex(other.getItemIndex());
}
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 {
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_ItemPurchased parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.dota2.proto.DotaUsermessages.CDOTAUserMsg_ItemPurchased) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// optional int32 item_index = 1;
private int itemIndex_ ;
/**
* optional int32 item_index = 1;
*/
public boolean hasItemIndex() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional int32 item_index = 1;
*/
public int getItemIndex() {
return itemIndex_;
}
/**
* optional int32 item_index = 1;
*/
public Builder setItemIndex(int value) {
bitField0_ |= 0x00000001;
itemIndex_ = value;
onChanged();
return this;
}
/**
* optional int32 item_index = 1;
*/
public Builder clearItemIndex() {
bitField0_ = (bitField0_ & ~0x00000001);
itemIndex_ = 0;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:CDOTAUserMsg_ItemPurchased)
}
static {
defaultInstance = new CDOTAUserMsg_ItemPurchased(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:CDOTAUserMsg_ItemPurchased)
}
public interface CDOTAUserMsg_ItemFoundOrBuilder
extends com.google.protobuf.MessageOrBuilder {
// optional int32 player = 1;
/**
* optional int32 player = 1;
*/
boolean hasPlayer();
/**
* optional int32 player = 1;
*/
int getPlayer();
// optional int32 quality = 2;
/**
* optional int32 quality = 2;
*/
boolean hasQuality();
/**
* optional int32 quality = 2;
*/
int getQuality();
// optional int32 rarity = 3;
/**
* optional int32 rarity = 3;
*/
boolean hasRarity();
/**
* optional int32 rarity = 3;
*/
int getRarity();
// optional int32 method = 4;
/**
* optional int32 method = 4;
*/
boolean hasMethod();
/**
* optional int32 method = 4;
*/
int getMethod();
// optional int32 itemdef = 5;
/**
* optional int32 itemdef = 5;
*/
boolean hasItemdef();
/**
* optional int32 itemdef = 5;
*/
int getItemdef();
}
/**
* Protobuf type {@code CDOTAUserMsg_ItemFound}
*/
public static final class CDOTAUserMsg_ItemFound extends
com.google.protobuf.GeneratedMessage
implements CDOTAUserMsg_ItemFoundOrBuilder {
// Use CDOTAUserMsg_ItemFound.newBuilder() to construct.
private CDOTAUserMsg_ItemFound(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private CDOTAUserMsg_ItemFound(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final CDOTAUserMsg_ItemFound defaultInstance;
public static CDOTAUserMsg_ItemFound getDefaultInstance() {
return defaultInstance;
}
public CDOTAUserMsg_ItemFound 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_ItemFound(
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;
player_ = input.readInt32();
break;
}
case 16: {
bitField0_ |= 0x00000002;
quality_ = input.readInt32();
break;
}
case 24: {
bitField0_ |= 0x00000004;
rarity_ = input.readInt32();
break;
}
case 32: {
bitField0_ |= 0x00000008;
method_ = input.readInt32();
break;
}
case 40: {
bitField0_ |= 0x00000010;
itemdef_ = 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 com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_ItemFound_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.dota2.proto.DotaUsermessages.internal_static_CDOTAUserMsg_ItemFound_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.dota2.proto.DotaUsermessages.CDOTAUserMsg_ItemFound.class, com.dota2.proto.DotaUsermessages.CDOTAUserMsg_ItemFound.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser