in.dragonbra.javasteam.protobufs.tf.TfGcmessages Maven / Gradle / Ivy
The newest version!
// Generated by the protocol buffer compiler. DO NOT EDIT!
// NO CHECKED-IN PROTOBUF GENCODE
// source: in/dragonbra/javasteam/protobufs/tf/tf_gcmessages.proto
// Protobuf Java Version: 4.28.0
package in.dragonbra.javasteam.protobufs.tf;
public final class TfGcmessages {
private TfGcmessages() {}
static {
com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
/* minor= */ 28,
/* patch= */ 0,
/* suffix= */ "",
TfGcmessages.class.getName());
}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistryLite registry) {
}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistry registry) {
registerAllExtensions(
(com.google.protobuf.ExtensionRegistryLite) registry);
}
/**
* Protobuf enum {@code ETFGCMsg}
*/
public enum ETFGCMsg
implements com.google.protobuf.ProtocolMessageEnum {
/**
* k_EMsgGCReportWarKill = 5001;
*/
k_EMsgGCReportWarKill(5001),
/**
* k_EMsgGCKickPlayer_DEPRECATED = 5020;
*/
k_EMsgGCKickPlayer_DEPRECATED(5020),
/**
* k_EMsgGCStartedTraining_DEPRECATED = 5021;
*/
k_EMsgGCStartedTraining_DEPRECATED(5021),
/**
* k_EMsgGCFreeTrial_ChooseMostHelpfulFriend = 5022;
*/
k_EMsgGCFreeTrial_ChooseMostHelpfulFriend(5022),
/**
* k_EMsgGCRequestTF2Friends = 5023;
*/
k_EMsgGCRequestTF2Friends(5023),
/**
* k_EMsgGCRequestTF2FriendsResponse = 5024;
*/
k_EMsgGCRequestTF2FriendsResponse(5024),
/**
* k_EMsgGCReplay_SubmitContestEntry = 5026;
*/
k_EMsgGCReplay_SubmitContestEntry(5026),
/**
* k_EMsgGCReplay_SubmitContestEntryResponse = 5027;
*/
k_EMsgGCReplay_SubmitContestEntryResponse(5027),
/**
* k_EMsgGCSaxxy_Awarded = 5029;
*/
k_EMsgGCSaxxy_Awarded(5029),
/**
* k_EMsgGCFreeTrial_ThankedBySomeone = 5028;
*/
k_EMsgGCFreeTrial_ThankedBySomeone(5028),
/**
* k_EMsgGCFreeTrial_ThankedSomeone = 5030;
*/
k_EMsgGCFreeTrial_ThankedSomeone(5030),
/**
* k_EMsgGCFreeTrial_ConvertedToPremium = 5031;
*/
k_EMsgGCFreeTrial_ConvertedToPremium(5031),
/**
* k_EMsgGCMeetThePyroSilliness_BananaCraft_DEPRECATED = 5032;
*/
k_EMsgGCMeetThePyroSilliness_BananaCraft_DEPRECATED(5032),
/**
* k_EMsgGCMVMARG_HighFiveSuccessResponse_DEPRECATED = 5033;
*/
k_EMsgGCMVMARG_HighFiveSuccessResponse_DEPRECATED(5033),
/**
* k_EMsgGCMVMARG_HighFiveOnClient_DEPRECATED = 5034;
*/
k_EMsgGCMVMARG_HighFiveOnClient_DEPRECATED(5034),
/**
* k_EMsgGCCoaching_AddToCoaches = 5200;
*/
k_EMsgGCCoaching_AddToCoaches(5200),
/**
* k_EMsgGCCoaching_AddToCoachesResponse = 5201;
*/
k_EMsgGCCoaching_AddToCoachesResponse(5201),
/**
* k_EMsgGCCoaching_RemoveFromCoaches = 5202;
*/
k_EMsgGCCoaching_RemoveFromCoaches(5202),
/**
* k_EMsgGCCoaching_RemoveFromCoachesResponse = 5203;
*/
k_EMsgGCCoaching_RemoveFromCoachesResponse(5203),
/**
* k_EMsgGCCoaching_FindCoach = 5204;
*/
k_EMsgGCCoaching_FindCoach(5204),
/**
* k_EMsgGCCoaching_FindCoachResponse = 5205;
*/
k_EMsgGCCoaching_FindCoachResponse(5205),
/**
* k_EMsgGCCoaching_AskCoach = 5206;
*/
k_EMsgGCCoaching_AskCoach(5206),
/**
* k_EMsgGCCoaching_AskCoachResponse = 5207;
*/
k_EMsgGCCoaching_AskCoachResponse(5207),
/**
* k_EMsgGCCoaching_CoachJoinGame = 5208;
*/
k_EMsgGCCoaching_CoachJoinGame(5208),
/**
* k_EMsgGCCoaching_CoachJoining = 5209;
*/
k_EMsgGCCoaching_CoachJoining(5209),
/**
* k_EMsgGCCoaching_CoachJoined = 5210;
*/
k_EMsgGCCoaching_CoachJoined(5210),
/**
* k_EMsgGCCoaching_LikeCurrentCoach = 5211;
*/
k_EMsgGCCoaching_LikeCurrentCoach(5211),
/**
* k_EMsgGCCoaching_RemoveCurrentCoach = 5212;
*/
k_EMsgGCCoaching_RemoveCurrentCoach(5212),
/**
* k_EMsgGCCoaching_AlreadyRatedCoach = 5213;
*/
k_EMsgGCCoaching_AlreadyRatedCoach(5213),
/**
* k_EMsgGC_Duel_Request = 5500;
*/
k_EMsgGC_Duel_Request(5500),
/**
* k_EMsgGC_Duel_Response = 5501;
*/
k_EMsgGC_Duel_Response(5501),
/**
* k_EMsgGC_Duel_Results = 5502;
*/
k_EMsgGC_Duel_Results(5502),
/**
* k_EMsgGC_Duel_Status = 5503;
*/
k_EMsgGC_Duel_Status(5503),
/**
* k_EMsgGC_Halloween_ReservedItem_DEPRECATED = 5600;
*/
k_EMsgGC_Halloween_ReservedItem_DEPRECATED(5600),
/**
* k_EMsgGC_Halloween_GrantItem_DEPRECATED = 5601;
*/
k_EMsgGC_Halloween_GrantItem_DEPRECATED(5601),
/**
* k_EMsgGC_Halloween_GrantItemResponse_DEPRECATED = 5604;
*/
k_EMsgGC_Halloween_GrantItemResponse_DEPRECATED(5604),
/**
* k_EMsgGC_Halloween_Cheat_QueryResponse_DEPRECATED = 5605;
*/
k_EMsgGC_Halloween_Cheat_QueryResponse_DEPRECATED(5605),
/**
* k_EMsgGC_Halloween_ItemClaimed_DEPRECATED = 5606;
*/
k_EMsgGC_Halloween_ItemClaimed_DEPRECATED(5606),
/**
* k_EMsgGC_Halloween_ReservedItem = 5607;
*/
k_EMsgGC_Halloween_ReservedItem(5607),
/**
* k_EMsgGC_Halloween_GrantItem = 5608;
*/
k_EMsgGC_Halloween_GrantItem(5608),
/**
* k_EMsgGC_Halloween_GrantItemResponse = 5609;
*/
k_EMsgGC_Halloween_GrantItemResponse(5609),
/**
* k_EMsgGC_Halloween_Cheat_QueryResponse_DEPRECATED_2 = 5610;
*/
k_EMsgGC_Halloween_Cheat_QueryResponse_DEPRECATED_2(5610),
/**
* k_EMsgGC_Halloween_ItemClaimed_DEPRECATED_2 = 5611;
*/
k_EMsgGC_Halloween_ItemClaimed_DEPRECATED_2(5611),
/**
* k_EMsgGC_Halloween_ServerBossEvent = 5612;
*/
k_EMsgGC_Halloween_ServerBossEvent(5612),
/**
* k_EMsgGC_Halloween_Merasmus2012 = 5613;
*/
k_EMsgGC_Halloween_Merasmus2012(5613),
/**
* k_EMsgGC_Halloween_UpdateMerasmusLootLevel = 5614;
*/
k_EMsgGC_Halloween_UpdateMerasmusLootLevel(5614),
/**
* k_EMsgGC_GameServer_LevelInfo = 5700;
*/
k_EMsgGC_GameServer_LevelInfo(5700),
/**
* k_EMsgGC_GameServer_AuthChallenge = 5701;
*/
k_EMsgGC_GameServer_AuthChallenge(5701),
/**
* k_EMsgGC_GameServer_AuthChallengeResponse = 5702;
*/
k_EMsgGC_GameServer_AuthChallengeResponse(5702),
/**
* k_EMsgGC_GameServer_CreateIdentity = 5703;
*/
k_EMsgGC_GameServer_CreateIdentity(5703),
/**
* k_EMsgGC_GameServer_CreateIdentityResponse = 5704;
*/
k_EMsgGC_GameServer_CreateIdentityResponse(5704),
/**
* k_EMsgGC_GameServer_List = 5705;
*/
k_EMsgGC_GameServer_List(5705),
/**
* k_EMsgGC_GameServer_ListResponse = 5706;
*/
k_EMsgGC_GameServer_ListResponse(5706),
/**
* k_EMsgGC_GameServer_AuthResult = 5707;
*/
k_EMsgGC_GameServer_AuthResult(5707),
/**
* k_EMsgGC_GameServer_ResetIdentity = 5708;
*/
k_EMsgGC_GameServer_ResetIdentity(5708),
/**
* k_EMsgGC_GameServer_ResetIdentityResponse = 5709;
*/
k_EMsgGC_GameServer_ResetIdentityResponse(5709),
/**
* k_EMsgGC_Client_UseServerModificationItem = 5710;
*/
k_EMsgGC_Client_UseServerModificationItem(5710),
/**
* k_EMsgGC_Client_UseServerModificationItem_Response = 5711;
*/
k_EMsgGC_Client_UseServerModificationItem_Response(5711),
/**
* k_EMsgGC_GameServer_UseServerModificationItem = 5712;
*/
k_EMsgGC_GameServer_UseServerModificationItem(5712),
/**
* k_EMsgGC_GameServer_UseServerModificationItem_Response = 5713;
*/
k_EMsgGC_GameServer_UseServerModificationItem_Response(5713),
/**
* k_EMsgGC_GameServer_ServerModificationItemExpired = 5714;
*/
k_EMsgGC_GameServer_ServerModificationItemExpired(5714),
/**
* k_EMsgGC_GameServer_ModificationItemState = 5715;
*/
k_EMsgGC_GameServer_ModificationItemState(5715),
/**
* k_EMsgGC_GameServer_AckPolicy = 5716;
*/
k_EMsgGC_GameServer_AckPolicy(5716),
/**
* k_EMsgGC_GameServer_AckPolicyResponse = 5717;
*/
k_EMsgGC_GameServer_AckPolicyResponse(5717),
/**
* k_EMsgGC_QP_ScoreServers = 5800;
*/
k_EMsgGC_QP_ScoreServers(5800),
/**
* k_EMsgGC_QP_ScoreServersResponse = 5801;
*/
k_EMsgGC_QP_ScoreServersResponse(5801),
/**
* k_EMsgGC_QP_PlayerJoining = 5802;
*/
k_EMsgGC_QP_PlayerJoining(5802),
/**
* k_EMsgGC_PickupItemEligibility_Query_DEPRECATED = 6000;
*/
k_EMsgGC_PickupItemEligibility_Query_DEPRECATED(6000),
/**
* k_EMsgGC_PickupItemEligibility_Query_DEPRECATED_2 = 6001;
*/
k_EMsgGC_PickupItemEligibility_Query_DEPRECATED_2(6001),
/**
* k_EMsgGC_IncrementKillCountAttribute_DEPRECATED = 6100;
*/
k_EMsgGC_IncrementKillCountAttribute_DEPRECATED(6100),
/**
* k_EMsgGC_IncrementKillCountResponse_DEPRECATED = 6101;
*/
k_EMsgGC_IncrementKillCountResponse_DEPRECATED(6101),
/**
* k_EMsgGCAbandonCurrentGame = 6235;
*/
k_EMsgGCAbandonCurrentGame(6235),
/**
* k_EMsgForceSOCacheResend = 6237;
*/
k_EMsgForceSOCacheResend(6237),
/**
* k_EMsgGCRequestChatChannelList = 6260;
*/
k_EMsgGCRequestChatChannelList(6260),
/**
* k_EMsgGCRequestChatChannelListResponse = 6261;
*/
k_EMsgGCRequestChatChannelListResponse(6261),
/**
* k_EMsgGCReadyUp = 6270;
*/
k_EMsgGCReadyUp(6270),
/**
* k_EMsgGCKickedFromMatchmakingQueue = 6271;
*/
k_EMsgGCKickedFromMatchmakingQueue(6271),
/**
* k_EMsgGCLeaverDetected = 6272;
*/
k_EMsgGCLeaverDetected(6272),
/**
* k_EMsgGCLeaverDetectedResponse = 6287;
*/
k_EMsgGCLeaverDetectedResponse(6287),
/**
* k_EMsgGCExitMatchmaking = 6289;
*/
k_EMsgGCExitMatchmaking(6289),
/**
* k_EMsgGCMatchmakingProgress = 6293;
*/
k_EMsgGCMatchmakingProgress(6293),
/**
* k_EMsgGCMvMVictoryInfo = 6294;
*/
k_EMsgGCMvMVictoryInfo(6294),
/**
* k_EMsgGCGameServerMatchmakingStatus = 6295;
*/
k_EMsgGCGameServerMatchmakingStatus(6295),
/**
* k_EMsgGCMvMVictory = 6297;
*/
k_EMsgGCMvMVictory(6297),
/**
* k_EMsgGCMvMVictoryReply = 6298;
*/
k_EMsgGCMvMVictoryReply(6298),
/**
* k_EMsgGCGameServerKickingLobby = 6299;
*/
k_EMsgGCGameServerKickingLobby(6299),
/**
* k_EMsgGCLeaveGameAndPrepareToJoinParty = 6300;
*/
k_EMsgGCLeaveGameAndPrepareToJoinParty(6300),
/**
* k_EMsgGC_UpdatePeriodicEvent = 6400;
*/
k_EMsgGC_UpdatePeriodicEvent(6400),
/**
* k_EMsgGC_DuckLeaderboard_IndividualUpdate = 6401;
*/
k_EMsgGC_DuckLeaderboard_IndividualUpdate(6401),
/**
* k_EMsgGC_Client2GCEconPreviewDataBlockRequest = 6402;
*/
k_EMsgGC_Client2GCEconPreviewDataBlockRequest(6402),
/**
* k_EMsgGC_Client2GCEconPreviewDataBlockResponse = 6403;
*/
k_EMsgGC_Client2GCEconPreviewDataBlockResponse(6403),
/**
* k_EMsgGC_ClientVerificationChallenge = 6500;
*/
k_EMsgGC_ClientVerificationChallenge(6500),
/**
* k_EMsgGC_ClientVerificationChallengeResponse = 6501;
*/
k_EMsgGC_ClientVerificationChallengeResponse(6501),
/**
* k_EMsgGC_ClientVerificationVerboseResponse = 6502;
*/
k_EMsgGC_ClientVerificationVerboseResponse(6502),
/**
* k_EMsgGC_ClientSetItemSlotAttribute = 6503;
*/
k_EMsgGC_ClientSetItemSlotAttribute(6503),
/**
* k_EMsgGC_War_IndividualUpdate = 6505;
*/
k_EMsgGC_War_IndividualUpdate(6505),
/**
* k_EMsgGC_War_JoinWar = 6506;
*/
k_EMsgGC_War_JoinWar(6506),
/**
* k_EMsgGC_War_RequestGlobalStats = 6507;
*/
k_EMsgGC_War_RequestGlobalStats(6507),
/**
* k_EMsgGC_War_GlobalStatsResponse = 6508;
*/
k_EMsgGC_War_GlobalStatsResponse(6508),
/**
* k_EMsgGC_WorldItemPlacement_Attribute = 6510;
*/
k_EMsgGC_WorldItemPlacement_Attribute(6510),
/**
* k_EMsgGC_WorldItemPlacement_Update = 6511;
*/
k_EMsgGC_WorldItemPlacement_Update(6511),
/**
* k_EMsgGC_Match_Result = 6512;
*/
k_EMsgGC_Match_Result(6512),
/**
* k_EMsgGCVoteKickPlayerRequest = 6513;
*/
k_EMsgGCVoteKickPlayerRequest(6513),
/**
* k_EMsgGCVoteKickPlayerRequestResponse = 6514;
*/
k_EMsgGCVoteKickPlayerRequestResponse(6514),
/**
* k_EMsgGC_DailyCompetitiveStatsRollup = 6516;
*/
k_EMsgGC_DailyCompetitiveStatsRollup(6516),
/**
* k_EMsgGC_DailyCompetitiveStatsRollup_Response = 6517;
*/
k_EMsgGC_DailyCompetitiveStatsRollup_Response(6517),
/**
* k_EMsgGC_WorldStatusBroadcast = 6518;
*/
k_EMsgGC_WorldStatusBroadcast(6518),
/**
* k_EMsgGC_ReportPlayer = 6519;
*/
k_EMsgGC_ReportPlayer(6519),
/**
* k_EMsgGC_Match_ResultResponse = 6520;
*/
k_EMsgGC_Match_ResultResponse(6520),
/**
* k_EMsgGCGameServerKickingLobbyResponse = 6521;
*/
k_EMsgGCGameServerKickingLobbyResponse(6521),
/**
* k_EMsgGCPlayerLeftMatch = 6522;
*/
k_EMsgGCPlayerLeftMatch(6522),
/**
* k_EMsgGCPlayerLeftMatchResponse = 6523;
*/
k_EMsgGCPlayerLeftMatchResponse(6523),
/**
* k_EMsgGCRequestMatchMakerStats = 6524;
*/
k_EMsgGCRequestMatchMakerStats(6524),
/**
* k_EMsgGCMatchMakerStatsResponse = 6525;
*/
k_EMsgGCMatchMakerStatsResponse(6525),
/**
* k_EMsgGCMatchHistoryLoad = 6526;
*/
k_EMsgGCMatchHistoryLoad(6526),
/**
* k_EMsgGC_AcknowledgeXP = 6527;
*/
k_EMsgGC_AcknowledgeXP(6527),
/**
* k_EMsgGCDataCenterPing_Update = 6528;
*/
k_EMsgGCDataCenterPing_Update(6528),
/**
* k_EMsgGC_NotificationAcknowledge = 6529;
*/
k_EMsgGC_NotificationAcknowledge(6529),
/**
* k_EMsgGC_NotificationAcknowledgeReply = 6530;
*/
k_EMsgGC_NotificationAcknowledgeReply(6530),
/**
* k_EMsgGC_KickPlayerFromLobby = 6531;
*/
k_EMsgGC_KickPlayerFromLobby(6531),
/**
* k_EMsgGC_SurveyQuestionRequest = 6534;
*/
k_EMsgGC_SurveyQuestionRequest(6534),
/**
* k_EMsgGC_SurveyQuestionResponse = 6535;
*/
k_EMsgGC_SurveyQuestionResponse(6535),
/**
* k_EMsgGC_TFClientInit = 6536;
*/
k_EMsgGC_TFClientInit(6536),
/**
* k_EMsgGC_NewMatchForLobbyRequest = 6537;
*/
k_EMsgGC_NewMatchForLobbyRequest(6537),
/**
* k_EMsgGC_NewMatchForLobbyResponse = 6538;
*/
k_EMsgGC_NewMatchForLobbyResponse(6538),
/**
* k_EMsgGC_ChangeMatchPlayerTeamsRequest = 6539;
*/
k_EMsgGC_ChangeMatchPlayerTeamsRequest(6539),
/**
* k_EMsgGC_ChangeMatchPlayerTeamsResponse = 6540;
*/
k_EMsgGC_ChangeMatchPlayerTeamsResponse(6540),
/**
* k_EMsgGC_QuestIdentify = 6541;
*/
k_EMsgGC_QuestIdentify(6541),
/**
* k_EMsgGC_QuestDevGive = 6542;
*/
k_EMsgGC_QuestDevGive(6542),
/**
* k_EMsgGCQuestComplete_Debug = 6544;
*/
k_EMsgGCQuestComplete_Debug(6544),
/**
* k_EMsgGC_QuestMapDebug = 6545;
*/
k_EMsgGC_QuestMapDebug(6545),
/**
* k_EMsgGC_QuestMapUnlockNode = 6547;
*/
k_EMsgGC_QuestMapUnlockNode(6547),
/**
* k_EMsgGC_QuestMapPurchaseReward = 6549;
*/
k_EMsgGC_QuestMapPurchaseReward(6549),
/**
* k_EMsgGC_SetDisablePartyQuestProgress = 6550;
*/
k_EMsgGC_SetDisablePartyQuestProgress(6550),
/**
* k_EMsgGCQuestProgressReport = 6553;
*/
k_EMsgGCQuestProgressReport(6553),
/**
* k_EMsgGCParty_SetOptions = 6554;
*/
k_EMsgGCParty_SetOptions(6554),
/**
* k_EMsgGCParty_SetOptionsResponse = 6555;
*/
k_EMsgGCParty_SetOptionsResponse(6555),
/**
* k_EMsgGCParty_QueueForMatch = 6556;
*/
k_EMsgGCParty_QueueForMatch(6556),
/**
* k_EMsgGCParty_QueueForMatchResponse = 6557;
*/
k_EMsgGCParty_QueueForMatchResponse(6557),
/**
* k_EMsgGCParty_RemoveFromQueue = 6558;
*/
k_EMsgGCParty_RemoveFromQueue(6558),
/**
* k_EMsgGCParty_RemoveFromQueueResponse = 6559;
*/
k_EMsgGCParty_RemoveFromQueueResponse(6559),
/**
* k_EMsgGCParty_InvitePlayer = 6560;
*/
k_EMsgGCParty_InvitePlayer(6560),
/**
* k_EMsgGCParty_RequestJoinPlayer = 6561;
*/
k_EMsgGCParty_RequestJoinPlayer(6561),
/**
* k_EMsgGCParty_SendChat = 6562;
*/
k_EMsgGCParty_SendChat(6562),
/**
* k_EMsgGCParty_ChatMsg = 6563;
*/
k_EMsgGCParty_ChatMsg(6563),
/**
* k_EMsgGCQuestNodeTurnIn = 6564;
*/
k_EMsgGCQuestNodeTurnIn(6564),
/**
* k_EMsgGCConsumePaintKit = 6565;
*/
k_EMsgGCConsumePaintKit(6565),
/**
* k_EMsgGC_Painkit_DevGrant = 6566;
*/
k_EMsgGC_Painkit_DevGrant(6566),
/**
* k_EMsgGCParty_QueueForStandby = 6567;
*/
k_EMsgGCParty_QueueForStandby(6567),
/**
* k_EMsgGCParty_QueueForStandbyResponse = 6568;
*/
k_EMsgGCParty_QueueForStandbyResponse(6568),
/**
* k_EMsgGCParty_RemoveFromStandbyQueue = 6569;
*/
k_EMsgGCParty_RemoveFromStandbyQueue(6569),
/**
* k_EMsgGCParty_RemoveFromStandbyQueueResponse = 6570;
*/
k_EMsgGCParty_RemoveFromStandbyQueueResponse(6570),
/**
* k_EMsgGCParty_ClearPendingPlayer = 6571;
*/
k_EMsgGCParty_ClearPendingPlayer(6571),
/**
* k_EMsgGCParty_ClearPendingPlayerResponse = 6572;
*/
k_EMsgGCParty_ClearPendingPlayerResponse(6572),
/**
* k_EMsgGCParty_ClearOtherPartyRequest = 6573;
*/
k_EMsgGCParty_ClearOtherPartyRequest(6573),
/**
* k_EMsgGCParty_ClearOtherPartyRequestResponse = 6574;
*/
k_EMsgGCParty_ClearOtherPartyRequestResponse(6574),
/**
* k_EMsgGCParty_PromoteToLeader = 6575;
*/
k_EMsgGCParty_PromoteToLeader(6575),
/**
* k_EMsgGCParty_KickMember = 6576;
*/
k_EMsgGCParty_KickMember(6576),
/**
* k_EMsgGCQuestStrangeEvent = 6577;
*/
k_EMsgGCQuestStrangeEvent(6577),
/**
* k_EMsgGC_AcceptLobbyInvite = 6578;
*/
k_EMsgGC_AcceptLobbyInvite(6578),
/**
* k_EMsgGC_AcceptLobbyInviteReply = 6579;
*/
k_EMsgGC_AcceptLobbyInviteReply(6579),
/**
* k_EMsgGC_SDRTicket = 6580;
*/
k_EMsgGC_SDRTicket(6580),
/**
* k_EMsgGC_ProcessMatchVoteKick = 6581;
*/
k_EMsgGC_ProcessMatchVoteKick(6581),
/**
* k_EMsgGC_ProcessMatchVoteKickResponse = 6582;
*/
k_EMsgGC_ProcessMatchVoteKickResponse(6582),
/**
* k_EMsgGCDev_GrantWarKill = 10001;
*/
k_EMsgGCDev_GrantWarKill(10001),
;
static {
com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
/* minor= */ 28,
/* patch= */ 0,
/* suffix= */ "",
ETFGCMsg.class.getName());
}
/**
* k_EMsgGCReportWarKill = 5001;
*/
public static final int k_EMsgGCReportWarKill_VALUE = 5001;
/**
* k_EMsgGCKickPlayer_DEPRECATED = 5020;
*/
public static final int k_EMsgGCKickPlayer_DEPRECATED_VALUE = 5020;
/**
* k_EMsgGCStartedTraining_DEPRECATED = 5021;
*/
public static final int k_EMsgGCStartedTraining_DEPRECATED_VALUE = 5021;
/**
* k_EMsgGCFreeTrial_ChooseMostHelpfulFriend = 5022;
*/
public static final int k_EMsgGCFreeTrial_ChooseMostHelpfulFriend_VALUE = 5022;
/**
* k_EMsgGCRequestTF2Friends = 5023;
*/
public static final int k_EMsgGCRequestTF2Friends_VALUE = 5023;
/**
* k_EMsgGCRequestTF2FriendsResponse = 5024;
*/
public static final int k_EMsgGCRequestTF2FriendsResponse_VALUE = 5024;
/**
* k_EMsgGCReplay_SubmitContestEntry = 5026;
*/
public static final int k_EMsgGCReplay_SubmitContestEntry_VALUE = 5026;
/**
* k_EMsgGCReplay_SubmitContestEntryResponse = 5027;
*/
public static final int k_EMsgGCReplay_SubmitContestEntryResponse_VALUE = 5027;
/**
* k_EMsgGCSaxxy_Awarded = 5029;
*/
public static final int k_EMsgGCSaxxy_Awarded_VALUE = 5029;
/**
* k_EMsgGCFreeTrial_ThankedBySomeone = 5028;
*/
public static final int k_EMsgGCFreeTrial_ThankedBySomeone_VALUE = 5028;
/**
* k_EMsgGCFreeTrial_ThankedSomeone = 5030;
*/
public static final int k_EMsgGCFreeTrial_ThankedSomeone_VALUE = 5030;
/**
* k_EMsgGCFreeTrial_ConvertedToPremium = 5031;
*/
public static final int k_EMsgGCFreeTrial_ConvertedToPremium_VALUE = 5031;
/**
* k_EMsgGCMeetThePyroSilliness_BananaCraft_DEPRECATED = 5032;
*/
public static final int k_EMsgGCMeetThePyroSilliness_BananaCraft_DEPRECATED_VALUE = 5032;
/**
* k_EMsgGCMVMARG_HighFiveSuccessResponse_DEPRECATED = 5033;
*/
public static final int k_EMsgGCMVMARG_HighFiveSuccessResponse_DEPRECATED_VALUE = 5033;
/**
* k_EMsgGCMVMARG_HighFiveOnClient_DEPRECATED = 5034;
*/
public static final int k_EMsgGCMVMARG_HighFiveOnClient_DEPRECATED_VALUE = 5034;
/**
* k_EMsgGCCoaching_AddToCoaches = 5200;
*/
public static final int k_EMsgGCCoaching_AddToCoaches_VALUE = 5200;
/**
* k_EMsgGCCoaching_AddToCoachesResponse = 5201;
*/
public static final int k_EMsgGCCoaching_AddToCoachesResponse_VALUE = 5201;
/**
* k_EMsgGCCoaching_RemoveFromCoaches = 5202;
*/
public static final int k_EMsgGCCoaching_RemoveFromCoaches_VALUE = 5202;
/**
* k_EMsgGCCoaching_RemoveFromCoachesResponse = 5203;
*/
public static final int k_EMsgGCCoaching_RemoveFromCoachesResponse_VALUE = 5203;
/**
* k_EMsgGCCoaching_FindCoach = 5204;
*/
public static final int k_EMsgGCCoaching_FindCoach_VALUE = 5204;
/**
* k_EMsgGCCoaching_FindCoachResponse = 5205;
*/
public static final int k_EMsgGCCoaching_FindCoachResponse_VALUE = 5205;
/**
* k_EMsgGCCoaching_AskCoach = 5206;
*/
public static final int k_EMsgGCCoaching_AskCoach_VALUE = 5206;
/**
* k_EMsgGCCoaching_AskCoachResponse = 5207;
*/
public static final int k_EMsgGCCoaching_AskCoachResponse_VALUE = 5207;
/**
* k_EMsgGCCoaching_CoachJoinGame = 5208;
*/
public static final int k_EMsgGCCoaching_CoachJoinGame_VALUE = 5208;
/**
* k_EMsgGCCoaching_CoachJoining = 5209;
*/
public static final int k_EMsgGCCoaching_CoachJoining_VALUE = 5209;
/**
* k_EMsgGCCoaching_CoachJoined = 5210;
*/
public static final int k_EMsgGCCoaching_CoachJoined_VALUE = 5210;
/**
* k_EMsgGCCoaching_LikeCurrentCoach = 5211;
*/
public static final int k_EMsgGCCoaching_LikeCurrentCoach_VALUE = 5211;
/**
* k_EMsgGCCoaching_RemoveCurrentCoach = 5212;
*/
public static final int k_EMsgGCCoaching_RemoveCurrentCoach_VALUE = 5212;
/**
* k_EMsgGCCoaching_AlreadyRatedCoach = 5213;
*/
public static final int k_EMsgGCCoaching_AlreadyRatedCoach_VALUE = 5213;
/**
* k_EMsgGC_Duel_Request = 5500;
*/
public static final int k_EMsgGC_Duel_Request_VALUE = 5500;
/**
* k_EMsgGC_Duel_Response = 5501;
*/
public static final int k_EMsgGC_Duel_Response_VALUE = 5501;
/**
* k_EMsgGC_Duel_Results = 5502;
*/
public static final int k_EMsgGC_Duel_Results_VALUE = 5502;
/**
* k_EMsgGC_Duel_Status = 5503;
*/
public static final int k_EMsgGC_Duel_Status_VALUE = 5503;
/**
* k_EMsgGC_Halloween_ReservedItem_DEPRECATED = 5600;
*/
public static final int k_EMsgGC_Halloween_ReservedItem_DEPRECATED_VALUE = 5600;
/**
* k_EMsgGC_Halloween_GrantItem_DEPRECATED = 5601;
*/
public static final int k_EMsgGC_Halloween_GrantItem_DEPRECATED_VALUE = 5601;
/**
* k_EMsgGC_Halloween_GrantItemResponse_DEPRECATED = 5604;
*/
public static final int k_EMsgGC_Halloween_GrantItemResponse_DEPRECATED_VALUE = 5604;
/**
* k_EMsgGC_Halloween_Cheat_QueryResponse_DEPRECATED = 5605;
*/
public static final int k_EMsgGC_Halloween_Cheat_QueryResponse_DEPRECATED_VALUE = 5605;
/**
* k_EMsgGC_Halloween_ItemClaimed_DEPRECATED = 5606;
*/
public static final int k_EMsgGC_Halloween_ItemClaimed_DEPRECATED_VALUE = 5606;
/**
* k_EMsgGC_Halloween_ReservedItem = 5607;
*/
public static final int k_EMsgGC_Halloween_ReservedItem_VALUE = 5607;
/**
* k_EMsgGC_Halloween_GrantItem = 5608;
*/
public static final int k_EMsgGC_Halloween_GrantItem_VALUE = 5608;
/**
* k_EMsgGC_Halloween_GrantItemResponse = 5609;
*/
public static final int k_EMsgGC_Halloween_GrantItemResponse_VALUE = 5609;
/**
* k_EMsgGC_Halloween_Cheat_QueryResponse_DEPRECATED_2 = 5610;
*/
public static final int k_EMsgGC_Halloween_Cheat_QueryResponse_DEPRECATED_2_VALUE = 5610;
/**
* k_EMsgGC_Halloween_ItemClaimed_DEPRECATED_2 = 5611;
*/
public static final int k_EMsgGC_Halloween_ItemClaimed_DEPRECATED_2_VALUE = 5611;
/**
* k_EMsgGC_Halloween_ServerBossEvent = 5612;
*/
public static final int k_EMsgGC_Halloween_ServerBossEvent_VALUE = 5612;
/**
* k_EMsgGC_Halloween_Merasmus2012 = 5613;
*/
public static final int k_EMsgGC_Halloween_Merasmus2012_VALUE = 5613;
/**
* k_EMsgGC_Halloween_UpdateMerasmusLootLevel = 5614;
*/
public static final int k_EMsgGC_Halloween_UpdateMerasmusLootLevel_VALUE = 5614;
/**
* k_EMsgGC_GameServer_LevelInfo = 5700;
*/
public static final int k_EMsgGC_GameServer_LevelInfo_VALUE = 5700;
/**
* k_EMsgGC_GameServer_AuthChallenge = 5701;
*/
public static final int k_EMsgGC_GameServer_AuthChallenge_VALUE = 5701;
/**
* k_EMsgGC_GameServer_AuthChallengeResponse = 5702;
*/
public static final int k_EMsgGC_GameServer_AuthChallengeResponse_VALUE = 5702;
/**
* k_EMsgGC_GameServer_CreateIdentity = 5703;
*/
public static final int k_EMsgGC_GameServer_CreateIdentity_VALUE = 5703;
/**
* k_EMsgGC_GameServer_CreateIdentityResponse = 5704;
*/
public static final int k_EMsgGC_GameServer_CreateIdentityResponse_VALUE = 5704;
/**
* k_EMsgGC_GameServer_List = 5705;
*/
public static final int k_EMsgGC_GameServer_List_VALUE = 5705;
/**
* k_EMsgGC_GameServer_ListResponse = 5706;
*/
public static final int k_EMsgGC_GameServer_ListResponse_VALUE = 5706;
/**
* k_EMsgGC_GameServer_AuthResult = 5707;
*/
public static final int k_EMsgGC_GameServer_AuthResult_VALUE = 5707;
/**
* k_EMsgGC_GameServer_ResetIdentity = 5708;
*/
public static final int k_EMsgGC_GameServer_ResetIdentity_VALUE = 5708;
/**
* k_EMsgGC_GameServer_ResetIdentityResponse = 5709;
*/
public static final int k_EMsgGC_GameServer_ResetIdentityResponse_VALUE = 5709;
/**
* k_EMsgGC_Client_UseServerModificationItem = 5710;
*/
public static final int k_EMsgGC_Client_UseServerModificationItem_VALUE = 5710;
/**
* k_EMsgGC_Client_UseServerModificationItem_Response = 5711;
*/
public static final int k_EMsgGC_Client_UseServerModificationItem_Response_VALUE = 5711;
/**
* k_EMsgGC_GameServer_UseServerModificationItem = 5712;
*/
public static final int k_EMsgGC_GameServer_UseServerModificationItem_VALUE = 5712;
/**
* k_EMsgGC_GameServer_UseServerModificationItem_Response = 5713;
*/
public static final int k_EMsgGC_GameServer_UseServerModificationItem_Response_VALUE = 5713;
/**
* k_EMsgGC_GameServer_ServerModificationItemExpired = 5714;
*/
public static final int k_EMsgGC_GameServer_ServerModificationItemExpired_VALUE = 5714;
/**
* k_EMsgGC_GameServer_ModificationItemState = 5715;
*/
public static final int k_EMsgGC_GameServer_ModificationItemState_VALUE = 5715;
/**
* k_EMsgGC_GameServer_AckPolicy = 5716;
*/
public static final int k_EMsgGC_GameServer_AckPolicy_VALUE = 5716;
/**
* k_EMsgGC_GameServer_AckPolicyResponse = 5717;
*/
public static final int k_EMsgGC_GameServer_AckPolicyResponse_VALUE = 5717;
/**
* k_EMsgGC_QP_ScoreServers = 5800;
*/
public static final int k_EMsgGC_QP_ScoreServers_VALUE = 5800;
/**
* k_EMsgGC_QP_ScoreServersResponse = 5801;
*/
public static final int k_EMsgGC_QP_ScoreServersResponse_VALUE = 5801;
/**
* k_EMsgGC_QP_PlayerJoining = 5802;
*/
public static final int k_EMsgGC_QP_PlayerJoining_VALUE = 5802;
/**
* k_EMsgGC_PickupItemEligibility_Query_DEPRECATED = 6000;
*/
public static final int k_EMsgGC_PickupItemEligibility_Query_DEPRECATED_VALUE = 6000;
/**
* k_EMsgGC_PickupItemEligibility_Query_DEPRECATED_2 = 6001;
*/
public static final int k_EMsgGC_PickupItemEligibility_Query_DEPRECATED_2_VALUE = 6001;
/**
* k_EMsgGC_IncrementKillCountAttribute_DEPRECATED = 6100;
*/
public static final int k_EMsgGC_IncrementKillCountAttribute_DEPRECATED_VALUE = 6100;
/**
* k_EMsgGC_IncrementKillCountResponse_DEPRECATED = 6101;
*/
public static final int k_EMsgGC_IncrementKillCountResponse_DEPRECATED_VALUE = 6101;
/**
* k_EMsgGCAbandonCurrentGame = 6235;
*/
public static final int k_EMsgGCAbandonCurrentGame_VALUE = 6235;
/**
* k_EMsgForceSOCacheResend = 6237;
*/
public static final int k_EMsgForceSOCacheResend_VALUE = 6237;
/**
* k_EMsgGCRequestChatChannelList = 6260;
*/
public static final int k_EMsgGCRequestChatChannelList_VALUE = 6260;
/**
* k_EMsgGCRequestChatChannelListResponse = 6261;
*/
public static final int k_EMsgGCRequestChatChannelListResponse_VALUE = 6261;
/**
* k_EMsgGCReadyUp = 6270;
*/
public static final int k_EMsgGCReadyUp_VALUE = 6270;
/**
* k_EMsgGCKickedFromMatchmakingQueue = 6271;
*/
public static final int k_EMsgGCKickedFromMatchmakingQueue_VALUE = 6271;
/**
* k_EMsgGCLeaverDetected = 6272;
*/
public static final int k_EMsgGCLeaverDetected_VALUE = 6272;
/**
* k_EMsgGCLeaverDetectedResponse = 6287;
*/
public static final int k_EMsgGCLeaverDetectedResponse_VALUE = 6287;
/**
* k_EMsgGCExitMatchmaking = 6289;
*/
public static final int k_EMsgGCExitMatchmaking_VALUE = 6289;
/**
* k_EMsgGCMatchmakingProgress = 6293;
*/
public static final int k_EMsgGCMatchmakingProgress_VALUE = 6293;
/**
* k_EMsgGCMvMVictoryInfo = 6294;
*/
public static final int k_EMsgGCMvMVictoryInfo_VALUE = 6294;
/**
* k_EMsgGCGameServerMatchmakingStatus = 6295;
*/
public static final int k_EMsgGCGameServerMatchmakingStatus_VALUE = 6295;
/**
* k_EMsgGCMvMVictory = 6297;
*/
public static final int k_EMsgGCMvMVictory_VALUE = 6297;
/**
* k_EMsgGCMvMVictoryReply = 6298;
*/
public static final int k_EMsgGCMvMVictoryReply_VALUE = 6298;
/**
* k_EMsgGCGameServerKickingLobby = 6299;
*/
public static final int k_EMsgGCGameServerKickingLobby_VALUE = 6299;
/**
* k_EMsgGCLeaveGameAndPrepareToJoinParty = 6300;
*/
public static final int k_EMsgGCLeaveGameAndPrepareToJoinParty_VALUE = 6300;
/**
* k_EMsgGC_UpdatePeriodicEvent = 6400;
*/
public static final int k_EMsgGC_UpdatePeriodicEvent_VALUE = 6400;
/**
* k_EMsgGC_DuckLeaderboard_IndividualUpdate = 6401;
*/
public static final int k_EMsgGC_DuckLeaderboard_IndividualUpdate_VALUE = 6401;
/**
* k_EMsgGC_Client2GCEconPreviewDataBlockRequest = 6402;
*/
public static final int k_EMsgGC_Client2GCEconPreviewDataBlockRequest_VALUE = 6402;
/**
* k_EMsgGC_Client2GCEconPreviewDataBlockResponse = 6403;
*/
public static final int k_EMsgGC_Client2GCEconPreviewDataBlockResponse_VALUE = 6403;
/**
* k_EMsgGC_ClientVerificationChallenge = 6500;
*/
public static final int k_EMsgGC_ClientVerificationChallenge_VALUE = 6500;
/**
* k_EMsgGC_ClientVerificationChallengeResponse = 6501;
*/
public static final int k_EMsgGC_ClientVerificationChallengeResponse_VALUE = 6501;
/**
* k_EMsgGC_ClientVerificationVerboseResponse = 6502;
*/
public static final int k_EMsgGC_ClientVerificationVerboseResponse_VALUE = 6502;
/**
* k_EMsgGC_ClientSetItemSlotAttribute = 6503;
*/
public static final int k_EMsgGC_ClientSetItemSlotAttribute_VALUE = 6503;
/**
* k_EMsgGC_War_IndividualUpdate = 6505;
*/
public static final int k_EMsgGC_War_IndividualUpdate_VALUE = 6505;
/**
* k_EMsgGC_War_JoinWar = 6506;
*/
public static final int k_EMsgGC_War_JoinWar_VALUE = 6506;
/**
* k_EMsgGC_War_RequestGlobalStats = 6507;
*/
public static final int k_EMsgGC_War_RequestGlobalStats_VALUE = 6507;
/**
* k_EMsgGC_War_GlobalStatsResponse = 6508;
*/
public static final int k_EMsgGC_War_GlobalStatsResponse_VALUE = 6508;
/**
* k_EMsgGC_WorldItemPlacement_Attribute = 6510;
*/
public static final int k_EMsgGC_WorldItemPlacement_Attribute_VALUE = 6510;
/**
* k_EMsgGC_WorldItemPlacement_Update = 6511;
*/
public static final int k_EMsgGC_WorldItemPlacement_Update_VALUE = 6511;
/**
* k_EMsgGC_Match_Result = 6512;
*/
public static final int k_EMsgGC_Match_Result_VALUE = 6512;
/**
* k_EMsgGCVoteKickPlayerRequest = 6513;
*/
public static final int k_EMsgGCVoteKickPlayerRequest_VALUE = 6513;
/**
* k_EMsgGCVoteKickPlayerRequestResponse = 6514;
*/
public static final int k_EMsgGCVoteKickPlayerRequestResponse_VALUE = 6514;
/**
* k_EMsgGC_DailyCompetitiveStatsRollup = 6516;
*/
public static final int k_EMsgGC_DailyCompetitiveStatsRollup_VALUE = 6516;
/**
* k_EMsgGC_DailyCompetitiveStatsRollup_Response = 6517;
*/
public static final int k_EMsgGC_DailyCompetitiveStatsRollup_Response_VALUE = 6517;
/**
* k_EMsgGC_WorldStatusBroadcast = 6518;
*/
public static final int k_EMsgGC_WorldStatusBroadcast_VALUE = 6518;
/**
* k_EMsgGC_ReportPlayer = 6519;
*/
public static final int k_EMsgGC_ReportPlayer_VALUE = 6519;
/**
* k_EMsgGC_Match_ResultResponse = 6520;
*/
public static final int k_EMsgGC_Match_ResultResponse_VALUE = 6520;
/**
* k_EMsgGCGameServerKickingLobbyResponse = 6521;
*/
public static final int k_EMsgGCGameServerKickingLobbyResponse_VALUE = 6521;
/**
* k_EMsgGCPlayerLeftMatch = 6522;
*/
public static final int k_EMsgGCPlayerLeftMatch_VALUE = 6522;
/**
* k_EMsgGCPlayerLeftMatchResponse = 6523;
*/
public static final int k_EMsgGCPlayerLeftMatchResponse_VALUE = 6523;
/**
* k_EMsgGCRequestMatchMakerStats = 6524;
*/
public static final int k_EMsgGCRequestMatchMakerStats_VALUE = 6524;
/**
* k_EMsgGCMatchMakerStatsResponse = 6525;
*/
public static final int k_EMsgGCMatchMakerStatsResponse_VALUE = 6525;
/**
* k_EMsgGCMatchHistoryLoad = 6526;
*/
public static final int k_EMsgGCMatchHistoryLoad_VALUE = 6526;
/**
* k_EMsgGC_AcknowledgeXP = 6527;
*/
public static final int k_EMsgGC_AcknowledgeXP_VALUE = 6527;
/**
* k_EMsgGCDataCenterPing_Update = 6528;
*/
public static final int k_EMsgGCDataCenterPing_Update_VALUE = 6528;
/**
* k_EMsgGC_NotificationAcknowledge = 6529;
*/
public static final int k_EMsgGC_NotificationAcknowledge_VALUE = 6529;
/**
* k_EMsgGC_NotificationAcknowledgeReply = 6530;
*/
public static final int k_EMsgGC_NotificationAcknowledgeReply_VALUE = 6530;
/**
* k_EMsgGC_KickPlayerFromLobby = 6531;
*/
public static final int k_EMsgGC_KickPlayerFromLobby_VALUE = 6531;
/**
* k_EMsgGC_SurveyQuestionRequest = 6534;
*/
public static final int k_EMsgGC_SurveyQuestionRequest_VALUE = 6534;
/**
* k_EMsgGC_SurveyQuestionResponse = 6535;
*/
public static final int k_EMsgGC_SurveyQuestionResponse_VALUE = 6535;
/**
* k_EMsgGC_TFClientInit = 6536;
*/
public static final int k_EMsgGC_TFClientInit_VALUE = 6536;
/**
* k_EMsgGC_NewMatchForLobbyRequest = 6537;
*/
public static final int k_EMsgGC_NewMatchForLobbyRequest_VALUE = 6537;
/**
* k_EMsgGC_NewMatchForLobbyResponse = 6538;
*/
public static final int k_EMsgGC_NewMatchForLobbyResponse_VALUE = 6538;
/**
* k_EMsgGC_ChangeMatchPlayerTeamsRequest = 6539;
*/
public static final int k_EMsgGC_ChangeMatchPlayerTeamsRequest_VALUE = 6539;
/**
* k_EMsgGC_ChangeMatchPlayerTeamsResponse = 6540;
*/
public static final int k_EMsgGC_ChangeMatchPlayerTeamsResponse_VALUE = 6540;
/**
* k_EMsgGC_QuestIdentify = 6541;
*/
public static final int k_EMsgGC_QuestIdentify_VALUE = 6541;
/**
* k_EMsgGC_QuestDevGive = 6542;
*/
public static final int k_EMsgGC_QuestDevGive_VALUE = 6542;
/**
* k_EMsgGCQuestComplete_Debug = 6544;
*/
public static final int k_EMsgGCQuestComplete_Debug_VALUE = 6544;
/**
* k_EMsgGC_QuestMapDebug = 6545;
*/
public static final int k_EMsgGC_QuestMapDebug_VALUE = 6545;
/**
* k_EMsgGC_QuestMapUnlockNode = 6547;
*/
public static final int k_EMsgGC_QuestMapUnlockNode_VALUE = 6547;
/**
* k_EMsgGC_QuestMapPurchaseReward = 6549;
*/
public static final int k_EMsgGC_QuestMapPurchaseReward_VALUE = 6549;
/**
* k_EMsgGC_SetDisablePartyQuestProgress = 6550;
*/
public static final int k_EMsgGC_SetDisablePartyQuestProgress_VALUE = 6550;
/**
* k_EMsgGCQuestProgressReport = 6553;
*/
public static final int k_EMsgGCQuestProgressReport_VALUE = 6553;
/**
* k_EMsgGCParty_SetOptions = 6554;
*/
public static final int k_EMsgGCParty_SetOptions_VALUE = 6554;
/**
* k_EMsgGCParty_SetOptionsResponse = 6555;
*/
public static final int k_EMsgGCParty_SetOptionsResponse_VALUE = 6555;
/**
* k_EMsgGCParty_QueueForMatch = 6556;
*/
public static final int k_EMsgGCParty_QueueForMatch_VALUE = 6556;
/**
* k_EMsgGCParty_QueueForMatchResponse = 6557;
*/
public static final int k_EMsgGCParty_QueueForMatchResponse_VALUE = 6557;
/**
* k_EMsgGCParty_RemoveFromQueue = 6558;
*/
public static final int k_EMsgGCParty_RemoveFromQueue_VALUE = 6558;
/**
* k_EMsgGCParty_RemoveFromQueueResponse = 6559;
*/
public static final int k_EMsgGCParty_RemoveFromQueueResponse_VALUE = 6559;
/**
* k_EMsgGCParty_InvitePlayer = 6560;
*/
public static final int k_EMsgGCParty_InvitePlayer_VALUE = 6560;
/**
* k_EMsgGCParty_RequestJoinPlayer = 6561;
*/
public static final int k_EMsgGCParty_RequestJoinPlayer_VALUE = 6561;
/**
* k_EMsgGCParty_SendChat = 6562;
*/
public static final int k_EMsgGCParty_SendChat_VALUE = 6562;
/**
* k_EMsgGCParty_ChatMsg = 6563;
*/
public static final int k_EMsgGCParty_ChatMsg_VALUE = 6563;
/**
* k_EMsgGCQuestNodeTurnIn = 6564;
*/
public static final int k_EMsgGCQuestNodeTurnIn_VALUE = 6564;
/**
* k_EMsgGCConsumePaintKit = 6565;
*/
public static final int k_EMsgGCConsumePaintKit_VALUE = 6565;
/**
* k_EMsgGC_Painkit_DevGrant = 6566;
*/
public static final int k_EMsgGC_Painkit_DevGrant_VALUE = 6566;
/**
* k_EMsgGCParty_QueueForStandby = 6567;
*/
public static final int k_EMsgGCParty_QueueForStandby_VALUE = 6567;
/**
* k_EMsgGCParty_QueueForStandbyResponse = 6568;
*/
public static final int k_EMsgGCParty_QueueForStandbyResponse_VALUE = 6568;
/**
* k_EMsgGCParty_RemoveFromStandbyQueue = 6569;
*/
public static final int k_EMsgGCParty_RemoveFromStandbyQueue_VALUE = 6569;
/**
* k_EMsgGCParty_RemoveFromStandbyQueueResponse = 6570;
*/
public static final int k_EMsgGCParty_RemoveFromStandbyQueueResponse_VALUE = 6570;
/**
* k_EMsgGCParty_ClearPendingPlayer = 6571;
*/
public static final int k_EMsgGCParty_ClearPendingPlayer_VALUE = 6571;
/**
* k_EMsgGCParty_ClearPendingPlayerResponse = 6572;
*/
public static final int k_EMsgGCParty_ClearPendingPlayerResponse_VALUE = 6572;
/**
* k_EMsgGCParty_ClearOtherPartyRequest = 6573;
*/
public static final int k_EMsgGCParty_ClearOtherPartyRequest_VALUE = 6573;
/**
* k_EMsgGCParty_ClearOtherPartyRequestResponse = 6574;
*/
public static final int k_EMsgGCParty_ClearOtherPartyRequestResponse_VALUE = 6574;
/**
* k_EMsgGCParty_PromoteToLeader = 6575;
*/
public static final int k_EMsgGCParty_PromoteToLeader_VALUE = 6575;
/**
* k_EMsgGCParty_KickMember = 6576;
*/
public static final int k_EMsgGCParty_KickMember_VALUE = 6576;
/**
* k_EMsgGCQuestStrangeEvent = 6577;
*/
public static final int k_EMsgGCQuestStrangeEvent_VALUE = 6577;
/**
* k_EMsgGC_AcceptLobbyInvite = 6578;
*/
public static final int k_EMsgGC_AcceptLobbyInvite_VALUE = 6578;
/**
* k_EMsgGC_AcceptLobbyInviteReply = 6579;
*/
public static final int k_EMsgGC_AcceptLobbyInviteReply_VALUE = 6579;
/**
* k_EMsgGC_SDRTicket = 6580;
*/
public static final int k_EMsgGC_SDRTicket_VALUE = 6580;
/**
* k_EMsgGC_ProcessMatchVoteKick = 6581;
*/
public static final int k_EMsgGC_ProcessMatchVoteKick_VALUE = 6581;
/**
* k_EMsgGC_ProcessMatchVoteKickResponse = 6582;
*/
public static final int k_EMsgGC_ProcessMatchVoteKickResponse_VALUE = 6582;
/**
* k_EMsgGCDev_GrantWarKill = 10001;
*/
public static final int k_EMsgGCDev_GrantWarKill_VALUE = 10001;
public final int getNumber() {
return value;
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static ETFGCMsg valueOf(int value) {
return forNumber(value);
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
*/
public static ETFGCMsg forNumber(int value) {
switch (value) {
case 5001: return k_EMsgGCReportWarKill;
case 5020: return k_EMsgGCKickPlayer_DEPRECATED;
case 5021: return k_EMsgGCStartedTraining_DEPRECATED;
case 5022: return k_EMsgGCFreeTrial_ChooseMostHelpfulFriend;
case 5023: return k_EMsgGCRequestTF2Friends;
case 5024: return k_EMsgGCRequestTF2FriendsResponse;
case 5026: return k_EMsgGCReplay_SubmitContestEntry;
case 5027: return k_EMsgGCReplay_SubmitContestEntryResponse;
case 5029: return k_EMsgGCSaxxy_Awarded;
case 5028: return k_EMsgGCFreeTrial_ThankedBySomeone;
case 5030: return k_EMsgGCFreeTrial_ThankedSomeone;
case 5031: return k_EMsgGCFreeTrial_ConvertedToPremium;
case 5032: return k_EMsgGCMeetThePyroSilliness_BananaCraft_DEPRECATED;
case 5033: return k_EMsgGCMVMARG_HighFiveSuccessResponse_DEPRECATED;
case 5034: return k_EMsgGCMVMARG_HighFiveOnClient_DEPRECATED;
case 5200: return k_EMsgGCCoaching_AddToCoaches;
case 5201: return k_EMsgGCCoaching_AddToCoachesResponse;
case 5202: return k_EMsgGCCoaching_RemoveFromCoaches;
case 5203: return k_EMsgGCCoaching_RemoveFromCoachesResponse;
case 5204: return k_EMsgGCCoaching_FindCoach;
case 5205: return k_EMsgGCCoaching_FindCoachResponse;
case 5206: return k_EMsgGCCoaching_AskCoach;
case 5207: return k_EMsgGCCoaching_AskCoachResponse;
case 5208: return k_EMsgGCCoaching_CoachJoinGame;
case 5209: return k_EMsgGCCoaching_CoachJoining;
case 5210: return k_EMsgGCCoaching_CoachJoined;
case 5211: return k_EMsgGCCoaching_LikeCurrentCoach;
case 5212: return k_EMsgGCCoaching_RemoveCurrentCoach;
case 5213: return k_EMsgGCCoaching_AlreadyRatedCoach;
case 5500: return k_EMsgGC_Duel_Request;
case 5501: return k_EMsgGC_Duel_Response;
case 5502: return k_EMsgGC_Duel_Results;
case 5503: return k_EMsgGC_Duel_Status;
case 5600: return k_EMsgGC_Halloween_ReservedItem_DEPRECATED;
case 5601: return k_EMsgGC_Halloween_GrantItem_DEPRECATED;
case 5604: return k_EMsgGC_Halloween_GrantItemResponse_DEPRECATED;
case 5605: return k_EMsgGC_Halloween_Cheat_QueryResponse_DEPRECATED;
case 5606: return k_EMsgGC_Halloween_ItemClaimed_DEPRECATED;
case 5607: return k_EMsgGC_Halloween_ReservedItem;
case 5608: return k_EMsgGC_Halloween_GrantItem;
case 5609: return k_EMsgGC_Halloween_GrantItemResponse;
case 5610: return k_EMsgGC_Halloween_Cheat_QueryResponse_DEPRECATED_2;
case 5611: return k_EMsgGC_Halloween_ItemClaimed_DEPRECATED_2;
case 5612: return k_EMsgGC_Halloween_ServerBossEvent;
case 5613: return k_EMsgGC_Halloween_Merasmus2012;
case 5614: return k_EMsgGC_Halloween_UpdateMerasmusLootLevel;
case 5700: return k_EMsgGC_GameServer_LevelInfo;
case 5701: return k_EMsgGC_GameServer_AuthChallenge;
case 5702: return k_EMsgGC_GameServer_AuthChallengeResponse;
case 5703: return k_EMsgGC_GameServer_CreateIdentity;
case 5704: return k_EMsgGC_GameServer_CreateIdentityResponse;
case 5705: return k_EMsgGC_GameServer_List;
case 5706: return k_EMsgGC_GameServer_ListResponse;
case 5707: return k_EMsgGC_GameServer_AuthResult;
case 5708: return k_EMsgGC_GameServer_ResetIdentity;
case 5709: return k_EMsgGC_GameServer_ResetIdentityResponse;
case 5710: return k_EMsgGC_Client_UseServerModificationItem;
case 5711: return k_EMsgGC_Client_UseServerModificationItem_Response;
case 5712: return k_EMsgGC_GameServer_UseServerModificationItem;
case 5713: return k_EMsgGC_GameServer_UseServerModificationItem_Response;
case 5714: return k_EMsgGC_GameServer_ServerModificationItemExpired;
case 5715: return k_EMsgGC_GameServer_ModificationItemState;
case 5716: return k_EMsgGC_GameServer_AckPolicy;
case 5717: return k_EMsgGC_GameServer_AckPolicyResponse;
case 5800: return k_EMsgGC_QP_ScoreServers;
case 5801: return k_EMsgGC_QP_ScoreServersResponse;
case 5802: return k_EMsgGC_QP_PlayerJoining;
case 6000: return k_EMsgGC_PickupItemEligibility_Query_DEPRECATED;
case 6001: return k_EMsgGC_PickupItemEligibility_Query_DEPRECATED_2;
case 6100: return k_EMsgGC_IncrementKillCountAttribute_DEPRECATED;
case 6101: return k_EMsgGC_IncrementKillCountResponse_DEPRECATED;
case 6235: return k_EMsgGCAbandonCurrentGame;
case 6237: return k_EMsgForceSOCacheResend;
case 6260: return k_EMsgGCRequestChatChannelList;
case 6261: return k_EMsgGCRequestChatChannelListResponse;
case 6270: return k_EMsgGCReadyUp;
case 6271: return k_EMsgGCKickedFromMatchmakingQueue;
case 6272: return k_EMsgGCLeaverDetected;
case 6287: return k_EMsgGCLeaverDetectedResponse;
case 6289: return k_EMsgGCExitMatchmaking;
case 6293: return k_EMsgGCMatchmakingProgress;
case 6294: return k_EMsgGCMvMVictoryInfo;
case 6295: return k_EMsgGCGameServerMatchmakingStatus;
case 6297: return k_EMsgGCMvMVictory;
case 6298: return k_EMsgGCMvMVictoryReply;
case 6299: return k_EMsgGCGameServerKickingLobby;
case 6300: return k_EMsgGCLeaveGameAndPrepareToJoinParty;
case 6400: return k_EMsgGC_UpdatePeriodicEvent;
case 6401: return k_EMsgGC_DuckLeaderboard_IndividualUpdate;
case 6402: return k_EMsgGC_Client2GCEconPreviewDataBlockRequest;
case 6403: return k_EMsgGC_Client2GCEconPreviewDataBlockResponse;
case 6500: return k_EMsgGC_ClientVerificationChallenge;
case 6501: return k_EMsgGC_ClientVerificationChallengeResponse;
case 6502: return k_EMsgGC_ClientVerificationVerboseResponse;
case 6503: return k_EMsgGC_ClientSetItemSlotAttribute;
case 6505: return k_EMsgGC_War_IndividualUpdate;
case 6506: return k_EMsgGC_War_JoinWar;
case 6507: return k_EMsgGC_War_RequestGlobalStats;
case 6508: return k_EMsgGC_War_GlobalStatsResponse;
case 6510: return k_EMsgGC_WorldItemPlacement_Attribute;
case 6511: return k_EMsgGC_WorldItemPlacement_Update;
case 6512: return k_EMsgGC_Match_Result;
case 6513: return k_EMsgGCVoteKickPlayerRequest;
case 6514: return k_EMsgGCVoteKickPlayerRequestResponse;
case 6516: return k_EMsgGC_DailyCompetitiveStatsRollup;
case 6517: return k_EMsgGC_DailyCompetitiveStatsRollup_Response;
case 6518: return k_EMsgGC_WorldStatusBroadcast;
case 6519: return k_EMsgGC_ReportPlayer;
case 6520: return k_EMsgGC_Match_ResultResponse;
case 6521: return k_EMsgGCGameServerKickingLobbyResponse;
case 6522: return k_EMsgGCPlayerLeftMatch;
case 6523: return k_EMsgGCPlayerLeftMatchResponse;
case 6524: return k_EMsgGCRequestMatchMakerStats;
case 6525: return k_EMsgGCMatchMakerStatsResponse;
case 6526: return k_EMsgGCMatchHistoryLoad;
case 6527: return k_EMsgGC_AcknowledgeXP;
case 6528: return k_EMsgGCDataCenterPing_Update;
case 6529: return k_EMsgGC_NotificationAcknowledge;
case 6530: return k_EMsgGC_NotificationAcknowledgeReply;
case 6531: return k_EMsgGC_KickPlayerFromLobby;
case 6534: return k_EMsgGC_SurveyQuestionRequest;
case 6535: return k_EMsgGC_SurveyQuestionResponse;
case 6536: return k_EMsgGC_TFClientInit;
case 6537: return k_EMsgGC_NewMatchForLobbyRequest;
case 6538: return k_EMsgGC_NewMatchForLobbyResponse;
case 6539: return k_EMsgGC_ChangeMatchPlayerTeamsRequest;
case 6540: return k_EMsgGC_ChangeMatchPlayerTeamsResponse;
case 6541: return k_EMsgGC_QuestIdentify;
case 6542: return k_EMsgGC_QuestDevGive;
case 6544: return k_EMsgGCQuestComplete_Debug;
case 6545: return k_EMsgGC_QuestMapDebug;
case 6547: return k_EMsgGC_QuestMapUnlockNode;
case 6549: return k_EMsgGC_QuestMapPurchaseReward;
case 6550: return k_EMsgGC_SetDisablePartyQuestProgress;
case 6553: return k_EMsgGCQuestProgressReport;
case 6554: return k_EMsgGCParty_SetOptions;
case 6555: return k_EMsgGCParty_SetOptionsResponse;
case 6556: return k_EMsgGCParty_QueueForMatch;
case 6557: return k_EMsgGCParty_QueueForMatchResponse;
case 6558: return k_EMsgGCParty_RemoveFromQueue;
case 6559: return k_EMsgGCParty_RemoveFromQueueResponse;
case 6560: return k_EMsgGCParty_InvitePlayer;
case 6561: return k_EMsgGCParty_RequestJoinPlayer;
case 6562: return k_EMsgGCParty_SendChat;
case 6563: return k_EMsgGCParty_ChatMsg;
case 6564: return k_EMsgGCQuestNodeTurnIn;
case 6565: return k_EMsgGCConsumePaintKit;
case 6566: return k_EMsgGC_Painkit_DevGrant;
case 6567: return k_EMsgGCParty_QueueForStandby;
case 6568: return k_EMsgGCParty_QueueForStandbyResponse;
case 6569: return k_EMsgGCParty_RemoveFromStandbyQueue;
case 6570: return k_EMsgGCParty_RemoveFromStandbyQueueResponse;
case 6571: return k_EMsgGCParty_ClearPendingPlayer;
case 6572: return k_EMsgGCParty_ClearPendingPlayerResponse;
case 6573: return k_EMsgGCParty_ClearOtherPartyRequest;
case 6574: return k_EMsgGCParty_ClearOtherPartyRequestResponse;
case 6575: return k_EMsgGCParty_PromoteToLeader;
case 6576: return k_EMsgGCParty_KickMember;
case 6577: return k_EMsgGCQuestStrangeEvent;
case 6578: return k_EMsgGC_AcceptLobbyInvite;
case 6579: return k_EMsgGC_AcceptLobbyInviteReply;
case 6580: return k_EMsgGC_SDRTicket;
case 6581: return k_EMsgGC_ProcessMatchVoteKick;
case 6582: return k_EMsgGC_ProcessMatchVoteKickResponse;
case 10001: return k_EMsgGCDev_GrantWarKill;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
ETFGCMsg> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
public ETFGCMsg findValueByNumber(int number) {
return ETFGCMsg.forNumber(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
return getDescriptor().getValues().get(ordinal());
}
public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.getDescriptor().getEnumTypes().get(0);
}
private static final ETFGCMsg[] VALUES = values();
public static ETFGCMsg 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 value;
private ETFGCMsg(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:ETFGCMsg)
}
/**
* Protobuf enum {@code EServerModificationItemType}
*/
public enum EServerModificationItemType
implements com.google.protobuf.ProtocolMessageEnum {
/**
* kGameServerModificationItem_Halloween = 1;
*/
kGameServerModificationItem_Halloween(1),
;
static {
com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
/* minor= */ 28,
/* patch= */ 0,
/* suffix= */ "",
EServerModificationItemType.class.getName());
}
/**
* kGameServerModificationItem_Halloween = 1;
*/
public static final int kGameServerModificationItem_Halloween_VALUE = 1;
public final int getNumber() {
return value;
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static EServerModificationItemType valueOf(int value) {
return forNumber(value);
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
*/
public static EServerModificationItemType forNumber(int value) {
switch (value) {
case 1: return kGameServerModificationItem_Halloween;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
EServerModificationItemType> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
public EServerModificationItemType findValueByNumber(int number) {
return EServerModificationItemType.forNumber(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
return getDescriptor().getValues().get(ordinal());
}
public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.getDescriptor().getEnumTypes().get(1);
}
private static final EServerModificationItemType[] VALUES = values();
public static EServerModificationItemType 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 value;
private EServerModificationItemType(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:EServerModificationItemType)
}
/**
* Protobuf enum {@code ETFSyncedMMMenuStep}
*/
public enum ETFSyncedMMMenuStep
implements com.google.protobuf.ProtocolMessageEnum {
/**
* k_eTFSyncedMMMenuStep_Invalid = -1;
*/
k_eTFSyncedMMMenuStep_Invalid(-1),
/**
* k_eTFSyncedMMMenuStep_None = 0;
*/
k_eTFSyncedMMMenuStep_None(0),
/**
* k_eTFSyncedMMMenuStep_Configuring_Mode = 1;
*/
k_eTFSyncedMMMenuStep_Configuring_Mode(1),
/**
* k_eTFSyncedMMMenuStep_MvM_Selecting_Mode = 2;
*/
k_eTFSyncedMMMenuStep_MvM_Selecting_Mode(2),
/**
* k_eTFSyncedMMMenuStep_MvM_Selecting_Tour = 3;
*/
k_eTFSyncedMMMenuStep_MvM_Selecting_Tour(3),
/**
* k_eTFSyncedMMMenuStep_MvM_Selecting_Missions = 4;
*/
k_eTFSyncedMMMenuStep_MvM_Selecting_Missions(4),
;
static {
com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
/* minor= */ 28,
/* patch= */ 0,
/* suffix= */ "",
ETFSyncedMMMenuStep.class.getName());
}
/**
* k_eTFSyncedMMMenuStep_Invalid = -1;
*/
public static final int k_eTFSyncedMMMenuStep_Invalid_VALUE = -1;
/**
* k_eTFSyncedMMMenuStep_None = 0;
*/
public static final int k_eTFSyncedMMMenuStep_None_VALUE = 0;
/**
* k_eTFSyncedMMMenuStep_Configuring_Mode = 1;
*/
public static final int k_eTFSyncedMMMenuStep_Configuring_Mode_VALUE = 1;
/**
* k_eTFSyncedMMMenuStep_MvM_Selecting_Mode = 2;
*/
public static final int k_eTFSyncedMMMenuStep_MvM_Selecting_Mode_VALUE = 2;
/**
* k_eTFSyncedMMMenuStep_MvM_Selecting_Tour = 3;
*/
public static final int k_eTFSyncedMMMenuStep_MvM_Selecting_Tour_VALUE = 3;
/**
* k_eTFSyncedMMMenuStep_MvM_Selecting_Missions = 4;
*/
public static final int k_eTFSyncedMMMenuStep_MvM_Selecting_Missions_VALUE = 4;
public final int getNumber() {
return value;
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static ETFSyncedMMMenuStep valueOf(int value) {
return forNumber(value);
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
*/
public static ETFSyncedMMMenuStep forNumber(int value) {
switch (value) {
case -1: return k_eTFSyncedMMMenuStep_Invalid;
case 0: return k_eTFSyncedMMMenuStep_None;
case 1: return k_eTFSyncedMMMenuStep_Configuring_Mode;
case 2: return k_eTFSyncedMMMenuStep_MvM_Selecting_Mode;
case 3: return k_eTFSyncedMMMenuStep_MvM_Selecting_Tour;
case 4: return k_eTFSyncedMMMenuStep_MvM_Selecting_Missions;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
ETFSyncedMMMenuStep> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
public ETFSyncedMMMenuStep findValueByNumber(int number) {
return ETFSyncedMMMenuStep.forNumber(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
return getDescriptor().getValues().get(ordinal());
}
public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.getDescriptor().getEnumTypes().get(2);
}
private static final ETFSyncedMMMenuStep[] VALUES = values();
public static ETFSyncedMMMenuStep 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 value;
private ETFSyncedMMMenuStep(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:ETFSyncedMMMenuStep)
}
/**
* Protobuf enum {@code ETFMatchGroup}
*/
public enum ETFMatchGroup
implements com.google.protobuf.ProtocolMessageEnum {
/**
* k_eTFMatchGroup_Invalid = -1;
*/
k_eTFMatchGroup_Invalid(0, -1),
/**
* k_eTFMatchGroup_MvM_Practice = 0;
*/
k_eTFMatchGroup_MvM_Practice(1, 0),
/**
* k_eTFMatchGroup_MvM_MannUp = 1;
*/
k_eTFMatchGroup_MvM_MannUp(2, 1),
/**
* k_eTFMatchGroup_Ladder_6v6 = 2;
*/
k_eTFMatchGroup_Ladder_6v6(7, 2),
/**
* k_eTFMatchGroup_Ladder_9v9 = 3;
*/
k_eTFMatchGroup_Ladder_9v9(8, 3),
/**
* k_eTFMatchGroup_Ladder_12v12 = 4;
*/
k_eTFMatchGroup_Ladder_12v12(9, 4),
/**
* k_eTFMatchGroup_Casual_6v6 = 5;
*/
k_eTFMatchGroup_Casual_6v6(13, 5),
/**
* k_eTFMatchGroup_Casual_9v9 = 6;
*/
k_eTFMatchGroup_Casual_9v9(14, 6),
/**
* k_eTFMatchGroup_Casual_12v12 = 7;
*/
k_eTFMatchGroup_Casual_12v12(15, 7),
/**
* k_eTFMatchGroup_Event_Placeholder = 8;
*/
k_eTFMatchGroup_Event_Placeholder(19, 8),
;
static {
com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
/* minor= */ 28,
/* patch= */ 0,
/* suffix= */ "",
ETFMatchGroup.class.getName());
}
/**
* k_eTFMatchGroup_First = 0;
*/
public static final ETFMatchGroup k_eTFMatchGroup_First = k_eTFMatchGroup_MvM_Practice;
/**
* k_eTFMatchGroup_MvM_Default = 0;
*/
public static final ETFMatchGroup k_eTFMatchGroup_MvM_Default = k_eTFMatchGroup_MvM_Practice;
/**
* k_eTFMatchGroup_MvM_First = 0;
*/
public static final ETFMatchGroup k_eTFMatchGroup_MvM_First = k_eTFMatchGroup_MvM_Practice;
/**
* k_eTFMatchGroup_MvM_Last = 1;
*/
public static final ETFMatchGroup k_eTFMatchGroup_MvM_Last = k_eTFMatchGroup_MvM_MannUp;
/**
* k_eTFMatchGroup_Ladder_Default = 2;
*/
public static final ETFMatchGroup k_eTFMatchGroup_Ladder_Default = k_eTFMatchGroup_Ladder_6v6;
/**
* k_eTFMatchGroup_Ladder_First = 2;
*/
public static final ETFMatchGroup k_eTFMatchGroup_Ladder_First = k_eTFMatchGroup_Ladder_6v6;
/**
* k_eTFMatchGroup_Ladder_Last = 4;
*/
public static final ETFMatchGroup k_eTFMatchGroup_Ladder_Last = k_eTFMatchGroup_Ladder_12v12;
/**
* k_eTFMatchGroup_Casual_Default = 7;
*/
public static final ETFMatchGroup k_eTFMatchGroup_Casual_Default = k_eTFMatchGroup_Casual_12v12;
/**
* k_eTFMatchGroup_Casual_First = 5;
*/
public static final ETFMatchGroup k_eTFMatchGroup_Casual_First = k_eTFMatchGroup_Casual_6v6;
/**
* k_eTFMatchGroup_Casual_Last = 7;
*/
public static final ETFMatchGroup k_eTFMatchGroup_Casual_Last = k_eTFMatchGroup_Casual_12v12;
/**
* k_eTFMatchGroup_Event_Default = 8;
*/
public static final ETFMatchGroup k_eTFMatchGroup_Event_Default = k_eTFMatchGroup_Event_Placeholder;
/**
* k_eTFMatchGroup_Event_First = 8;
*/
public static final ETFMatchGroup k_eTFMatchGroup_Event_First = k_eTFMatchGroup_Event_Placeholder;
/**
* k_eTFMatchGroup_Event_Last = 8;
*/
public static final ETFMatchGroup k_eTFMatchGroup_Event_Last = k_eTFMatchGroup_Event_Placeholder;
/**
* k_eTFMatchGroup_Invalid = -1;
*/
public static final int k_eTFMatchGroup_Invalid_VALUE = -1;
/**
* k_eTFMatchGroup_MvM_Practice = 0;
*/
public static final int k_eTFMatchGroup_MvM_Practice_VALUE = 0;
/**
* k_eTFMatchGroup_MvM_MannUp = 1;
*/
public static final int k_eTFMatchGroup_MvM_MannUp_VALUE = 1;
/**
* k_eTFMatchGroup_First = 0;
*/
public static final int k_eTFMatchGroup_First_VALUE = 0;
/**
* k_eTFMatchGroup_MvM_Default = 0;
*/
public static final int k_eTFMatchGroup_MvM_Default_VALUE = 0;
/**
* k_eTFMatchGroup_MvM_First = 0;
*/
public static final int k_eTFMatchGroup_MvM_First_VALUE = 0;
/**
* k_eTFMatchGroup_MvM_Last = 1;
*/
public static final int k_eTFMatchGroup_MvM_Last_VALUE = 1;
/**
* k_eTFMatchGroup_Ladder_6v6 = 2;
*/
public static final int k_eTFMatchGroup_Ladder_6v6_VALUE = 2;
/**
* k_eTFMatchGroup_Ladder_9v9 = 3;
*/
public static final int k_eTFMatchGroup_Ladder_9v9_VALUE = 3;
/**
* k_eTFMatchGroup_Ladder_12v12 = 4;
*/
public static final int k_eTFMatchGroup_Ladder_12v12_VALUE = 4;
/**
* k_eTFMatchGroup_Ladder_Default = 2;
*/
public static final int k_eTFMatchGroup_Ladder_Default_VALUE = 2;
/**
* k_eTFMatchGroup_Ladder_First = 2;
*/
public static final int k_eTFMatchGroup_Ladder_First_VALUE = 2;
/**
* k_eTFMatchGroup_Ladder_Last = 4;
*/
public static final int k_eTFMatchGroup_Ladder_Last_VALUE = 4;
/**
* k_eTFMatchGroup_Casual_6v6 = 5;
*/
public static final int k_eTFMatchGroup_Casual_6v6_VALUE = 5;
/**
* k_eTFMatchGroup_Casual_9v9 = 6;
*/
public static final int k_eTFMatchGroup_Casual_9v9_VALUE = 6;
/**
* k_eTFMatchGroup_Casual_12v12 = 7;
*/
public static final int k_eTFMatchGroup_Casual_12v12_VALUE = 7;
/**
* k_eTFMatchGroup_Casual_Default = 7;
*/
public static final int k_eTFMatchGroup_Casual_Default_VALUE = 7;
/**
* k_eTFMatchGroup_Casual_First = 5;
*/
public static final int k_eTFMatchGroup_Casual_First_VALUE = 5;
/**
* k_eTFMatchGroup_Casual_Last = 7;
*/
public static final int k_eTFMatchGroup_Casual_Last_VALUE = 7;
/**
* k_eTFMatchGroup_Event_Placeholder = 8;
*/
public static final int k_eTFMatchGroup_Event_Placeholder_VALUE = 8;
/**
* k_eTFMatchGroup_Event_Default = 8;
*/
public static final int k_eTFMatchGroup_Event_Default_VALUE = 8;
/**
* k_eTFMatchGroup_Event_First = 8;
*/
public static final int k_eTFMatchGroup_Event_First_VALUE = 8;
/**
* k_eTFMatchGroup_Event_Last = 8;
*/
public static final int k_eTFMatchGroup_Event_Last_VALUE = 8;
public final int getNumber() {
return value;
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static ETFMatchGroup valueOf(int value) {
return forNumber(value);
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
*/
public static ETFMatchGroup forNumber(int value) {
switch (value) {
case -1: return k_eTFMatchGroup_Invalid;
case 0: return k_eTFMatchGroup_MvM_Practice;
case 1: return k_eTFMatchGroup_MvM_MannUp;
case 2: return k_eTFMatchGroup_Ladder_6v6;
case 3: return k_eTFMatchGroup_Ladder_9v9;
case 4: return k_eTFMatchGroup_Ladder_12v12;
case 5: return k_eTFMatchGroup_Casual_6v6;
case 6: return k_eTFMatchGroup_Casual_9v9;
case 7: return k_eTFMatchGroup_Casual_12v12;
case 8: return k_eTFMatchGroup_Event_Placeholder;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
ETFMatchGroup> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
public ETFMatchGroup findValueByNumber(int number) {
return ETFMatchGroup.forNumber(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 in.dragonbra.javasteam.protobufs.tf.TfGcmessages.getDescriptor().getEnumTypes().get(3);
}
private static final ETFMatchGroup[] VALUES = getStaticValuesArray();
private static ETFMatchGroup[] getStaticValuesArray() {
return new ETFMatchGroup[] {
k_eTFMatchGroup_Invalid, k_eTFMatchGroup_MvM_Practice, k_eTFMatchGroup_MvM_MannUp, k_eTFMatchGroup_First, k_eTFMatchGroup_MvM_Default, k_eTFMatchGroup_MvM_First, k_eTFMatchGroup_MvM_Last, k_eTFMatchGroup_Ladder_6v6, k_eTFMatchGroup_Ladder_9v9, k_eTFMatchGroup_Ladder_12v12, k_eTFMatchGroup_Ladder_Default, k_eTFMatchGroup_Ladder_First, k_eTFMatchGroup_Ladder_Last, k_eTFMatchGroup_Casual_6v6, k_eTFMatchGroup_Casual_9v9, k_eTFMatchGroup_Casual_12v12, k_eTFMatchGroup_Casual_Default, k_eTFMatchGroup_Casual_First, k_eTFMatchGroup_Casual_Last, k_eTFMatchGroup_Event_Placeholder, k_eTFMatchGroup_Event_Default, k_eTFMatchGroup_Event_First, k_eTFMatchGroup_Event_Last,
};
}
public static ETFMatchGroup 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 ETFMatchGroup(int index, int value) {
this.index = index;
this.value = value;
}
// @@protoc_insertion_point(enum_scope:ETFMatchGroup)
}
/**
* Protobuf enum {@code ETFPartyChatType}
*/
public enum ETFPartyChatType
implements com.google.protobuf.ProtocolMessageEnum {
/**
* k_eTFPartyChatType_Invalid = 0;
*/
k_eTFPartyChatType_Invalid(0),
/**
* k_eTFPartyChatType_MemberChat = 1;
*/
k_eTFPartyChatType_MemberChat(1),
/**
* k_eTFPartyChatType_Synthetic_MemberJoin = 1000;
*/
k_eTFPartyChatType_Synthetic_MemberJoin(1000),
/**
* k_eTFPartyChatType_Synthetic_MemberLeave = 1001;
*/
k_eTFPartyChatType_Synthetic_MemberLeave(1001),
/**
* k_eTFPartyChatType_Synthetic_SendFailed = 1002;
*/
k_eTFPartyChatType_Synthetic_SendFailed(1002),
/**
* k_eTFPartyChatType_Synthetic_MemberOnline = 1003;
*/
k_eTFPartyChatType_Synthetic_MemberOnline(1003),
/**
* k_eTFPartyChatType_Synthetic_MemberOffline = 1004;
*/
k_eTFPartyChatType_Synthetic_MemberOffline(1004),
;
static {
com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
/* minor= */ 28,
/* patch= */ 0,
/* suffix= */ "",
ETFPartyChatType.class.getName());
}
/**
* k_eTFPartyChatType_Invalid = 0;
*/
public static final int k_eTFPartyChatType_Invalid_VALUE = 0;
/**
* k_eTFPartyChatType_MemberChat = 1;
*/
public static final int k_eTFPartyChatType_MemberChat_VALUE = 1;
/**
* k_eTFPartyChatType_Synthetic_MemberJoin = 1000;
*/
public static final int k_eTFPartyChatType_Synthetic_MemberJoin_VALUE = 1000;
/**
* k_eTFPartyChatType_Synthetic_MemberLeave = 1001;
*/
public static final int k_eTFPartyChatType_Synthetic_MemberLeave_VALUE = 1001;
/**
* k_eTFPartyChatType_Synthetic_SendFailed = 1002;
*/
public static final int k_eTFPartyChatType_Synthetic_SendFailed_VALUE = 1002;
/**
* k_eTFPartyChatType_Synthetic_MemberOnline = 1003;
*/
public static final int k_eTFPartyChatType_Synthetic_MemberOnline_VALUE = 1003;
/**
* k_eTFPartyChatType_Synthetic_MemberOffline = 1004;
*/
public static final int k_eTFPartyChatType_Synthetic_MemberOffline_VALUE = 1004;
public final int getNumber() {
return value;
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static ETFPartyChatType valueOf(int value) {
return forNumber(value);
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
*/
public static ETFPartyChatType forNumber(int value) {
switch (value) {
case 0: return k_eTFPartyChatType_Invalid;
case 1: return k_eTFPartyChatType_MemberChat;
case 1000: return k_eTFPartyChatType_Synthetic_MemberJoin;
case 1001: return k_eTFPartyChatType_Synthetic_MemberLeave;
case 1002: return k_eTFPartyChatType_Synthetic_SendFailed;
case 1003: return k_eTFPartyChatType_Synthetic_MemberOnline;
case 1004: return k_eTFPartyChatType_Synthetic_MemberOffline;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
ETFPartyChatType> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
public ETFPartyChatType findValueByNumber(int number) {
return ETFPartyChatType.forNumber(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
return getDescriptor().getValues().get(ordinal());
}
public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.getDescriptor().getEnumTypes().get(4);
}
private static final ETFPartyChatType[] VALUES = values();
public static ETFPartyChatType 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 value;
private ETFPartyChatType(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:ETFPartyChatType)
}
/**
* Protobuf enum {@code TF_GC_GameState}
*/
public enum TF_GC_GameState
implements com.google.protobuf.ProtocolMessageEnum {
/**
* TF_GC_GAMESTATE_STATE_INIT = 0;
*/
TF_GC_GAMESTATE_STATE_INIT(0),
/**
* TF_GC_GAMESTATE_WAIT_FOR_PLAYERS_TO_LOAD = 1;
*/
TF_GC_GAMESTATE_WAIT_FOR_PLAYERS_TO_LOAD(1),
/**
* TF_GC_GAMESTATE_STRATEGY_TIME = 3;
*/
TF_GC_GAMESTATE_STRATEGY_TIME(3),
/**
* TF_GC_GAMESTATE_GAME_IN_PROGRESS = 5;
*/
TF_GC_GAMESTATE_GAME_IN_PROGRESS(5),
/**
* TF_GC_GAMESTATE_POST_GAME = 6;
*/
TF_GC_GAMESTATE_POST_GAME(6),
/**
* TF_GC_GAMESTATE_DISCONNECT = 7;
*/
TF_GC_GAMESTATE_DISCONNECT(7),
/**
* TF_GC_GAMESTATE_LAST = 8;
*/
TF_GC_GAMESTATE_LAST(8),
;
static {
com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
/* minor= */ 28,
/* patch= */ 0,
/* suffix= */ "",
TF_GC_GameState.class.getName());
}
/**
* TF_GC_GAMESTATE_STATE_INIT = 0;
*/
public static final int TF_GC_GAMESTATE_STATE_INIT_VALUE = 0;
/**
* TF_GC_GAMESTATE_WAIT_FOR_PLAYERS_TO_LOAD = 1;
*/
public static final int TF_GC_GAMESTATE_WAIT_FOR_PLAYERS_TO_LOAD_VALUE = 1;
/**
* TF_GC_GAMESTATE_STRATEGY_TIME = 3;
*/
public static final int TF_GC_GAMESTATE_STRATEGY_TIME_VALUE = 3;
/**
* TF_GC_GAMESTATE_GAME_IN_PROGRESS = 5;
*/
public static final int TF_GC_GAMESTATE_GAME_IN_PROGRESS_VALUE = 5;
/**
* TF_GC_GAMESTATE_POST_GAME = 6;
*/
public static final int TF_GC_GAMESTATE_POST_GAME_VALUE = 6;
/**
* TF_GC_GAMESTATE_DISCONNECT = 7;
*/
public static final int TF_GC_GAMESTATE_DISCONNECT_VALUE = 7;
/**
* TF_GC_GAMESTATE_LAST = 8;
*/
public static final int TF_GC_GAMESTATE_LAST_VALUE = 8;
public final int getNumber() {
return value;
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static TF_GC_GameState valueOf(int value) {
return forNumber(value);
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
*/
public static TF_GC_GameState forNumber(int value) {
switch (value) {
case 0: return TF_GC_GAMESTATE_STATE_INIT;
case 1: return TF_GC_GAMESTATE_WAIT_FOR_PLAYERS_TO_LOAD;
case 3: return TF_GC_GAMESTATE_STRATEGY_TIME;
case 5: return TF_GC_GAMESTATE_GAME_IN_PROGRESS;
case 6: return TF_GC_GAMESTATE_POST_GAME;
case 7: return TF_GC_GAMESTATE_DISCONNECT;
case 8: return TF_GC_GAMESTATE_LAST;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
TF_GC_GameState> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
public TF_GC_GameState findValueByNumber(int number) {
return TF_GC_GameState.forNumber(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
return getDescriptor().getValues().get(ordinal());
}
public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.getDescriptor().getEnumTypes().get(5);
}
private static final TF_GC_GameState[] VALUES = values();
public static TF_GC_GameState 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 value;
private TF_GC_GameState(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:TF_GC_GameState)
}
/**
* Protobuf enum {@code TF_GC_TEAM}
*/
public enum TF_GC_TEAM
implements com.google.protobuf.ProtocolMessageEnum {
/**
* TF_GC_TEAM_DEFENDERS = 0;
*/
TF_GC_TEAM_DEFENDERS(0),
/**
* TF_GC_TEAM_INVADERS = 1;
*/
TF_GC_TEAM_INVADERS(1),
/**
* TF_GC_TEAM_BROADCASTER = 2;
*/
TF_GC_TEAM_BROADCASTER(2),
/**
* TF_GC_TEAM_SPECTATOR = 3;
*/
TF_GC_TEAM_SPECTATOR(3),
/**
* TF_GC_TEAM_PLAYER_POOL = 4;
*/
TF_GC_TEAM_PLAYER_POOL(4),
/**
* TF_GC_TEAM_NOTEAM = 5;
*/
TF_GC_TEAM_NOTEAM(5),
;
static {
com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
/* minor= */ 28,
/* patch= */ 0,
/* suffix= */ "",
TF_GC_TEAM.class.getName());
}
/**
* TF_GC_TEAM_DEFENDERS = 0;
*/
public static final int TF_GC_TEAM_DEFENDERS_VALUE = 0;
/**
* TF_GC_TEAM_INVADERS = 1;
*/
public static final int TF_GC_TEAM_INVADERS_VALUE = 1;
/**
* TF_GC_TEAM_BROADCASTER = 2;
*/
public static final int TF_GC_TEAM_BROADCASTER_VALUE = 2;
/**
* TF_GC_TEAM_SPECTATOR = 3;
*/
public static final int TF_GC_TEAM_SPECTATOR_VALUE = 3;
/**
* TF_GC_TEAM_PLAYER_POOL = 4;
*/
public static final int TF_GC_TEAM_PLAYER_POOL_VALUE = 4;
/**
* TF_GC_TEAM_NOTEAM = 5;
*/
public static final int TF_GC_TEAM_NOTEAM_VALUE = 5;
public final int getNumber() {
return value;
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static TF_GC_TEAM valueOf(int value) {
return forNumber(value);
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
*/
public static TF_GC_TEAM forNumber(int value) {
switch (value) {
case 0: return TF_GC_TEAM_DEFENDERS;
case 1: return TF_GC_TEAM_INVADERS;
case 2: return TF_GC_TEAM_BROADCASTER;
case 3: return TF_GC_TEAM_SPECTATOR;
case 4: return TF_GC_TEAM_PLAYER_POOL;
case 5: return TF_GC_TEAM_NOTEAM;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
TF_GC_TEAM> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
public TF_GC_TEAM findValueByNumber(int number) {
return TF_GC_TEAM.forNumber(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
return getDescriptor().getValues().get(ordinal());
}
public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.getDescriptor().getEnumTypes().get(6);
}
private static final TF_GC_TEAM[] VALUES = values();
public static TF_GC_TEAM 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 value;
private TF_GC_TEAM(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:TF_GC_TEAM)
}
/**
* Protobuf enum {@code TFMatchLeaveReason}
*/
public enum TFMatchLeaveReason
implements com.google.protobuf.ProtocolMessageEnum {
/**
* TFMatchLeaveReason_UNSPECIFIED = 0;
*/
TFMatchLeaveReason_UNSPECIFIED(0),
/**
* TFMatchLeaveReason_VOTE_KICK = 1;
*/
TFMatchLeaveReason_VOTE_KICK(1),
/**
* TFMatchLeaveReason_IDLE = 2;
*/
TFMatchLeaveReason_IDLE(2),
/**
* TFMatchLeaveReason_ADMIN_KICK = 3;
*/
TFMatchLeaveReason_ADMIN_KICK(3),
/**
* TFMatchLeaveReason_AWOL = 4;
*/
TFMatchLeaveReason_AWOL(4),
/**
* TFMatchLeaveReason_NO_SHOW = 5;
*/
TFMatchLeaveReason_NO_SHOW(5),
/**
* TFMatchLeaveReason_GC_REMOVED = 6;
*/
TFMatchLeaveReason_GC_REMOVED(6),
;
static {
com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
/* minor= */ 28,
/* patch= */ 0,
/* suffix= */ "",
TFMatchLeaveReason.class.getName());
}
/**
* TFMatchLeaveReason_UNSPECIFIED = 0;
*/
public static final int TFMatchLeaveReason_UNSPECIFIED_VALUE = 0;
/**
* TFMatchLeaveReason_VOTE_KICK = 1;
*/
public static final int TFMatchLeaveReason_VOTE_KICK_VALUE = 1;
/**
* TFMatchLeaveReason_IDLE = 2;
*/
public static final int TFMatchLeaveReason_IDLE_VALUE = 2;
/**
* TFMatchLeaveReason_ADMIN_KICK = 3;
*/
public static final int TFMatchLeaveReason_ADMIN_KICK_VALUE = 3;
/**
* TFMatchLeaveReason_AWOL = 4;
*/
public static final int TFMatchLeaveReason_AWOL_VALUE = 4;
/**
* TFMatchLeaveReason_NO_SHOW = 5;
*/
public static final int TFMatchLeaveReason_NO_SHOW_VALUE = 5;
/**
* TFMatchLeaveReason_GC_REMOVED = 6;
*/
public static final int TFMatchLeaveReason_GC_REMOVED_VALUE = 6;
public final int getNumber() {
return value;
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static TFMatchLeaveReason valueOf(int value) {
return forNumber(value);
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
*/
public static TFMatchLeaveReason forNumber(int value) {
switch (value) {
case 0: return TFMatchLeaveReason_UNSPECIFIED;
case 1: return TFMatchLeaveReason_VOTE_KICK;
case 2: return TFMatchLeaveReason_IDLE;
case 3: return TFMatchLeaveReason_ADMIN_KICK;
case 4: return TFMatchLeaveReason_AWOL;
case 5: return TFMatchLeaveReason_NO_SHOW;
case 6: return TFMatchLeaveReason_GC_REMOVED;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
TFMatchLeaveReason> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
public TFMatchLeaveReason findValueByNumber(int number) {
return TFMatchLeaveReason.forNumber(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
return getDescriptor().getValues().get(ordinal());
}
public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.getDescriptor().getEnumTypes().get(7);
}
private static final TFMatchLeaveReason[] VALUES = values();
public static TFMatchLeaveReason 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 value;
private TFMatchLeaveReason(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:TFMatchLeaveReason)
}
/**
* Protobuf enum {@code TFVoteKickReason}
*/
public enum TFVoteKickReason
implements com.google.protobuf.ProtocolMessageEnum {
/**
* TFVoteKickReason_Other = 0;
*/
TFVoteKickReason_Other(0),
/**
* TFVoteKickReason_Cheating = 1;
*/
TFVoteKickReason_Cheating(1),
/**
* TFVoteKickReason_Idle = 2;
*/
TFVoteKickReason_Idle(2),
/**
* TFVoteKickReason_Scamming = 3;
*/
TFVoteKickReason_Scamming(3),
;
static {
com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
/* minor= */ 28,
/* patch= */ 0,
/* suffix= */ "",
TFVoteKickReason.class.getName());
}
/**
* TFVoteKickReason_Other = 0;
*/
public static final int TFVoteKickReason_Other_VALUE = 0;
/**
* TFVoteKickReason_Cheating = 1;
*/
public static final int TFVoteKickReason_Cheating_VALUE = 1;
/**
* TFVoteKickReason_Idle = 2;
*/
public static final int TFVoteKickReason_Idle_VALUE = 2;
/**
* TFVoteKickReason_Scamming = 3;
*/
public static final int TFVoteKickReason_Scamming_VALUE = 3;
public final int getNumber() {
return value;
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static TFVoteKickReason valueOf(int value) {
return forNumber(value);
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
*/
public static TFVoteKickReason forNumber(int value) {
switch (value) {
case 0: return TFVoteKickReason_Other;
case 1: return TFVoteKickReason_Cheating;
case 2: return TFVoteKickReason_Idle;
case 3: return TFVoteKickReason_Scamming;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
TFVoteKickReason> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
public TFVoteKickReason findValueByNumber(int number) {
return TFVoteKickReason.forNumber(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
return getDescriptor().getValues().get(ordinal());
}
public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.getDescriptor().getEnumTypes().get(8);
}
private static final TFVoteKickReason[] VALUES = values();
public static TFVoteKickReason 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 value;
private TFVoteKickReason(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:TFVoteKickReason)
}
/**
* Protobuf enum {@code ServerMatchmakingState}
*/
public enum ServerMatchmakingState
implements com.google.protobuf.ProtocolMessageEnum {
/**
* ServerMatchmakingState_INVALID = 0;
*/
ServerMatchmakingState_INVALID(0),
/**
* ServerMatchmakingState_NOT_PARTICIPATING = 1;
*/
ServerMatchmakingState_NOT_PARTICIPATING(1),
/**
* ServerMatchmakingState_EMPTY = 2;
*/
ServerMatchmakingState_EMPTY(2),
/**
* ServerMatchmakingState_ACTIVE_MATCH_REQUESTING_LATE_JOIN = 3;
*/
ServerMatchmakingState_ACTIVE_MATCH_REQUESTING_LATE_JOIN(3),
/**
* ServerMatchmakingState_ACTIVE_MATCH = 4;
*/
ServerMatchmakingState_ACTIVE_MATCH(4),
;
static {
com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
/* minor= */ 28,
/* patch= */ 0,
/* suffix= */ "",
ServerMatchmakingState.class.getName());
}
/**
* ServerMatchmakingState_INVALID = 0;
*/
public static final int ServerMatchmakingState_INVALID_VALUE = 0;
/**
* ServerMatchmakingState_NOT_PARTICIPATING = 1;
*/
public static final int ServerMatchmakingState_NOT_PARTICIPATING_VALUE = 1;
/**
* ServerMatchmakingState_EMPTY = 2;
*/
public static final int ServerMatchmakingState_EMPTY_VALUE = 2;
/**
* ServerMatchmakingState_ACTIVE_MATCH_REQUESTING_LATE_JOIN = 3;
*/
public static final int ServerMatchmakingState_ACTIVE_MATCH_REQUESTING_LATE_JOIN_VALUE = 3;
/**
* ServerMatchmakingState_ACTIVE_MATCH = 4;
*/
public static final int ServerMatchmakingState_ACTIVE_MATCH_VALUE = 4;
public final int getNumber() {
return value;
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static ServerMatchmakingState valueOf(int value) {
return forNumber(value);
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
*/
public static ServerMatchmakingState forNumber(int value) {
switch (value) {
case 0: return ServerMatchmakingState_INVALID;
case 1: return ServerMatchmakingState_NOT_PARTICIPATING;
case 2: return ServerMatchmakingState_EMPTY;
case 3: return ServerMatchmakingState_ACTIVE_MATCH_REQUESTING_LATE_JOIN;
case 4: return ServerMatchmakingState_ACTIVE_MATCH;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
ServerMatchmakingState> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
public ServerMatchmakingState findValueByNumber(int number) {
return ServerMatchmakingState.forNumber(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
return getDescriptor().getValues().get(ordinal());
}
public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.getDescriptor().getEnumTypes().get(9);
}
private static final ServerMatchmakingState[] VALUES = values();
public static ServerMatchmakingState 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 value;
private ServerMatchmakingState(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:ServerMatchmakingState)
}
/**
* Protobuf enum {@code SurveyQuestionType}
*/
public enum SurveyQuestionType
implements com.google.protobuf.ProtocolMessageEnum {
/**
* QUESTION_MATCH_QUALITY = 0;
*/
QUESTION_MATCH_QUALITY(0),
/**
* QUESTION_MAP_QUALITY = 1;
*/
QUESTION_MAP_QUALITY(1),
/**
* QUESTION_COMP_INQUIRY = 2;
*/
QUESTION_COMP_INQUIRY(2),
/**
* QUESTION_CASUAL_INQUIRY = 3;
*/
QUESTION_CASUAL_INQUIRY(3),
/**
* QUESTION_RANDOM_CRIT = 4;
*/
QUESTION_RANDOM_CRIT(4),
;
static {
com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
/* minor= */ 28,
/* patch= */ 0,
/* suffix= */ "",
SurveyQuestionType.class.getName());
}
/**
* QUESTION_MATCH_QUALITY = 0;
*/
public static final int QUESTION_MATCH_QUALITY_VALUE = 0;
/**
* QUESTION_MAP_QUALITY = 1;
*/
public static final int QUESTION_MAP_QUALITY_VALUE = 1;
/**
* QUESTION_COMP_INQUIRY = 2;
*/
public static final int QUESTION_COMP_INQUIRY_VALUE = 2;
/**
* QUESTION_CASUAL_INQUIRY = 3;
*/
public static final int QUESTION_CASUAL_INQUIRY_VALUE = 3;
/**
* QUESTION_RANDOM_CRIT = 4;
*/
public static final int QUESTION_RANDOM_CRIT_VALUE = 4;
public final int getNumber() {
return value;
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static SurveyQuestionType valueOf(int value) {
return forNumber(value);
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
*/
public static SurveyQuestionType forNumber(int value) {
switch (value) {
case 0: return QUESTION_MATCH_QUALITY;
case 1: return QUESTION_MAP_QUALITY;
case 2: return QUESTION_COMP_INQUIRY;
case 3: return QUESTION_CASUAL_INQUIRY;
case 4: return QUESTION_RANDOM_CRIT;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
SurveyQuestionType> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
public SurveyQuestionType findValueByNumber(int number) {
return SurveyQuestionType.forNumber(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
return getDescriptor().getValues().get(ordinal());
}
public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.getDescriptor().getEnumTypes().get(10);
}
private static final SurveyQuestionType[] VALUES = values();
public static SurveyQuestionType 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 value;
private SurveyQuestionType(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:SurveyQuestionType)
}
public interface CMsgTFGoldenWrenchBroadcastOrBuilder extends
// @@protoc_insertion_point(interface_extends:CMsgTFGoldenWrenchBroadcast)
com.google.protobuf.MessageOrBuilder {
/**
* optional int32 wrench_number = 1;
* @return Whether the wrenchNumber field is set.
*/
boolean hasWrenchNumber();
/**
* optional int32 wrench_number = 1;
* @return The wrenchNumber.
*/
int getWrenchNumber();
/**
* optional bool deleted = 2;
* @return Whether the deleted field is set.
*/
boolean hasDeleted();
/**
* optional bool deleted = 2;
* @return The deleted.
*/
boolean getDeleted();
/**
* optional string user_name = 3;
* @return Whether the userName field is set.
*/
boolean hasUserName();
/**
* optional string user_name = 3;
* @return The userName.
*/
java.lang.String getUserName();
/**
* optional string user_name = 3;
* @return The bytes for userName.
*/
com.google.protobuf.ByteString
getUserNameBytes();
}
/**
* Protobuf type {@code CMsgTFGoldenWrenchBroadcast}
*/
public static final class CMsgTFGoldenWrenchBroadcast extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:CMsgTFGoldenWrenchBroadcast)
CMsgTFGoldenWrenchBroadcastOrBuilder {
private static final long serialVersionUID = 0L;
static {
com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
/* minor= */ 28,
/* patch= */ 0,
/* suffix= */ "",
CMsgTFGoldenWrenchBroadcast.class.getName());
}
// Use CMsgTFGoldenWrenchBroadcast.newBuilder() to construct.
private CMsgTFGoldenWrenchBroadcast(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private CMsgTFGoldenWrenchBroadcast() {
userName_ = "";
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CMsgTFGoldenWrenchBroadcast_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CMsgTFGoldenWrenchBroadcast_fieldAccessorTable
.ensureFieldAccessorsInitialized(
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFGoldenWrenchBroadcast.class, in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFGoldenWrenchBroadcast.Builder.class);
}
private int bitField0_;
public static final int WRENCH_NUMBER_FIELD_NUMBER = 1;
private int wrenchNumber_ = 0;
/**
* optional int32 wrench_number = 1;
* @return Whether the wrenchNumber field is set.
*/
@java.lang.Override
public boolean hasWrenchNumber() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional int32 wrench_number = 1;
* @return The wrenchNumber.
*/
@java.lang.Override
public int getWrenchNumber() {
return wrenchNumber_;
}
public static final int DELETED_FIELD_NUMBER = 2;
private boolean deleted_ = false;
/**
* optional bool deleted = 2;
* @return Whether the deleted field is set.
*/
@java.lang.Override
public boolean hasDeleted() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional bool deleted = 2;
* @return The deleted.
*/
@java.lang.Override
public boolean getDeleted() {
return deleted_;
}
public static final int USER_NAME_FIELD_NUMBER = 3;
@SuppressWarnings("serial")
private volatile java.lang.Object userName_ = "";
/**
* optional string user_name = 3;
* @return Whether the userName field is set.
*/
@java.lang.Override
public boolean hasUserName() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional string user_name = 3;
* @return The userName.
*/
@java.lang.Override
public java.lang.String getUserName() {
java.lang.Object ref = userName_;
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()) {
userName_ = s;
}
return s;
}
}
/**
* optional string user_name = 3;
* @return The bytes for userName.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getUserNameBytes() {
java.lang.Object ref = userName_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
userName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeInt32(1, wrenchNumber_);
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeBool(2, deleted_);
}
if (((bitField0_ & 0x00000004) != 0)) {
com.google.protobuf.GeneratedMessage.writeString(output, 3, userName_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(1, wrenchNumber_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(2, deleted_);
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.GeneratedMessage.computeStringSize(3, userName_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFGoldenWrenchBroadcast)) {
return super.equals(obj);
}
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFGoldenWrenchBroadcast other = (in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFGoldenWrenchBroadcast) obj;
if (hasWrenchNumber() != other.hasWrenchNumber()) return false;
if (hasWrenchNumber()) {
if (getWrenchNumber()
!= other.getWrenchNumber()) return false;
}
if (hasDeleted() != other.hasDeleted()) return false;
if (hasDeleted()) {
if (getDeleted()
!= other.getDeleted()) return false;
}
if (hasUserName() != other.hasUserName()) return false;
if (hasUserName()) {
if (!getUserName()
.equals(other.getUserName())) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasWrenchNumber()) {
hash = (37 * hash) + WRENCH_NUMBER_FIELD_NUMBER;
hash = (53 * hash) + getWrenchNumber();
}
if (hasDeleted()) {
hash = (37 * hash) + DELETED_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getDeleted());
}
if (hasUserName()) {
hash = (37 * hash) + USER_NAME_FIELD_NUMBER;
hash = (53 * hash) + getUserName().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFGoldenWrenchBroadcast parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFGoldenWrenchBroadcast parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFGoldenWrenchBroadcast parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFGoldenWrenchBroadcast parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFGoldenWrenchBroadcast parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFGoldenWrenchBroadcast parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFGoldenWrenchBroadcast parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFGoldenWrenchBroadcast parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFGoldenWrenchBroadcast parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFGoldenWrenchBroadcast parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFGoldenWrenchBroadcast parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFGoldenWrenchBroadcast parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFGoldenWrenchBroadcast prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code CMsgTFGoldenWrenchBroadcast}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:CMsgTFGoldenWrenchBroadcast)
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFGoldenWrenchBroadcastOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CMsgTFGoldenWrenchBroadcast_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CMsgTFGoldenWrenchBroadcast_fieldAccessorTable
.ensureFieldAccessorsInitialized(
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFGoldenWrenchBroadcast.class, in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFGoldenWrenchBroadcast.Builder.class);
}
// Construct using in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFGoldenWrenchBroadcast.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
wrenchNumber_ = 0;
deleted_ = false;
userName_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CMsgTFGoldenWrenchBroadcast_descriptor;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFGoldenWrenchBroadcast getDefaultInstanceForType() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFGoldenWrenchBroadcast.getDefaultInstance();
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFGoldenWrenchBroadcast build() {
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFGoldenWrenchBroadcast result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFGoldenWrenchBroadcast buildPartial() {
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFGoldenWrenchBroadcast result = new in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFGoldenWrenchBroadcast(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFGoldenWrenchBroadcast result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.wrenchNumber_ = wrenchNumber_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.deleted_ = deleted_;
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.userName_ = userName_;
to_bitField0_ |= 0x00000004;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFGoldenWrenchBroadcast) {
return mergeFrom((in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFGoldenWrenchBroadcast)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFGoldenWrenchBroadcast other) {
if (other == in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFGoldenWrenchBroadcast.getDefaultInstance()) return this;
if (other.hasWrenchNumber()) {
setWrenchNumber(other.getWrenchNumber());
}
if (other.hasDeleted()) {
setDeleted(other.getDeleted());
}
if (other.hasUserName()) {
userName_ = other.userName_;
bitField0_ |= 0x00000004;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8: {
wrenchNumber_ = input.readInt32();
bitField0_ |= 0x00000001;
break;
} // case 8
case 16: {
deleted_ = input.readBool();
bitField0_ |= 0x00000002;
break;
} // case 16
case 26: {
userName_ = input.readBytes();
bitField0_ |= 0x00000004;
break;
} // case 26
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private int wrenchNumber_ ;
/**
* optional int32 wrench_number = 1;
* @return Whether the wrenchNumber field is set.
*/
@java.lang.Override
public boolean hasWrenchNumber() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional int32 wrench_number = 1;
* @return The wrenchNumber.
*/
@java.lang.Override
public int getWrenchNumber() {
return wrenchNumber_;
}
/**
* optional int32 wrench_number = 1;
* @param value The wrenchNumber to set.
* @return This builder for chaining.
*/
public Builder setWrenchNumber(int value) {
wrenchNumber_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* optional int32 wrench_number = 1;
* @return This builder for chaining.
*/
public Builder clearWrenchNumber() {
bitField0_ = (bitField0_ & ~0x00000001);
wrenchNumber_ = 0;
onChanged();
return this;
}
private boolean deleted_ ;
/**
* optional bool deleted = 2;
* @return Whether the deleted field is set.
*/
@java.lang.Override
public boolean hasDeleted() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional bool deleted = 2;
* @return The deleted.
*/
@java.lang.Override
public boolean getDeleted() {
return deleted_;
}
/**
* optional bool deleted = 2;
* @param value The deleted to set.
* @return This builder for chaining.
*/
public Builder setDeleted(boolean value) {
deleted_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* optional bool deleted = 2;
* @return This builder for chaining.
*/
public Builder clearDeleted() {
bitField0_ = (bitField0_ & ~0x00000002);
deleted_ = false;
onChanged();
return this;
}
private java.lang.Object userName_ = "";
/**
* optional string user_name = 3;
* @return Whether the userName field is set.
*/
public boolean hasUserName() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional string user_name = 3;
* @return The userName.
*/
public java.lang.String getUserName() {
java.lang.Object ref = userName_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
userName_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string user_name = 3;
* @return The bytes for userName.
*/
public com.google.protobuf.ByteString
getUserNameBytes() {
java.lang.Object ref = userName_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
userName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string user_name = 3;
* @param value The userName to set.
* @return This builder for chaining.
*/
public Builder setUserName(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
userName_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* optional string user_name = 3;
* @return This builder for chaining.
*/
public Builder clearUserName() {
userName_ = getDefaultInstance().getUserName();
bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
return this;
}
/**
* optional string user_name = 3;
* @param value The bytes for userName to set.
* @return This builder for chaining.
*/
public Builder setUserNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
userName_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:CMsgTFGoldenWrenchBroadcast)
}
// @@protoc_insertion_point(class_scope:CMsgTFGoldenWrenchBroadcast)
private static final in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFGoldenWrenchBroadcast DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFGoldenWrenchBroadcast();
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFGoldenWrenchBroadcast getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public CMsgTFGoldenWrenchBroadcast parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFGoldenWrenchBroadcast getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface CMsgTFSaxxyBroadcastOrBuilder extends
// @@protoc_insertion_point(interface_extends:CMsgTFSaxxyBroadcast)
com.google.protobuf.MessageOrBuilder {
/**
* optional int32 category_number = 1;
* @return Whether the categoryNumber field is set.
*/
boolean hasCategoryNumber();
/**
* optional int32 category_number = 1;
* @return The categoryNumber.
*/
int getCategoryNumber();
/**
* optional string user_name = 2;
* @return Whether the userName field is set.
*/
boolean hasUserName();
/**
* optional string user_name = 2;
* @return The userName.
*/
java.lang.String getUserName();
/**
* optional string user_name = 2;
* @return The bytes for userName.
*/
com.google.protobuf.ByteString
getUserNameBytes();
}
/**
* Protobuf type {@code CMsgTFSaxxyBroadcast}
*/
public static final class CMsgTFSaxxyBroadcast extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:CMsgTFSaxxyBroadcast)
CMsgTFSaxxyBroadcastOrBuilder {
private static final long serialVersionUID = 0L;
static {
com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
/* minor= */ 28,
/* patch= */ 0,
/* suffix= */ "",
CMsgTFSaxxyBroadcast.class.getName());
}
// Use CMsgTFSaxxyBroadcast.newBuilder() to construct.
private CMsgTFSaxxyBroadcast(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private CMsgTFSaxxyBroadcast() {
userName_ = "";
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CMsgTFSaxxyBroadcast_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CMsgTFSaxxyBroadcast_fieldAccessorTable
.ensureFieldAccessorsInitialized(
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFSaxxyBroadcast.class, in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFSaxxyBroadcast.Builder.class);
}
private int bitField0_;
public static final int CATEGORY_NUMBER_FIELD_NUMBER = 1;
private int categoryNumber_ = 0;
/**
* optional int32 category_number = 1;
* @return Whether the categoryNumber field is set.
*/
@java.lang.Override
public boolean hasCategoryNumber() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional int32 category_number = 1;
* @return The categoryNumber.
*/
@java.lang.Override
public int getCategoryNumber() {
return categoryNumber_;
}
public static final int USER_NAME_FIELD_NUMBER = 2;
@SuppressWarnings("serial")
private volatile java.lang.Object userName_ = "";
/**
* optional string user_name = 2;
* @return Whether the userName field is set.
*/
@java.lang.Override
public boolean hasUserName() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional string user_name = 2;
* @return The userName.
*/
@java.lang.Override
public java.lang.String getUserName() {
java.lang.Object ref = userName_;
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()) {
userName_ = s;
}
return s;
}
}
/**
* optional string user_name = 2;
* @return The bytes for userName.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getUserNameBytes() {
java.lang.Object ref = userName_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
userName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeInt32(1, categoryNumber_);
}
if (((bitField0_ & 0x00000002) != 0)) {
com.google.protobuf.GeneratedMessage.writeString(output, 2, userName_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(1, categoryNumber_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.GeneratedMessage.computeStringSize(2, userName_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFSaxxyBroadcast)) {
return super.equals(obj);
}
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFSaxxyBroadcast other = (in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFSaxxyBroadcast) obj;
if (hasCategoryNumber() != other.hasCategoryNumber()) return false;
if (hasCategoryNumber()) {
if (getCategoryNumber()
!= other.getCategoryNumber()) return false;
}
if (hasUserName() != other.hasUserName()) return false;
if (hasUserName()) {
if (!getUserName()
.equals(other.getUserName())) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasCategoryNumber()) {
hash = (37 * hash) + CATEGORY_NUMBER_FIELD_NUMBER;
hash = (53 * hash) + getCategoryNumber();
}
if (hasUserName()) {
hash = (37 * hash) + USER_NAME_FIELD_NUMBER;
hash = (53 * hash) + getUserName().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFSaxxyBroadcast parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFSaxxyBroadcast parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFSaxxyBroadcast parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFSaxxyBroadcast parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFSaxxyBroadcast parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFSaxxyBroadcast parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFSaxxyBroadcast parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFSaxxyBroadcast parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFSaxxyBroadcast parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFSaxxyBroadcast parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFSaxxyBroadcast parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFSaxxyBroadcast parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFSaxxyBroadcast prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code CMsgTFSaxxyBroadcast}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:CMsgTFSaxxyBroadcast)
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFSaxxyBroadcastOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CMsgTFSaxxyBroadcast_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CMsgTFSaxxyBroadcast_fieldAccessorTable
.ensureFieldAccessorsInitialized(
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFSaxxyBroadcast.class, in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFSaxxyBroadcast.Builder.class);
}
// Construct using in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFSaxxyBroadcast.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
categoryNumber_ = 0;
userName_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CMsgTFSaxxyBroadcast_descriptor;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFSaxxyBroadcast getDefaultInstanceForType() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFSaxxyBroadcast.getDefaultInstance();
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFSaxxyBroadcast build() {
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFSaxxyBroadcast result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFSaxxyBroadcast buildPartial() {
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFSaxxyBroadcast result = new in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFSaxxyBroadcast(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFSaxxyBroadcast result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.categoryNumber_ = categoryNumber_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.userName_ = userName_;
to_bitField0_ |= 0x00000002;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFSaxxyBroadcast) {
return mergeFrom((in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFSaxxyBroadcast)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFSaxxyBroadcast other) {
if (other == in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFSaxxyBroadcast.getDefaultInstance()) return this;
if (other.hasCategoryNumber()) {
setCategoryNumber(other.getCategoryNumber());
}
if (other.hasUserName()) {
userName_ = other.userName_;
bitField0_ |= 0x00000002;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8: {
categoryNumber_ = input.readInt32();
bitField0_ |= 0x00000001;
break;
} // case 8
case 18: {
userName_ = input.readBytes();
bitField0_ |= 0x00000002;
break;
} // case 18
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private int categoryNumber_ ;
/**
* optional int32 category_number = 1;
* @return Whether the categoryNumber field is set.
*/
@java.lang.Override
public boolean hasCategoryNumber() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional int32 category_number = 1;
* @return The categoryNumber.
*/
@java.lang.Override
public int getCategoryNumber() {
return categoryNumber_;
}
/**
* optional int32 category_number = 1;
* @param value The categoryNumber to set.
* @return This builder for chaining.
*/
public Builder setCategoryNumber(int value) {
categoryNumber_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* optional int32 category_number = 1;
* @return This builder for chaining.
*/
public Builder clearCategoryNumber() {
bitField0_ = (bitField0_ & ~0x00000001);
categoryNumber_ = 0;
onChanged();
return this;
}
private java.lang.Object userName_ = "";
/**
* optional string user_name = 2;
* @return Whether the userName field is set.
*/
public boolean hasUserName() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional string user_name = 2;
* @return The userName.
*/
public java.lang.String getUserName() {
java.lang.Object ref = userName_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
userName_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string user_name = 2;
* @return The bytes for userName.
*/
public com.google.protobuf.ByteString
getUserNameBytes() {
java.lang.Object ref = userName_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
userName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string user_name = 2;
* @param value The userName to set.
* @return This builder for chaining.
*/
public Builder setUserName(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
userName_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* optional string user_name = 2;
* @return This builder for chaining.
*/
public Builder clearUserName() {
userName_ = getDefaultInstance().getUserName();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
/**
* optional string user_name = 2;
* @param value The bytes for userName to set.
* @return This builder for chaining.
*/
public Builder setUserNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
userName_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:CMsgTFSaxxyBroadcast)
}
// @@protoc_insertion_point(class_scope:CMsgTFSaxxyBroadcast)
private static final in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFSaxxyBroadcast DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFSaxxyBroadcast();
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFSaxxyBroadcast getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public CMsgTFSaxxyBroadcast parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFSaxxyBroadcast getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface CMsgGCTFSpecificItemBroadcastOrBuilder extends
// @@protoc_insertion_point(interface_extends:CMsgGCTFSpecificItemBroadcast)
com.google.protobuf.MessageOrBuilder {
/**
* optional uint32 item_def_index = 1;
* @return Whether the itemDefIndex field is set.
*/
boolean hasItemDefIndex();
/**
* optional uint32 item_def_index = 1;
* @return The itemDefIndex.
*/
int getItemDefIndex();
/**
* optional bool was_destruction = 2;
* @return Whether the wasDestruction field is set.
*/
boolean hasWasDestruction();
/**
* optional bool was_destruction = 2;
* @return The wasDestruction.
*/
boolean getWasDestruction();
/**
* optional string user_name = 3;
* @return Whether the userName field is set.
*/
boolean hasUserName();
/**
* optional string user_name = 3;
* @return The userName.
*/
java.lang.String getUserName();
/**
* optional string user_name = 3;
* @return The bytes for userName.
*/
com.google.protobuf.ByteString
getUserNameBytes();
}
/**
* Protobuf type {@code CMsgGCTFSpecificItemBroadcast}
*/
public static final class CMsgGCTFSpecificItemBroadcast extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:CMsgGCTFSpecificItemBroadcast)
CMsgGCTFSpecificItemBroadcastOrBuilder {
private static final long serialVersionUID = 0L;
static {
com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
/* minor= */ 28,
/* patch= */ 0,
/* suffix= */ "",
CMsgGCTFSpecificItemBroadcast.class.getName());
}
// Use CMsgGCTFSpecificItemBroadcast.newBuilder() to construct.
private CMsgGCTFSpecificItemBroadcast(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private CMsgGCTFSpecificItemBroadcast() {
userName_ = "";
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CMsgGCTFSpecificItemBroadcast_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CMsgGCTFSpecificItemBroadcast_fieldAccessorTable
.ensureFieldAccessorsInitialized(
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGCTFSpecificItemBroadcast.class, in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGCTFSpecificItemBroadcast.Builder.class);
}
private int bitField0_;
public static final int ITEM_DEF_INDEX_FIELD_NUMBER = 1;
private int itemDefIndex_ = 0;
/**
* optional uint32 item_def_index = 1;
* @return Whether the itemDefIndex field is set.
*/
@java.lang.Override
public boolean hasItemDefIndex() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional uint32 item_def_index = 1;
* @return The itemDefIndex.
*/
@java.lang.Override
public int getItemDefIndex() {
return itemDefIndex_;
}
public static final int WAS_DESTRUCTION_FIELD_NUMBER = 2;
private boolean wasDestruction_ = false;
/**
* optional bool was_destruction = 2;
* @return Whether the wasDestruction field is set.
*/
@java.lang.Override
public boolean hasWasDestruction() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional bool was_destruction = 2;
* @return The wasDestruction.
*/
@java.lang.Override
public boolean getWasDestruction() {
return wasDestruction_;
}
public static final int USER_NAME_FIELD_NUMBER = 3;
@SuppressWarnings("serial")
private volatile java.lang.Object userName_ = "";
/**
* optional string user_name = 3;
* @return Whether the userName field is set.
*/
@java.lang.Override
public boolean hasUserName() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional string user_name = 3;
* @return The userName.
*/
@java.lang.Override
public java.lang.String getUserName() {
java.lang.Object ref = userName_;
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()) {
userName_ = s;
}
return s;
}
}
/**
* optional string user_name = 3;
* @return The bytes for userName.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getUserNameBytes() {
java.lang.Object ref = userName_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
userName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeUInt32(1, itemDefIndex_);
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeBool(2, wasDestruction_);
}
if (((bitField0_ & 0x00000004) != 0)) {
com.google.protobuf.GeneratedMessage.writeString(output, 3, userName_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(1, itemDefIndex_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(2, wasDestruction_);
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.GeneratedMessage.computeStringSize(3, userName_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGCTFSpecificItemBroadcast)) {
return super.equals(obj);
}
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGCTFSpecificItemBroadcast other = (in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGCTFSpecificItemBroadcast) obj;
if (hasItemDefIndex() != other.hasItemDefIndex()) return false;
if (hasItemDefIndex()) {
if (getItemDefIndex()
!= other.getItemDefIndex()) return false;
}
if (hasWasDestruction() != other.hasWasDestruction()) return false;
if (hasWasDestruction()) {
if (getWasDestruction()
!= other.getWasDestruction()) return false;
}
if (hasUserName() != other.hasUserName()) return false;
if (hasUserName()) {
if (!getUserName()
.equals(other.getUserName())) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasItemDefIndex()) {
hash = (37 * hash) + ITEM_DEF_INDEX_FIELD_NUMBER;
hash = (53 * hash) + getItemDefIndex();
}
if (hasWasDestruction()) {
hash = (37 * hash) + WAS_DESTRUCTION_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getWasDestruction());
}
if (hasUserName()) {
hash = (37 * hash) + USER_NAME_FIELD_NUMBER;
hash = (53 * hash) + getUserName().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGCTFSpecificItemBroadcast parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGCTFSpecificItemBroadcast parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGCTFSpecificItemBroadcast parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGCTFSpecificItemBroadcast parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGCTFSpecificItemBroadcast parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGCTFSpecificItemBroadcast parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGCTFSpecificItemBroadcast parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGCTFSpecificItemBroadcast parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGCTFSpecificItemBroadcast parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGCTFSpecificItemBroadcast parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGCTFSpecificItemBroadcast parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGCTFSpecificItemBroadcast parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGCTFSpecificItemBroadcast prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code CMsgGCTFSpecificItemBroadcast}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:CMsgGCTFSpecificItemBroadcast)
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGCTFSpecificItemBroadcastOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CMsgGCTFSpecificItemBroadcast_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CMsgGCTFSpecificItemBroadcast_fieldAccessorTable
.ensureFieldAccessorsInitialized(
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGCTFSpecificItemBroadcast.class, in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGCTFSpecificItemBroadcast.Builder.class);
}
// Construct using in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGCTFSpecificItemBroadcast.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
itemDefIndex_ = 0;
wasDestruction_ = false;
userName_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CMsgGCTFSpecificItemBroadcast_descriptor;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGCTFSpecificItemBroadcast getDefaultInstanceForType() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGCTFSpecificItemBroadcast.getDefaultInstance();
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGCTFSpecificItemBroadcast build() {
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGCTFSpecificItemBroadcast result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGCTFSpecificItemBroadcast buildPartial() {
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGCTFSpecificItemBroadcast result = new in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGCTFSpecificItemBroadcast(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGCTFSpecificItemBroadcast result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.itemDefIndex_ = itemDefIndex_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.wasDestruction_ = wasDestruction_;
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.userName_ = userName_;
to_bitField0_ |= 0x00000004;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGCTFSpecificItemBroadcast) {
return mergeFrom((in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGCTFSpecificItemBroadcast)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGCTFSpecificItemBroadcast other) {
if (other == in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGCTFSpecificItemBroadcast.getDefaultInstance()) return this;
if (other.hasItemDefIndex()) {
setItemDefIndex(other.getItemDefIndex());
}
if (other.hasWasDestruction()) {
setWasDestruction(other.getWasDestruction());
}
if (other.hasUserName()) {
userName_ = other.userName_;
bitField0_ |= 0x00000004;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8: {
itemDefIndex_ = input.readUInt32();
bitField0_ |= 0x00000001;
break;
} // case 8
case 16: {
wasDestruction_ = input.readBool();
bitField0_ |= 0x00000002;
break;
} // case 16
case 26: {
userName_ = input.readBytes();
bitField0_ |= 0x00000004;
break;
} // case 26
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private int itemDefIndex_ ;
/**
* optional uint32 item_def_index = 1;
* @return Whether the itemDefIndex field is set.
*/
@java.lang.Override
public boolean hasItemDefIndex() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional uint32 item_def_index = 1;
* @return The itemDefIndex.
*/
@java.lang.Override
public int getItemDefIndex() {
return itemDefIndex_;
}
/**
* optional uint32 item_def_index = 1;
* @param value The itemDefIndex to set.
* @return This builder for chaining.
*/
public Builder setItemDefIndex(int value) {
itemDefIndex_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* optional uint32 item_def_index = 1;
* @return This builder for chaining.
*/
public Builder clearItemDefIndex() {
bitField0_ = (bitField0_ & ~0x00000001);
itemDefIndex_ = 0;
onChanged();
return this;
}
private boolean wasDestruction_ ;
/**
* optional bool was_destruction = 2;
* @return Whether the wasDestruction field is set.
*/
@java.lang.Override
public boolean hasWasDestruction() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional bool was_destruction = 2;
* @return The wasDestruction.
*/
@java.lang.Override
public boolean getWasDestruction() {
return wasDestruction_;
}
/**
* optional bool was_destruction = 2;
* @param value The wasDestruction to set.
* @return This builder for chaining.
*/
public Builder setWasDestruction(boolean value) {
wasDestruction_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* optional bool was_destruction = 2;
* @return This builder for chaining.
*/
public Builder clearWasDestruction() {
bitField0_ = (bitField0_ & ~0x00000002);
wasDestruction_ = false;
onChanged();
return this;
}
private java.lang.Object userName_ = "";
/**
* optional string user_name = 3;
* @return Whether the userName field is set.
*/
public boolean hasUserName() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional string user_name = 3;
* @return The userName.
*/
public java.lang.String getUserName() {
java.lang.Object ref = userName_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
userName_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string user_name = 3;
* @return The bytes for userName.
*/
public com.google.protobuf.ByteString
getUserNameBytes() {
java.lang.Object ref = userName_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
userName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string user_name = 3;
* @param value The userName to set.
* @return This builder for chaining.
*/
public Builder setUserName(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
userName_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* optional string user_name = 3;
* @return This builder for chaining.
*/
public Builder clearUserName() {
userName_ = getDefaultInstance().getUserName();
bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
return this;
}
/**
* optional string user_name = 3;
* @param value The bytes for userName to set.
* @return This builder for chaining.
*/
public Builder setUserNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
userName_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:CMsgGCTFSpecificItemBroadcast)
}
// @@protoc_insertion_point(class_scope:CMsgGCTFSpecificItemBroadcast)
private static final in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGCTFSpecificItemBroadcast DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGCTFSpecificItemBroadcast();
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGCTFSpecificItemBroadcast getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public CMsgGCTFSpecificItemBroadcast parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGCTFSpecificItemBroadcast getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface CMsgTFWorldStatusOrBuilder extends
// @@protoc_insertion_point(interface_extends:CMsgTFWorldStatus)
com.google.protobuf.MessageOrBuilder {
/**
* optional bool beta_stress_test_event_active = 1 [default = false];
* @return Whether the betaStressTestEventActive field is set.
*/
boolean hasBetaStressTestEventActive();
/**
* optional bool beta_stress_test_event_active = 1 [default = false];
* @return The betaStressTestEventActive.
*/
boolean getBetaStressTestEventActive();
/**
* optional .ETFMatchGroup event_match_group = 2 [default = k_eTFMatchGroup_Invalid];
* @return Whether the eventMatchGroup field is set.
*/
boolean hasEventMatchGroup();
/**
* optional .ETFMatchGroup event_match_group = 2 [default = k_eTFMatchGroup_Invalid];
* @return The eventMatchGroup.
*/
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.ETFMatchGroup getEventMatchGroup();
/**
* optional fixed32 event_expire_time = 3 [default = 0];
* @return Whether the eventExpireTime field is set.
*/
boolean hasEventExpireTime();
/**
* optional fixed32 event_expire_time = 3 [default = 0];
* @return The eventExpireTime.
*/
int getEventExpireTime();
/**
* optional uint32 active_client_version = 4;
* @return Whether the activeClientVersion field is set.
*/
boolean hasActiveClientVersion();
/**
* optional uint32 active_client_version = 4;
* @return The activeClientVersion.
*/
int getActiveClientVersion();
/**
* repeated .ETFMatchGroup disabled_match_groups = 5;
* @return A list containing the disabledMatchGroups.
*/
java.util.List getDisabledMatchGroupsList();
/**
* repeated .ETFMatchGroup disabled_match_groups = 5;
* @return The count of disabledMatchGroups.
*/
int getDisabledMatchGroupsCount();
/**
* repeated .ETFMatchGroup disabled_match_groups = 5;
* @param index The index of the element to return.
* @return The disabledMatchGroups at the given index.
*/
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.ETFMatchGroup getDisabledMatchGroups(int index);
}
/**
* Protobuf type {@code CMsgTFWorldStatus}
*/
public static final class CMsgTFWorldStatus extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:CMsgTFWorldStatus)
CMsgTFWorldStatusOrBuilder {
private static final long serialVersionUID = 0L;
static {
com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
/* minor= */ 28,
/* patch= */ 0,
/* suffix= */ "",
CMsgTFWorldStatus.class.getName());
}
// Use CMsgTFWorldStatus.newBuilder() to construct.
private CMsgTFWorldStatus(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private CMsgTFWorldStatus() {
eventMatchGroup_ = -1;
disabledMatchGroups_ = emptyIntList();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CMsgTFWorldStatus_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CMsgTFWorldStatus_fieldAccessorTable
.ensureFieldAccessorsInitialized(
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFWorldStatus.class, in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFWorldStatus.Builder.class);
}
private int bitField0_;
public static final int BETA_STRESS_TEST_EVENT_ACTIVE_FIELD_NUMBER = 1;
private boolean betaStressTestEventActive_ = false;
/**
* optional bool beta_stress_test_event_active = 1 [default = false];
* @return Whether the betaStressTestEventActive field is set.
*/
@java.lang.Override
public boolean hasBetaStressTestEventActive() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional bool beta_stress_test_event_active = 1 [default = false];
* @return The betaStressTestEventActive.
*/
@java.lang.Override
public boolean getBetaStressTestEventActive() {
return betaStressTestEventActive_;
}
public static final int EVENT_MATCH_GROUP_FIELD_NUMBER = 2;
private int eventMatchGroup_ = -1;
/**
* optional .ETFMatchGroup event_match_group = 2 [default = k_eTFMatchGroup_Invalid];
* @return Whether the eventMatchGroup field is set.
*/
@java.lang.Override public boolean hasEventMatchGroup() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional .ETFMatchGroup event_match_group = 2 [default = k_eTFMatchGroup_Invalid];
* @return The eventMatchGroup.
*/
@java.lang.Override public in.dragonbra.javasteam.protobufs.tf.TfGcmessages.ETFMatchGroup getEventMatchGroup() {
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.ETFMatchGroup result = in.dragonbra.javasteam.protobufs.tf.TfGcmessages.ETFMatchGroup.forNumber(eventMatchGroup_);
return result == null ? in.dragonbra.javasteam.protobufs.tf.TfGcmessages.ETFMatchGroup.k_eTFMatchGroup_Invalid : result;
}
public static final int EVENT_EXPIRE_TIME_FIELD_NUMBER = 3;
private int eventExpireTime_ = 0;
/**
* optional fixed32 event_expire_time = 3 [default = 0];
* @return Whether the eventExpireTime field is set.
*/
@java.lang.Override
public boolean hasEventExpireTime() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional fixed32 event_expire_time = 3 [default = 0];
* @return The eventExpireTime.
*/
@java.lang.Override
public int getEventExpireTime() {
return eventExpireTime_;
}
public static final int ACTIVE_CLIENT_VERSION_FIELD_NUMBER = 4;
private int activeClientVersion_ = 0;
/**
* optional uint32 active_client_version = 4;
* @return Whether the activeClientVersion field is set.
*/
@java.lang.Override
public boolean hasActiveClientVersion() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* optional uint32 active_client_version = 4;
* @return The activeClientVersion.
*/
@java.lang.Override
public int getActiveClientVersion() {
return activeClientVersion_;
}
public static final int DISABLED_MATCH_GROUPS_FIELD_NUMBER = 5;
@SuppressWarnings("serial")
private com.google.protobuf.Internal.IntList disabledMatchGroups_;
private static final com.google.protobuf.Internal.IntListAdapter.IntConverter<
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.ETFMatchGroup> disabledMatchGroups_converter_ =
new com.google.protobuf.Internal.IntListAdapter.IntConverter<
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.ETFMatchGroup>() {
public in.dragonbra.javasteam.protobufs.tf.TfGcmessages.ETFMatchGroup convert(int from) {
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.ETFMatchGroup result = in.dragonbra.javasteam.protobufs.tf.TfGcmessages.ETFMatchGroup.forNumber(from);
return result == null ? in.dragonbra.javasteam.protobufs.tf.TfGcmessages.ETFMatchGroup.k_eTFMatchGroup_Invalid : result;
}
};
/**
* repeated .ETFMatchGroup disabled_match_groups = 5;
* @return A list containing the disabledMatchGroups.
*/
@java.lang.Override
public java.util.List getDisabledMatchGroupsList() {
return new com.google.protobuf.Internal.IntListAdapter<
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.ETFMatchGroup>(disabledMatchGroups_, disabledMatchGroups_converter_);
}
/**
* repeated .ETFMatchGroup disabled_match_groups = 5;
* @return The count of disabledMatchGroups.
*/
@java.lang.Override
public int getDisabledMatchGroupsCount() {
return disabledMatchGroups_.size();
}
/**
* repeated .ETFMatchGroup disabled_match_groups = 5;
* @param index The index of the element to return.
* @return The disabledMatchGroups at the given index.
*/
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.TfGcmessages.ETFMatchGroup getDisabledMatchGroups(int index) {
return disabledMatchGroups_converter_.convert(disabledMatchGroups_.getInt(index));
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeBool(1, betaStressTestEventActive_);
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeEnum(2, eventMatchGroup_);
}
if (((bitField0_ & 0x00000004) != 0)) {
output.writeFixed32(3, eventExpireTime_);
}
if (((bitField0_ & 0x00000008) != 0)) {
output.writeUInt32(4, activeClientVersion_);
}
for (int i = 0; i < disabledMatchGroups_.size(); i++) {
output.writeEnum(5, disabledMatchGroups_.getInt(i));
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(1, betaStressTestEventActive_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(2, eventMatchGroup_);
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeFixed32Size(3, eventExpireTime_);
}
if (((bitField0_ & 0x00000008) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(4, activeClientVersion_);
}
{
int dataSize = 0;
for (int i = 0; i < disabledMatchGroups_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeEnumSizeNoTag(disabledMatchGroups_.getInt(i));
}
size += dataSize;
size += 1 * disabledMatchGroups_.size();
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFWorldStatus)) {
return super.equals(obj);
}
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFWorldStatus other = (in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFWorldStatus) obj;
if (hasBetaStressTestEventActive() != other.hasBetaStressTestEventActive()) return false;
if (hasBetaStressTestEventActive()) {
if (getBetaStressTestEventActive()
!= other.getBetaStressTestEventActive()) return false;
}
if (hasEventMatchGroup() != other.hasEventMatchGroup()) return false;
if (hasEventMatchGroup()) {
if (eventMatchGroup_ != other.eventMatchGroup_) return false;
}
if (hasEventExpireTime() != other.hasEventExpireTime()) return false;
if (hasEventExpireTime()) {
if (getEventExpireTime()
!= other.getEventExpireTime()) return false;
}
if (hasActiveClientVersion() != other.hasActiveClientVersion()) return false;
if (hasActiveClientVersion()) {
if (getActiveClientVersion()
!= other.getActiveClientVersion()) return false;
}
if (!disabledMatchGroups_.equals(other.disabledMatchGroups_)) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasBetaStressTestEventActive()) {
hash = (37 * hash) + BETA_STRESS_TEST_EVENT_ACTIVE_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getBetaStressTestEventActive());
}
if (hasEventMatchGroup()) {
hash = (37 * hash) + EVENT_MATCH_GROUP_FIELD_NUMBER;
hash = (53 * hash) + eventMatchGroup_;
}
if (hasEventExpireTime()) {
hash = (37 * hash) + EVENT_EXPIRE_TIME_FIELD_NUMBER;
hash = (53 * hash) + getEventExpireTime();
}
if (hasActiveClientVersion()) {
hash = (37 * hash) + ACTIVE_CLIENT_VERSION_FIELD_NUMBER;
hash = (53 * hash) + getActiveClientVersion();
}
if (getDisabledMatchGroupsCount() > 0) {
hash = (37 * hash) + DISABLED_MATCH_GROUPS_FIELD_NUMBER;
hash = (53 * hash) + disabledMatchGroups_.hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFWorldStatus parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFWorldStatus parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFWorldStatus parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFWorldStatus parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFWorldStatus parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFWorldStatus parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFWorldStatus parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFWorldStatus parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFWorldStatus parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFWorldStatus parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFWorldStatus parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFWorldStatus parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFWorldStatus prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code CMsgTFWorldStatus}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:CMsgTFWorldStatus)
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFWorldStatusOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CMsgTFWorldStatus_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CMsgTFWorldStatus_fieldAccessorTable
.ensureFieldAccessorsInitialized(
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFWorldStatus.class, in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFWorldStatus.Builder.class);
}
// Construct using in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFWorldStatus.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
betaStressTestEventActive_ = false;
eventMatchGroup_ = -1;
eventExpireTime_ = 0;
activeClientVersion_ = 0;
disabledMatchGroups_ = emptyIntList();
bitField0_ = (bitField0_ & ~0x00000010);
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CMsgTFWorldStatus_descriptor;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFWorldStatus getDefaultInstanceForType() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFWorldStatus.getDefaultInstance();
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFWorldStatus build() {
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFWorldStatus result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFWorldStatus buildPartial() {
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFWorldStatus result = new in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFWorldStatus(this);
buildPartialRepeatedFields(result);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartialRepeatedFields(in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFWorldStatus result) {
if (((bitField0_ & 0x00000010) != 0)) {
disabledMatchGroups_.makeImmutable();
bitField0_ = (bitField0_ & ~0x00000010);
}
result.disabledMatchGroups_ = disabledMatchGroups_;
}
private void buildPartial0(in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFWorldStatus result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.betaStressTestEventActive_ = betaStressTestEventActive_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.eventMatchGroup_ = eventMatchGroup_;
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.eventExpireTime_ = eventExpireTime_;
to_bitField0_ |= 0x00000004;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
result.activeClientVersion_ = activeClientVersion_;
to_bitField0_ |= 0x00000008;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFWorldStatus) {
return mergeFrom((in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFWorldStatus)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFWorldStatus other) {
if (other == in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFWorldStatus.getDefaultInstance()) return this;
if (other.hasBetaStressTestEventActive()) {
setBetaStressTestEventActive(other.getBetaStressTestEventActive());
}
if (other.hasEventMatchGroup()) {
setEventMatchGroup(other.getEventMatchGroup());
}
if (other.hasEventExpireTime()) {
setEventExpireTime(other.getEventExpireTime());
}
if (other.hasActiveClientVersion()) {
setActiveClientVersion(other.getActiveClientVersion());
}
if (!other.disabledMatchGroups_.isEmpty()) {
if (disabledMatchGroups_.isEmpty()) {
disabledMatchGroups_ = other.disabledMatchGroups_;
bitField0_ = (bitField0_ & ~0x00000010);
} else {
ensureDisabledMatchGroupsIsMutable();
disabledMatchGroups_.addAll(other.disabledMatchGroups_);
}
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8: {
betaStressTestEventActive_ = input.readBool();
bitField0_ |= 0x00000001;
break;
} // case 8
case 16: {
int tmpRaw = input.readEnum();
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.ETFMatchGroup tmpValue =
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.ETFMatchGroup.forNumber(tmpRaw);
if (tmpValue == null) {
mergeUnknownVarintField(2, tmpRaw);
} else {
eventMatchGroup_ = tmpRaw;
bitField0_ |= 0x00000002;
}
break;
} // case 16
case 29: {
eventExpireTime_ = input.readFixed32();
bitField0_ |= 0x00000004;
break;
} // case 29
case 32: {
activeClientVersion_ = input.readUInt32();
bitField0_ |= 0x00000008;
break;
} // case 32
case 40: {
int tmpRaw = input.readEnum();
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.ETFMatchGroup tmpValue =
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.ETFMatchGroup.forNumber(tmpRaw);
if (tmpValue == null) {
mergeUnknownVarintField(5, tmpRaw);
} else {
ensureDisabledMatchGroupsIsMutable();
disabledMatchGroups_.addInt(tmpRaw);
}
break;
} // case 40
case 42: {
int length = input.readRawVarint32();
int oldLimit = input.pushLimit(length);
while(input.getBytesUntilLimit() > 0) {
int tmpRaw = input.readEnum();
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.ETFMatchGroup tmpValue =
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.ETFMatchGroup.forNumber(tmpRaw);
if (tmpValue == null) {
mergeUnknownVarintField(5, tmpRaw);
} else {
ensureDisabledMatchGroupsIsMutable();
disabledMatchGroups_.addInt(tmpRaw);
}
}
input.popLimit(oldLimit);
break;
} // case 42
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private boolean betaStressTestEventActive_ ;
/**
* optional bool beta_stress_test_event_active = 1 [default = false];
* @return Whether the betaStressTestEventActive field is set.
*/
@java.lang.Override
public boolean hasBetaStressTestEventActive() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional bool beta_stress_test_event_active = 1 [default = false];
* @return The betaStressTestEventActive.
*/
@java.lang.Override
public boolean getBetaStressTestEventActive() {
return betaStressTestEventActive_;
}
/**
* optional bool beta_stress_test_event_active = 1 [default = false];
* @param value The betaStressTestEventActive to set.
* @return This builder for chaining.
*/
public Builder setBetaStressTestEventActive(boolean value) {
betaStressTestEventActive_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* optional bool beta_stress_test_event_active = 1 [default = false];
* @return This builder for chaining.
*/
public Builder clearBetaStressTestEventActive() {
bitField0_ = (bitField0_ & ~0x00000001);
betaStressTestEventActive_ = false;
onChanged();
return this;
}
private int eventMatchGroup_ = -1;
/**
* optional .ETFMatchGroup event_match_group = 2 [default = k_eTFMatchGroup_Invalid];
* @return Whether the eventMatchGroup field is set.
*/
@java.lang.Override public boolean hasEventMatchGroup() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional .ETFMatchGroup event_match_group = 2 [default = k_eTFMatchGroup_Invalid];
* @return The eventMatchGroup.
*/
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.TfGcmessages.ETFMatchGroup getEventMatchGroup() {
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.ETFMatchGroup result = in.dragonbra.javasteam.protobufs.tf.TfGcmessages.ETFMatchGroup.forNumber(eventMatchGroup_);
return result == null ? in.dragonbra.javasteam.protobufs.tf.TfGcmessages.ETFMatchGroup.k_eTFMatchGroup_Invalid : result;
}
/**
* optional .ETFMatchGroup event_match_group = 2 [default = k_eTFMatchGroup_Invalid];
* @param value The eventMatchGroup to set.
* @return This builder for chaining.
*/
public Builder setEventMatchGroup(in.dragonbra.javasteam.protobufs.tf.TfGcmessages.ETFMatchGroup value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
eventMatchGroup_ = value.getNumber();
onChanged();
return this;
}
/**
* optional .ETFMatchGroup event_match_group = 2 [default = k_eTFMatchGroup_Invalid];
* @return This builder for chaining.
*/
public Builder clearEventMatchGroup() {
bitField0_ = (bitField0_ & ~0x00000002);
eventMatchGroup_ = -1;
onChanged();
return this;
}
private int eventExpireTime_ ;
/**
* optional fixed32 event_expire_time = 3 [default = 0];
* @return Whether the eventExpireTime field is set.
*/
@java.lang.Override
public boolean hasEventExpireTime() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional fixed32 event_expire_time = 3 [default = 0];
* @return The eventExpireTime.
*/
@java.lang.Override
public int getEventExpireTime() {
return eventExpireTime_;
}
/**
* optional fixed32 event_expire_time = 3 [default = 0];
* @param value The eventExpireTime to set.
* @return This builder for chaining.
*/
public Builder setEventExpireTime(int value) {
eventExpireTime_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* optional fixed32 event_expire_time = 3 [default = 0];
* @return This builder for chaining.
*/
public Builder clearEventExpireTime() {
bitField0_ = (bitField0_ & ~0x00000004);
eventExpireTime_ = 0;
onChanged();
return this;
}
private int activeClientVersion_ ;
/**
* optional uint32 active_client_version = 4;
* @return Whether the activeClientVersion field is set.
*/
@java.lang.Override
public boolean hasActiveClientVersion() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* optional uint32 active_client_version = 4;
* @return The activeClientVersion.
*/
@java.lang.Override
public int getActiveClientVersion() {
return activeClientVersion_;
}
/**
* optional uint32 active_client_version = 4;
* @param value The activeClientVersion to set.
* @return This builder for chaining.
*/
public Builder setActiveClientVersion(int value) {
activeClientVersion_ = value;
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* optional uint32 active_client_version = 4;
* @return This builder for chaining.
*/
public Builder clearActiveClientVersion() {
bitField0_ = (bitField0_ & ~0x00000008);
activeClientVersion_ = 0;
onChanged();
return this;
}
private com.google.protobuf.Internal.IntList disabledMatchGroups_ =
emptyIntList();
private void ensureDisabledMatchGroupsIsMutable() {
if (!((bitField0_ & 0x00000010) != 0)) {
disabledMatchGroups_ = makeMutableCopy(disabledMatchGroups_);
bitField0_ |= 0x00000010;
}
}
/**
* repeated .ETFMatchGroup disabled_match_groups = 5;
* @return A list containing the disabledMatchGroups.
*/
public java.util.List getDisabledMatchGroupsList() {
return new com.google.protobuf.Internal.IntListAdapter<
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.ETFMatchGroup>(disabledMatchGroups_, disabledMatchGroups_converter_);
}
/**
* repeated .ETFMatchGroup disabled_match_groups = 5;
* @return The count of disabledMatchGroups.
*/
public int getDisabledMatchGroupsCount() {
return disabledMatchGroups_.size();
}
/**
* repeated .ETFMatchGroup disabled_match_groups = 5;
* @param index The index of the element to return.
* @return The disabledMatchGroups at the given index.
*/
public in.dragonbra.javasteam.protobufs.tf.TfGcmessages.ETFMatchGroup getDisabledMatchGroups(int index) {
return disabledMatchGroups_converter_.convert(disabledMatchGroups_.getInt(index));
}
/**
* repeated .ETFMatchGroup disabled_match_groups = 5;
* @param index The index to set the value at.
* @param value The disabledMatchGroups to set.
* @return This builder for chaining.
*/
public Builder setDisabledMatchGroups(
int index, in.dragonbra.javasteam.protobufs.tf.TfGcmessages.ETFMatchGroup value) {
if (value == null) {
throw new NullPointerException();
}
ensureDisabledMatchGroupsIsMutable();
disabledMatchGroups_.setInt(index, value.getNumber());
onChanged();
return this;
}
/**
* repeated .ETFMatchGroup disabled_match_groups = 5;
* @param value The disabledMatchGroups to add.
* @return This builder for chaining.
*/
public Builder addDisabledMatchGroups(in.dragonbra.javasteam.protobufs.tf.TfGcmessages.ETFMatchGroup value) {
if (value == null) {
throw new NullPointerException();
}
ensureDisabledMatchGroupsIsMutable();
disabledMatchGroups_.addInt(value.getNumber());
onChanged();
return this;
}
/**
* repeated .ETFMatchGroup disabled_match_groups = 5;
* @param values The disabledMatchGroups to add.
* @return This builder for chaining.
*/
public Builder addAllDisabledMatchGroups(
java.lang.Iterable extends in.dragonbra.javasteam.protobufs.tf.TfGcmessages.ETFMatchGroup> values) {
ensureDisabledMatchGroupsIsMutable();
for (in.dragonbra.javasteam.protobufs.tf.TfGcmessages.ETFMatchGroup value : values) {
disabledMatchGroups_.addInt(value.getNumber());
}
onChanged();
return this;
}
/**
* repeated .ETFMatchGroup disabled_match_groups = 5;
* @return This builder for chaining.
*/
public Builder clearDisabledMatchGroups() {
disabledMatchGroups_ = emptyIntList();
bitField0_ = (bitField0_ & ~0x00000010);
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:CMsgTFWorldStatus)
}
// @@protoc_insertion_point(class_scope:CMsgTFWorldStatus)
private static final in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFWorldStatus DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFWorldStatus();
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFWorldStatus getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public CMsgTFWorldStatus parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFWorldStatus getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface CSOTFDuelSummaryOrBuilder extends
// @@protoc_insertion_point(interface_extends:CSOTFDuelSummary)
com.google.protobuf.MessageOrBuilder {
/**
* optional uint32 account_id = 1 [(.key_field) = true];
* @return Whether the accountId field is set.
*/
boolean hasAccountId();
/**
* optional uint32 account_id = 1 [(.key_field) = true];
* @return The accountId.
*/
int getAccountId();
/**
* optional uint32 duel_wins = 2;
* @return Whether the duelWins field is set.
*/
boolean hasDuelWins();
/**
* optional uint32 duel_wins = 2;
* @return The duelWins.
*/
int getDuelWins();
/**
* optional uint32 duel_losses = 3;
* @return Whether the duelLosses field is set.
*/
boolean hasDuelLosses();
/**
* optional uint32 duel_losses = 3;
* @return The duelLosses.
*/
int getDuelLosses();
/**
* optional uint32 last_duel_account_id = 4;
* @return Whether the lastDuelAccountId field is set.
*/
boolean hasLastDuelAccountId();
/**
* optional uint32 last_duel_account_id = 4;
* @return The lastDuelAccountId.
*/
int getLastDuelAccountId();
/**
* optional uint32 last_duel_timestamp = 5;
* @return Whether the lastDuelTimestamp field is set.
*/
boolean hasLastDuelTimestamp();
/**
* optional uint32 last_duel_timestamp = 5;
* @return The lastDuelTimestamp.
*/
int getLastDuelTimestamp();
/**
* optional uint32 last_duel_status = 6;
* @return Whether the lastDuelStatus field is set.
*/
boolean hasLastDuelStatus();
/**
* optional uint32 last_duel_status = 6;
* @return The lastDuelStatus.
*/
int getLastDuelStatus();
}
/**
* Protobuf type {@code CSOTFDuelSummary}
*/
public static final class CSOTFDuelSummary extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:CSOTFDuelSummary)
CSOTFDuelSummaryOrBuilder {
private static final long serialVersionUID = 0L;
static {
com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
/* minor= */ 28,
/* patch= */ 0,
/* suffix= */ "",
CSOTFDuelSummary.class.getName());
}
// Use CSOTFDuelSummary.newBuilder() to construct.
private CSOTFDuelSummary(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private CSOTFDuelSummary() {
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CSOTFDuelSummary_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CSOTFDuelSummary_fieldAccessorTable
.ensureFieldAccessorsInitialized(
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CSOTFDuelSummary.class, in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CSOTFDuelSummary.Builder.class);
}
private int bitField0_;
public static final int ACCOUNT_ID_FIELD_NUMBER = 1;
private int accountId_ = 0;
/**
* optional uint32 account_id = 1 [(.key_field) = true];
* @return Whether the accountId field is set.
*/
@java.lang.Override
public boolean hasAccountId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional uint32 account_id = 1 [(.key_field) = true];
* @return The accountId.
*/
@java.lang.Override
public int getAccountId() {
return accountId_;
}
public static final int DUEL_WINS_FIELD_NUMBER = 2;
private int duelWins_ = 0;
/**
* optional uint32 duel_wins = 2;
* @return Whether the duelWins field is set.
*/
@java.lang.Override
public boolean hasDuelWins() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional uint32 duel_wins = 2;
* @return The duelWins.
*/
@java.lang.Override
public int getDuelWins() {
return duelWins_;
}
public static final int DUEL_LOSSES_FIELD_NUMBER = 3;
private int duelLosses_ = 0;
/**
* optional uint32 duel_losses = 3;
* @return Whether the duelLosses field is set.
*/
@java.lang.Override
public boolean hasDuelLosses() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional uint32 duel_losses = 3;
* @return The duelLosses.
*/
@java.lang.Override
public int getDuelLosses() {
return duelLosses_;
}
public static final int LAST_DUEL_ACCOUNT_ID_FIELD_NUMBER = 4;
private int lastDuelAccountId_ = 0;
/**
* optional uint32 last_duel_account_id = 4;
* @return Whether the lastDuelAccountId field is set.
*/
@java.lang.Override
public boolean hasLastDuelAccountId() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* optional uint32 last_duel_account_id = 4;
* @return The lastDuelAccountId.
*/
@java.lang.Override
public int getLastDuelAccountId() {
return lastDuelAccountId_;
}
public static final int LAST_DUEL_TIMESTAMP_FIELD_NUMBER = 5;
private int lastDuelTimestamp_ = 0;
/**
* optional uint32 last_duel_timestamp = 5;
* @return Whether the lastDuelTimestamp field is set.
*/
@java.lang.Override
public boolean hasLastDuelTimestamp() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* optional uint32 last_duel_timestamp = 5;
* @return The lastDuelTimestamp.
*/
@java.lang.Override
public int getLastDuelTimestamp() {
return lastDuelTimestamp_;
}
public static final int LAST_DUEL_STATUS_FIELD_NUMBER = 6;
private int lastDuelStatus_ = 0;
/**
* optional uint32 last_duel_status = 6;
* @return Whether the lastDuelStatus field is set.
*/
@java.lang.Override
public boolean hasLastDuelStatus() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
* optional uint32 last_duel_status = 6;
* @return The lastDuelStatus.
*/
@java.lang.Override
public int getLastDuelStatus() {
return lastDuelStatus_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeUInt32(1, accountId_);
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeUInt32(2, duelWins_);
}
if (((bitField0_ & 0x00000004) != 0)) {
output.writeUInt32(3, duelLosses_);
}
if (((bitField0_ & 0x00000008) != 0)) {
output.writeUInt32(4, lastDuelAccountId_);
}
if (((bitField0_ & 0x00000010) != 0)) {
output.writeUInt32(5, lastDuelTimestamp_);
}
if (((bitField0_ & 0x00000020) != 0)) {
output.writeUInt32(6, lastDuelStatus_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(1, accountId_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(2, duelWins_);
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(3, duelLosses_);
}
if (((bitField0_ & 0x00000008) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(4, lastDuelAccountId_);
}
if (((bitField0_ & 0x00000010) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(5, lastDuelTimestamp_);
}
if (((bitField0_ & 0x00000020) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(6, lastDuelStatus_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CSOTFDuelSummary)) {
return super.equals(obj);
}
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CSOTFDuelSummary other = (in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CSOTFDuelSummary) obj;
if (hasAccountId() != other.hasAccountId()) return false;
if (hasAccountId()) {
if (getAccountId()
!= other.getAccountId()) return false;
}
if (hasDuelWins() != other.hasDuelWins()) return false;
if (hasDuelWins()) {
if (getDuelWins()
!= other.getDuelWins()) return false;
}
if (hasDuelLosses() != other.hasDuelLosses()) return false;
if (hasDuelLosses()) {
if (getDuelLosses()
!= other.getDuelLosses()) return false;
}
if (hasLastDuelAccountId() != other.hasLastDuelAccountId()) return false;
if (hasLastDuelAccountId()) {
if (getLastDuelAccountId()
!= other.getLastDuelAccountId()) return false;
}
if (hasLastDuelTimestamp() != other.hasLastDuelTimestamp()) return false;
if (hasLastDuelTimestamp()) {
if (getLastDuelTimestamp()
!= other.getLastDuelTimestamp()) return false;
}
if (hasLastDuelStatus() != other.hasLastDuelStatus()) return false;
if (hasLastDuelStatus()) {
if (getLastDuelStatus()
!= other.getLastDuelStatus()) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasAccountId()) {
hash = (37 * hash) + ACCOUNT_ID_FIELD_NUMBER;
hash = (53 * hash) + getAccountId();
}
if (hasDuelWins()) {
hash = (37 * hash) + DUEL_WINS_FIELD_NUMBER;
hash = (53 * hash) + getDuelWins();
}
if (hasDuelLosses()) {
hash = (37 * hash) + DUEL_LOSSES_FIELD_NUMBER;
hash = (53 * hash) + getDuelLosses();
}
if (hasLastDuelAccountId()) {
hash = (37 * hash) + LAST_DUEL_ACCOUNT_ID_FIELD_NUMBER;
hash = (53 * hash) + getLastDuelAccountId();
}
if (hasLastDuelTimestamp()) {
hash = (37 * hash) + LAST_DUEL_TIMESTAMP_FIELD_NUMBER;
hash = (53 * hash) + getLastDuelTimestamp();
}
if (hasLastDuelStatus()) {
hash = (37 * hash) + LAST_DUEL_STATUS_FIELD_NUMBER;
hash = (53 * hash) + getLastDuelStatus();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CSOTFDuelSummary parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CSOTFDuelSummary parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CSOTFDuelSummary parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CSOTFDuelSummary parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CSOTFDuelSummary parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CSOTFDuelSummary parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CSOTFDuelSummary parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CSOTFDuelSummary parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CSOTFDuelSummary parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CSOTFDuelSummary parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CSOTFDuelSummary parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CSOTFDuelSummary parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CSOTFDuelSummary prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code CSOTFDuelSummary}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:CSOTFDuelSummary)
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CSOTFDuelSummaryOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CSOTFDuelSummary_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CSOTFDuelSummary_fieldAccessorTable
.ensureFieldAccessorsInitialized(
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CSOTFDuelSummary.class, in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CSOTFDuelSummary.Builder.class);
}
// Construct using in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CSOTFDuelSummary.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
accountId_ = 0;
duelWins_ = 0;
duelLosses_ = 0;
lastDuelAccountId_ = 0;
lastDuelTimestamp_ = 0;
lastDuelStatus_ = 0;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CSOTFDuelSummary_descriptor;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CSOTFDuelSummary getDefaultInstanceForType() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CSOTFDuelSummary.getDefaultInstance();
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CSOTFDuelSummary build() {
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CSOTFDuelSummary result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CSOTFDuelSummary buildPartial() {
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CSOTFDuelSummary result = new in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CSOTFDuelSummary(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CSOTFDuelSummary result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.accountId_ = accountId_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.duelWins_ = duelWins_;
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.duelLosses_ = duelLosses_;
to_bitField0_ |= 0x00000004;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
result.lastDuelAccountId_ = lastDuelAccountId_;
to_bitField0_ |= 0x00000008;
}
if (((from_bitField0_ & 0x00000010) != 0)) {
result.lastDuelTimestamp_ = lastDuelTimestamp_;
to_bitField0_ |= 0x00000010;
}
if (((from_bitField0_ & 0x00000020) != 0)) {
result.lastDuelStatus_ = lastDuelStatus_;
to_bitField0_ |= 0x00000020;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CSOTFDuelSummary) {
return mergeFrom((in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CSOTFDuelSummary)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CSOTFDuelSummary other) {
if (other == in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CSOTFDuelSummary.getDefaultInstance()) return this;
if (other.hasAccountId()) {
setAccountId(other.getAccountId());
}
if (other.hasDuelWins()) {
setDuelWins(other.getDuelWins());
}
if (other.hasDuelLosses()) {
setDuelLosses(other.getDuelLosses());
}
if (other.hasLastDuelAccountId()) {
setLastDuelAccountId(other.getLastDuelAccountId());
}
if (other.hasLastDuelTimestamp()) {
setLastDuelTimestamp(other.getLastDuelTimestamp());
}
if (other.hasLastDuelStatus()) {
setLastDuelStatus(other.getLastDuelStatus());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8: {
accountId_ = input.readUInt32();
bitField0_ |= 0x00000001;
break;
} // case 8
case 16: {
duelWins_ = input.readUInt32();
bitField0_ |= 0x00000002;
break;
} // case 16
case 24: {
duelLosses_ = input.readUInt32();
bitField0_ |= 0x00000004;
break;
} // case 24
case 32: {
lastDuelAccountId_ = input.readUInt32();
bitField0_ |= 0x00000008;
break;
} // case 32
case 40: {
lastDuelTimestamp_ = input.readUInt32();
bitField0_ |= 0x00000010;
break;
} // case 40
case 48: {
lastDuelStatus_ = input.readUInt32();
bitField0_ |= 0x00000020;
break;
} // case 48
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private int accountId_ ;
/**
* optional uint32 account_id = 1 [(.key_field) = true];
* @return Whether the accountId field is set.
*/
@java.lang.Override
public boolean hasAccountId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional uint32 account_id = 1 [(.key_field) = true];
* @return The accountId.
*/
@java.lang.Override
public int getAccountId() {
return accountId_;
}
/**
* optional uint32 account_id = 1 [(.key_field) = true];
* @param value The accountId to set.
* @return This builder for chaining.
*/
public Builder setAccountId(int value) {
accountId_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* optional uint32 account_id = 1 [(.key_field) = true];
* @return This builder for chaining.
*/
public Builder clearAccountId() {
bitField0_ = (bitField0_ & ~0x00000001);
accountId_ = 0;
onChanged();
return this;
}
private int duelWins_ ;
/**
* optional uint32 duel_wins = 2;
* @return Whether the duelWins field is set.
*/
@java.lang.Override
public boolean hasDuelWins() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional uint32 duel_wins = 2;
* @return The duelWins.
*/
@java.lang.Override
public int getDuelWins() {
return duelWins_;
}
/**
* optional uint32 duel_wins = 2;
* @param value The duelWins to set.
* @return This builder for chaining.
*/
public Builder setDuelWins(int value) {
duelWins_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* optional uint32 duel_wins = 2;
* @return This builder for chaining.
*/
public Builder clearDuelWins() {
bitField0_ = (bitField0_ & ~0x00000002);
duelWins_ = 0;
onChanged();
return this;
}
private int duelLosses_ ;
/**
* optional uint32 duel_losses = 3;
* @return Whether the duelLosses field is set.
*/
@java.lang.Override
public boolean hasDuelLosses() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional uint32 duel_losses = 3;
* @return The duelLosses.
*/
@java.lang.Override
public int getDuelLosses() {
return duelLosses_;
}
/**
* optional uint32 duel_losses = 3;
* @param value The duelLosses to set.
* @return This builder for chaining.
*/
public Builder setDuelLosses(int value) {
duelLosses_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* optional uint32 duel_losses = 3;
* @return This builder for chaining.
*/
public Builder clearDuelLosses() {
bitField0_ = (bitField0_ & ~0x00000004);
duelLosses_ = 0;
onChanged();
return this;
}
private int lastDuelAccountId_ ;
/**
* optional uint32 last_duel_account_id = 4;
* @return Whether the lastDuelAccountId field is set.
*/
@java.lang.Override
public boolean hasLastDuelAccountId() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* optional uint32 last_duel_account_id = 4;
* @return The lastDuelAccountId.
*/
@java.lang.Override
public int getLastDuelAccountId() {
return lastDuelAccountId_;
}
/**
* optional uint32 last_duel_account_id = 4;
* @param value The lastDuelAccountId to set.
* @return This builder for chaining.
*/
public Builder setLastDuelAccountId(int value) {
lastDuelAccountId_ = value;
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* optional uint32 last_duel_account_id = 4;
* @return This builder for chaining.
*/
public Builder clearLastDuelAccountId() {
bitField0_ = (bitField0_ & ~0x00000008);
lastDuelAccountId_ = 0;
onChanged();
return this;
}
private int lastDuelTimestamp_ ;
/**
* optional uint32 last_duel_timestamp = 5;
* @return Whether the lastDuelTimestamp field is set.
*/
@java.lang.Override
public boolean hasLastDuelTimestamp() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* optional uint32 last_duel_timestamp = 5;
* @return The lastDuelTimestamp.
*/
@java.lang.Override
public int getLastDuelTimestamp() {
return lastDuelTimestamp_;
}
/**
* optional uint32 last_duel_timestamp = 5;
* @param value The lastDuelTimestamp to set.
* @return This builder for chaining.
*/
public Builder setLastDuelTimestamp(int value) {
lastDuelTimestamp_ = value;
bitField0_ |= 0x00000010;
onChanged();
return this;
}
/**
* optional uint32 last_duel_timestamp = 5;
* @return This builder for chaining.
*/
public Builder clearLastDuelTimestamp() {
bitField0_ = (bitField0_ & ~0x00000010);
lastDuelTimestamp_ = 0;
onChanged();
return this;
}
private int lastDuelStatus_ ;
/**
* optional uint32 last_duel_status = 6;
* @return Whether the lastDuelStatus field is set.
*/
@java.lang.Override
public boolean hasLastDuelStatus() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
* optional uint32 last_duel_status = 6;
* @return The lastDuelStatus.
*/
@java.lang.Override
public int getLastDuelStatus() {
return lastDuelStatus_;
}
/**
* optional uint32 last_duel_status = 6;
* @param value The lastDuelStatus to set.
* @return This builder for chaining.
*/
public Builder setLastDuelStatus(int value) {
lastDuelStatus_ = value;
bitField0_ |= 0x00000020;
onChanged();
return this;
}
/**
* optional uint32 last_duel_status = 6;
* @return This builder for chaining.
*/
public Builder clearLastDuelStatus() {
bitField0_ = (bitField0_ & ~0x00000020);
lastDuelStatus_ = 0;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:CSOTFDuelSummary)
}
// @@protoc_insertion_point(class_scope:CSOTFDuelSummary)
private static final in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CSOTFDuelSummary DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CSOTFDuelSummary();
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CSOTFDuelSummary getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public CSOTFDuelSummary parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CSOTFDuelSummary getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface CSOTFMapContributionOrBuilder extends
// @@protoc_insertion_point(interface_extends:CSOTFMapContribution)
com.google.protobuf.MessageOrBuilder {
/**
* optional uint32 account_id = 1 [(.key_field) = true];
* @return Whether the accountId field is set.
*/
boolean hasAccountId();
/**
* optional uint32 account_id = 1 [(.key_field) = true];
* @return The accountId.
*/
int getAccountId();
/**
* optional uint32 def_index = 2 [(.key_field) = true];
* @return Whether the defIndex field is set.
*/
boolean hasDefIndex();
/**
* optional uint32 def_index = 2 [(.key_field) = true];
* @return The defIndex.
*/
int getDefIndex();
/**
* optional uint32 contribution_level = 3;
* @return Whether the contributionLevel field is set.
*/
boolean hasContributionLevel();
/**
* optional uint32 contribution_level = 3;
* @return The contributionLevel.
*/
int getContributionLevel();
}
/**
* Protobuf type {@code CSOTFMapContribution}
*/
public static final class CSOTFMapContribution extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:CSOTFMapContribution)
CSOTFMapContributionOrBuilder {
private static final long serialVersionUID = 0L;
static {
com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
/* minor= */ 28,
/* patch= */ 0,
/* suffix= */ "",
CSOTFMapContribution.class.getName());
}
// Use CSOTFMapContribution.newBuilder() to construct.
private CSOTFMapContribution(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private CSOTFMapContribution() {
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CSOTFMapContribution_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CSOTFMapContribution_fieldAccessorTable
.ensureFieldAccessorsInitialized(
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CSOTFMapContribution.class, in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CSOTFMapContribution.Builder.class);
}
private int bitField0_;
public static final int ACCOUNT_ID_FIELD_NUMBER = 1;
private int accountId_ = 0;
/**
* optional uint32 account_id = 1 [(.key_field) = true];
* @return Whether the accountId field is set.
*/
@java.lang.Override
public boolean hasAccountId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional uint32 account_id = 1 [(.key_field) = true];
* @return The accountId.
*/
@java.lang.Override
public int getAccountId() {
return accountId_;
}
public static final int DEF_INDEX_FIELD_NUMBER = 2;
private int defIndex_ = 0;
/**
* optional uint32 def_index = 2 [(.key_field) = true];
* @return Whether the defIndex field is set.
*/
@java.lang.Override
public boolean hasDefIndex() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional uint32 def_index = 2 [(.key_field) = true];
* @return The defIndex.
*/
@java.lang.Override
public int getDefIndex() {
return defIndex_;
}
public static final int CONTRIBUTION_LEVEL_FIELD_NUMBER = 3;
private int contributionLevel_ = 0;
/**
* optional uint32 contribution_level = 3;
* @return Whether the contributionLevel field is set.
*/
@java.lang.Override
public boolean hasContributionLevel() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional uint32 contribution_level = 3;
* @return The contributionLevel.
*/
@java.lang.Override
public int getContributionLevel() {
return contributionLevel_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeUInt32(1, accountId_);
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeUInt32(2, defIndex_);
}
if (((bitField0_ & 0x00000004) != 0)) {
output.writeUInt32(3, contributionLevel_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(1, accountId_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(2, defIndex_);
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(3, contributionLevel_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CSOTFMapContribution)) {
return super.equals(obj);
}
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CSOTFMapContribution other = (in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CSOTFMapContribution) obj;
if (hasAccountId() != other.hasAccountId()) return false;
if (hasAccountId()) {
if (getAccountId()
!= other.getAccountId()) return false;
}
if (hasDefIndex() != other.hasDefIndex()) return false;
if (hasDefIndex()) {
if (getDefIndex()
!= other.getDefIndex()) return false;
}
if (hasContributionLevel() != other.hasContributionLevel()) return false;
if (hasContributionLevel()) {
if (getContributionLevel()
!= other.getContributionLevel()) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasAccountId()) {
hash = (37 * hash) + ACCOUNT_ID_FIELD_NUMBER;
hash = (53 * hash) + getAccountId();
}
if (hasDefIndex()) {
hash = (37 * hash) + DEF_INDEX_FIELD_NUMBER;
hash = (53 * hash) + getDefIndex();
}
if (hasContributionLevel()) {
hash = (37 * hash) + CONTRIBUTION_LEVEL_FIELD_NUMBER;
hash = (53 * hash) + getContributionLevel();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CSOTFMapContribution parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CSOTFMapContribution parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CSOTFMapContribution parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CSOTFMapContribution parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CSOTFMapContribution parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CSOTFMapContribution parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CSOTFMapContribution parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CSOTFMapContribution parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CSOTFMapContribution parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CSOTFMapContribution parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CSOTFMapContribution parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CSOTFMapContribution parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CSOTFMapContribution prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code CSOTFMapContribution}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:CSOTFMapContribution)
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CSOTFMapContributionOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CSOTFMapContribution_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CSOTFMapContribution_fieldAccessorTable
.ensureFieldAccessorsInitialized(
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CSOTFMapContribution.class, in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CSOTFMapContribution.Builder.class);
}
// Construct using in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CSOTFMapContribution.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
accountId_ = 0;
defIndex_ = 0;
contributionLevel_ = 0;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CSOTFMapContribution_descriptor;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CSOTFMapContribution getDefaultInstanceForType() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CSOTFMapContribution.getDefaultInstance();
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CSOTFMapContribution build() {
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CSOTFMapContribution result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CSOTFMapContribution buildPartial() {
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CSOTFMapContribution result = new in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CSOTFMapContribution(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CSOTFMapContribution result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.accountId_ = accountId_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.defIndex_ = defIndex_;
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.contributionLevel_ = contributionLevel_;
to_bitField0_ |= 0x00000004;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CSOTFMapContribution) {
return mergeFrom((in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CSOTFMapContribution)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CSOTFMapContribution other) {
if (other == in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CSOTFMapContribution.getDefaultInstance()) return this;
if (other.hasAccountId()) {
setAccountId(other.getAccountId());
}
if (other.hasDefIndex()) {
setDefIndex(other.getDefIndex());
}
if (other.hasContributionLevel()) {
setContributionLevel(other.getContributionLevel());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8: {
accountId_ = input.readUInt32();
bitField0_ |= 0x00000001;
break;
} // case 8
case 16: {
defIndex_ = input.readUInt32();
bitField0_ |= 0x00000002;
break;
} // case 16
case 24: {
contributionLevel_ = input.readUInt32();
bitField0_ |= 0x00000004;
break;
} // case 24
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private int accountId_ ;
/**
* optional uint32 account_id = 1 [(.key_field) = true];
* @return Whether the accountId field is set.
*/
@java.lang.Override
public boolean hasAccountId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional uint32 account_id = 1 [(.key_field) = true];
* @return The accountId.
*/
@java.lang.Override
public int getAccountId() {
return accountId_;
}
/**
* optional uint32 account_id = 1 [(.key_field) = true];
* @param value The accountId to set.
* @return This builder for chaining.
*/
public Builder setAccountId(int value) {
accountId_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* optional uint32 account_id = 1 [(.key_field) = true];
* @return This builder for chaining.
*/
public Builder clearAccountId() {
bitField0_ = (bitField0_ & ~0x00000001);
accountId_ = 0;
onChanged();
return this;
}
private int defIndex_ ;
/**
* optional uint32 def_index = 2 [(.key_field) = true];
* @return Whether the defIndex field is set.
*/
@java.lang.Override
public boolean hasDefIndex() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional uint32 def_index = 2 [(.key_field) = true];
* @return The defIndex.
*/
@java.lang.Override
public int getDefIndex() {
return defIndex_;
}
/**
* optional uint32 def_index = 2 [(.key_field) = true];
* @param value The defIndex to set.
* @return This builder for chaining.
*/
public Builder setDefIndex(int value) {
defIndex_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* optional uint32 def_index = 2 [(.key_field) = true];
* @return This builder for chaining.
*/
public Builder clearDefIndex() {
bitField0_ = (bitField0_ & ~0x00000002);
defIndex_ = 0;
onChanged();
return this;
}
private int contributionLevel_ ;
/**
* optional uint32 contribution_level = 3;
* @return Whether the contributionLevel field is set.
*/
@java.lang.Override
public boolean hasContributionLevel() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional uint32 contribution_level = 3;
* @return The contributionLevel.
*/
@java.lang.Override
public int getContributionLevel() {
return contributionLevel_;
}
/**
* optional uint32 contribution_level = 3;
* @param value The contributionLevel to set.
* @return This builder for chaining.
*/
public Builder setContributionLevel(int value) {
contributionLevel_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* optional uint32 contribution_level = 3;
* @return This builder for chaining.
*/
public Builder clearContributionLevel() {
bitField0_ = (bitField0_ & ~0x00000004);
contributionLevel_ = 0;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:CSOTFMapContribution)
}
// @@protoc_insertion_point(class_scope:CSOTFMapContribution)
private static final in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CSOTFMapContribution DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CSOTFMapContribution();
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CSOTFMapContribution getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public CSOTFMapContribution parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CSOTFMapContribution getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface CMsgTFFreeTrialChooseMostHelpfulFriendOrBuilder extends
// @@protoc_insertion_point(interface_extends:CMsgTFFreeTrialChooseMostHelpfulFriend)
com.google.protobuf.MessageOrBuilder {
/**
* optional uint32 account_id_friend = 1;
* @return Whether the accountIdFriend field is set.
*/
boolean hasAccountIdFriend();
/**
* optional uint32 account_id_friend = 1;
* @return The accountIdFriend.
*/
int getAccountIdFriend();
}
/**
* Protobuf type {@code CMsgTFFreeTrialChooseMostHelpfulFriend}
*/
public static final class CMsgTFFreeTrialChooseMostHelpfulFriend extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:CMsgTFFreeTrialChooseMostHelpfulFriend)
CMsgTFFreeTrialChooseMostHelpfulFriendOrBuilder {
private static final long serialVersionUID = 0L;
static {
com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
/* minor= */ 28,
/* patch= */ 0,
/* suffix= */ "",
CMsgTFFreeTrialChooseMostHelpfulFriend.class.getName());
}
// Use CMsgTFFreeTrialChooseMostHelpfulFriend.newBuilder() to construct.
private CMsgTFFreeTrialChooseMostHelpfulFriend(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private CMsgTFFreeTrialChooseMostHelpfulFriend() {
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CMsgTFFreeTrialChooseMostHelpfulFriend_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CMsgTFFreeTrialChooseMostHelpfulFriend_fieldAccessorTable
.ensureFieldAccessorsInitialized(
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFFreeTrialChooseMostHelpfulFriend.class, in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFFreeTrialChooseMostHelpfulFriend.Builder.class);
}
private int bitField0_;
public static final int ACCOUNT_ID_FRIEND_FIELD_NUMBER = 1;
private int accountIdFriend_ = 0;
/**
* optional uint32 account_id_friend = 1;
* @return Whether the accountIdFriend field is set.
*/
@java.lang.Override
public boolean hasAccountIdFriend() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional uint32 account_id_friend = 1;
* @return The accountIdFriend.
*/
@java.lang.Override
public int getAccountIdFriend() {
return accountIdFriend_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeUInt32(1, accountIdFriend_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(1, accountIdFriend_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFFreeTrialChooseMostHelpfulFriend)) {
return super.equals(obj);
}
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFFreeTrialChooseMostHelpfulFriend other = (in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFFreeTrialChooseMostHelpfulFriend) obj;
if (hasAccountIdFriend() != other.hasAccountIdFriend()) return false;
if (hasAccountIdFriend()) {
if (getAccountIdFriend()
!= other.getAccountIdFriend()) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasAccountIdFriend()) {
hash = (37 * hash) + ACCOUNT_ID_FRIEND_FIELD_NUMBER;
hash = (53 * hash) + getAccountIdFriend();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFFreeTrialChooseMostHelpfulFriend parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFFreeTrialChooseMostHelpfulFriend parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFFreeTrialChooseMostHelpfulFriend parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFFreeTrialChooseMostHelpfulFriend parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFFreeTrialChooseMostHelpfulFriend parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFFreeTrialChooseMostHelpfulFriend parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFFreeTrialChooseMostHelpfulFriend parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFFreeTrialChooseMostHelpfulFriend parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFFreeTrialChooseMostHelpfulFriend parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFFreeTrialChooseMostHelpfulFriend parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFFreeTrialChooseMostHelpfulFriend parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFFreeTrialChooseMostHelpfulFriend parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFFreeTrialChooseMostHelpfulFriend prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code CMsgTFFreeTrialChooseMostHelpfulFriend}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:CMsgTFFreeTrialChooseMostHelpfulFriend)
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFFreeTrialChooseMostHelpfulFriendOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CMsgTFFreeTrialChooseMostHelpfulFriend_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CMsgTFFreeTrialChooseMostHelpfulFriend_fieldAccessorTable
.ensureFieldAccessorsInitialized(
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFFreeTrialChooseMostHelpfulFriend.class, in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFFreeTrialChooseMostHelpfulFriend.Builder.class);
}
// Construct using in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFFreeTrialChooseMostHelpfulFriend.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
accountIdFriend_ = 0;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CMsgTFFreeTrialChooseMostHelpfulFriend_descriptor;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFFreeTrialChooseMostHelpfulFriend getDefaultInstanceForType() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFFreeTrialChooseMostHelpfulFriend.getDefaultInstance();
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFFreeTrialChooseMostHelpfulFriend build() {
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFFreeTrialChooseMostHelpfulFriend result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFFreeTrialChooseMostHelpfulFriend buildPartial() {
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFFreeTrialChooseMostHelpfulFriend result = new in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFFreeTrialChooseMostHelpfulFriend(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFFreeTrialChooseMostHelpfulFriend result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.accountIdFriend_ = accountIdFriend_;
to_bitField0_ |= 0x00000001;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFFreeTrialChooseMostHelpfulFriend) {
return mergeFrom((in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFFreeTrialChooseMostHelpfulFriend)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFFreeTrialChooseMostHelpfulFriend other) {
if (other == in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFFreeTrialChooseMostHelpfulFriend.getDefaultInstance()) return this;
if (other.hasAccountIdFriend()) {
setAccountIdFriend(other.getAccountIdFriend());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8: {
accountIdFriend_ = input.readUInt32();
bitField0_ |= 0x00000001;
break;
} // case 8
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private int accountIdFriend_ ;
/**
* optional uint32 account_id_friend = 1;
* @return Whether the accountIdFriend field is set.
*/
@java.lang.Override
public boolean hasAccountIdFriend() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional uint32 account_id_friend = 1;
* @return The accountIdFriend.
*/
@java.lang.Override
public int getAccountIdFriend() {
return accountIdFriend_;
}
/**
* optional uint32 account_id_friend = 1;
* @param value The accountIdFriend to set.
* @return This builder for chaining.
*/
public Builder setAccountIdFriend(int value) {
accountIdFriend_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* optional uint32 account_id_friend = 1;
* @return This builder for chaining.
*/
public Builder clearAccountIdFriend() {
bitField0_ = (bitField0_ & ~0x00000001);
accountIdFriend_ = 0;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:CMsgTFFreeTrialChooseMostHelpfulFriend)
}
// @@protoc_insertion_point(class_scope:CMsgTFFreeTrialChooseMostHelpfulFriend)
private static final in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFFreeTrialChooseMostHelpfulFriend DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFFreeTrialChooseMostHelpfulFriend();
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFFreeTrialChooseMostHelpfulFriend getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public CMsgTFFreeTrialChooseMostHelpfulFriend parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFFreeTrialChooseMostHelpfulFriend getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface CMsgTFRequestTF2FriendsOrBuilder extends
// @@protoc_insertion_point(interface_extends:CMsgTFRequestTF2Friends)
com.google.protobuf.MessageOrBuilder {
/**
* repeated uint32 account_ids = 1;
* @return A list containing the accountIds.
*/
java.util.List getAccountIdsList();
/**
* repeated uint32 account_ids = 1;
* @return The count of accountIds.
*/
int getAccountIdsCount();
/**
* repeated uint32 account_ids = 1;
* @param index The index of the element to return.
* @return The accountIds at the given index.
*/
int getAccountIds(int index);
}
/**
* Protobuf type {@code CMsgTFRequestTF2Friends}
*/
public static final class CMsgTFRequestTF2Friends extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:CMsgTFRequestTF2Friends)
CMsgTFRequestTF2FriendsOrBuilder {
private static final long serialVersionUID = 0L;
static {
com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
/* minor= */ 28,
/* patch= */ 0,
/* suffix= */ "",
CMsgTFRequestTF2Friends.class.getName());
}
// Use CMsgTFRequestTF2Friends.newBuilder() to construct.
private CMsgTFRequestTF2Friends(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private CMsgTFRequestTF2Friends() {
accountIds_ = emptyIntList();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CMsgTFRequestTF2Friends_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CMsgTFRequestTF2Friends_fieldAccessorTable
.ensureFieldAccessorsInitialized(
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFRequestTF2Friends.class, in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFRequestTF2Friends.Builder.class);
}
public static final int ACCOUNT_IDS_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private com.google.protobuf.Internal.IntList accountIds_ =
emptyIntList();
/**
* repeated uint32 account_ids = 1;
* @return A list containing the accountIds.
*/
@java.lang.Override
public java.util.List
getAccountIdsList() {
return accountIds_;
}
/**
* repeated uint32 account_ids = 1;
* @return The count of accountIds.
*/
public int getAccountIdsCount() {
return accountIds_.size();
}
/**
* repeated uint32 account_ids = 1;
* @param index The index of the element to return.
* @return The accountIds at the given index.
*/
public int getAccountIds(int index) {
return accountIds_.getInt(index);
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
for (int i = 0; i < accountIds_.size(); i++) {
output.writeUInt32(1, accountIds_.getInt(i));
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
{
int dataSize = 0;
for (int i = 0; i < accountIds_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeUInt32SizeNoTag(accountIds_.getInt(i));
}
size += dataSize;
size += 1 * getAccountIdsList().size();
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFRequestTF2Friends)) {
return super.equals(obj);
}
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFRequestTF2Friends other = (in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFRequestTF2Friends) obj;
if (!getAccountIdsList()
.equals(other.getAccountIdsList())) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (getAccountIdsCount() > 0) {
hash = (37 * hash) + ACCOUNT_IDS_FIELD_NUMBER;
hash = (53 * hash) + getAccountIdsList().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFRequestTF2Friends parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFRequestTF2Friends parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFRequestTF2Friends parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFRequestTF2Friends parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFRequestTF2Friends parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFRequestTF2Friends parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFRequestTF2Friends parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFRequestTF2Friends parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFRequestTF2Friends parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFRequestTF2Friends parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFRequestTF2Friends parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFRequestTF2Friends parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFRequestTF2Friends prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code CMsgTFRequestTF2Friends}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:CMsgTFRequestTF2Friends)
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFRequestTF2FriendsOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CMsgTFRequestTF2Friends_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CMsgTFRequestTF2Friends_fieldAccessorTable
.ensureFieldAccessorsInitialized(
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFRequestTF2Friends.class, in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFRequestTF2Friends.Builder.class);
}
// Construct using in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFRequestTF2Friends.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
accountIds_ = emptyIntList();
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CMsgTFRequestTF2Friends_descriptor;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFRequestTF2Friends getDefaultInstanceForType() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFRequestTF2Friends.getDefaultInstance();
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFRequestTF2Friends build() {
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFRequestTF2Friends result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFRequestTF2Friends buildPartial() {
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFRequestTF2Friends result = new in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFRequestTF2Friends(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFRequestTF2Friends result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
accountIds_.makeImmutable();
result.accountIds_ = accountIds_;
}
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFRequestTF2Friends) {
return mergeFrom((in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFRequestTF2Friends)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFRequestTF2Friends other) {
if (other == in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFRequestTF2Friends.getDefaultInstance()) return this;
if (!other.accountIds_.isEmpty()) {
if (accountIds_.isEmpty()) {
accountIds_ = other.accountIds_;
accountIds_.makeImmutable();
bitField0_ |= 0x00000001;
} else {
ensureAccountIdsIsMutable();
accountIds_.addAll(other.accountIds_);
}
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8: {
int v = input.readUInt32();
ensureAccountIdsIsMutable();
accountIds_.addInt(v);
break;
} // case 8
case 10: {
int length = input.readRawVarint32();
int limit = input.pushLimit(length);
ensureAccountIdsIsMutable();
while (input.getBytesUntilLimit() > 0) {
accountIds_.addInt(input.readUInt32());
}
input.popLimit(limit);
break;
} // case 10
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private com.google.protobuf.Internal.IntList accountIds_ = emptyIntList();
private void ensureAccountIdsIsMutable() {
if (!accountIds_.isModifiable()) {
accountIds_ = makeMutableCopy(accountIds_);
}
bitField0_ |= 0x00000001;
}
/**
* repeated uint32 account_ids = 1;
* @return A list containing the accountIds.
*/
public java.util.List
getAccountIdsList() {
accountIds_.makeImmutable();
return accountIds_;
}
/**
* repeated uint32 account_ids = 1;
* @return The count of accountIds.
*/
public int getAccountIdsCount() {
return accountIds_.size();
}
/**
* repeated uint32 account_ids = 1;
* @param index The index of the element to return.
* @return The accountIds at the given index.
*/
public int getAccountIds(int index) {
return accountIds_.getInt(index);
}
/**
* repeated uint32 account_ids = 1;
* @param index The index to set the value at.
* @param value The accountIds to set.
* @return This builder for chaining.
*/
public Builder setAccountIds(
int index, int value) {
ensureAccountIdsIsMutable();
accountIds_.setInt(index, value);
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* repeated uint32 account_ids = 1;
* @param value The accountIds to add.
* @return This builder for chaining.
*/
public Builder addAccountIds(int value) {
ensureAccountIdsIsMutable();
accountIds_.addInt(value);
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* repeated uint32 account_ids = 1;
* @param values The accountIds to add.
* @return This builder for chaining.
*/
public Builder addAllAccountIds(
java.lang.Iterable extends java.lang.Integer> values) {
ensureAccountIdsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, accountIds_);
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* repeated uint32 account_ids = 1;
* @return This builder for chaining.
*/
public Builder clearAccountIds() {
accountIds_ = emptyIntList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:CMsgTFRequestTF2Friends)
}
// @@protoc_insertion_point(class_scope:CMsgTFRequestTF2Friends)
private static final in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFRequestTF2Friends DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFRequestTF2Friends();
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFRequestTF2Friends getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public CMsgTFRequestTF2Friends parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFRequestTF2Friends getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface CMsgTFRequestTF2FriendsResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:CMsgTFRequestTF2FriendsResponse)
com.google.protobuf.MessageOrBuilder {
/**
* repeated uint32 account_ids = 1;
* @return A list containing the accountIds.
*/
java.util.List getAccountIdsList();
/**
* repeated uint32 account_ids = 1;
* @return The count of accountIds.
*/
int getAccountIdsCount();
/**
* repeated uint32 account_ids = 1;
* @param index The index of the element to return.
* @return The accountIds at the given index.
*/
int getAccountIds(int index);
}
/**
* Protobuf type {@code CMsgTFRequestTF2FriendsResponse}
*/
public static final class CMsgTFRequestTF2FriendsResponse extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:CMsgTFRequestTF2FriendsResponse)
CMsgTFRequestTF2FriendsResponseOrBuilder {
private static final long serialVersionUID = 0L;
static {
com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
/* minor= */ 28,
/* patch= */ 0,
/* suffix= */ "",
CMsgTFRequestTF2FriendsResponse.class.getName());
}
// Use CMsgTFRequestTF2FriendsResponse.newBuilder() to construct.
private CMsgTFRequestTF2FriendsResponse(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private CMsgTFRequestTF2FriendsResponse() {
accountIds_ = emptyIntList();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CMsgTFRequestTF2FriendsResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CMsgTFRequestTF2FriendsResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFRequestTF2FriendsResponse.class, in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFRequestTF2FriendsResponse.Builder.class);
}
public static final int ACCOUNT_IDS_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private com.google.protobuf.Internal.IntList accountIds_ =
emptyIntList();
/**
* repeated uint32 account_ids = 1;
* @return A list containing the accountIds.
*/
@java.lang.Override
public java.util.List
getAccountIdsList() {
return accountIds_;
}
/**
* repeated uint32 account_ids = 1;
* @return The count of accountIds.
*/
public int getAccountIdsCount() {
return accountIds_.size();
}
/**
* repeated uint32 account_ids = 1;
* @param index The index of the element to return.
* @return The accountIds at the given index.
*/
public int getAccountIds(int index) {
return accountIds_.getInt(index);
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
for (int i = 0; i < accountIds_.size(); i++) {
output.writeUInt32(1, accountIds_.getInt(i));
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
{
int dataSize = 0;
for (int i = 0; i < accountIds_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeUInt32SizeNoTag(accountIds_.getInt(i));
}
size += dataSize;
size += 1 * getAccountIdsList().size();
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFRequestTF2FriendsResponse)) {
return super.equals(obj);
}
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFRequestTF2FriendsResponse other = (in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFRequestTF2FriendsResponse) obj;
if (!getAccountIdsList()
.equals(other.getAccountIdsList())) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (getAccountIdsCount() > 0) {
hash = (37 * hash) + ACCOUNT_IDS_FIELD_NUMBER;
hash = (53 * hash) + getAccountIdsList().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFRequestTF2FriendsResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFRequestTF2FriendsResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFRequestTF2FriendsResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFRequestTF2FriendsResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFRequestTF2FriendsResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFRequestTF2FriendsResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFRequestTF2FriendsResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFRequestTF2FriendsResponse parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFRequestTF2FriendsResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFRequestTF2FriendsResponse parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFRequestTF2FriendsResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFRequestTF2FriendsResponse parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFRequestTF2FriendsResponse prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code CMsgTFRequestTF2FriendsResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:CMsgTFRequestTF2FriendsResponse)
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFRequestTF2FriendsResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CMsgTFRequestTF2FriendsResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CMsgTFRequestTF2FriendsResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFRequestTF2FriendsResponse.class, in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFRequestTF2FriendsResponse.Builder.class);
}
// Construct using in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFRequestTF2FriendsResponse.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
accountIds_ = emptyIntList();
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CMsgTFRequestTF2FriendsResponse_descriptor;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFRequestTF2FriendsResponse getDefaultInstanceForType() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFRequestTF2FriendsResponse.getDefaultInstance();
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFRequestTF2FriendsResponse build() {
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFRequestTF2FriendsResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFRequestTF2FriendsResponse buildPartial() {
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFRequestTF2FriendsResponse result = new in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFRequestTF2FriendsResponse(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFRequestTF2FriendsResponse result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
accountIds_.makeImmutable();
result.accountIds_ = accountIds_;
}
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFRequestTF2FriendsResponse) {
return mergeFrom((in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFRequestTF2FriendsResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFRequestTF2FriendsResponse other) {
if (other == in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFRequestTF2FriendsResponse.getDefaultInstance()) return this;
if (!other.accountIds_.isEmpty()) {
if (accountIds_.isEmpty()) {
accountIds_ = other.accountIds_;
accountIds_.makeImmutable();
bitField0_ |= 0x00000001;
} else {
ensureAccountIdsIsMutable();
accountIds_.addAll(other.accountIds_);
}
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8: {
int v = input.readUInt32();
ensureAccountIdsIsMutable();
accountIds_.addInt(v);
break;
} // case 8
case 10: {
int length = input.readRawVarint32();
int limit = input.pushLimit(length);
ensureAccountIdsIsMutable();
while (input.getBytesUntilLimit() > 0) {
accountIds_.addInt(input.readUInt32());
}
input.popLimit(limit);
break;
} // case 10
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private com.google.protobuf.Internal.IntList accountIds_ = emptyIntList();
private void ensureAccountIdsIsMutable() {
if (!accountIds_.isModifiable()) {
accountIds_ = makeMutableCopy(accountIds_);
}
bitField0_ |= 0x00000001;
}
/**
* repeated uint32 account_ids = 1;
* @return A list containing the accountIds.
*/
public java.util.List
getAccountIdsList() {
accountIds_.makeImmutable();
return accountIds_;
}
/**
* repeated uint32 account_ids = 1;
* @return The count of accountIds.
*/
public int getAccountIdsCount() {
return accountIds_.size();
}
/**
* repeated uint32 account_ids = 1;
* @param index The index of the element to return.
* @return The accountIds at the given index.
*/
public int getAccountIds(int index) {
return accountIds_.getInt(index);
}
/**
* repeated uint32 account_ids = 1;
* @param index The index to set the value at.
* @param value The accountIds to set.
* @return This builder for chaining.
*/
public Builder setAccountIds(
int index, int value) {
ensureAccountIdsIsMutable();
accountIds_.setInt(index, value);
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* repeated uint32 account_ids = 1;
* @param value The accountIds to add.
* @return This builder for chaining.
*/
public Builder addAccountIds(int value) {
ensureAccountIdsIsMutable();
accountIds_.addInt(value);
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* repeated uint32 account_ids = 1;
* @param values The accountIds to add.
* @return This builder for chaining.
*/
public Builder addAllAccountIds(
java.lang.Iterable extends java.lang.Integer> values) {
ensureAccountIdsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, accountIds_);
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* repeated uint32 account_ids = 1;
* @return This builder for chaining.
*/
public Builder clearAccountIds() {
accountIds_ = emptyIntList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:CMsgTFRequestTF2FriendsResponse)
}
// @@protoc_insertion_point(class_scope:CMsgTFRequestTF2FriendsResponse)
private static final in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFRequestTF2FriendsResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFRequestTF2FriendsResponse();
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFRequestTF2FriendsResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public CMsgTFRequestTF2FriendsResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFRequestTF2FriendsResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface CSOTFPlayerInfoOrBuilder extends
// @@protoc_insertion_point(interface_extends:CSOTFPlayerInfo)
com.google.protobuf.MessageOrBuilder {
/**
* optional uint32 num_new_users_helped = 1;
* @return Whether the numNewUsersHelped field is set.
*/
boolean hasNumNewUsersHelped();
/**
* optional uint32 num_new_users_helped = 1;
* @return The numNewUsersHelped.
*/
int getNumNewUsersHelped();
}
/**
* Protobuf type {@code CSOTFPlayerInfo}
*/
public static final class CSOTFPlayerInfo extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:CSOTFPlayerInfo)
CSOTFPlayerInfoOrBuilder {
private static final long serialVersionUID = 0L;
static {
com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
/* minor= */ 28,
/* patch= */ 0,
/* suffix= */ "",
CSOTFPlayerInfo.class.getName());
}
// Use CSOTFPlayerInfo.newBuilder() to construct.
private CSOTFPlayerInfo(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private CSOTFPlayerInfo() {
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CSOTFPlayerInfo_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CSOTFPlayerInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CSOTFPlayerInfo.class, in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CSOTFPlayerInfo.Builder.class);
}
private int bitField0_;
public static final int NUM_NEW_USERS_HELPED_FIELD_NUMBER = 1;
private int numNewUsersHelped_ = 0;
/**
* optional uint32 num_new_users_helped = 1;
* @return Whether the numNewUsersHelped field is set.
*/
@java.lang.Override
public boolean hasNumNewUsersHelped() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional uint32 num_new_users_helped = 1;
* @return The numNewUsersHelped.
*/
@java.lang.Override
public int getNumNewUsersHelped() {
return numNewUsersHelped_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeUInt32(1, numNewUsersHelped_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(1, numNewUsersHelped_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CSOTFPlayerInfo)) {
return super.equals(obj);
}
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CSOTFPlayerInfo other = (in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CSOTFPlayerInfo) obj;
if (hasNumNewUsersHelped() != other.hasNumNewUsersHelped()) return false;
if (hasNumNewUsersHelped()) {
if (getNumNewUsersHelped()
!= other.getNumNewUsersHelped()) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasNumNewUsersHelped()) {
hash = (37 * hash) + NUM_NEW_USERS_HELPED_FIELD_NUMBER;
hash = (53 * hash) + getNumNewUsersHelped();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CSOTFPlayerInfo parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CSOTFPlayerInfo parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CSOTFPlayerInfo parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CSOTFPlayerInfo parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CSOTFPlayerInfo parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CSOTFPlayerInfo parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CSOTFPlayerInfo parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CSOTFPlayerInfo parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CSOTFPlayerInfo parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CSOTFPlayerInfo parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CSOTFPlayerInfo parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CSOTFPlayerInfo parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CSOTFPlayerInfo prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code CSOTFPlayerInfo}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:CSOTFPlayerInfo)
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CSOTFPlayerInfoOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CSOTFPlayerInfo_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CSOTFPlayerInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CSOTFPlayerInfo.class, in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CSOTFPlayerInfo.Builder.class);
}
// Construct using in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CSOTFPlayerInfo.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
numNewUsersHelped_ = 0;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CSOTFPlayerInfo_descriptor;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CSOTFPlayerInfo getDefaultInstanceForType() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CSOTFPlayerInfo.getDefaultInstance();
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CSOTFPlayerInfo build() {
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CSOTFPlayerInfo result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CSOTFPlayerInfo buildPartial() {
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CSOTFPlayerInfo result = new in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CSOTFPlayerInfo(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CSOTFPlayerInfo result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.numNewUsersHelped_ = numNewUsersHelped_;
to_bitField0_ |= 0x00000001;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CSOTFPlayerInfo) {
return mergeFrom((in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CSOTFPlayerInfo)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CSOTFPlayerInfo other) {
if (other == in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CSOTFPlayerInfo.getDefaultInstance()) return this;
if (other.hasNumNewUsersHelped()) {
setNumNewUsersHelped(other.getNumNewUsersHelped());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8: {
numNewUsersHelped_ = input.readUInt32();
bitField0_ |= 0x00000001;
break;
} // case 8
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private int numNewUsersHelped_ ;
/**
* optional uint32 num_new_users_helped = 1;
* @return Whether the numNewUsersHelped field is set.
*/
@java.lang.Override
public boolean hasNumNewUsersHelped() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional uint32 num_new_users_helped = 1;
* @return The numNewUsersHelped.
*/
@java.lang.Override
public int getNumNewUsersHelped() {
return numNewUsersHelped_;
}
/**
* optional uint32 num_new_users_helped = 1;
* @param value The numNewUsersHelped to set.
* @return This builder for chaining.
*/
public Builder setNumNewUsersHelped(int value) {
numNewUsersHelped_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* optional uint32 num_new_users_helped = 1;
* @return This builder for chaining.
*/
public Builder clearNumNewUsersHelped() {
bitField0_ = (bitField0_ & ~0x00000001);
numNewUsersHelped_ = 0;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:CSOTFPlayerInfo)
}
// @@protoc_insertion_point(class_scope:CSOTFPlayerInfo)
private static final in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CSOTFPlayerInfo DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CSOTFPlayerInfo();
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CSOTFPlayerInfo getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public CSOTFPlayerInfo parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CSOTFPlayerInfo getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface CMsgTFThankedBySomeoneOrBuilder extends
// @@protoc_insertion_point(interface_extends:CMsgTFThankedBySomeone)
com.google.protobuf.MessageOrBuilder {
/**
* optional uint64 thanker_steam_id = 1;
* @return Whether the thankerSteamId field is set.
*/
boolean hasThankerSteamId();
/**
* optional uint64 thanker_steam_id = 1;
* @return The thankerSteamId.
*/
long getThankerSteamId();
}
/**
* Protobuf type {@code CMsgTFThankedBySomeone}
*/
public static final class CMsgTFThankedBySomeone extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:CMsgTFThankedBySomeone)
CMsgTFThankedBySomeoneOrBuilder {
private static final long serialVersionUID = 0L;
static {
com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
/* minor= */ 28,
/* patch= */ 0,
/* suffix= */ "",
CMsgTFThankedBySomeone.class.getName());
}
// Use CMsgTFThankedBySomeone.newBuilder() to construct.
private CMsgTFThankedBySomeone(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private CMsgTFThankedBySomeone() {
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CMsgTFThankedBySomeone_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CMsgTFThankedBySomeone_fieldAccessorTable
.ensureFieldAccessorsInitialized(
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFThankedBySomeone.class, in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFThankedBySomeone.Builder.class);
}
private int bitField0_;
public static final int THANKER_STEAM_ID_FIELD_NUMBER = 1;
private long thankerSteamId_ = 0L;
/**
* optional uint64 thanker_steam_id = 1;
* @return Whether the thankerSteamId field is set.
*/
@java.lang.Override
public boolean hasThankerSteamId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional uint64 thanker_steam_id = 1;
* @return The thankerSteamId.
*/
@java.lang.Override
public long getThankerSteamId() {
return thankerSteamId_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeUInt64(1, thankerSteamId_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt64Size(1, thankerSteamId_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFThankedBySomeone)) {
return super.equals(obj);
}
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFThankedBySomeone other = (in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFThankedBySomeone) obj;
if (hasThankerSteamId() != other.hasThankerSteamId()) return false;
if (hasThankerSteamId()) {
if (getThankerSteamId()
!= other.getThankerSteamId()) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasThankerSteamId()) {
hash = (37 * hash) + THANKER_STEAM_ID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getThankerSteamId());
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFThankedBySomeone parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFThankedBySomeone parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFThankedBySomeone parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFThankedBySomeone parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFThankedBySomeone parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFThankedBySomeone parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFThankedBySomeone parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFThankedBySomeone parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFThankedBySomeone parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFThankedBySomeone parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFThankedBySomeone parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFThankedBySomeone parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFThankedBySomeone prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code CMsgTFThankedBySomeone}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:CMsgTFThankedBySomeone)
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFThankedBySomeoneOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CMsgTFThankedBySomeone_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CMsgTFThankedBySomeone_fieldAccessorTable
.ensureFieldAccessorsInitialized(
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFThankedBySomeone.class, in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFThankedBySomeone.Builder.class);
}
// Construct using in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFThankedBySomeone.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
thankerSteamId_ = 0L;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CMsgTFThankedBySomeone_descriptor;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFThankedBySomeone getDefaultInstanceForType() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFThankedBySomeone.getDefaultInstance();
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFThankedBySomeone build() {
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFThankedBySomeone result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFThankedBySomeone buildPartial() {
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFThankedBySomeone result = new in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFThankedBySomeone(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFThankedBySomeone result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.thankerSteamId_ = thankerSteamId_;
to_bitField0_ |= 0x00000001;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFThankedBySomeone) {
return mergeFrom((in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFThankedBySomeone)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFThankedBySomeone other) {
if (other == in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFThankedBySomeone.getDefaultInstance()) return this;
if (other.hasThankerSteamId()) {
setThankerSteamId(other.getThankerSteamId());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8: {
thankerSteamId_ = input.readUInt64();
bitField0_ |= 0x00000001;
break;
} // case 8
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private long thankerSteamId_ ;
/**
* optional uint64 thanker_steam_id = 1;
* @return Whether the thankerSteamId field is set.
*/
@java.lang.Override
public boolean hasThankerSteamId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional uint64 thanker_steam_id = 1;
* @return The thankerSteamId.
*/
@java.lang.Override
public long getThankerSteamId() {
return thankerSteamId_;
}
/**
* optional uint64 thanker_steam_id = 1;
* @param value The thankerSteamId to set.
* @return This builder for chaining.
*/
public Builder setThankerSteamId(long value) {
thankerSteamId_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* optional uint64 thanker_steam_id = 1;
* @return This builder for chaining.
*/
public Builder clearThankerSteamId() {
bitField0_ = (bitField0_ & ~0x00000001);
thankerSteamId_ = 0L;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:CMsgTFThankedBySomeone)
}
// @@protoc_insertion_point(class_scope:CMsgTFThankedBySomeone)
private static final in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFThankedBySomeone DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFThankedBySomeone();
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFThankedBySomeone getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public CMsgTFThankedBySomeone parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFThankedBySomeone getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface CMsgTFThankedSomeoneOrBuilder extends
// @@protoc_insertion_point(interface_extends:CMsgTFThankedSomeone)
com.google.protobuf.MessageOrBuilder {
}
/**
* Protobuf type {@code CMsgTFThankedSomeone}
*/
public static final class CMsgTFThankedSomeone extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:CMsgTFThankedSomeone)
CMsgTFThankedSomeoneOrBuilder {
private static final long serialVersionUID = 0L;
static {
com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
/* minor= */ 28,
/* patch= */ 0,
/* suffix= */ "",
CMsgTFThankedSomeone.class.getName());
}
// Use CMsgTFThankedSomeone.newBuilder() to construct.
private CMsgTFThankedSomeone(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private CMsgTFThankedSomeone() {
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CMsgTFThankedSomeone_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CMsgTFThankedSomeone_fieldAccessorTable
.ensureFieldAccessorsInitialized(
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFThankedSomeone.class, in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFThankedSomeone.Builder.class);
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFThankedSomeone)) {
return super.equals(obj);
}
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFThankedSomeone other = (in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFThankedSomeone) obj;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFThankedSomeone parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFThankedSomeone parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFThankedSomeone parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFThankedSomeone parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFThankedSomeone parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFThankedSomeone parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFThankedSomeone parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFThankedSomeone parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFThankedSomeone parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFThankedSomeone parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFThankedSomeone parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFThankedSomeone parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFThankedSomeone prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code CMsgTFThankedSomeone}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:CMsgTFThankedSomeone)
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFThankedSomeoneOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CMsgTFThankedSomeone_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CMsgTFThankedSomeone_fieldAccessorTable
.ensureFieldAccessorsInitialized(
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFThankedSomeone.class, in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFThankedSomeone.Builder.class);
}
// Construct using in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFThankedSomeone.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CMsgTFThankedSomeone_descriptor;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFThankedSomeone getDefaultInstanceForType() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFThankedSomeone.getDefaultInstance();
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFThankedSomeone build() {
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFThankedSomeone result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFThankedSomeone buildPartial() {
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFThankedSomeone result = new in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFThankedSomeone(this);
onBuilt();
return result;
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFThankedSomeone) {
return mergeFrom((in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFThankedSomeone)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFThankedSomeone other) {
if (other == in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFThankedSomeone.getDefaultInstance()) return this;
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
// @@protoc_insertion_point(builder_scope:CMsgTFThankedSomeone)
}
// @@protoc_insertion_point(class_scope:CMsgTFThankedSomeone)
private static final in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFThankedSomeone DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFThankedSomeone();
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFThankedSomeone getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public CMsgTFThankedSomeone parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFThankedSomeone getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface CMsgTFFreeTrialConvertedToPremiumOrBuilder extends
// @@protoc_insertion_point(interface_extends:CMsgTFFreeTrialConvertedToPremium)
com.google.protobuf.MessageOrBuilder {
}
/**
* Protobuf type {@code CMsgTFFreeTrialConvertedToPremium}
*/
public static final class CMsgTFFreeTrialConvertedToPremium extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:CMsgTFFreeTrialConvertedToPremium)
CMsgTFFreeTrialConvertedToPremiumOrBuilder {
private static final long serialVersionUID = 0L;
static {
com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
/* minor= */ 28,
/* patch= */ 0,
/* suffix= */ "",
CMsgTFFreeTrialConvertedToPremium.class.getName());
}
// Use CMsgTFFreeTrialConvertedToPremium.newBuilder() to construct.
private CMsgTFFreeTrialConvertedToPremium(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private CMsgTFFreeTrialConvertedToPremium() {
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CMsgTFFreeTrialConvertedToPremium_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CMsgTFFreeTrialConvertedToPremium_fieldAccessorTable
.ensureFieldAccessorsInitialized(
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFFreeTrialConvertedToPremium.class, in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFFreeTrialConvertedToPremium.Builder.class);
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFFreeTrialConvertedToPremium)) {
return super.equals(obj);
}
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFFreeTrialConvertedToPremium other = (in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFFreeTrialConvertedToPremium) obj;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFFreeTrialConvertedToPremium parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFFreeTrialConvertedToPremium parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFFreeTrialConvertedToPremium parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFFreeTrialConvertedToPremium parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFFreeTrialConvertedToPremium parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFFreeTrialConvertedToPremium parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFFreeTrialConvertedToPremium parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFFreeTrialConvertedToPremium parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFFreeTrialConvertedToPremium parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFFreeTrialConvertedToPremium parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFFreeTrialConvertedToPremium parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFFreeTrialConvertedToPremium parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFFreeTrialConvertedToPremium prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code CMsgTFFreeTrialConvertedToPremium}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:CMsgTFFreeTrialConvertedToPremium)
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFFreeTrialConvertedToPremiumOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CMsgTFFreeTrialConvertedToPremium_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CMsgTFFreeTrialConvertedToPremium_fieldAccessorTable
.ensureFieldAccessorsInitialized(
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFFreeTrialConvertedToPremium.class, in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFFreeTrialConvertedToPremium.Builder.class);
}
// Construct using in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFFreeTrialConvertedToPremium.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CMsgTFFreeTrialConvertedToPremium_descriptor;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFFreeTrialConvertedToPremium getDefaultInstanceForType() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFFreeTrialConvertedToPremium.getDefaultInstance();
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFFreeTrialConvertedToPremium build() {
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFFreeTrialConvertedToPremium result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFFreeTrialConvertedToPremium buildPartial() {
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFFreeTrialConvertedToPremium result = new in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFFreeTrialConvertedToPremium(this);
onBuilt();
return result;
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFFreeTrialConvertedToPremium) {
return mergeFrom((in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFFreeTrialConvertedToPremium)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFFreeTrialConvertedToPremium other) {
if (other == in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFFreeTrialConvertedToPremium.getDefaultInstance()) return this;
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
// @@protoc_insertion_point(builder_scope:CMsgTFFreeTrialConvertedToPremium)
}
// @@protoc_insertion_point(class_scope:CMsgTFFreeTrialConvertedToPremium)
private static final in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFFreeTrialConvertedToPremium DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFFreeTrialConvertedToPremium();
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFFreeTrialConvertedToPremium getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public CMsgTFFreeTrialConvertedToPremium parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFFreeTrialConvertedToPremium getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface CMsgSaxxyAwardedOrBuilder extends
// @@protoc_insertion_point(interface_extends:CMsgSaxxyAwarded)
com.google.protobuf.MessageOrBuilder {
/**
* optional uint32 category = 1;
* @return Whether the category field is set.
*/
boolean hasCategory();
/**
* optional uint32 category = 1;
* @return The category.
*/
int getCategory();
/**
* repeated string winner_names = 2;
* @return A list containing the winnerNames.
*/
java.util.List
getWinnerNamesList();
/**
* repeated string winner_names = 2;
* @return The count of winnerNames.
*/
int getWinnerNamesCount();
/**
* repeated string winner_names = 2;
* @param index The index of the element to return.
* @return The winnerNames at the given index.
*/
java.lang.String getWinnerNames(int index);
/**
* repeated string winner_names = 2;
* @param index The index of the value to return.
* @return The bytes of the winnerNames at the given index.
*/
com.google.protobuf.ByteString
getWinnerNamesBytes(int index);
}
/**
* Protobuf type {@code CMsgSaxxyAwarded}
*/
public static final class CMsgSaxxyAwarded extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:CMsgSaxxyAwarded)
CMsgSaxxyAwardedOrBuilder {
private static final long serialVersionUID = 0L;
static {
com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
/* minor= */ 28,
/* patch= */ 0,
/* suffix= */ "",
CMsgSaxxyAwarded.class.getName());
}
// Use CMsgSaxxyAwarded.newBuilder() to construct.
private CMsgSaxxyAwarded(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private CMsgSaxxyAwarded() {
winnerNames_ =
com.google.protobuf.LazyStringArrayList.emptyList();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CMsgSaxxyAwarded_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CMsgSaxxyAwarded_fieldAccessorTable
.ensureFieldAccessorsInitialized(
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgSaxxyAwarded.class, in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgSaxxyAwarded.Builder.class);
}
private int bitField0_;
public static final int CATEGORY_FIELD_NUMBER = 1;
private int category_ = 0;
/**
* optional uint32 category = 1;
* @return Whether the category field is set.
*/
@java.lang.Override
public boolean hasCategory() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional uint32 category = 1;
* @return The category.
*/
@java.lang.Override
public int getCategory() {
return category_;
}
public static final int WINNER_NAMES_FIELD_NUMBER = 2;
@SuppressWarnings("serial")
private com.google.protobuf.LazyStringArrayList winnerNames_ =
com.google.protobuf.LazyStringArrayList.emptyList();
/**
* repeated string winner_names = 2;
* @return A list containing the winnerNames.
*/
public com.google.protobuf.ProtocolStringList
getWinnerNamesList() {
return winnerNames_;
}
/**
* repeated string winner_names = 2;
* @return The count of winnerNames.
*/
public int getWinnerNamesCount() {
return winnerNames_.size();
}
/**
* repeated string winner_names = 2;
* @param index The index of the element to return.
* @return The winnerNames at the given index.
*/
public java.lang.String getWinnerNames(int index) {
return winnerNames_.get(index);
}
/**
* repeated string winner_names = 2;
* @param index The index of the value to return.
* @return The bytes of the winnerNames at the given index.
*/
public com.google.protobuf.ByteString
getWinnerNamesBytes(int index) {
return winnerNames_.getByteString(index);
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeUInt32(1, category_);
}
for (int i = 0; i < winnerNames_.size(); i++) {
com.google.protobuf.GeneratedMessage.writeString(output, 2, winnerNames_.getRaw(i));
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(1, category_);
}
{
int dataSize = 0;
for (int i = 0; i < winnerNames_.size(); i++) {
dataSize += computeStringSizeNoTag(winnerNames_.getRaw(i));
}
size += dataSize;
size += 1 * getWinnerNamesList().size();
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgSaxxyAwarded)) {
return super.equals(obj);
}
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgSaxxyAwarded other = (in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgSaxxyAwarded) obj;
if (hasCategory() != other.hasCategory()) return false;
if (hasCategory()) {
if (getCategory()
!= other.getCategory()) return false;
}
if (!getWinnerNamesList()
.equals(other.getWinnerNamesList())) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasCategory()) {
hash = (37 * hash) + CATEGORY_FIELD_NUMBER;
hash = (53 * hash) + getCategory();
}
if (getWinnerNamesCount() > 0) {
hash = (37 * hash) + WINNER_NAMES_FIELD_NUMBER;
hash = (53 * hash) + getWinnerNamesList().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgSaxxyAwarded parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgSaxxyAwarded parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgSaxxyAwarded parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgSaxxyAwarded parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgSaxxyAwarded parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgSaxxyAwarded parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgSaxxyAwarded parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgSaxxyAwarded parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgSaxxyAwarded parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgSaxxyAwarded parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgSaxxyAwarded parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgSaxxyAwarded parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgSaxxyAwarded prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code CMsgSaxxyAwarded}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:CMsgSaxxyAwarded)
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgSaxxyAwardedOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CMsgSaxxyAwarded_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CMsgSaxxyAwarded_fieldAccessorTable
.ensureFieldAccessorsInitialized(
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgSaxxyAwarded.class, in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgSaxxyAwarded.Builder.class);
}
// Construct using in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgSaxxyAwarded.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
category_ = 0;
winnerNames_ =
com.google.protobuf.LazyStringArrayList.emptyList();
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CMsgSaxxyAwarded_descriptor;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgSaxxyAwarded getDefaultInstanceForType() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgSaxxyAwarded.getDefaultInstance();
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgSaxxyAwarded build() {
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgSaxxyAwarded result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgSaxxyAwarded buildPartial() {
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgSaxxyAwarded result = new in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgSaxxyAwarded(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgSaxxyAwarded result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.category_ = category_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
winnerNames_.makeImmutable();
result.winnerNames_ = winnerNames_;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgSaxxyAwarded) {
return mergeFrom((in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgSaxxyAwarded)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgSaxxyAwarded other) {
if (other == in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgSaxxyAwarded.getDefaultInstance()) return this;
if (other.hasCategory()) {
setCategory(other.getCategory());
}
if (!other.winnerNames_.isEmpty()) {
if (winnerNames_.isEmpty()) {
winnerNames_ = other.winnerNames_;
bitField0_ |= 0x00000002;
} else {
ensureWinnerNamesIsMutable();
winnerNames_.addAll(other.winnerNames_);
}
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8: {
category_ = input.readUInt32();
bitField0_ |= 0x00000001;
break;
} // case 8
case 18: {
com.google.protobuf.ByteString bs = input.readBytes();
ensureWinnerNamesIsMutable();
winnerNames_.add(bs);
break;
} // case 18
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private int category_ ;
/**
* optional uint32 category = 1;
* @return Whether the category field is set.
*/
@java.lang.Override
public boolean hasCategory() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional uint32 category = 1;
* @return The category.
*/
@java.lang.Override
public int getCategory() {
return category_;
}
/**
* optional uint32 category = 1;
* @param value The category to set.
* @return This builder for chaining.
*/
public Builder setCategory(int value) {
category_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* optional uint32 category = 1;
* @return This builder for chaining.
*/
public Builder clearCategory() {
bitField0_ = (bitField0_ & ~0x00000001);
category_ = 0;
onChanged();
return this;
}
private com.google.protobuf.LazyStringArrayList winnerNames_ =
com.google.protobuf.LazyStringArrayList.emptyList();
private void ensureWinnerNamesIsMutable() {
if (!winnerNames_.isModifiable()) {
winnerNames_ = new com.google.protobuf.LazyStringArrayList(winnerNames_);
}
bitField0_ |= 0x00000002;
}
/**
* repeated string winner_names = 2;
* @return A list containing the winnerNames.
*/
public com.google.protobuf.ProtocolStringList
getWinnerNamesList() {
winnerNames_.makeImmutable();
return winnerNames_;
}
/**
* repeated string winner_names = 2;
* @return The count of winnerNames.
*/
public int getWinnerNamesCount() {
return winnerNames_.size();
}
/**
* repeated string winner_names = 2;
* @param index The index of the element to return.
* @return The winnerNames at the given index.
*/
public java.lang.String getWinnerNames(int index) {
return winnerNames_.get(index);
}
/**
* repeated string winner_names = 2;
* @param index The index of the value to return.
* @return The bytes of the winnerNames at the given index.
*/
public com.google.protobuf.ByteString
getWinnerNamesBytes(int index) {
return winnerNames_.getByteString(index);
}
/**
* repeated string winner_names = 2;
* @param index The index to set the value at.
* @param value The winnerNames to set.
* @return This builder for chaining.
*/
public Builder setWinnerNames(
int index, java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
ensureWinnerNamesIsMutable();
winnerNames_.set(index, value);
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* repeated string winner_names = 2;
* @param value The winnerNames to add.
* @return This builder for chaining.
*/
public Builder addWinnerNames(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
ensureWinnerNamesIsMutable();
winnerNames_.add(value);
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* repeated string winner_names = 2;
* @param values The winnerNames to add.
* @return This builder for chaining.
*/
public Builder addAllWinnerNames(
java.lang.Iterable values) {
ensureWinnerNamesIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, winnerNames_);
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* repeated string winner_names = 2;
* @return This builder for chaining.
*/
public Builder clearWinnerNames() {
winnerNames_ =
com.google.protobuf.LazyStringArrayList.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);;
onChanged();
return this;
}
/**
* repeated string winner_names = 2;
* @param value The bytes of the winnerNames to add.
* @return This builder for chaining.
*/
public Builder addWinnerNamesBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
ensureWinnerNamesIsMutable();
winnerNames_.add(value);
bitField0_ |= 0x00000002;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:CMsgSaxxyAwarded)
}
// @@protoc_insertion_point(class_scope:CMsgSaxxyAwarded)
private static final in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgSaxxyAwarded DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgSaxxyAwarded();
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgSaxxyAwarded getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public CMsgSaxxyAwarded parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgSaxxyAwarded getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface CMsgReplaySubmitContestEntryOrBuilder extends
// @@protoc_insertion_point(interface_extends:CMsgReplaySubmitContestEntry)
com.google.protobuf.MessageOrBuilder {
/**
* optional string youtube_url = 1;
* @return Whether the youtubeUrl field is set.
*/
boolean hasYoutubeUrl();
/**
* optional string youtube_url = 1;
* @return The youtubeUrl.
*/
java.lang.String getYoutubeUrl();
/**
* optional string youtube_url = 1;
* @return The bytes for youtubeUrl.
*/
com.google.protobuf.ByteString
getYoutubeUrlBytes();
/**
* optional uint32 category = 2;
* @return Whether the category field is set.
*/
boolean hasCategory();
/**
* optional uint32 category = 2;
* @return The category.
*/
int getCategory();
}
/**
* Protobuf type {@code CMsgReplaySubmitContestEntry}
*/
public static final class CMsgReplaySubmitContestEntry extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:CMsgReplaySubmitContestEntry)
CMsgReplaySubmitContestEntryOrBuilder {
private static final long serialVersionUID = 0L;
static {
com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
/* minor= */ 28,
/* patch= */ 0,
/* suffix= */ "",
CMsgReplaySubmitContestEntry.class.getName());
}
// Use CMsgReplaySubmitContestEntry.newBuilder() to construct.
private CMsgReplaySubmitContestEntry(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private CMsgReplaySubmitContestEntry() {
youtubeUrl_ = "";
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CMsgReplaySubmitContestEntry_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CMsgReplaySubmitContestEntry_fieldAccessorTable
.ensureFieldAccessorsInitialized(
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgReplaySubmitContestEntry.class, in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgReplaySubmitContestEntry.Builder.class);
}
private int bitField0_;
public static final int YOUTUBE_URL_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private volatile java.lang.Object youtubeUrl_ = "";
/**
* optional string youtube_url = 1;
* @return Whether the youtubeUrl field is set.
*/
@java.lang.Override
public boolean hasYoutubeUrl() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional string youtube_url = 1;
* @return The youtubeUrl.
*/
@java.lang.Override
public java.lang.String getYoutubeUrl() {
java.lang.Object ref = youtubeUrl_;
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()) {
youtubeUrl_ = s;
}
return s;
}
}
/**
* optional string youtube_url = 1;
* @return The bytes for youtubeUrl.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getYoutubeUrlBytes() {
java.lang.Object ref = youtubeUrl_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
youtubeUrl_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int CATEGORY_FIELD_NUMBER = 2;
private int category_ = 0;
/**
* optional uint32 category = 2;
* @return Whether the category field is set.
*/
@java.lang.Override
public boolean hasCategory() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional uint32 category = 2;
* @return The category.
*/
@java.lang.Override
public int getCategory() {
return category_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
com.google.protobuf.GeneratedMessage.writeString(output, 1, youtubeUrl_);
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeUInt32(2, category_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.GeneratedMessage.computeStringSize(1, youtubeUrl_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(2, category_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgReplaySubmitContestEntry)) {
return super.equals(obj);
}
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgReplaySubmitContestEntry other = (in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgReplaySubmitContestEntry) obj;
if (hasYoutubeUrl() != other.hasYoutubeUrl()) return false;
if (hasYoutubeUrl()) {
if (!getYoutubeUrl()
.equals(other.getYoutubeUrl())) return false;
}
if (hasCategory() != other.hasCategory()) return false;
if (hasCategory()) {
if (getCategory()
!= other.getCategory()) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasYoutubeUrl()) {
hash = (37 * hash) + YOUTUBE_URL_FIELD_NUMBER;
hash = (53 * hash) + getYoutubeUrl().hashCode();
}
if (hasCategory()) {
hash = (37 * hash) + CATEGORY_FIELD_NUMBER;
hash = (53 * hash) + getCategory();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgReplaySubmitContestEntry parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgReplaySubmitContestEntry parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgReplaySubmitContestEntry parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgReplaySubmitContestEntry parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgReplaySubmitContestEntry parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgReplaySubmitContestEntry parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgReplaySubmitContestEntry parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgReplaySubmitContestEntry parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgReplaySubmitContestEntry parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgReplaySubmitContestEntry parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgReplaySubmitContestEntry parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgReplaySubmitContestEntry parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgReplaySubmitContestEntry prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code CMsgReplaySubmitContestEntry}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:CMsgReplaySubmitContestEntry)
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgReplaySubmitContestEntryOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CMsgReplaySubmitContestEntry_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CMsgReplaySubmitContestEntry_fieldAccessorTable
.ensureFieldAccessorsInitialized(
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgReplaySubmitContestEntry.class, in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgReplaySubmitContestEntry.Builder.class);
}
// Construct using in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgReplaySubmitContestEntry.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
youtubeUrl_ = "";
category_ = 0;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CMsgReplaySubmitContestEntry_descriptor;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgReplaySubmitContestEntry getDefaultInstanceForType() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgReplaySubmitContestEntry.getDefaultInstance();
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgReplaySubmitContestEntry build() {
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgReplaySubmitContestEntry result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgReplaySubmitContestEntry buildPartial() {
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgReplaySubmitContestEntry result = new in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgReplaySubmitContestEntry(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgReplaySubmitContestEntry result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.youtubeUrl_ = youtubeUrl_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.category_ = category_;
to_bitField0_ |= 0x00000002;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgReplaySubmitContestEntry) {
return mergeFrom((in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgReplaySubmitContestEntry)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgReplaySubmitContestEntry other) {
if (other == in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgReplaySubmitContestEntry.getDefaultInstance()) return this;
if (other.hasYoutubeUrl()) {
youtubeUrl_ = other.youtubeUrl_;
bitField0_ |= 0x00000001;
onChanged();
}
if (other.hasCategory()) {
setCategory(other.getCategory());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
youtubeUrl_ = input.readBytes();
bitField0_ |= 0x00000001;
break;
} // case 10
case 16: {
category_ = input.readUInt32();
bitField0_ |= 0x00000002;
break;
} // case 16
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private java.lang.Object youtubeUrl_ = "";
/**
* optional string youtube_url = 1;
* @return Whether the youtubeUrl field is set.
*/
public boolean hasYoutubeUrl() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional string youtube_url = 1;
* @return The youtubeUrl.
*/
public java.lang.String getYoutubeUrl() {
java.lang.Object ref = youtubeUrl_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
youtubeUrl_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string youtube_url = 1;
* @return The bytes for youtubeUrl.
*/
public com.google.protobuf.ByteString
getYoutubeUrlBytes() {
java.lang.Object ref = youtubeUrl_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
youtubeUrl_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string youtube_url = 1;
* @param value The youtubeUrl to set.
* @return This builder for chaining.
*/
public Builder setYoutubeUrl(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
youtubeUrl_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* optional string youtube_url = 1;
* @return This builder for chaining.
*/
public Builder clearYoutubeUrl() {
youtubeUrl_ = getDefaultInstance().getYoutubeUrl();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
* optional string youtube_url = 1;
* @param value The bytes for youtubeUrl to set.
* @return This builder for chaining.
*/
public Builder setYoutubeUrlBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
youtubeUrl_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
private int category_ ;
/**
* optional uint32 category = 2;
* @return Whether the category field is set.
*/
@java.lang.Override
public boolean hasCategory() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional uint32 category = 2;
* @return The category.
*/
@java.lang.Override
public int getCategory() {
return category_;
}
/**
* optional uint32 category = 2;
* @param value The category to set.
* @return This builder for chaining.
*/
public Builder setCategory(int value) {
category_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* optional uint32 category = 2;
* @return This builder for chaining.
*/
public Builder clearCategory() {
bitField0_ = (bitField0_ & ~0x00000002);
category_ = 0;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:CMsgReplaySubmitContestEntry)
}
// @@protoc_insertion_point(class_scope:CMsgReplaySubmitContestEntry)
private static final in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgReplaySubmitContestEntry DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgReplaySubmitContestEntry();
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgReplaySubmitContestEntry getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public CMsgReplaySubmitContestEntry parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgReplaySubmitContestEntry getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface CMsgReplaySubmitContestEntryResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:CMsgReplaySubmitContestEntryResponse)
com.google.protobuf.MessageOrBuilder {
/**
* optional bool success = 1;
* @return Whether the success field is set.
*/
boolean hasSuccess();
/**
* optional bool success = 1;
* @return The success.
*/
boolean getSuccess();
}
/**
* Protobuf type {@code CMsgReplaySubmitContestEntryResponse}
*/
public static final class CMsgReplaySubmitContestEntryResponse extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:CMsgReplaySubmitContestEntryResponse)
CMsgReplaySubmitContestEntryResponseOrBuilder {
private static final long serialVersionUID = 0L;
static {
com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
/* minor= */ 28,
/* patch= */ 0,
/* suffix= */ "",
CMsgReplaySubmitContestEntryResponse.class.getName());
}
// Use CMsgReplaySubmitContestEntryResponse.newBuilder() to construct.
private CMsgReplaySubmitContestEntryResponse(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private CMsgReplaySubmitContestEntryResponse() {
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CMsgReplaySubmitContestEntryResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CMsgReplaySubmitContestEntryResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgReplaySubmitContestEntryResponse.class, in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgReplaySubmitContestEntryResponse.Builder.class);
}
private int bitField0_;
public static final int SUCCESS_FIELD_NUMBER = 1;
private boolean success_ = false;
/**
* optional bool success = 1;
* @return Whether the success field is set.
*/
@java.lang.Override
public boolean hasSuccess() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional bool success = 1;
* @return The success.
*/
@java.lang.Override
public boolean getSuccess() {
return success_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeBool(1, success_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(1, success_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgReplaySubmitContestEntryResponse)) {
return super.equals(obj);
}
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgReplaySubmitContestEntryResponse other = (in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgReplaySubmitContestEntryResponse) obj;
if (hasSuccess() != other.hasSuccess()) return false;
if (hasSuccess()) {
if (getSuccess()
!= other.getSuccess()) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasSuccess()) {
hash = (37 * hash) + SUCCESS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getSuccess());
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgReplaySubmitContestEntryResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgReplaySubmitContestEntryResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgReplaySubmitContestEntryResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgReplaySubmitContestEntryResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgReplaySubmitContestEntryResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgReplaySubmitContestEntryResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgReplaySubmitContestEntryResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgReplaySubmitContestEntryResponse parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgReplaySubmitContestEntryResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgReplaySubmitContestEntryResponse parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgReplaySubmitContestEntryResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgReplaySubmitContestEntryResponse parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgReplaySubmitContestEntryResponse prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code CMsgReplaySubmitContestEntryResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:CMsgReplaySubmitContestEntryResponse)
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgReplaySubmitContestEntryResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CMsgReplaySubmitContestEntryResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CMsgReplaySubmitContestEntryResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgReplaySubmitContestEntryResponse.class, in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgReplaySubmitContestEntryResponse.Builder.class);
}
// Construct using in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgReplaySubmitContestEntryResponse.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
success_ = false;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CMsgReplaySubmitContestEntryResponse_descriptor;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgReplaySubmitContestEntryResponse getDefaultInstanceForType() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgReplaySubmitContestEntryResponse.getDefaultInstance();
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgReplaySubmitContestEntryResponse build() {
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgReplaySubmitContestEntryResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgReplaySubmitContestEntryResponse buildPartial() {
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgReplaySubmitContestEntryResponse result = new in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgReplaySubmitContestEntryResponse(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgReplaySubmitContestEntryResponse result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.success_ = success_;
to_bitField0_ |= 0x00000001;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgReplaySubmitContestEntryResponse) {
return mergeFrom((in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgReplaySubmitContestEntryResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgReplaySubmitContestEntryResponse other) {
if (other == in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgReplaySubmitContestEntryResponse.getDefaultInstance()) return this;
if (other.hasSuccess()) {
setSuccess(other.getSuccess());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8: {
success_ = input.readBool();
bitField0_ |= 0x00000001;
break;
} // case 8
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private boolean success_ ;
/**
* optional bool success = 1;
* @return Whether the success field is set.
*/
@java.lang.Override
public boolean hasSuccess() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional bool success = 1;
* @return The success.
*/
@java.lang.Override
public boolean getSuccess() {
return success_;
}
/**
* optional bool success = 1;
* @param value The success to set.
* @return This builder for chaining.
*/
public Builder setSuccess(boolean value) {
success_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* optional bool success = 1;
* @return This builder for chaining.
*/
public Builder clearSuccess() {
bitField0_ = (bitField0_ & ~0x00000001);
success_ = false;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:CMsgReplaySubmitContestEntryResponse)
}
// @@protoc_insertion_point(class_scope:CMsgReplaySubmitContestEntryResponse)
private static final in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgReplaySubmitContestEntryResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgReplaySubmitContestEntryResponse();
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgReplaySubmitContestEntryResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public CMsgReplaySubmitContestEntryResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgReplaySubmitContestEntryResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface CReplayCachedContestDataOrBuilder extends
// @@protoc_insertion_point(interface_extends:CReplayCachedContestData)
com.google.protobuf.MessageOrBuilder {
/**
* optional fixed32 timestamp = 1;
* @return Whether the timestamp field is set.
*/
boolean hasTimestamp();
/**
* optional fixed32 timestamp = 1;
* @return The timestamp.
*/
int getTimestamp();
/**
* optional uint32 num_votes_last_day = 2;
* @return Whether the numVotesLastDay field is set.
*/
boolean hasNumVotesLastDay();
/**
* optional uint32 num_votes_last_day = 2;
* @return The numVotesLastDay.
*/
int getNumVotesLastDay();
/**
* repeated uint32 video_entry_ids = 3;
* @return A list containing the videoEntryIds.
*/
java.util.List getVideoEntryIdsList();
/**
* repeated uint32 video_entry_ids = 3;
* @return The count of videoEntryIds.
*/
int getVideoEntryIdsCount();
/**
* repeated uint32 video_entry_ids = 3;
* @param index The index of the element to return.
* @return The videoEntryIds at the given index.
*/
int getVideoEntryIds(int index);
/**
* optional uint32 num_flags_last_day = 4;
* @return Whether the numFlagsLastDay field is set.
*/
boolean hasNumFlagsLastDay();
/**
* optional uint32 num_flags_last_day = 4;
* @return The numFlagsLastDay.
*/
int getNumFlagsLastDay();
}
/**
* Protobuf type {@code CReplayCachedContestData}
*/
public static final class CReplayCachedContestData extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:CReplayCachedContestData)
CReplayCachedContestDataOrBuilder {
private static final long serialVersionUID = 0L;
static {
com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
/* minor= */ 28,
/* patch= */ 0,
/* suffix= */ "",
CReplayCachedContestData.class.getName());
}
// Use CReplayCachedContestData.newBuilder() to construct.
private CReplayCachedContestData(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private CReplayCachedContestData() {
videoEntryIds_ = emptyIntList();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CReplayCachedContestData_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CReplayCachedContestData_fieldAccessorTable
.ensureFieldAccessorsInitialized(
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CReplayCachedContestData.class, in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CReplayCachedContestData.Builder.class);
}
private int bitField0_;
public static final int TIMESTAMP_FIELD_NUMBER = 1;
private int timestamp_ = 0;
/**
* optional fixed32 timestamp = 1;
* @return Whether the timestamp field is set.
*/
@java.lang.Override
public boolean hasTimestamp() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional fixed32 timestamp = 1;
* @return The timestamp.
*/
@java.lang.Override
public int getTimestamp() {
return timestamp_;
}
public static final int NUM_VOTES_LAST_DAY_FIELD_NUMBER = 2;
private int numVotesLastDay_ = 0;
/**
* optional uint32 num_votes_last_day = 2;
* @return Whether the numVotesLastDay field is set.
*/
@java.lang.Override
public boolean hasNumVotesLastDay() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional uint32 num_votes_last_day = 2;
* @return The numVotesLastDay.
*/
@java.lang.Override
public int getNumVotesLastDay() {
return numVotesLastDay_;
}
public static final int VIDEO_ENTRY_IDS_FIELD_NUMBER = 3;
@SuppressWarnings("serial")
private com.google.protobuf.Internal.IntList videoEntryIds_ =
emptyIntList();
/**
* repeated uint32 video_entry_ids = 3;
* @return A list containing the videoEntryIds.
*/
@java.lang.Override
public java.util.List
getVideoEntryIdsList() {
return videoEntryIds_;
}
/**
* repeated uint32 video_entry_ids = 3;
* @return The count of videoEntryIds.
*/
public int getVideoEntryIdsCount() {
return videoEntryIds_.size();
}
/**
* repeated uint32 video_entry_ids = 3;
* @param index The index of the element to return.
* @return The videoEntryIds at the given index.
*/
public int getVideoEntryIds(int index) {
return videoEntryIds_.getInt(index);
}
public static final int NUM_FLAGS_LAST_DAY_FIELD_NUMBER = 4;
private int numFlagsLastDay_ = 0;
/**
* optional uint32 num_flags_last_day = 4;
* @return Whether the numFlagsLastDay field is set.
*/
@java.lang.Override
public boolean hasNumFlagsLastDay() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional uint32 num_flags_last_day = 4;
* @return The numFlagsLastDay.
*/
@java.lang.Override
public int getNumFlagsLastDay() {
return numFlagsLastDay_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeFixed32(1, timestamp_);
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeUInt32(2, numVotesLastDay_);
}
for (int i = 0; i < videoEntryIds_.size(); i++) {
output.writeUInt32(3, videoEntryIds_.getInt(i));
}
if (((bitField0_ & 0x00000004) != 0)) {
output.writeUInt32(4, numFlagsLastDay_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeFixed32Size(1, timestamp_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(2, numVotesLastDay_);
}
{
int dataSize = 0;
for (int i = 0; i < videoEntryIds_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeUInt32SizeNoTag(videoEntryIds_.getInt(i));
}
size += dataSize;
size += 1 * getVideoEntryIdsList().size();
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(4, numFlagsLastDay_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CReplayCachedContestData)) {
return super.equals(obj);
}
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CReplayCachedContestData other = (in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CReplayCachedContestData) obj;
if (hasTimestamp() != other.hasTimestamp()) return false;
if (hasTimestamp()) {
if (getTimestamp()
!= other.getTimestamp()) return false;
}
if (hasNumVotesLastDay() != other.hasNumVotesLastDay()) return false;
if (hasNumVotesLastDay()) {
if (getNumVotesLastDay()
!= other.getNumVotesLastDay()) return false;
}
if (!getVideoEntryIdsList()
.equals(other.getVideoEntryIdsList())) return false;
if (hasNumFlagsLastDay() != other.hasNumFlagsLastDay()) return false;
if (hasNumFlagsLastDay()) {
if (getNumFlagsLastDay()
!= other.getNumFlagsLastDay()) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasTimestamp()) {
hash = (37 * hash) + TIMESTAMP_FIELD_NUMBER;
hash = (53 * hash) + getTimestamp();
}
if (hasNumVotesLastDay()) {
hash = (37 * hash) + NUM_VOTES_LAST_DAY_FIELD_NUMBER;
hash = (53 * hash) + getNumVotesLastDay();
}
if (getVideoEntryIdsCount() > 0) {
hash = (37 * hash) + VIDEO_ENTRY_IDS_FIELD_NUMBER;
hash = (53 * hash) + getVideoEntryIdsList().hashCode();
}
if (hasNumFlagsLastDay()) {
hash = (37 * hash) + NUM_FLAGS_LAST_DAY_FIELD_NUMBER;
hash = (53 * hash) + getNumFlagsLastDay();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CReplayCachedContestData parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CReplayCachedContestData parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CReplayCachedContestData parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CReplayCachedContestData parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CReplayCachedContestData parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CReplayCachedContestData parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CReplayCachedContestData parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CReplayCachedContestData parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CReplayCachedContestData parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CReplayCachedContestData parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CReplayCachedContestData parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CReplayCachedContestData parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CReplayCachedContestData prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code CReplayCachedContestData}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:CReplayCachedContestData)
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CReplayCachedContestDataOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CReplayCachedContestData_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CReplayCachedContestData_fieldAccessorTable
.ensureFieldAccessorsInitialized(
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CReplayCachedContestData.class, in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CReplayCachedContestData.Builder.class);
}
// Construct using in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CReplayCachedContestData.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
timestamp_ = 0;
numVotesLastDay_ = 0;
videoEntryIds_ = emptyIntList();
numFlagsLastDay_ = 0;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CReplayCachedContestData_descriptor;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CReplayCachedContestData getDefaultInstanceForType() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CReplayCachedContestData.getDefaultInstance();
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CReplayCachedContestData build() {
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CReplayCachedContestData result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CReplayCachedContestData buildPartial() {
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CReplayCachedContestData result = new in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CReplayCachedContestData(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CReplayCachedContestData result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.timestamp_ = timestamp_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.numVotesLastDay_ = numVotesLastDay_;
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
videoEntryIds_.makeImmutable();
result.videoEntryIds_ = videoEntryIds_;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
result.numFlagsLastDay_ = numFlagsLastDay_;
to_bitField0_ |= 0x00000004;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CReplayCachedContestData) {
return mergeFrom((in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CReplayCachedContestData)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CReplayCachedContestData other) {
if (other == in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CReplayCachedContestData.getDefaultInstance()) return this;
if (other.hasTimestamp()) {
setTimestamp(other.getTimestamp());
}
if (other.hasNumVotesLastDay()) {
setNumVotesLastDay(other.getNumVotesLastDay());
}
if (!other.videoEntryIds_.isEmpty()) {
if (videoEntryIds_.isEmpty()) {
videoEntryIds_ = other.videoEntryIds_;
videoEntryIds_.makeImmutable();
bitField0_ |= 0x00000004;
} else {
ensureVideoEntryIdsIsMutable();
videoEntryIds_.addAll(other.videoEntryIds_);
}
onChanged();
}
if (other.hasNumFlagsLastDay()) {
setNumFlagsLastDay(other.getNumFlagsLastDay());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 13: {
timestamp_ = input.readFixed32();
bitField0_ |= 0x00000001;
break;
} // case 13
case 16: {
numVotesLastDay_ = input.readUInt32();
bitField0_ |= 0x00000002;
break;
} // case 16
case 24: {
int v = input.readUInt32();
ensureVideoEntryIdsIsMutable();
videoEntryIds_.addInt(v);
break;
} // case 24
case 26: {
int length = input.readRawVarint32();
int limit = input.pushLimit(length);
ensureVideoEntryIdsIsMutable();
while (input.getBytesUntilLimit() > 0) {
videoEntryIds_.addInt(input.readUInt32());
}
input.popLimit(limit);
break;
} // case 26
case 32: {
numFlagsLastDay_ = input.readUInt32();
bitField0_ |= 0x00000008;
break;
} // case 32
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private int timestamp_ ;
/**
* optional fixed32 timestamp = 1;
* @return Whether the timestamp field is set.
*/
@java.lang.Override
public boolean hasTimestamp() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional fixed32 timestamp = 1;
* @return The timestamp.
*/
@java.lang.Override
public int getTimestamp() {
return timestamp_;
}
/**
* optional fixed32 timestamp = 1;
* @param value The timestamp to set.
* @return This builder for chaining.
*/
public Builder setTimestamp(int value) {
timestamp_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* optional fixed32 timestamp = 1;
* @return This builder for chaining.
*/
public Builder clearTimestamp() {
bitField0_ = (bitField0_ & ~0x00000001);
timestamp_ = 0;
onChanged();
return this;
}
private int numVotesLastDay_ ;
/**
* optional uint32 num_votes_last_day = 2;
* @return Whether the numVotesLastDay field is set.
*/
@java.lang.Override
public boolean hasNumVotesLastDay() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional uint32 num_votes_last_day = 2;
* @return The numVotesLastDay.
*/
@java.lang.Override
public int getNumVotesLastDay() {
return numVotesLastDay_;
}
/**
* optional uint32 num_votes_last_day = 2;
* @param value The numVotesLastDay to set.
* @return This builder for chaining.
*/
public Builder setNumVotesLastDay(int value) {
numVotesLastDay_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* optional uint32 num_votes_last_day = 2;
* @return This builder for chaining.
*/
public Builder clearNumVotesLastDay() {
bitField0_ = (bitField0_ & ~0x00000002);
numVotesLastDay_ = 0;
onChanged();
return this;
}
private com.google.protobuf.Internal.IntList videoEntryIds_ = emptyIntList();
private void ensureVideoEntryIdsIsMutable() {
if (!videoEntryIds_.isModifiable()) {
videoEntryIds_ = makeMutableCopy(videoEntryIds_);
}
bitField0_ |= 0x00000004;
}
/**
* repeated uint32 video_entry_ids = 3;
* @return A list containing the videoEntryIds.
*/
public java.util.List
getVideoEntryIdsList() {
videoEntryIds_.makeImmutable();
return videoEntryIds_;
}
/**
* repeated uint32 video_entry_ids = 3;
* @return The count of videoEntryIds.
*/
public int getVideoEntryIdsCount() {
return videoEntryIds_.size();
}
/**
* repeated uint32 video_entry_ids = 3;
* @param index The index of the element to return.
* @return The videoEntryIds at the given index.
*/
public int getVideoEntryIds(int index) {
return videoEntryIds_.getInt(index);
}
/**
* repeated uint32 video_entry_ids = 3;
* @param index The index to set the value at.
* @param value The videoEntryIds to set.
* @return This builder for chaining.
*/
public Builder setVideoEntryIds(
int index, int value) {
ensureVideoEntryIdsIsMutable();
videoEntryIds_.setInt(index, value);
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* repeated uint32 video_entry_ids = 3;
* @param value The videoEntryIds to add.
* @return This builder for chaining.
*/
public Builder addVideoEntryIds(int value) {
ensureVideoEntryIdsIsMutable();
videoEntryIds_.addInt(value);
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* repeated uint32 video_entry_ids = 3;
* @param values The videoEntryIds to add.
* @return This builder for chaining.
*/
public Builder addAllVideoEntryIds(
java.lang.Iterable extends java.lang.Integer> values) {
ensureVideoEntryIdsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, videoEntryIds_);
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* repeated uint32 video_entry_ids = 3;
* @return This builder for chaining.
*/
public Builder clearVideoEntryIds() {
videoEntryIds_ = emptyIntList();
bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
return this;
}
private int numFlagsLastDay_ ;
/**
* optional uint32 num_flags_last_day = 4;
* @return Whether the numFlagsLastDay field is set.
*/
@java.lang.Override
public boolean hasNumFlagsLastDay() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* optional uint32 num_flags_last_day = 4;
* @return The numFlagsLastDay.
*/
@java.lang.Override
public int getNumFlagsLastDay() {
return numFlagsLastDay_;
}
/**
* optional uint32 num_flags_last_day = 4;
* @param value The numFlagsLastDay to set.
* @return This builder for chaining.
*/
public Builder setNumFlagsLastDay(int value) {
numFlagsLastDay_ = value;
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* optional uint32 num_flags_last_day = 4;
* @return This builder for chaining.
*/
public Builder clearNumFlagsLastDay() {
bitField0_ = (bitField0_ & ~0x00000008);
numFlagsLastDay_ = 0;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:CReplayCachedContestData)
}
// @@protoc_insertion_point(class_scope:CReplayCachedContestData)
private static final in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CReplayCachedContestData DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CReplayCachedContestData();
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CReplayCachedContestData getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public CReplayCachedContestData parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CReplayCachedContestData getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface CMsgTFCoaching_AddToCoachesOrBuilder extends
// @@protoc_insertion_point(interface_extends:CMsgTFCoaching_AddToCoaches)
com.google.protobuf.MessageOrBuilder {
}
/**
* Protobuf type {@code CMsgTFCoaching_AddToCoaches}
*/
public static final class CMsgTFCoaching_AddToCoaches extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:CMsgTFCoaching_AddToCoaches)
CMsgTFCoaching_AddToCoachesOrBuilder {
private static final long serialVersionUID = 0L;
static {
com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
/* minor= */ 28,
/* patch= */ 0,
/* suffix= */ "",
CMsgTFCoaching_AddToCoaches.class.getName());
}
// Use CMsgTFCoaching_AddToCoaches.newBuilder() to construct.
private CMsgTFCoaching_AddToCoaches(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private CMsgTFCoaching_AddToCoaches() {
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CMsgTFCoaching_AddToCoaches_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CMsgTFCoaching_AddToCoaches_fieldAccessorTable
.ensureFieldAccessorsInitialized(
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_AddToCoaches.class, in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_AddToCoaches.Builder.class);
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_AddToCoaches)) {
return super.equals(obj);
}
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_AddToCoaches other = (in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_AddToCoaches) obj;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_AddToCoaches parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_AddToCoaches parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_AddToCoaches parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_AddToCoaches parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_AddToCoaches parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_AddToCoaches parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_AddToCoaches parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_AddToCoaches parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_AddToCoaches parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_AddToCoaches parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_AddToCoaches parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_AddToCoaches parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_AddToCoaches prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code CMsgTFCoaching_AddToCoaches}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:CMsgTFCoaching_AddToCoaches)
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_AddToCoachesOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CMsgTFCoaching_AddToCoaches_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CMsgTFCoaching_AddToCoaches_fieldAccessorTable
.ensureFieldAccessorsInitialized(
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_AddToCoaches.class, in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_AddToCoaches.Builder.class);
}
// Construct using in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_AddToCoaches.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CMsgTFCoaching_AddToCoaches_descriptor;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_AddToCoaches getDefaultInstanceForType() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_AddToCoaches.getDefaultInstance();
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_AddToCoaches build() {
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_AddToCoaches result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_AddToCoaches buildPartial() {
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_AddToCoaches result = new in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_AddToCoaches(this);
onBuilt();
return result;
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_AddToCoaches) {
return mergeFrom((in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_AddToCoaches)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_AddToCoaches other) {
if (other == in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_AddToCoaches.getDefaultInstance()) return this;
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
// @@protoc_insertion_point(builder_scope:CMsgTFCoaching_AddToCoaches)
}
// @@protoc_insertion_point(class_scope:CMsgTFCoaching_AddToCoaches)
private static final in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_AddToCoaches DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_AddToCoaches();
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_AddToCoaches getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public CMsgTFCoaching_AddToCoaches parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_AddToCoaches getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface CMsgTFCoaching_RemoveFromCoachesOrBuilder extends
// @@protoc_insertion_point(interface_extends:CMsgTFCoaching_RemoveFromCoaches)
com.google.protobuf.MessageOrBuilder {
}
/**
* Protobuf type {@code CMsgTFCoaching_RemoveFromCoaches}
*/
public static final class CMsgTFCoaching_RemoveFromCoaches extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:CMsgTFCoaching_RemoveFromCoaches)
CMsgTFCoaching_RemoveFromCoachesOrBuilder {
private static final long serialVersionUID = 0L;
static {
com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
/* minor= */ 28,
/* patch= */ 0,
/* suffix= */ "",
CMsgTFCoaching_RemoveFromCoaches.class.getName());
}
// Use CMsgTFCoaching_RemoveFromCoaches.newBuilder() to construct.
private CMsgTFCoaching_RemoveFromCoaches(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private CMsgTFCoaching_RemoveFromCoaches() {
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CMsgTFCoaching_RemoveFromCoaches_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CMsgTFCoaching_RemoveFromCoaches_fieldAccessorTable
.ensureFieldAccessorsInitialized(
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_RemoveFromCoaches.class, in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_RemoveFromCoaches.Builder.class);
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_RemoveFromCoaches)) {
return super.equals(obj);
}
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_RemoveFromCoaches other = (in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_RemoveFromCoaches) obj;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_RemoveFromCoaches parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_RemoveFromCoaches parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_RemoveFromCoaches parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_RemoveFromCoaches parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_RemoveFromCoaches parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_RemoveFromCoaches parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_RemoveFromCoaches parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_RemoveFromCoaches parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_RemoveFromCoaches parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_RemoveFromCoaches parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_RemoveFromCoaches parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_RemoveFromCoaches parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_RemoveFromCoaches prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code CMsgTFCoaching_RemoveFromCoaches}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:CMsgTFCoaching_RemoveFromCoaches)
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_RemoveFromCoachesOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CMsgTFCoaching_RemoveFromCoaches_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CMsgTFCoaching_RemoveFromCoaches_fieldAccessorTable
.ensureFieldAccessorsInitialized(
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_RemoveFromCoaches.class, in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_RemoveFromCoaches.Builder.class);
}
// Construct using in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_RemoveFromCoaches.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CMsgTFCoaching_RemoveFromCoaches_descriptor;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_RemoveFromCoaches getDefaultInstanceForType() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_RemoveFromCoaches.getDefaultInstance();
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_RemoveFromCoaches build() {
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_RemoveFromCoaches result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_RemoveFromCoaches buildPartial() {
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_RemoveFromCoaches result = new in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_RemoveFromCoaches(this);
onBuilt();
return result;
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_RemoveFromCoaches) {
return mergeFrom((in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_RemoveFromCoaches)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_RemoveFromCoaches other) {
if (other == in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_RemoveFromCoaches.getDefaultInstance()) return this;
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
// @@protoc_insertion_point(builder_scope:CMsgTFCoaching_RemoveFromCoaches)
}
// @@protoc_insertion_point(class_scope:CMsgTFCoaching_RemoveFromCoaches)
private static final in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_RemoveFromCoaches DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_RemoveFromCoaches();
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_RemoveFromCoaches getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public CMsgTFCoaching_RemoveFromCoaches parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_RemoveFromCoaches getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface CMsgTFCoaching_FindCoachOrBuilder extends
// @@protoc_insertion_point(interface_extends:CMsgTFCoaching_FindCoach)
com.google.protobuf.MessageOrBuilder {
/**
* optional uint32 account_id_friend_as_coach = 1;
* @return Whether the accountIdFriendAsCoach field is set.
*/
boolean hasAccountIdFriendAsCoach();
/**
* optional uint32 account_id_friend_as_coach = 1;
* @return The accountIdFriendAsCoach.
*/
int getAccountIdFriendAsCoach();
}
/**
* Protobuf type {@code CMsgTFCoaching_FindCoach}
*/
public static final class CMsgTFCoaching_FindCoach extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:CMsgTFCoaching_FindCoach)
CMsgTFCoaching_FindCoachOrBuilder {
private static final long serialVersionUID = 0L;
static {
com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
/* minor= */ 28,
/* patch= */ 0,
/* suffix= */ "",
CMsgTFCoaching_FindCoach.class.getName());
}
// Use CMsgTFCoaching_FindCoach.newBuilder() to construct.
private CMsgTFCoaching_FindCoach(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private CMsgTFCoaching_FindCoach() {
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CMsgTFCoaching_FindCoach_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CMsgTFCoaching_FindCoach_fieldAccessorTable
.ensureFieldAccessorsInitialized(
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_FindCoach.class, in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_FindCoach.Builder.class);
}
private int bitField0_;
public static final int ACCOUNT_ID_FRIEND_AS_COACH_FIELD_NUMBER = 1;
private int accountIdFriendAsCoach_ = 0;
/**
* optional uint32 account_id_friend_as_coach = 1;
* @return Whether the accountIdFriendAsCoach field is set.
*/
@java.lang.Override
public boolean hasAccountIdFriendAsCoach() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional uint32 account_id_friend_as_coach = 1;
* @return The accountIdFriendAsCoach.
*/
@java.lang.Override
public int getAccountIdFriendAsCoach() {
return accountIdFriendAsCoach_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeUInt32(1, accountIdFriendAsCoach_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(1, accountIdFriendAsCoach_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_FindCoach)) {
return super.equals(obj);
}
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_FindCoach other = (in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_FindCoach) obj;
if (hasAccountIdFriendAsCoach() != other.hasAccountIdFriendAsCoach()) return false;
if (hasAccountIdFriendAsCoach()) {
if (getAccountIdFriendAsCoach()
!= other.getAccountIdFriendAsCoach()) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasAccountIdFriendAsCoach()) {
hash = (37 * hash) + ACCOUNT_ID_FRIEND_AS_COACH_FIELD_NUMBER;
hash = (53 * hash) + getAccountIdFriendAsCoach();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_FindCoach parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_FindCoach parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_FindCoach parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_FindCoach parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_FindCoach parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_FindCoach parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_FindCoach parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_FindCoach parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_FindCoach parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_FindCoach parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_FindCoach parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_FindCoach parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_FindCoach prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code CMsgTFCoaching_FindCoach}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:CMsgTFCoaching_FindCoach)
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_FindCoachOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CMsgTFCoaching_FindCoach_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CMsgTFCoaching_FindCoach_fieldAccessorTable
.ensureFieldAccessorsInitialized(
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_FindCoach.class, in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_FindCoach.Builder.class);
}
// Construct using in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_FindCoach.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
accountIdFriendAsCoach_ = 0;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CMsgTFCoaching_FindCoach_descriptor;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_FindCoach getDefaultInstanceForType() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_FindCoach.getDefaultInstance();
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_FindCoach build() {
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_FindCoach result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_FindCoach buildPartial() {
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_FindCoach result = new in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_FindCoach(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_FindCoach result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.accountIdFriendAsCoach_ = accountIdFriendAsCoach_;
to_bitField0_ |= 0x00000001;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_FindCoach) {
return mergeFrom((in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_FindCoach)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_FindCoach other) {
if (other == in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_FindCoach.getDefaultInstance()) return this;
if (other.hasAccountIdFriendAsCoach()) {
setAccountIdFriendAsCoach(other.getAccountIdFriendAsCoach());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8: {
accountIdFriendAsCoach_ = input.readUInt32();
bitField0_ |= 0x00000001;
break;
} // case 8
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private int accountIdFriendAsCoach_ ;
/**
* optional uint32 account_id_friend_as_coach = 1;
* @return Whether the accountIdFriendAsCoach field is set.
*/
@java.lang.Override
public boolean hasAccountIdFriendAsCoach() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional uint32 account_id_friend_as_coach = 1;
* @return The accountIdFriendAsCoach.
*/
@java.lang.Override
public int getAccountIdFriendAsCoach() {
return accountIdFriendAsCoach_;
}
/**
* optional uint32 account_id_friend_as_coach = 1;
* @param value The accountIdFriendAsCoach to set.
* @return This builder for chaining.
*/
public Builder setAccountIdFriendAsCoach(int value) {
accountIdFriendAsCoach_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* optional uint32 account_id_friend_as_coach = 1;
* @return This builder for chaining.
*/
public Builder clearAccountIdFriendAsCoach() {
bitField0_ = (bitField0_ & ~0x00000001);
accountIdFriendAsCoach_ = 0;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:CMsgTFCoaching_FindCoach)
}
// @@protoc_insertion_point(class_scope:CMsgTFCoaching_FindCoach)
private static final in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_FindCoach DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_FindCoach();
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_FindCoach getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public CMsgTFCoaching_FindCoach parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_FindCoach getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface CMsgTFCoaching_FindCoachResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:CMsgTFCoaching_FindCoachResponse)
com.google.protobuf.MessageOrBuilder {
/**
* optional bool found_coach = 1;
* @return Whether the foundCoach field is set.
*/
boolean hasFoundCoach();
/**
* optional bool found_coach = 1;
* @return The foundCoach.
*/
boolean getFoundCoach();
/**
* optional uint32 num_likes = 2;
* @return Whether the numLikes field is set.
*/
boolean hasNumLikes();
/**
* optional uint32 num_likes = 2;
* @return The numLikes.
*/
int getNumLikes();
/**
* optional string coach_name = 3;
* @return Whether the coachName field is set.
*/
boolean hasCoachName();
/**
* optional string coach_name = 3;
* @return The coachName.
*/
java.lang.String getCoachName();
/**
* optional string coach_name = 3;
* @return The bytes for coachName.
*/
com.google.protobuf.ByteString
getCoachNameBytes();
}
/**
* Protobuf type {@code CMsgTFCoaching_FindCoachResponse}
*/
public static final class CMsgTFCoaching_FindCoachResponse extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:CMsgTFCoaching_FindCoachResponse)
CMsgTFCoaching_FindCoachResponseOrBuilder {
private static final long serialVersionUID = 0L;
static {
com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
/* minor= */ 28,
/* patch= */ 0,
/* suffix= */ "",
CMsgTFCoaching_FindCoachResponse.class.getName());
}
// Use CMsgTFCoaching_FindCoachResponse.newBuilder() to construct.
private CMsgTFCoaching_FindCoachResponse(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private CMsgTFCoaching_FindCoachResponse() {
coachName_ = "";
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CMsgTFCoaching_FindCoachResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CMsgTFCoaching_FindCoachResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_FindCoachResponse.class, in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_FindCoachResponse.Builder.class);
}
private int bitField0_;
public static final int FOUND_COACH_FIELD_NUMBER = 1;
private boolean foundCoach_ = false;
/**
* optional bool found_coach = 1;
* @return Whether the foundCoach field is set.
*/
@java.lang.Override
public boolean hasFoundCoach() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional bool found_coach = 1;
* @return The foundCoach.
*/
@java.lang.Override
public boolean getFoundCoach() {
return foundCoach_;
}
public static final int NUM_LIKES_FIELD_NUMBER = 2;
private int numLikes_ = 0;
/**
* optional uint32 num_likes = 2;
* @return Whether the numLikes field is set.
*/
@java.lang.Override
public boolean hasNumLikes() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional uint32 num_likes = 2;
* @return The numLikes.
*/
@java.lang.Override
public int getNumLikes() {
return numLikes_;
}
public static final int COACH_NAME_FIELD_NUMBER = 3;
@SuppressWarnings("serial")
private volatile java.lang.Object coachName_ = "";
/**
* optional string coach_name = 3;
* @return Whether the coachName field is set.
*/
@java.lang.Override
public boolean hasCoachName() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional string coach_name = 3;
* @return The coachName.
*/
@java.lang.Override
public java.lang.String getCoachName() {
java.lang.Object ref = coachName_;
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()) {
coachName_ = s;
}
return s;
}
}
/**
* optional string coach_name = 3;
* @return The bytes for coachName.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getCoachNameBytes() {
java.lang.Object ref = coachName_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
coachName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeBool(1, foundCoach_);
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeUInt32(2, numLikes_);
}
if (((bitField0_ & 0x00000004) != 0)) {
com.google.protobuf.GeneratedMessage.writeString(output, 3, coachName_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(1, foundCoach_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(2, numLikes_);
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.GeneratedMessage.computeStringSize(3, coachName_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_FindCoachResponse)) {
return super.equals(obj);
}
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_FindCoachResponse other = (in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_FindCoachResponse) obj;
if (hasFoundCoach() != other.hasFoundCoach()) return false;
if (hasFoundCoach()) {
if (getFoundCoach()
!= other.getFoundCoach()) return false;
}
if (hasNumLikes() != other.hasNumLikes()) return false;
if (hasNumLikes()) {
if (getNumLikes()
!= other.getNumLikes()) return false;
}
if (hasCoachName() != other.hasCoachName()) return false;
if (hasCoachName()) {
if (!getCoachName()
.equals(other.getCoachName())) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasFoundCoach()) {
hash = (37 * hash) + FOUND_COACH_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getFoundCoach());
}
if (hasNumLikes()) {
hash = (37 * hash) + NUM_LIKES_FIELD_NUMBER;
hash = (53 * hash) + getNumLikes();
}
if (hasCoachName()) {
hash = (37 * hash) + COACH_NAME_FIELD_NUMBER;
hash = (53 * hash) + getCoachName().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_FindCoachResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_FindCoachResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_FindCoachResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_FindCoachResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_FindCoachResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_FindCoachResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_FindCoachResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_FindCoachResponse parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_FindCoachResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_FindCoachResponse parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_FindCoachResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_FindCoachResponse parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_FindCoachResponse prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code CMsgTFCoaching_FindCoachResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:CMsgTFCoaching_FindCoachResponse)
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_FindCoachResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CMsgTFCoaching_FindCoachResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CMsgTFCoaching_FindCoachResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_FindCoachResponse.class, in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_FindCoachResponse.Builder.class);
}
// Construct using in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_FindCoachResponse.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
foundCoach_ = false;
numLikes_ = 0;
coachName_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CMsgTFCoaching_FindCoachResponse_descriptor;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_FindCoachResponse getDefaultInstanceForType() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_FindCoachResponse.getDefaultInstance();
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_FindCoachResponse build() {
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_FindCoachResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_FindCoachResponse buildPartial() {
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_FindCoachResponse result = new in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_FindCoachResponse(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_FindCoachResponse result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.foundCoach_ = foundCoach_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.numLikes_ = numLikes_;
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.coachName_ = coachName_;
to_bitField0_ |= 0x00000004;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_FindCoachResponse) {
return mergeFrom((in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_FindCoachResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_FindCoachResponse other) {
if (other == in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_FindCoachResponse.getDefaultInstance()) return this;
if (other.hasFoundCoach()) {
setFoundCoach(other.getFoundCoach());
}
if (other.hasNumLikes()) {
setNumLikes(other.getNumLikes());
}
if (other.hasCoachName()) {
coachName_ = other.coachName_;
bitField0_ |= 0x00000004;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8: {
foundCoach_ = input.readBool();
bitField0_ |= 0x00000001;
break;
} // case 8
case 16: {
numLikes_ = input.readUInt32();
bitField0_ |= 0x00000002;
break;
} // case 16
case 26: {
coachName_ = input.readBytes();
bitField0_ |= 0x00000004;
break;
} // case 26
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private boolean foundCoach_ ;
/**
* optional bool found_coach = 1;
* @return Whether the foundCoach field is set.
*/
@java.lang.Override
public boolean hasFoundCoach() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional bool found_coach = 1;
* @return The foundCoach.
*/
@java.lang.Override
public boolean getFoundCoach() {
return foundCoach_;
}
/**
* optional bool found_coach = 1;
* @param value The foundCoach to set.
* @return This builder for chaining.
*/
public Builder setFoundCoach(boolean value) {
foundCoach_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* optional bool found_coach = 1;
* @return This builder for chaining.
*/
public Builder clearFoundCoach() {
bitField0_ = (bitField0_ & ~0x00000001);
foundCoach_ = false;
onChanged();
return this;
}
private int numLikes_ ;
/**
* optional uint32 num_likes = 2;
* @return Whether the numLikes field is set.
*/
@java.lang.Override
public boolean hasNumLikes() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional uint32 num_likes = 2;
* @return The numLikes.
*/
@java.lang.Override
public int getNumLikes() {
return numLikes_;
}
/**
* optional uint32 num_likes = 2;
* @param value The numLikes to set.
* @return This builder for chaining.
*/
public Builder setNumLikes(int value) {
numLikes_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* optional uint32 num_likes = 2;
* @return This builder for chaining.
*/
public Builder clearNumLikes() {
bitField0_ = (bitField0_ & ~0x00000002);
numLikes_ = 0;
onChanged();
return this;
}
private java.lang.Object coachName_ = "";
/**
* optional string coach_name = 3;
* @return Whether the coachName field is set.
*/
public boolean hasCoachName() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional string coach_name = 3;
* @return The coachName.
*/
public java.lang.String getCoachName() {
java.lang.Object ref = coachName_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
coachName_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string coach_name = 3;
* @return The bytes for coachName.
*/
public com.google.protobuf.ByteString
getCoachNameBytes() {
java.lang.Object ref = coachName_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
coachName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string coach_name = 3;
* @param value The coachName to set.
* @return This builder for chaining.
*/
public Builder setCoachName(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
coachName_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* optional string coach_name = 3;
* @return This builder for chaining.
*/
public Builder clearCoachName() {
coachName_ = getDefaultInstance().getCoachName();
bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
return this;
}
/**
* optional string coach_name = 3;
* @param value The bytes for coachName to set.
* @return This builder for chaining.
*/
public Builder setCoachNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
coachName_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:CMsgTFCoaching_FindCoachResponse)
}
// @@protoc_insertion_point(class_scope:CMsgTFCoaching_FindCoachResponse)
private static final in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_FindCoachResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_FindCoachResponse();
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_FindCoachResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public CMsgTFCoaching_FindCoachResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_FindCoachResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface CMsgTFCoaching_AskCoachOrBuilder extends
// @@protoc_insertion_point(interface_extends:CMsgTFCoaching_AskCoach)
com.google.protobuf.MessageOrBuilder {
/**
* optional uint32 account_id_student = 1;
* @return Whether the accountIdStudent field is set.
*/
boolean hasAccountIdStudent();
/**
* optional uint32 account_id_student = 1;
* @return The accountIdStudent.
*/
int getAccountIdStudent();
/**
* optional bool student_is_friend = 2;
* @return Whether the studentIsFriend field is set.
*/
boolean hasStudentIsFriend();
/**
* optional bool student_is_friend = 2;
* @return The studentIsFriend.
*/
boolean getStudentIsFriend();
}
/**
* Protobuf type {@code CMsgTFCoaching_AskCoach}
*/
public static final class CMsgTFCoaching_AskCoach extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:CMsgTFCoaching_AskCoach)
CMsgTFCoaching_AskCoachOrBuilder {
private static final long serialVersionUID = 0L;
static {
com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
/* minor= */ 28,
/* patch= */ 0,
/* suffix= */ "",
CMsgTFCoaching_AskCoach.class.getName());
}
// Use CMsgTFCoaching_AskCoach.newBuilder() to construct.
private CMsgTFCoaching_AskCoach(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private CMsgTFCoaching_AskCoach() {
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CMsgTFCoaching_AskCoach_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CMsgTFCoaching_AskCoach_fieldAccessorTable
.ensureFieldAccessorsInitialized(
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_AskCoach.class, in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_AskCoach.Builder.class);
}
private int bitField0_;
public static final int ACCOUNT_ID_STUDENT_FIELD_NUMBER = 1;
private int accountIdStudent_ = 0;
/**
* optional uint32 account_id_student = 1;
* @return Whether the accountIdStudent field is set.
*/
@java.lang.Override
public boolean hasAccountIdStudent() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional uint32 account_id_student = 1;
* @return The accountIdStudent.
*/
@java.lang.Override
public int getAccountIdStudent() {
return accountIdStudent_;
}
public static final int STUDENT_IS_FRIEND_FIELD_NUMBER = 2;
private boolean studentIsFriend_ = false;
/**
* optional bool student_is_friend = 2;
* @return Whether the studentIsFriend field is set.
*/
@java.lang.Override
public boolean hasStudentIsFriend() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional bool student_is_friend = 2;
* @return The studentIsFriend.
*/
@java.lang.Override
public boolean getStudentIsFriend() {
return studentIsFriend_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeUInt32(1, accountIdStudent_);
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeBool(2, studentIsFriend_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(1, accountIdStudent_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(2, studentIsFriend_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_AskCoach)) {
return super.equals(obj);
}
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_AskCoach other = (in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_AskCoach) obj;
if (hasAccountIdStudent() != other.hasAccountIdStudent()) return false;
if (hasAccountIdStudent()) {
if (getAccountIdStudent()
!= other.getAccountIdStudent()) return false;
}
if (hasStudentIsFriend() != other.hasStudentIsFriend()) return false;
if (hasStudentIsFriend()) {
if (getStudentIsFriend()
!= other.getStudentIsFriend()) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasAccountIdStudent()) {
hash = (37 * hash) + ACCOUNT_ID_STUDENT_FIELD_NUMBER;
hash = (53 * hash) + getAccountIdStudent();
}
if (hasStudentIsFriend()) {
hash = (37 * hash) + STUDENT_IS_FRIEND_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getStudentIsFriend());
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_AskCoach parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_AskCoach parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_AskCoach parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_AskCoach parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_AskCoach parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_AskCoach parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_AskCoach parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_AskCoach parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_AskCoach parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_AskCoach parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_AskCoach parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_AskCoach parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_AskCoach prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code CMsgTFCoaching_AskCoach}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:CMsgTFCoaching_AskCoach)
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_AskCoachOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CMsgTFCoaching_AskCoach_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CMsgTFCoaching_AskCoach_fieldAccessorTable
.ensureFieldAccessorsInitialized(
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_AskCoach.class, in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_AskCoach.Builder.class);
}
// Construct using in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_AskCoach.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
accountIdStudent_ = 0;
studentIsFriend_ = false;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CMsgTFCoaching_AskCoach_descriptor;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_AskCoach getDefaultInstanceForType() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_AskCoach.getDefaultInstance();
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_AskCoach build() {
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_AskCoach result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_AskCoach buildPartial() {
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_AskCoach result = new in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_AskCoach(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_AskCoach result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.accountIdStudent_ = accountIdStudent_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.studentIsFriend_ = studentIsFriend_;
to_bitField0_ |= 0x00000002;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_AskCoach) {
return mergeFrom((in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_AskCoach)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_AskCoach other) {
if (other == in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_AskCoach.getDefaultInstance()) return this;
if (other.hasAccountIdStudent()) {
setAccountIdStudent(other.getAccountIdStudent());
}
if (other.hasStudentIsFriend()) {
setStudentIsFriend(other.getStudentIsFriend());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8: {
accountIdStudent_ = input.readUInt32();
bitField0_ |= 0x00000001;
break;
} // case 8
case 16: {
studentIsFriend_ = input.readBool();
bitField0_ |= 0x00000002;
break;
} // case 16
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private int accountIdStudent_ ;
/**
* optional uint32 account_id_student = 1;
* @return Whether the accountIdStudent field is set.
*/
@java.lang.Override
public boolean hasAccountIdStudent() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional uint32 account_id_student = 1;
* @return The accountIdStudent.
*/
@java.lang.Override
public int getAccountIdStudent() {
return accountIdStudent_;
}
/**
* optional uint32 account_id_student = 1;
* @param value The accountIdStudent to set.
* @return This builder for chaining.
*/
public Builder setAccountIdStudent(int value) {
accountIdStudent_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* optional uint32 account_id_student = 1;
* @return This builder for chaining.
*/
public Builder clearAccountIdStudent() {
bitField0_ = (bitField0_ & ~0x00000001);
accountIdStudent_ = 0;
onChanged();
return this;
}
private boolean studentIsFriend_ ;
/**
* optional bool student_is_friend = 2;
* @return Whether the studentIsFriend field is set.
*/
@java.lang.Override
public boolean hasStudentIsFriend() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional bool student_is_friend = 2;
* @return The studentIsFriend.
*/
@java.lang.Override
public boolean getStudentIsFriend() {
return studentIsFriend_;
}
/**
* optional bool student_is_friend = 2;
* @param value The studentIsFriend to set.
* @return This builder for chaining.
*/
public Builder setStudentIsFriend(boolean value) {
studentIsFriend_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* optional bool student_is_friend = 2;
* @return This builder for chaining.
*/
public Builder clearStudentIsFriend() {
bitField0_ = (bitField0_ & ~0x00000002);
studentIsFriend_ = false;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:CMsgTFCoaching_AskCoach)
}
// @@protoc_insertion_point(class_scope:CMsgTFCoaching_AskCoach)
private static final in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_AskCoach DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_AskCoach();
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_AskCoach getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public CMsgTFCoaching_AskCoach parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_AskCoach getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface CMsgTFCoaching_AskCoachResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:CMsgTFCoaching_AskCoachResponse)
com.google.protobuf.MessageOrBuilder {
/**
* optional bool accept_coaching_assignment = 1;
* @return Whether the acceptCoachingAssignment field is set.
*/
boolean hasAcceptCoachingAssignment();
/**
* optional bool accept_coaching_assignment = 1;
* @return The acceptCoachingAssignment.
*/
boolean getAcceptCoachingAssignment();
}
/**
* Protobuf type {@code CMsgTFCoaching_AskCoachResponse}
*/
public static final class CMsgTFCoaching_AskCoachResponse extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:CMsgTFCoaching_AskCoachResponse)
CMsgTFCoaching_AskCoachResponseOrBuilder {
private static final long serialVersionUID = 0L;
static {
com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
/* minor= */ 28,
/* patch= */ 0,
/* suffix= */ "",
CMsgTFCoaching_AskCoachResponse.class.getName());
}
// Use CMsgTFCoaching_AskCoachResponse.newBuilder() to construct.
private CMsgTFCoaching_AskCoachResponse(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private CMsgTFCoaching_AskCoachResponse() {
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CMsgTFCoaching_AskCoachResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CMsgTFCoaching_AskCoachResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_AskCoachResponse.class, in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_AskCoachResponse.Builder.class);
}
private int bitField0_;
public static final int ACCEPT_COACHING_ASSIGNMENT_FIELD_NUMBER = 1;
private boolean acceptCoachingAssignment_ = false;
/**
* optional bool accept_coaching_assignment = 1;
* @return Whether the acceptCoachingAssignment field is set.
*/
@java.lang.Override
public boolean hasAcceptCoachingAssignment() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional bool accept_coaching_assignment = 1;
* @return The acceptCoachingAssignment.
*/
@java.lang.Override
public boolean getAcceptCoachingAssignment() {
return acceptCoachingAssignment_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeBool(1, acceptCoachingAssignment_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(1, acceptCoachingAssignment_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_AskCoachResponse)) {
return super.equals(obj);
}
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_AskCoachResponse other = (in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_AskCoachResponse) obj;
if (hasAcceptCoachingAssignment() != other.hasAcceptCoachingAssignment()) return false;
if (hasAcceptCoachingAssignment()) {
if (getAcceptCoachingAssignment()
!= other.getAcceptCoachingAssignment()) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasAcceptCoachingAssignment()) {
hash = (37 * hash) + ACCEPT_COACHING_ASSIGNMENT_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getAcceptCoachingAssignment());
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_AskCoachResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_AskCoachResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_AskCoachResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_AskCoachResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_AskCoachResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_AskCoachResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_AskCoachResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_AskCoachResponse parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_AskCoachResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_AskCoachResponse parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_AskCoachResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_AskCoachResponse parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_AskCoachResponse prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code CMsgTFCoaching_AskCoachResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:CMsgTFCoaching_AskCoachResponse)
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_AskCoachResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CMsgTFCoaching_AskCoachResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CMsgTFCoaching_AskCoachResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_AskCoachResponse.class, in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_AskCoachResponse.Builder.class);
}
// Construct using in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_AskCoachResponse.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
acceptCoachingAssignment_ = false;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CMsgTFCoaching_AskCoachResponse_descriptor;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_AskCoachResponse getDefaultInstanceForType() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_AskCoachResponse.getDefaultInstance();
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_AskCoachResponse build() {
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_AskCoachResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_AskCoachResponse buildPartial() {
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_AskCoachResponse result = new in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_AskCoachResponse(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_AskCoachResponse result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.acceptCoachingAssignment_ = acceptCoachingAssignment_;
to_bitField0_ |= 0x00000001;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_AskCoachResponse) {
return mergeFrom((in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_AskCoachResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_AskCoachResponse other) {
if (other == in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_AskCoachResponse.getDefaultInstance()) return this;
if (other.hasAcceptCoachingAssignment()) {
setAcceptCoachingAssignment(other.getAcceptCoachingAssignment());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8: {
acceptCoachingAssignment_ = input.readBool();
bitField0_ |= 0x00000001;
break;
} // case 8
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private boolean acceptCoachingAssignment_ ;
/**
* optional bool accept_coaching_assignment = 1;
* @return Whether the acceptCoachingAssignment field is set.
*/
@java.lang.Override
public boolean hasAcceptCoachingAssignment() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional bool accept_coaching_assignment = 1;
* @return The acceptCoachingAssignment.
*/
@java.lang.Override
public boolean getAcceptCoachingAssignment() {
return acceptCoachingAssignment_;
}
/**
* optional bool accept_coaching_assignment = 1;
* @param value The acceptCoachingAssignment to set.
* @return This builder for chaining.
*/
public Builder setAcceptCoachingAssignment(boolean value) {
acceptCoachingAssignment_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* optional bool accept_coaching_assignment = 1;
* @return This builder for chaining.
*/
public Builder clearAcceptCoachingAssignment() {
bitField0_ = (bitField0_ & ~0x00000001);
acceptCoachingAssignment_ = false;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:CMsgTFCoaching_AskCoachResponse)
}
// @@protoc_insertion_point(class_scope:CMsgTFCoaching_AskCoachResponse)
private static final in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_AskCoachResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_AskCoachResponse();
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_AskCoachResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public CMsgTFCoaching_AskCoachResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_AskCoachResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface CMsgTFCoaching_CoachJoinGameOrBuilder extends
// @@protoc_insertion_point(interface_extends:CMsgTFCoaching_CoachJoinGame)
com.google.protobuf.MessageOrBuilder {
/**
* optional bool join_game = 1;
* @return Whether the joinGame field is set.
*/
boolean hasJoinGame();
/**
* optional bool join_game = 1;
* @return The joinGame.
*/
boolean getJoinGame();
/**
* optional uint32 server_address = 2;
* @return Whether the serverAddress field is set.
*/
boolean hasServerAddress();
/**
* optional uint32 server_address = 2;
* @return The serverAddress.
*/
int getServerAddress();
/**
* optional uint32 server_port = 3;
* @return Whether the serverPort field is set.
*/
boolean hasServerPort();
/**
* optional uint32 server_port = 3;
* @return The serverPort.
*/
int getServerPort();
/**
* optional uint32 account_id_student = 4;
* @return Whether the accountIdStudent field is set.
*/
boolean hasAccountIdStudent();
/**
* optional uint32 account_id_student = 4;
* @return The accountIdStudent.
*/
int getAccountIdStudent();
}
/**
* Protobuf type {@code CMsgTFCoaching_CoachJoinGame}
*/
public static final class CMsgTFCoaching_CoachJoinGame extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:CMsgTFCoaching_CoachJoinGame)
CMsgTFCoaching_CoachJoinGameOrBuilder {
private static final long serialVersionUID = 0L;
static {
com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
/* minor= */ 28,
/* patch= */ 0,
/* suffix= */ "",
CMsgTFCoaching_CoachJoinGame.class.getName());
}
// Use CMsgTFCoaching_CoachJoinGame.newBuilder() to construct.
private CMsgTFCoaching_CoachJoinGame(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private CMsgTFCoaching_CoachJoinGame() {
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CMsgTFCoaching_CoachJoinGame_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CMsgTFCoaching_CoachJoinGame_fieldAccessorTable
.ensureFieldAccessorsInitialized(
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_CoachJoinGame.class, in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_CoachJoinGame.Builder.class);
}
private int bitField0_;
public static final int JOIN_GAME_FIELD_NUMBER = 1;
private boolean joinGame_ = false;
/**
* optional bool join_game = 1;
* @return Whether the joinGame field is set.
*/
@java.lang.Override
public boolean hasJoinGame() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional bool join_game = 1;
* @return The joinGame.
*/
@java.lang.Override
public boolean getJoinGame() {
return joinGame_;
}
public static final int SERVER_ADDRESS_FIELD_NUMBER = 2;
private int serverAddress_ = 0;
/**
* optional uint32 server_address = 2;
* @return Whether the serverAddress field is set.
*/
@java.lang.Override
public boolean hasServerAddress() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional uint32 server_address = 2;
* @return The serverAddress.
*/
@java.lang.Override
public int getServerAddress() {
return serverAddress_;
}
public static final int SERVER_PORT_FIELD_NUMBER = 3;
private int serverPort_ = 0;
/**
* optional uint32 server_port = 3;
* @return Whether the serverPort field is set.
*/
@java.lang.Override
public boolean hasServerPort() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional uint32 server_port = 3;
* @return The serverPort.
*/
@java.lang.Override
public int getServerPort() {
return serverPort_;
}
public static final int ACCOUNT_ID_STUDENT_FIELD_NUMBER = 4;
private int accountIdStudent_ = 0;
/**
* optional uint32 account_id_student = 4;
* @return Whether the accountIdStudent field is set.
*/
@java.lang.Override
public boolean hasAccountIdStudent() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* optional uint32 account_id_student = 4;
* @return The accountIdStudent.
*/
@java.lang.Override
public int getAccountIdStudent() {
return accountIdStudent_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeBool(1, joinGame_);
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeUInt32(2, serverAddress_);
}
if (((bitField0_ & 0x00000004) != 0)) {
output.writeUInt32(3, serverPort_);
}
if (((bitField0_ & 0x00000008) != 0)) {
output.writeUInt32(4, accountIdStudent_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(1, joinGame_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(2, serverAddress_);
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(3, serverPort_);
}
if (((bitField0_ & 0x00000008) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(4, accountIdStudent_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_CoachJoinGame)) {
return super.equals(obj);
}
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_CoachJoinGame other = (in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_CoachJoinGame) obj;
if (hasJoinGame() != other.hasJoinGame()) return false;
if (hasJoinGame()) {
if (getJoinGame()
!= other.getJoinGame()) return false;
}
if (hasServerAddress() != other.hasServerAddress()) return false;
if (hasServerAddress()) {
if (getServerAddress()
!= other.getServerAddress()) return false;
}
if (hasServerPort() != other.hasServerPort()) return false;
if (hasServerPort()) {
if (getServerPort()
!= other.getServerPort()) return false;
}
if (hasAccountIdStudent() != other.hasAccountIdStudent()) return false;
if (hasAccountIdStudent()) {
if (getAccountIdStudent()
!= other.getAccountIdStudent()) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasJoinGame()) {
hash = (37 * hash) + JOIN_GAME_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getJoinGame());
}
if (hasServerAddress()) {
hash = (37 * hash) + SERVER_ADDRESS_FIELD_NUMBER;
hash = (53 * hash) + getServerAddress();
}
if (hasServerPort()) {
hash = (37 * hash) + SERVER_PORT_FIELD_NUMBER;
hash = (53 * hash) + getServerPort();
}
if (hasAccountIdStudent()) {
hash = (37 * hash) + ACCOUNT_ID_STUDENT_FIELD_NUMBER;
hash = (53 * hash) + getAccountIdStudent();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_CoachJoinGame parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_CoachJoinGame parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_CoachJoinGame parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_CoachJoinGame parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_CoachJoinGame parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_CoachJoinGame parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_CoachJoinGame parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_CoachJoinGame parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_CoachJoinGame parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_CoachJoinGame parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_CoachJoinGame parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_CoachJoinGame parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_CoachJoinGame prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code CMsgTFCoaching_CoachJoinGame}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:CMsgTFCoaching_CoachJoinGame)
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_CoachJoinGameOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CMsgTFCoaching_CoachJoinGame_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CMsgTFCoaching_CoachJoinGame_fieldAccessorTable
.ensureFieldAccessorsInitialized(
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_CoachJoinGame.class, in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_CoachJoinGame.Builder.class);
}
// Construct using in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_CoachJoinGame.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
joinGame_ = false;
serverAddress_ = 0;
serverPort_ = 0;
accountIdStudent_ = 0;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CMsgTFCoaching_CoachJoinGame_descriptor;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_CoachJoinGame getDefaultInstanceForType() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_CoachJoinGame.getDefaultInstance();
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_CoachJoinGame build() {
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_CoachJoinGame result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_CoachJoinGame buildPartial() {
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_CoachJoinGame result = new in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_CoachJoinGame(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_CoachJoinGame result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.joinGame_ = joinGame_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.serverAddress_ = serverAddress_;
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.serverPort_ = serverPort_;
to_bitField0_ |= 0x00000004;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
result.accountIdStudent_ = accountIdStudent_;
to_bitField0_ |= 0x00000008;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_CoachJoinGame) {
return mergeFrom((in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_CoachJoinGame)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_CoachJoinGame other) {
if (other == in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_CoachJoinGame.getDefaultInstance()) return this;
if (other.hasJoinGame()) {
setJoinGame(other.getJoinGame());
}
if (other.hasServerAddress()) {
setServerAddress(other.getServerAddress());
}
if (other.hasServerPort()) {
setServerPort(other.getServerPort());
}
if (other.hasAccountIdStudent()) {
setAccountIdStudent(other.getAccountIdStudent());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8: {
joinGame_ = input.readBool();
bitField0_ |= 0x00000001;
break;
} // case 8
case 16: {
serverAddress_ = input.readUInt32();
bitField0_ |= 0x00000002;
break;
} // case 16
case 24: {
serverPort_ = input.readUInt32();
bitField0_ |= 0x00000004;
break;
} // case 24
case 32: {
accountIdStudent_ = input.readUInt32();
bitField0_ |= 0x00000008;
break;
} // case 32
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private boolean joinGame_ ;
/**
* optional bool join_game = 1;
* @return Whether the joinGame field is set.
*/
@java.lang.Override
public boolean hasJoinGame() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional bool join_game = 1;
* @return The joinGame.
*/
@java.lang.Override
public boolean getJoinGame() {
return joinGame_;
}
/**
* optional bool join_game = 1;
* @param value The joinGame to set.
* @return This builder for chaining.
*/
public Builder setJoinGame(boolean value) {
joinGame_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* optional bool join_game = 1;
* @return This builder for chaining.
*/
public Builder clearJoinGame() {
bitField0_ = (bitField0_ & ~0x00000001);
joinGame_ = false;
onChanged();
return this;
}
private int serverAddress_ ;
/**
* optional uint32 server_address = 2;
* @return Whether the serverAddress field is set.
*/
@java.lang.Override
public boolean hasServerAddress() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional uint32 server_address = 2;
* @return The serverAddress.
*/
@java.lang.Override
public int getServerAddress() {
return serverAddress_;
}
/**
* optional uint32 server_address = 2;
* @param value The serverAddress to set.
* @return This builder for chaining.
*/
public Builder setServerAddress(int value) {
serverAddress_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* optional uint32 server_address = 2;
* @return This builder for chaining.
*/
public Builder clearServerAddress() {
bitField0_ = (bitField0_ & ~0x00000002);
serverAddress_ = 0;
onChanged();
return this;
}
private int serverPort_ ;
/**
* optional uint32 server_port = 3;
* @return Whether the serverPort field is set.
*/
@java.lang.Override
public boolean hasServerPort() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional uint32 server_port = 3;
* @return The serverPort.
*/
@java.lang.Override
public int getServerPort() {
return serverPort_;
}
/**
* optional uint32 server_port = 3;
* @param value The serverPort to set.
* @return This builder for chaining.
*/
public Builder setServerPort(int value) {
serverPort_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* optional uint32 server_port = 3;
* @return This builder for chaining.
*/
public Builder clearServerPort() {
bitField0_ = (bitField0_ & ~0x00000004);
serverPort_ = 0;
onChanged();
return this;
}
private int accountIdStudent_ ;
/**
* optional uint32 account_id_student = 4;
* @return Whether the accountIdStudent field is set.
*/
@java.lang.Override
public boolean hasAccountIdStudent() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* optional uint32 account_id_student = 4;
* @return The accountIdStudent.
*/
@java.lang.Override
public int getAccountIdStudent() {
return accountIdStudent_;
}
/**
* optional uint32 account_id_student = 4;
* @param value The accountIdStudent to set.
* @return This builder for chaining.
*/
public Builder setAccountIdStudent(int value) {
accountIdStudent_ = value;
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* optional uint32 account_id_student = 4;
* @return This builder for chaining.
*/
public Builder clearAccountIdStudent() {
bitField0_ = (bitField0_ & ~0x00000008);
accountIdStudent_ = 0;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:CMsgTFCoaching_CoachJoinGame)
}
// @@protoc_insertion_point(class_scope:CMsgTFCoaching_CoachJoinGame)
private static final in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_CoachJoinGame DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_CoachJoinGame();
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_CoachJoinGame getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public CMsgTFCoaching_CoachJoinGame parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_CoachJoinGame getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface CMsgTFCoaching_CoachJoiningOrBuilder extends
// @@protoc_insertion_point(interface_extends:CMsgTFCoaching_CoachJoining)
com.google.protobuf.MessageOrBuilder {
/**
* optional uint32 account_id_coach = 1;
* @return Whether the accountIdCoach field is set.
*/
boolean hasAccountIdCoach();
/**
* optional uint32 account_id_coach = 1;
* @return The accountIdCoach.
*/
int getAccountIdCoach();
/**
* optional uint32 account_id_student = 2;
* @return Whether the accountIdStudent field is set.
*/
boolean hasAccountIdStudent();
/**
* optional uint32 account_id_student = 2;
* @return The accountIdStudent.
*/
int getAccountIdStudent();
}
/**
* Protobuf type {@code CMsgTFCoaching_CoachJoining}
*/
public static final class CMsgTFCoaching_CoachJoining extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:CMsgTFCoaching_CoachJoining)
CMsgTFCoaching_CoachJoiningOrBuilder {
private static final long serialVersionUID = 0L;
static {
com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
/* minor= */ 28,
/* patch= */ 0,
/* suffix= */ "",
CMsgTFCoaching_CoachJoining.class.getName());
}
// Use CMsgTFCoaching_CoachJoining.newBuilder() to construct.
private CMsgTFCoaching_CoachJoining(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private CMsgTFCoaching_CoachJoining() {
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CMsgTFCoaching_CoachJoining_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CMsgTFCoaching_CoachJoining_fieldAccessorTable
.ensureFieldAccessorsInitialized(
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_CoachJoining.class, in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_CoachJoining.Builder.class);
}
private int bitField0_;
public static final int ACCOUNT_ID_COACH_FIELD_NUMBER = 1;
private int accountIdCoach_ = 0;
/**
* optional uint32 account_id_coach = 1;
* @return Whether the accountIdCoach field is set.
*/
@java.lang.Override
public boolean hasAccountIdCoach() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional uint32 account_id_coach = 1;
* @return The accountIdCoach.
*/
@java.lang.Override
public int getAccountIdCoach() {
return accountIdCoach_;
}
public static final int ACCOUNT_ID_STUDENT_FIELD_NUMBER = 2;
private int accountIdStudent_ = 0;
/**
* optional uint32 account_id_student = 2;
* @return Whether the accountIdStudent field is set.
*/
@java.lang.Override
public boolean hasAccountIdStudent() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional uint32 account_id_student = 2;
* @return The accountIdStudent.
*/
@java.lang.Override
public int getAccountIdStudent() {
return accountIdStudent_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeUInt32(1, accountIdCoach_);
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeUInt32(2, accountIdStudent_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(1, accountIdCoach_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(2, accountIdStudent_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_CoachJoining)) {
return super.equals(obj);
}
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_CoachJoining other = (in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_CoachJoining) obj;
if (hasAccountIdCoach() != other.hasAccountIdCoach()) return false;
if (hasAccountIdCoach()) {
if (getAccountIdCoach()
!= other.getAccountIdCoach()) return false;
}
if (hasAccountIdStudent() != other.hasAccountIdStudent()) return false;
if (hasAccountIdStudent()) {
if (getAccountIdStudent()
!= other.getAccountIdStudent()) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasAccountIdCoach()) {
hash = (37 * hash) + ACCOUNT_ID_COACH_FIELD_NUMBER;
hash = (53 * hash) + getAccountIdCoach();
}
if (hasAccountIdStudent()) {
hash = (37 * hash) + ACCOUNT_ID_STUDENT_FIELD_NUMBER;
hash = (53 * hash) + getAccountIdStudent();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_CoachJoining parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_CoachJoining parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_CoachJoining parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_CoachJoining parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_CoachJoining parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_CoachJoining parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_CoachJoining parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_CoachJoining parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_CoachJoining parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_CoachJoining parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_CoachJoining parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_CoachJoining parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_CoachJoining prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code CMsgTFCoaching_CoachJoining}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:CMsgTFCoaching_CoachJoining)
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_CoachJoiningOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CMsgTFCoaching_CoachJoining_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CMsgTFCoaching_CoachJoining_fieldAccessorTable
.ensureFieldAccessorsInitialized(
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_CoachJoining.class, in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_CoachJoining.Builder.class);
}
// Construct using in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_CoachJoining.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
accountIdCoach_ = 0;
accountIdStudent_ = 0;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CMsgTFCoaching_CoachJoining_descriptor;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_CoachJoining getDefaultInstanceForType() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_CoachJoining.getDefaultInstance();
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_CoachJoining build() {
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_CoachJoining result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_CoachJoining buildPartial() {
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_CoachJoining result = new in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_CoachJoining(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_CoachJoining result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.accountIdCoach_ = accountIdCoach_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.accountIdStudent_ = accountIdStudent_;
to_bitField0_ |= 0x00000002;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_CoachJoining) {
return mergeFrom((in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_CoachJoining)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_CoachJoining other) {
if (other == in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_CoachJoining.getDefaultInstance()) return this;
if (other.hasAccountIdCoach()) {
setAccountIdCoach(other.getAccountIdCoach());
}
if (other.hasAccountIdStudent()) {
setAccountIdStudent(other.getAccountIdStudent());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8: {
accountIdCoach_ = input.readUInt32();
bitField0_ |= 0x00000001;
break;
} // case 8
case 16: {
accountIdStudent_ = input.readUInt32();
bitField0_ |= 0x00000002;
break;
} // case 16
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private int accountIdCoach_ ;
/**
* optional uint32 account_id_coach = 1;
* @return Whether the accountIdCoach field is set.
*/
@java.lang.Override
public boolean hasAccountIdCoach() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional uint32 account_id_coach = 1;
* @return The accountIdCoach.
*/
@java.lang.Override
public int getAccountIdCoach() {
return accountIdCoach_;
}
/**
* optional uint32 account_id_coach = 1;
* @param value The accountIdCoach to set.
* @return This builder for chaining.
*/
public Builder setAccountIdCoach(int value) {
accountIdCoach_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* optional uint32 account_id_coach = 1;
* @return This builder for chaining.
*/
public Builder clearAccountIdCoach() {
bitField0_ = (bitField0_ & ~0x00000001);
accountIdCoach_ = 0;
onChanged();
return this;
}
private int accountIdStudent_ ;
/**
* optional uint32 account_id_student = 2;
* @return Whether the accountIdStudent field is set.
*/
@java.lang.Override
public boolean hasAccountIdStudent() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional uint32 account_id_student = 2;
* @return The accountIdStudent.
*/
@java.lang.Override
public int getAccountIdStudent() {
return accountIdStudent_;
}
/**
* optional uint32 account_id_student = 2;
* @param value The accountIdStudent to set.
* @return This builder for chaining.
*/
public Builder setAccountIdStudent(int value) {
accountIdStudent_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* optional uint32 account_id_student = 2;
* @return This builder for chaining.
*/
public Builder clearAccountIdStudent() {
bitField0_ = (bitField0_ & ~0x00000002);
accountIdStudent_ = 0;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:CMsgTFCoaching_CoachJoining)
}
// @@protoc_insertion_point(class_scope:CMsgTFCoaching_CoachJoining)
private static final in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_CoachJoining DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_CoachJoining();
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_CoachJoining getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public CMsgTFCoaching_CoachJoining parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_CoachJoining getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface CMsgTFCoaching_CoachJoinedOrBuilder extends
// @@protoc_insertion_point(interface_extends:CMsgTFCoaching_CoachJoined)
com.google.protobuf.MessageOrBuilder {
/**
* optional uint32 account_id_coach = 1;
* @return Whether the accountIdCoach field is set.
*/
boolean hasAccountIdCoach();
/**
* optional uint32 account_id_coach = 1;
* @return The accountIdCoach.
*/
int getAccountIdCoach();
}
/**
* Protobuf type {@code CMsgTFCoaching_CoachJoined}
*/
public static final class CMsgTFCoaching_CoachJoined extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:CMsgTFCoaching_CoachJoined)
CMsgTFCoaching_CoachJoinedOrBuilder {
private static final long serialVersionUID = 0L;
static {
com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
/* minor= */ 28,
/* patch= */ 0,
/* suffix= */ "",
CMsgTFCoaching_CoachJoined.class.getName());
}
// Use CMsgTFCoaching_CoachJoined.newBuilder() to construct.
private CMsgTFCoaching_CoachJoined(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private CMsgTFCoaching_CoachJoined() {
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CMsgTFCoaching_CoachJoined_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CMsgTFCoaching_CoachJoined_fieldAccessorTable
.ensureFieldAccessorsInitialized(
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_CoachJoined.class, in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_CoachJoined.Builder.class);
}
private int bitField0_;
public static final int ACCOUNT_ID_COACH_FIELD_NUMBER = 1;
private int accountIdCoach_ = 0;
/**
* optional uint32 account_id_coach = 1;
* @return Whether the accountIdCoach field is set.
*/
@java.lang.Override
public boolean hasAccountIdCoach() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional uint32 account_id_coach = 1;
* @return The accountIdCoach.
*/
@java.lang.Override
public int getAccountIdCoach() {
return accountIdCoach_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeUInt32(1, accountIdCoach_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(1, accountIdCoach_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_CoachJoined)) {
return super.equals(obj);
}
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_CoachJoined other = (in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_CoachJoined) obj;
if (hasAccountIdCoach() != other.hasAccountIdCoach()) return false;
if (hasAccountIdCoach()) {
if (getAccountIdCoach()
!= other.getAccountIdCoach()) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasAccountIdCoach()) {
hash = (37 * hash) + ACCOUNT_ID_COACH_FIELD_NUMBER;
hash = (53 * hash) + getAccountIdCoach();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_CoachJoined parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_CoachJoined parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_CoachJoined parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_CoachJoined parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_CoachJoined parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_CoachJoined parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_CoachJoined parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_CoachJoined parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_CoachJoined parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_CoachJoined parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_CoachJoined parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_CoachJoined parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_CoachJoined prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code CMsgTFCoaching_CoachJoined}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:CMsgTFCoaching_CoachJoined)
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_CoachJoinedOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CMsgTFCoaching_CoachJoined_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CMsgTFCoaching_CoachJoined_fieldAccessorTable
.ensureFieldAccessorsInitialized(
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_CoachJoined.class, in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_CoachJoined.Builder.class);
}
// Construct using in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_CoachJoined.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
accountIdCoach_ = 0;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CMsgTFCoaching_CoachJoined_descriptor;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_CoachJoined getDefaultInstanceForType() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_CoachJoined.getDefaultInstance();
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_CoachJoined build() {
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_CoachJoined result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_CoachJoined buildPartial() {
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_CoachJoined result = new in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_CoachJoined(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_CoachJoined result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.accountIdCoach_ = accountIdCoach_;
to_bitField0_ |= 0x00000001;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_CoachJoined) {
return mergeFrom((in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_CoachJoined)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_CoachJoined other) {
if (other == in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_CoachJoined.getDefaultInstance()) return this;
if (other.hasAccountIdCoach()) {
setAccountIdCoach(other.getAccountIdCoach());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8: {
accountIdCoach_ = input.readUInt32();
bitField0_ |= 0x00000001;
break;
} // case 8
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private int accountIdCoach_ ;
/**
* optional uint32 account_id_coach = 1;
* @return Whether the accountIdCoach field is set.
*/
@java.lang.Override
public boolean hasAccountIdCoach() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional uint32 account_id_coach = 1;
* @return The accountIdCoach.
*/
@java.lang.Override
public int getAccountIdCoach() {
return accountIdCoach_;
}
/**
* optional uint32 account_id_coach = 1;
* @param value The accountIdCoach to set.
* @return This builder for chaining.
*/
public Builder setAccountIdCoach(int value) {
accountIdCoach_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* optional uint32 account_id_coach = 1;
* @return This builder for chaining.
*/
public Builder clearAccountIdCoach() {
bitField0_ = (bitField0_ & ~0x00000001);
accountIdCoach_ = 0;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:CMsgTFCoaching_CoachJoined)
}
// @@protoc_insertion_point(class_scope:CMsgTFCoaching_CoachJoined)
private static final in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_CoachJoined DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_CoachJoined();
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_CoachJoined getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public CMsgTFCoaching_CoachJoined parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_CoachJoined getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface CMsgTFCoaching_LikeCurrentCoachOrBuilder extends
// @@protoc_insertion_point(interface_extends:CMsgTFCoaching_LikeCurrentCoach)
com.google.protobuf.MessageOrBuilder {
/**
* optional bool like_coach = 1;
* @return Whether the likeCoach field is set.
*/
boolean hasLikeCoach();
/**
* optional bool like_coach = 1;
* @return The likeCoach.
*/
boolean getLikeCoach();
}
/**
* Protobuf type {@code CMsgTFCoaching_LikeCurrentCoach}
*/
public static final class CMsgTFCoaching_LikeCurrentCoach extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:CMsgTFCoaching_LikeCurrentCoach)
CMsgTFCoaching_LikeCurrentCoachOrBuilder {
private static final long serialVersionUID = 0L;
static {
com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
/* minor= */ 28,
/* patch= */ 0,
/* suffix= */ "",
CMsgTFCoaching_LikeCurrentCoach.class.getName());
}
// Use CMsgTFCoaching_LikeCurrentCoach.newBuilder() to construct.
private CMsgTFCoaching_LikeCurrentCoach(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private CMsgTFCoaching_LikeCurrentCoach() {
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CMsgTFCoaching_LikeCurrentCoach_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CMsgTFCoaching_LikeCurrentCoach_fieldAccessorTable
.ensureFieldAccessorsInitialized(
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_LikeCurrentCoach.class, in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_LikeCurrentCoach.Builder.class);
}
private int bitField0_;
public static final int LIKE_COACH_FIELD_NUMBER = 1;
private boolean likeCoach_ = false;
/**
* optional bool like_coach = 1;
* @return Whether the likeCoach field is set.
*/
@java.lang.Override
public boolean hasLikeCoach() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional bool like_coach = 1;
* @return The likeCoach.
*/
@java.lang.Override
public boolean getLikeCoach() {
return likeCoach_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeBool(1, likeCoach_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(1, likeCoach_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_LikeCurrentCoach)) {
return super.equals(obj);
}
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_LikeCurrentCoach other = (in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_LikeCurrentCoach) obj;
if (hasLikeCoach() != other.hasLikeCoach()) return false;
if (hasLikeCoach()) {
if (getLikeCoach()
!= other.getLikeCoach()) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasLikeCoach()) {
hash = (37 * hash) + LIKE_COACH_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getLikeCoach());
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_LikeCurrentCoach parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_LikeCurrentCoach parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_LikeCurrentCoach parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_LikeCurrentCoach parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_LikeCurrentCoach parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_LikeCurrentCoach parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_LikeCurrentCoach parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_LikeCurrentCoach parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_LikeCurrentCoach parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_LikeCurrentCoach parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_LikeCurrentCoach parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_LikeCurrentCoach parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_LikeCurrentCoach prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code CMsgTFCoaching_LikeCurrentCoach}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:CMsgTFCoaching_LikeCurrentCoach)
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_LikeCurrentCoachOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CMsgTFCoaching_LikeCurrentCoach_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CMsgTFCoaching_LikeCurrentCoach_fieldAccessorTable
.ensureFieldAccessorsInitialized(
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_LikeCurrentCoach.class, in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_LikeCurrentCoach.Builder.class);
}
// Construct using in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_LikeCurrentCoach.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
likeCoach_ = false;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CMsgTFCoaching_LikeCurrentCoach_descriptor;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_LikeCurrentCoach getDefaultInstanceForType() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_LikeCurrentCoach.getDefaultInstance();
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_LikeCurrentCoach build() {
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_LikeCurrentCoach result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_LikeCurrentCoach buildPartial() {
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_LikeCurrentCoach result = new in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_LikeCurrentCoach(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_LikeCurrentCoach result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.likeCoach_ = likeCoach_;
to_bitField0_ |= 0x00000001;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_LikeCurrentCoach) {
return mergeFrom((in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_LikeCurrentCoach)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_LikeCurrentCoach other) {
if (other == in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_LikeCurrentCoach.getDefaultInstance()) return this;
if (other.hasLikeCoach()) {
setLikeCoach(other.getLikeCoach());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8: {
likeCoach_ = input.readBool();
bitField0_ |= 0x00000001;
break;
} // case 8
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private boolean likeCoach_ ;
/**
* optional bool like_coach = 1;
* @return Whether the likeCoach field is set.
*/
@java.lang.Override
public boolean hasLikeCoach() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional bool like_coach = 1;
* @return The likeCoach.
*/
@java.lang.Override
public boolean getLikeCoach() {
return likeCoach_;
}
/**
* optional bool like_coach = 1;
* @param value The likeCoach to set.
* @return This builder for chaining.
*/
public Builder setLikeCoach(boolean value) {
likeCoach_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* optional bool like_coach = 1;
* @return This builder for chaining.
*/
public Builder clearLikeCoach() {
bitField0_ = (bitField0_ & ~0x00000001);
likeCoach_ = false;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:CMsgTFCoaching_LikeCurrentCoach)
}
// @@protoc_insertion_point(class_scope:CMsgTFCoaching_LikeCurrentCoach)
private static final in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_LikeCurrentCoach DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_LikeCurrentCoach();
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_LikeCurrentCoach getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public CMsgTFCoaching_LikeCurrentCoach parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_LikeCurrentCoach getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface CMsgTFCoaching_RemoveCurrentCoachOrBuilder extends
// @@protoc_insertion_point(interface_extends:CMsgTFCoaching_RemoveCurrentCoach)
com.google.protobuf.MessageOrBuilder {
/**
* optional uint32 account_id_coach = 1;
* @return Whether the accountIdCoach field is set.
*/
boolean hasAccountIdCoach();
/**
* optional uint32 account_id_coach = 1;
* @return The accountIdCoach.
*/
int getAccountIdCoach();
}
/**
* Protobuf type {@code CMsgTFCoaching_RemoveCurrentCoach}
*/
public static final class CMsgTFCoaching_RemoveCurrentCoach extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:CMsgTFCoaching_RemoveCurrentCoach)
CMsgTFCoaching_RemoveCurrentCoachOrBuilder {
private static final long serialVersionUID = 0L;
static {
com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
/* minor= */ 28,
/* patch= */ 0,
/* suffix= */ "",
CMsgTFCoaching_RemoveCurrentCoach.class.getName());
}
// Use CMsgTFCoaching_RemoveCurrentCoach.newBuilder() to construct.
private CMsgTFCoaching_RemoveCurrentCoach(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private CMsgTFCoaching_RemoveCurrentCoach() {
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CMsgTFCoaching_RemoveCurrentCoach_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CMsgTFCoaching_RemoveCurrentCoach_fieldAccessorTable
.ensureFieldAccessorsInitialized(
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_RemoveCurrentCoach.class, in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_RemoveCurrentCoach.Builder.class);
}
private int bitField0_;
public static final int ACCOUNT_ID_COACH_FIELD_NUMBER = 1;
private int accountIdCoach_ = 0;
/**
* optional uint32 account_id_coach = 1;
* @return Whether the accountIdCoach field is set.
*/
@java.lang.Override
public boolean hasAccountIdCoach() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional uint32 account_id_coach = 1;
* @return The accountIdCoach.
*/
@java.lang.Override
public int getAccountIdCoach() {
return accountIdCoach_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeUInt32(1, accountIdCoach_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(1, accountIdCoach_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_RemoveCurrentCoach)) {
return super.equals(obj);
}
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_RemoveCurrentCoach other = (in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_RemoveCurrentCoach) obj;
if (hasAccountIdCoach() != other.hasAccountIdCoach()) return false;
if (hasAccountIdCoach()) {
if (getAccountIdCoach()
!= other.getAccountIdCoach()) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasAccountIdCoach()) {
hash = (37 * hash) + ACCOUNT_ID_COACH_FIELD_NUMBER;
hash = (53 * hash) + getAccountIdCoach();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_RemoveCurrentCoach parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_RemoveCurrentCoach parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_RemoveCurrentCoach parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_RemoveCurrentCoach parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_RemoveCurrentCoach parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_RemoveCurrentCoach parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_RemoveCurrentCoach parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_RemoveCurrentCoach parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_RemoveCurrentCoach parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_RemoveCurrentCoach parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_RemoveCurrentCoach parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_RemoveCurrentCoach parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_RemoveCurrentCoach prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code CMsgTFCoaching_RemoveCurrentCoach}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:CMsgTFCoaching_RemoveCurrentCoach)
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_RemoveCurrentCoachOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CMsgTFCoaching_RemoveCurrentCoach_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CMsgTFCoaching_RemoveCurrentCoach_fieldAccessorTable
.ensureFieldAccessorsInitialized(
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_RemoveCurrentCoach.class, in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_RemoveCurrentCoach.Builder.class);
}
// Construct using in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_RemoveCurrentCoach.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
accountIdCoach_ = 0;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CMsgTFCoaching_RemoveCurrentCoach_descriptor;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_RemoveCurrentCoach getDefaultInstanceForType() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_RemoveCurrentCoach.getDefaultInstance();
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_RemoveCurrentCoach build() {
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_RemoveCurrentCoach result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_RemoveCurrentCoach buildPartial() {
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_RemoveCurrentCoach result = new in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_RemoveCurrentCoach(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_RemoveCurrentCoach result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.accountIdCoach_ = accountIdCoach_;
to_bitField0_ |= 0x00000001;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_RemoveCurrentCoach) {
return mergeFrom((in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_RemoveCurrentCoach)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_RemoveCurrentCoach other) {
if (other == in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_RemoveCurrentCoach.getDefaultInstance()) return this;
if (other.hasAccountIdCoach()) {
setAccountIdCoach(other.getAccountIdCoach());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8: {
accountIdCoach_ = input.readUInt32();
bitField0_ |= 0x00000001;
break;
} // case 8
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private int accountIdCoach_ ;
/**
* optional uint32 account_id_coach = 1;
* @return Whether the accountIdCoach field is set.
*/
@java.lang.Override
public boolean hasAccountIdCoach() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional uint32 account_id_coach = 1;
* @return The accountIdCoach.
*/
@java.lang.Override
public int getAccountIdCoach() {
return accountIdCoach_;
}
/**
* optional uint32 account_id_coach = 1;
* @param value The accountIdCoach to set.
* @return This builder for chaining.
*/
public Builder setAccountIdCoach(int value) {
accountIdCoach_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* optional uint32 account_id_coach = 1;
* @return This builder for chaining.
*/
public Builder clearAccountIdCoach() {
bitField0_ = (bitField0_ & ~0x00000001);
accountIdCoach_ = 0;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:CMsgTFCoaching_RemoveCurrentCoach)
}
// @@protoc_insertion_point(class_scope:CMsgTFCoaching_RemoveCurrentCoach)
private static final in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_RemoveCurrentCoach DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_RemoveCurrentCoach();
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_RemoveCurrentCoach getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public CMsgTFCoaching_RemoveCurrentCoach parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFCoaching_RemoveCurrentCoach getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface CMsgTFQuickplay_ScoreServersOrBuilder extends
// @@protoc_insertion_point(interface_extends:CMsgTFQuickplay_ScoreServers)
com.google.protobuf.MessageOrBuilder {
/**
* repeated .CMsgTFQuickplay_ScoreServers.ServerInfo servers = 1;
*/
java.util.List
getServersList();
/**
* repeated .CMsgTFQuickplay_ScoreServers.ServerInfo servers = 1;
*/
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServers.ServerInfo getServers(int index);
/**
* repeated .CMsgTFQuickplay_ScoreServers.ServerInfo servers = 1;
*/
int getServersCount();
/**
* repeated .CMsgTFQuickplay_ScoreServers.ServerInfo servers = 1;
*/
java.util.List extends in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServers.ServerInfoOrBuilder>
getServersOrBuilderList();
/**
* repeated .CMsgTFQuickplay_ScoreServers.ServerInfo servers = 1;
*/
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServers.ServerInfoOrBuilder getServersOrBuilder(
int index);
}
/**
* Protobuf type {@code CMsgTFQuickplay_ScoreServers}
*/
public static final class CMsgTFQuickplay_ScoreServers extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:CMsgTFQuickplay_ScoreServers)
CMsgTFQuickplay_ScoreServersOrBuilder {
private static final long serialVersionUID = 0L;
static {
com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
/* minor= */ 28,
/* patch= */ 0,
/* suffix= */ "",
CMsgTFQuickplay_ScoreServers.class.getName());
}
// Use CMsgTFQuickplay_ScoreServers.newBuilder() to construct.
private CMsgTFQuickplay_ScoreServers(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private CMsgTFQuickplay_ScoreServers() {
servers_ = java.util.Collections.emptyList();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CMsgTFQuickplay_ScoreServers_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CMsgTFQuickplay_ScoreServers_fieldAccessorTable
.ensureFieldAccessorsInitialized(
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServers.class, in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServers.Builder.class);
}
public interface ServerInfoOrBuilder extends
// @@protoc_insertion_point(interface_extends:CMsgTFQuickplay_ScoreServers.ServerInfo)
com.google.protobuf.MessageOrBuilder {
/**
* optional uint32 server_address = 1;
* @return Whether the serverAddress field is set.
*/
boolean hasServerAddress();
/**
* optional uint32 server_address = 1;
* @return The serverAddress.
*/
int getServerAddress();
/**
* optional uint32 server_port = 2;
* @return Whether the serverPort field is set.
*/
boolean hasServerPort();
/**
* optional uint32 server_port = 2;
* @return The serverPort.
*/
int getServerPort();
/**
* optional uint32 num_users = 3;
* @return Whether the numUsers field is set.
*/
boolean hasNumUsers();
/**
* optional uint32 num_users = 3;
* @return The numUsers.
*/
int getNumUsers();
/**
* optional uint64 steam_id = 4;
* @return Whether the steamId field is set.
*/
boolean hasSteamId();
/**
* optional uint64 steam_id = 4;
* @return The steamId.
*/
long getSteamId();
/**
* optional uint32 max_users = 5;
* @return Whether the maxUsers field is set.
*/
boolean hasMaxUsers();
/**
* optional uint32 max_users = 5;
* @return The maxUsers.
*/
int getMaxUsers();
/**
* optional float user_score = 6;
* @return Whether the userScore field is set.
*/
boolean hasUserScore();
/**
* optional float user_score = 6;
* @return The userScore.
*/
float getUserScore();
}
/**
* Protobuf type {@code CMsgTFQuickplay_ScoreServers.ServerInfo}
*/
public static final class ServerInfo extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:CMsgTFQuickplay_ScoreServers.ServerInfo)
ServerInfoOrBuilder {
private static final long serialVersionUID = 0L;
static {
com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
/* minor= */ 28,
/* patch= */ 0,
/* suffix= */ "",
ServerInfo.class.getName());
}
// Use ServerInfo.newBuilder() to construct.
private ServerInfo(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private ServerInfo() {
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CMsgTFQuickplay_ScoreServers_ServerInfo_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CMsgTFQuickplay_ScoreServers_ServerInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServers.ServerInfo.class, in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServers.ServerInfo.Builder.class);
}
private int bitField0_;
public static final int SERVER_ADDRESS_FIELD_NUMBER = 1;
private int serverAddress_ = 0;
/**
* optional uint32 server_address = 1;
* @return Whether the serverAddress field is set.
*/
@java.lang.Override
public boolean hasServerAddress() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional uint32 server_address = 1;
* @return The serverAddress.
*/
@java.lang.Override
public int getServerAddress() {
return serverAddress_;
}
public static final int SERVER_PORT_FIELD_NUMBER = 2;
private int serverPort_ = 0;
/**
* optional uint32 server_port = 2;
* @return Whether the serverPort field is set.
*/
@java.lang.Override
public boolean hasServerPort() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional uint32 server_port = 2;
* @return The serverPort.
*/
@java.lang.Override
public int getServerPort() {
return serverPort_;
}
public static final int NUM_USERS_FIELD_NUMBER = 3;
private int numUsers_ = 0;
/**
* optional uint32 num_users = 3;
* @return Whether the numUsers field is set.
*/
@java.lang.Override
public boolean hasNumUsers() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional uint32 num_users = 3;
* @return The numUsers.
*/
@java.lang.Override
public int getNumUsers() {
return numUsers_;
}
public static final int STEAM_ID_FIELD_NUMBER = 4;
private long steamId_ = 0L;
/**
* optional uint64 steam_id = 4;
* @return Whether the steamId field is set.
*/
@java.lang.Override
public boolean hasSteamId() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* optional uint64 steam_id = 4;
* @return The steamId.
*/
@java.lang.Override
public long getSteamId() {
return steamId_;
}
public static final int MAX_USERS_FIELD_NUMBER = 5;
private int maxUsers_ = 0;
/**
* optional uint32 max_users = 5;
* @return Whether the maxUsers field is set.
*/
@java.lang.Override
public boolean hasMaxUsers() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* optional uint32 max_users = 5;
* @return The maxUsers.
*/
@java.lang.Override
public int getMaxUsers() {
return maxUsers_;
}
public static final int USER_SCORE_FIELD_NUMBER = 6;
private float userScore_ = 0F;
/**
* optional float user_score = 6;
* @return Whether the userScore field is set.
*/
@java.lang.Override
public boolean hasUserScore() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
* optional float user_score = 6;
* @return The userScore.
*/
@java.lang.Override
public float getUserScore() {
return userScore_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeUInt32(1, serverAddress_);
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeUInt32(2, serverPort_);
}
if (((bitField0_ & 0x00000004) != 0)) {
output.writeUInt32(3, numUsers_);
}
if (((bitField0_ & 0x00000008) != 0)) {
output.writeUInt64(4, steamId_);
}
if (((bitField0_ & 0x00000010) != 0)) {
output.writeUInt32(5, maxUsers_);
}
if (((bitField0_ & 0x00000020) != 0)) {
output.writeFloat(6, userScore_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(1, serverAddress_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(2, serverPort_);
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(3, numUsers_);
}
if (((bitField0_ & 0x00000008) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt64Size(4, steamId_);
}
if (((bitField0_ & 0x00000010) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(5, maxUsers_);
}
if (((bitField0_ & 0x00000020) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeFloatSize(6, userScore_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServers.ServerInfo)) {
return super.equals(obj);
}
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServers.ServerInfo other = (in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServers.ServerInfo) obj;
if (hasServerAddress() != other.hasServerAddress()) return false;
if (hasServerAddress()) {
if (getServerAddress()
!= other.getServerAddress()) return false;
}
if (hasServerPort() != other.hasServerPort()) return false;
if (hasServerPort()) {
if (getServerPort()
!= other.getServerPort()) return false;
}
if (hasNumUsers() != other.hasNumUsers()) return false;
if (hasNumUsers()) {
if (getNumUsers()
!= other.getNumUsers()) return false;
}
if (hasSteamId() != other.hasSteamId()) return false;
if (hasSteamId()) {
if (getSteamId()
!= other.getSteamId()) return false;
}
if (hasMaxUsers() != other.hasMaxUsers()) return false;
if (hasMaxUsers()) {
if (getMaxUsers()
!= other.getMaxUsers()) return false;
}
if (hasUserScore() != other.hasUserScore()) return false;
if (hasUserScore()) {
if (java.lang.Float.floatToIntBits(getUserScore())
!= java.lang.Float.floatToIntBits(
other.getUserScore())) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasServerAddress()) {
hash = (37 * hash) + SERVER_ADDRESS_FIELD_NUMBER;
hash = (53 * hash) + getServerAddress();
}
if (hasServerPort()) {
hash = (37 * hash) + SERVER_PORT_FIELD_NUMBER;
hash = (53 * hash) + getServerPort();
}
if (hasNumUsers()) {
hash = (37 * hash) + NUM_USERS_FIELD_NUMBER;
hash = (53 * hash) + getNumUsers();
}
if (hasSteamId()) {
hash = (37 * hash) + STEAM_ID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getSteamId());
}
if (hasMaxUsers()) {
hash = (37 * hash) + MAX_USERS_FIELD_NUMBER;
hash = (53 * hash) + getMaxUsers();
}
if (hasUserScore()) {
hash = (37 * hash) + USER_SCORE_FIELD_NUMBER;
hash = (53 * hash) + java.lang.Float.floatToIntBits(
getUserScore());
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServers.ServerInfo parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServers.ServerInfo parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServers.ServerInfo parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServers.ServerInfo parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServers.ServerInfo parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServers.ServerInfo parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServers.ServerInfo parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServers.ServerInfo parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServers.ServerInfo parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServers.ServerInfo parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServers.ServerInfo parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServers.ServerInfo parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServers.ServerInfo prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code CMsgTFQuickplay_ScoreServers.ServerInfo}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:CMsgTFQuickplay_ScoreServers.ServerInfo)
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServers.ServerInfoOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CMsgTFQuickplay_ScoreServers_ServerInfo_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CMsgTFQuickplay_ScoreServers_ServerInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServers.ServerInfo.class, in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServers.ServerInfo.Builder.class);
}
// Construct using in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServers.ServerInfo.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
serverAddress_ = 0;
serverPort_ = 0;
numUsers_ = 0;
steamId_ = 0L;
maxUsers_ = 0;
userScore_ = 0F;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CMsgTFQuickplay_ScoreServers_ServerInfo_descriptor;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServers.ServerInfo getDefaultInstanceForType() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServers.ServerInfo.getDefaultInstance();
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServers.ServerInfo build() {
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServers.ServerInfo result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServers.ServerInfo buildPartial() {
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServers.ServerInfo result = new in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServers.ServerInfo(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServers.ServerInfo result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.serverAddress_ = serverAddress_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.serverPort_ = serverPort_;
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.numUsers_ = numUsers_;
to_bitField0_ |= 0x00000004;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
result.steamId_ = steamId_;
to_bitField0_ |= 0x00000008;
}
if (((from_bitField0_ & 0x00000010) != 0)) {
result.maxUsers_ = maxUsers_;
to_bitField0_ |= 0x00000010;
}
if (((from_bitField0_ & 0x00000020) != 0)) {
result.userScore_ = userScore_;
to_bitField0_ |= 0x00000020;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServers.ServerInfo) {
return mergeFrom((in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServers.ServerInfo)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServers.ServerInfo other) {
if (other == in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServers.ServerInfo.getDefaultInstance()) return this;
if (other.hasServerAddress()) {
setServerAddress(other.getServerAddress());
}
if (other.hasServerPort()) {
setServerPort(other.getServerPort());
}
if (other.hasNumUsers()) {
setNumUsers(other.getNumUsers());
}
if (other.hasSteamId()) {
setSteamId(other.getSteamId());
}
if (other.hasMaxUsers()) {
setMaxUsers(other.getMaxUsers());
}
if (other.hasUserScore()) {
setUserScore(other.getUserScore());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8: {
serverAddress_ = input.readUInt32();
bitField0_ |= 0x00000001;
break;
} // case 8
case 16: {
serverPort_ = input.readUInt32();
bitField0_ |= 0x00000002;
break;
} // case 16
case 24: {
numUsers_ = input.readUInt32();
bitField0_ |= 0x00000004;
break;
} // case 24
case 32: {
steamId_ = input.readUInt64();
bitField0_ |= 0x00000008;
break;
} // case 32
case 40: {
maxUsers_ = input.readUInt32();
bitField0_ |= 0x00000010;
break;
} // case 40
case 53: {
userScore_ = input.readFloat();
bitField0_ |= 0x00000020;
break;
} // case 53
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private int serverAddress_ ;
/**
* optional uint32 server_address = 1;
* @return Whether the serverAddress field is set.
*/
@java.lang.Override
public boolean hasServerAddress() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional uint32 server_address = 1;
* @return The serverAddress.
*/
@java.lang.Override
public int getServerAddress() {
return serverAddress_;
}
/**
* optional uint32 server_address = 1;
* @param value The serverAddress to set.
* @return This builder for chaining.
*/
public Builder setServerAddress(int value) {
serverAddress_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* optional uint32 server_address = 1;
* @return This builder for chaining.
*/
public Builder clearServerAddress() {
bitField0_ = (bitField0_ & ~0x00000001);
serverAddress_ = 0;
onChanged();
return this;
}
private int serverPort_ ;
/**
* optional uint32 server_port = 2;
* @return Whether the serverPort field is set.
*/
@java.lang.Override
public boolean hasServerPort() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional uint32 server_port = 2;
* @return The serverPort.
*/
@java.lang.Override
public int getServerPort() {
return serverPort_;
}
/**
* optional uint32 server_port = 2;
* @param value The serverPort to set.
* @return This builder for chaining.
*/
public Builder setServerPort(int value) {
serverPort_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* optional uint32 server_port = 2;
* @return This builder for chaining.
*/
public Builder clearServerPort() {
bitField0_ = (bitField0_ & ~0x00000002);
serverPort_ = 0;
onChanged();
return this;
}
private int numUsers_ ;
/**
* optional uint32 num_users = 3;
* @return Whether the numUsers field is set.
*/
@java.lang.Override
public boolean hasNumUsers() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional uint32 num_users = 3;
* @return The numUsers.
*/
@java.lang.Override
public int getNumUsers() {
return numUsers_;
}
/**
* optional uint32 num_users = 3;
* @param value The numUsers to set.
* @return This builder for chaining.
*/
public Builder setNumUsers(int value) {
numUsers_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* optional uint32 num_users = 3;
* @return This builder for chaining.
*/
public Builder clearNumUsers() {
bitField0_ = (bitField0_ & ~0x00000004);
numUsers_ = 0;
onChanged();
return this;
}
private long steamId_ ;
/**
* optional uint64 steam_id = 4;
* @return Whether the steamId field is set.
*/
@java.lang.Override
public boolean hasSteamId() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* optional uint64 steam_id = 4;
* @return The steamId.
*/
@java.lang.Override
public long getSteamId() {
return steamId_;
}
/**
* optional uint64 steam_id = 4;
* @param value The steamId to set.
* @return This builder for chaining.
*/
public Builder setSteamId(long value) {
steamId_ = value;
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* optional uint64 steam_id = 4;
* @return This builder for chaining.
*/
public Builder clearSteamId() {
bitField0_ = (bitField0_ & ~0x00000008);
steamId_ = 0L;
onChanged();
return this;
}
private int maxUsers_ ;
/**
* optional uint32 max_users = 5;
* @return Whether the maxUsers field is set.
*/
@java.lang.Override
public boolean hasMaxUsers() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* optional uint32 max_users = 5;
* @return The maxUsers.
*/
@java.lang.Override
public int getMaxUsers() {
return maxUsers_;
}
/**
* optional uint32 max_users = 5;
* @param value The maxUsers to set.
* @return This builder for chaining.
*/
public Builder setMaxUsers(int value) {
maxUsers_ = value;
bitField0_ |= 0x00000010;
onChanged();
return this;
}
/**
* optional uint32 max_users = 5;
* @return This builder for chaining.
*/
public Builder clearMaxUsers() {
bitField0_ = (bitField0_ & ~0x00000010);
maxUsers_ = 0;
onChanged();
return this;
}
private float userScore_ ;
/**
* optional float user_score = 6;
* @return Whether the userScore field is set.
*/
@java.lang.Override
public boolean hasUserScore() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
* optional float user_score = 6;
* @return The userScore.
*/
@java.lang.Override
public float getUserScore() {
return userScore_;
}
/**
* optional float user_score = 6;
* @param value The userScore to set.
* @return This builder for chaining.
*/
public Builder setUserScore(float value) {
userScore_ = value;
bitField0_ |= 0x00000020;
onChanged();
return this;
}
/**
* optional float user_score = 6;
* @return This builder for chaining.
*/
public Builder clearUserScore() {
bitField0_ = (bitField0_ & ~0x00000020);
userScore_ = 0F;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:CMsgTFQuickplay_ScoreServers.ServerInfo)
}
// @@protoc_insertion_point(class_scope:CMsgTFQuickplay_ScoreServers.ServerInfo)
private static final in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServers.ServerInfo DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServers.ServerInfo();
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServers.ServerInfo getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public ServerInfo parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServers.ServerInfo getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public static final int SERVERS_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private java.util.List servers_;
/**
* repeated .CMsgTFQuickplay_ScoreServers.ServerInfo servers = 1;
*/
@java.lang.Override
public java.util.List getServersList() {
return servers_;
}
/**
* repeated .CMsgTFQuickplay_ScoreServers.ServerInfo servers = 1;
*/
@java.lang.Override
public java.util.List extends in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServers.ServerInfoOrBuilder>
getServersOrBuilderList() {
return servers_;
}
/**
* repeated .CMsgTFQuickplay_ScoreServers.ServerInfo servers = 1;
*/
@java.lang.Override
public int getServersCount() {
return servers_.size();
}
/**
* repeated .CMsgTFQuickplay_ScoreServers.ServerInfo servers = 1;
*/
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServers.ServerInfo getServers(int index) {
return servers_.get(index);
}
/**
* repeated .CMsgTFQuickplay_ScoreServers.ServerInfo servers = 1;
*/
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServers.ServerInfoOrBuilder getServersOrBuilder(
int index) {
return servers_.get(index);
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
for (int i = 0; i < servers_.size(); i++) {
output.writeMessage(1, servers_.get(i));
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
for (int i = 0; i < servers_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, servers_.get(i));
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServers)) {
return super.equals(obj);
}
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServers other = (in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServers) obj;
if (!getServersList()
.equals(other.getServersList())) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (getServersCount() > 0) {
hash = (37 * hash) + SERVERS_FIELD_NUMBER;
hash = (53 * hash) + getServersList().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServers parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServers parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServers parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServers parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServers parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServers parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServers parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServers parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServers parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServers parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServers parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServers parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServers prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code CMsgTFQuickplay_ScoreServers}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:CMsgTFQuickplay_ScoreServers)
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServersOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CMsgTFQuickplay_ScoreServers_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CMsgTFQuickplay_ScoreServers_fieldAccessorTable
.ensureFieldAccessorsInitialized(
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServers.class, in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServers.Builder.class);
}
// Construct using in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServers.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
if (serversBuilder_ == null) {
servers_ = java.util.Collections.emptyList();
} else {
servers_ = null;
serversBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CMsgTFQuickplay_ScoreServers_descriptor;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServers getDefaultInstanceForType() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServers.getDefaultInstance();
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServers build() {
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServers result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServers buildPartial() {
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServers result = new in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServers(this);
buildPartialRepeatedFields(result);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartialRepeatedFields(in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServers result) {
if (serversBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
servers_ = java.util.Collections.unmodifiableList(servers_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.servers_ = servers_;
} else {
result.servers_ = serversBuilder_.build();
}
}
private void buildPartial0(in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServers result) {
int from_bitField0_ = bitField0_;
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServers) {
return mergeFrom((in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServers)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServers other) {
if (other == in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServers.getDefaultInstance()) return this;
if (serversBuilder_ == null) {
if (!other.servers_.isEmpty()) {
if (servers_.isEmpty()) {
servers_ = other.servers_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureServersIsMutable();
servers_.addAll(other.servers_);
}
onChanged();
}
} else {
if (!other.servers_.isEmpty()) {
if (serversBuilder_.isEmpty()) {
serversBuilder_.dispose();
serversBuilder_ = null;
servers_ = other.servers_;
bitField0_ = (bitField0_ & ~0x00000001);
serversBuilder_ =
com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
getServersFieldBuilder() : null;
} else {
serversBuilder_.addAllMessages(other.servers_);
}
}
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServers.ServerInfo m =
input.readMessage(
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServers.ServerInfo.parser(),
extensionRegistry);
if (serversBuilder_ == null) {
ensureServersIsMutable();
servers_.add(m);
} else {
serversBuilder_.addMessage(m);
}
break;
} // case 10
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private java.util.List servers_ =
java.util.Collections.emptyList();
private void ensureServersIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
servers_ = new java.util.ArrayList(servers_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilder<
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServers.ServerInfo, in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServers.ServerInfo.Builder, in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServers.ServerInfoOrBuilder> serversBuilder_;
/**
* repeated .CMsgTFQuickplay_ScoreServers.ServerInfo servers = 1;
*/
public java.util.List getServersList() {
if (serversBuilder_ == null) {
return java.util.Collections.unmodifiableList(servers_);
} else {
return serversBuilder_.getMessageList();
}
}
/**
* repeated .CMsgTFQuickplay_ScoreServers.ServerInfo servers = 1;
*/
public int getServersCount() {
if (serversBuilder_ == null) {
return servers_.size();
} else {
return serversBuilder_.getCount();
}
}
/**
* repeated .CMsgTFQuickplay_ScoreServers.ServerInfo servers = 1;
*/
public in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServers.ServerInfo getServers(int index) {
if (serversBuilder_ == null) {
return servers_.get(index);
} else {
return serversBuilder_.getMessage(index);
}
}
/**
* repeated .CMsgTFQuickplay_ScoreServers.ServerInfo servers = 1;
*/
public Builder setServers(
int index, in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServers.ServerInfo value) {
if (serversBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureServersIsMutable();
servers_.set(index, value);
onChanged();
} else {
serversBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .CMsgTFQuickplay_ScoreServers.ServerInfo servers = 1;
*/
public Builder setServers(
int index, in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServers.ServerInfo.Builder builderForValue) {
if (serversBuilder_ == null) {
ensureServersIsMutable();
servers_.set(index, builderForValue.build());
onChanged();
} else {
serversBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .CMsgTFQuickplay_ScoreServers.ServerInfo servers = 1;
*/
public Builder addServers(in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServers.ServerInfo value) {
if (serversBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureServersIsMutable();
servers_.add(value);
onChanged();
} else {
serversBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .CMsgTFQuickplay_ScoreServers.ServerInfo servers = 1;
*/
public Builder addServers(
int index, in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServers.ServerInfo value) {
if (serversBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureServersIsMutable();
servers_.add(index, value);
onChanged();
} else {
serversBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .CMsgTFQuickplay_ScoreServers.ServerInfo servers = 1;
*/
public Builder addServers(
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServers.ServerInfo.Builder builderForValue) {
if (serversBuilder_ == null) {
ensureServersIsMutable();
servers_.add(builderForValue.build());
onChanged();
} else {
serversBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .CMsgTFQuickplay_ScoreServers.ServerInfo servers = 1;
*/
public Builder addServers(
int index, in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServers.ServerInfo.Builder builderForValue) {
if (serversBuilder_ == null) {
ensureServersIsMutable();
servers_.add(index, builderForValue.build());
onChanged();
} else {
serversBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .CMsgTFQuickplay_ScoreServers.ServerInfo servers = 1;
*/
public Builder addAllServers(
java.lang.Iterable extends in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServers.ServerInfo> values) {
if (serversBuilder_ == null) {
ensureServersIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, servers_);
onChanged();
} else {
serversBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .CMsgTFQuickplay_ScoreServers.ServerInfo servers = 1;
*/
public Builder clearServers() {
if (serversBuilder_ == null) {
servers_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
serversBuilder_.clear();
}
return this;
}
/**
* repeated .CMsgTFQuickplay_ScoreServers.ServerInfo servers = 1;
*/
public Builder removeServers(int index) {
if (serversBuilder_ == null) {
ensureServersIsMutable();
servers_.remove(index);
onChanged();
} else {
serversBuilder_.remove(index);
}
return this;
}
/**
* repeated .CMsgTFQuickplay_ScoreServers.ServerInfo servers = 1;
*/
public in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServers.ServerInfo.Builder getServersBuilder(
int index) {
return getServersFieldBuilder().getBuilder(index);
}
/**
* repeated .CMsgTFQuickplay_ScoreServers.ServerInfo servers = 1;
*/
public in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServers.ServerInfoOrBuilder getServersOrBuilder(
int index) {
if (serversBuilder_ == null) {
return servers_.get(index); } else {
return serversBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .CMsgTFQuickplay_ScoreServers.ServerInfo servers = 1;
*/
public java.util.List extends in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServers.ServerInfoOrBuilder>
getServersOrBuilderList() {
if (serversBuilder_ != null) {
return serversBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(servers_);
}
}
/**
* repeated .CMsgTFQuickplay_ScoreServers.ServerInfo servers = 1;
*/
public in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServers.ServerInfo.Builder addServersBuilder() {
return getServersFieldBuilder().addBuilder(
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServers.ServerInfo.getDefaultInstance());
}
/**
* repeated .CMsgTFQuickplay_ScoreServers.ServerInfo servers = 1;
*/
public in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServers.ServerInfo.Builder addServersBuilder(
int index) {
return getServersFieldBuilder().addBuilder(
index, in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServers.ServerInfo.getDefaultInstance());
}
/**
* repeated .CMsgTFQuickplay_ScoreServers.ServerInfo servers = 1;
*/
public java.util.List
getServersBuilderList() {
return getServersFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilder<
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServers.ServerInfo, in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServers.ServerInfo.Builder, in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServers.ServerInfoOrBuilder>
getServersFieldBuilder() {
if (serversBuilder_ == null) {
serversBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServers.ServerInfo, in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServers.ServerInfo.Builder, in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServers.ServerInfoOrBuilder>(
servers_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
servers_ = null;
}
return serversBuilder_;
}
// @@protoc_insertion_point(builder_scope:CMsgTFQuickplay_ScoreServers)
}
// @@protoc_insertion_point(class_scope:CMsgTFQuickplay_ScoreServers)
private static final in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServers DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServers();
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServers getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public CMsgTFQuickplay_ScoreServers parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServers getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface CMsgTFQuickplay_ScoreServersResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:CMsgTFQuickplay_ScoreServersResponse)
com.google.protobuf.MessageOrBuilder {
/**
* repeated .CMsgTFQuickplay_ScoreServersResponse.ServerInfo servers = 1;
*/
java.util.List
getServersList();
/**
* repeated .CMsgTFQuickplay_ScoreServersResponse.ServerInfo servers = 1;
*/
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServersResponse.ServerInfo getServers(int index);
/**
* repeated .CMsgTFQuickplay_ScoreServersResponse.ServerInfo servers = 1;
*/
int getServersCount();
/**
* repeated .CMsgTFQuickplay_ScoreServersResponse.ServerInfo servers = 1;
*/
java.util.List extends in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServersResponse.ServerInfoOrBuilder>
getServersOrBuilderList();
/**
* repeated .CMsgTFQuickplay_ScoreServersResponse.ServerInfo servers = 1;
*/
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServersResponse.ServerInfoOrBuilder getServersOrBuilder(
int index);
}
/**
* Protobuf type {@code CMsgTFQuickplay_ScoreServersResponse}
*/
public static final class CMsgTFQuickplay_ScoreServersResponse extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:CMsgTFQuickplay_ScoreServersResponse)
CMsgTFQuickplay_ScoreServersResponseOrBuilder {
private static final long serialVersionUID = 0L;
static {
com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
/* minor= */ 28,
/* patch= */ 0,
/* suffix= */ "",
CMsgTFQuickplay_ScoreServersResponse.class.getName());
}
// Use CMsgTFQuickplay_ScoreServersResponse.newBuilder() to construct.
private CMsgTFQuickplay_ScoreServersResponse(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private CMsgTFQuickplay_ScoreServersResponse() {
servers_ = java.util.Collections.emptyList();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CMsgTFQuickplay_ScoreServersResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CMsgTFQuickplay_ScoreServersResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServersResponse.class, in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServersResponse.Builder.class);
}
public interface ServerInfoOrBuilder extends
// @@protoc_insertion_point(interface_extends:CMsgTFQuickplay_ScoreServersResponse.ServerInfo)
com.google.protobuf.MessageOrBuilder {
/**
* optional uint32 server_address = 1;
* @return Whether the serverAddress field is set.
*/
boolean hasServerAddress();
/**
* optional uint32 server_address = 1;
* @return The serverAddress.
*/
int getServerAddress();
/**
* optional uint32 server_port = 2;
* @return Whether the serverPort field is set.
*/
boolean hasServerPort();
/**
* optional uint32 server_port = 2;
* @return The serverPort.
*/
int getServerPort();
/**
* optional float total_score = 3;
* @return Whether the totalScore field is set.
*/
boolean hasTotalScore();
/**
* optional float total_score = 3;
* @return The totalScore.
*/
float getTotalScore();
/**
* optional uint64 steam_id = 4;
* @return Whether the steamId field is set.
*/
boolean hasSteamId();
/**
* optional uint64 steam_id = 4;
* @return The steamId.
*/
long getSteamId();
/**
* optional uint32 options_score = 5;
* @return Whether the optionsScore field is set.
*/
boolean hasOptionsScore();
/**
* optional uint32 options_score = 5;
* @return The optionsScore.
*/
int getOptionsScore();
}
/**
* Protobuf type {@code CMsgTFQuickplay_ScoreServersResponse.ServerInfo}
*/
public static final class ServerInfo extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:CMsgTFQuickplay_ScoreServersResponse.ServerInfo)
ServerInfoOrBuilder {
private static final long serialVersionUID = 0L;
static {
com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
/* minor= */ 28,
/* patch= */ 0,
/* suffix= */ "",
ServerInfo.class.getName());
}
// Use ServerInfo.newBuilder() to construct.
private ServerInfo(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private ServerInfo() {
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CMsgTFQuickplay_ScoreServersResponse_ServerInfo_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CMsgTFQuickplay_ScoreServersResponse_ServerInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServersResponse.ServerInfo.class, in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServersResponse.ServerInfo.Builder.class);
}
private int bitField0_;
public static final int SERVER_ADDRESS_FIELD_NUMBER = 1;
private int serverAddress_ = 0;
/**
* optional uint32 server_address = 1;
* @return Whether the serverAddress field is set.
*/
@java.lang.Override
public boolean hasServerAddress() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional uint32 server_address = 1;
* @return The serverAddress.
*/
@java.lang.Override
public int getServerAddress() {
return serverAddress_;
}
public static final int SERVER_PORT_FIELD_NUMBER = 2;
private int serverPort_ = 0;
/**
* optional uint32 server_port = 2;
* @return Whether the serverPort field is set.
*/
@java.lang.Override
public boolean hasServerPort() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional uint32 server_port = 2;
* @return The serverPort.
*/
@java.lang.Override
public int getServerPort() {
return serverPort_;
}
public static final int TOTAL_SCORE_FIELD_NUMBER = 3;
private float totalScore_ = 0F;
/**
* optional float total_score = 3;
* @return Whether the totalScore field is set.
*/
@java.lang.Override
public boolean hasTotalScore() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional float total_score = 3;
* @return The totalScore.
*/
@java.lang.Override
public float getTotalScore() {
return totalScore_;
}
public static final int STEAM_ID_FIELD_NUMBER = 4;
private long steamId_ = 0L;
/**
* optional uint64 steam_id = 4;
* @return Whether the steamId field is set.
*/
@java.lang.Override
public boolean hasSteamId() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* optional uint64 steam_id = 4;
* @return The steamId.
*/
@java.lang.Override
public long getSteamId() {
return steamId_;
}
public static final int OPTIONS_SCORE_FIELD_NUMBER = 5;
private int optionsScore_ = 0;
/**
* optional uint32 options_score = 5;
* @return Whether the optionsScore field is set.
*/
@java.lang.Override
public boolean hasOptionsScore() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* optional uint32 options_score = 5;
* @return The optionsScore.
*/
@java.lang.Override
public int getOptionsScore() {
return optionsScore_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeUInt32(1, serverAddress_);
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeUInt32(2, serverPort_);
}
if (((bitField0_ & 0x00000004) != 0)) {
output.writeFloat(3, totalScore_);
}
if (((bitField0_ & 0x00000008) != 0)) {
output.writeUInt64(4, steamId_);
}
if (((bitField0_ & 0x00000010) != 0)) {
output.writeUInt32(5, optionsScore_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(1, serverAddress_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(2, serverPort_);
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeFloatSize(3, totalScore_);
}
if (((bitField0_ & 0x00000008) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt64Size(4, steamId_);
}
if (((bitField0_ & 0x00000010) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(5, optionsScore_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServersResponse.ServerInfo)) {
return super.equals(obj);
}
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServersResponse.ServerInfo other = (in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServersResponse.ServerInfo) obj;
if (hasServerAddress() != other.hasServerAddress()) return false;
if (hasServerAddress()) {
if (getServerAddress()
!= other.getServerAddress()) return false;
}
if (hasServerPort() != other.hasServerPort()) return false;
if (hasServerPort()) {
if (getServerPort()
!= other.getServerPort()) return false;
}
if (hasTotalScore() != other.hasTotalScore()) return false;
if (hasTotalScore()) {
if (java.lang.Float.floatToIntBits(getTotalScore())
!= java.lang.Float.floatToIntBits(
other.getTotalScore())) return false;
}
if (hasSteamId() != other.hasSteamId()) return false;
if (hasSteamId()) {
if (getSteamId()
!= other.getSteamId()) return false;
}
if (hasOptionsScore() != other.hasOptionsScore()) return false;
if (hasOptionsScore()) {
if (getOptionsScore()
!= other.getOptionsScore()) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasServerAddress()) {
hash = (37 * hash) + SERVER_ADDRESS_FIELD_NUMBER;
hash = (53 * hash) + getServerAddress();
}
if (hasServerPort()) {
hash = (37 * hash) + SERVER_PORT_FIELD_NUMBER;
hash = (53 * hash) + getServerPort();
}
if (hasTotalScore()) {
hash = (37 * hash) + TOTAL_SCORE_FIELD_NUMBER;
hash = (53 * hash) + java.lang.Float.floatToIntBits(
getTotalScore());
}
if (hasSteamId()) {
hash = (37 * hash) + STEAM_ID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getSteamId());
}
if (hasOptionsScore()) {
hash = (37 * hash) + OPTIONS_SCORE_FIELD_NUMBER;
hash = (53 * hash) + getOptionsScore();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServersResponse.ServerInfo parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServersResponse.ServerInfo parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServersResponse.ServerInfo parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServersResponse.ServerInfo parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServersResponse.ServerInfo parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServersResponse.ServerInfo parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServersResponse.ServerInfo parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServersResponse.ServerInfo parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServersResponse.ServerInfo parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServersResponse.ServerInfo parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServersResponse.ServerInfo parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServersResponse.ServerInfo parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServersResponse.ServerInfo prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code CMsgTFQuickplay_ScoreServersResponse.ServerInfo}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:CMsgTFQuickplay_ScoreServersResponse.ServerInfo)
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServersResponse.ServerInfoOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CMsgTFQuickplay_ScoreServersResponse_ServerInfo_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CMsgTFQuickplay_ScoreServersResponse_ServerInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServersResponse.ServerInfo.class, in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServersResponse.ServerInfo.Builder.class);
}
// Construct using in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServersResponse.ServerInfo.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
serverAddress_ = 0;
serverPort_ = 0;
totalScore_ = 0F;
steamId_ = 0L;
optionsScore_ = 0;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CMsgTFQuickplay_ScoreServersResponse_ServerInfo_descriptor;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServersResponse.ServerInfo getDefaultInstanceForType() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServersResponse.ServerInfo.getDefaultInstance();
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServersResponse.ServerInfo build() {
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServersResponse.ServerInfo result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServersResponse.ServerInfo buildPartial() {
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServersResponse.ServerInfo result = new in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServersResponse.ServerInfo(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServersResponse.ServerInfo result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.serverAddress_ = serverAddress_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.serverPort_ = serverPort_;
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.totalScore_ = totalScore_;
to_bitField0_ |= 0x00000004;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
result.steamId_ = steamId_;
to_bitField0_ |= 0x00000008;
}
if (((from_bitField0_ & 0x00000010) != 0)) {
result.optionsScore_ = optionsScore_;
to_bitField0_ |= 0x00000010;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServersResponse.ServerInfo) {
return mergeFrom((in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServersResponse.ServerInfo)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServersResponse.ServerInfo other) {
if (other == in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServersResponse.ServerInfo.getDefaultInstance()) return this;
if (other.hasServerAddress()) {
setServerAddress(other.getServerAddress());
}
if (other.hasServerPort()) {
setServerPort(other.getServerPort());
}
if (other.hasTotalScore()) {
setTotalScore(other.getTotalScore());
}
if (other.hasSteamId()) {
setSteamId(other.getSteamId());
}
if (other.hasOptionsScore()) {
setOptionsScore(other.getOptionsScore());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8: {
serverAddress_ = input.readUInt32();
bitField0_ |= 0x00000001;
break;
} // case 8
case 16: {
serverPort_ = input.readUInt32();
bitField0_ |= 0x00000002;
break;
} // case 16
case 29: {
totalScore_ = input.readFloat();
bitField0_ |= 0x00000004;
break;
} // case 29
case 32: {
steamId_ = input.readUInt64();
bitField0_ |= 0x00000008;
break;
} // case 32
case 40: {
optionsScore_ = input.readUInt32();
bitField0_ |= 0x00000010;
break;
} // case 40
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private int serverAddress_ ;
/**
* optional uint32 server_address = 1;
* @return Whether the serverAddress field is set.
*/
@java.lang.Override
public boolean hasServerAddress() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional uint32 server_address = 1;
* @return The serverAddress.
*/
@java.lang.Override
public int getServerAddress() {
return serverAddress_;
}
/**
* optional uint32 server_address = 1;
* @param value The serverAddress to set.
* @return This builder for chaining.
*/
public Builder setServerAddress(int value) {
serverAddress_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* optional uint32 server_address = 1;
* @return This builder for chaining.
*/
public Builder clearServerAddress() {
bitField0_ = (bitField0_ & ~0x00000001);
serverAddress_ = 0;
onChanged();
return this;
}
private int serverPort_ ;
/**
* optional uint32 server_port = 2;
* @return Whether the serverPort field is set.
*/
@java.lang.Override
public boolean hasServerPort() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional uint32 server_port = 2;
* @return The serverPort.
*/
@java.lang.Override
public int getServerPort() {
return serverPort_;
}
/**
* optional uint32 server_port = 2;
* @param value The serverPort to set.
* @return This builder for chaining.
*/
public Builder setServerPort(int value) {
serverPort_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* optional uint32 server_port = 2;
* @return This builder for chaining.
*/
public Builder clearServerPort() {
bitField0_ = (bitField0_ & ~0x00000002);
serverPort_ = 0;
onChanged();
return this;
}
private float totalScore_ ;
/**
* optional float total_score = 3;
* @return Whether the totalScore field is set.
*/
@java.lang.Override
public boolean hasTotalScore() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional float total_score = 3;
* @return The totalScore.
*/
@java.lang.Override
public float getTotalScore() {
return totalScore_;
}
/**
* optional float total_score = 3;
* @param value The totalScore to set.
* @return This builder for chaining.
*/
public Builder setTotalScore(float value) {
totalScore_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* optional float total_score = 3;
* @return This builder for chaining.
*/
public Builder clearTotalScore() {
bitField0_ = (bitField0_ & ~0x00000004);
totalScore_ = 0F;
onChanged();
return this;
}
private long steamId_ ;
/**
* optional uint64 steam_id = 4;
* @return Whether the steamId field is set.
*/
@java.lang.Override
public boolean hasSteamId() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* optional uint64 steam_id = 4;
* @return The steamId.
*/
@java.lang.Override
public long getSteamId() {
return steamId_;
}
/**
* optional uint64 steam_id = 4;
* @param value The steamId to set.
* @return This builder for chaining.
*/
public Builder setSteamId(long value) {
steamId_ = value;
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* optional uint64 steam_id = 4;
* @return This builder for chaining.
*/
public Builder clearSteamId() {
bitField0_ = (bitField0_ & ~0x00000008);
steamId_ = 0L;
onChanged();
return this;
}
private int optionsScore_ ;
/**
* optional uint32 options_score = 5;
* @return Whether the optionsScore field is set.
*/
@java.lang.Override
public boolean hasOptionsScore() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* optional uint32 options_score = 5;
* @return The optionsScore.
*/
@java.lang.Override
public int getOptionsScore() {
return optionsScore_;
}
/**
* optional uint32 options_score = 5;
* @param value The optionsScore to set.
* @return This builder for chaining.
*/
public Builder setOptionsScore(int value) {
optionsScore_ = value;
bitField0_ |= 0x00000010;
onChanged();
return this;
}
/**
* optional uint32 options_score = 5;
* @return This builder for chaining.
*/
public Builder clearOptionsScore() {
bitField0_ = (bitField0_ & ~0x00000010);
optionsScore_ = 0;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:CMsgTFQuickplay_ScoreServersResponse.ServerInfo)
}
// @@protoc_insertion_point(class_scope:CMsgTFQuickplay_ScoreServersResponse.ServerInfo)
private static final in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServersResponse.ServerInfo DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServersResponse.ServerInfo();
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServersResponse.ServerInfo getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public ServerInfo parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServersResponse.ServerInfo getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public static final int SERVERS_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private java.util.List servers_;
/**
* repeated .CMsgTFQuickplay_ScoreServersResponse.ServerInfo servers = 1;
*/
@java.lang.Override
public java.util.List getServersList() {
return servers_;
}
/**
* repeated .CMsgTFQuickplay_ScoreServersResponse.ServerInfo servers = 1;
*/
@java.lang.Override
public java.util.List extends in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServersResponse.ServerInfoOrBuilder>
getServersOrBuilderList() {
return servers_;
}
/**
* repeated .CMsgTFQuickplay_ScoreServersResponse.ServerInfo servers = 1;
*/
@java.lang.Override
public int getServersCount() {
return servers_.size();
}
/**
* repeated .CMsgTFQuickplay_ScoreServersResponse.ServerInfo servers = 1;
*/
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServersResponse.ServerInfo getServers(int index) {
return servers_.get(index);
}
/**
* repeated .CMsgTFQuickplay_ScoreServersResponse.ServerInfo servers = 1;
*/
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServersResponse.ServerInfoOrBuilder getServersOrBuilder(
int index) {
return servers_.get(index);
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
for (int i = 0; i < servers_.size(); i++) {
output.writeMessage(1, servers_.get(i));
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
for (int i = 0; i < servers_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, servers_.get(i));
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServersResponse)) {
return super.equals(obj);
}
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServersResponse other = (in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServersResponse) obj;
if (!getServersList()
.equals(other.getServersList())) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (getServersCount() > 0) {
hash = (37 * hash) + SERVERS_FIELD_NUMBER;
hash = (53 * hash) + getServersList().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServersResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServersResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServersResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServersResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServersResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServersResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServersResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServersResponse parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServersResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServersResponse parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServersResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServersResponse parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServersResponse prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code CMsgTFQuickplay_ScoreServersResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:CMsgTFQuickplay_ScoreServersResponse)
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServersResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CMsgTFQuickplay_ScoreServersResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CMsgTFQuickplay_ScoreServersResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServersResponse.class, in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServersResponse.Builder.class);
}
// Construct using in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServersResponse.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
if (serversBuilder_ == null) {
servers_ = java.util.Collections.emptyList();
} else {
servers_ = null;
serversBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CMsgTFQuickplay_ScoreServersResponse_descriptor;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServersResponse getDefaultInstanceForType() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServersResponse.getDefaultInstance();
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServersResponse build() {
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServersResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServersResponse buildPartial() {
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServersResponse result = new in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServersResponse(this);
buildPartialRepeatedFields(result);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartialRepeatedFields(in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServersResponse result) {
if (serversBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
servers_ = java.util.Collections.unmodifiableList(servers_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.servers_ = servers_;
} else {
result.servers_ = serversBuilder_.build();
}
}
private void buildPartial0(in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServersResponse result) {
int from_bitField0_ = bitField0_;
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServersResponse) {
return mergeFrom((in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServersResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServersResponse other) {
if (other == in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServersResponse.getDefaultInstance()) return this;
if (serversBuilder_ == null) {
if (!other.servers_.isEmpty()) {
if (servers_.isEmpty()) {
servers_ = other.servers_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureServersIsMutable();
servers_.addAll(other.servers_);
}
onChanged();
}
} else {
if (!other.servers_.isEmpty()) {
if (serversBuilder_.isEmpty()) {
serversBuilder_.dispose();
serversBuilder_ = null;
servers_ = other.servers_;
bitField0_ = (bitField0_ & ~0x00000001);
serversBuilder_ =
com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
getServersFieldBuilder() : null;
} else {
serversBuilder_.addAllMessages(other.servers_);
}
}
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServersResponse.ServerInfo m =
input.readMessage(
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServersResponse.ServerInfo.parser(),
extensionRegistry);
if (serversBuilder_ == null) {
ensureServersIsMutable();
servers_.add(m);
} else {
serversBuilder_.addMessage(m);
}
break;
} // case 10
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private java.util.List servers_ =
java.util.Collections.emptyList();
private void ensureServersIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
servers_ = new java.util.ArrayList(servers_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilder<
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServersResponse.ServerInfo, in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServersResponse.ServerInfo.Builder, in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServersResponse.ServerInfoOrBuilder> serversBuilder_;
/**
* repeated .CMsgTFQuickplay_ScoreServersResponse.ServerInfo servers = 1;
*/
public java.util.List getServersList() {
if (serversBuilder_ == null) {
return java.util.Collections.unmodifiableList(servers_);
} else {
return serversBuilder_.getMessageList();
}
}
/**
* repeated .CMsgTFQuickplay_ScoreServersResponse.ServerInfo servers = 1;
*/
public int getServersCount() {
if (serversBuilder_ == null) {
return servers_.size();
} else {
return serversBuilder_.getCount();
}
}
/**
* repeated .CMsgTFQuickplay_ScoreServersResponse.ServerInfo servers = 1;
*/
public in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServersResponse.ServerInfo getServers(int index) {
if (serversBuilder_ == null) {
return servers_.get(index);
} else {
return serversBuilder_.getMessage(index);
}
}
/**
* repeated .CMsgTFQuickplay_ScoreServersResponse.ServerInfo servers = 1;
*/
public Builder setServers(
int index, in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServersResponse.ServerInfo value) {
if (serversBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureServersIsMutable();
servers_.set(index, value);
onChanged();
} else {
serversBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .CMsgTFQuickplay_ScoreServersResponse.ServerInfo servers = 1;
*/
public Builder setServers(
int index, in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServersResponse.ServerInfo.Builder builderForValue) {
if (serversBuilder_ == null) {
ensureServersIsMutable();
servers_.set(index, builderForValue.build());
onChanged();
} else {
serversBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .CMsgTFQuickplay_ScoreServersResponse.ServerInfo servers = 1;
*/
public Builder addServers(in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServersResponse.ServerInfo value) {
if (serversBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureServersIsMutable();
servers_.add(value);
onChanged();
} else {
serversBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .CMsgTFQuickplay_ScoreServersResponse.ServerInfo servers = 1;
*/
public Builder addServers(
int index, in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServersResponse.ServerInfo value) {
if (serversBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureServersIsMutable();
servers_.add(index, value);
onChanged();
} else {
serversBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .CMsgTFQuickplay_ScoreServersResponse.ServerInfo servers = 1;
*/
public Builder addServers(
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServersResponse.ServerInfo.Builder builderForValue) {
if (serversBuilder_ == null) {
ensureServersIsMutable();
servers_.add(builderForValue.build());
onChanged();
} else {
serversBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .CMsgTFQuickplay_ScoreServersResponse.ServerInfo servers = 1;
*/
public Builder addServers(
int index, in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServersResponse.ServerInfo.Builder builderForValue) {
if (serversBuilder_ == null) {
ensureServersIsMutable();
servers_.add(index, builderForValue.build());
onChanged();
} else {
serversBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .CMsgTFQuickplay_ScoreServersResponse.ServerInfo servers = 1;
*/
public Builder addAllServers(
java.lang.Iterable extends in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServersResponse.ServerInfo> values) {
if (serversBuilder_ == null) {
ensureServersIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, servers_);
onChanged();
} else {
serversBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .CMsgTFQuickplay_ScoreServersResponse.ServerInfo servers = 1;
*/
public Builder clearServers() {
if (serversBuilder_ == null) {
servers_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
serversBuilder_.clear();
}
return this;
}
/**
* repeated .CMsgTFQuickplay_ScoreServersResponse.ServerInfo servers = 1;
*/
public Builder removeServers(int index) {
if (serversBuilder_ == null) {
ensureServersIsMutable();
servers_.remove(index);
onChanged();
} else {
serversBuilder_.remove(index);
}
return this;
}
/**
* repeated .CMsgTFQuickplay_ScoreServersResponse.ServerInfo servers = 1;
*/
public in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServersResponse.ServerInfo.Builder getServersBuilder(
int index) {
return getServersFieldBuilder().getBuilder(index);
}
/**
* repeated .CMsgTFQuickplay_ScoreServersResponse.ServerInfo servers = 1;
*/
public in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServersResponse.ServerInfoOrBuilder getServersOrBuilder(
int index) {
if (serversBuilder_ == null) {
return servers_.get(index); } else {
return serversBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .CMsgTFQuickplay_ScoreServersResponse.ServerInfo servers = 1;
*/
public java.util.List extends in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServersResponse.ServerInfoOrBuilder>
getServersOrBuilderList() {
if (serversBuilder_ != null) {
return serversBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(servers_);
}
}
/**
* repeated .CMsgTFQuickplay_ScoreServersResponse.ServerInfo servers = 1;
*/
public in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServersResponse.ServerInfo.Builder addServersBuilder() {
return getServersFieldBuilder().addBuilder(
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServersResponse.ServerInfo.getDefaultInstance());
}
/**
* repeated .CMsgTFQuickplay_ScoreServersResponse.ServerInfo servers = 1;
*/
public in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServersResponse.ServerInfo.Builder addServersBuilder(
int index) {
return getServersFieldBuilder().addBuilder(
index, in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServersResponse.ServerInfo.getDefaultInstance());
}
/**
* repeated .CMsgTFQuickplay_ScoreServersResponse.ServerInfo servers = 1;
*/
public java.util.List
getServersBuilderList() {
return getServersFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilder<
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServersResponse.ServerInfo, in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServersResponse.ServerInfo.Builder, in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServersResponse.ServerInfoOrBuilder>
getServersFieldBuilder() {
if (serversBuilder_ == null) {
serversBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServersResponse.ServerInfo, in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServersResponse.ServerInfo.Builder, in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServersResponse.ServerInfoOrBuilder>(
servers_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
servers_ = null;
}
return serversBuilder_;
}
// @@protoc_insertion_point(builder_scope:CMsgTFQuickplay_ScoreServersResponse)
}
// @@protoc_insertion_point(class_scope:CMsgTFQuickplay_ScoreServersResponse)
private static final in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServersResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServersResponse();
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServersResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public CMsgTFQuickplay_ScoreServersResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_ScoreServersResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface CMsgTFQuickplay_PlayerJoiningOrBuilder extends
// @@protoc_insertion_point(interface_extends:CMsgTFQuickplay_PlayerJoining)
com.google.protobuf.MessageOrBuilder {
/**
* optional uint32 account_id = 1;
* @return Whether the accountId field is set.
*/
boolean hasAccountId();
/**
* optional uint32 account_id = 1;
* @return The accountId.
*/
int getAccountId();
}
/**
* Protobuf type {@code CMsgTFQuickplay_PlayerJoining}
*/
public static final class CMsgTFQuickplay_PlayerJoining extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:CMsgTFQuickplay_PlayerJoining)
CMsgTFQuickplay_PlayerJoiningOrBuilder {
private static final long serialVersionUID = 0L;
static {
com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
/* minor= */ 28,
/* patch= */ 0,
/* suffix= */ "",
CMsgTFQuickplay_PlayerJoining.class.getName());
}
// Use CMsgTFQuickplay_PlayerJoining.newBuilder() to construct.
private CMsgTFQuickplay_PlayerJoining(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private CMsgTFQuickplay_PlayerJoining() {
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CMsgTFQuickplay_PlayerJoining_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CMsgTFQuickplay_PlayerJoining_fieldAccessorTable
.ensureFieldAccessorsInitialized(
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_PlayerJoining.class, in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_PlayerJoining.Builder.class);
}
private int bitField0_;
public static final int ACCOUNT_ID_FIELD_NUMBER = 1;
private int accountId_ = 0;
/**
* optional uint32 account_id = 1;
* @return Whether the accountId field is set.
*/
@java.lang.Override
public boolean hasAccountId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional uint32 account_id = 1;
* @return The accountId.
*/
@java.lang.Override
public int getAccountId() {
return accountId_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeUInt32(1, accountId_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(1, accountId_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_PlayerJoining)) {
return super.equals(obj);
}
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_PlayerJoining other = (in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_PlayerJoining) obj;
if (hasAccountId() != other.hasAccountId()) return false;
if (hasAccountId()) {
if (getAccountId()
!= other.getAccountId()) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasAccountId()) {
hash = (37 * hash) + ACCOUNT_ID_FIELD_NUMBER;
hash = (53 * hash) + getAccountId();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_PlayerJoining parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_PlayerJoining parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_PlayerJoining parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_PlayerJoining parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_PlayerJoining parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_PlayerJoining parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_PlayerJoining parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_PlayerJoining parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_PlayerJoining parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_PlayerJoining parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_PlayerJoining parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_PlayerJoining parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_PlayerJoining prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code CMsgTFQuickplay_PlayerJoining}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:CMsgTFQuickplay_PlayerJoining)
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_PlayerJoiningOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CMsgTFQuickplay_PlayerJoining_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CMsgTFQuickplay_PlayerJoining_fieldAccessorTable
.ensureFieldAccessorsInitialized(
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_PlayerJoining.class, in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_PlayerJoining.Builder.class);
}
// Construct using in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_PlayerJoining.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
accountId_ = 0;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CMsgTFQuickplay_PlayerJoining_descriptor;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_PlayerJoining getDefaultInstanceForType() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_PlayerJoining.getDefaultInstance();
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_PlayerJoining build() {
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_PlayerJoining result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_PlayerJoining buildPartial() {
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_PlayerJoining result = new in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_PlayerJoining(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_PlayerJoining result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.accountId_ = accountId_;
to_bitField0_ |= 0x00000001;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_PlayerJoining) {
return mergeFrom((in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_PlayerJoining)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_PlayerJoining other) {
if (other == in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_PlayerJoining.getDefaultInstance()) return this;
if (other.hasAccountId()) {
setAccountId(other.getAccountId());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8: {
accountId_ = input.readUInt32();
bitField0_ |= 0x00000001;
break;
} // case 8
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private int accountId_ ;
/**
* optional uint32 account_id = 1;
* @return Whether the accountId field is set.
*/
@java.lang.Override
public boolean hasAccountId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional uint32 account_id = 1;
* @return The accountId.
*/
@java.lang.Override
public int getAccountId() {
return accountId_;
}
/**
* optional uint32 account_id = 1;
* @param value The accountId to set.
* @return This builder for chaining.
*/
public Builder setAccountId(int value) {
accountId_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* optional uint32 account_id = 1;
* @return This builder for chaining.
*/
public Builder clearAccountId() {
bitField0_ = (bitField0_ & ~0x00000001);
accountId_ = 0;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:CMsgTFQuickplay_PlayerJoining)
}
// @@protoc_insertion_point(class_scope:CMsgTFQuickplay_PlayerJoining)
private static final in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_PlayerJoining DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_PlayerJoining();
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_PlayerJoining getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public CMsgTFQuickplay_PlayerJoining parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgTFQuickplay_PlayerJoining getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface CMsgGC_GameServer_LevelInfoOrBuilder extends
// @@protoc_insertion_point(interface_extends:CMsgGC_GameServer_LevelInfo)
com.google.protobuf.MessageOrBuilder {
/**
* optional bool level_loaded = 1;
* @return Whether the levelLoaded field is set.
*/
boolean hasLevelLoaded();
/**
* optional bool level_loaded = 1;
* @return The levelLoaded.
*/
boolean getLevelLoaded();
/**
* optional string level_name = 2;
* @return Whether the levelName field is set.
*/
boolean hasLevelName();
/**
* optional string level_name = 2;
* @return The levelName.
*/
java.lang.String getLevelName();
/**
* optional string level_name = 2;
* @return The bytes for levelName.
*/
com.google.protobuf.ByteString
getLevelNameBytes();
}
/**
* Protobuf type {@code CMsgGC_GameServer_LevelInfo}
*/
public static final class CMsgGC_GameServer_LevelInfo extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:CMsgGC_GameServer_LevelInfo)
CMsgGC_GameServer_LevelInfoOrBuilder {
private static final long serialVersionUID = 0L;
static {
com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
/* minor= */ 28,
/* patch= */ 0,
/* suffix= */ "",
CMsgGC_GameServer_LevelInfo.class.getName());
}
// Use CMsgGC_GameServer_LevelInfo.newBuilder() to construct.
private CMsgGC_GameServer_LevelInfo(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private CMsgGC_GameServer_LevelInfo() {
levelName_ = "";
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CMsgGC_GameServer_LevelInfo_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CMsgGC_GameServer_LevelInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_LevelInfo.class, in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_LevelInfo.Builder.class);
}
private int bitField0_;
public static final int LEVEL_LOADED_FIELD_NUMBER = 1;
private boolean levelLoaded_ = false;
/**
* optional bool level_loaded = 1;
* @return Whether the levelLoaded field is set.
*/
@java.lang.Override
public boolean hasLevelLoaded() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional bool level_loaded = 1;
* @return The levelLoaded.
*/
@java.lang.Override
public boolean getLevelLoaded() {
return levelLoaded_;
}
public static final int LEVEL_NAME_FIELD_NUMBER = 2;
@SuppressWarnings("serial")
private volatile java.lang.Object levelName_ = "";
/**
* optional string level_name = 2;
* @return Whether the levelName field is set.
*/
@java.lang.Override
public boolean hasLevelName() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional string level_name = 2;
* @return The levelName.
*/
@java.lang.Override
public java.lang.String getLevelName() {
java.lang.Object ref = levelName_;
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()) {
levelName_ = s;
}
return s;
}
}
/**
* optional string level_name = 2;
* @return The bytes for levelName.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getLevelNameBytes() {
java.lang.Object ref = levelName_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
levelName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeBool(1, levelLoaded_);
}
if (((bitField0_ & 0x00000002) != 0)) {
com.google.protobuf.GeneratedMessage.writeString(output, 2, levelName_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(1, levelLoaded_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.GeneratedMessage.computeStringSize(2, levelName_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_LevelInfo)) {
return super.equals(obj);
}
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_LevelInfo other = (in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_LevelInfo) obj;
if (hasLevelLoaded() != other.hasLevelLoaded()) return false;
if (hasLevelLoaded()) {
if (getLevelLoaded()
!= other.getLevelLoaded()) return false;
}
if (hasLevelName() != other.hasLevelName()) return false;
if (hasLevelName()) {
if (!getLevelName()
.equals(other.getLevelName())) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasLevelLoaded()) {
hash = (37 * hash) + LEVEL_LOADED_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getLevelLoaded());
}
if (hasLevelName()) {
hash = (37 * hash) + LEVEL_NAME_FIELD_NUMBER;
hash = (53 * hash) + getLevelName().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_LevelInfo parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_LevelInfo parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_LevelInfo parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_LevelInfo parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_LevelInfo parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_LevelInfo parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_LevelInfo parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_LevelInfo parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_LevelInfo parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_LevelInfo parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_LevelInfo parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_LevelInfo parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_LevelInfo prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code CMsgGC_GameServer_LevelInfo}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:CMsgGC_GameServer_LevelInfo)
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_LevelInfoOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CMsgGC_GameServer_LevelInfo_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CMsgGC_GameServer_LevelInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_LevelInfo.class, in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_LevelInfo.Builder.class);
}
// Construct using in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_LevelInfo.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
levelLoaded_ = false;
levelName_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CMsgGC_GameServer_LevelInfo_descriptor;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_LevelInfo getDefaultInstanceForType() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_LevelInfo.getDefaultInstance();
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_LevelInfo build() {
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_LevelInfo result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_LevelInfo buildPartial() {
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_LevelInfo result = new in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_LevelInfo(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_LevelInfo result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.levelLoaded_ = levelLoaded_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.levelName_ = levelName_;
to_bitField0_ |= 0x00000002;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_LevelInfo) {
return mergeFrom((in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_LevelInfo)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_LevelInfo other) {
if (other == in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_LevelInfo.getDefaultInstance()) return this;
if (other.hasLevelLoaded()) {
setLevelLoaded(other.getLevelLoaded());
}
if (other.hasLevelName()) {
levelName_ = other.levelName_;
bitField0_ |= 0x00000002;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8: {
levelLoaded_ = input.readBool();
bitField0_ |= 0x00000001;
break;
} // case 8
case 18: {
levelName_ = input.readBytes();
bitField0_ |= 0x00000002;
break;
} // case 18
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private boolean levelLoaded_ ;
/**
* optional bool level_loaded = 1;
* @return Whether the levelLoaded field is set.
*/
@java.lang.Override
public boolean hasLevelLoaded() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional bool level_loaded = 1;
* @return The levelLoaded.
*/
@java.lang.Override
public boolean getLevelLoaded() {
return levelLoaded_;
}
/**
* optional bool level_loaded = 1;
* @param value The levelLoaded to set.
* @return This builder for chaining.
*/
public Builder setLevelLoaded(boolean value) {
levelLoaded_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* optional bool level_loaded = 1;
* @return This builder for chaining.
*/
public Builder clearLevelLoaded() {
bitField0_ = (bitField0_ & ~0x00000001);
levelLoaded_ = false;
onChanged();
return this;
}
private java.lang.Object levelName_ = "";
/**
* optional string level_name = 2;
* @return Whether the levelName field is set.
*/
public boolean hasLevelName() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional string level_name = 2;
* @return The levelName.
*/
public java.lang.String getLevelName() {
java.lang.Object ref = levelName_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
levelName_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string level_name = 2;
* @return The bytes for levelName.
*/
public com.google.protobuf.ByteString
getLevelNameBytes() {
java.lang.Object ref = levelName_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
levelName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string level_name = 2;
* @param value The levelName to set.
* @return This builder for chaining.
*/
public Builder setLevelName(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
levelName_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* optional string level_name = 2;
* @return This builder for chaining.
*/
public Builder clearLevelName() {
levelName_ = getDefaultInstance().getLevelName();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
/**
* optional string level_name = 2;
* @param value The bytes for levelName to set.
* @return This builder for chaining.
*/
public Builder setLevelNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
levelName_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:CMsgGC_GameServer_LevelInfo)
}
// @@protoc_insertion_point(class_scope:CMsgGC_GameServer_LevelInfo)
private static final in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_LevelInfo DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_LevelInfo();
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_LevelInfo getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public CMsgGC_GameServer_LevelInfo parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_LevelInfo getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface CMsgGC_GameServer_AuthChallengeOrBuilder extends
// @@protoc_insertion_point(interface_extends:CMsgGC_GameServer_AuthChallenge)
com.google.protobuf.MessageOrBuilder {
/**
* optional string challenge_string = 1;
* @return Whether the challengeString field is set.
*/
boolean hasChallengeString();
/**
* optional string challenge_string = 1;
* @return The challengeString.
*/
java.lang.String getChallengeString();
/**
* optional string challenge_string = 1;
* @return The bytes for challengeString.
*/
com.google.protobuf.ByteString
getChallengeStringBytes();
}
/**
* Protobuf type {@code CMsgGC_GameServer_AuthChallenge}
*/
public static final class CMsgGC_GameServer_AuthChallenge extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:CMsgGC_GameServer_AuthChallenge)
CMsgGC_GameServer_AuthChallengeOrBuilder {
private static final long serialVersionUID = 0L;
static {
com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
/* minor= */ 28,
/* patch= */ 0,
/* suffix= */ "",
CMsgGC_GameServer_AuthChallenge.class.getName());
}
// Use CMsgGC_GameServer_AuthChallenge.newBuilder() to construct.
private CMsgGC_GameServer_AuthChallenge(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private CMsgGC_GameServer_AuthChallenge() {
challengeString_ = "";
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CMsgGC_GameServer_AuthChallenge_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CMsgGC_GameServer_AuthChallenge_fieldAccessorTable
.ensureFieldAccessorsInitialized(
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_AuthChallenge.class, in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_AuthChallenge.Builder.class);
}
private int bitField0_;
public static final int CHALLENGE_STRING_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private volatile java.lang.Object challengeString_ = "";
/**
* optional string challenge_string = 1;
* @return Whether the challengeString field is set.
*/
@java.lang.Override
public boolean hasChallengeString() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional string challenge_string = 1;
* @return The challengeString.
*/
@java.lang.Override
public java.lang.String getChallengeString() {
java.lang.Object ref = challengeString_;
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()) {
challengeString_ = s;
}
return s;
}
}
/**
* optional string challenge_string = 1;
* @return The bytes for challengeString.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getChallengeStringBytes() {
java.lang.Object ref = challengeString_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
challengeString_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
com.google.protobuf.GeneratedMessage.writeString(output, 1, challengeString_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.GeneratedMessage.computeStringSize(1, challengeString_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_AuthChallenge)) {
return super.equals(obj);
}
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_AuthChallenge other = (in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_AuthChallenge) obj;
if (hasChallengeString() != other.hasChallengeString()) return false;
if (hasChallengeString()) {
if (!getChallengeString()
.equals(other.getChallengeString())) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasChallengeString()) {
hash = (37 * hash) + CHALLENGE_STRING_FIELD_NUMBER;
hash = (53 * hash) + getChallengeString().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_AuthChallenge parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_AuthChallenge parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_AuthChallenge parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_AuthChallenge parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_AuthChallenge parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_AuthChallenge parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_AuthChallenge parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_AuthChallenge parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_AuthChallenge parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_AuthChallenge parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_AuthChallenge parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_AuthChallenge parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_AuthChallenge prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code CMsgGC_GameServer_AuthChallenge}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:CMsgGC_GameServer_AuthChallenge)
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_AuthChallengeOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CMsgGC_GameServer_AuthChallenge_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CMsgGC_GameServer_AuthChallenge_fieldAccessorTable
.ensureFieldAccessorsInitialized(
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_AuthChallenge.class, in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_AuthChallenge.Builder.class);
}
// Construct using in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_AuthChallenge.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
challengeString_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CMsgGC_GameServer_AuthChallenge_descriptor;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_AuthChallenge getDefaultInstanceForType() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_AuthChallenge.getDefaultInstance();
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_AuthChallenge build() {
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_AuthChallenge result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_AuthChallenge buildPartial() {
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_AuthChallenge result = new in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_AuthChallenge(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_AuthChallenge result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.challengeString_ = challengeString_;
to_bitField0_ |= 0x00000001;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_AuthChallenge) {
return mergeFrom((in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_AuthChallenge)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_AuthChallenge other) {
if (other == in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_AuthChallenge.getDefaultInstance()) return this;
if (other.hasChallengeString()) {
challengeString_ = other.challengeString_;
bitField0_ |= 0x00000001;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
challengeString_ = input.readBytes();
bitField0_ |= 0x00000001;
break;
} // case 10
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private java.lang.Object challengeString_ = "";
/**
* optional string challenge_string = 1;
* @return Whether the challengeString field is set.
*/
public boolean hasChallengeString() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional string challenge_string = 1;
* @return The challengeString.
*/
public java.lang.String getChallengeString() {
java.lang.Object ref = challengeString_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
challengeString_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string challenge_string = 1;
* @return The bytes for challengeString.
*/
public com.google.protobuf.ByteString
getChallengeStringBytes() {
java.lang.Object ref = challengeString_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
challengeString_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string challenge_string = 1;
* @param value The challengeString to set.
* @return This builder for chaining.
*/
public Builder setChallengeString(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
challengeString_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* optional string challenge_string = 1;
* @return This builder for chaining.
*/
public Builder clearChallengeString() {
challengeString_ = getDefaultInstance().getChallengeString();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
* optional string challenge_string = 1;
* @param value The bytes for challengeString to set.
* @return This builder for chaining.
*/
public Builder setChallengeStringBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
challengeString_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:CMsgGC_GameServer_AuthChallenge)
}
// @@protoc_insertion_point(class_scope:CMsgGC_GameServer_AuthChallenge)
private static final in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_AuthChallenge DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_AuthChallenge();
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_AuthChallenge getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public CMsgGC_GameServer_AuthChallenge parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_AuthChallenge getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface CMsgGC_GameServer_AuthResultOrBuilder extends
// @@protoc_insertion_point(interface_extends:CMsgGC_GameServer_AuthResult)
com.google.protobuf.MessageOrBuilder {
/**
* optional bool authenticated = 1;
* @return Whether the authenticated field is set.
*/
boolean hasAuthenticated();
/**
* optional bool authenticated = 1;
* @return The authenticated.
*/
boolean getAuthenticated();
/**
* optional int32 game_server_standing = 2;
* @return Whether the gameServerStanding field is set.
*/
boolean hasGameServerStanding();
/**
* optional int32 game_server_standing = 2;
* @return The gameServerStanding.
*/
int getGameServerStanding();
/**
* optional int32 game_server_standing_trend = 3;
* @return Whether the gameServerStandingTrend field is set.
*/
boolean hasGameServerStandingTrend();
/**
* optional int32 game_server_standing_trend = 3;
* @return The gameServerStandingTrend.
*/
int getGameServerStandingTrend();
/**
* optional bool is_valve_server = 4;
* @return Whether the isValveServer field is set.
*/
boolean hasIsValveServer();
/**
* optional bool is_valve_server = 4;
* @return The isValveServer.
*/
boolean getIsValveServer();
/**
* optional string message = 5;
* @return Whether the message field is set.
*/
boolean hasMessage();
/**
* optional string message = 5;
* @return The message.
*/
java.lang.String getMessage();
/**
* optional string message = 5;
* @return The bytes for message.
*/
com.google.protobuf.ByteString
getMessageBytes();
}
/**
* Protobuf type {@code CMsgGC_GameServer_AuthResult}
*/
public static final class CMsgGC_GameServer_AuthResult extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:CMsgGC_GameServer_AuthResult)
CMsgGC_GameServer_AuthResultOrBuilder {
private static final long serialVersionUID = 0L;
static {
com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
/* minor= */ 28,
/* patch= */ 0,
/* suffix= */ "",
CMsgGC_GameServer_AuthResult.class.getName());
}
// Use CMsgGC_GameServer_AuthResult.newBuilder() to construct.
private CMsgGC_GameServer_AuthResult(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private CMsgGC_GameServer_AuthResult() {
message_ = "";
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CMsgGC_GameServer_AuthResult_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CMsgGC_GameServer_AuthResult_fieldAccessorTable
.ensureFieldAccessorsInitialized(
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_AuthResult.class, in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_AuthResult.Builder.class);
}
private int bitField0_;
public static final int AUTHENTICATED_FIELD_NUMBER = 1;
private boolean authenticated_ = false;
/**
* optional bool authenticated = 1;
* @return Whether the authenticated field is set.
*/
@java.lang.Override
public boolean hasAuthenticated() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional bool authenticated = 1;
* @return The authenticated.
*/
@java.lang.Override
public boolean getAuthenticated() {
return authenticated_;
}
public static final int GAME_SERVER_STANDING_FIELD_NUMBER = 2;
private int gameServerStanding_ = 0;
/**
* optional int32 game_server_standing = 2;
* @return Whether the gameServerStanding field is set.
*/
@java.lang.Override
public boolean hasGameServerStanding() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional int32 game_server_standing = 2;
* @return The gameServerStanding.
*/
@java.lang.Override
public int getGameServerStanding() {
return gameServerStanding_;
}
public static final int GAME_SERVER_STANDING_TREND_FIELD_NUMBER = 3;
private int gameServerStandingTrend_ = 0;
/**
* optional int32 game_server_standing_trend = 3;
* @return Whether the gameServerStandingTrend field is set.
*/
@java.lang.Override
public boolean hasGameServerStandingTrend() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional int32 game_server_standing_trend = 3;
* @return The gameServerStandingTrend.
*/
@java.lang.Override
public int getGameServerStandingTrend() {
return gameServerStandingTrend_;
}
public static final int IS_VALVE_SERVER_FIELD_NUMBER = 4;
private boolean isValveServer_ = false;
/**
* optional bool is_valve_server = 4;
* @return Whether the isValveServer field is set.
*/
@java.lang.Override
public boolean hasIsValveServer() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* optional bool is_valve_server = 4;
* @return The isValveServer.
*/
@java.lang.Override
public boolean getIsValveServer() {
return isValveServer_;
}
public static final int MESSAGE_FIELD_NUMBER = 5;
@SuppressWarnings("serial")
private volatile java.lang.Object message_ = "";
/**
* optional string message = 5;
* @return Whether the message field is set.
*/
@java.lang.Override
public boolean hasMessage() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* optional string message = 5;
* @return The message.
*/
@java.lang.Override
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 = 5;
* @return The bytes for message.
*/
@java.lang.Override
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 byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeBool(1, authenticated_);
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeInt32(2, gameServerStanding_);
}
if (((bitField0_ & 0x00000004) != 0)) {
output.writeInt32(3, gameServerStandingTrend_);
}
if (((bitField0_ & 0x00000008) != 0)) {
output.writeBool(4, isValveServer_);
}
if (((bitField0_ & 0x00000010) != 0)) {
com.google.protobuf.GeneratedMessage.writeString(output, 5, message_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(1, authenticated_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(2, gameServerStanding_);
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(3, gameServerStandingTrend_);
}
if (((bitField0_ & 0x00000008) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(4, isValveServer_);
}
if (((bitField0_ & 0x00000010) != 0)) {
size += com.google.protobuf.GeneratedMessage.computeStringSize(5, message_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_AuthResult)) {
return super.equals(obj);
}
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_AuthResult other = (in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_AuthResult) obj;
if (hasAuthenticated() != other.hasAuthenticated()) return false;
if (hasAuthenticated()) {
if (getAuthenticated()
!= other.getAuthenticated()) return false;
}
if (hasGameServerStanding() != other.hasGameServerStanding()) return false;
if (hasGameServerStanding()) {
if (getGameServerStanding()
!= other.getGameServerStanding()) return false;
}
if (hasGameServerStandingTrend() != other.hasGameServerStandingTrend()) return false;
if (hasGameServerStandingTrend()) {
if (getGameServerStandingTrend()
!= other.getGameServerStandingTrend()) return false;
}
if (hasIsValveServer() != other.hasIsValveServer()) return false;
if (hasIsValveServer()) {
if (getIsValveServer()
!= other.getIsValveServer()) return false;
}
if (hasMessage() != other.hasMessage()) return false;
if (hasMessage()) {
if (!getMessage()
.equals(other.getMessage())) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasAuthenticated()) {
hash = (37 * hash) + AUTHENTICATED_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getAuthenticated());
}
if (hasGameServerStanding()) {
hash = (37 * hash) + GAME_SERVER_STANDING_FIELD_NUMBER;
hash = (53 * hash) + getGameServerStanding();
}
if (hasGameServerStandingTrend()) {
hash = (37 * hash) + GAME_SERVER_STANDING_TREND_FIELD_NUMBER;
hash = (53 * hash) + getGameServerStandingTrend();
}
if (hasIsValveServer()) {
hash = (37 * hash) + IS_VALVE_SERVER_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getIsValveServer());
}
if (hasMessage()) {
hash = (37 * hash) + MESSAGE_FIELD_NUMBER;
hash = (53 * hash) + getMessage().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_AuthResult parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_AuthResult parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_AuthResult parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_AuthResult parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_AuthResult parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_AuthResult parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_AuthResult parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_AuthResult parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_AuthResult parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_AuthResult parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_AuthResult parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_AuthResult parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_AuthResult prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code CMsgGC_GameServer_AuthResult}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:CMsgGC_GameServer_AuthResult)
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_AuthResultOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CMsgGC_GameServer_AuthResult_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CMsgGC_GameServer_AuthResult_fieldAccessorTable
.ensureFieldAccessorsInitialized(
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_AuthResult.class, in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_AuthResult.Builder.class);
}
// Construct using in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_AuthResult.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
authenticated_ = false;
gameServerStanding_ = 0;
gameServerStandingTrend_ = 0;
isValveServer_ = false;
message_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CMsgGC_GameServer_AuthResult_descriptor;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_AuthResult getDefaultInstanceForType() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_AuthResult.getDefaultInstance();
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_AuthResult build() {
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_AuthResult result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_AuthResult buildPartial() {
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_AuthResult result = new in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_AuthResult(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_AuthResult result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.authenticated_ = authenticated_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.gameServerStanding_ = gameServerStanding_;
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.gameServerStandingTrend_ = gameServerStandingTrend_;
to_bitField0_ |= 0x00000004;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
result.isValveServer_ = isValveServer_;
to_bitField0_ |= 0x00000008;
}
if (((from_bitField0_ & 0x00000010) != 0)) {
result.message_ = message_;
to_bitField0_ |= 0x00000010;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_AuthResult) {
return mergeFrom((in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_AuthResult)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_AuthResult other) {
if (other == in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_AuthResult.getDefaultInstance()) return this;
if (other.hasAuthenticated()) {
setAuthenticated(other.getAuthenticated());
}
if (other.hasGameServerStanding()) {
setGameServerStanding(other.getGameServerStanding());
}
if (other.hasGameServerStandingTrend()) {
setGameServerStandingTrend(other.getGameServerStandingTrend());
}
if (other.hasIsValveServer()) {
setIsValveServer(other.getIsValveServer());
}
if (other.hasMessage()) {
message_ = other.message_;
bitField0_ |= 0x00000010;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8: {
authenticated_ = input.readBool();
bitField0_ |= 0x00000001;
break;
} // case 8
case 16: {
gameServerStanding_ = input.readInt32();
bitField0_ |= 0x00000002;
break;
} // case 16
case 24: {
gameServerStandingTrend_ = input.readInt32();
bitField0_ |= 0x00000004;
break;
} // case 24
case 32: {
isValveServer_ = input.readBool();
bitField0_ |= 0x00000008;
break;
} // case 32
case 42: {
message_ = input.readBytes();
bitField0_ |= 0x00000010;
break;
} // case 42
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private boolean authenticated_ ;
/**
* optional bool authenticated = 1;
* @return Whether the authenticated field is set.
*/
@java.lang.Override
public boolean hasAuthenticated() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional bool authenticated = 1;
* @return The authenticated.
*/
@java.lang.Override
public boolean getAuthenticated() {
return authenticated_;
}
/**
* optional bool authenticated = 1;
* @param value The authenticated to set.
* @return This builder for chaining.
*/
public Builder setAuthenticated(boolean value) {
authenticated_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* optional bool authenticated = 1;
* @return This builder for chaining.
*/
public Builder clearAuthenticated() {
bitField0_ = (bitField0_ & ~0x00000001);
authenticated_ = false;
onChanged();
return this;
}
private int gameServerStanding_ ;
/**
* optional int32 game_server_standing = 2;
* @return Whether the gameServerStanding field is set.
*/
@java.lang.Override
public boolean hasGameServerStanding() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional int32 game_server_standing = 2;
* @return The gameServerStanding.
*/
@java.lang.Override
public int getGameServerStanding() {
return gameServerStanding_;
}
/**
* optional int32 game_server_standing = 2;
* @param value The gameServerStanding to set.
* @return This builder for chaining.
*/
public Builder setGameServerStanding(int value) {
gameServerStanding_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* optional int32 game_server_standing = 2;
* @return This builder for chaining.
*/
public Builder clearGameServerStanding() {
bitField0_ = (bitField0_ & ~0x00000002);
gameServerStanding_ = 0;
onChanged();
return this;
}
private int gameServerStandingTrend_ ;
/**
* optional int32 game_server_standing_trend = 3;
* @return Whether the gameServerStandingTrend field is set.
*/
@java.lang.Override
public boolean hasGameServerStandingTrend() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional int32 game_server_standing_trend = 3;
* @return The gameServerStandingTrend.
*/
@java.lang.Override
public int getGameServerStandingTrend() {
return gameServerStandingTrend_;
}
/**
* optional int32 game_server_standing_trend = 3;
* @param value The gameServerStandingTrend to set.
* @return This builder for chaining.
*/
public Builder setGameServerStandingTrend(int value) {
gameServerStandingTrend_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* optional int32 game_server_standing_trend = 3;
* @return This builder for chaining.
*/
public Builder clearGameServerStandingTrend() {
bitField0_ = (bitField0_ & ~0x00000004);
gameServerStandingTrend_ = 0;
onChanged();
return this;
}
private boolean isValveServer_ ;
/**
* optional bool is_valve_server = 4;
* @return Whether the isValveServer field is set.
*/
@java.lang.Override
public boolean hasIsValveServer() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* optional bool is_valve_server = 4;
* @return The isValveServer.
*/
@java.lang.Override
public boolean getIsValveServer() {
return isValveServer_;
}
/**
* optional bool is_valve_server = 4;
* @param value The isValveServer to set.
* @return This builder for chaining.
*/
public Builder setIsValveServer(boolean value) {
isValveServer_ = value;
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* optional bool is_valve_server = 4;
* @return This builder for chaining.
*/
public Builder clearIsValveServer() {
bitField0_ = (bitField0_ & ~0x00000008);
isValveServer_ = false;
onChanged();
return this;
}
private java.lang.Object message_ = "";
/**
* optional string message = 5;
* @return Whether the message field is set.
*/
public boolean hasMessage() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* optional string message = 5;
* @return The message.
*/
public java.lang.String getMessage() {
java.lang.Object ref = message_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
message_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string message = 5;
* @return The bytes for message.
*/
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 = 5;
* @param value The message to set.
* @return This builder for chaining.
*/
public Builder setMessage(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
message_ = value;
bitField0_ |= 0x00000010;
onChanged();
return this;
}
/**
* optional string message = 5;
* @return This builder for chaining.
*/
public Builder clearMessage() {
message_ = getDefaultInstance().getMessage();
bitField0_ = (bitField0_ & ~0x00000010);
onChanged();
return this;
}
/**
* optional string message = 5;
* @param value The bytes for message to set.
* @return This builder for chaining.
*/
public Builder setMessageBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
message_ = value;
bitField0_ |= 0x00000010;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:CMsgGC_GameServer_AuthResult)
}
// @@protoc_insertion_point(class_scope:CMsgGC_GameServer_AuthResult)
private static final in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_AuthResult DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_AuthResult();
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_AuthResult getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public CMsgGC_GameServer_AuthResult parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_AuthResult getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface CMsgGC_GameServer_AuthChallengeResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:CMsgGC_GameServer_AuthChallengeResponse)
com.google.protobuf.MessageOrBuilder {
/**
* optional uint32 game_server_account_id = 1;
* @return Whether the gameServerAccountId field is set.
*/
boolean hasGameServerAccountId();
/**
* optional uint32 game_server_account_id = 1;
* @return The gameServerAccountId.
*/
int getGameServerAccountId();
/**
* optional bytes hashed_challenge_string = 2;
* @return Whether the hashedChallengeString field is set.
*/
boolean hasHashedChallengeString();
/**
* optional bytes hashed_challenge_string = 2;
* @return The hashedChallengeString.
*/
com.google.protobuf.ByteString getHashedChallengeString();
}
/**
* Protobuf type {@code CMsgGC_GameServer_AuthChallengeResponse}
*/
public static final class CMsgGC_GameServer_AuthChallengeResponse extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:CMsgGC_GameServer_AuthChallengeResponse)
CMsgGC_GameServer_AuthChallengeResponseOrBuilder {
private static final long serialVersionUID = 0L;
static {
com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
/* minor= */ 28,
/* patch= */ 0,
/* suffix= */ "",
CMsgGC_GameServer_AuthChallengeResponse.class.getName());
}
// Use CMsgGC_GameServer_AuthChallengeResponse.newBuilder() to construct.
private CMsgGC_GameServer_AuthChallengeResponse(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private CMsgGC_GameServer_AuthChallengeResponse() {
hashedChallengeString_ = com.google.protobuf.ByteString.EMPTY;
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CMsgGC_GameServer_AuthChallengeResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CMsgGC_GameServer_AuthChallengeResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_AuthChallengeResponse.class, in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_AuthChallengeResponse.Builder.class);
}
private int bitField0_;
public static final int GAME_SERVER_ACCOUNT_ID_FIELD_NUMBER = 1;
private int gameServerAccountId_ = 0;
/**
* optional uint32 game_server_account_id = 1;
* @return Whether the gameServerAccountId field is set.
*/
@java.lang.Override
public boolean hasGameServerAccountId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional uint32 game_server_account_id = 1;
* @return The gameServerAccountId.
*/
@java.lang.Override
public int getGameServerAccountId() {
return gameServerAccountId_;
}
public static final int HASHED_CHALLENGE_STRING_FIELD_NUMBER = 2;
private com.google.protobuf.ByteString hashedChallengeString_ = com.google.protobuf.ByteString.EMPTY;
/**
* optional bytes hashed_challenge_string = 2;
* @return Whether the hashedChallengeString field is set.
*/
@java.lang.Override
public boolean hasHashedChallengeString() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional bytes hashed_challenge_string = 2;
* @return The hashedChallengeString.
*/
@java.lang.Override
public com.google.protobuf.ByteString getHashedChallengeString() {
return hashedChallengeString_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeUInt32(1, gameServerAccountId_);
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeBytes(2, hashedChallengeString_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(1, gameServerAccountId_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(2, hashedChallengeString_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_AuthChallengeResponse)) {
return super.equals(obj);
}
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_AuthChallengeResponse other = (in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_AuthChallengeResponse) obj;
if (hasGameServerAccountId() != other.hasGameServerAccountId()) return false;
if (hasGameServerAccountId()) {
if (getGameServerAccountId()
!= other.getGameServerAccountId()) return false;
}
if (hasHashedChallengeString() != other.hasHashedChallengeString()) return false;
if (hasHashedChallengeString()) {
if (!getHashedChallengeString()
.equals(other.getHashedChallengeString())) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasGameServerAccountId()) {
hash = (37 * hash) + GAME_SERVER_ACCOUNT_ID_FIELD_NUMBER;
hash = (53 * hash) + getGameServerAccountId();
}
if (hasHashedChallengeString()) {
hash = (37 * hash) + HASHED_CHALLENGE_STRING_FIELD_NUMBER;
hash = (53 * hash) + getHashedChallengeString().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_AuthChallengeResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_AuthChallengeResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_AuthChallengeResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_AuthChallengeResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_AuthChallengeResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_AuthChallengeResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_AuthChallengeResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_AuthChallengeResponse parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_AuthChallengeResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_AuthChallengeResponse parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_AuthChallengeResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_AuthChallengeResponse parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_AuthChallengeResponse prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code CMsgGC_GameServer_AuthChallengeResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:CMsgGC_GameServer_AuthChallengeResponse)
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_AuthChallengeResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CMsgGC_GameServer_AuthChallengeResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CMsgGC_GameServer_AuthChallengeResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_AuthChallengeResponse.class, in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_AuthChallengeResponse.Builder.class);
}
// Construct using in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_AuthChallengeResponse.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
gameServerAccountId_ = 0;
hashedChallengeString_ = com.google.protobuf.ByteString.EMPTY;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CMsgGC_GameServer_AuthChallengeResponse_descriptor;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_AuthChallengeResponse getDefaultInstanceForType() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_AuthChallengeResponse.getDefaultInstance();
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_AuthChallengeResponse build() {
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_AuthChallengeResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_AuthChallengeResponse buildPartial() {
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_AuthChallengeResponse result = new in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_AuthChallengeResponse(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_AuthChallengeResponse result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.gameServerAccountId_ = gameServerAccountId_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.hashedChallengeString_ = hashedChallengeString_;
to_bitField0_ |= 0x00000002;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_AuthChallengeResponse) {
return mergeFrom((in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_AuthChallengeResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_AuthChallengeResponse other) {
if (other == in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_AuthChallengeResponse.getDefaultInstance()) return this;
if (other.hasGameServerAccountId()) {
setGameServerAccountId(other.getGameServerAccountId());
}
if (other.hasHashedChallengeString()) {
setHashedChallengeString(other.getHashedChallengeString());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8: {
gameServerAccountId_ = input.readUInt32();
bitField0_ |= 0x00000001;
break;
} // case 8
case 18: {
hashedChallengeString_ = input.readBytes();
bitField0_ |= 0x00000002;
break;
} // case 18
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private int gameServerAccountId_ ;
/**
* optional uint32 game_server_account_id = 1;
* @return Whether the gameServerAccountId field is set.
*/
@java.lang.Override
public boolean hasGameServerAccountId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional uint32 game_server_account_id = 1;
* @return The gameServerAccountId.
*/
@java.lang.Override
public int getGameServerAccountId() {
return gameServerAccountId_;
}
/**
* optional uint32 game_server_account_id = 1;
* @param value The gameServerAccountId to set.
* @return This builder for chaining.
*/
public Builder setGameServerAccountId(int value) {
gameServerAccountId_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* optional uint32 game_server_account_id = 1;
* @return This builder for chaining.
*/
public Builder clearGameServerAccountId() {
bitField0_ = (bitField0_ & ~0x00000001);
gameServerAccountId_ = 0;
onChanged();
return this;
}
private com.google.protobuf.ByteString hashedChallengeString_ = com.google.protobuf.ByteString.EMPTY;
/**
* optional bytes hashed_challenge_string = 2;
* @return Whether the hashedChallengeString field is set.
*/
@java.lang.Override
public boolean hasHashedChallengeString() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional bytes hashed_challenge_string = 2;
* @return The hashedChallengeString.
*/
@java.lang.Override
public com.google.protobuf.ByteString getHashedChallengeString() {
return hashedChallengeString_;
}
/**
* optional bytes hashed_challenge_string = 2;
* @param value The hashedChallengeString to set.
* @return This builder for chaining.
*/
public Builder setHashedChallengeString(com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
hashedChallengeString_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* optional bytes hashed_challenge_string = 2;
* @return This builder for chaining.
*/
public Builder clearHashedChallengeString() {
bitField0_ = (bitField0_ & ~0x00000002);
hashedChallengeString_ = getDefaultInstance().getHashedChallengeString();
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:CMsgGC_GameServer_AuthChallengeResponse)
}
// @@protoc_insertion_point(class_scope:CMsgGC_GameServer_AuthChallengeResponse)
private static final in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_AuthChallengeResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_AuthChallengeResponse();
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_AuthChallengeResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public CMsgGC_GameServer_AuthChallengeResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_AuthChallengeResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface CMsgGC_GameServer_CreateIdentityOrBuilder extends
// @@protoc_insertion_point(interface_extends:CMsgGC_GameServer_CreateIdentity)
com.google.protobuf.MessageOrBuilder {
/**
* optional uint32 account_id = 1;
* @return Whether the accountId field is set.
*/
boolean hasAccountId();
/**
* optional uint32 account_id = 1;
* @return The accountId.
*/
int getAccountId();
}
/**
* Protobuf type {@code CMsgGC_GameServer_CreateIdentity}
*/
public static final class CMsgGC_GameServer_CreateIdentity extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:CMsgGC_GameServer_CreateIdentity)
CMsgGC_GameServer_CreateIdentityOrBuilder {
private static final long serialVersionUID = 0L;
static {
com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
/* minor= */ 28,
/* patch= */ 0,
/* suffix= */ "",
CMsgGC_GameServer_CreateIdentity.class.getName());
}
// Use CMsgGC_GameServer_CreateIdentity.newBuilder() to construct.
private CMsgGC_GameServer_CreateIdentity(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private CMsgGC_GameServer_CreateIdentity() {
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CMsgGC_GameServer_CreateIdentity_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CMsgGC_GameServer_CreateIdentity_fieldAccessorTable
.ensureFieldAccessorsInitialized(
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_CreateIdentity.class, in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_CreateIdentity.Builder.class);
}
private int bitField0_;
public static final int ACCOUNT_ID_FIELD_NUMBER = 1;
private int accountId_ = 0;
/**
* optional uint32 account_id = 1;
* @return Whether the accountId field is set.
*/
@java.lang.Override
public boolean hasAccountId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional uint32 account_id = 1;
* @return The accountId.
*/
@java.lang.Override
public int getAccountId() {
return accountId_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeUInt32(1, accountId_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(1, accountId_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_CreateIdentity)) {
return super.equals(obj);
}
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_CreateIdentity other = (in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_CreateIdentity) obj;
if (hasAccountId() != other.hasAccountId()) return false;
if (hasAccountId()) {
if (getAccountId()
!= other.getAccountId()) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasAccountId()) {
hash = (37 * hash) + ACCOUNT_ID_FIELD_NUMBER;
hash = (53 * hash) + getAccountId();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_CreateIdentity parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_CreateIdentity parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_CreateIdentity parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_CreateIdentity parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_CreateIdentity parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_CreateIdentity parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_CreateIdentity parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_CreateIdentity parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_CreateIdentity parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_CreateIdentity parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_CreateIdentity parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_CreateIdentity parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_CreateIdentity prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code CMsgGC_GameServer_CreateIdentity}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:CMsgGC_GameServer_CreateIdentity)
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_CreateIdentityOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CMsgGC_GameServer_CreateIdentity_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CMsgGC_GameServer_CreateIdentity_fieldAccessorTable
.ensureFieldAccessorsInitialized(
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_CreateIdentity.class, in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_CreateIdentity.Builder.class);
}
// Construct using in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_CreateIdentity.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
accountId_ = 0;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CMsgGC_GameServer_CreateIdentity_descriptor;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_CreateIdentity getDefaultInstanceForType() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_CreateIdentity.getDefaultInstance();
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_CreateIdentity build() {
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_CreateIdentity result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_CreateIdentity buildPartial() {
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_CreateIdentity result = new in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_CreateIdentity(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_CreateIdentity result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.accountId_ = accountId_;
to_bitField0_ |= 0x00000001;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_CreateIdentity) {
return mergeFrom((in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_CreateIdentity)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_CreateIdentity other) {
if (other == in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_CreateIdentity.getDefaultInstance()) return this;
if (other.hasAccountId()) {
setAccountId(other.getAccountId());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8: {
accountId_ = input.readUInt32();
bitField0_ |= 0x00000001;
break;
} // case 8
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private int accountId_ ;
/**
* optional uint32 account_id = 1;
* @return Whether the accountId field is set.
*/
@java.lang.Override
public boolean hasAccountId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional uint32 account_id = 1;
* @return The accountId.
*/
@java.lang.Override
public int getAccountId() {
return accountId_;
}
/**
* optional uint32 account_id = 1;
* @param value The accountId to set.
* @return This builder for chaining.
*/
public Builder setAccountId(int value) {
accountId_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* optional uint32 account_id = 1;
* @return This builder for chaining.
*/
public Builder clearAccountId() {
bitField0_ = (bitField0_ & ~0x00000001);
accountId_ = 0;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:CMsgGC_GameServer_CreateIdentity)
}
// @@protoc_insertion_point(class_scope:CMsgGC_GameServer_CreateIdentity)
private static final in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_CreateIdentity DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_CreateIdentity();
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_CreateIdentity getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public CMsgGC_GameServer_CreateIdentity parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_CreateIdentity getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface CMsgGC_GameServer_CreateIdentityResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:CMsgGC_GameServer_CreateIdentityResponse)
com.google.protobuf.MessageOrBuilder {
/**
* optional bool account_created = 1;
* @return Whether the accountCreated field is set.
*/
boolean hasAccountCreated();
/**
* optional bool account_created = 1;
* @return The accountCreated.
*/
boolean getAccountCreated();
/**
* optional uint32 game_server_account_id = 2;
* @return Whether the gameServerAccountId field is set.
*/
boolean hasGameServerAccountId();
/**
* optional uint32 game_server_account_id = 2;
* @return The gameServerAccountId.
*/
int getGameServerAccountId();
/**
* optional string game_server_identity_token = 3;
* @return Whether the gameServerIdentityToken field is set.
*/
boolean hasGameServerIdentityToken();
/**
* optional string game_server_identity_token = 3;
* @return The gameServerIdentityToken.
*/
java.lang.String getGameServerIdentityToken();
/**
* optional string game_server_identity_token = 3;
* @return The bytes for gameServerIdentityToken.
*/
com.google.protobuf.ByteString
getGameServerIdentityTokenBytes();
/**
* optional .CMsgGC_GameServer_CreateIdentityResponse.EStatus status = 4 [default = kStatus_GenericFailure];
* @return Whether the status field is set.
*/
boolean hasStatus();
/**
* optional .CMsgGC_GameServer_CreateIdentityResponse.EStatus status = 4 [default = kStatus_GenericFailure];
* @return The status.
*/
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_CreateIdentityResponse.EStatus getStatus();
}
/**
* Protobuf type {@code CMsgGC_GameServer_CreateIdentityResponse}
*/
public static final class CMsgGC_GameServer_CreateIdentityResponse extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:CMsgGC_GameServer_CreateIdentityResponse)
CMsgGC_GameServer_CreateIdentityResponseOrBuilder {
private static final long serialVersionUID = 0L;
static {
com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
/* minor= */ 28,
/* patch= */ 0,
/* suffix= */ "",
CMsgGC_GameServer_CreateIdentityResponse.class.getName());
}
// Use CMsgGC_GameServer_CreateIdentityResponse.newBuilder() to construct.
private CMsgGC_GameServer_CreateIdentityResponse(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private CMsgGC_GameServer_CreateIdentityResponse() {
gameServerIdentityToken_ = "";
status_ = 0;
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CMsgGC_GameServer_CreateIdentityResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CMsgGC_GameServer_CreateIdentityResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_CreateIdentityResponse.class, in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_CreateIdentityResponse.Builder.class);
}
/**
* Protobuf enum {@code CMsgGC_GameServer_CreateIdentityResponse.EStatus}
*/
public enum EStatus
implements com.google.protobuf.ProtocolMessageEnum {
/**
* kStatus_GenericFailure = 0;
*/
kStatus_GenericFailure(0),
/**
* kStatus_TooMany = -1;
*/
kStatus_TooMany(-1),
/**
* kStatus_NoPrivs = -2;
*/
kStatus_NoPrivs(-2),
/**
* kStatus_Created = 1;
*/
kStatus_Created(1),
;
static {
com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
/* minor= */ 28,
/* patch= */ 0,
/* suffix= */ "",
EStatus.class.getName());
}
/**
* kStatus_GenericFailure = 0;
*/
public static final int kStatus_GenericFailure_VALUE = 0;
/**
* kStatus_TooMany = -1;
*/
public static final int kStatus_TooMany_VALUE = -1;
/**
* kStatus_NoPrivs = -2;
*/
public static final int kStatus_NoPrivs_VALUE = -2;
/**
* kStatus_Created = 1;
*/
public static final int kStatus_Created_VALUE = 1;
public final int getNumber() {
return value;
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static EStatus valueOf(int value) {
return forNumber(value);
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
*/
public static EStatus forNumber(int value) {
switch (value) {
case 0: return kStatus_GenericFailure;
case -1: return kStatus_TooMany;
case -2: return kStatus_NoPrivs;
case 1: return kStatus_Created;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
EStatus> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
public EStatus findValueByNumber(int number) {
return EStatus.forNumber(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
return getDescriptor().getValues().get(ordinal());
}
public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_CreateIdentityResponse.getDescriptor().getEnumTypes().get(0);
}
private static final EStatus[] VALUES = values();
public static EStatus 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 value;
private EStatus(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:CMsgGC_GameServer_CreateIdentityResponse.EStatus)
}
private int bitField0_;
public static final int ACCOUNT_CREATED_FIELD_NUMBER = 1;
private boolean accountCreated_ = false;
/**
* optional bool account_created = 1;
* @return Whether the accountCreated field is set.
*/
@java.lang.Override
public boolean hasAccountCreated() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional bool account_created = 1;
* @return The accountCreated.
*/
@java.lang.Override
public boolean getAccountCreated() {
return accountCreated_;
}
public static final int GAME_SERVER_ACCOUNT_ID_FIELD_NUMBER = 2;
private int gameServerAccountId_ = 0;
/**
* optional uint32 game_server_account_id = 2;
* @return Whether the gameServerAccountId field is set.
*/
@java.lang.Override
public boolean hasGameServerAccountId() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional uint32 game_server_account_id = 2;
* @return The gameServerAccountId.
*/
@java.lang.Override
public int getGameServerAccountId() {
return gameServerAccountId_;
}
public static final int GAME_SERVER_IDENTITY_TOKEN_FIELD_NUMBER = 3;
@SuppressWarnings("serial")
private volatile java.lang.Object gameServerIdentityToken_ = "";
/**
* optional string game_server_identity_token = 3;
* @return Whether the gameServerIdentityToken field is set.
*/
@java.lang.Override
public boolean hasGameServerIdentityToken() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional string game_server_identity_token = 3;
* @return The gameServerIdentityToken.
*/
@java.lang.Override
public java.lang.String getGameServerIdentityToken() {
java.lang.Object ref = gameServerIdentityToken_;
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()) {
gameServerIdentityToken_ = s;
}
return s;
}
}
/**
* optional string game_server_identity_token = 3;
* @return The bytes for gameServerIdentityToken.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getGameServerIdentityTokenBytes() {
java.lang.Object ref = gameServerIdentityToken_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
gameServerIdentityToken_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int STATUS_FIELD_NUMBER = 4;
private int status_ = 0;
/**
* optional .CMsgGC_GameServer_CreateIdentityResponse.EStatus status = 4 [default = kStatus_GenericFailure];
* @return Whether the status field is set.
*/
@java.lang.Override public boolean hasStatus() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* optional .CMsgGC_GameServer_CreateIdentityResponse.EStatus status = 4 [default = kStatus_GenericFailure];
* @return The status.
*/
@java.lang.Override public in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_CreateIdentityResponse.EStatus getStatus() {
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_CreateIdentityResponse.EStatus result = in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_CreateIdentityResponse.EStatus.forNumber(status_);
return result == null ? in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_CreateIdentityResponse.EStatus.kStatus_GenericFailure : result;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeBool(1, accountCreated_);
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeUInt32(2, gameServerAccountId_);
}
if (((bitField0_ & 0x00000004) != 0)) {
com.google.protobuf.GeneratedMessage.writeString(output, 3, gameServerIdentityToken_);
}
if (((bitField0_ & 0x00000008) != 0)) {
output.writeEnum(4, status_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(1, accountCreated_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(2, gameServerAccountId_);
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.GeneratedMessage.computeStringSize(3, gameServerIdentityToken_);
}
if (((bitField0_ & 0x00000008) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(4, status_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_CreateIdentityResponse)) {
return super.equals(obj);
}
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_CreateIdentityResponse other = (in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_CreateIdentityResponse) obj;
if (hasAccountCreated() != other.hasAccountCreated()) return false;
if (hasAccountCreated()) {
if (getAccountCreated()
!= other.getAccountCreated()) return false;
}
if (hasGameServerAccountId() != other.hasGameServerAccountId()) return false;
if (hasGameServerAccountId()) {
if (getGameServerAccountId()
!= other.getGameServerAccountId()) return false;
}
if (hasGameServerIdentityToken() != other.hasGameServerIdentityToken()) return false;
if (hasGameServerIdentityToken()) {
if (!getGameServerIdentityToken()
.equals(other.getGameServerIdentityToken())) return false;
}
if (hasStatus() != other.hasStatus()) return false;
if (hasStatus()) {
if (status_ != other.status_) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasAccountCreated()) {
hash = (37 * hash) + ACCOUNT_CREATED_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getAccountCreated());
}
if (hasGameServerAccountId()) {
hash = (37 * hash) + GAME_SERVER_ACCOUNT_ID_FIELD_NUMBER;
hash = (53 * hash) + getGameServerAccountId();
}
if (hasGameServerIdentityToken()) {
hash = (37 * hash) + GAME_SERVER_IDENTITY_TOKEN_FIELD_NUMBER;
hash = (53 * hash) + getGameServerIdentityToken().hashCode();
}
if (hasStatus()) {
hash = (37 * hash) + STATUS_FIELD_NUMBER;
hash = (53 * hash) + status_;
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_CreateIdentityResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_CreateIdentityResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_CreateIdentityResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_CreateIdentityResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_CreateIdentityResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_CreateIdentityResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_CreateIdentityResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_CreateIdentityResponse parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_CreateIdentityResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_CreateIdentityResponse parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_CreateIdentityResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_CreateIdentityResponse parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_CreateIdentityResponse prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code CMsgGC_GameServer_CreateIdentityResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:CMsgGC_GameServer_CreateIdentityResponse)
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_CreateIdentityResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CMsgGC_GameServer_CreateIdentityResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CMsgGC_GameServer_CreateIdentityResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_CreateIdentityResponse.class, in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_CreateIdentityResponse.Builder.class);
}
// Construct using in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_CreateIdentityResponse.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
accountCreated_ = false;
gameServerAccountId_ = 0;
gameServerIdentityToken_ = "";
status_ = 0;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CMsgGC_GameServer_CreateIdentityResponse_descriptor;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_CreateIdentityResponse getDefaultInstanceForType() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_CreateIdentityResponse.getDefaultInstance();
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_CreateIdentityResponse build() {
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_CreateIdentityResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_CreateIdentityResponse buildPartial() {
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_CreateIdentityResponse result = new in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_CreateIdentityResponse(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_CreateIdentityResponse result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.accountCreated_ = accountCreated_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.gameServerAccountId_ = gameServerAccountId_;
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.gameServerIdentityToken_ = gameServerIdentityToken_;
to_bitField0_ |= 0x00000004;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
result.status_ = status_;
to_bitField0_ |= 0x00000008;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_CreateIdentityResponse) {
return mergeFrom((in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_CreateIdentityResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_CreateIdentityResponse other) {
if (other == in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_CreateIdentityResponse.getDefaultInstance()) return this;
if (other.hasAccountCreated()) {
setAccountCreated(other.getAccountCreated());
}
if (other.hasGameServerAccountId()) {
setGameServerAccountId(other.getGameServerAccountId());
}
if (other.hasGameServerIdentityToken()) {
gameServerIdentityToken_ = other.gameServerIdentityToken_;
bitField0_ |= 0x00000004;
onChanged();
}
if (other.hasStatus()) {
setStatus(other.getStatus());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8: {
accountCreated_ = input.readBool();
bitField0_ |= 0x00000001;
break;
} // case 8
case 16: {
gameServerAccountId_ = input.readUInt32();
bitField0_ |= 0x00000002;
break;
} // case 16
case 26: {
gameServerIdentityToken_ = input.readBytes();
bitField0_ |= 0x00000004;
break;
} // case 26
case 32: {
int tmpRaw = input.readEnum();
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_CreateIdentityResponse.EStatus tmpValue =
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_CreateIdentityResponse.EStatus.forNumber(tmpRaw);
if (tmpValue == null) {
mergeUnknownVarintField(4, tmpRaw);
} else {
status_ = tmpRaw;
bitField0_ |= 0x00000008;
}
break;
} // case 32
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private boolean accountCreated_ ;
/**
* optional bool account_created = 1;
* @return Whether the accountCreated field is set.
*/
@java.lang.Override
public boolean hasAccountCreated() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional bool account_created = 1;
* @return The accountCreated.
*/
@java.lang.Override
public boolean getAccountCreated() {
return accountCreated_;
}
/**
* optional bool account_created = 1;
* @param value The accountCreated to set.
* @return This builder for chaining.
*/
public Builder setAccountCreated(boolean value) {
accountCreated_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* optional bool account_created = 1;
* @return This builder for chaining.
*/
public Builder clearAccountCreated() {
bitField0_ = (bitField0_ & ~0x00000001);
accountCreated_ = false;
onChanged();
return this;
}
private int gameServerAccountId_ ;
/**
* optional uint32 game_server_account_id = 2;
* @return Whether the gameServerAccountId field is set.
*/
@java.lang.Override
public boolean hasGameServerAccountId() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional uint32 game_server_account_id = 2;
* @return The gameServerAccountId.
*/
@java.lang.Override
public int getGameServerAccountId() {
return gameServerAccountId_;
}
/**
* optional uint32 game_server_account_id = 2;
* @param value The gameServerAccountId to set.
* @return This builder for chaining.
*/
public Builder setGameServerAccountId(int value) {
gameServerAccountId_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* optional uint32 game_server_account_id = 2;
* @return This builder for chaining.
*/
public Builder clearGameServerAccountId() {
bitField0_ = (bitField0_ & ~0x00000002);
gameServerAccountId_ = 0;
onChanged();
return this;
}
private java.lang.Object gameServerIdentityToken_ = "";
/**
* optional string game_server_identity_token = 3;
* @return Whether the gameServerIdentityToken field is set.
*/
public boolean hasGameServerIdentityToken() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional string game_server_identity_token = 3;
* @return The gameServerIdentityToken.
*/
public java.lang.String getGameServerIdentityToken() {
java.lang.Object ref = gameServerIdentityToken_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
gameServerIdentityToken_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string game_server_identity_token = 3;
* @return The bytes for gameServerIdentityToken.
*/
public com.google.protobuf.ByteString
getGameServerIdentityTokenBytes() {
java.lang.Object ref = gameServerIdentityToken_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
gameServerIdentityToken_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string game_server_identity_token = 3;
* @param value The gameServerIdentityToken to set.
* @return This builder for chaining.
*/
public Builder setGameServerIdentityToken(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
gameServerIdentityToken_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* optional string game_server_identity_token = 3;
* @return This builder for chaining.
*/
public Builder clearGameServerIdentityToken() {
gameServerIdentityToken_ = getDefaultInstance().getGameServerIdentityToken();
bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
return this;
}
/**
* optional string game_server_identity_token = 3;
* @param value The bytes for gameServerIdentityToken to set.
* @return This builder for chaining.
*/
public Builder setGameServerIdentityTokenBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
gameServerIdentityToken_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
private int status_ = 0;
/**
* optional .CMsgGC_GameServer_CreateIdentityResponse.EStatus status = 4 [default = kStatus_GenericFailure];
* @return Whether the status field is set.
*/
@java.lang.Override public boolean hasStatus() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* optional .CMsgGC_GameServer_CreateIdentityResponse.EStatus status = 4 [default = kStatus_GenericFailure];
* @return The status.
*/
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_CreateIdentityResponse.EStatus getStatus() {
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_CreateIdentityResponse.EStatus result = in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_CreateIdentityResponse.EStatus.forNumber(status_);
return result == null ? in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_CreateIdentityResponse.EStatus.kStatus_GenericFailure : result;
}
/**
* optional .CMsgGC_GameServer_CreateIdentityResponse.EStatus status = 4 [default = kStatus_GenericFailure];
* @param value The status to set.
* @return This builder for chaining.
*/
public Builder setStatus(in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_CreateIdentityResponse.EStatus value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000008;
status_ = value.getNumber();
onChanged();
return this;
}
/**
* optional .CMsgGC_GameServer_CreateIdentityResponse.EStatus status = 4 [default = kStatus_GenericFailure];
* @return This builder for chaining.
*/
public Builder clearStatus() {
bitField0_ = (bitField0_ & ~0x00000008);
status_ = 0;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:CMsgGC_GameServer_CreateIdentityResponse)
}
// @@protoc_insertion_point(class_scope:CMsgGC_GameServer_CreateIdentityResponse)
private static final in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_CreateIdentityResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_CreateIdentityResponse();
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_CreateIdentityResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public CMsgGC_GameServer_CreateIdentityResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_CreateIdentityResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface CMsgGC_GameServer_ListOrBuilder extends
// @@protoc_insertion_point(interface_extends:CMsgGC_GameServer_List)
com.google.protobuf.MessageOrBuilder {
/**
* optional uint32 account_id = 1;
* @return Whether the accountId field is set.
*/
boolean hasAccountId();
/**
* optional uint32 account_id = 1;
* @return The accountId.
*/
int getAccountId();
}
/**
* Protobuf type {@code CMsgGC_GameServer_List}
*/
public static final class CMsgGC_GameServer_List extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:CMsgGC_GameServer_List)
CMsgGC_GameServer_ListOrBuilder {
private static final long serialVersionUID = 0L;
static {
com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
/* minor= */ 28,
/* patch= */ 0,
/* suffix= */ "",
CMsgGC_GameServer_List.class.getName());
}
// Use CMsgGC_GameServer_List.newBuilder() to construct.
private CMsgGC_GameServer_List(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private CMsgGC_GameServer_List() {
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CMsgGC_GameServer_List_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CMsgGC_GameServer_List_fieldAccessorTable
.ensureFieldAccessorsInitialized(
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_List.class, in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_List.Builder.class);
}
private int bitField0_;
public static final int ACCOUNT_ID_FIELD_NUMBER = 1;
private int accountId_ = 0;
/**
* optional uint32 account_id = 1;
* @return Whether the accountId field is set.
*/
@java.lang.Override
public boolean hasAccountId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional uint32 account_id = 1;
* @return The accountId.
*/
@java.lang.Override
public int getAccountId() {
return accountId_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeUInt32(1, accountId_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(1, accountId_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_List)) {
return super.equals(obj);
}
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_List other = (in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_List) obj;
if (hasAccountId() != other.hasAccountId()) return false;
if (hasAccountId()) {
if (getAccountId()
!= other.getAccountId()) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasAccountId()) {
hash = (37 * hash) + ACCOUNT_ID_FIELD_NUMBER;
hash = (53 * hash) + getAccountId();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_List parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_List parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_List parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_List parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_List parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_List parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_List parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_List parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_List parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_List parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_List parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_List parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_List prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code CMsgGC_GameServer_List}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:CMsgGC_GameServer_List)
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_ListOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CMsgGC_GameServer_List_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CMsgGC_GameServer_List_fieldAccessorTable
.ensureFieldAccessorsInitialized(
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_List.class, in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_List.Builder.class);
}
// Construct using in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_List.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
accountId_ = 0;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.internal_static_CMsgGC_GameServer_List_descriptor;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_List getDefaultInstanceForType() {
return in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_List.getDefaultInstance();
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_List build() {
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_List result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_List buildPartial() {
in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_List result = new in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_List(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_List result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.accountId_ = accountId_;
to_bitField0_ |= 0x00000001;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_List) {
return mergeFrom((in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_List)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_List other) {
if (other == in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_List.getDefaultInstance()) return this;
if (other.hasAccountId()) {
setAccountId(other.getAccountId());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8: {
accountId_ = input.readUInt32();
bitField0_ |= 0x00000001;
break;
} // case 8
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private int accountId_ ;
/**
* optional uint32 account_id = 1;
* @return Whether the accountId field is set.
*/
@java.lang.Override
public boolean hasAccountId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional uint32 account_id = 1;
* @return The accountId.
*/
@java.lang.Override
public int getAccountId() {
return accountId_;
}
/**
* optional uint32 account_id = 1;
* @param value The accountId to set.
* @return This builder for chaining.
*/
public Builder setAccountId(int value) {
accountId_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* optional uint32 account_id = 1;
* @return This builder for chaining.
*/
public Builder clearAccountId() {
bitField0_ = (bitField0_ & ~0x00000001);
accountId_ = 0;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:CMsgGC_GameServer_List)
}
// @@protoc_insertion_point(class_scope:CMsgGC_GameServer_List)
private static final in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_List DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_List();
}
public static in.dragonbra.javasteam.protobufs.tf.TfGcmessages.CMsgGC_GameServer_List getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public CMsgGC_GameServer_List parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser