skadistats.clarity.wire.dota.s1.UserMessagePackets Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of clarity-protobuf Show documentation
Show all versions of clarity-protobuf Show documentation
Clarity is an open source replay parser for Dota 2 and CSGO 1 and 2 written in Java. This JAR contains the protobuf classes for clarity.
The newest version!
package skadistats.clarity.wire.dota.s1;
import com.google.protobuf.GeneratedMessage;
import skadistats.clarity.wire.ClassToKindMessageRegistry;
import skadistats.clarity.wire.KindToClassMessageRegistry;
import skadistats.clarity.wire.dota.common.proto.DOTAUserMessages;
import skadistats.clarity.wire.dota.s1.proto.DOTAS1MessageId;
import skadistats.clarity.wire.shared.demo.proto.DemoUserMessages;
import skadistats.clarity.wire.shared.s1.proto.S1UserMessages;
public class UserMessagePackets {
private static final KindToClassMessageRegistry K2C;
static {
K2C = new KindToClassMessageRegistry(50);
/* 15 */ K2C.put(DOTAS1MessageId.EBaseUserMessages.UM_ResetHUD_VALUE, S1UserMessages.CUserMsg_ResetHUD.class);
/* 18 */ K2C.put(DOTAS1MessageId.EBaseUserMessages.UM_SayText2_VALUE, S1UserMessages.CUserMsg_SayText2.class);
/* 24 */ K2C.put(DOTAS1MessageId.EBaseUserMessages.UM_TextMsg_VALUE, S1UserMessages.CUserMsg_TextMsg.class);
/* 27 */ K2C.put(DOTAS1MessageId.EBaseUserMessages.UM_VGUIMenu_VALUE, S1UserMessages.CUserMsg_VGUIMenu.class);
/* 28 */ K2C.put(DOTAS1MessageId.EBaseUserMessages.UM_VoiceMask_VALUE, S1UserMessages.CUserMsg_VoiceMask.class);
/* 30 */ K2C.put(DOTAS1MessageId.EBaseUserMessages.UM_SendAudio_VALUE, S1UserMessages.CUserMsg_SendAudio.class);
// /* 1 */ K2C.put(DOTAS1MessageId.EBaseUserMessages.UM_AchievementEvent_VALUE, S1UserMessages.CUserMsg_AchievementEvent.class);
// /* 2 */ K2C.put(DOTAS1MessageId.EBaseUserMessages.UM_CloseCaption_VALUE, S1UserMessages.CUserMsg_CloseCaption.class);
// /* 3 */ K2C.put(DOTAS1MessageId.EBaseUserMessages.UM_CloseCaptionDirect_VALUE, S1UserMessages.CUserMsg_CloseCaption.class);
// /* 4 */ K2C.put(DOTAS1MessageId.EBaseUserMessages.UM_CurrentTimescale_VALUE, S1UserMessages.CUserMsg_CurrentTimescale.class);
// /* 5 */ K2C.put(DOTAS1MessageId.EBaseUserMessages.UM_DesiredTimescale_VALUE, S1UserMessages.CUserMsg_DesiredTimescale.class);
// /* 6 */ K2C.put(DOTAS1MessageId.EBaseUserMessages.UM_Fade_VALUE, S1UserMessages.CUserMsg_Fade.class);
// /* 7 */ K2C.put(DOTAS1MessageId.EBaseUserMessages.UM_GameTitle_VALUE, S1UserMessages.CUserMsg_GameTitle.class);
// /* 8 */ K2C.put(DOTAS1MessageId.EBaseUserMessages.UM_Geiger_VALUE, S1UserMessages.CUserMsg_Geiger.class);
// /* 9 */ K2C.put(DOTAS1MessageId.EBaseUserMessages.UM_HintText_VALUE, S1UserMessages.CUserMsg_HintText.class);
// /* 10 */ K2C.put(DOTAS1MessageId.EBaseUserMessages.UM_HudMsg_VALUE, S1UserMessages.CUserMsg_HudMsg.class);
// /* 11 */ K2C.put(DOTAS1MessageId.EBaseUserMessages.UM_HudText_VALUE, S1UserMessages.CUserMsg_HudText.class);
// /* 12 */ K2C.put(DOTAS1MessageId.EBaseUserMessages.UM_KeyHintText_VALUE, S1UserMessages.CUserMsg_KeyHintText.class);
// /* 13 */ K2C.put(DOTAS1MessageId.EBaseUserMessages.UM_MessageText_VALUE, S1UserMessages.CUserMsg_MessageText.class);
// /* 14 */ K2C.put(DOTAS1MessageId.EBaseUserMessages.UM_RequestState_VALUE, S1UserMessages.CUserMsg_RequestState.class);
// /* 16 */ K2C.put(DOTAS1MessageId.EBaseUserMessages.UM_Rumble_VALUE, S1UserMessages.CUserMsg_Rumble.class);
// /* 17 */ K2C.put(DOTAS1MessageId.EBaseUserMessages.UM_SayText_VALUE, S1UserMessages.CUserMsg_SayText.class);
// /* 19 */ K2C.put(DOTAS1MessageId.EBaseUserMessages.UM_SayTextChannel_VALUE, S1UserMessages.CUserMsg_SayTextChannel.class);
// /* 20 */ K2C.put(DOTAS1MessageId.EBaseUserMessages.UM_Shake_VALUE, S1UserMessages.CUserMsg_Shake.class);
// /* 21 */ K2C.put(DOTAS1MessageId.EBaseUserMessages.UM_ShakeDir_VALUE, S1UserMessages.CUserMsg_ShakeDir.class);
// /* 22 */ K2C.put(DOTAS1MessageId.EBaseUserMessages.UM_StatsCrawlMsg_VALUE, S1UserMessages.CUserMsg_StatsCrawlMsg.class);
// /* 23 */ K2C.put(DOTAS1MessageId.EBaseUserMessages.UM_StatsSkipState_VALUE, S1UserMessages.CUserMsg_StatsSkipState.class);
// /* 25 */ K2C.put(DOTAS1MessageId.EBaseUserMessages.UM_Tilt_VALUE, S1UserMessages.CUserMsg_Tilt.class);
// /* 26 */ K2C.put(DOTAS1MessageId.EBaseUserMessages.UM_Train_VALUE, S1UserMessages.CUserMsg_Train.class);
// /* 29 */ K2C.put(DOTAS1MessageId.EBaseUserMessages.UM_VoiceSubtitle_VALUE, S1UserMessages.CUserMsg_VoiceSubtitle.class);
// /* 31 */ K2C.put(DOTAS1MessageId.EBaseUserMessages.UM_CameraTransition_VALUE, S1UserMessages.CUserMsg_CameraTransition.class);
/* 66 */ K2C.put(DOTAS1MessageId.EDotaUserMessages.DOTA_UM_ChatEvent_VALUE, DOTAUserMessages.CDOTAUserMsg_ChatEvent.class);
/* 71 */ K2C.put(DOTAS1MessageId.EDotaUserMessages.DOTA_UM_CreateLinearProjectile_VALUE, DOTAUserMessages.CDOTAUserMsg_CreateLinearProjectile.class);
/* 72 */ K2C.put(DOTAS1MessageId.EDotaUserMessages.DOTA_UM_DestroyLinearProjectile_VALUE, DOTAUserMessages.CDOTAUserMsg_DestroyLinearProjectile.class);
/* 73 */ K2C.put(DOTAS1MessageId.EDotaUserMessages.DOTA_UM_DodgeTrackingProjectiles_VALUE, DOTAUserMessages.CDOTAUserMsg_DodgeTrackingProjectiles.class);
/* 74 */ K2C.put(DOTAS1MessageId.EDotaUserMessages.DOTA_UM_GlobalLightColor_VALUE, DOTAUserMessages.CDOTAUserMsg_GlobalLightColor.class);
/* 75 */ K2C.put(DOTAS1MessageId.EDotaUserMessages.DOTA_UM_GlobalLightDirection_VALUE, DOTAUserMessages.CDOTAUserMsg_GlobalLightDirection.class);
/* 77 */ K2C.put(DOTAS1MessageId.EDotaUserMessages.DOTA_UM_LocationPing_VALUE, DOTAUserMessages.CDOTAUserMsg_LocationPing.class);
/* 78 */ K2C.put(DOTAS1MessageId.EDotaUserMessages.DOTA_UM_MapLine_VALUE, DOTAUserMessages.CDOTAUserMsg_MapLine.class);
/* 81 */ K2C.put(DOTAS1MessageId.EDotaUserMessages.DOTA_UM_MinimapEvent_VALUE, DOTAUserMessages.CDOTAUserMsg_MinimapEvent.class);
/* 82 */ K2C.put(DOTAS1MessageId.EDotaUserMessages.DOTA_UM_NevermoreRequiem_VALUE, DOTAUserMessages.CDOTAUserMsg_NevermoreRequiem.class);
/* 83 */ K2C.put(DOTAS1MessageId.EDotaUserMessages.DOTA_UM_OverheadEvent_VALUE, DOTAUserMessages.CDOTAUserMsg_OverheadEvent.class);
/* 85 */ K2C.put(DOTAS1MessageId.EDotaUserMessages.DOTA_UM_SharedCooldown_VALUE, DOTAUserMessages.CDOTAUserMsg_SharedCooldown.class);
/* 86 */ K2C.put(DOTAS1MessageId.EDotaUserMessages.DOTA_UM_SpectatorPlayerClick_VALUE, DOTAUserMessages.CDOTAUserMsg_SpectatorPlayerClick.class);
/* 88 */ K2C.put(DOTAS1MessageId.EDotaUserMessages.DOTA_UM_UnitEvent_VALUE, DOTAUserMessages.CDOTAUserMsg_UnitEvent.class);
/* 89 */ K2C.put(DOTAS1MessageId.EDotaUserMessages.DOTA_UM_ParticleManager_VALUE, DemoUserMessages.CUserMsg_ParticleManager.class);
/* 90 */ K2C.put(DOTAS1MessageId.EDotaUserMessages.DOTA_UM_BotChat_VALUE, DOTAUserMessages.CDOTAUserMsg_BotChat.class);
/* 91 */ K2C.put(DOTAS1MessageId.EDotaUserMessages.DOTA_UM_HudError_VALUE, DOTAUserMessages.CDOTAUserMsg_HudError.class);
/* 97 */ K2C.put(DOTAS1MessageId.EDotaUserMessages.DOTA_UM_WorldLine_VALUE, DOTAUserMessages.CDOTAUserMsg_WorldLine.class);
/* 100 */ K2C.put(DOTAS1MessageId.EDotaUserMessages.DOTA_UM_HalloweenDrops_VALUE, DOTAUserMessages.CDOTAUserMsg_HalloweenDrops.class);
/* 101 */ K2C.put(DOTAS1MessageId.EDotaUserMessages.DOTA_UM_ChatWheel_VALUE, DOTAUserMessages.CDOTAUserMsg_ChatWheel.class);
/* 106 */ K2C.put(DOTAS1MessageId.EDotaUserMessages.DOTA_UM_GamerulesStateChanged_VALUE, DOTAUserMessages.CDOTAUserMsg_GamerulesStateChanged.class);
/* 110 */ K2C.put(DOTAS1MessageId.EDotaUserMessages.DOTA_UM_SendStatPopup_VALUE, DOTAUserMessages.CDOTAUserMsg_SendStatPopup.class);
/* 112 */ K2C.put(DOTAS1MessageId.EDotaUserMessages.DOTA_UM_SendRoshanPopup_VALUE, DOTAUserMessages.CDOTAUserMsg_SendRoshanPopup.class);
/* 127 */ K2C.put(DOTAS1MessageId.EDotaUserMessages.DOTA_UM_AbilitySteal_VALUE, DOTAUserMessages.CDOTAUserMsg_AbilitySteal.class);
/* 128 */ K2C.put(DOTAS1MessageId.EDotaUserMessages.DOTA_UM_CourierKilledAlert_VALUE, DOTAUserMessages.CDOTAUserMsg_CourierKilledAlert.class);
/* 129 */ K2C.put(DOTAS1MessageId.EDotaUserMessages.DOTA_UM_EnemyItemAlert_VALUE, DOTAUserMessages.CDOTAUserMsg_EnemyItemAlert.class);
/* 135 */ K2C.put(DOTAS1MessageId.EDotaUserMessages.DOTA_UM_PredictionResult_VALUE, DOTAUserMessages.CDOTAUserMsg_PredictionResult.class);
/* 140 */ K2C.put(DOTAS1MessageId.EDotaUserMessages.DOTA_UM_SpectatorPlayerUnitOrders_VALUE, DOTAUserMessages.CDOTAUserMsg_SpectatorPlayerUnitOrders.class);
/* 142 */ K2C.put(DOTAS1MessageId.EDotaUserMessages.DOTA_UM_ProjectionAbility_VALUE, DOTAUserMessages.CDOTAUserMsg_ProjectionAbility.class);
/* 143 */ K2C.put(DOTAS1MessageId.EDotaUserMessages.DOTA_UM_ProjectionEvent_VALUE, DOTAUserMessages.CDOTAUserMsg_ProjectionEvent.class);
// /* 64 */ K2C.put(DOTAS1MessageId.EDotaUserMessages.DOTA_UM_AddUnitToSelection_VALUE, DOTAUserMessages.CDOTAUserMsg_AddUnitToSelection.class);
// /* 65 */ K2C.put(DOTAS1MessageId.EDotaUserMessages.DOTA_UM_AIDebugLine_VALUE, DOTAUserMessages.CDOTAUserMsg_AIDebugLine.class);
// /* 67 */ K2C.put(DOTAS1MessageId.EDotaUserMessages.DOTA_UM_CombatHeroPositions_VALUE, DOTAUserMessages.CDOTAUserMsg_CombatHeroPositions.class);
// /* 68 */ K2C.put(DOTAS1MessageId.EDotaUserMessages.DOTA_UM_CombatLogData_VALUE, DOTAUserMessages.CDOTAUserMsg_CombatLogData.class);
// /* 70 */ K2C.put(DOTAS1MessageId.EDotaUserMessages.DOTA_UM_CombatLogShowDeath_VALUE, DOTAUserMessages.CDOTAUserMsg_CombatLogShowDeath.class);
// /* 74 */ K2C.put(DOTAS1MessageId.EDotaUserMessages.DOTA_UM_GlobalLightColor_VALUE, DOTAUserMessages.CDOTAUserMsg_GlobalLightColor.class);
// /* 75 */ K2C.put(DOTAS1MessageId.EDotaUserMessages.DOTA_UM_GlobalLightDirection_VALUE, DOTAUserMessages.CDOTAUserMsg_GlobalLightDirection.class);
// /* 76 */ K2C.put(DOTAS1MessageId.EDotaUserMessages.DOTA_UM_InvalidCommand_VALUE, DOTAUserMessages.CDOTAUserMsg_InvalidCommand.class);
// /* 79 */ K2C.put(DOTAS1MessageId.EDotaUserMessages.DOTA_UM_MiniKillCamInfo_VALUE, DOTAUserMessages.CDOTAUserMsg_MiniKillCamInfo.class);
// /* 80 */ K2C.put(DOTAS1MessageId.EDotaUserMessages.DOTA_UM_MinimapDebugPoint_VALUE, DOTAUserMessages.CDOTAUserMsg_MinimapDebugPoint.class);
// /* 84 */ K2C.put(DOTAS1MessageId.EDotaUserMessages.DOTA_UM_SetNextAutobuyItem_VALUE, DOTAUserMessages.CDOTAUserMsg_SetNextAutobuyItem.class);
// /* 85 */ K2C.put(DOTAS1MessageId.EDotaUserMessages.DOTA_UM_SharedCooldown_VALUE, DOTAUserMessages.CDOTAUserMsg_SharedCooldown.class);
// /* 86 */ K2C.put(DOTAS1MessageId.EDotaUserMessages.DOTA_UM_SpectatorPlayerClick_VALUE, DOTAUserMessages.CDOTAUserMsg_SpectatorPlayerClick.class);
// /* 87 */ K2C.put(DOTAS1MessageId.EDotaUserMessages.DOTA_UM_TutorialTipInfo_VALUE, DOTAUserMessages.CDOTAUserMsg_TutorialTipInfo.class);
// /* 92 */ K2C.put(DOTAS1MessageId.EDotaUserMessages.DOTA_UM_ItemPurchased_VALUE, DOTAUserMessages.CDOTAUserMsg_ItemPurchased.class);
// /* 93 */ K2C.put(DOTAS1MessageId.EDotaUserMessages.DOTA_UM_Ping_VALUE, DOTAUserMessages.CDOTAUserMsg_Ping.class);
// /* 94 */ K2C.put(DOTAS1MessageId.EDotaUserMessages.DOTA_UM_ItemFound_VALUE, DOTAUserMessages.CDOTAUserMsg_ItemFound.class);
// /* 95 */ K2C.put(DOTAS1MessageId.EDotaUserMessages.DOTA_UM_CharacterSpeakConcept_VALUE, DOTAUserMessages.CDOTAUserMsg_CharacterSpeakConcept.class);
// /* 96 */ K2C.put(DOTAS1MessageId.EDotaUserMessages.DOTA_UM_SwapVerify_VALUE, DOTAUserMessages.CDOTAUserMsg_SwapVerify.class);
// /* 98 */ K2C.put(DOTAS1MessageId.EDotaUserMessages.DOTA_UM_TournamentDrop_VALUE, DOTAUserMessages.CDOTAUserMsg_TournamentDrop.class);
// /* 99 */ K2C.put(DOTAS1MessageId.EDotaUserMessages.DOTA_UM_ItemAlert_VALUE, DOTAUserMessages.CDOTAUserMsg_ItemAlert.class);
// /* 102 */ K2C.put(DOTAS1MessageId.EDotaUserMessages.DOTA_UM_ReceivedXmasGift_VALUE, DOTAUserMessages.CDOTAUserMsg_ReceivedXmasGift.class);
// /* 103 */ K2C.put(DOTAS1MessageId.EDotaUserMessages.DOTA_UM_UpdateSharedContent_VALUE, DOTAUserMessages.CDOTAUserMsg_UpdateSharedContent.class);
// /* 104 */ K2C.put(DOTAS1MessageId.EDotaUserMessages.DOTA_UM_TutorialRequestExp_VALUE, DOTAUserMessages.CDOTAUserMsg_TutorialRequestExp.class);
// /* 105 */ K2C.put(DOTAS1MessageId.EDotaUserMessages.DOTA_UM_TutorialPingMinimap_VALUE, DOTAUserMessages.CDOTAUserMsg_TutorialPingMinimap.class);
// /* 107 */ K2C.put(DOTAS1MessageId.EDotaUserMessages.DOTA_UM_ShowSurvey_VALUE, DOTAUserMessages.CDOTAUserMsg_ShowSurvey.class);
// /* 108 */ K2C.put(DOTAS1MessageId.EDotaUserMessages.DOTA_UM_TutorialFade_VALUE, DOTAUserMessages.CDOTAUserMsg_TutorialFade.class);
// /* 109 */ K2C.put(DOTAS1MessageId.EDotaUserMessages.DOTA_UM_AddQuestLogEntry_VALUE, DOTAUserMessages.CDOTAUserMsg_AddQuestLogEntry.class);
// /* 111 */ K2C.put(DOTAS1MessageId.EDotaUserMessages.DOTA_UM_TutorialFinish_VALUE, DOTAUserMessages.CDOTAUserMsg_TutorialFinish.class);
// /* 113 */ K2C.put(DOTAS1MessageId.EDotaUserMessages.DOTA_UM_SendGenericToolTip_VALUE, DOTAUserMessages.CDOTAUserMsg_SendGenericToolTip.class);
// /* 114 */ K2C.put(DOTAS1MessageId.EDotaUserMessages.DOTA_UM_SendFinalGold_VALUE, DOTAUserMessages.CDOTAUserMsg_SendFinalGold.class);
// /* 115 */ K2C.put(DOTAS1MessageId.EDotaUserMessages.DOTA_UM_CustomMsg_VALUE, DOTAUserMessages.CDOTAUserMsg_CustomMsg.class);
// /* 116 */ K2C.put(DOTAS1MessageId.EDotaUserMessages.DOTA_UM_CoachHUDPing_VALUE, DOTAUserMessages.CDOTAUserMsg_CoachHUDPing.class);
// /* 117 */ K2C.put(DOTAS1MessageId.EDotaUserMessages.DOTA_UM_ClientLoadGridNav_VALUE, DOTAUserMessages.CDOTAUserMsg_ClientLoadGridNav.class);
// /* 118 */ K2C.put(DOTAS1MessageId.EDotaUserMessages.DOTA_UM_AbilityPing_VALUE, DOTAUserMessages.CDOTAUserMsg_AbilityPing.class);
// /* 119 */ K2C.put(DOTAS1MessageId.EDotaUserMessages.DOTA_UM_ShowGenericPopup_VALUE, DOTAUserMessages.CDOTAUserMsg_ShowGenericPopup.class);
// /* 120 */ K2C.put(DOTAS1MessageId.EDotaUserMessages.DOTA_UM_VoteStart_VALUE, DOTAUserMessages.CDOTAUserMsg_VoteStart.class);
// /* 121 */ K2C.put(DOTAS1MessageId.EDotaUserMessages.DOTA_UM_VoteUpdate_VALUE, DOTAUserMessages.CDOTAUserMsg_VoteUpdate.class);
// /* 122 */ K2C.put(DOTAS1MessageId.EDotaUserMessages.DOTA_UM_VoteEnd_VALUE, DOTAUserMessages.CDOTAUserMsg_VoteEnd.class);
// /* 123 */ K2C.put(DOTAS1MessageId.EDotaUserMessages.DOTA_UM_BoosterState_VALUE, DOTAUserMessages.CDOTAUserMsg_BoosterState.class);
// /* 124 */ K2C.put(DOTAS1MessageId.EDotaUserMessages.DOTA_UM_WillPurchaseAlert_VALUE, DOTAUserMessages.CDOTAUserMsg_WillPurchaseAlert.class);
// /* 125 */ K2C.put(DOTAS1MessageId.EDotaUserMessages.DOTA_UM_TutorialMinimapPosition_VALUE, DOTAUserMessages.CDOTAUserMsg_TutorialMinimapPosition.class);
// /* 126 */ K2C.put(DOTAS1MessageId.EDotaUserMessages.DOTA_UM_PlayerMMR_VALUE, DOTAUserMessages.CDOTAUserMsg_PlayerMMR.class);
// /* 129 */ K2C.put(DOTAS1MessageId.EDotaUserMessages.DOTA_UM_EnemyItemAlert_VALUE, DOTAUserMessages.CDOTAUserMsg_EnemyItemAlert.class);
// /* 130 */ K2C.put(DOTAS1MessageId.EDotaUserMessages.DOTA_UM_StatsMatchDetails_VALUE, DOTAUserMessages.CDOTAUserMsg_StatsMatchDetails.class);
// /* 131 */ K2C.put(DOTAS1MessageId.EDotaUserMessages.DOTA_UM_MiniTaunt_VALUE, DOTAUserMessages.CDOTAUserMsg_MiniTaunt.class);
// /* 132 */ K2C.put(DOTAS1MessageId.EDotaUserMessages.DOTA_UM_BuyBackStateAlert_VALUE, DOTAUserMessages.CDOTAUserMsg_BuyBackStateAlert.class);
// /* 133 */ K2C.put(DOTAS1MessageId.EDotaUserMessages.DOTA_UM_QuickBuyAlert_VALUE, DOTAUserMessages.CDOTAUserMsg_QuickBuyAlert.class);
// /* 134 */ K2C.put(DOTAS1MessageId.EDotaUserMessages.DOTA_UM_StatsHeroDetails_VALUE, DOTAUserMessages.CDOTAUserMsg_StatsHeroDetails.class);
// /* 136 */ K2C.put(DOTAS1MessageId.EDotaUserMessages.DOTA_UM_ModifierAlert_VALUE, DOTAUserMessages.CDOTAUserMsg_ModifierAlert.class);
// /* 137 */ K2C.put(DOTAS1MessageId.EDotaUserMessages.DOTA_UM_HPManaAlert_VALUE, DOTAUserMessages.CDOTAUserMsg_HPManaAlert.class);
// /* 138 */ K2C.put(DOTAS1MessageId.EDotaUserMessages.DOTA_UM_GlyphAlert_VALUE, DOTAUserMessages.CDOTAUserMsg_GlyphAlert.class);
// /* 139 */ K2C.put(DOTAS1MessageId.EDotaUserMessages.DOTA_UM_BeastChat_VALUE, DOTAUserMessages.CDOTAUserMsg_BeastChat.class);
// /* 141 */ K2C.put(DOTAS1MessageId.EDotaUserMessages.DOTA_UM_CompendiumState_VALUE, DOTAUserMessages.CDOTAUserMsg_CompendiumState.class);
}
public static Class extends GeneratedMessage> classForKind(int kind) {
return K2C.classForKind(kind);
}
private static ClassToKindMessageRegistry C2K;
public static boolean isKnownClass(Class extends GeneratedMessage> clazz) {
if (C2K == null) {
C2K = K2C.buildReverse();
}
return C2K.containsClass(clazz);
}
}