1 // Generated by the protocol buffer compiler.  DO NOT EDIT!
2 // source: pokerth.proto
3 
4 #define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION
5 #include "pokerth.pb.h"
6 
7 #include <algorithm>
8 
9 #include <google/protobuf/stubs/common.h>
10 #include <google/protobuf/stubs/once.h>
11 #include <google/protobuf/io/coded_stream.h>
12 #include <google/protobuf/wire_format_lite_inl.h>
13 #include <google/protobuf/io/zero_copy_stream_impl_lite.h>
14 // @@protoc_insertion_point(includes)
15 
protobuf_ShutdownFile_pokerth_2eproto()16 void protobuf_ShutdownFile_pokerth_2eproto() {
17   delete NetGameInfo::default_instance_;
18   delete PlayerResult::default_instance_;
19   delete AnnounceMessage::default_instance_;
20   delete AnnounceMessage_Version::default_instance_;
21   delete InitMessage::default_instance_;
22   delete AuthServerChallengeMessage::default_instance_;
23   delete AuthClientResponseMessage::default_instance_;
24   delete AuthServerVerificationMessage::default_instance_;
25   delete InitAckMessage::default_instance_;
26   delete AvatarRequestMessage::default_instance_;
27   delete AvatarHeaderMessage::default_instance_;
28   delete AvatarDataMessage::default_instance_;
29   delete AvatarEndMessage::default_instance_;
30   delete UnknownAvatarMessage::default_instance_;
31   delete PlayerListMessage::default_instance_;
32   delete GameListNewMessage::default_instance_;
33   delete GameListUpdateMessage::default_instance_;
34   delete GameListPlayerJoinedMessage::default_instance_;
35   delete GameListPlayerLeftMessage::default_instance_;
36   delete GameListSpectatorJoinedMessage::default_instance_;
37   delete GameListSpectatorLeftMessage::default_instance_;
38   delete GameListAdminChangedMessage::default_instance_;
39   delete PlayerInfoRequestMessage::default_instance_;
40   delete PlayerInfoReplyMessage::default_instance_;
41   delete PlayerInfoReplyMessage_PlayerInfoData::default_instance_;
42   delete PlayerInfoReplyMessage_PlayerInfoData_AvatarData::default_instance_;
43   delete SubscriptionRequestMessage::default_instance_;
44   delete JoinExistingGameMessage::default_instance_;
45   delete JoinNewGameMessage::default_instance_;
46   delete RejoinExistingGameMessage::default_instance_;
47   delete JoinGameAckMessage::default_instance_;
48   delete JoinGameFailedMessage::default_instance_;
49   delete GamePlayerJoinedMessage::default_instance_;
50   delete GamePlayerLeftMessage::default_instance_;
51   delete GameSpectatorJoinedMessage::default_instance_;
52   delete GameSpectatorLeftMessage::default_instance_;
53   delete GameAdminChangedMessage::default_instance_;
54   delete RemovedFromGameMessage::default_instance_;
55   delete KickPlayerRequestMessage::default_instance_;
56   delete LeaveGameRequestMessage::default_instance_;
57   delete InvitePlayerToGameMessage::default_instance_;
58   delete InviteNotifyMessage::default_instance_;
59   delete RejectGameInvitationMessage::default_instance_;
60   delete RejectInvNotifyMessage::default_instance_;
61   delete StartEventMessage::default_instance_;
62   delete StartEventAckMessage::default_instance_;
63   delete GameStartInitialMessage::default_instance_;
64   delete GameStartRejoinMessage::default_instance_;
65   delete GameStartRejoinMessage_RejoinPlayerData::default_instance_;
66   delete HandStartMessage::default_instance_;
67   delete HandStartMessage_PlainCards::default_instance_;
68   delete PlayersTurnMessage::default_instance_;
69   delete MyActionRequestMessage::default_instance_;
70   delete YourActionRejectedMessage::default_instance_;
71   delete PlayersActionDoneMessage::default_instance_;
72   delete DealFlopCardsMessage::default_instance_;
73   delete DealTurnCardMessage::default_instance_;
74   delete DealRiverCardMessage::default_instance_;
75   delete AllInShowCardsMessage::default_instance_;
76   delete AllInShowCardsMessage_PlayerAllIn::default_instance_;
77   delete EndOfHandShowCardsMessage::default_instance_;
78   delete EndOfHandHideCardsMessage::default_instance_;
79   delete ShowMyCardsRequestMessage::default_instance_;
80   delete AfterHandShowCardsMessage::default_instance_;
81   delete EndOfGameMessage::default_instance_;
82   delete PlayerIdChangedMessage::default_instance_;
83   delete AskKickPlayerMessage::default_instance_;
84   delete AskKickDeniedMessage::default_instance_;
85   delete StartKickPetitionMessage::default_instance_;
86   delete VoteKickRequestMessage::default_instance_;
87   delete VoteKickReplyMessage::default_instance_;
88   delete KickPetitionUpdateMessage::default_instance_;
89   delete EndKickPetitionMessage::default_instance_;
90   delete StatisticsMessage::default_instance_;
91   delete StatisticsMessage_StatisticsData::default_instance_;
92   delete ChatRequestMessage::default_instance_;
93   delete ChatMessage::default_instance_;
94   delete ChatRejectMessage::default_instance_;
95   delete DialogMessage::default_instance_;
96   delete TimeoutWarningMessage::default_instance_;
97   delete ResetTimeoutMessage::default_instance_;
98   delete ReportAvatarMessage::default_instance_;
99   delete ReportAvatarAckMessage::default_instance_;
100   delete ReportGameMessage::default_instance_;
101   delete ReportGameAckMessage::default_instance_;
102   delete ErrorMessage::default_instance_;
103   delete AdminRemoveGameMessage::default_instance_;
104   delete AdminRemoveGameAckMessage::default_instance_;
105   delete AdminBanPlayerMessage::default_instance_;
106   delete AdminBanPlayerAckMessage::default_instance_;
107   delete PokerTHMessage::default_instance_;
108 }
109 
110 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
protobuf_AddDesc_pokerth_2eproto_impl()111 void protobuf_AddDesc_pokerth_2eproto_impl() {
112   GOOGLE_PROTOBUF_VERIFY_VERSION;
113 
114 #else
115 void protobuf_AddDesc_pokerth_2eproto() {
116   static bool already_here = false;
117   if (already_here) return;
118   already_here = true;
119   GOOGLE_PROTOBUF_VERIFY_VERSION;
120 
121 #endif
122   NetGameInfo::default_instance_ = new NetGameInfo();
123   PlayerResult::default_instance_ = new PlayerResult();
124   AnnounceMessage::default_instance_ = new AnnounceMessage();
125   AnnounceMessage_Version::default_instance_ = new AnnounceMessage_Version();
126   InitMessage::default_instance_ = new InitMessage();
127   AuthServerChallengeMessage::default_instance_ = new AuthServerChallengeMessage();
128   AuthClientResponseMessage::default_instance_ = new AuthClientResponseMessage();
129   AuthServerVerificationMessage::default_instance_ = new AuthServerVerificationMessage();
130   InitAckMessage::default_instance_ = new InitAckMessage();
131   AvatarRequestMessage::default_instance_ = new AvatarRequestMessage();
132   AvatarHeaderMessage::default_instance_ = new AvatarHeaderMessage();
133   AvatarDataMessage::default_instance_ = new AvatarDataMessage();
134   AvatarEndMessage::default_instance_ = new AvatarEndMessage();
135   UnknownAvatarMessage::default_instance_ = new UnknownAvatarMessage();
136   PlayerListMessage::default_instance_ = new PlayerListMessage();
137   GameListNewMessage::default_instance_ = new GameListNewMessage();
138   GameListUpdateMessage::default_instance_ = new GameListUpdateMessage();
139   GameListPlayerJoinedMessage::default_instance_ = new GameListPlayerJoinedMessage();
140   GameListPlayerLeftMessage::default_instance_ = new GameListPlayerLeftMessage();
141   GameListSpectatorJoinedMessage::default_instance_ = new GameListSpectatorJoinedMessage();
142   GameListSpectatorLeftMessage::default_instance_ = new GameListSpectatorLeftMessage();
143   GameListAdminChangedMessage::default_instance_ = new GameListAdminChangedMessage();
144   PlayerInfoRequestMessage::default_instance_ = new PlayerInfoRequestMessage();
145   PlayerInfoReplyMessage::default_instance_ = new PlayerInfoReplyMessage();
146   PlayerInfoReplyMessage_PlayerInfoData::default_instance_ = new PlayerInfoReplyMessage_PlayerInfoData();
147   PlayerInfoReplyMessage_PlayerInfoData_AvatarData::default_instance_ = new PlayerInfoReplyMessage_PlayerInfoData_AvatarData();
148   SubscriptionRequestMessage::default_instance_ = new SubscriptionRequestMessage();
149   JoinExistingGameMessage::default_instance_ = new JoinExistingGameMessage();
150   JoinNewGameMessage::default_instance_ = new JoinNewGameMessage();
151   RejoinExistingGameMessage::default_instance_ = new RejoinExistingGameMessage();
152   JoinGameAckMessage::default_instance_ = new JoinGameAckMessage();
153   JoinGameFailedMessage::default_instance_ = new JoinGameFailedMessage();
154   GamePlayerJoinedMessage::default_instance_ = new GamePlayerJoinedMessage();
155   GamePlayerLeftMessage::default_instance_ = new GamePlayerLeftMessage();
156   GameSpectatorJoinedMessage::default_instance_ = new GameSpectatorJoinedMessage();
157   GameSpectatorLeftMessage::default_instance_ = new GameSpectatorLeftMessage();
158   GameAdminChangedMessage::default_instance_ = new GameAdminChangedMessage();
159   RemovedFromGameMessage::default_instance_ = new RemovedFromGameMessage();
160   KickPlayerRequestMessage::default_instance_ = new KickPlayerRequestMessage();
161   LeaveGameRequestMessage::default_instance_ = new LeaveGameRequestMessage();
162   InvitePlayerToGameMessage::default_instance_ = new InvitePlayerToGameMessage();
163   InviteNotifyMessage::default_instance_ = new InviteNotifyMessage();
164   RejectGameInvitationMessage::default_instance_ = new RejectGameInvitationMessage();
165   RejectInvNotifyMessage::default_instance_ = new RejectInvNotifyMessage();
166   StartEventMessage::default_instance_ = new StartEventMessage();
167   StartEventAckMessage::default_instance_ = new StartEventAckMessage();
168   GameStartInitialMessage::default_instance_ = new GameStartInitialMessage();
169   GameStartRejoinMessage::default_instance_ = new GameStartRejoinMessage();
170   GameStartRejoinMessage_RejoinPlayerData::default_instance_ = new GameStartRejoinMessage_RejoinPlayerData();
171   HandStartMessage::default_instance_ = new HandStartMessage();
172   HandStartMessage_PlainCards::default_instance_ = new HandStartMessage_PlainCards();
173   PlayersTurnMessage::default_instance_ = new PlayersTurnMessage();
174   MyActionRequestMessage::default_instance_ = new MyActionRequestMessage();
175   YourActionRejectedMessage::default_instance_ = new YourActionRejectedMessage();
176   PlayersActionDoneMessage::default_instance_ = new PlayersActionDoneMessage();
177   DealFlopCardsMessage::default_instance_ = new DealFlopCardsMessage();
178   DealTurnCardMessage::default_instance_ = new DealTurnCardMessage();
179   DealRiverCardMessage::default_instance_ = new DealRiverCardMessage();
180   AllInShowCardsMessage::default_instance_ = new AllInShowCardsMessage();
181   AllInShowCardsMessage_PlayerAllIn::default_instance_ = new AllInShowCardsMessage_PlayerAllIn();
182   EndOfHandShowCardsMessage::default_instance_ = new EndOfHandShowCardsMessage();
183   EndOfHandHideCardsMessage::default_instance_ = new EndOfHandHideCardsMessage();
184   ShowMyCardsRequestMessage::default_instance_ = new ShowMyCardsRequestMessage();
185   AfterHandShowCardsMessage::default_instance_ = new AfterHandShowCardsMessage();
186   EndOfGameMessage::default_instance_ = new EndOfGameMessage();
187   PlayerIdChangedMessage::default_instance_ = new PlayerIdChangedMessage();
188   AskKickPlayerMessage::default_instance_ = new AskKickPlayerMessage();
189   AskKickDeniedMessage::default_instance_ = new AskKickDeniedMessage();
190   StartKickPetitionMessage::default_instance_ = new StartKickPetitionMessage();
191   VoteKickRequestMessage::default_instance_ = new VoteKickRequestMessage();
192   VoteKickReplyMessage::default_instance_ = new VoteKickReplyMessage();
193   KickPetitionUpdateMessage::default_instance_ = new KickPetitionUpdateMessage();
194   EndKickPetitionMessage::default_instance_ = new EndKickPetitionMessage();
195   StatisticsMessage::default_instance_ = new StatisticsMessage();
196   StatisticsMessage_StatisticsData::default_instance_ = new StatisticsMessage_StatisticsData();
197   ChatRequestMessage::default_instance_ = new ChatRequestMessage();
198   ChatMessage::default_instance_ = new ChatMessage();
199   ChatRejectMessage::default_instance_ = new ChatRejectMessage();
200   DialogMessage::default_instance_ = new DialogMessage();
201   TimeoutWarningMessage::default_instance_ = new TimeoutWarningMessage();
202   ResetTimeoutMessage::default_instance_ = new ResetTimeoutMessage();
203   ReportAvatarMessage::default_instance_ = new ReportAvatarMessage();
204   ReportAvatarAckMessage::default_instance_ = new ReportAvatarAckMessage();
205   ReportGameMessage::default_instance_ = new ReportGameMessage();
206   ReportGameAckMessage::default_instance_ = new ReportGameAckMessage();
207   ErrorMessage::default_instance_ = new ErrorMessage();
208   AdminRemoveGameMessage::default_instance_ = new AdminRemoveGameMessage();
209   AdminRemoveGameAckMessage::default_instance_ = new AdminRemoveGameAckMessage();
210   AdminBanPlayerMessage::default_instance_ = new AdminBanPlayerMessage();
211   AdminBanPlayerAckMessage::default_instance_ = new AdminBanPlayerAckMessage();
212   PokerTHMessage::default_instance_ = new PokerTHMessage();
213   NetGameInfo::default_instance_->InitAsDefaultInstance();
214   PlayerResult::default_instance_->InitAsDefaultInstance();
215   AnnounceMessage::default_instance_->InitAsDefaultInstance();
216   AnnounceMessage_Version::default_instance_->InitAsDefaultInstance();
217   InitMessage::default_instance_->InitAsDefaultInstance();
218   AuthServerChallengeMessage::default_instance_->InitAsDefaultInstance();
219   AuthClientResponseMessage::default_instance_->InitAsDefaultInstance();
220   AuthServerVerificationMessage::default_instance_->InitAsDefaultInstance();
221   InitAckMessage::default_instance_->InitAsDefaultInstance();
222   AvatarRequestMessage::default_instance_->InitAsDefaultInstance();
223   AvatarHeaderMessage::default_instance_->InitAsDefaultInstance();
224   AvatarDataMessage::default_instance_->InitAsDefaultInstance();
225   AvatarEndMessage::default_instance_->InitAsDefaultInstance();
226   UnknownAvatarMessage::default_instance_->InitAsDefaultInstance();
227   PlayerListMessage::default_instance_->InitAsDefaultInstance();
228   GameListNewMessage::default_instance_->InitAsDefaultInstance();
229   GameListUpdateMessage::default_instance_->InitAsDefaultInstance();
230   GameListPlayerJoinedMessage::default_instance_->InitAsDefaultInstance();
231   GameListPlayerLeftMessage::default_instance_->InitAsDefaultInstance();
232   GameListSpectatorJoinedMessage::default_instance_->InitAsDefaultInstance();
233   GameListSpectatorLeftMessage::default_instance_->InitAsDefaultInstance();
234   GameListAdminChangedMessage::default_instance_->InitAsDefaultInstance();
235   PlayerInfoRequestMessage::default_instance_->InitAsDefaultInstance();
236   PlayerInfoReplyMessage::default_instance_->InitAsDefaultInstance();
237   PlayerInfoReplyMessage_PlayerInfoData::default_instance_->InitAsDefaultInstance();
238   PlayerInfoReplyMessage_PlayerInfoData_AvatarData::default_instance_->InitAsDefaultInstance();
239   SubscriptionRequestMessage::default_instance_->InitAsDefaultInstance();
240   JoinExistingGameMessage::default_instance_->InitAsDefaultInstance();
241   JoinNewGameMessage::default_instance_->InitAsDefaultInstance();
242   RejoinExistingGameMessage::default_instance_->InitAsDefaultInstance();
243   JoinGameAckMessage::default_instance_->InitAsDefaultInstance();
244   JoinGameFailedMessage::default_instance_->InitAsDefaultInstance();
245   GamePlayerJoinedMessage::default_instance_->InitAsDefaultInstance();
246   GamePlayerLeftMessage::default_instance_->InitAsDefaultInstance();
247   GameSpectatorJoinedMessage::default_instance_->InitAsDefaultInstance();
248   GameSpectatorLeftMessage::default_instance_->InitAsDefaultInstance();
249   GameAdminChangedMessage::default_instance_->InitAsDefaultInstance();
250   RemovedFromGameMessage::default_instance_->InitAsDefaultInstance();
251   KickPlayerRequestMessage::default_instance_->InitAsDefaultInstance();
252   LeaveGameRequestMessage::default_instance_->InitAsDefaultInstance();
253   InvitePlayerToGameMessage::default_instance_->InitAsDefaultInstance();
254   InviteNotifyMessage::default_instance_->InitAsDefaultInstance();
255   RejectGameInvitationMessage::default_instance_->InitAsDefaultInstance();
256   RejectInvNotifyMessage::default_instance_->InitAsDefaultInstance();
257   StartEventMessage::default_instance_->InitAsDefaultInstance();
258   StartEventAckMessage::default_instance_->InitAsDefaultInstance();
259   GameStartInitialMessage::default_instance_->InitAsDefaultInstance();
260   GameStartRejoinMessage::default_instance_->InitAsDefaultInstance();
261   GameStartRejoinMessage_RejoinPlayerData::default_instance_->InitAsDefaultInstance();
262   HandStartMessage::default_instance_->InitAsDefaultInstance();
263   HandStartMessage_PlainCards::default_instance_->InitAsDefaultInstance();
264   PlayersTurnMessage::default_instance_->InitAsDefaultInstance();
265   MyActionRequestMessage::default_instance_->InitAsDefaultInstance();
266   YourActionRejectedMessage::default_instance_->InitAsDefaultInstance();
267   PlayersActionDoneMessage::default_instance_->InitAsDefaultInstance();
268   DealFlopCardsMessage::default_instance_->InitAsDefaultInstance();
269   DealTurnCardMessage::default_instance_->InitAsDefaultInstance();
270   DealRiverCardMessage::default_instance_->InitAsDefaultInstance();
271   AllInShowCardsMessage::default_instance_->InitAsDefaultInstance();
272   AllInShowCardsMessage_PlayerAllIn::default_instance_->InitAsDefaultInstance();
273   EndOfHandShowCardsMessage::default_instance_->InitAsDefaultInstance();
274   EndOfHandHideCardsMessage::default_instance_->InitAsDefaultInstance();
275   ShowMyCardsRequestMessage::default_instance_->InitAsDefaultInstance();
276   AfterHandShowCardsMessage::default_instance_->InitAsDefaultInstance();
277   EndOfGameMessage::default_instance_->InitAsDefaultInstance();
278   PlayerIdChangedMessage::default_instance_->InitAsDefaultInstance();
279   AskKickPlayerMessage::default_instance_->InitAsDefaultInstance();
280   AskKickDeniedMessage::default_instance_->InitAsDefaultInstance();
281   StartKickPetitionMessage::default_instance_->InitAsDefaultInstance();
282   VoteKickRequestMessage::default_instance_->InitAsDefaultInstance();
283   VoteKickReplyMessage::default_instance_->InitAsDefaultInstance();
284   KickPetitionUpdateMessage::default_instance_->InitAsDefaultInstance();
285   EndKickPetitionMessage::default_instance_->InitAsDefaultInstance();
286   StatisticsMessage::default_instance_->InitAsDefaultInstance();
287   StatisticsMessage_StatisticsData::default_instance_->InitAsDefaultInstance();
288   ChatRequestMessage::default_instance_->InitAsDefaultInstance();
289   ChatMessage::default_instance_->InitAsDefaultInstance();
290   ChatRejectMessage::default_instance_->InitAsDefaultInstance();
291   DialogMessage::default_instance_->InitAsDefaultInstance();
292   TimeoutWarningMessage::default_instance_->InitAsDefaultInstance();
293   ResetTimeoutMessage::default_instance_->InitAsDefaultInstance();
294   ReportAvatarMessage::default_instance_->InitAsDefaultInstance();
295   ReportAvatarAckMessage::default_instance_->InitAsDefaultInstance();
296   ReportGameMessage::default_instance_->InitAsDefaultInstance();
297   ReportGameAckMessage::default_instance_->InitAsDefaultInstance();
298   ErrorMessage::default_instance_->InitAsDefaultInstance();
299   AdminRemoveGameMessage::default_instance_->InitAsDefaultInstance();
300   AdminRemoveGameAckMessage::default_instance_->InitAsDefaultInstance();
301   AdminBanPlayerMessage::default_instance_->InitAsDefaultInstance();
302   AdminBanPlayerAckMessage::default_instance_->InitAsDefaultInstance();
303   PokerTHMessage::default_instance_->InitAsDefaultInstance();
304   ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_pokerth_2eproto);
305 }
306 
307 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
308 GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AddDesc_pokerth_2eproto_once_);
309 void protobuf_AddDesc_pokerth_2eproto() {
310   ::google::protobuf::GoogleOnceInit(&protobuf_AddDesc_pokerth_2eproto_once_,
311                  &protobuf_AddDesc_pokerth_2eproto_impl);
312 }
313 #else
314 // Force AddDescriptors() to be called at static initialization time.
315 struct StaticDescriptorInitializer_pokerth_2eproto {
316   StaticDescriptorInitializer_pokerth_2eproto() {
317     protobuf_AddDesc_pokerth_2eproto();
318   }
319 } static_descriptor_initializer_pokerth_2eproto_;
320 #endif
321 bool NetGameMode_IsValid(int value) {
322   switch(value) {
323     case 1:
324     case 2:
325     case 3:
326       return true;
327     default:
328       return false;
329   }
330 }
331 
332 bool NetGameState_IsValid(int value) {
333   switch(value) {
334     case 0:
335     case 1:
336     case 2:
337     case 3:
338     case 4:
339     case 5:
340       return true;
341     default:
342       return false;
343   }
344 }
345 
346 bool NetPlayerAction_IsValid(int value) {
347   switch(value) {
348     case 0:
349     case 1:
350     case 2:
351     case 3:
352     case 4:
353     case 5:
354     case 6:
355       return true;
356     default:
357       return false;
358   }
359 }
360 
361 bool NetPlayerState_IsValid(int value) {
362   switch(value) {
363     case 0:
364     case 1:
365     case 2:
366       return true;
367     default:
368       return false;
369   }
370 }
371 
372 bool NetPlayerInfoRights_IsValid(int value) {
373   switch(value) {
374     case 1:
375     case 2:
376     case 3:
377       return true;
378     default:
379       return false;
380   }
381 }
382 
383 bool NetAvatarType_IsValid(int value) {
384   switch(value) {
385     case 1:
386     case 2:
387     case 3:
388       return true;
389     default:
390       return false;
391   }
392 }
393 
394 
395 // ===================================================================
396 
397 bool NetGameInfo_NetGameType_IsValid(int value) {
398   switch(value) {
399     case 1:
400     case 2:
401     case 3:
402     case 4:
403       return true;
404     default:
405       return false;
406   }
407 }
408 
409 #ifndef _MSC_VER
410 const NetGameInfo_NetGameType NetGameInfo::normalGame;
411 const NetGameInfo_NetGameType NetGameInfo::registeredOnlyGame;
412 const NetGameInfo_NetGameType NetGameInfo::inviteOnlyGame;
413 const NetGameInfo_NetGameType NetGameInfo::rankingGame;
414 const NetGameInfo_NetGameType NetGameInfo::NetGameType_MIN;
415 const NetGameInfo_NetGameType NetGameInfo::NetGameType_MAX;
416 const int NetGameInfo::NetGameType_ARRAYSIZE;
417 #endif  // _MSC_VER
418 bool NetGameInfo_RaiseIntervalMode_IsValid(int value) {
419   switch(value) {
420     case 1:
421     case 2:
422       return true;
423     default:
424       return false;
425   }
426 }
427 
428 #ifndef _MSC_VER
429 const NetGameInfo_RaiseIntervalMode NetGameInfo::raiseOnHandNum;
430 const NetGameInfo_RaiseIntervalMode NetGameInfo::raiseOnMinutes;
431 const NetGameInfo_RaiseIntervalMode NetGameInfo::RaiseIntervalMode_MIN;
432 const NetGameInfo_RaiseIntervalMode NetGameInfo::RaiseIntervalMode_MAX;
433 const int NetGameInfo::RaiseIntervalMode_ARRAYSIZE;
434 #endif  // _MSC_VER
435 bool NetGameInfo_EndRaiseMode_IsValid(int value) {
436   switch(value) {
437     case 1:
438     case 2:
439     case 3:
440       return true;
441     default:
442       return false;
443   }
444 }
445 
446 #ifndef _MSC_VER
447 const NetGameInfo_EndRaiseMode NetGameInfo::doubleBlinds;
448 const NetGameInfo_EndRaiseMode NetGameInfo::raiseByEndValue;
449 const NetGameInfo_EndRaiseMode NetGameInfo::keepLastBlind;
450 const NetGameInfo_EndRaiseMode NetGameInfo::EndRaiseMode_MIN;
451 const NetGameInfo_EndRaiseMode NetGameInfo::EndRaiseMode_MAX;
452 const int NetGameInfo::EndRaiseMode_ARRAYSIZE;
453 #endif  // _MSC_VER
454 #ifndef _MSC_VER
455 const int NetGameInfo::kGameNameFieldNumber;
456 const int NetGameInfo::kNetGameTypeFieldNumber;
457 const int NetGameInfo::kMaxNumPlayersFieldNumber;
458 const int NetGameInfo::kRaiseIntervalModeFieldNumber;
459 const int NetGameInfo::kRaiseEveryHandsFieldNumber;
460 const int NetGameInfo::kRaiseEveryMinutesFieldNumber;
461 const int NetGameInfo::kEndRaiseModeFieldNumber;
462 const int NetGameInfo::kEndRaiseSmallBlindValueFieldNumber;
463 const int NetGameInfo::kProposedGuiSpeedFieldNumber;
464 const int NetGameInfo::kDelayBetweenHandsFieldNumber;
465 const int NetGameInfo::kPlayerActionTimeoutFieldNumber;
466 const int NetGameInfo::kFirstSmallBlindFieldNumber;
467 const int NetGameInfo::kStartMoneyFieldNumber;
468 const int NetGameInfo::kManualBlindsFieldNumber;
469 const int NetGameInfo::kAllowSpectatorsFieldNumber;
470 #endif  // !_MSC_VER
471 
472 NetGameInfo::NetGameInfo()
473   : ::google::protobuf::MessageLite() {
474   SharedCtor();
475   // @@protoc_insertion_point(constructor:NetGameInfo)
476 }
477 
478 void NetGameInfo::InitAsDefaultInstance() {
479 }
480 
481 NetGameInfo::NetGameInfo(const NetGameInfo& from)
482   : ::google::protobuf::MessageLite() {
483   SharedCtor();
484   MergeFrom(from);
485   // @@protoc_insertion_point(copy_constructor:NetGameInfo)
486 }
487 
488 void NetGameInfo::SharedCtor() {
489   ::google::protobuf::internal::GetEmptyString();
490   _cached_size_ = 0;
491   gamename_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
492   netgametype_ = 1;
493   maxnumplayers_ = 0u;
494   raiseintervalmode_ = 1;
495   raiseeveryhands_ = 0u;
496   raiseeveryminutes_ = 0u;
497   endraisemode_ = 1;
498   endraisesmallblindvalue_ = 0u;
499   proposedguispeed_ = 0u;
500   delaybetweenhands_ = 0u;
501   playeractiontimeout_ = 0u;
502   firstsmallblind_ = 0u;
503   startmoney_ = 0u;
504   allowspectators_ = true;
505   ::memset(_has_bits_, 0, sizeof(_has_bits_));
506 }
507 
508 NetGameInfo::~NetGameInfo() {
509   // @@protoc_insertion_point(destructor:NetGameInfo)
510   SharedDtor();
511 }
512 
513 void NetGameInfo::SharedDtor() {
514   if (gamename_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
515     delete gamename_;
516   }
517   #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
518   if (this != &default_instance()) {
519   #else
520   if (this != default_instance_) {
521   #endif
522   }
523 }
524 
525 void NetGameInfo::SetCachedSize(int size) const {
526   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
527   _cached_size_ = size;
528   GOOGLE_SAFE_CONCURRENT_WRITES_END();
529 }
530 const NetGameInfo& NetGameInfo::default_instance() {
531 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
532   protobuf_AddDesc_pokerth_2eproto();
533 #else
534   if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto();
535 #endif
536   return *default_instance_;
537 }
538 
539 NetGameInfo* NetGameInfo::default_instance_ = NULL;
540 
541 NetGameInfo* NetGameInfo::New() const {
542   return new NetGameInfo;
543 }
544 
545 void NetGameInfo::Clear() {
546 #define OFFSET_OF_FIELD_(f) (reinterpret_cast<char*>(      \
547   &reinterpret_cast<NetGameInfo*>(16)->f) - \
548    reinterpret_cast<char*>(16))
549 
550 #define ZR_(first, last) do {                              \
551     size_t f = OFFSET_OF_FIELD_(first);                    \
552     size_t n = OFFSET_OF_FIELD_(last) - f + sizeof(last);  \
553     ::memset(&first, 0, n);                                \
554   } while (0)
555 
556   if (_has_bits_[0 / 32] & 255) {
557     ZR_(raiseeveryhands_, raiseeveryminutes_);
558     if (has_gamename()) {
559       if (gamename_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
560         gamename_->clear();
561       }
562     }
563     netgametype_ = 1;
564     maxnumplayers_ = 0u;
565     raiseintervalmode_ = 1;
566     endraisemode_ = 1;
567     endraisesmallblindvalue_ = 0u;
568   }
569   if (_has_bits_[8 / 32] & 24320) {
570     ZR_(proposedguispeed_, startmoney_);
571     allowspectators_ = true;
572   }
573 
574 #undef OFFSET_OF_FIELD_
575 #undef ZR_
576 
577   manualblinds_.Clear();
578   ::memset(_has_bits_, 0, sizeof(_has_bits_));
579   mutable_unknown_fields()->clear();
580 }
581 
582 bool NetGameInfo::MergePartialFromCodedStream(
583     ::google::protobuf::io::CodedInputStream* input) {
584 #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
585   ::google::protobuf::uint32 tag;
586   ::google::protobuf::io::StringOutputStream unknown_fields_string(
587       mutable_unknown_fields());
588   ::google::protobuf::io::CodedOutputStream unknown_fields_stream(
589       &unknown_fields_string);
590   // @@protoc_insertion_point(parse_start:NetGameInfo)
591   for (;;) {
592     ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
593     tag = p.first;
594     if (!p.second) goto handle_unusual;
595     switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
596       // required string gameName = 1;
597       case 1: {
598         if (tag == 10) {
599           DO_(::google::protobuf::internal::WireFormatLite::ReadString(
600                 input, this->mutable_gamename()));
601         } else {
602           goto handle_unusual;
603         }
604         if (input->ExpectTag(16)) goto parse_netGameType;
605         break;
606       }
607 
608       // required .NetGameInfo.NetGameType netGameType = 2;
609       case 2: {
610         if (tag == 16) {
611          parse_netGameType:
612           int value;
613           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
614                    int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
615                  input, &value)));
616           if (::NetGameInfo_NetGameType_IsValid(value)) {
617             set_netgametype(static_cast< ::NetGameInfo_NetGameType >(value));
618           } else {
619             unknown_fields_stream.WriteVarint32(tag);
620             unknown_fields_stream.WriteVarint32(value);
621           }
622         } else {
623           goto handle_unusual;
624         }
625         if (input->ExpectTag(24)) goto parse_maxNumPlayers;
626         break;
627       }
628 
629       // required uint32 maxNumPlayers = 3;
630       case 3: {
631         if (tag == 24) {
632          parse_maxNumPlayers:
633           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
634                    ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
635                  input, &maxnumplayers_)));
636           set_has_maxnumplayers();
637         } else {
638           goto handle_unusual;
639         }
640         if (input->ExpectTag(32)) goto parse_raiseIntervalMode;
641         break;
642       }
643 
644       // required .NetGameInfo.RaiseIntervalMode raiseIntervalMode = 4;
645       case 4: {
646         if (tag == 32) {
647          parse_raiseIntervalMode:
648           int value;
649           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
650                    int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
651                  input, &value)));
652           if (::NetGameInfo_RaiseIntervalMode_IsValid(value)) {
653             set_raiseintervalmode(static_cast< ::NetGameInfo_RaiseIntervalMode >(value));
654           } else {
655             unknown_fields_stream.WriteVarint32(tag);
656             unknown_fields_stream.WriteVarint32(value);
657           }
658         } else {
659           goto handle_unusual;
660         }
661         if (input->ExpectTag(40)) goto parse_raiseEveryHands;
662         break;
663       }
664 
665       // optional uint32 raiseEveryHands = 5;
666       case 5: {
667         if (tag == 40) {
668          parse_raiseEveryHands:
669           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
670                    ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
671                  input, &raiseeveryhands_)));
672           set_has_raiseeveryhands();
673         } else {
674           goto handle_unusual;
675         }
676         if (input->ExpectTag(48)) goto parse_raiseEveryMinutes;
677         break;
678       }
679 
680       // optional uint32 raiseEveryMinutes = 6;
681       case 6: {
682         if (tag == 48) {
683          parse_raiseEveryMinutes:
684           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
685                    ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
686                  input, &raiseeveryminutes_)));
687           set_has_raiseeveryminutes();
688         } else {
689           goto handle_unusual;
690         }
691         if (input->ExpectTag(56)) goto parse_endRaiseMode;
692         break;
693       }
694 
695       // required .NetGameInfo.EndRaiseMode endRaiseMode = 7;
696       case 7: {
697         if (tag == 56) {
698          parse_endRaiseMode:
699           int value;
700           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
701                    int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
702                  input, &value)));
703           if (::NetGameInfo_EndRaiseMode_IsValid(value)) {
704             set_endraisemode(static_cast< ::NetGameInfo_EndRaiseMode >(value));
705           } else {
706             unknown_fields_stream.WriteVarint32(tag);
707             unknown_fields_stream.WriteVarint32(value);
708           }
709         } else {
710           goto handle_unusual;
711         }
712         if (input->ExpectTag(64)) goto parse_endRaiseSmallBlindValue;
713         break;
714       }
715 
716       // optional uint32 endRaiseSmallBlindValue = 8;
717       case 8: {
718         if (tag == 64) {
719          parse_endRaiseSmallBlindValue:
720           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
721                    ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
722                  input, &endraisesmallblindvalue_)));
723           set_has_endraisesmallblindvalue();
724         } else {
725           goto handle_unusual;
726         }
727         if (input->ExpectTag(72)) goto parse_proposedGuiSpeed;
728         break;
729       }
730 
731       // required uint32 proposedGuiSpeed = 9;
732       case 9: {
733         if (tag == 72) {
734          parse_proposedGuiSpeed:
735           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
736                    ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
737                  input, &proposedguispeed_)));
738           set_has_proposedguispeed();
739         } else {
740           goto handle_unusual;
741         }
742         if (input->ExpectTag(80)) goto parse_delayBetweenHands;
743         break;
744       }
745 
746       // required uint32 delayBetweenHands = 10;
747       case 10: {
748         if (tag == 80) {
749          parse_delayBetweenHands:
750           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
751                    ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
752                  input, &delaybetweenhands_)));
753           set_has_delaybetweenhands();
754         } else {
755           goto handle_unusual;
756         }
757         if (input->ExpectTag(88)) goto parse_playerActionTimeout;
758         break;
759       }
760 
761       // required uint32 playerActionTimeout = 11;
762       case 11: {
763         if (tag == 88) {
764          parse_playerActionTimeout:
765           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
766                    ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
767                  input, &playeractiontimeout_)));
768           set_has_playeractiontimeout();
769         } else {
770           goto handle_unusual;
771         }
772         if (input->ExpectTag(96)) goto parse_firstSmallBlind;
773         break;
774       }
775 
776       // required uint32 firstSmallBlind = 12;
777       case 12: {
778         if (tag == 96) {
779          parse_firstSmallBlind:
780           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
781                    ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
782                  input, &firstsmallblind_)));
783           set_has_firstsmallblind();
784         } else {
785           goto handle_unusual;
786         }
787         if (input->ExpectTag(104)) goto parse_startMoney;
788         break;
789       }
790 
791       // required uint32 startMoney = 13;
792       case 13: {
793         if (tag == 104) {
794          parse_startMoney:
795           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
796                    ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
797                  input, &startmoney_)));
798           set_has_startmoney();
799         } else {
800           goto handle_unusual;
801         }
802         if (input->ExpectTag(114)) goto parse_manualBlinds;
803         break;
804       }
805 
806       // repeated uint32 manualBlinds = 14 [packed = true];
807       case 14: {
808         if (tag == 114) {
809          parse_manualBlinds:
810           DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitive<
811                    ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
812                  input, this->mutable_manualblinds())));
813         } else if (tag == 112) {
814           DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitiveNoInline<
815                    ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
816                  1, 114, input, this->mutable_manualblinds())));
817         } else {
818           goto handle_unusual;
819         }
820         if (input->ExpectTag(120)) goto parse_allowSpectators;
821         break;
822       }
823 
824       // optional bool allowSpectators = 15 [default = true];
825       case 15: {
826         if (tag == 120) {
827          parse_allowSpectators:
828           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
829                    bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
830                  input, &allowspectators_)));
831           set_has_allowspectators();
832         } else {
833           goto handle_unusual;
834         }
835         if (input->ExpectAtEnd()) goto success;
836         break;
837       }
838 
839       default: {
840       handle_unusual:
841         if (tag == 0 ||
842             ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
843             ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
844           goto success;
845         }
846         DO_(::google::protobuf::internal::WireFormatLite::SkipField(
847             input, tag, &unknown_fields_stream));
848         break;
849       }
850     }
851   }
852 success:
853   // @@protoc_insertion_point(parse_success:NetGameInfo)
854   return true;
855 failure:
856   // @@protoc_insertion_point(parse_failure:NetGameInfo)
857   return false;
858 #undef DO_
859 }
860 
861 void NetGameInfo::SerializeWithCachedSizes(
862     ::google::protobuf::io::CodedOutputStream* output) const {
863   // @@protoc_insertion_point(serialize_start:NetGameInfo)
864   // required string gameName = 1;
865   if (has_gamename()) {
866     ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
867       1, this->gamename(), output);
868   }
869 
870   // required .NetGameInfo.NetGameType netGameType = 2;
871   if (has_netgametype()) {
872     ::google::protobuf::internal::WireFormatLite::WriteEnum(
873       2, this->netgametype(), output);
874   }
875 
876   // required uint32 maxNumPlayers = 3;
877   if (has_maxnumplayers()) {
878     ::google::protobuf::internal::WireFormatLite::WriteUInt32(3, this->maxnumplayers(), output);
879   }
880 
881   // required .NetGameInfo.RaiseIntervalMode raiseIntervalMode = 4;
882   if (has_raiseintervalmode()) {
883     ::google::protobuf::internal::WireFormatLite::WriteEnum(
884       4, this->raiseintervalmode(), output);
885   }
886 
887   // optional uint32 raiseEveryHands = 5;
888   if (has_raiseeveryhands()) {
889     ::google::protobuf::internal::WireFormatLite::WriteUInt32(5, this->raiseeveryhands(), output);
890   }
891 
892   // optional uint32 raiseEveryMinutes = 6;
893   if (has_raiseeveryminutes()) {
894     ::google::protobuf::internal::WireFormatLite::WriteUInt32(6, this->raiseeveryminutes(), output);
895   }
896 
897   // required .NetGameInfo.EndRaiseMode endRaiseMode = 7;
898   if (has_endraisemode()) {
899     ::google::protobuf::internal::WireFormatLite::WriteEnum(
900       7, this->endraisemode(), output);
901   }
902 
903   // optional uint32 endRaiseSmallBlindValue = 8;
904   if (has_endraisesmallblindvalue()) {
905     ::google::protobuf::internal::WireFormatLite::WriteUInt32(8, this->endraisesmallblindvalue(), output);
906   }
907 
908   // required uint32 proposedGuiSpeed = 9;
909   if (has_proposedguispeed()) {
910     ::google::protobuf::internal::WireFormatLite::WriteUInt32(9, this->proposedguispeed(), output);
911   }
912 
913   // required uint32 delayBetweenHands = 10;
914   if (has_delaybetweenhands()) {
915     ::google::protobuf::internal::WireFormatLite::WriteUInt32(10, this->delaybetweenhands(), output);
916   }
917 
918   // required uint32 playerActionTimeout = 11;
919   if (has_playeractiontimeout()) {
920     ::google::protobuf::internal::WireFormatLite::WriteUInt32(11, this->playeractiontimeout(), output);
921   }
922 
923   // required uint32 firstSmallBlind = 12;
924   if (has_firstsmallblind()) {
925     ::google::protobuf::internal::WireFormatLite::WriteUInt32(12, this->firstsmallblind(), output);
926   }
927 
928   // required uint32 startMoney = 13;
929   if (has_startmoney()) {
930     ::google::protobuf::internal::WireFormatLite::WriteUInt32(13, this->startmoney(), output);
931   }
932 
933   // repeated uint32 manualBlinds = 14 [packed = true];
934   if (this->manualblinds_size() > 0) {
935     ::google::protobuf::internal::WireFormatLite::WriteTag(14, ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED, output);
936     output->WriteVarint32(_manualblinds_cached_byte_size_);
937   }
938   for (int i = 0; i < this->manualblinds_size(); i++) {
939     ::google::protobuf::internal::WireFormatLite::WriteUInt32NoTag(
940       this->manualblinds(i), output);
941   }
942 
943   // optional bool allowSpectators = 15 [default = true];
944   if (has_allowspectators()) {
945     ::google::protobuf::internal::WireFormatLite::WriteBool(15, this->allowspectators(), output);
946   }
947 
948   output->WriteRaw(unknown_fields().data(),
949                    unknown_fields().size());
950   // @@protoc_insertion_point(serialize_end:NetGameInfo)
951 }
952 
953 int NetGameInfo::ByteSize() const {
954   int total_size = 0;
955 
956   if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
957     // required string gameName = 1;
958     if (has_gamename()) {
959       total_size += 1 +
960         ::google::protobuf::internal::WireFormatLite::StringSize(
961           this->gamename());
962     }
963 
964     // required .NetGameInfo.NetGameType netGameType = 2;
965     if (has_netgametype()) {
966       total_size += 1 +
967         ::google::protobuf::internal::WireFormatLite::EnumSize(this->netgametype());
968     }
969 
970     // required uint32 maxNumPlayers = 3;
971     if (has_maxnumplayers()) {
972       total_size += 1 +
973         ::google::protobuf::internal::WireFormatLite::UInt32Size(
974           this->maxnumplayers());
975     }
976 
977     // required .NetGameInfo.RaiseIntervalMode raiseIntervalMode = 4;
978     if (has_raiseintervalmode()) {
979       total_size += 1 +
980         ::google::protobuf::internal::WireFormatLite::EnumSize(this->raiseintervalmode());
981     }
982 
983     // optional uint32 raiseEveryHands = 5;
984     if (has_raiseeveryhands()) {
985       total_size += 1 +
986         ::google::protobuf::internal::WireFormatLite::UInt32Size(
987           this->raiseeveryhands());
988     }
989 
990     // optional uint32 raiseEveryMinutes = 6;
991     if (has_raiseeveryminutes()) {
992       total_size += 1 +
993         ::google::protobuf::internal::WireFormatLite::UInt32Size(
994           this->raiseeveryminutes());
995     }
996 
997     // required .NetGameInfo.EndRaiseMode endRaiseMode = 7;
998     if (has_endraisemode()) {
999       total_size += 1 +
1000         ::google::protobuf::internal::WireFormatLite::EnumSize(this->endraisemode());
1001     }
1002 
1003     // optional uint32 endRaiseSmallBlindValue = 8;
1004     if (has_endraisesmallblindvalue()) {
1005       total_size += 1 +
1006         ::google::protobuf::internal::WireFormatLite::UInt32Size(
1007           this->endraisesmallblindvalue());
1008     }
1009 
1010   }
1011   if (_has_bits_[8 / 32] & (0xffu << (8 % 32))) {
1012     // required uint32 proposedGuiSpeed = 9;
1013     if (has_proposedguispeed()) {
1014       total_size += 1 +
1015         ::google::protobuf::internal::WireFormatLite::UInt32Size(
1016           this->proposedguispeed());
1017     }
1018 
1019     // required uint32 delayBetweenHands = 10;
1020     if (has_delaybetweenhands()) {
1021       total_size += 1 +
1022         ::google::protobuf::internal::WireFormatLite::UInt32Size(
1023           this->delaybetweenhands());
1024     }
1025 
1026     // required uint32 playerActionTimeout = 11;
1027     if (has_playeractiontimeout()) {
1028       total_size += 1 +
1029         ::google::protobuf::internal::WireFormatLite::UInt32Size(
1030           this->playeractiontimeout());
1031     }
1032 
1033     // required uint32 firstSmallBlind = 12;
1034     if (has_firstsmallblind()) {
1035       total_size += 1 +
1036         ::google::protobuf::internal::WireFormatLite::UInt32Size(
1037           this->firstsmallblind());
1038     }
1039 
1040     // required uint32 startMoney = 13;
1041     if (has_startmoney()) {
1042       total_size += 1 +
1043         ::google::protobuf::internal::WireFormatLite::UInt32Size(
1044           this->startmoney());
1045     }
1046 
1047     // optional bool allowSpectators = 15 [default = true];
1048     if (has_allowspectators()) {
1049       total_size += 1 + 1;
1050     }
1051 
1052   }
1053   // repeated uint32 manualBlinds = 14 [packed = true];
1054   {
1055     int data_size = 0;
1056     for (int i = 0; i < this->manualblinds_size(); i++) {
1057       data_size += ::google::protobuf::internal::WireFormatLite::
1058         UInt32Size(this->manualblinds(i));
1059     }
1060     if (data_size > 0) {
1061       total_size += 1 +
1062         ::google::protobuf::internal::WireFormatLite::Int32Size(data_size);
1063     }
1064     GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
1065     _manualblinds_cached_byte_size_ = data_size;
1066     GOOGLE_SAFE_CONCURRENT_WRITES_END();
1067     total_size += data_size;
1068   }
1069 
1070   total_size += unknown_fields().size();
1071 
1072   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
1073   _cached_size_ = total_size;
1074   GOOGLE_SAFE_CONCURRENT_WRITES_END();
1075   return total_size;
1076 }
1077 
1078 void NetGameInfo::CheckTypeAndMergeFrom(
1079     const ::google::protobuf::MessageLite& from) {
1080   MergeFrom(*::google::protobuf::down_cast<const NetGameInfo*>(&from));
1081 }
1082 
1083 void NetGameInfo::MergeFrom(const NetGameInfo& from) {
1084   GOOGLE_CHECK_NE(&from, this);
1085   manualblinds_.MergeFrom(from.manualblinds_);
1086   if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
1087     if (from.has_gamename()) {
1088       set_gamename(from.gamename());
1089     }
1090     if (from.has_netgametype()) {
1091       set_netgametype(from.netgametype());
1092     }
1093     if (from.has_maxnumplayers()) {
1094       set_maxnumplayers(from.maxnumplayers());
1095     }
1096     if (from.has_raiseintervalmode()) {
1097       set_raiseintervalmode(from.raiseintervalmode());
1098     }
1099     if (from.has_raiseeveryhands()) {
1100       set_raiseeveryhands(from.raiseeveryhands());
1101     }
1102     if (from.has_raiseeveryminutes()) {
1103       set_raiseeveryminutes(from.raiseeveryminutes());
1104     }
1105     if (from.has_endraisemode()) {
1106       set_endraisemode(from.endraisemode());
1107     }
1108     if (from.has_endraisesmallblindvalue()) {
1109       set_endraisesmallblindvalue(from.endraisesmallblindvalue());
1110     }
1111   }
1112   if (from._has_bits_[8 / 32] & (0xffu << (8 % 32))) {
1113     if (from.has_proposedguispeed()) {
1114       set_proposedguispeed(from.proposedguispeed());
1115     }
1116     if (from.has_delaybetweenhands()) {
1117       set_delaybetweenhands(from.delaybetweenhands());
1118     }
1119     if (from.has_playeractiontimeout()) {
1120       set_playeractiontimeout(from.playeractiontimeout());
1121     }
1122     if (from.has_firstsmallblind()) {
1123       set_firstsmallblind(from.firstsmallblind());
1124     }
1125     if (from.has_startmoney()) {
1126       set_startmoney(from.startmoney());
1127     }
1128     if (from.has_allowspectators()) {
1129       set_allowspectators(from.allowspectators());
1130     }
1131   }
1132   mutable_unknown_fields()->append(from.unknown_fields());
1133 }
1134 
1135 void NetGameInfo::CopyFrom(const NetGameInfo& from) {
1136   if (&from == this) return;
1137   Clear();
1138   MergeFrom(from);
1139 }
1140 
1141 bool NetGameInfo::IsInitialized() const {
1142   if ((_has_bits_[0] & 0x00001f4f) != 0x00001f4f) return false;
1143 
1144   return true;
1145 }
1146 
1147 void NetGameInfo::Swap(NetGameInfo* other) {
1148   if (other != this) {
1149     std::swap(gamename_, other->gamename_);
1150     std::swap(netgametype_, other->netgametype_);
1151     std::swap(maxnumplayers_, other->maxnumplayers_);
1152     std::swap(raiseintervalmode_, other->raiseintervalmode_);
1153     std::swap(raiseeveryhands_, other->raiseeveryhands_);
1154     std::swap(raiseeveryminutes_, other->raiseeveryminutes_);
1155     std::swap(endraisemode_, other->endraisemode_);
1156     std::swap(endraisesmallblindvalue_, other->endraisesmallblindvalue_);
1157     std::swap(proposedguispeed_, other->proposedguispeed_);
1158     std::swap(delaybetweenhands_, other->delaybetweenhands_);
1159     std::swap(playeractiontimeout_, other->playeractiontimeout_);
1160     std::swap(firstsmallblind_, other->firstsmallblind_);
1161     std::swap(startmoney_, other->startmoney_);
1162     manualblinds_.Swap(&other->manualblinds_);
1163     std::swap(allowspectators_, other->allowspectators_);
1164     std::swap(_has_bits_[0], other->_has_bits_[0]);
1165     _unknown_fields_.swap(other->_unknown_fields_);
1166     std::swap(_cached_size_, other->_cached_size_);
1167   }
1168 }
1169 
1170 ::std::string NetGameInfo::GetTypeName() const {
1171   return "NetGameInfo";
1172 }
1173 
1174 
1175 // ===================================================================
1176 
1177 #ifndef _MSC_VER
1178 const int PlayerResult::kPlayerIdFieldNumber;
1179 const int PlayerResult::kResultCard1FieldNumber;
1180 const int PlayerResult::kResultCard2FieldNumber;
1181 const int PlayerResult::kBestHandPositionFieldNumber;
1182 const int PlayerResult::kMoneyWonFieldNumber;
1183 const int PlayerResult::kPlayerMoneyFieldNumber;
1184 const int PlayerResult::kCardsValueFieldNumber;
1185 #endif  // !_MSC_VER
1186 
1187 PlayerResult::PlayerResult()
1188   : ::google::protobuf::MessageLite() {
1189   SharedCtor();
1190   // @@protoc_insertion_point(constructor:PlayerResult)
1191 }
1192 
1193 void PlayerResult::InitAsDefaultInstance() {
1194 }
1195 
1196 PlayerResult::PlayerResult(const PlayerResult& from)
1197   : ::google::protobuf::MessageLite() {
1198   SharedCtor();
1199   MergeFrom(from);
1200   // @@protoc_insertion_point(copy_constructor:PlayerResult)
1201 }
1202 
1203 void PlayerResult::SharedCtor() {
1204   _cached_size_ = 0;
1205   playerid_ = 0u;
1206   resultcard1_ = 0u;
1207   resultcard2_ = 0u;
1208   moneywon_ = 0u;
1209   playermoney_ = 0u;
1210   cardsvalue_ = 0u;
1211   ::memset(_has_bits_, 0, sizeof(_has_bits_));
1212 }
1213 
1214 PlayerResult::~PlayerResult() {
1215   // @@protoc_insertion_point(destructor:PlayerResult)
1216   SharedDtor();
1217 }
1218 
1219 void PlayerResult::SharedDtor() {
1220   #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
1221   if (this != &default_instance()) {
1222   #else
1223   if (this != default_instance_) {
1224   #endif
1225   }
1226 }
1227 
1228 void PlayerResult::SetCachedSize(int size) const {
1229   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
1230   _cached_size_ = size;
1231   GOOGLE_SAFE_CONCURRENT_WRITES_END();
1232 }
1233 const PlayerResult& PlayerResult::default_instance() {
1234 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
1235   protobuf_AddDesc_pokerth_2eproto();
1236 #else
1237   if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto();
1238 #endif
1239   return *default_instance_;
1240 }
1241 
1242 PlayerResult* PlayerResult::default_instance_ = NULL;
1243 
1244 PlayerResult* PlayerResult::New() const {
1245   return new PlayerResult;
1246 }
1247 
1248 void PlayerResult::Clear() {
1249 #define OFFSET_OF_FIELD_(f) (reinterpret_cast<char*>(      \
1250   &reinterpret_cast<PlayerResult*>(16)->f) - \
1251    reinterpret_cast<char*>(16))
1252 
1253 #define ZR_(first, last) do {                              \
1254     size_t f = OFFSET_OF_FIELD_(first);                    \
1255     size_t n = OFFSET_OF_FIELD_(last) - f + sizeof(last);  \
1256     ::memset(&first, 0, n);                                \
1257   } while (0)
1258 
1259   if (_has_bits_[0 / 32] & 119) {
1260     ZR_(playerid_, resultcard1_);
1261     ZR_(resultcard2_, cardsvalue_);
1262   }
1263 
1264 #undef OFFSET_OF_FIELD_
1265 #undef ZR_
1266 
1267   besthandposition_.Clear();
1268   ::memset(_has_bits_, 0, sizeof(_has_bits_));
1269   mutable_unknown_fields()->clear();
1270 }
1271 
1272 bool PlayerResult::MergePartialFromCodedStream(
1273     ::google::protobuf::io::CodedInputStream* input) {
1274 #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
1275   ::google::protobuf::uint32 tag;
1276   ::google::protobuf::io::StringOutputStream unknown_fields_string(
1277       mutable_unknown_fields());
1278   ::google::protobuf::io::CodedOutputStream unknown_fields_stream(
1279       &unknown_fields_string);
1280   // @@protoc_insertion_point(parse_start:PlayerResult)
1281   for (;;) {
1282     ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
1283     tag = p.first;
1284     if (!p.second) goto handle_unusual;
1285     switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
1286       // required uint32 playerId = 1;
1287       case 1: {
1288         if (tag == 8) {
1289           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
1290                    ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
1291                  input, &playerid_)));
1292           set_has_playerid();
1293         } else {
1294           goto handle_unusual;
1295         }
1296         if (input->ExpectTag(16)) goto parse_resultCard1;
1297         break;
1298       }
1299 
1300       // required uint32 resultCard1 = 2;
1301       case 2: {
1302         if (tag == 16) {
1303          parse_resultCard1:
1304           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
1305                    ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
1306                  input, &resultcard1_)));
1307           set_has_resultcard1();
1308         } else {
1309           goto handle_unusual;
1310         }
1311         if (input->ExpectTag(24)) goto parse_resultCard2;
1312         break;
1313       }
1314 
1315       // required uint32 resultCard2 = 3;
1316       case 3: {
1317         if (tag == 24) {
1318          parse_resultCard2:
1319           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
1320                    ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
1321                  input, &resultcard2_)));
1322           set_has_resultcard2();
1323         } else {
1324           goto handle_unusual;
1325         }
1326         if (input->ExpectTag(34)) goto parse_bestHandPosition;
1327         break;
1328       }
1329 
1330       // repeated uint32 bestHandPosition = 4 [packed = true];
1331       case 4: {
1332         if (tag == 34) {
1333          parse_bestHandPosition:
1334           DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitive<
1335                    ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
1336                  input, this->mutable_besthandposition())));
1337         } else if (tag == 32) {
1338           DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitiveNoInline<
1339                    ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
1340                  1, 34, input, this->mutable_besthandposition())));
1341         } else {
1342           goto handle_unusual;
1343         }
1344         if (input->ExpectTag(40)) goto parse_moneyWon;
1345         break;
1346       }
1347 
1348       // required uint32 moneyWon = 5;
1349       case 5: {
1350         if (tag == 40) {
1351          parse_moneyWon:
1352           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
1353                    ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
1354                  input, &moneywon_)));
1355           set_has_moneywon();
1356         } else {
1357           goto handle_unusual;
1358         }
1359         if (input->ExpectTag(48)) goto parse_playerMoney;
1360         break;
1361       }
1362 
1363       // required uint32 playerMoney = 6;
1364       case 6: {
1365         if (tag == 48) {
1366          parse_playerMoney:
1367           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
1368                    ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
1369                  input, &playermoney_)));
1370           set_has_playermoney();
1371         } else {
1372           goto handle_unusual;
1373         }
1374         if (input->ExpectTag(56)) goto parse_cardsValue;
1375         break;
1376       }
1377 
1378       // optional uint32 cardsValue = 7;
1379       case 7: {
1380         if (tag == 56) {
1381          parse_cardsValue:
1382           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
1383                    ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
1384                  input, &cardsvalue_)));
1385           set_has_cardsvalue();
1386         } else {
1387           goto handle_unusual;
1388         }
1389         if (input->ExpectAtEnd()) goto success;
1390         break;
1391       }
1392 
1393       default: {
1394       handle_unusual:
1395         if (tag == 0 ||
1396             ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
1397             ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
1398           goto success;
1399         }
1400         DO_(::google::protobuf::internal::WireFormatLite::SkipField(
1401             input, tag, &unknown_fields_stream));
1402         break;
1403       }
1404     }
1405   }
1406 success:
1407   // @@protoc_insertion_point(parse_success:PlayerResult)
1408   return true;
1409 failure:
1410   // @@protoc_insertion_point(parse_failure:PlayerResult)
1411   return false;
1412 #undef DO_
1413 }
1414 
1415 void PlayerResult::SerializeWithCachedSizes(
1416     ::google::protobuf::io::CodedOutputStream* output) const {
1417   // @@protoc_insertion_point(serialize_start:PlayerResult)
1418   // required uint32 playerId = 1;
1419   if (has_playerid()) {
1420     ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->playerid(), output);
1421   }
1422 
1423   // required uint32 resultCard1 = 2;
1424   if (has_resultcard1()) {
1425     ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->resultcard1(), output);
1426   }
1427 
1428   // required uint32 resultCard2 = 3;
1429   if (has_resultcard2()) {
1430     ::google::protobuf::internal::WireFormatLite::WriteUInt32(3, this->resultcard2(), output);
1431   }
1432 
1433   // repeated uint32 bestHandPosition = 4 [packed = true];
1434   if (this->besthandposition_size() > 0) {
1435     ::google::protobuf::internal::WireFormatLite::WriteTag(4, ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED, output);
1436     output->WriteVarint32(_besthandposition_cached_byte_size_);
1437   }
1438   for (int i = 0; i < this->besthandposition_size(); i++) {
1439     ::google::protobuf::internal::WireFormatLite::WriteUInt32NoTag(
1440       this->besthandposition(i), output);
1441   }
1442 
1443   // required uint32 moneyWon = 5;
1444   if (has_moneywon()) {
1445     ::google::protobuf::internal::WireFormatLite::WriteUInt32(5, this->moneywon(), output);
1446   }
1447 
1448   // required uint32 playerMoney = 6;
1449   if (has_playermoney()) {
1450     ::google::protobuf::internal::WireFormatLite::WriteUInt32(6, this->playermoney(), output);
1451   }
1452 
1453   // optional uint32 cardsValue = 7;
1454   if (has_cardsvalue()) {
1455     ::google::protobuf::internal::WireFormatLite::WriteUInt32(7, this->cardsvalue(), output);
1456   }
1457 
1458   output->WriteRaw(unknown_fields().data(),
1459                    unknown_fields().size());
1460   // @@protoc_insertion_point(serialize_end:PlayerResult)
1461 }
1462 
1463 int PlayerResult::ByteSize() const {
1464   int total_size = 0;
1465 
1466   if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
1467     // required uint32 playerId = 1;
1468     if (has_playerid()) {
1469       total_size += 1 +
1470         ::google::protobuf::internal::WireFormatLite::UInt32Size(
1471           this->playerid());
1472     }
1473 
1474     // required uint32 resultCard1 = 2;
1475     if (has_resultcard1()) {
1476       total_size += 1 +
1477         ::google::protobuf::internal::WireFormatLite::UInt32Size(
1478           this->resultcard1());
1479     }
1480 
1481     // required uint32 resultCard2 = 3;
1482     if (has_resultcard2()) {
1483       total_size += 1 +
1484         ::google::protobuf::internal::WireFormatLite::UInt32Size(
1485           this->resultcard2());
1486     }
1487 
1488     // required uint32 moneyWon = 5;
1489     if (has_moneywon()) {
1490       total_size += 1 +
1491         ::google::protobuf::internal::WireFormatLite::UInt32Size(
1492           this->moneywon());
1493     }
1494 
1495     // required uint32 playerMoney = 6;
1496     if (has_playermoney()) {
1497       total_size += 1 +
1498         ::google::protobuf::internal::WireFormatLite::UInt32Size(
1499           this->playermoney());
1500     }
1501 
1502     // optional uint32 cardsValue = 7;
1503     if (has_cardsvalue()) {
1504       total_size += 1 +
1505         ::google::protobuf::internal::WireFormatLite::UInt32Size(
1506           this->cardsvalue());
1507     }
1508 
1509   }
1510   // repeated uint32 bestHandPosition = 4 [packed = true];
1511   {
1512     int data_size = 0;
1513     for (int i = 0; i < this->besthandposition_size(); i++) {
1514       data_size += ::google::protobuf::internal::WireFormatLite::
1515         UInt32Size(this->besthandposition(i));
1516     }
1517     if (data_size > 0) {
1518       total_size += 1 +
1519         ::google::protobuf::internal::WireFormatLite::Int32Size(data_size);
1520     }
1521     GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
1522     _besthandposition_cached_byte_size_ = data_size;
1523     GOOGLE_SAFE_CONCURRENT_WRITES_END();
1524     total_size += data_size;
1525   }
1526 
1527   total_size += unknown_fields().size();
1528 
1529   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
1530   _cached_size_ = total_size;
1531   GOOGLE_SAFE_CONCURRENT_WRITES_END();
1532   return total_size;
1533 }
1534 
1535 void PlayerResult::CheckTypeAndMergeFrom(
1536     const ::google::protobuf::MessageLite& from) {
1537   MergeFrom(*::google::protobuf::down_cast<const PlayerResult*>(&from));
1538 }
1539 
1540 void PlayerResult::MergeFrom(const PlayerResult& from) {
1541   GOOGLE_CHECK_NE(&from, this);
1542   besthandposition_.MergeFrom(from.besthandposition_);
1543   if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
1544     if (from.has_playerid()) {
1545       set_playerid(from.playerid());
1546     }
1547     if (from.has_resultcard1()) {
1548       set_resultcard1(from.resultcard1());
1549     }
1550     if (from.has_resultcard2()) {
1551       set_resultcard2(from.resultcard2());
1552     }
1553     if (from.has_moneywon()) {
1554       set_moneywon(from.moneywon());
1555     }
1556     if (from.has_playermoney()) {
1557       set_playermoney(from.playermoney());
1558     }
1559     if (from.has_cardsvalue()) {
1560       set_cardsvalue(from.cardsvalue());
1561     }
1562   }
1563   mutable_unknown_fields()->append(from.unknown_fields());
1564 }
1565 
1566 void PlayerResult::CopyFrom(const PlayerResult& from) {
1567   if (&from == this) return;
1568   Clear();
1569   MergeFrom(from);
1570 }
1571 
1572 bool PlayerResult::IsInitialized() const {
1573   if ((_has_bits_[0] & 0x00000037) != 0x00000037) return false;
1574 
1575   return true;
1576 }
1577 
1578 void PlayerResult::Swap(PlayerResult* other) {
1579   if (other != this) {
1580     std::swap(playerid_, other->playerid_);
1581     std::swap(resultcard1_, other->resultcard1_);
1582     std::swap(resultcard2_, other->resultcard2_);
1583     besthandposition_.Swap(&other->besthandposition_);
1584     std::swap(moneywon_, other->moneywon_);
1585     std::swap(playermoney_, other->playermoney_);
1586     std::swap(cardsvalue_, other->cardsvalue_);
1587     std::swap(_has_bits_[0], other->_has_bits_[0]);
1588     _unknown_fields_.swap(other->_unknown_fields_);
1589     std::swap(_cached_size_, other->_cached_size_);
1590   }
1591 }
1592 
1593 ::std::string PlayerResult::GetTypeName() const {
1594   return "PlayerResult";
1595 }
1596 
1597 
1598 // ===================================================================
1599 
1600 bool AnnounceMessage_ServerType_IsValid(int value) {
1601   switch(value) {
1602     case 0:
1603     case 1:
1604     case 2:
1605       return true;
1606     default:
1607       return false;
1608   }
1609 }
1610 
1611 #ifndef _MSC_VER
1612 const AnnounceMessage_ServerType AnnounceMessage::serverTypeLAN;
1613 const AnnounceMessage_ServerType AnnounceMessage::serverTypeInternetNoAuth;
1614 const AnnounceMessage_ServerType AnnounceMessage::serverTypeInternetAuth;
1615 const AnnounceMessage_ServerType AnnounceMessage::ServerType_MIN;
1616 const AnnounceMessage_ServerType AnnounceMessage::ServerType_MAX;
1617 const int AnnounceMessage::ServerType_ARRAYSIZE;
1618 #endif  // _MSC_VER
1619 #ifndef _MSC_VER
1620 const int AnnounceMessage_Version::kMajorVersionFieldNumber;
1621 const int AnnounceMessage_Version::kMinorVersionFieldNumber;
1622 #endif  // !_MSC_VER
1623 
1624 AnnounceMessage_Version::AnnounceMessage_Version()
1625   : ::google::protobuf::MessageLite() {
1626   SharedCtor();
1627   // @@protoc_insertion_point(constructor:AnnounceMessage.Version)
1628 }
1629 
1630 void AnnounceMessage_Version::InitAsDefaultInstance() {
1631 }
1632 
1633 AnnounceMessage_Version::AnnounceMessage_Version(const AnnounceMessage_Version& from)
1634   : ::google::protobuf::MessageLite() {
1635   SharedCtor();
1636   MergeFrom(from);
1637   // @@protoc_insertion_point(copy_constructor:AnnounceMessage.Version)
1638 }
1639 
1640 void AnnounceMessage_Version::SharedCtor() {
1641   _cached_size_ = 0;
1642   majorversion_ = 0u;
1643   minorversion_ = 0u;
1644   ::memset(_has_bits_, 0, sizeof(_has_bits_));
1645 }
1646 
1647 AnnounceMessage_Version::~AnnounceMessage_Version() {
1648   // @@protoc_insertion_point(destructor:AnnounceMessage.Version)
1649   SharedDtor();
1650 }
1651 
1652 void AnnounceMessage_Version::SharedDtor() {
1653   #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
1654   if (this != &default_instance()) {
1655   #else
1656   if (this != default_instance_) {
1657   #endif
1658   }
1659 }
1660 
1661 void AnnounceMessage_Version::SetCachedSize(int size) const {
1662   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
1663   _cached_size_ = size;
1664   GOOGLE_SAFE_CONCURRENT_WRITES_END();
1665 }
1666 const AnnounceMessage_Version& AnnounceMessage_Version::default_instance() {
1667 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
1668   protobuf_AddDesc_pokerth_2eproto();
1669 #else
1670   if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto();
1671 #endif
1672   return *default_instance_;
1673 }
1674 
1675 AnnounceMessage_Version* AnnounceMessage_Version::default_instance_ = NULL;
1676 
1677 AnnounceMessage_Version* AnnounceMessage_Version::New() const {
1678   return new AnnounceMessage_Version;
1679 }
1680 
1681 void AnnounceMessage_Version::Clear() {
1682 #define OFFSET_OF_FIELD_(f) (reinterpret_cast<char*>(      \
1683   &reinterpret_cast<AnnounceMessage_Version*>(16)->f) - \
1684    reinterpret_cast<char*>(16))
1685 
1686 #define ZR_(first, last) do {                              \
1687     size_t f = OFFSET_OF_FIELD_(first);                    \
1688     size_t n = OFFSET_OF_FIELD_(last) - f + sizeof(last);  \
1689     ::memset(&first, 0, n);                                \
1690   } while (0)
1691 
1692   ZR_(majorversion_, minorversion_);
1693 
1694 #undef OFFSET_OF_FIELD_
1695 #undef ZR_
1696 
1697   ::memset(_has_bits_, 0, sizeof(_has_bits_));
1698   mutable_unknown_fields()->clear();
1699 }
1700 
1701 bool AnnounceMessage_Version::MergePartialFromCodedStream(
1702     ::google::protobuf::io::CodedInputStream* input) {
1703 #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
1704   ::google::protobuf::uint32 tag;
1705   ::google::protobuf::io::StringOutputStream unknown_fields_string(
1706       mutable_unknown_fields());
1707   ::google::protobuf::io::CodedOutputStream unknown_fields_stream(
1708       &unknown_fields_string);
1709   // @@protoc_insertion_point(parse_start:AnnounceMessage.Version)
1710   for (;;) {
1711     ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
1712     tag = p.first;
1713     if (!p.second) goto handle_unusual;
1714     switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
1715       // required uint32 majorVersion = 1;
1716       case 1: {
1717         if (tag == 8) {
1718           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
1719                    ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
1720                  input, &majorversion_)));
1721           set_has_majorversion();
1722         } else {
1723           goto handle_unusual;
1724         }
1725         if (input->ExpectTag(16)) goto parse_minorVersion;
1726         break;
1727       }
1728 
1729       // required uint32 minorVersion = 2;
1730       case 2: {
1731         if (tag == 16) {
1732          parse_minorVersion:
1733           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
1734                    ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
1735                  input, &minorversion_)));
1736           set_has_minorversion();
1737         } else {
1738           goto handle_unusual;
1739         }
1740         if (input->ExpectAtEnd()) goto success;
1741         break;
1742       }
1743 
1744       default: {
1745       handle_unusual:
1746         if (tag == 0 ||
1747             ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
1748             ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
1749           goto success;
1750         }
1751         DO_(::google::protobuf::internal::WireFormatLite::SkipField(
1752             input, tag, &unknown_fields_stream));
1753         break;
1754       }
1755     }
1756   }
1757 success:
1758   // @@protoc_insertion_point(parse_success:AnnounceMessage.Version)
1759   return true;
1760 failure:
1761   // @@protoc_insertion_point(parse_failure:AnnounceMessage.Version)
1762   return false;
1763 #undef DO_
1764 }
1765 
1766 void AnnounceMessage_Version::SerializeWithCachedSizes(
1767     ::google::protobuf::io::CodedOutputStream* output) const {
1768   // @@protoc_insertion_point(serialize_start:AnnounceMessage.Version)
1769   // required uint32 majorVersion = 1;
1770   if (has_majorversion()) {
1771     ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->majorversion(), output);
1772   }
1773 
1774   // required uint32 minorVersion = 2;
1775   if (has_minorversion()) {
1776     ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->minorversion(), output);
1777   }
1778 
1779   output->WriteRaw(unknown_fields().data(),
1780                    unknown_fields().size());
1781   // @@protoc_insertion_point(serialize_end:AnnounceMessage.Version)
1782 }
1783 
1784 int AnnounceMessage_Version::ByteSize() const {
1785   int total_size = 0;
1786 
1787   if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
1788     // required uint32 majorVersion = 1;
1789     if (has_majorversion()) {
1790       total_size += 1 +
1791         ::google::protobuf::internal::WireFormatLite::UInt32Size(
1792           this->majorversion());
1793     }
1794 
1795     // required uint32 minorVersion = 2;
1796     if (has_minorversion()) {
1797       total_size += 1 +
1798         ::google::protobuf::internal::WireFormatLite::UInt32Size(
1799           this->minorversion());
1800     }
1801 
1802   }
1803   total_size += unknown_fields().size();
1804 
1805   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
1806   _cached_size_ = total_size;
1807   GOOGLE_SAFE_CONCURRENT_WRITES_END();
1808   return total_size;
1809 }
1810 
1811 void AnnounceMessage_Version::CheckTypeAndMergeFrom(
1812     const ::google::protobuf::MessageLite& from) {
1813   MergeFrom(*::google::protobuf::down_cast<const AnnounceMessage_Version*>(&from));
1814 }
1815 
1816 void AnnounceMessage_Version::MergeFrom(const AnnounceMessage_Version& from) {
1817   GOOGLE_CHECK_NE(&from, this);
1818   if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
1819     if (from.has_majorversion()) {
1820       set_majorversion(from.majorversion());
1821     }
1822     if (from.has_minorversion()) {
1823       set_minorversion(from.minorversion());
1824     }
1825   }
1826   mutable_unknown_fields()->append(from.unknown_fields());
1827 }
1828 
1829 void AnnounceMessage_Version::CopyFrom(const AnnounceMessage_Version& from) {
1830   if (&from == this) return;
1831   Clear();
1832   MergeFrom(from);
1833 }
1834 
1835 bool AnnounceMessage_Version::IsInitialized() const {
1836   if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false;
1837 
1838   return true;
1839 }
1840 
1841 void AnnounceMessage_Version::Swap(AnnounceMessage_Version* other) {
1842   if (other != this) {
1843     std::swap(majorversion_, other->majorversion_);
1844     std::swap(minorversion_, other->minorversion_);
1845     std::swap(_has_bits_[0], other->_has_bits_[0]);
1846     _unknown_fields_.swap(other->_unknown_fields_);
1847     std::swap(_cached_size_, other->_cached_size_);
1848   }
1849 }
1850 
1851 ::std::string AnnounceMessage_Version::GetTypeName() const {
1852   return "AnnounceMessage.Version";
1853 }
1854 
1855 
1856 // -------------------------------------------------------------------
1857 
1858 #ifndef _MSC_VER
1859 const int AnnounceMessage::kProtocolVersionFieldNumber;
1860 const int AnnounceMessage::kLatestGameVersionFieldNumber;
1861 const int AnnounceMessage::kLatestBetaRevisionFieldNumber;
1862 const int AnnounceMessage::kServerTypeFieldNumber;
1863 const int AnnounceMessage::kNumPlayersOnServerFieldNumber;
1864 #endif  // !_MSC_VER
1865 
1866 AnnounceMessage::AnnounceMessage()
1867   : ::google::protobuf::MessageLite() {
1868   SharedCtor();
1869   // @@protoc_insertion_point(constructor:AnnounceMessage)
1870 }
1871 
1872 void AnnounceMessage::InitAsDefaultInstance() {
1873 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
1874   protocolversion_ = const_cast< ::AnnounceMessage_Version*>(
1875       ::AnnounceMessage_Version::internal_default_instance());
1876 #else
1877   protocolversion_ = const_cast< ::AnnounceMessage_Version*>(&::AnnounceMessage_Version::default_instance());
1878 #endif
1879 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
1880   latestgameversion_ = const_cast< ::AnnounceMessage_Version*>(
1881       ::AnnounceMessage_Version::internal_default_instance());
1882 #else
1883   latestgameversion_ = const_cast< ::AnnounceMessage_Version*>(&::AnnounceMessage_Version::default_instance());
1884 #endif
1885 }
1886 
1887 AnnounceMessage::AnnounceMessage(const AnnounceMessage& from)
1888   : ::google::protobuf::MessageLite() {
1889   SharedCtor();
1890   MergeFrom(from);
1891   // @@protoc_insertion_point(copy_constructor:AnnounceMessage)
1892 }
1893 
1894 void AnnounceMessage::SharedCtor() {
1895   _cached_size_ = 0;
1896   protocolversion_ = NULL;
1897   latestgameversion_ = NULL;
1898   latestbetarevision_ = 0u;
1899   servertype_ = 0;
1900   numplayersonserver_ = 0u;
1901   ::memset(_has_bits_, 0, sizeof(_has_bits_));
1902 }
1903 
1904 AnnounceMessage::~AnnounceMessage() {
1905   // @@protoc_insertion_point(destructor:AnnounceMessage)
1906   SharedDtor();
1907 }
1908 
1909 void AnnounceMessage::SharedDtor() {
1910   #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
1911   if (this != &default_instance()) {
1912   #else
1913   if (this != default_instance_) {
1914   #endif
1915     delete protocolversion_;
1916     delete latestgameversion_;
1917   }
1918 }
1919 
1920 void AnnounceMessage::SetCachedSize(int size) const {
1921   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
1922   _cached_size_ = size;
1923   GOOGLE_SAFE_CONCURRENT_WRITES_END();
1924 }
1925 const AnnounceMessage& AnnounceMessage::default_instance() {
1926 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
1927   protobuf_AddDesc_pokerth_2eproto();
1928 #else
1929   if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto();
1930 #endif
1931   return *default_instance_;
1932 }
1933 
1934 AnnounceMessage* AnnounceMessage::default_instance_ = NULL;
1935 
1936 AnnounceMessage* AnnounceMessage::New() const {
1937   return new AnnounceMessage;
1938 }
1939 
1940 void AnnounceMessage::Clear() {
1941 #define OFFSET_OF_FIELD_(f) (reinterpret_cast<char*>(      \
1942   &reinterpret_cast<AnnounceMessage*>(16)->f) - \
1943    reinterpret_cast<char*>(16))
1944 
1945 #define ZR_(first, last) do {                              \
1946     size_t f = OFFSET_OF_FIELD_(first);                    \
1947     size_t n = OFFSET_OF_FIELD_(last) - f + sizeof(last);  \
1948     ::memset(&first, 0, n);                                \
1949   } while (0)
1950 
1951   if (_has_bits_[0 / 32] & 31) {
1952     ZR_(latestbetarevision_, numplayersonserver_);
1953     if (has_protocolversion()) {
1954       if (protocolversion_ != NULL) protocolversion_->::AnnounceMessage_Version::Clear();
1955     }
1956     if (has_latestgameversion()) {
1957       if (latestgameversion_ != NULL) latestgameversion_->::AnnounceMessage_Version::Clear();
1958     }
1959   }
1960 
1961 #undef OFFSET_OF_FIELD_
1962 #undef ZR_
1963 
1964   ::memset(_has_bits_, 0, sizeof(_has_bits_));
1965   mutable_unknown_fields()->clear();
1966 }
1967 
1968 bool AnnounceMessage::MergePartialFromCodedStream(
1969     ::google::protobuf::io::CodedInputStream* input) {
1970 #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
1971   ::google::protobuf::uint32 tag;
1972   ::google::protobuf::io::StringOutputStream unknown_fields_string(
1973       mutable_unknown_fields());
1974   ::google::protobuf::io::CodedOutputStream unknown_fields_stream(
1975       &unknown_fields_string);
1976   // @@protoc_insertion_point(parse_start:AnnounceMessage)
1977   for (;;) {
1978     ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
1979     tag = p.first;
1980     if (!p.second) goto handle_unusual;
1981     switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
1982       // required .AnnounceMessage.Version protocolVersion = 1;
1983       case 1: {
1984         if (tag == 10) {
1985           DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
1986                input, mutable_protocolversion()));
1987         } else {
1988           goto handle_unusual;
1989         }
1990         if (input->ExpectTag(18)) goto parse_latestGameVersion;
1991         break;
1992       }
1993 
1994       // required .AnnounceMessage.Version latestGameVersion = 2;
1995       case 2: {
1996         if (tag == 18) {
1997          parse_latestGameVersion:
1998           DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
1999                input, mutable_latestgameversion()));
2000         } else {
2001           goto handle_unusual;
2002         }
2003         if (input->ExpectTag(24)) goto parse_latestBetaRevision;
2004         break;
2005       }
2006 
2007       // required uint32 latestBetaRevision = 3;
2008       case 3: {
2009         if (tag == 24) {
2010          parse_latestBetaRevision:
2011           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
2012                    ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
2013                  input, &latestbetarevision_)));
2014           set_has_latestbetarevision();
2015         } else {
2016           goto handle_unusual;
2017         }
2018         if (input->ExpectTag(32)) goto parse_serverType;
2019         break;
2020       }
2021 
2022       // required .AnnounceMessage.ServerType serverType = 4;
2023       case 4: {
2024         if (tag == 32) {
2025          parse_serverType:
2026           int value;
2027           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
2028                    int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
2029                  input, &value)));
2030           if (::AnnounceMessage_ServerType_IsValid(value)) {
2031             set_servertype(static_cast< ::AnnounceMessage_ServerType >(value));
2032           } else {
2033             unknown_fields_stream.WriteVarint32(tag);
2034             unknown_fields_stream.WriteVarint32(value);
2035           }
2036         } else {
2037           goto handle_unusual;
2038         }
2039         if (input->ExpectTag(40)) goto parse_numPlayersOnServer;
2040         break;
2041       }
2042 
2043       // required uint32 numPlayersOnServer = 5;
2044       case 5: {
2045         if (tag == 40) {
2046          parse_numPlayersOnServer:
2047           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
2048                    ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
2049                  input, &numplayersonserver_)));
2050           set_has_numplayersonserver();
2051         } else {
2052           goto handle_unusual;
2053         }
2054         if (input->ExpectAtEnd()) goto success;
2055         break;
2056       }
2057 
2058       default: {
2059       handle_unusual:
2060         if (tag == 0 ||
2061             ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
2062             ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
2063           goto success;
2064         }
2065         DO_(::google::protobuf::internal::WireFormatLite::SkipField(
2066             input, tag, &unknown_fields_stream));
2067         break;
2068       }
2069     }
2070   }
2071 success:
2072   // @@protoc_insertion_point(parse_success:AnnounceMessage)
2073   return true;
2074 failure:
2075   // @@protoc_insertion_point(parse_failure:AnnounceMessage)
2076   return false;
2077 #undef DO_
2078 }
2079 
2080 void AnnounceMessage::SerializeWithCachedSizes(
2081     ::google::protobuf::io::CodedOutputStream* output) const {
2082   // @@protoc_insertion_point(serialize_start:AnnounceMessage)
2083   // required .AnnounceMessage.Version protocolVersion = 1;
2084   if (has_protocolversion()) {
2085     ::google::protobuf::internal::WireFormatLite::WriteMessage(
2086       1, this->protocolversion(), output);
2087   }
2088 
2089   // required .AnnounceMessage.Version latestGameVersion = 2;
2090   if (has_latestgameversion()) {
2091     ::google::protobuf::internal::WireFormatLite::WriteMessage(
2092       2, this->latestgameversion(), output);
2093   }
2094 
2095   // required uint32 latestBetaRevision = 3;
2096   if (has_latestbetarevision()) {
2097     ::google::protobuf::internal::WireFormatLite::WriteUInt32(3, this->latestbetarevision(), output);
2098   }
2099 
2100   // required .AnnounceMessage.ServerType serverType = 4;
2101   if (has_servertype()) {
2102     ::google::protobuf::internal::WireFormatLite::WriteEnum(
2103       4, this->servertype(), output);
2104   }
2105 
2106   // required uint32 numPlayersOnServer = 5;
2107   if (has_numplayersonserver()) {
2108     ::google::protobuf::internal::WireFormatLite::WriteUInt32(5, this->numplayersonserver(), output);
2109   }
2110 
2111   output->WriteRaw(unknown_fields().data(),
2112                    unknown_fields().size());
2113   // @@protoc_insertion_point(serialize_end:AnnounceMessage)
2114 }
2115 
2116 int AnnounceMessage::ByteSize() const {
2117   int total_size = 0;
2118 
2119   if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
2120     // required .AnnounceMessage.Version protocolVersion = 1;
2121     if (has_protocolversion()) {
2122       total_size += 1 +
2123         ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
2124           this->protocolversion());
2125     }
2126 
2127     // required .AnnounceMessage.Version latestGameVersion = 2;
2128     if (has_latestgameversion()) {
2129       total_size += 1 +
2130         ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
2131           this->latestgameversion());
2132     }
2133 
2134     // required uint32 latestBetaRevision = 3;
2135     if (has_latestbetarevision()) {
2136       total_size += 1 +
2137         ::google::protobuf::internal::WireFormatLite::UInt32Size(
2138           this->latestbetarevision());
2139     }
2140 
2141     // required .AnnounceMessage.ServerType serverType = 4;
2142     if (has_servertype()) {
2143       total_size += 1 +
2144         ::google::protobuf::internal::WireFormatLite::EnumSize(this->servertype());
2145     }
2146 
2147     // required uint32 numPlayersOnServer = 5;
2148     if (has_numplayersonserver()) {
2149       total_size += 1 +
2150         ::google::protobuf::internal::WireFormatLite::UInt32Size(
2151           this->numplayersonserver());
2152     }
2153 
2154   }
2155   total_size += unknown_fields().size();
2156 
2157   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
2158   _cached_size_ = total_size;
2159   GOOGLE_SAFE_CONCURRENT_WRITES_END();
2160   return total_size;
2161 }
2162 
2163 void AnnounceMessage::CheckTypeAndMergeFrom(
2164     const ::google::protobuf::MessageLite& from) {
2165   MergeFrom(*::google::protobuf::down_cast<const AnnounceMessage*>(&from));
2166 }
2167 
2168 void AnnounceMessage::MergeFrom(const AnnounceMessage& from) {
2169   GOOGLE_CHECK_NE(&from, this);
2170   if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
2171     if (from.has_protocolversion()) {
2172       mutable_protocolversion()->::AnnounceMessage_Version::MergeFrom(from.protocolversion());
2173     }
2174     if (from.has_latestgameversion()) {
2175       mutable_latestgameversion()->::AnnounceMessage_Version::MergeFrom(from.latestgameversion());
2176     }
2177     if (from.has_latestbetarevision()) {
2178       set_latestbetarevision(from.latestbetarevision());
2179     }
2180     if (from.has_servertype()) {
2181       set_servertype(from.servertype());
2182     }
2183     if (from.has_numplayersonserver()) {
2184       set_numplayersonserver(from.numplayersonserver());
2185     }
2186   }
2187   mutable_unknown_fields()->append(from.unknown_fields());
2188 }
2189 
2190 void AnnounceMessage::CopyFrom(const AnnounceMessage& from) {
2191   if (&from == this) return;
2192   Clear();
2193   MergeFrom(from);
2194 }
2195 
2196 bool AnnounceMessage::IsInitialized() const {
2197   if ((_has_bits_[0] & 0x0000001f) != 0x0000001f) return false;
2198 
2199   if (has_protocolversion()) {
2200     if (!this->protocolversion().IsInitialized()) return false;
2201   }
2202   if (has_latestgameversion()) {
2203     if (!this->latestgameversion().IsInitialized()) return false;
2204   }
2205   return true;
2206 }
2207 
2208 void AnnounceMessage::Swap(AnnounceMessage* other) {
2209   if (other != this) {
2210     std::swap(protocolversion_, other->protocolversion_);
2211     std::swap(latestgameversion_, other->latestgameversion_);
2212     std::swap(latestbetarevision_, other->latestbetarevision_);
2213     std::swap(servertype_, other->servertype_);
2214     std::swap(numplayersonserver_, other->numplayersonserver_);
2215     std::swap(_has_bits_[0], other->_has_bits_[0]);
2216     _unknown_fields_.swap(other->_unknown_fields_);
2217     std::swap(_cached_size_, other->_cached_size_);
2218   }
2219 }
2220 
2221 ::std::string AnnounceMessage::GetTypeName() const {
2222   return "AnnounceMessage";
2223 }
2224 
2225 
2226 // ===================================================================
2227 
2228 bool InitMessage_LoginType_IsValid(int value) {
2229   switch(value) {
2230     case 0:
2231     case 1:
2232     case 2:
2233       return true;
2234     default:
2235       return false;
2236   }
2237 }
2238 
2239 #ifndef _MSC_VER
2240 const InitMessage_LoginType InitMessage::guestLogin;
2241 const InitMessage_LoginType InitMessage::authenticatedLogin;
2242 const InitMessage_LoginType InitMessage::unauthenticatedLogin;
2243 const InitMessage_LoginType InitMessage::LoginType_MIN;
2244 const InitMessage_LoginType InitMessage::LoginType_MAX;
2245 const int InitMessage::LoginType_ARRAYSIZE;
2246 #endif  // _MSC_VER
2247 #ifndef _MSC_VER
2248 const int InitMessage::kRequestedVersionFieldNumber;
2249 const int InitMessage::kBuildIdFieldNumber;
2250 const int InitMessage::kMyLastSessionIdFieldNumber;
2251 const int InitMessage::kAuthServerPasswordFieldNumber;
2252 const int InitMessage::kLoginFieldNumber;
2253 const int InitMessage::kNickNameFieldNumber;
2254 const int InitMessage::kClientUserDataFieldNumber;
2255 const int InitMessage::kAvatarHashFieldNumber;
2256 #endif  // !_MSC_VER
2257 
2258 InitMessage::InitMessage()
2259   : ::google::protobuf::MessageLite() {
2260   SharedCtor();
2261   // @@protoc_insertion_point(constructor:InitMessage)
2262 }
2263 
2264 void InitMessage::InitAsDefaultInstance() {
2265 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
2266   requestedversion_ = const_cast< ::AnnounceMessage_Version*>(
2267       ::AnnounceMessage_Version::internal_default_instance());
2268 #else
2269   requestedversion_ = const_cast< ::AnnounceMessage_Version*>(&::AnnounceMessage_Version::default_instance());
2270 #endif
2271 }
2272 
2273 InitMessage::InitMessage(const InitMessage& from)
2274   : ::google::protobuf::MessageLite() {
2275   SharedCtor();
2276   MergeFrom(from);
2277   // @@protoc_insertion_point(copy_constructor:InitMessage)
2278 }
2279 
2280 void InitMessage::SharedCtor() {
2281   ::google::protobuf::internal::GetEmptyString();
2282   _cached_size_ = 0;
2283   requestedversion_ = NULL;
2284   buildid_ = 0u;
2285   mylastsessionid_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2286   authserverpassword_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2287   login_ = 0;
2288   nickname_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2289   clientuserdata_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2290   avatarhash_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2291   ::memset(_has_bits_, 0, sizeof(_has_bits_));
2292 }
2293 
2294 InitMessage::~InitMessage() {
2295   // @@protoc_insertion_point(destructor:InitMessage)
2296   SharedDtor();
2297 }
2298 
2299 void InitMessage::SharedDtor() {
2300   if (mylastsessionid_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2301     delete mylastsessionid_;
2302   }
2303   if (authserverpassword_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2304     delete authserverpassword_;
2305   }
2306   if (nickname_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2307     delete nickname_;
2308   }
2309   if (clientuserdata_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2310     delete clientuserdata_;
2311   }
2312   if (avatarhash_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2313     delete avatarhash_;
2314   }
2315   #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
2316   if (this != &default_instance()) {
2317   #else
2318   if (this != default_instance_) {
2319   #endif
2320     delete requestedversion_;
2321   }
2322 }
2323 
2324 void InitMessage::SetCachedSize(int size) const {
2325   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
2326   _cached_size_ = size;
2327   GOOGLE_SAFE_CONCURRENT_WRITES_END();
2328 }
2329 const InitMessage& InitMessage::default_instance() {
2330 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
2331   protobuf_AddDesc_pokerth_2eproto();
2332 #else
2333   if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto();
2334 #endif
2335   return *default_instance_;
2336 }
2337 
2338 InitMessage* InitMessage::default_instance_ = NULL;
2339 
2340 InitMessage* InitMessage::New() const {
2341   return new InitMessage;
2342 }
2343 
2344 void InitMessage::Clear() {
2345 #define OFFSET_OF_FIELD_(f) (reinterpret_cast<char*>(      \
2346   &reinterpret_cast<InitMessage*>(16)->f) - \
2347    reinterpret_cast<char*>(16))
2348 
2349 #define ZR_(first, last) do {                              \
2350     size_t f = OFFSET_OF_FIELD_(first);                    \
2351     size_t n = OFFSET_OF_FIELD_(last) - f + sizeof(last);  \
2352     ::memset(&first, 0, n);                                \
2353   } while (0)
2354 
2355   if (_has_bits_[0 / 32] & 255) {
2356     ZR_(buildid_, login_);
2357     if (has_requestedversion()) {
2358       if (requestedversion_ != NULL) requestedversion_->::AnnounceMessage_Version::Clear();
2359     }
2360     if (has_mylastsessionid()) {
2361       if (mylastsessionid_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2362         mylastsessionid_->clear();
2363       }
2364     }
2365     if (has_authserverpassword()) {
2366       if (authserverpassword_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2367         authserverpassword_->clear();
2368       }
2369     }
2370     if (has_nickname()) {
2371       if (nickname_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2372         nickname_->clear();
2373       }
2374     }
2375     if (has_clientuserdata()) {
2376       if (clientuserdata_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2377         clientuserdata_->clear();
2378       }
2379     }
2380     if (has_avatarhash()) {
2381       if (avatarhash_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2382         avatarhash_->clear();
2383       }
2384     }
2385   }
2386 
2387 #undef OFFSET_OF_FIELD_
2388 #undef ZR_
2389 
2390   ::memset(_has_bits_, 0, sizeof(_has_bits_));
2391   mutable_unknown_fields()->clear();
2392 }
2393 
2394 bool InitMessage::MergePartialFromCodedStream(
2395     ::google::protobuf::io::CodedInputStream* input) {
2396 #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
2397   ::google::protobuf::uint32 tag;
2398   ::google::protobuf::io::StringOutputStream unknown_fields_string(
2399       mutable_unknown_fields());
2400   ::google::protobuf::io::CodedOutputStream unknown_fields_stream(
2401       &unknown_fields_string);
2402   // @@protoc_insertion_point(parse_start:InitMessage)
2403   for (;;) {
2404     ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
2405     tag = p.first;
2406     if (!p.second) goto handle_unusual;
2407     switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
2408       // required .AnnounceMessage.Version requestedVersion = 1;
2409       case 1: {
2410         if (tag == 10) {
2411           DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
2412                input, mutable_requestedversion()));
2413         } else {
2414           goto handle_unusual;
2415         }
2416         if (input->ExpectTag(16)) goto parse_buildId;
2417         break;
2418       }
2419 
2420       // required uint32 buildId = 2;
2421       case 2: {
2422         if (tag == 16) {
2423          parse_buildId:
2424           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
2425                    ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
2426                  input, &buildid_)));
2427           set_has_buildid();
2428         } else {
2429           goto handle_unusual;
2430         }
2431         if (input->ExpectTag(26)) goto parse_myLastSessionId;
2432         break;
2433       }
2434 
2435       // optional bytes myLastSessionId = 3;
2436       case 3: {
2437         if (tag == 26) {
2438          parse_myLastSessionId:
2439           DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
2440                 input, this->mutable_mylastsessionid()));
2441         } else {
2442           goto handle_unusual;
2443         }
2444         if (input->ExpectTag(34)) goto parse_authServerPassword;
2445         break;
2446       }
2447 
2448       // optional string authServerPassword = 4;
2449       case 4: {
2450         if (tag == 34) {
2451          parse_authServerPassword:
2452           DO_(::google::protobuf::internal::WireFormatLite::ReadString(
2453                 input, this->mutable_authserverpassword()));
2454         } else {
2455           goto handle_unusual;
2456         }
2457         if (input->ExpectTag(40)) goto parse_login;
2458         break;
2459       }
2460 
2461       // required .InitMessage.LoginType login = 5;
2462       case 5: {
2463         if (tag == 40) {
2464          parse_login:
2465           int value;
2466           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
2467                    int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
2468                  input, &value)));
2469           if (::InitMessage_LoginType_IsValid(value)) {
2470             set_login(static_cast< ::InitMessage_LoginType >(value));
2471           } else {
2472             unknown_fields_stream.WriteVarint32(tag);
2473             unknown_fields_stream.WriteVarint32(value);
2474           }
2475         } else {
2476           goto handle_unusual;
2477         }
2478         if (input->ExpectTag(50)) goto parse_nickName;
2479         break;
2480       }
2481 
2482       // optional string nickName = 6;
2483       case 6: {
2484         if (tag == 50) {
2485          parse_nickName:
2486           DO_(::google::protobuf::internal::WireFormatLite::ReadString(
2487                 input, this->mutable_nickname()));
2488         } else {
2489           goto handle_unusual;
2490         }
2491         if (input->ExpectTag(58)) goto parse_clientUserData;
2492         break;
2493       }
2494 
2495       // optional bytes clientUserData = 7;
2496       case 7: {
2497         if (tag == 58) {
2498          parse_clientUserData:
2499           DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
2500                 input, this->mutable_clientuserdata()));
2501         } else {
2502           goto handle_unusual;
2503         }
2504         if (input->ExpectTag(66)) goto parse_avatarHash;
2505         break;
2506       }
2507 
2508       // optional bytes avatarHash = 8;
2509       case 8: {
2510         if (tag == 66) {
2511          parse_avatarHash:
2512           DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
2513                 input, this->mutable_avatarhash()));
2514         } else {
2515           goto handle_unusual;
2516         }
2517         if (input->ExpectAtEnd()) goto success;
2518         break;
2519       }
2520 
2521       default: {
2522       handle_unusual:
2523         if (tag == 0 ||
2524             ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
2525             ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
2526           goto success;
2527         }
2528         DO_(::google::protobuf::internal::WireFormatLite::SkipField(
2529             input, tag, &unknown_fields_stream));
2530         break;
2531       }
2532     }
2533   }
2534 success:
2535   // @@protoc_insertion_point(parse_success:InitMessage)
2536   return true;
2537 failure:
2538   // @@protoc_insertion_point(parse_failure:InitMessage)
2539   return false;
2540 #undef DO_
2541 }
2542 
2543 void InitMessage::SerializeWithCachedSizes(
2544     ::google::protobuf::io::CodedOutputStream* output) const {
2545   // @@protoc_insertion_point(serialize_start:InitMessage)
2546   // required .AnnounceMessage.Version requestedVersion = 1;
2547   if (has_requestedversion()) {
2548     ::google::protobuf::internal::WireFormatLite::WriteMessage(
2549       1, this->requestedversion(), output);
2550   }
2551 
2552   // required uint32 buildId = 2;
2553   if (has_buildid()) {
2554     ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->buildid(), output);
2555   }
2556 
2557   // optional bytes myLastSessionId = 3;
2558   if (has_mylastsessionid()) {
2559     ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased(
2560       3, this->mylastsessionid(), output);
2561   }
2562 
2563   // optional string authServerPassword = 4;
2564   if (has_authserverpassword()) {
2565     ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
2566       4, this->authserverpassword(), output);
2567   }
2568 
2569   // required .InitMessage.LoginType login = 5;
2570   if (has_login()) {
2571     ::google::protobuf::internal::WireFormatLite::WriteEnum(
2572       5, this->login(), output);
2573   }
2574 
2575   // optional string nickName = 6;
2576   if (has_nickname()) {
2577     ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
2578       6, this->nickname(), output);
2579   }
2580 
2581   // optional bytes clientUserData = 7;
2582   if (has_clientuserdata()) {
2583     ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased(
2584       7, this->clientuserdata(), output);
2585   }
2586 
2587   // optional bytes avatarHash = 8;
2588   if (has_avatarhash()) {
2589     ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased(
2590       8, this->avatarhash(), output);
2591   }
2592 
2593   output->WriteRaw(unknown_fields().data(),
2594                    unknown_fields().size());
2595   // @@protoc_insertion_point(serialize_end:InitMessage)
2596 }
2597 
2598 int InitMessage::ByteSize() const {
2599   int total_size = 0;
2600 
2601   if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
2602     // required .AnnounceMessage.Version requestedVersion = 1;
2603     if (has_requestedversion()) {
2604       total_size += 1 +
2605         ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
2606           this->requestedversion());
2607     }
2608 
2609     // required uint32 buildId = 2;
2610     if (has_buildid()) {
2611       total_size += 1 +
2612         ::google::protobuf::internal::WireFormatLite::UInt32Size(
2613           this->buildid());
2614     }
2615 
2616     // optional bytes myLastSessionId = 3;
2617     if (has_mylastsessionid()) {
2618       total_size += 1 +
2619         ::google::protobuf::internal::WireFormatLite::BytesSize(
2620           this->mylastsessionid());
2621     }
2622 
2623     // optional string authServerPassword = 4;
2624     if (has_authserverpassword()) {
2625       total_size += 1 +
2626         ::google::protobuf::internal::WireFormatLite::StringSize(
2627           this->authserverpassword());
2628     }
2629 
2630     // required .InitMessage.LoginType login = 5;
2631     if (has_login()) {
2632       total_size += 1 +
2633         ::google::protobuf::internal::WireFormatLite::EnumSize(this->login());
2634     }
2635 
2636     // optional string nickName = 6;
2637     if (has_nickname()) {
2638       total_size += 1 +
2639         ::google::protobuf::internal::WireFormatLite::StringSize(
2640           this->nickname());
2641     }
2642 
2643     // optional bytes clientUserData = 7;
2644     if (has_clientuserdata()) {
2645       total_size += 1 +
2646         ::google::protobuf::internal::WireFormatLite::BytesSize(
2647           this->clientuserdata());
2648     }
2649 
2650     // optional bytes avatarHash = 8;
2651     if (has_avatarhash()) {
2652       total_size += 1 +
2653         ::google::protobuf::internal::WireFormatLite::BytesSize(
2654           this->avatarhash());
2655     }
2656 
2657   }
2658   total_size += unknown_fields().size();
2659 
2660   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
2661   _cached_size_ = total_size;
2662   GOOGLE_SAFE_CONCURRENT_WRITES_END();
2663   return total_size;
2664 }
2665 
2666 void InitMessage::CheckTypeAndMergeFrom(
2667     const ::google::protobuf::MessageLite& from) {
2668   MergeFrom(*::google::protobuf::down_cast<const InitMessage*>(&from));
2669 }
2670 
2671 void InitMessage::MergeFrom(const InitMessage& from) {
2672   GOOGLE_CHECK_NE(&from, this);
2673   if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
2674     if (from.has_requestedversion()) {
2675       mutable_requestedversion()->::AnnounceMessage_Version::MergeFrom(from.requestedversion());
2676     }
2677     if (from.has_buildid()) {
2678       set_buildid(from.buildid());
2679     }
2680     if (from.has_mylastsessionid()) {
2681       set_mylastsessionid(from.mylastsessionid());
2682     }
2683     if (from.has_authserverpassword()) {
2684       set_authserverpassword(from.authserverpassword());
2685     }
2686     if (from.has_login()) {
2687       set_login(from.login());
2688     }
2689     if (from.has_nickname()) {
2690       set_nickname(from.nickname());
2691     }
2692     if (from.has_clientuserdata()) {
2693       set_clientuserdata(from.clientuserdata());
2694     }
2695     if (from.has_avatarhash()) {
2696       set_avatarhash(from.avatarhash());
2697     }
2698   }
2699   mutable_unknown_fields()->append(from.unknown_fields());
2700 }
2701 
2702 void InitMessage::CopyFrom(const InitMessage& from) {
2703   if (&from == this) return;
2704   Clear();
2705   MergeFrom(from);
2706 }
2707 
2708 bool InitMessage::IsInitialized() const {
2709   if ((_has_bits_[0] & 0x00000013) != 0x00000013) return false;
2710 
2711   if (has_requestedversion()) {
2712     if (!this->requestedversion().IsInitialized()) return false;
2713   }
2714   return true;
2715 }
2716 
2717 void InitMessage::Swap(InitMessage* other) {
2718   if (other != this) {
2719     std::swap(requestedversion_, other->requestedversion_);
2720     std::swap(buildid_, other->buildid_);
2721     std::swap(mylastsessionid_, other->mylastsessionid_);
2722     std::swap(authserverpassword_, other->authserverpassword_);
2723     std::swap(login_, other->login_);
2724     std::swap(nickname_, other->nickname_);
2725     std::swap(clientuserdata_, other->clientuserdata_);
2726     std::swap(avatarhash_, other->avatarhash_);
2727     std::swap(_has_bits_[0], other->_has_bits_[0]);
2728     _unknown_fields_.swap(other->_unknown_fields_);
2729     std::swap(_cached_size_, other->_cached_size_);
2730   }
2731 }
2732 
2733 ::std::string InitMessage::GetTypeName() const {
2734   return "InitMessage";
2735 }
2736 
2737 
2738 // ===================================================================
2739 
2740 #ifndef _MSC_VER
2741 const int AuthServerChallengeMessage::kServerChallengeFieldNumber;
2742 #endif  // !_MSC_VER
2743 
2744 AuthServerChallengeMessage::AuthServerChallengeMessage()
2745   : ::google::protobuf::MessageLite() {
2746   SharedCtor();
2747   // @@protoc_insertion_point(constructor:AuthServerChallengeMessage)
2748 }
2749 
2750 void AuthServerChallengeMessage::InitAsDefaultInstance() {
2751 }
2752 
2753 AuthServerChallengeMessage::AuthServerChallengeMessage(const AuthServerChallengeMessage& from)
2754   : ::google::protobuf::MessageLite() {
2755   SharedCtor();
2756   MergeFrom(from);
2757   // @@protoc_insertion_point(copy_constructor:AuthServerChallengeMessage)
2758 }
2759 
2760 void AuthServerChallengeMessage::SharedCtor() {
2761   ::google::protobuf::internal::GetEmptyString();
2762   _cached_size_ = 0;
2763   serverchallenge_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2764   ::memset(_has_bits_, 0, sizeof(_has_bits_));
2765 }
2766 
2767 AuthServerChallengeMessage::~AuthServerChallengeMessage() {
2768   // @@protoc_insertion_point(destructor:AuthServerChallengeMessage)
2769   SharedDtor();
2770 }
2771 
2772 void AuthServerChallengeMessage::SharedDtor() {
2773   if (serverchallenge_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2774     delete serverchallenge_;
2775   }
2776   #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
2777   if (this != &default_instance()) {
2778   #else
2779   if (this != default_instance_) {
2780   #endif
2781   }
2782 }
2783 
2784 void AuthServerChallengeMessage::SetCachedSize(int size) const {
2785   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
2786   _cached_size_ = size;
2787   GOOGLE_SAFE_CONCURRENT_WRITES_END();
2788 }
2789 const AuthServerChallengeMessage& AuthServerChallengeMessage::default_instance() {
2790 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
2791   protobuf_AddDesc_pokerth_2eproto();
2792 #else
2793   if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto();
2794 #endif
2795   return *default_instance_;
2796 }
2797 
2798 AuthServerChallengeMessage* AuthServerChallengeMessage::default_instance_ = NULL;
2799 
2800 AuthServerChallengeMessage* AuthServerChallengeMessage::New() const {
2801   return new AuthServerChallengeMessage;
2802 }
2803 
2804 void AuthServerChallengeMessage::Clear() {
2805   if (has_serverchallenge()) {
2806     if (serverchallenge_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2807       serverchallenge_->clear();
2808     }
2809   }
2810   ::memset(_has_bits_, 0, sizeof(_has_bits_));
2811   mutable_unknown_fields()->clear();
2812 }
2813 
2814 bool AuthServerChallengeMessage::MergePartialFromCodedStream(
2815     ::google::protobuf::io::CodedInputStream* input) {
2816 #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
2817   ::google::protobuf::uint32 tag;
2818   ::google::protobuf::io::StringOutputStream unknown_fields_string(
2819       mutable_unknown_fields());
2820   ::google::protobuf::io::CodedOutputStream unknown_fields_stream(
2821       &unknown_fields_string);
2822   // @@protoc_insertion_point(parse_start:AuthServerChallengeMessage)
2823   for (;;) {
2824     ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
2825     tag = p.first;
2826     if (!p.second) goto handle_unusual;
2827     switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
2828       // required bytes serverChallenge = 1;
2829       case 1: {
2830         if (tag == 10) {
2831           DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
2832                 input, this->mutable_serverchallenge()));
2833         } else {
2834           goto handle_unusual;
2835         }
2836         if (input->ExpectAtEnd()) goto success;
2837         break;
2838       }
2839 
2840       default: {
2841       handle_unusual:
2842         if (tag == 0 ||
2843             ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
2844             ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
2845           goto success;
2846         }
2847         DO_(::google::protobuf::internal::WireFormatLite::SkipField(
2848             input, tag, &unknown_fields_stream));
2849         break;
2850       }
2851     }
2852   }
2853 success:
2854   // @@protoc_insertion_point(parse_success:AuthServerChallengeMessage)
2855   return true;
2856 failure:
2857   // @@protoc_insertion_point(parse_failure:AuthServerChallengeMessage)
2858   return false;
2859 #undef DO_
2860 }
2861 
2862 void AuthServerChallengeMessage::SerializeWithCachedSizes(
2863     ::google::protobuf::io::CodedOutputStream* output) const {
2864   // @@protoc_insertion_point(serialize_start:AuthServerChallengeMessage)
2865   // required bytes serverChallenge = 1;
2866   if (has_serverchallenge()) {
2867     ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased(
2868       1, this->serverchallenge(), output);
2869   }
2870 
2871   output->WriteRaw(unknown_fields().data(),
2872                    unknown_fields().size());
2873   // @@protoc_insertion_point(serialize_end:AuthServerChallengeMessage)
2874 }
2875 
2876 int AuthServerChallengeMessage::ByteSize() const {
2877   int total_size = 0;
2878 
2879   if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
2880     // required bytes serverChallenge = 1;
2881     if (has_serverchallenge()) {
2882       total_size += 1 +
2883         ::google::protobuf::internal::WireFormatLite::BytesSize(
2884           this->serverchallenge());
2885     }
2886 
2887   }
2888   total_size += unknown_fields().size();
2889 
2890   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
2891   _cached_size_ = total_size;
2892   GOOGLE_SAFE_CONCURRENT_WRITES_END();
2893   return total_size;
2894 }
2895 
2896 void AuthServerChallengeMessage::CheckTypeAndMergeFrom(
2897     const ::google::protobuf::MessageLite& from) {
2898   MergeFrom(*::google::protobuf::down_cast<const AuthServerChallengeMessage*>(&from));
2899 }
2900 
2901 void AuthServerChallengeMessage::MergeFrom(const AuthServerChallengeMessage& from) {
2902   GOOGLE_CHECK_NE(&from, this);
2903   if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
2904     if (from.has_serverchallenge()) {
2905       set_serverchallenge(from.serverchallenge());
2906     }
2907   }
2908   mutable_unknown_fields()->append(from.unknown_fields());
2909 }
2910 
2911 void AuthServerChallengeMessage::CopyFrom(const AuthServerChallengeMessage& from) {
2912   if (&from == this) return;
2913   Clear();
2914   MergeFrom(from);
2915 }
2916 
2917 bool AuthServerChallengeMessage::IsInitialized() const {
2918   if ((_has_bits_[0] & 0x00000001) != 0x00000001) return false;
2919 
2920   return true;
2921 }
2922 
2923 void AuthServerChallengeMessage::Swap(AuthServerChallengeMessage* other) {
2924   if (other != this) {
2925     std::swap(serverchallenge_, other->serverchallenge_);
2926     std::swap(_has_bits_[0], other->_has_bits_[0]);
2927     _unknown_fields_.swap(other->_unknown_fields_);
2928     std::swap(_cached_size_, other->_cached_size_);
2929   }
2930 }
2931 
2932 ::std::string AuthServerChallengeMessage::GetTypeName() const {
2933   return "AuthServerChallengeMessage";
2934 }
2935 
2936 
2937 // ===================================================================
2938 
2939 #ifndef _MSC_VER
2940 const int AuthClientResponseMessage::kClientResponseFieldNumber;
2941 #endif  // !_MSC_VER
2942 
2943 AuthClientResponseMessage::AuthClientResponseMessage()
2944   : ::google::protobuf::MessageLite() {
2945   SharedCtor();
2946   // @@protoc_insertion_point(constructor:AuthClientResponseMessage)
2947 }
2948 
2949 void AuthClientResponseMessage::InitAsDefaultInstance() {
2950 }
2951 
2952 AuthClientResponseMessage::AuthClientResponseMessage(const AuthClientResponseMessage& from)
2953   : ::google::protobuf::MessageLite() {
2954   SharedCtor();
2955   MergeFrom(from);
2956   // @@protoc_insertion_point(copy_constructor:AuthClientResponseMessage)
2957 }
2958 
2959 void AuthClientResponseMessage::SharedCtor() {
2960   ::google::protobuf::internal::GetEmptyString();
2961   _cached_size_ = 0;
2962   clientresponse_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2963   ::memset(_has_bits_, 0, sizeof(_has_bits_));
2964 }
2965 
2966 AuthClientResponseMessage::~AuthClientResponseMessage() {
2967   // @@protoc_insertion_point(destructor:AuthClientResponseMessage)
2968   SharedDtor();
2969 }
2970 
2971 void AuthClientResponseMessage::SharedDtor() {
2972   if (clientresponse_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
2973     delete clientresponse_;
2974   }
2975   #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
2976   if (this != &default_instance()) {
2977   #else
2978   if (this != default_instance_) {
2979   #endif
2980   }
2981 }
2982 
2983 void AuthClientResponseMessage::SetCachedSize(int size) const {
2984   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
2985   _cached_size_ = size;
2986   GOOGLE_SAFE_CONCURRENT_WRITES_END();
2987 }
2988 const AuthClientResponseMessage& AuthClientResponseMessage::default_instance() {
2989 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
2990   protobuf_AddDesc_pokerth_2eproto();
2991 #else
2992   if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto();
2993 #endif
2994   return *default_instance_;
2995 }
2996 
2997 AuthClientResponseMessage* AuthClientResponseMessage::default_instance_ = NULL;
2998 
2999 AuthClientResponseMessage* AuthClientResponseMessage::New() const {
3000   return new AuthClientResponseMessage;
3001 }
3002 
3003 void AuthClientResponseMessage::Clear() {
3004   if (has_clientresponse()) {
3005     if (clientresponse_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3006       clientresponse_->clear();
3007     }
3008   }
3009   ::memset(_has_bits_, 0, sizeof(_has_bits_));
3010   mutable_unknown_fields()->clear();
3011 }
3012 
3013 bool AuthClientResponseMessage::MergePartialFromCodedStream(
3014     ::google::protobuf::io::CodedInputStream* input) {
3015 #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
3016   ::google::protobuf::uint32 tag;
3017   ::google::protobuf::io::StringOutputStream unknown_fields_string(
3018       mutable_unknown_fields());
3019   ::google::protobuf::io::CodedOutputStream unknown_fields_stream(
3020       &unknown_fields_string);
3021   // @@protoc_insertion_point(parse_start:AuthClientResponseMessage)
3022   for (;;) {
3023     ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
3024     tag = p.first;
3025     if (!p.second) goto handle_unusual;
3026     switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
3027       // required bytes clientResponse = 1;
3028       case 1: {
3029         if (tag == 10) {
3030           DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
3031                 input, this->mutable_clientresponse()));
3032         } else {
3033           goto handle_unusual;
3034         }
3035         if (input->ExpectAtEnd()) goto success;
3036         break;
3037       }
3038 
3039       default: {
3040       handle_unusual:
3041         if (tag == 0 ||
3042             ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
3043             ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
3044           goto success;
3045         }
3046         DO_(::google::protobuf::internal::WireFormatLite::SkipField(
3047             input, tag, &unknown_fields_stream));
3048         break;
3049       }
3050     }
3051   }
3052 success:
3053   // @@protoc_insertion_point(parse_success:AuthClientResponseMessage)
3054   return true;
3055 failure:
3056   // @@protoc_insertion_point(parse_failure:AuthClientResponseMessage)
3057   return false;
3058 #undef DO_
3059 }
3060 
3061 void AuthClientResponseMessage::SerializeWithCachedSizes(
3062     ::google::protobuf::io::CodedOutputStream* output) const {
3063   // @@protoc_insertion_point(serialize_start:AuthClientResponseMessage)
3064   // required bytes clientResponse = 1;
3065   if (has_clientresponse()) {
3066     ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased(
3067       1, this->clientresponse(), output);
3068   }
3069 
3070   output->WriteRaw(unknown_fields().data(),
3071                    unknown_fields().size());
3072   // @@protoc_insertion_point(serialize_end:AuthClientResponseMessage)
3073 }
3074 
3075 int AuthClientResponseMessage::ByteSize() const {
3076   int total_size = 0;
3077 
3078   if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
3079     // required bytes clientResponse = 1;
3080     if (has_clientresponse()) {
3081       total_size += 1 +
3082         ::google::protobuf::internal::WireFormatLite::BytesSize(
3083           this->clientresponse());
3084     }
3085 
3086   }
3087   total_size += unknown_fields().size();
3088 
3089   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
3090   _cached_size_ = total_size;
3091   GOOGLE_SAFE_CONCURRENT_WRITES_END();
3092   return total_size;
3093 }
3094 
3095 void AuthClientResponseMessage::CheckTypeAndMergeFrom(
3096     const ::google::protobuf::MessageLite& from) {
3097   MergeFrom(*::google::protobuf::down_cast<const AuthClientResponseMessage*>(&from));
3098 }
3099 
3100 void AuthClientResponseMessage::MergeFrom(const AuthClientResponseMessage& from) {
3101   GOOGLE_CHECK_NE(&from, this);
3102   if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
3103     if (from.has_clientresponse()) {
3104       set_clientresponse(from.clientresponse());
3105     }
3106   }
3107   mutable_unknown_fields()->append(from.unknown_fields());
3108 }
3109 
3110 void AuthClientResponseMessage::CopyFrom(const AuthClientResponseMessage& from) {
3111   if (&from == this) return;
3112   Clear();
3113   MergeFrom(from);
3114 }
3115 
3116 bool AuthClientResponseMessage::IsInitialized() const {
3117   if ((_has_bits_[0] & 0x00000001) != 0x00000001) return false;
3118 
3119   return true;
3120 }
3121 
3122 void AuthClientResponseMessage::Swap(AuthClientResponseMessage* other) {
3123   if (other != this) {
3124     std::swap(clientresponse_, other->clientresponse_);
3125     std::swap(_has_bits_[0], other->_has_bits_[0]);
3126     _unknown_fields_.swap(other->_unknown_fields_);
3127     std::swap(_cached_size_, other->_cached_size_);
3128   }
3129 }
3130 
3131 ::std::string AuthClientResponseMessage::GetTypeName() const {
3132   return "AuthClientResponseMessage";
3133 }
3134 
3135 
3136 // ===================================================================
3137 
3138 #ifndef _MSC_VER
3139 const int AuthServerVerificationMessage::kServerVerificationFieldNumber;
3140 #endif  // !_MSC_VER
3141 
3142 AuthServerVerificationMessage::AuthServerVerificationMessage()
3143   : ::google::protobuf::MessageLite() {
3144   SharedCtor();
3145   // @@protoc_insertion_point(constructor:AuthServerVerificationMessage)
3146 }
3147 
3148 void AuthServerVerificationMessage::InitAsDefaultInstance() {
3149 }
3150 
3151 AuthServerVerificationMessage::AuthServerVerificationMessage(const AuthServerVerificationMessage& from)
3152   : ::google::protobuf::MessageLite() {
3153   SharedCtor();
3154   MergeFrom(from);
3155   // @@protoc_insertion_point(copy_constructor:AuthServerVerificationMessage)
3156 }
3157 
3158 void AuthServerVerificationMessage::SharedCtor() {
3159   ::google::protobuf::internal::GetEmptyString();
3160   _cached_size_ = 0;
3161   serververification_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3162   ::memset(_has_bits_, 0, sizeof(_has_bits_));
3163 }
3164 
3165 AuthServerVerificationMessage::~AuthServerVerificationMessage() {
3166   // @@protoc_insertion_point(destructor:AuthServerVerificationMessage)
3167   SharedDtor();
3168 }
3169 
3170 void AuthServerVerificationMessage::SharedDtor() {
3171   if (serververification_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3172     delete serververification_;
3173   }
3174   #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
3175   if (this != &default_instance()) {
3176   #else
3177   if (this != default_instance_) {
3178   #endif
3179   }
3180 }
3181 
3182 void AuthServerVerificationMessage::SetCachedSize(int size) const {
3183   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
3184   _cached_size_ = size;
3185   GOOGLE_SAFE_CONCURRENT_WRITES_END();
3186 }
3187 const AuthServerVerificationMessage& AuthServerVerificationMessage::default_instance() {
3188 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
3189   protobuf_AddDesc_pokerth_2eproto();
3190 #else
3191   if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto();
3192 #endif
3193   return *default_instance_;
3194 }
3195 
3196 AuthServerVerificationMessage* AuthServerVerificationMessage::default_instance_ = NULL;
3197 
3198 AuthServerVerificationMessage* AuthServerVerificationMessage::New() const {
3199   return new AuthServerVerificationMessage;
3200 }
3201 
3202 void AuthServerVerificationMessage::Clear() {
3203   if (has_serververification()) {
3204     if (serververification_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3205       serververification_->clear();
3206     }
3207   }
3208   ::memset(_has_bits_, 0, sizeof(_has_bits_));
3209   mutable_unknown_fields()->clear();
3210 }
3211 
3212 bool AuthServerVerificationMessage::MergePartialFromCodedStream(
3213     ::google::protobuf::io::CodedInputStream* input) {
3214 #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
3215   ::google::protobuf::uint32 tag;
3216   ::google::protobuf::io::StringOutputStream unknown_fields_string(
3217       mutable_unknown_fields());
3218   ::google::protobuf::io::CodedOutputStream unknown_fields_stream(
3219       &unknown_fields_string);
3220   // @@protoc_insertion_point(parse_start:AuthServerVerificationMessage)
3221   for (;;) {
3222     ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
3223     tag = p.first;
3224     if (!p.second) goto handle_unusual;
3225     switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
3226       // required bytes serverVerification = 1;
3227       case 1: {
3228         if (tag == 10) {
3229           DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
3230                 input, this->mutable_serververification()));
3231         } else {
3232           goto handle_unusual;
3233         }
3234         if (input->ExpectAtEnd()) goto success;
3235         break;
3236       }
3237 
3238       default: {
3239       handle_unusual:
3240         if (tag == 0 ||
3241             ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
3242             ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
3243           goto success;
3244         }
3245         DO_(::google::protobuf::internal::WireFormatLite::SkipField(
3246             input, tag, &unknown_fields_stream));
3247         break;
3248       }
3249     }
3250   }
3251 success:
3252   // @@protoc_insertion_point(parse_success:AuthServerVerificationMessage)
3253   return true;
3254 failure:
3255   // @@protoc_insertion_point(parse_failure:AuthServerVerificationMessage)
3256   return false;
3257 #undef DO_
3258 }
3259 
3260 void AuthServerVerificationMessage::SerializeWithCachedSizes(
3261     ::google::protobuf::io::CodedOutputStream* output) const {
3262   // @@protoc_insertion_point(serialize_start:AuthServerVerificationMessage)
3263   // required bytes serverVerification = 1;
3264   if (has_serververification()) {
3265     ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased(
3266       1, this->serververification(), output);
3267   }
3268 
3269   output->WriteRaw(unknown_fields().data(),
3270                    unknown_fields().size());
3271   // @@protoc_insertion_point(serialize_end:AuthServerVerificationMessage)
3272 }
3273 
3274 int AuthServerVerificationMessage::ByteSize() const {
3275   int total_size = 0;
3276 
3277   if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
3278     // required bytes serverVerification = 1;
3279     if (has_serververification()) {
3280       total_size += 1 +
3281         ::google::protobuf::internal::WireFormatLite::BytesSize(
3282           this->serververification());
3283     }
3284 
3285   }
3286   total_size += unknown_fields().size();
3287 
3288   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
3289   _cached_size_ = total_size;
3290   GOOGLE_SAFE_CONCURRENT_WRITES_END();
3291   return total_size;
3292 }
3293 
3294 void AuthServerVerificationMessage::CheckTypeAndMergeFrom(
3295     const ::google::protobuf::MessageLite& from) {
3296   MergeFrom(*::google::protobuf::down_cast<const AuthServerVerificationMessage*>(&from));
3297 }
3298 
3299 void AuthServerVerificationMessage::MergeFrom(const AuthServerVerificationMessage& from) {
3300   GOOGLE_CHECK_NE(&from, this);
3301   if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
3302     if (from.has_serververification()) {
3303       set_serververification(from.serververification());
3304     }
3305   }
3306   mutable_unknown_fields()->append(from.unknown_fields());
3307 }
3308 
3309 void AuthServerVerificationMessage::CopyFrom(const AuthServerVerificationMessage& from) {
3310   if (&from == this) return;
3311   Clear();
3312   MergeFrom(from);
3313 }
3314 
3315 bool AuthServerVerificationMessage::IsInitialized() const {
3316   if ((_has_bits_[0] & 0x00000001) != 0x00000001) return false;
3317 
3318   return true;
3319 }
3320 
3321 void AuthServerVerificationMessage::Swap(AuthServerVerificationMessage* other) {
3322   if (other != this) {
3323     std::swap(serververification_, other->serververification_);
3324     std::swap(_has_bits_[0], other->_has_bits_[0]);
3325     _unknown_fields_.swap(other->_unknown_fields_);
3326     std::swap(_cached_size_, other->_cached_size_);
3327   }
3328 }
3329 
3330 ::std::string AuthServerVerificationMessage::GetTypeName() const {
3331   return "AuthServerVerificationMessage";
3332 }
3333 
3334 
3335 // ===================================================================
3336 
3337 #ifndef _MSC_VER
3338 const int InitAckMessage::kYourSessionIdFieldNumber;
3339 const int InitAckMessage::kYourPlayerIdFieldNumber;
3340 const int InitAckMessage::kYourAvatarHashFieldNumber;
3341 const int InitAckMessage::kRejoinGameIdFieldNumber;
3342 #endif  // !_MSC_VER
3343 
3344 InitAckMessage::InitAckMessage()
3345   : ::google::protobuf::MessageLite() {
3346   SharedCtor();
3347   // @@protoc_insertion_point(constructor:InitAckMessage)
3348 }
3349 
3350 void InitAckMessage::InitAsDefaultInstance() {
3351 }
3352 
3353 InitAckMessage::InitAckMessage(const InitAckMessage& from)
3354   : ::google::protobuf::MessageLite() {
3355   SharedCtor();
3356   MergeFrom(from);
3357   // @@protoc_insertion_point(copy_constructor:InitAckMessage)
3358 }
3359 
3360 void InitAckMessage::SharedCtor() {
3361   ::google::protobuf::internal::GetEmptyString();
3362   _cached_size_ = 0;
3363   yoursessionid_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3364   yourplayerid_ = 0u;
3365   youravatarhash_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3366   rejoingameid_ = 0u;
3367   ::memset(_has_bits_, 0, sizeof(_has_bits_));
3368 }
3369 
3370 InitAckMessage::~InitAckMessage() {
3371   // @@protoc_insertion_point(destructor:InitAckMessage)
3372   SharedDtor();
3373 }
3374 
3375 void InitAckMessage::SharedDtor() {
3376   if (yoursessionid_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3377     delete yoursessionid_;
3378   }
3379   if (youravatarhash_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3380     delete youravatarhash_;
3381   }
3382   #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
3383   if (this != &default_instance()) {
3384   #else
3385   if (this != default_instance_) {
3386   #endif
3387   }
3388 }
3389 
3390 void InitAckMessage::SetCachedSize(int size) const {
3391   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
3392   _cached_size_ = size;
3393   GOOGLE_SAFE_CONCURRENT_WRITES_END();
3394 }
3395 const InitAckMessage& InitAckMessage::default_instance() {
3396 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
3397   protobuf_AddDesc_pokerth_2eproto();
3398 #else
3399   if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto();
3400 #endif
3401   return *default_instance_;
3402 }
3403 
3404 InitAckMessage* InitAckMessage::default_instance_ = NULL;
3405 
3406 InitAckMessage* InitAckMessage::New() const {
3407   return new InitAckMessage;
3408 }
3409 
3410 void InitAckMessage::Clear() {
3411 #define OFFSET_OF_FIELD_(f) (reinterpret_cast<char*>(      \
3412   &reinterpret_cast<InitAckMessage*>(16)->f) - \
3413    reinterpret_cast<char*>(16))
3414 
3415 #define ZR_(first, last) do {                              \
3416     size_t f = OFFSET_OF_FIELD_(first);                    \
3417     size_t n = OFFSET_OF_FIELD_(last) - f + sizeof(last);  \
3418     ::memset(&first, 0, n);                                \
3419   } while (0)
3420 
3421   if (_has_bits_[0 / 32] & 15) {
3422     ZR_(yourplayerid_, rejoingameid_);
3423     if (has_yoursessionid()) {
3424       if (yoursessionid_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3425         yoursessionid_->clear();
3426       }
3427     }
3428     if (has_youravatarhash()) {
3429       if (youravatarhash_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3430         youravatarhash_->clear();
3431       }
3432     }
3433   }
3434 
3435 #undef OFFSET_OF_FIELD_
3436 #undef ZR_
3437 
3438   ::memset(_has_bits_, 0, sizeof(_has_bits_));
3439   mutable_unknown_fields()->clear();
3440 }
3441 
3442 bool InitAckMessage::MergePartialFromCodedStream(
3443     ::google::protobuf::io::CodedInputStream* input) {
3444 #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
3445   ::google::protobuf::uint32 tag;
3446   ::google::protobuf::io::StringOutputStream unknown_fields_string(
3447       mutable_unknown_fields());
3448   ::google::protobuf::io::CodedOutputStream unknown_fields_stream(
3449       &unknown_fields_string);
3450   // @@protoc_insertion_point(parse_start:InitAckMessage)
3451   for (;;) {
3452     ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
3453     tag = p.first;
3454     if (!p.second) goto handle_unusual;
3455     switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
3456       // required bytes yourSessionId = 1;
3457       case 1: {
3458         if (tag == 10) {
3459           DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
3460                 input, this->mutable_yoursessionid()));
3461         } else {
3462           goto handle_unusual;
3463         }
3464         if (input->ExpectTag(16)) goto parse_yourPlayerId;
3465         break;
3466       }
3467 
3468       // required uint32 yourPlayerId = 2;
3469       case 2: {
3470         if (tag == 16) {
3471          parse_yourPlayerId:
3472           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
3473                    ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
3474                  input, &yourplayerid_)));
3475           set_has_yourplayerid();
3476         } else {
3477           goto handle_unusual;
3478         }
3479         if (input->ExpectTag(26)) goto parse_yourAvatarHash;
3480         break;
3481       }
3482 
3483       // optional bytes yourAvatarHash = 3;
3484       case 3: {
3485         if (tag == 26) {
3486          parse_yourAvatarHash:
3487           DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
3488                 input, this->mutable_youravatarhash()));
3489         } else {
3490           goto handle_unusual;
3491         }
3492         if (input->ExpectTag(32)) goto parse_rejoinGameId;
3493         break;
3494       }
3495 
3496       // optional uint32 rejoinGameId = 4;
3497       case 4: {
3498         if (tag == 32) {
3499          parse_rejoinGameId:
3500           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
3501                    ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
3502                  input, &rejoingameid_)));
3503           set_has_rejoingameid();
3504         } else {
3505           goto handle_unusual;
3506         }
3507         if (input->ExpectAtEnd()) goto success;
3508         break;
3509       }
3510 
3511       default: {
3512       handle_unusual:
3513         if (tag == 0 ||
3514             ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
3515             ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
3516           goto success;
3517         }
3518         DO_(::google::protobuf::internal::WireFormatLite::SkipField(
3519             input, tag, &unknown_fields_stream));
3520         break;
3521       }
3522     }
3523   }
3524 success:
3525   // @@protoc_insertion_point(parse_success:InitAckMessage)
3526   return true;
3527 failure:
3528   // @@protoc_insertion_point(parse_failure:InitAckMessage)
3529   return false;
3530 #undef DO_
3531 }
3532 
3533 void InitAckMessage::SerializeWithCachedSizes(
3534     ::google::protobuf::io::CodedOutputStream* output) const {
3535   // @@protoc_insertion_point(serialize_start:InitAckMessage)
3536   // required bytes yourSessionId = 1;
3537   if (has_yoursessionid()) {
3538     ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased(
3539       1, this->yoursessionid(), output);
3540   }
3541 
3542   // required uint32 yourPlayerId = 2;
3543   if (has_yourplayerid()) {
3544     ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->yourplayerid(), output);
3545   }
3546 
3547   // optional bytes yourAvatarHash = 3;
3548   if (has_youravatarhash()) {
3549     ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased(
3550       3, this->youravatarhash(), output);
3551   }
3552 
3553   // optional uint32 rejoinGameId = 4;
3554   if (has_rejoingameid()) {
3555     ::google::protobuf::internal::WireFormatLite::WriteUInt32(4, this->rejoingameid(), output);
3556   }
3557 
3558   output->WriteRaw(unknown_fields().data(),
3559                    unknown_fields().size());
3560   // @@protoc_insertion_point(serialize_end:InitAckMessage)
3561 }
3562 
3563 int InitAckMessage::ByteSize() const {
3564   int total_size = 0;
3565 
3566   if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
3567     // required bytes yourSessionId = 1;
3568     if (has_yoursessionid()) {
3569       total_size += 1 +
3570         ::google::protobuf::internal::WireFormatLite::BytesSize(
3571           this->yoursessionid());
3572     }
3573 
3574     // required uint32 yourPlayerId = 2;
3575     if (has_yourplayerid()) {
3576       total_size += 1 +
3577         ::google::protobuf::internal::WireFormatLite::UInt32Size(
3578           this->yourplayerid());
3579     }
3580 
3581     // optional bytes yourAvatarHash = 3;
3582     if (has_youravatarhash()) {
3583       total_size += 1 +
3584         ::google::protobuf::internal::WireFormatLite::BytesSize(
3585           this->youravatarhash());
3586     }
3587 
3588     // optional uint32 rejoinGameId = 4;
3589     if (has_rejoingameid()) {
3590       total_size += 1 +
3591         ::google::protobuf::internal::WireFormatLite::UInt32Size(
3592           this->rejoingameid());
3593     }
3594 
3595   }
3596   total_size += unknown_fields().size();
3597 
3598   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
3599   _cached_size_ = total_size;
3600   GOOGLE_SAFE_CONCURRENT_WRITES_END();
3601   return total_size;
3602 }
3603 
3604 void InitAckMessage::CheckTypeAndMergeFrom(
3605     const ::google::protobuf::MessageLite& from) {
3606   MergeFrom(*::google::protobuf::down_cast<const InitAckMessage*>(&from));
3607 }
3608 
3609 void InitAckMessage::MergeFrom(const InitAckMessage& from) {
3610   GOOGLE_CHECK_NE(&from, this);
3611   if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
3612     if (from.has_yoursessionid()) {
3613       set_yoursessionid(from.yoursessionid());
3614     }
3615     if (from.has_yourplayerid()) {
3616       set_yourplayerid(from.yourplayerid());
3617     }
3618     if (from.has_youravatarhash()) {
3619       set_youravatarhash(from.youravatarhash());
3620     }
3621     if (from.has_rejoingameid()) {
3622       set_rejoingameid(from.rejoingameid());
3623     }
3624   }
3625   mutable_unknown_fields()->append(from.unknown_fields());
3626 }
3627 
3628 void InitAckMessage::CopyFrom(const InitAckMessage& from) {
3629   if (&from == this) return;
3630   Clear();
3631   MergeFrom(from);
3632 }
3633 
3634 bool InitAckMessage::IsInitialized() const {
3635   if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false;
3636 
3637   return true;
3638 }
3639 
3640 void InitAckMessage::Swap(InitAckMessage* other) {
3641   if (other != this) {
3642     std::swap(yoursessionid_, other->yoursessionid_);
3643     std::swap(yourplayerid_, other->yourplayerid_);
3644     std::swap(youravatarhash_, other->youravatarhash_);
3645     std::swap(rejoingameid_, other->rejoingameid_);
3646     std::swap(_has_bits_[0], other->_has_bits_[0]);
3647     _unknown_fields_.swap(other->_unknown_fields_);
3648     std::swap(_cached_size_, other->_cached_size_);
3649   }
3650 }
3651 
3652 ::std::string InitAckMessage::GetTypeName() const {
3653   return "InitAckMessage";
3654 }
3655 
3656 
3657 // ===================================================================
3658 
3659 #ifndef _MSC_VER
3660 const int AvatarRequestMessage::kRequestIdFieldNumber;
3661 const int AvatarRequestMessage::kAvatarHashFieldNumber;
3662 #endif  // !_MSC_VER
3663 
3664 AvatarRequestMessage::AvatarRequestMessage()
3665   : ::google::protobuf::MessageLite() {
3666   SharedCtor();
3667   // @@protoc_insertion_point(constructor:AvatarRequestMessage)
3668 }
3669 
3670 void AvatarRequestMessage::InitAsDefaultInstance() {
3671 }
3672 
3673 AvatarRequestMessage::AvatarRequestMessage(const AvatarRequestMessage& from)
3674   : ::google::protobuf::MessageLite() {
3675   SharedCtor();
3676   MergeFrom(from);
3677   // @@protoc_insertion_point(copy_constructor:AvatarRequestMessage)
3678 }
3679 
3680 void AvatarRequestMessage::SharedCtor() {
3681   ::google::protobuf::internal::GetEmptyString();
3682   _cached_size_ = 0;
3683   requestid_ = 0u;
3684   avatarhash_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
3685   ::memset(_has_bits_, 0, sizeof(_has_bits_));
3686 }
3687 
3688 AvatarRequestMessage::~AvatarRequestMessage() {
3689   // @@protoc_insertion_point(destructor:AvatarRequestMessage)
3690   SharedDtor();
3691 }
3692 
3693 void AvatarRequestMessage::SharedDtor() {
3694   if (avatarhash_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3695     delete avatarhash_;
3696   }
3697   #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
3698   if (this != &default_instance()) {
3699   #else
3700   if (this != default_instance_) {
3701   #endif
3702   }
3703 }
3704 
3705 void AvatarRequestMessage::SetCachedSize(int size) const {
3706   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
3707   _cached_size_ = size;
3708   GOOGLE_SAFE_CONCURRENT_WRITES_END();
3709 }
3710 const AvatarRequestMessage& AvatarRequestMessage::default_instance() {
3711 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
3712   protobuf_AddDesc_pokerth_2eproto();
3713 #else
3714   if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto();
3715 #endif
3716   return *default_instance_;
3717 }
3718 
3719 AvatarRequestMessage* AvatarRequestMessage::default_instance_ = NULL;
3720 
3721 AvatarRequestMessage* AvatarRequestMessage::New() const {
3722   return new AvatarRequestMessage;
3723 }
3724 
3725 void AvatarRequestMessage::Clear() {
3726   if (_has_bits_[0 / 32] & 3) {
3727     requestid_ = 0u;
3728     if (has_avatarhash()) {
3729       if (avatarhash_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
3730         avatarhash_->clear();
3731       }
3732     }
3733   }
3734   ::memset(_has_bits_, 0, sizeof(_has_bits_));
3735   mutable_unknown_fields()->clear();
3736 }
3737 
3738 bool AvatarRequestMessage::MergePartialFromCodedStream(
3739     ::google::protobuf::io::CodedInputStream* input) {
3740 #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
3741   ::google::protobuf::uint32 tag;
3742   ::google::protobuf::io::StringOutputStream unknown_fields_string(
3743       mutable_unknown_fields());
3744   ::google::protobuf::io::CodedOutputStream unknown_fields_stream(
3745       &unknown_fields_string);
3746   // @@protoc_insertion_point(parse_start:AvatarRequestMessage)
3747   for (;;) {
3748     ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
3749     tag = p.first;
3750     if (!p.second) goto handle_unusual;
3751     switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
3752       // required uint32 requestId = 1;
3753       case 1: {
3754         if (tag == 8) {
3755           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
3756                    ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
3757                  input, &requestid_)));
3758           set_has_requestid();
3759         } else {
3760           goto handle_unusual;
3761         }
3762         if (input->ExpectTag(18)) goto parse_avatarHash;
3763         break;
3764       }
3765 
3766       // required bytes avatarHash = 2;
3767       case 2: {
3768         if (tag == 18) {
3769          parse_avatarHash:
3770           DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
3771                 input, this->mutable_avatarhash()));
3772         } else {
3773           goto handle_unusual;
3774         }
3775         if (input->ExpectAtEnd()) goto success;
3776         break;
3777       }
3778 
3779       default: {
3780       handle_unusual:
3781         if (tag == 0 ||
3782             ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
3783             ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
3784           goto success;
3785         }
3786         DO_(::google::protobuf::internal::WireFormatLite::SkipField(
3787             input, tag, &unknown_fields_stream));
3788         break;
3789       }
3790     }
3791   }
3792 success:
3793   // @@protoc_insertion_point(parse_success:AvatarRequestMessage)
3794   return true;
3795 failure:
3796   // @@protoc_insertion_point(parse_failure:AvatarRequestMessage)
3797   return false;
3798 #undef DO_
3799 }
3800 
3801 void AvatarRequestMessage::SerializeWithCachedSizes(
3802     ::google::protobuf::io::CodedOutputStream* output) const {
3803   // @@protoc_insertion_point(serialize_start:AvatarRequestMessage)
3804   // required uint32 requestId = 1;
3805   if (has_requestid()) {
3806     ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->requestid(), output);
3807   }
3808 
3809   // required bytes avatarHash = 2;
3810   if (has_avatarhash()) {
3811     ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased(
3812       2, this->avatarhash(), output);
3813   }
3814 
3815   output->WriteRaw(unknown_fields().data(),
3816                    unknown_fields().size());
3817   // @@protoc_insertion_point(serialize_end:AvatarRequestMessage)
3818 }
3819 
3820 int AvatarRequestMessage::ByteSize() const {
3821   int total_size = 0;
3822 
3823   if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
3824     // required uint32 requestId = 1;
3825     if (has_requestid()) {
3826       total_size += 1 +
3827         ::google::protobuf::internal::WireFormatLite::UInt32Size(
3828           this->requestid());
3829     }
3830 
3831     // required bytes avatarHash = 2;
3832     if (has_avatarhash()) {
3833       total_size += 1 +
3834         ::google::protobuf::internal::WireFormatLite::BytesSize(
3835           this->avatarhash());
3836     }
3837 
3838   }
3839   total_size += unknown_fields().size();
3840 
3841   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
3842   _cached_size_ = total_size;
3843   GOOGLE_SAFE_CONCURRENT_WRITES_END();
3844   return total_size;
3845 }
3846 
3847 void AvatarRequestMessage::CheckTypeAndMergeFrom(
3848     const ::google::protobuf::MessageLite& from) {
3849   MergeFrom(*::google::protobuf::down_cast<const AvatarRequestMessage*>(&from));
3850 }
3851 
3852 void AvatarRequestMessage::MergeFrom(const AvatarRequestMessage& from) {
3853   GOOGLE_CHECK_NE(&from, this);
3854   if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
3855     if (from.has_requestid()) {
3856       set_requestid(from.requestid());
3857     }
3858     if (from.has_avatarhash()) {
3859       set_avatarhash(from.avatarhash());
3860     }
3861   }
3862   mutable_unknown_fields()->append(from.unknown_fields());
3863 }
3864 
3865 void AvatarRequestMessage::CopyFrom(const AvatarRequestMessage& from) {
3866   if (&from == this) return;
3867   Clear();
3868   MergeFrom(from);
3869 }
3870 
3871 bool AvatarRequestMessage::IsInitialized() const {
3872   if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false;
3873 
3874   return true;
3875 }
3876 
3877 void AvatarRequestMessage::Swap(AvatarRequestMessage* other) {
3878   if (other != this) {
3879     std::swap(requestid_, other->requestid_);
3880     std::swap(avatarhash_, other->avatarhash_);
3881     std::swap(_has_bits_[0], other->_has_bits_[0]);
3882     _unknown_fields_.swap(other->_unknown_fields_);
3883     std::swap(_cached_size_, other->_cached_size_);
3884   }
3885 }
3886 
3887 ::std::string AvatarRequestMessage::GetTypeName() const {
3888   return "AvatarRequestMessage";
3889 }
3890 
3891 
3892 // ===================================================================
3893 
3894 #ifndef _MSC_VER
3895 const int AvatarHeaderMessage::kRequestIdFieldNumber;
3896 const int AvatarHeaderMessage::kAvatarTypeFieldNumber;
3897 const int AvatarHeaderMessage::kAvatarSizeFieldNumber;
3898 #endif  // !_MSC_VER
3899 
3900 AvatarHeaderMessage::AvatarHeaderMessage()
3901   : ::google::protobuf::MessageLite() {
3902   SharedCtor();
3903   // @@protoc_insertion_point(constructor:AvatarHeaderMessage)
3904 }
3905 
3906 void AvatarHeaderMessage::InitAsDefaultInstance() {
3907 }
3908 
3909 AvatarHeaderMessage::AvatarHeaderMessage(const AvatarHeaderMessage& from)
3910   : ::google::protobuf::MessageLite() {
3911   SharedCtor();
3912   MergeFrom(from);
3913   // @@protoc_insertion_point(copy_constructor:AvatarHeaderMessage)
3914 }
3915 
3916 void AvatarHeaderMessage::SharedCtor() {
3917   _cached_size_ = 0;
3918   requestid_ = 0u;
3919   avatartype_ = 1;
3920   avatarsize_ = 0u;
3921   ::memset(_has_bits_, 0, sizeof(_has_bits_));
3922 }
3923 
3924 AvatarHeaderMessage::~AvatarHeaderMessage() {
3925   // @@protoc_insertion_point(destructor:AvatarHeaderMessage)
3926   SharedDtor();
3927 }
3928 
3929 void AvatarHeaderMessage::SharedDtor() {
3930   #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
3931   if (this != &default_instance()) {
3932   #else
3933   if (this != default_instance_) {
3934   #endif
3935   }
3936 }
3937 
3938 void AvatarHeaderMessage::SetCachedSize(int size) const {
3939   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
3940   _cached_size_ = size;
3941   GOOGLE_SAFE_CONCURRENT_WRITES_END();
3942 }
3943 const AvatarHeaderMessage& AvatarHeaderMessage::default_instance() {
3944 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
3945   protobuf_AddDesc_pokerth_2eproto();
3946 #else
3947   if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto();
3948 #endif
3949   return *default_instance_;
3950 }
3951 
3952 AvatarHeaderMessage* AvatarHeaderMessage::default_instance_ = NULL;
3953 
3954 AvatarHeaderMessage* AvatarHeaderMessage::New() const {
3955   return new AvatarHeaderMessage;
3956 }
3957 
3958 void AvatarHeaderMessage::Clear() {
3959   if (_has_bits_[0 / 32] & 7) {
3960     requestid_ = 0u;
3961     avatartype_ = 1;
3962     avatarsize_ = 0u;
3963   }
3964   ::memset(_has_bits_, 0, sizeof(_has_bits_));
3965   mutable_unknown_fields()->clear();
3966 }
3967 
3968 bool AvatarHeaderMessage::MergePartialFromCodedStream(
3969     ::google::protobuf::io::CodedInputStream* input) {
3970 #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
3971   ::google::protobuf::uint32 tag;
3972   ::google::protobuf::io::StringOutputStream unknown_fields_string(
3973       mutable_unknown_fields());
3974   ::google::protobuf::io::CodedOutputStream unknown_fields_stream(
3975       &unknown_fields_string);
3976   // @@protoc_insertion_point(parse_start:AvatarHeaderMessage)
3977   for (;;) {
3978     ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
3979     tag = p.first;
3980     if (!p.second) goto handle_unusual;
3981     switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
3982       // required uint32 requestId = 1;
3983       case 1: {
3984         if (tag == 8) {
3985           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
3986                    ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
3987                  input, &requestid_)));
3988           set_has_requestid();
3989         } else {
3990           goto handle_unusual;
3991         }
3992         if (input->ExpectTag(16)) goto parse_avatarType;
3993         break;
3994       }
3995 
3996       // required .NetAvatarType avatarType = 2;
3997       case 2: {
3998         if (tag == 16) {
3999          parse_avatarType:
4000           int value;
4001           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
4002                    int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
4003                  input, &value)));
4004           if (::NetAvatarType_IsValid(value)) {
4005             set_avatartype(static_cast< ::NetAvatarType >(value));
4006           } else {
4007             unknown_fields_stream.WriteVarint32(tag);
4008             unknown_fields_stream.WriteVarint32(value);
4009           }
4010         } else {
4011           goto handle_unusual;
4012         }
4013         if (input->ExpectTag(24)) goto parse_avatarSize;
4014         break;
4015       }
4016 
4017       // required uint32 avatarSize = 3;
4018       case 3: {
4019         if (tag == 24) {
4020          parse_avatarSize:
4021           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
4022                    ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
4023                  input, &avatarsize_)));
4024           set_has_avatarsize();
4025         } else {
4026           goto handle_unusual;
4027         }
4028         if (input->ExpectAtEnd()) goto success;
4029         break;
4030       }
4031 
4032       default: {
4033       handle_unusual:
4034         if (tag == 0 ||
4035             ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
4036             ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
4037           goto success;
4038         }
4039         DO_(::google::protobuf::internal::WireFormatLite::SkipField(
4040             input, tag, &unknown_fields_stream));
4041         break;
4042       }
4043     }
4044   }
4045 success:
4046   // @@protoc_insertion_point(parse_success:AvatarHeaderMessage)
4047   return true;
4048 failure:
4049   // @@protoc_insertion_point(parse_failure:AvatarHeaderMessage)
4050   return false;
4051 #undef DO_
4052 }
4053 
4054 void AvatarHeaderMessage::SerializeWithCachedSizes(
4055     ::google::protobuf::io::CodedOutputStream* output) const {
4056   // @@protoc_insertion_point(serialize_start:AvatarHeaderMessage)
4057   // required uint32 requestId = 1;
4058   if (has_requestid()) {
4059     ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->requestid(), output);
4060   }
4061 
4062   // required .NetAvatarType avatarType = 2;
4063   if (has_avatartype()) {
4064     ::google::protobuf::internal::WireFormatLite::WriteEnum(
4065       2, this->avatartype(), output);
4066   }
4067 
4068   // required uint32 avatarSize = 3;
4069   if (has_avatarsize()) {
4070     ::google::protobuf::internal::WireFormatLite::WriteUInt32(3, this->avatarsize(), output);
4071   }
4072 
4073   output->WriteRaw(unknown_fields().data(),
4074                    unknown_fields().size());
4075   // @@protoc_insertion_point(serialize_end:AvatarHeaderMessage)
4076 }
4077 
4078 int AvatarHeaderMessage::ByteSize() const {
4079   int total_size = 0;
4080 
4081   if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
4082     // required uint32 requestId = 1;
4083     if (has_requestid()) {
4084       total_size += 1 +
4085         ::google::protobuf::internal::WireFormatLite::UInt32Size(
4086           this->requestid());
4087     }
4088 
4089     // required .NetAvatarType avatarType = 2;
4090     if (has_avatartype()) {
4091       total_size += 1 +
4092         ::google::protobuf::internal::WireFormatLite::EnumSize(this->avatartype());
4093     }
4094 
4095     // required uint32 avatarSize = 3;
4096     if (has_avatarsize()) {
4097       total_size += 1 +
4098         ::google::protobuf::internal::WireFormatLite::UInt32Size(
4099           this->avatarsize());
4100     }
4101 
4102   }
4103   total_size += unknown_fields().size();
4104 
4105   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
4106   _cached_size_ = total_size;
4107   GOOGLE_SAFE_CONCURRENT_WRITES_END();
4108   return total_size;
4109 }
4110 
4111 void AvatarHeaderMessage::CheckTypeAndMergeFrom(
4112     const ::google::protobuf::MessageLite& from) {
4113   MergeFrom(*::google::protobuf::down_cast<const AvatarHeaderMessage*>(&from));
4114 }
4115 
4116 void AvatarHeaderMessage::MergeFrom(const AvatarHeaderMessage& from) {
4117   GOOGLE_CHECK_NE(&from, this);
4118   if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
4119     if (from.has_requestid()) {
4120       set_requestid(from.requestid());
4121     }
4122     if (from.has_avatartype()) {
4123       set_avatartype(from.avatartype());
4124     }
4125     if (from.has_avatarsize()) {
4126       set_avatarsize(from.avatarsize());
4127     }
4128   }
4129   mutable_unknown_fields()->append(from.unknown_fields());
4130 }
4131 
4132 void AvatarHeaderMessage::CopyFrom(const AvatarHeaderMessage& from) {
4133   if (&from == this) return;
4134   Clear();
4135   MergeFrom(from);
4136 }
4137 
4138 bool AvatarHeaderMessage::IsInitialized() const {
4139   if ((_has_bits_[0] & 0x00000007) != 0x00000007) return false;
4140 
4141   return true;
4142 }
4143 
4144 void AvatarHeaderMessage::Swap(AvatarHeaderMessage* other) {
4145   if (other != this) {
4146     std::swap(requestid_, other->requestid_);
4147     std::swap(avatartype_, other->avatartype_);
4148     std::swap(avatarsize_, other->avatarsize_);
4149     std::swap(_has_bits_[0], other->_has_bits_[0]);
4150     _unknown_fields_.swap(other->_unknown_fields_);
4151     std::swap(_cached_size_, other->_cached_size_);
4152   }
4153 }
4154 
4155 ::std::string AvatarHeaderMessage::GetTypeName() const {
4156   return "AvatarHeaderMessage";
4157 }
4158 
4159 
4160 // ===================================================================
4161 
4162 #ifndef _MSC_VER
4163 const int AvatarDataMessage::kRequestIdFieldNumber;
4164 const int AvatarDataMessage::kAvatarBlockFieldNumber;
4165 #endif  // !_MSC_VER
4166 
4167 AvatarDataMessage::AvatarDataMessage()
4168   : ::google::protobuf::MessageLite() {
4169   SharedCtor();
4170   // @@protoc_insertion_point(constructor:AvatarDataMessage)
4171 }
4172 
4173 void AvatarDataMessage::InitAsDefaultInstance() {
4174 }
4175 
4176 AvatarDataMessage::AvatarDataMessage(const AvatarDataMessage& from)
4177   : ::google::protobuf::MessageLite() {
4178   SharedCtor();
4179   MergeFrom(from);
4180   // @@protoc_insertion_point(copy_constructor:AvatarDataMessage)
4181 }
4182 
4183 void AvatarDataMessage::SharedCtor() {
4184   ::google::protobuf::internal::GetEmptyString();
4185   _cached_size_ = 0;
4186   requestid_ = 0u;
4187   avatarblock_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
4188   ::memset(_has_bits_, 0, sizeof(_has_bits_));
4189 }
4190 
4191 AvatarDataMessage::~AvatarDataMessage() {
4192   // @@protoc_insertion_point(destructor:AvatarDataMessage)
4193   SharedDtor();
4194 }
4195 
4196 void AvatarDataMessage::SharedDtor() {
4197   if (avatarblock_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4198     delete avatarblock_;
4199   }
4200   #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
4201   if (this != &default_instance()) {
4202   #else
4203   if (this != default_instance_) {
4204   #endif
4205   }
4206 }
4207 
4208 void AvatarDataMessage::SetCachedSize(int size) const {
4209   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
4210   _cached_size_ = size;
4211   GOOGLE_SAFE_CONCURRENT_WRITES_END();
4212 }
4213 const AvatarDataMessage& AvatarDataMessage::default_instance() {
4214 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
4215   protobuf_AddDesc_pokerth_2eproto();
4216 #else
4217   if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto();
4218 #endif
4219   return *default_instance_;
4220 }
4221 
4222 AvatarDataMessage* AvatarDataMessage::default_instance_ = NULL;
4223 
4224 AvatarDataMessage* AvatarDataMessage::New() const {
4225   return new AvatarDataMessage;
4226 }
4227 
4228 void AvatarDataMessage::Clear() {
4229   if (_has_bits_[0 / 32] & 3) {
4230     requestid_ = 0u;
4231     if (has_avatarblock()) {
4232       if (avatarblock_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
4233         avatarblock_->clear();
4234       }
4235     }
4236   }
4237   ::memset(_has_bits_, 0, sizeof(_has_bits_));
4238   mutable_unknown_fields()->clear();
4239 }
4240 
4241 bool AvatarDataMessage::MergePartialFromCodedStream(
4242     ::google::protobuf::io::CodedInputStream* input) {
4243 #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
4244   ::google::protobuf::uint32 tag;
4245   ::google::protobuf::io::StringOutputStream unknown_fields_string(
4246       mutable_unknown_fields());
4247   ::google::protobuf::io::CodedOutputStream unknown_fields_stream(
4248       &unknown_fields_string);
4249   // @@protoc_insertion_point(parse_start:AvatarDataMessage)
4250   for (;;) {
4251     ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
4252     tag = p.first;
4253     if (!p.second) goto handle_unusual;
4254     switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
4255       // required uint32 requestId = 1;
4256       case 1: {
4257         if (tag == 8) {
4258           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
4259                    ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
4260                  input, &requestid_)));
4261           set_has_requestid();
4262         } else {
4263           goto handle_unusual;
4264         }
4265         if (input->ExpectTag(18)) goto parse_avatarBlock;
4266         break;
4267       }
4268 
4269       // required bytes avatarBlock = 2;
4270       case 2: {
4271         if (tag == 18) {
4272          parse_avatarBlock:
4273           DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
4274                 input, this->mutable_avatarblock()));
4275         } else {
4276           goto handle_unusual;
4277         }
4278         if (input->ExpectAtEnd()) goto success;
4279         break;
4280       }
4281 
4282       default: {
4283       handle_unusual:
4284         if (tag == 0 ||
4285             ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
4286             ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
4287           goto success;
4288         }
4289         DO_(::google::protobuf::internal::WireFormatLite::SkipField(
4290             input, tag, &unknown_fields_stream));
4291         break;
4292       }
4293     }
4294   }
4295 success:
4296   // @@protoc_insertion_point(parse_success:AvatarDataMessage)
4297   return true;
4298 failure:
4299   // @@protoc_insertion_point(parse_failure:AvatarDataMessage)
4300   return false;
4301 #undef DO_
4302 }
4303 
4304 void AvatarDataMessage::SerializeWithCachedSizes(
4305     ::google::protobuf::io::CodedOutputStream* output) const {
4306   // @@protoc_insertion_point(serialize_start:AvatarDataMessage)
4307   // required uint32 requestId = 1;
4308   if (has_requestid()) {
4309     ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->requestid(), output);
4310   }
4311 
4312   // required bytes avatarBlock = 2;
4313   if (has_avatarblock()) {
4314     ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased(
4315       2, this->avatarblock(), output);
4316   }
4317 
4318   output->WriteRaw(unknown_fields().data(),
4319                    unknown_fields().size());
4320   // @@protoc_insertion_point(serialize_end:AvatarDataMessage)
4321 }
4322 
4323 int AvatarDataMessage::ByteSize() const {
4324   int total_size = 0;
4325 
4326   if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
4327     // required uint32 requestId = 1;
4328     if (has_requestid()) {
4329       total_size += 1 +
4330         ::google::protobuf::internal::WireFormatLite::UInt32Size(
4331           this->requestid());
4332     }
4333 
4334     // required bytes avatarBlock = 2;
4335     if (has_avatarblock()) {
4336       total_size += 1 +
4337         ::google::protobuf::internal::WireFormatLite::BytesSize(
4338           this->avatarblock());
4339     }
4340 
4341   }
4342   total_size += unknown_fields().size();
4343 
4344   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
4345   _cached_size_ = total_size;
4346   GOOGLE_SAFE_CONCURRENT_WRITES_END();
4347   return total_size;
4348 }
4349 
4350 void AvatarDataMessage::CheckTypeAndMergeFrom(
4351     const ::google::protobuf::MessageLite& from) {
4352   MergeFrom(*::google::protobuf::down_cast<const AvatarDataMessage*>(&from));
4353 }
4354 
4355 void AvatarDataMessage::MergeFrom(const AvatarDataMessage& from) {
4356   GOOGLE_CHECK_NE(&from, this);
4357   if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
4358     if (from.has_requestid()) {
4359       set_requestid(from.requestid());
4360     }
4361     if (from.has_avatarblock()) {
4362       set_avatarblock(from.avatarblock());
4363     }
4364   }
4365   mutable_unknown_fields()->append(from.unknown_fields());
4366 }
4367 
4368 void AvatarDataMessage::CopyFrom(const AvatarDataMessage& from) {
4369   if (&from == this) return;
4370   Clear();
4371   MergeFrom(from);
4372 }
4373 
4374 bool AvatarDataMessage::IsInitialized() const {
4375   if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false;
4376 
4377   return true;
4378 }
4379 
4380 void AvatarDataMessage::Swap(AvatarDataMessage* other) {
4381   if (other != this) {
4382     std::swap(requestid_, other->requestid_);
4383     std::swap(avatarblock_, other->avatarblock_);
4384     std::swap(_has_bits_[0], other->_has_bits_[0]);
4385     _unknown_fields_.swap(other->_unknown_fields_);
4386     std::swap(_cached_size_, other->_cached_size_);
4387   }
4388 }
4389 
4390 ::std::string AvatarDataMessage::GetTypeName() const {
4391   return "AvatarDataMessage";
4392 }
4393 
4394 
4395 // ===================================================================
4396 
4397 #ifndef _MSC_VER
4398 const int AvatarEndMessage::kRequestIdFieldNumber;
4399 #endif  // !_MSC_VER
4400 
4401 AvatarEndMessage::AvatarEndMessage()
4402   : ::google::protobuf::MessageLite() {
4403   SharedCtor();
4404   // @@protoc_insertion_point(constructor:AvatarEndMessage)
4405 }
4406 
4407 void AvatarEndMessage::InitAsDefaultInstance() {
4408 }
4409 
4410 AvatarEndMessage::AvatarEndMessage(const AvatarEndMessage& from)
4411   : ::google::protobuf::MessageLite() {
4412   SharedCtor();
4413   MergeFrom(from);
4414   // @@protoc_insertion_point(copy_constructor:AvatarEndMessage)
4415 }
4416 
4417 void AvatarEndMessage::SharedCtor() {
4418   _cached_size_ = 0;
4419   requestid_ = 0u;
4420   ::memset(_has_bits_, 0, sizeof(_has_bits_));
4421 }
4422 
4423 AvatarEndMessage::~AvatarEndMessage() {
4424   // @@protoc_insertion_point(destructor:AvatarEndMessage)
4425   SharedDtor();
4426 }
4427 
4428 void AvatarEndMessage::SharedDtor() {
4429   #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
4430   if (this != &default_instance()) {
4431   #else
4432   if (this != default_instance_) {
4433   #endif
4434   }
4435 }
4436 
4437 void AvatarEndMessage::SetCachedSize(int size) const {
4438   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
4439   _cached_size_ = size;
4440   GOOGLE_SAFE_CONCURRENT_WRITES_END();
4441 }
4442 const AvatarEndMessage& AvatarEndMessage::default_instance() {
4443 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
4444   protobuf_AddDesc_pokerth_2eproto();
4445 #else
4446   if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto();
4447 #endif
4448   return *default_instance_;
4449 }
4450 
4451 AvatarEndMessage* AvatarEndMessage::default_instance_ = NULL;
4452 
4453 AvatarEndMessage* AvatarEndMessage::New() const {
4454   return new AvatarEndMessage;
4455 }
4456 
4457 void AvatarEndMessage::Clear() {
4458   requestid_ = 0u;
4459   ::memset(_has_bits_, 0, sizeof(_has_bits_));
4460   mutable_unknown_fields()->clear();
4461 }
4462 
4463 bool AvatarEndMessage::MergePartialFromCodedStream(
4464     ::google::protobuf::io::CodedInputStream* input) {
4465 #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
4466   ::google::protobuf::uint32 tag;
4467   ::google::protobuf::io::StringOutputStream unknown_fields_string(
4468       mutable_unknown_fields());
4469   ::google::protobuf::io::CodedOutputStream unknown_fields_stream(
4470       &unknown_fields_string);
4471   // @@protoc_insertion_point(parse_start:AvatarEndMessage)
4472   for (;;) {
4473     ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
4474     tag = p.first;
4475     if (!p.second) goto handle_unusual;
4476     switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
4477       // required uint32 requestId = 1;
4478       case 1: {
4479         if (tag == 8) {
4480           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
4481                    ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
4482                  input, &requestid_)));
4483           set_has_requestid();
4484         } else {
4485           goto handle_unusual;
4486         }
4487         if (input->ExpectAtEnd()) goto success;
4488         break;
4489       }
4490 
4491       default: {
4492       handle_unusual:
4493         if (tag == 0 ||
4494             ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
4495             ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
4496           goto success;
4497         }
4498         DO_(::google::protobuf::internal::WireFormatLite::SkipField(
4499             input, tag, &unknown_fields_stream));
4500         break;
4501       }
4502     }
4503   }
4504 success:
4505   // @@protoc_insertion_point(parse_success:AvatarEndMessage)
4506   return true;
4507 failure:
4508   // @@protoc_insertion_point(parse_failure:AvatarEndMessage)
4509   return false;
4510 #undef DO_
4511 }
4512 
4513 void AvatarEndMessage::SerializeWithCachedSizes(
4514     ::google::protobuf::io::CodedOutputStream* output) const {
4515   // @@protoc_insertion_point(serialize_start:AvatarEndMessage)
4516   // required uint32 requestId = 1;
4517   if (has_requestid()) {
4518     ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->requestid(), output);
4519   }
4520 
4521   output->WriteRaw(unknown_fields().data(),
4522                    unknown_fields().size());
4523   // @@protoc_insertion_point(serialize_end:AvatarEndMessage)
4524 }
4525 
4526 int AvatarEndMessage::ByteSize() const {
4527   int total_size = 0;
4528 
4529   if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
4530     // required uint32 requestId = 1;
4531     if (has_requestid()) {
4532       total_size += 1 +
4533         ::google::protobuf::internal::WireFormatLite::UInt32Size(
4534           this->requestid());
4535     }
4536 
4537   }
4538   total_size += unknown_fields().size();
4539 
4540   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
4541   _cached_size_ = total_size;
4542   GOOGLE_SAFE_CONCURRENT_WRITES_END();
4543   return total_size;
4544 }
4545 
4546 void AvatarEndMessage::CheckTypeAndMergeFrom(
4547     const ::google::protobuf::MessageLite& from) {
4548   MergeFrom(*::google::protobuf::down_cast<const AvatarEndMessage*>(&from));
4549 }
4550 
4551 void AvatarEndMessage::MergeFrom(const AvatarEndMessage& from) {
4552   GOOGLE_CHECK_NE(&from, this);
4553   if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
4554     if (from.has_requestid()) {
4555       set_requestid(from.requestid());
4556     }
4557   }
4558   mutable_unknown_fields()->append(from.unknown_fields());
4559 }
4560 
4561 void AvatarEndMessage::CopyFrom(const AvatarEndMessage& from) {
4562   if (&from == this) return;
4563   Clear();
4564   MergeFrom(from);
4565 }
4566 
4567 bool AvatarEndMessage::IsInitialized() const {
4568   if ((_has_bits_[0] & 0x00000001) != 0x00000001) return false;
4569 
4570   return true;
4571 }
4572 
4573 void AvatarEndMessage::Swap(AvatarEndMessage* other) {
4574   if (other != this) {
4575     std::swap(requestid_, other->requestid_);
4576     std::swap(_has_bits_[0], other->_has_bits_[0]);
4577     _unknown_fields_.swap(other->_unknown_fields_);
4578     std::swap(_cached_size_, other->_cached_size_);
4579   }
4580 }
4581 
4582 ::std::string AvatarEndMessage::GetTypeName() const {
4583   return "AvatarEndMessage";
4584 }
4585 
4586 
4587 // ===================================================================
4588 
4589 #ifndef _MSC_VER
4590 const int UnknownAvatarMessage::kRequestIdFieldNumber;
4591 #endif  // !_MSC_VER
4592 
4593 UnknownAvatarMessage::UnknownAvatarMessage()
4594   : ::google::protobuf::MessageLite() {
4595   SharedCtor();
4596   // @@protoc_insertion_point(constructor:UnknownAvatarMessage)
4597 }
4598 
4599 void UnknownAvatarMessage::InitAsDefaultInstance() {
4600 }
4601 
4602 UnknownAvatarMessage::UnknownAvatarMessage(const UnknownAvatarMessage& from)
4603   : ::google::protobuf::MessageLite() {
4604   SharedCtor();
4605   MergeFrom(from);
4606   // @@protoc_insertion_point(copy_constructor:UnknownAvatarMessage)
4607 }
4608 
4609 void UnknownAvatarMessage::SharedCtor() {
4610   _cached_size_ = 0;
4611   requestid_ = 0u;
4612   ::memset(_has_bits_, 0, sizeof(_has_bits_));
4613 }
4614 
4615 UnknownAvatarMessage::~UnknownAvatarMessage() {
4616   // @@protoc_insertion_point(destructor:UnknownAvatarMessage)
4617   SharedDtor();
4618 }
4619 
4620 void UnknownAvatarMessage::SharedDtor() {
4621   #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
4622   if (this != &default_instance()) {
4623   #else
4624   if (this != default_instance_) {
4625   #endif
4626   }
4627 }
4628 
4629 void UnknownAvatarMessage::SetCachedSize(int size) const {
4630   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
4631   _cached_size_ = size;
4632   GOOGLE_SAFE_CONCURRENT_WRITES_END();
4633 }
4634 const UnknownAvatarMessage& UnknownAvatarMessage::default_instance() {
4635 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
4636   protobuf_AddDesc_pokerth_2eproto();
4637 #else
4638   if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto();
4639 #endif
4640   return *default_instance_;
4641 }
4642 
4643 UnknownAvatarMessage* UnknownAvatarMessage::default_instance_ = NULL;
4644 
4645 UnknownAvatarMessage* UnknownAvatarMessage::New() const {
4646   return new UnknownAvatarMessage;
4647 }
4648 
4649 void UnknownAvatarMessage::Clear() {
4650   requestid_ = 0u;
4651   ::memset(_has_bits_, 0, sizeof(_has_bits_));
4652   mutable_unknown_fields()->clear();
4653 }
4654 
4655 bool UnknownAvatarMessage::MergePartialFromCodedStream(
4656     ::google::protobuf::io::CodedInputStream* input) {
4657 #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
4658   ::google::protobuf::uint32 tag;
4659   ::google::protobuf::io::StringOutputStream unknown_fields_string(
4660       mutable_unknown_fields());
4661   ::google::protobuf::io::CodedOutputStream unknown_fields_stream(
4662       &unknown_fields_string);
4663   // @@protoc_insertion_point(parse_start:UnknownAvatarMessage)
4664   for (;;) {
4665     ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
4666     tag = p.first;
4667     if (!p.second) goto handle_unusual;
4668     switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
4669       // required uint32 requestId = 1;
4670       case 1: {
4671         if (tag == 8) {
4672           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
4673                    ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
4674                  input, &requestid_)));
4675           set_has_requestid();
4676         } else {
4677           goto handle_unusual;
4678         }
4679         if (input->ExpectAtEnd()) goto success;
4680         break;
4681       }
4682 
4683       default: {
4684       handle_unusual:
4685         if (tag == 0 ||
4686             ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
4687             ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
4688           goto success;
4689         }
4690         DO_(::google::protobuf::internal::WireFormatLite::SkipField(
4691             input, tag, &unknown_fields_stream));
4692         break;
4693       }
4694     }
4695   }
4696 success:
4697   // @@protoc_insertion_point(parse_success:UnknownAvatarMessage)
4698   return true;
4699 failure:
4700   // @@protoc_insertion_point(parse_failure:UnknownAvatarMessage)
4701   return false;
4702 #undef DO_
4703 }
4704 
4705 void UnknownAvatarMessage::SerializeWithCachedSizes(
4706     ::google::protobuf::io::CodedOutputStream* output) const {
4707   // @@protoc_insertion_point(serialize_start:UnknownAvatarMessage)
4708   // required uint32 requestId = 1;
4709   if (has_requestid()) {
4710     ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->requestid(), output);
4711   }
4712 
4713   output->WriteRaw(unknown_fields().data(),
4714                    unknown_fields().size());
4715   // @@protoc_insertion_point(serialize_end:UnknownAvatarMessage)
4716 }
4717 
4718 int UnknownAvatarMessage::ByteSize() const {
4719   int total_size = 0;
4720 
4721   if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
4722     // required uint32 requestId = 1;
4723     if (has_requestid()) {
4724       total_size += 1 +
4725         ::google::protobuf::internal::WireFormatLite::UInt32Size(
4726           this->requestid());
4727     }
4728 
4729   }
4730   total_size += unknown_fields().size();
4731 
4732   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
4733   _cached_size_ = total_size;
4734   GOOGLE_SAFE_CONCURRENT_WRITES_END();
4735   return total_size;
4736 }
4737 
4738 void UnknownAvatarMessage::CheckTypeAndMergeFrom(
4739     const ::google::protobuf::MessageLite& from) {
4740   MergeFrom(*::google::protobuf::down_cast<const UnknownAvatarMessage*>(&from));
4741 }
4742 
4743 void UnknownAvatarMessage::MergeFrom(const UnknownAvatarMessage& from) {
4744   GOOGLE_CHECK_NE(&from, this);
4745   if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
4746     if (from.has_requestid()) {
4747       set_requestid(from.requestid());
4748     }
4749   }
4750   mutable_unknown_fields()->append(from.unknown_fields());
4751 }
4752 
4753 void UnknownAvatarMessage::CopyFrom(const UnknownAvatarMessage& from) {
4754   if (&from == this) return;
4755   Clear();
4756   MergeFrom(from);
4757 }
4758 
4759 bool UnknownAvatarMessage::IsInitialized() const {
4760   if ((_has_bits_[0] & 0x00000001) != 0x00000001) return false;
4761 
4762   return true;
4763 }
4764 
4765 void UnknownAvatarMessage::Swap(UnknownAvatarMessage* other) {
4766   if (other != this) {
4767     std::swap(requestid_, other->requestid_);
4768     std::swap(_has_bits_[0], other->_has_bits_[0]);
4769     _unknown_fields_.swap(other->_unknown_fields_);
4770     std::swap(_cached_size_, other->_cached_size_);
4771   }
4772 }
4773 
4774 ::std::string UnknownAvatarMessage::GetTypeName() const {
4775   return "UnknownAvatarMessage";
4776 }
4777 
4778 
4779 // ===================================================================
4780 
4781 bool PlayerListMessage_PlayerListNotification_IsValid(int value) {
4782   switch(value) {
4783     case 0:
4784     case 1:
4785       return true;
4786     default:
4787       return false;
4788   }
4789 }
4790 
4791 #ifndef _MSC_VER
4792 const PlayerListMessage_PlayerListNotification PlayerListMessage::playerListNew;
4793 const PlayerListMessage_PlayerListNotification PlayerListMessage::playerListLeft;
4794 const PlayerListMessage_PlayerListNotification PlayerListMessage::PlayerListNotification_MIN;
4795 const PlayerListMessage_PlayerListNotification PlayerListMessage::PlayerListNotification_MAX;
4796 const int PlayerListMessage::PlayerListNotification_ARRAYSIZE;
4797 #endif  // _MSC_VER
4798 #ifndef _MSC_VER
4799 const int PlayerListMessage::kPlayerIdFieldNumber;
4800 const int PlayerListMessage::kPlayerListNotificationFieldNumber;
4801 #endif  // !_MSC_VER
4802 
4803 PlayerListMessage::PlayerListMessage()
4804   : ::google::protobuf::MessageLite() {
4805   SharedCtor();
4806   // @@protoc_insertion_point(constructor:PlayerListMessage)
4807 }
4808 
4809 void PlayerListMessage::InitAsDefaultInstance() {
4810 }
4811 
4812 PlayerListMessage::PlayerListMessage(const PlayerListMessage& from)
4813   : ::google::protobuf::MessageLite() {
4814   SharedCtor();
4815   MergeFrom(from);
4816   // @@protoc_insertion_point(copy_constructor:PlayerListMessage)
4817 }
4818 
4819 void PlayerListMessage::SharedCtor() {
4820   _cached_size_ = 0;
4821   playerid_ = 0u;
4822   playerlistnotification_ = 0;
4823   ::memset(_has_bits_, 0, sizeof(_has_bits_));
4824 }
4825 
4826 PlayerListMessage::~PlayerListMessage() {
4827   // @@protoc_insertion_point(destructor:PlayerListMessage)
4828   SharedDtor();
4829 }
4830 
4831 void PlayerListMessage::SharedDtor() {
4832   #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
4833   if (this != &default_instance()) {
4834   #else
4835   if (this != default_instance_) {
4836   #endif
4837   }
4838 }
4839 
4840 void PlayerListMessage::SetCachedSize(int size) const {
4841   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
4842   _cached_size_ = size;
4843   GOOGLE_SAFE_CONCURRENT_WRITES_END();
4844 }
4845 const PlayerListMessage& PlayerListMessage::default_instance() {
4846 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
4847   protobuf_AddDesc_pokerth_2eproto();
4848 #else
4849   if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto();
4850 #endif
4851   return *default_instance_;
4852 }
4853 
4854 PlayerListMessage* PlayerListMessage::default_instance_ = NULL;
4855 
4856 PlayerListMessage* PlayerListMessage::New() const {
4857   return new PlayerListMessage;
4858 }
4859 
4860 void PlayerListMessage::Clear() {
4861 #define OFFSET_OF_FIELD_(f) (reinterpret_cast<char*>(      \
4862   &reinterpret_cast<PlayerListMessage*>(16)->f) - \
4863    reinterpret_cast<char*>(16))
4864 
4865 #define ZR_(first, last) do {                              \
4866     size_t f = OFFSET_OF_FIELD_(first);                    \
4867     size_t n = OFFSET_OF_FIELD_(last) - f + sizeof(last);  \
4868     ::memset(&first, 0, n);                                \
4869   } while (0)
4870 
4871   ZR_(playerid_, playerlistnotification_);
4872 
4873 #undef OFFSET_OF_FIELD_
4874 #undef ZR_
4875 
4876   ::memset(_has_bits_, 0, sizeof(_has_bits_));
4877   mutable_unknown_fields()->clear();
4878 }
4879 
4880 bool PlayerListMessage::MergePartialFromCodedStream(
4881     ::google::protobuf::io::CodedInputStream* input) {
4882 #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
4883   ::google::protobuf::uint32 tag;
4884   ::google::protobuf::io::StringOutputStream unknown_fields_string(
4885       mutable_unknown_fields());
4886   ::google::protobuf::io::CodedOutputStream unknown_fields_stream(
4887       &unknown_fields_string);
4888   // @@protoc_insertion_point(parse_start:PlayerListMessage)
4889   for (;;) {
4890     ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
4891     tag = p.first;
4892     if (!p.second) goto handle_unusual;
4893     switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
4894       // required uint32 playerId = 1;
4895       case 1: {
4896         if (tag == 8) {
4897           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
4898                    ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
4899                  input, &playerid_)));
4900           set_has_playerid();
4901         } else {
4902           goto handle_unusual;
4903         }
4904         if (input->ExpectTag(16)) goto parse_playerListNotification;
4905         break;
4906       }
4907 
4908       // required .PlayerListMessage.PlayerListNotification playerListNotification = 2;
4909       case 2: {
4910         if (tag == 16) {
4911          parse_playerListNotification:
4912           int value;
4913           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
4914                    int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
4915                  input, &value)));
4916           if (::PlayerListMessage_PlayerListNotification_IsValid(value)) {
4917             set_playerlistnotification(static_cast< ::PlayerListMessage_PlayerListNotification >(value));
4918           } else {
4919             unknown_fields_stream.WriteVarint32(tag);
4920             unknown_fields_stream.WriteVarint32(value);
4921           }
4922         } else {
4923           goto handle_unusual;
4924         }
4925         if (input->ExpectAtEnd()) goto success;
4926         break;
4927       }
4928 
4929       default: {
4930       handle_unusual:
4931         if (tag == 0 ||
4932             ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
4933             ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
4934           goto success;
4935         }
4936         DO_(::google::protobuf::internal::WireFormatLite::SkipField(
4937             input, tag, &unknown_fields_stream));
4938         break;
4939       }
4940     }
4941   }
4942 success:
4943   // @@protoc_insertion_point(parse_success:PlayerListMessage)
4944   return true;
4945 failure:
4946   // @@protoc_insertion_point(parse_failure:PlayerListMessage)
4947   return false;
4948 #undef DO_
4949 }
4950 
4951 void PlayerListMessage::SerializeWithCachedSizes(
4952     ::google::protobuf::io::CodedOutputStream* output) const {
4953   // @@protoc_insertion_point(serialize_start:PlayerListMessage)
4954   // required uint32 playerId = 1;
4955   if (has_playerid()) {
4956     ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->playerid(), output);
4957   }
4958 
4959   // required .PlayerListMessage.PlayerListNotification playerListNotification = 2;
4960   if (has_playerlistnotification()) {
4961     ::google::protobuf::internal::WireFormatLite::WriteEnum(
4962       2, this->playerlistnotification(), output);
4963   }
4964 
4965   output->WriteRaw(unknown_fields().data(),
4966                    unknown_fields().size());
4967   // @@protoc_insertion_point(serialize_end:PlayerListMessage)
4968 }
4969 
4970 int PlayerListMessage::ByteSize() const {
4971   int total_size = 0;
4972 
4973   if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
4974     // required uint32 playerId = 1;
4975     if (has_playerid()) {
4976       total_size += 1 +
4977         ::google::protobuf::internal::WireFormatLite::UInt32Size(
4978           this->playerid());
4979     }
4980 
4981     // required .PlayerListMessage.PlayerListNotification playerListNotification = 2;
4982     if (has_playerlistnotification()) {
4983       total_size += 1 +
4984         ::google::protobuf::internal::WireFormatLite::EnumSize(this->playerlistnotification());
4985     }
4986 
4987   }
4988   total_size += unknown_fields().size();
4989 
4990   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
4991   _cached_size_ = total_size;
4992   GOOGLE_SAFE_CONCURRENT_WRITES_END();
4993   return total_size;
4994 }
4995 
4996 void PlayerListMessage::CheckTypeAndMergeFrom(
4997     const ::google::protobuf::MessageLite& from) {
4998   MergeFrom(*::google::protobuf::down_cast<const PlayerListMessage*>(&from));
4999 }
5000 
5001 void PlayerListMessage::MergeFrom(const PlayerListMessage& from) {
5002   GOOGLE_CHECK_NE(&from, this);
5003   if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
5004     if (from.has_playerid()) {
5005       set_playerid(from.playerid());
5006     }
5007     if (from.has_playerlistnotification()) {
5008       set_playerlistnotification(from.playerlistnotification());
5009     }
5010   }
5011   mutable_unknown_fields()->append(from.unknown_fields());
5012 }
5013 
5014 void PlayerListMessage::CopyFrom(const PlayerListMessage& from) {
5015   if (&from == this) return;
5016   Clear();
5017   MergeFrom(from);
5018 }
5019 
5020 bool PlayerListMessage::IsInitialized() const {
5021   if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false;
5022 
5023   return true;
5024 }
5025 
5026 void PlayerListMessage::Swap(PlayerListMessage* other) {
5027   if (other != this) {
5028     std::swap(playerid_, other->playerid_);
5029     std::swap(playerlistnotification_, other->playerlistnotification_);
5030     std::swap(_has_bits_[0], other->_has_bits_[0]);
5031     _unknown_fields_.swap(other->_unknown_fields_);
5032     std::swap(_cached_size_, other->_cached_size_);
5033   }
5034 }
5035 
5036 ::std::string PlayerListMessage::GetTypeName() const {
5037   return "PlayerListMessage";
5038 }
5039 
5040 
5041 // ===================================================================
5042 
5043 #ifndef _MSC_VER
5044 const int GameListNewMessage::kGameIdFieldNumber;
5045 const int GameListNewMessage::kGameModeFieldNumber;
5046 const int GameListNewMessage::kIsPrivateFieldNumber;
5047 const int GameListNewMessage::kPlayerIdsFieldNumber;
5048 const int GameListNewMessage::kAdminPlayerIdFieldNumber;
5049 const int GameListNewMessage::kGameInfoFieldNumber;
5050 const int GameListNewMessage::kSpectatorIdsFieldNumber;
5051 #endif  // !_MSC_VER
5052 
5053 GameListNewMessage::GameListNewMessage()
5054   : ::google::protobuf::MessageLite() {
5055   SharedCtor();
5056   // @@protoc_insertion_point(constructor:GameListNewMessage)
5057 }
5058 
5059 void GameListNewMessage::InitAsDefaultInstance() {
5060 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
5061   gameinfo_ = const_cast< ::NetGameInfo*>(
5062       ::NetGameInfo::internal_default_instance());
5063 #else
5064   gameinfo_ = const_cast< ::NetGameInfo*>(&::NetGameInfo::default_instance());
5065 #endif
5066 }
5067 
5068 GameListNewMessage::GameListNewMessage(const GameListNewMessage& from)
5069   : ::google::protobuf::MessageLite() {
5070   SharedCtor();
5071   MergeFrom(from);
5072   // @@protoc_insertion_point(copy_constructor:GameListNewMessage)
5073 }
5074 
5075 void GameListNewMessage::SharedCtor() {
5076   _cached_size_ = 0;
5077   gameid_ = 0u;
5078   gamemode_ = 1;
5079   isprivate_ = false;
5080   adminplayerid_ = 0u;
5081   gameinfo_ = NULL;
5082   ::memset(_has_bits_, 0, sizeof(_has_bits_));
5083 }
5084 
5085 GameListNewMessage::~GameListNewMessage() {
5086   // @@protoc_insertion_point(destructor:GameListNewMessage)
5087   SharedDtor();
5088 }
5089 
5090 void GameListNewMessage::SharedDtor() {
5091   #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
5092   if (this != &default_instance()) {
5093   #else
5094   if (this != default_instance_) {
5095   #endif
5096     delete gameinfo_;
5097   }
5098 }
5099 
5100 void GameListNewMessage::SetCachedSize(int size) const {
5101   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
5102   _cached_size_ = size;
5103   GOOGLE_SAFE_CONCURRENT_WRITES_END();
5104 }
5105 const GameListNewMessage& GameListNewMessage::default_instance() {
5106 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
5107   protobuf_AddDesc_pokerth_2eproto();
5108 #else
5109   if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto();
5110 #endif
5111   return *default_instance_;
5112 }
5113 
5114 GameListNewMessage* GameListNewMessage::default_instance_ = NULL;
5115 
5116 GameListNewMessage* GameListNewMessage::New() const {
5117   return new GameListNewMessage;
5118 }
5119 
5120 void GameListNewMessage::Clear() {
5121 #define OFFSET_OF_FIELD_(f) (reinterpret_cast<char*>(      \
5122   &reinterpret_cast<GameListNewMessage*>(16)->f) - \
5123    reinterpret_cast<char*>(16))
5124 
5125 #define ZR_(first, last) do {                              \
5126     size_t f = OFFSET_OF_FIELD_(first);                    \
5127     size_t n = OFFSET_OF_FIELD_(last) - f + sizeof(last);  \
5128     ::memset(&first, 0, n);                                \
5129   } while (0)
5130 
5131   if (_has_bits_[0 / 32] & 55) {
5132     ZR_(isprivate_, adminplayerid_);
5133     gameid_ = 0u;
5134     gamemode_ = 1;
5135     if (has_gameinfo()) {
5136       if (gameinfo_ != NULL) gameinfo_->::NetGameInfo::Clear();
5137     }
5138   }
5139 
5140 #undef OFFSET_OF_FIELD_
5141 #undef ZR_
5142 
5143   playerids_.Clear();
5144   spectatorids_.Clear();
5145   ::memset(_has_bits_, 0, sizeof(_has_bits_));
5146   mutable_unknown_fields()->clear();
5147 }
5148 
5149 bool GameListNewMessage::MergePartialFromCodedStream(
5150     ::google::protobuf::io::CodedInputStream* input) {
5151 #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
5152   ::google::protobuf::uint32 tag;
5153   ::google::protobuf::io::StringOutputStream unknown_fields_string(
5154       mutable_unknown_fields());
5155   ::google::protobuf::io::CodedOutputStream unknown_fields_stream(
5156       &unknown_fields_string);
5157   // @@protoc_insertion_point(parse_start:GameListNewMessage)
5158   for (;;) {
5159     ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
5160     tag = p.first;
5161     if (!p.second) goto handle_unusual;
5162     switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
5163       // required uint32 gameId = 1;
5164       case 1: {
5165         if (tag == 8) {
5166           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
5167                    ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
5168                  input, &gameid_)));
5169           set_has_gameid();
5170         } else {
5171           goto handle_unusual;
5172         }
5173         if (input->ExpectTag(16)) goto parse_gameMode;
5174         break;
5175       }
5176 
5177       // required .NetGameMode gameMode = 2;
5178       case 2: {
5179         if (tag == 16) {
5180          parse_gameMode:
5181           int value;
5182           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
5183                    int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
5184                  input, &value)));
5185           if (::NetGameMode_IsValid(value)) {
5186             set_gamemode(static_cast< ::NetGameMode >(value));
5187           } else {
5188             unknown_fields_stream.WriteVarint32(tag);
5189             unknown_fields_stream.WriteVarint32(value);
5190           }
5191         } else {
5192           goto handle_unusual;
5193         }
5194         if (input->ExpectTag(24)) goto parse_isPrivate;
5195         break;
5196       }
5197 
5198       // required bool isPrivate = 3;
5199       case 3: {
5200         if (tag == 24) {
5201          parse_isPrivate:
5202           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
5203                    bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
5204                  input, &isprivate_)));
5205           set_has_isprivate();
5206         } else {
5207           goto handle_unusual;
5208         }
5209         if (input->ExpectTag(34)) goto parse_playerIds;
5210         break;
5211       }
5212 
5213       // repeated uint32 playerIds = 4 [packed = true];
5214       case 4: {
5215         if (tag == 34) {
5216          parse_playerIds:
5217           DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitive<
5218                    ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
5219                  input, this->mutable_playerids())));
5220         } else if (tag == 32) {
5221           DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitiveNoInline<
5222                    ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
5223                  1, 34, input, this->mutable_playerids())));
5224         } else {
5225           goto handle_unusual;
5226         }
5227         if (input->ExpectTag(40)) goto parse_adminPlayerId;
5228         break;
5229       }
5230 
5231       // required uint32 adminPlayerId = 5;
5232       case 5: {
5233         if (tag == 40) {
5234          parse_adminPlayerId:
5235           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
5236                    ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
5237                  input, &adminplayerid_)));
5238           set_has_adminplayerid();
5239         } else {
5240           goto handle_unusual;
5241         }
5242         if (input->ExpectTag(50)) goto parse_gameInfo;
5243         break;
5244       }
5245 
5246       // required .NetGameInfo gameInfo = 6;
5247       case 6: {
5248         if (tag == 50) {
5249          parse_gameInfo:
5250           DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
5251                input, mutable_gameinfo()));
5252         } else {
5253           goto handle_unusual;
5254         }
5255         if (input->ExpectTag(58)) goto parse_spectatorIds;
5256         break;
5257       }
5258 
5259       // repeated uint32 spectatorIds = 7 [packed = true];
5260       case 7: {
5261         if (tag == 58) {
5262          parse_spectatorIds:
5263           DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitive<
5264                    ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
5265                  input, this->mutable_spectatorids())));
5266         } else if (tag == 56) {
5267           DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitiveNoInline<
5268                    ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
5269                  1, 58, input, this->mutable_spectatorids())));
5270         } else {
5271           goto handle_unusual;
5272         }
5273         if (input->ExpectAtEnd()) goto success;
5274         break;
5275       }
5276 
5277       default: {
5278       handle_unusual:
5279         if (tag == 0 ||
5280             ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
5281             ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
5282           goto success;
5283         }
5284         DO_(::google::protobuf::internal::WireFormatLite::SkipField(
5285             input, tag, &unknown_fields_stream));
5286         break;
5287       }
5288     }
5289   }
5290 success:
5291   // @@protoc_insertion_point(parse_success:GameListNewMessage)
5292   return true;
5293 failure:
5294   // @@protoc_insertion_point(parse_failure:GameListNewMessage)
5295   return false;
5296 #undef DO_
5297 }
5298 
5299 void GameListNewMessage::SerializeWithCachedSizes(
5300     ::google::protobuf::io::CodedOutputStream* output) const {
5301   // @@protoc_insertion_point(serialize_start:GameListNewMessage)
5302   // required uint32 gameId = 1;
5303   if (has_gameid()) {
5304     ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->gameid(), output);
5305   }
5306 
5307   // required .NetGameMode gameMode = 2;
5308   if (has_gamemode()) {
5309     ::google::protobuf::internal::WireFormatLite::WriteEnum(
5310       2, this->gamemode(), output);
5311   }
5312 
5313   // required bool isPrivate = 3;
5314   if (has_isprivate()) {
5315     ::google::protobuf::internal::WireFormatLite::WriteBool(3, this->isprivate(), output);
5316   }
5317 
5318   // repeated uint32 playerIds = 4 [packed = true];
5319   if (this->playerids_size() > 0) {
5320     ::google::protobuf::internal::WireFormatLite::WriteTag(4, ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED, output);
5321     output->WriteVarint32(_playerids_cached_byte_size_);
5322   }
5323   for (int i = 0; i < this->playerids_size(); i++) {
5324     ::google::protobuf::internal::WireFormatLite::WriteUInt32NoTag(
5325       this->playerids(i), output);
5326   }
5327 
5328   // required uint32 adminPlayerId = 5;
5329   if (has_adminplayerid()) {
5330     ::google::protobuf::internal::WireFormatLite::WriteUInt32(5, this->adminplayerid(), output);
5331   }
5332 
5333   // required .NetGameInfo gameInfo = 6;
5334   if (has_gameinfo()) {
5335     ::google::protobuf::internal::WireFormatLite::WriteMessage(
5336       6, this->gameinfo(), output);
5337   }
5338 
5339   // repeated uint32 spectatorIds = 7 [packed = true];
5340   if (this->spectatorids_size() > 0) {
5341     ::google::protobuf::internal::WireFormatLite::WriteTag(7, ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED, output);
5342     output->WriteVarint32(_spectatorids_cached_byte_size_);
5343   }
5344   for (int i = 0; i < this->spectatorids_size(); i++) {
5345     ::google::protobuf::internal::WireFormatLite::WriteUInt32NoTag(
5346       this->spectatorids(i), output);
5347   }
5348 
5349   output->WriteRaw(unknown_fields().data(),
5350                    unknown_fields().size());
5351   // @@protoc_insertion_point(serialize_end:GameListNewMessage)
5352 }
5353 
5354 int GameListNewMessage::ByteSize() const {
5355   int total_size = 0;
5356 
5357   if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
5358     // required uint32 gameId = 1;
5359     if (has_gameid()) {
5360       total_size += 1 +
5361         ::google::protobuf::internal::WireFormatLite::UInt32Size(
5362           this->gameid());
5363     }
5364 
5365     // required .NetGameMode gameMode = 2;
5366     if (has_gamemode()) {
5367       total_size += 1 +
5368         ::google::protobuf::internal::WireFormatLite::EnumSize(this->gamemode());
5369     }
5370 
5371     // required bool isPrivate = 3;
5372     if (has_isprivate()) {
5373       total_size += 1 + 1;
5374     }
5375 
5376     // required uint32 adminPlayerId = 5;
5377     if (has_adminplayerid()) {
5378       total_size += 1 +
5379         ::google::protobuf::internal::WireFormatLite::UInt32Size(
5380           this->adminplayerid());
5381     }
5382 
5383     // required .NetGameInfo gameInfo = 6;
5384     if (has_gameinfo()) {
5385       total_size += 1 +
5386         ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
5387           this->gameinfo());
5388     }
5389 
5390   }
5391   // repeated uint32 playerIds = 4 [packed = true];
5392   {
5393     int data_size = 0;
5394     for (int i = 0; i < this->playerids_size(); i++) {
5395       data_size += ::google::protobuf::internal::WireFormatLite::
5396         UInt32Size(this->playerids(i));
5397     }
5398     if (data_size > 0) {
5399       total_size += 1 +
5400         ::google::protobuf::internal::WireFormatLite::Int32Size(data_size);
5401     }
5402     GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
5403     _playerids_cached_byte_size_ = data_size;
5404     GOOGLE_SAFE_CONCURRENT_WRITES_END();
5405     total_size += data_size;
5406   }
5407 
5408   // repeated uint32 spectatorIds = 7 [packed = true];
5409   {
5410     int data_size = 0;
5411     for (int i = 0; i < this->spectatorids_size(); i++) {
5412       data_size += ::google::protobuf::internal::WireFormatLite::
5413         UInt32Size(this->spectatorids(i));
5414     }
5415     if (data_size > 0) {
5416       total_size += 1 +
5417         ::google::protobuf::internal::WireFormatLite::Int32Size(data_size);
5418     }
5419     GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
5420     _spectatorids_cached_byte_size_ = data_size;
5421     GOOGLE_SAFE_CONCURRENT_WRITES_END();
5422     total_size += data_size;
5423   }
5424 
5425   total_size += unknown_fields().size();
5426 
5427   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
5428   _cached_size_ = total_size;
5429   GOOGLE_SAFE_CONCURRENT_WRITES_END();
5430   return total_size;
5431 }
5432 
5433 void GameListNewMessage::CheckTypeAndMergeFrom(
5434     const ::google::protobuf::MessageLite& from) {
5435   MergeFrom(*::google::protobuf::down_cast<const GameListNewMessage*>(&from));
5436 }
5437 
5438 void GameListNewMessage::MergeFrom(const GameListNewMessage& from) {
5439   GOOGLE_CHECK_NE(&from, this);
5440   playerids_.MergeFrom(from.playerids_);
5441   spectatorids_.MergeFrom(from.spectatorids_);
5442   if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
5443     if (from.has_gameid()) {
5444       set_gameid(from.gameid());
5445     }
5446     if (from.has_gamemode()) {
5447       set_gamemode(from.gamemode());
5448     }
5449     if (from.has_isprivate()) {
5450       set_isprivate(from.isprivate());
5451     }
5452     if (from.has_adminplayerid()) {
5453       set_adminplayerid(from.adminplayerid());
5454     }
5455     if (from.has_gameinfo()) {
5456       mutable_gameinfo()->::NetGameInfo::MergeFrom(from.gameinfo());
5457     }
5458   }
5459   mutable_unknown_fields()->append(from.unknown_fields());
5460 }
5461 
5462 void GameListNewMessage::CopyFrom(const GameListNewMessage& from) {
5463   if (&from == this) return;
5464   Clear();
5465   MergeFrom(from);
5466 }
5467 
5468 bool GameListNewMessage::IsInitialized() const {
5469   if ((_has_bits_[0] & 0x00000037) != 0x00000037) return false;
5470 
5471   if (has_gameinfo()) {
5472     if (!this->gameinfo().IsInitialized()) return false;
5473   }
5474   return true;
5475 }
5476 
5477 void GameListNewMessage::Swap(GameListNewMessage* other) {
5478   if (other != this) {
5479     std::swap(gameid_, other->gameid_);
5480     std::swap(gamemode_, other->gamemode_);
5481     std::swap(isprivate_, other->isprivate_);
5482     playerids_.Swap(&other->playerids_);
5483     std::swap(adminplayerid_, other->adminplayerid_);
5484     std::swap(gameinfo_, other->gameinfo_);
5485     spectatorids_.Swap(&other->spectatorids_);
5486     std::swap(_has_bits_[0], other->_has_bits_[0]);
5487     _unknown_fields_.swap(other->_unknown_fields_);
5488     std::swap(_cached_size_, other->_cached_size_);
5489   }
5490 }
5491 
5492 ::std::string GameListNewMessage::GetTypeName() const {
5493   return "GameListNewMessage";
5494 }
5495 
5496 
5497 // ===================================================================
5498 
5499 #ifndef _MSC_VER
5500 const int GameListUpdateMessage::kGameIdFieldNumber;
5501 const int GameListUpdateMessage::kGameModeFieldNumber;
5502 #endif  // !_MSC_VER
5503 
5504 GameListUpdateMessage::GameListUpdateMessage()
5505   : ::google::protobuf::MessageLite() {
5506   SharedCtor();
5507   // @@protoc_insertion_point(constructor:GameListUpdateMessage)
5508 }
5509 
5510 void GameListUpdateMessage::InitAsDefaultInstance() {
5511 }
5512 
5513 GameListUpdateMessage::GameListUpdateMessage(const GameListUpdateMessage& from)
5514   : ::google::protobuf::MessageLite() {
5515   SharedCtor();
5516   MergeFrom(from);
5517   // @@protoc_insertion_point(copy_constructor:GameListUpdateMessage)
5518 }
5519 
5520 void GameListUpdateMessage::SharedCtor() {
5521   _cached_size_ = 0;
5522   gameid_ = 0u;
5523   gamemode_ = 1;
5524   ::memset(_has_bits_, 0, sizeof(_has_bits_));
5525 }
5526 
5527 GameListUpdateMessage::~GameListUpdateMessage() {
5528   // @@protoc_insertion_point(destructor:GameListUpdateMessage)
5529   SharedDtor();
5530 }
5531 
5532 void GameListUpdateMessage::SharedDtor() {
5533   #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
5534   if (this != &default_instance()) {
5535   #else
5536   if (this != default_instance_) {
5537   #endif
5538   }
5539 }
5540 
5541 void GameListUpdateMessage::SetCachedSize(int size) const {
5542   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
5543   _cached_size_ = size;
5544   GOOGLE_SAFE_CONCURRENT_WRITES_END();
5545 }
5546 const GameListUpdateMessage& GameListUpdateMessage::default_instance() {
5547 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
5548   protobuf_AddDesc_pokerth_2eproto();
5549 #else
5550   if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto();
5551 #endif
5552   return *default_instance_;
5553 }
5554 
5555 GameListUpdateMessage* GameListUpdateMessage::default_instance_ = NULL;
5556 
5557 GameListUpdateMessage* GameListUpdateMessage::New() const {
5558   return new GameListUpdateMessage;
5559 }
5560 
5561 void GameListUpdateMessage::Clear() {
5562   if (_has_bits_[0 / 32] & 3) {
5563     gameid_ = 0u;
5564     gamemode_ = 1;
5565   }
5566   ::memset(_has_bits_, 0, sizeof(_has_bits_));
5567   mutable_unknown_fields()->clear();
5568 }
5569 
5570 bool GameListUpdateMessage::MergePartialFromCodedStream(
5571     ::google::protobuf::io::CodedInputStream* input) {
5572 #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
5573   ::google::protobuf::uint32 tag;
5574   ::google::protobuf::io::StringOutputStream unknown_fields_string(
5575       mutable_unknown_fields());
5576   ::google::protobuf::io::CodedOutputStream unknown_fields_stream(
5577       &unknown_fields_string);
5578   // @@protoc_insertion_point(parse_start:GameListUpdateMessage)
5579   for (;;) {
5580     ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
5581     tag = p.first;
5582     if (!p.second) goto handle_unusual;
5583     switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
5584       // required uint32 gameId = 1;
5585       case 1: {
5586         if (tag == 8) {
5587           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
5588                    ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
5589                  input, &gameid_)));
5590           set_has_gameid();
5591         } else {
5592           goto handle_unusual;
5593         }
5594         if (input->ExpectTag(16)) goto parse_gameMode;
5595         break;
5596       }
5597 
5598       // required .NetGameMode gameMode = 2;
5599       case 2: {
5600         if (tag == 16) {
5601          parse_gameMode:
5602           int value;
5603           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
5604                    int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
5605                  input, &value)));
5606           if (::NetGameMode_IsValid(value)) {
5607             set_gamemode(static_cast< ::NetGameMode >(value));
5608           } else {
5609             unknown_fields_stream.WriteVarint32(tag);
5610             unknown_fields_stream.WriteVarint32(value);
5611           }
5612         } else {
5613           goto handle_unusual;
5614         }
5615         if (input->ExpectAtEnd()) goto success;
5616         break;
5617       }
5618 
5619       default: {
5620       handle_unusual:
5621         if (tag == 0 ||
5622             ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
5623             ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
5624           goto success;
5625         }
5626         DO_(::google::protobuf::internal::WireFormatLite::SkipField(
5627             input, tag, &unknown_fields_stream));
5628         break;
5629       }
5630     }
5631   }
5632 success:
5633   // @@protoc_insertion_point(parse_success:GameListUpdateMessage)
5634   return true;
5635 failure:
5636   // @@protoc_insertion_point(parse_failure:GameListUpdateMessage)
5637   return false;
5638 #undef DO_
5639 }
5640 
5641 void GameListUpdateMessage::SerializeWithCachedSizes(
5642     ::google::protobuf::io::CodedOutputStream* output) const {
5643   // @@protoc_insertion_point(serialize_start:GameListUpdateMessage)
5644   // required uint32 gameId = 1;
5645   if (has_gameid()) {
5646     ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->gameid(), output);
5647   }
5648 
5649   // required .NetGameMode gameMode = 2;
5650   if (has_gamemode()) {
5651     ::google::protobuf::internal::WireFormatLite::WriteEnum(
5652       2, this->gamemode(), output);
5653   }
5654 
5655   output->WriteRaw(unknown_fields().data(),
5656                    unknown_fields().size());
5657   // @@protoc_insertion_point(serialize_end:GameListUpdateMessage)
5658 }
5659 
5660 int GameListUpdateMessage::ByteSize() const {
5661   int total_size = 0;
5662 
5663   if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
5664     // required uint32 gameId = 1;
5665     if (has_gameid()) {
5666       total_size += 1 +
5667         ::google::protobuf::internal::WireFormatLite::UInt32Size(
5668           this->gameid());
5669     }
5670 
5671     // required .NetGameMode gameMode = 2;
5672     if (has_gamemode()) {
5673       total_size += 1 +
5674         ::google::protobuf::internal::WireFormatLite::EnumSize(this->gamemode());
5675     }
5676 
5677   }
5678   total_size += unknown_fields().size();
5679 
5680   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
5681   _cached_size_ = total_size;
5682   GOOGLE_SAFE_CONCURRENT_WRITES_END();
5683   return total_size;
5684 }
5685 
5686 void GameListUpdateMessage::CheckTypeAndMergeFrom(
5687     const ::google::protobuf::MessageLite& from) {
5688   MergeFrom(*::google::protobuf::down_cast<const GameListUpdateMessage*>(&from));
5689 }
5690 
5691 void GameListUpdateMessage::MergeFrom(const GameListUpdateMessage& from) {
5692   GOOGLE_CHECK_NE(&from, this);
5693   if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
5694     if (from.has_gameid()) {
5695       set_gameid(from.gameid());
5696     }
5697     if (from.has_gamemode()) {
5698       set_gamemode(from.gamemode());
5699     }
5700   }
5701   mutable_unknown_fields()->append(from.unknown_fields());
5702 }
5703 
5704 void GameListUpdateMessage::CopyFrom(const GameListUpdateMessage& from) {
5705   if (&from == this) return;
5706   Clear();
5707   MergeFrom(from);
5708 }
5709 
5710 bool GameListUpdateMessage::IsInitialized() const {
5711   if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false;
5712 
5713   return true;
5714 }
5715 
5716 void GameListUpdateMessage::Swap(GameListUpdateMessage* other) {
5717   if (other != this) {
5718     std::swap(gameid_, other->gameid_);
5719     std::swap(gamemode_, other->gamemode_);
5720     std::swap(_has_bits_[0], other->_has_bits_[0]);
5721     _unknown_fields_.swap(other->_unknown_fields_);
5722     std::swap(_cached_size_, other->_cached_size_);
5723   }
5724 }
5725 
5726 ::std::string GameListUpdateMessage::GetTypeName() const {
5727   return "GameListUpdateMessage";
5728 }
5729 
5730 
5731 // ===================================================================
5732 
5733 #ifndef _MSC_VER
5734 const int GameListPlayerJoinedMessage::kGameIdFieldNumber;
5735 const int GameListPlayerJoinedMessage::kPlayerIdFieldNumber;
5736 #endif  // !_MSC_VER
5737 
5738 GameListPlayerJoinedMessage::GameListPlayerJoinedMessage()
5739   : ::google::protobuf::MessageLite() {
5740   SharedCtor();
5741   // @@protoc_insertion_point(constructor:GameListPlayerJoinedMessage)
5742 }
5743 
5744 void GameListPlayerJoinedMessage::InitAsDefaultInstance() {
5745 }
5746 
5747 GameListPlayerJoinedMessage::GameListPlayerJoinedMessage(const GameListPlayerJoinedMessage& from)
5748   : ::google::protobuf::MessageLite() {
5749   SharedCtor();
5750   MergeFrom(from);
5751   // @@protoc_insertion_point(copy_constructor:GameListPlayerJoinedMessage)
5752 }
5753 
5754 void GameListPlayerJoinedMessage::SharedCtor() {
5755   _cached_size_ = 0;
5756   gameid_ = 0u;
5757   playerid_ = 0u;
5758   ::memset(_has_bits_, 0, sizeof(_has_bits_));
5759 }
5760 
5761 GameListPlayerJoinedMessage::~GameListPlayerJoinedMessage() {
5762   // @@protoc_insertion_point(destructor:GameListPlayerJoinedMessage)
5763   SharedDtor();
5764 }
5765 
5766 void GameListPlayerJoinedMessage::SharedDtor() {
5767   #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
5768   if (this != &default_instance()) {
5769   #else
5770   if (this != default_instance_) {
5771   #endif
5772   }
5773 }
5774 
5775 void GameListPlayerJoinedMessage::SetCachedSize(int size) const {
5776   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
5777   _cached_size_ = size;
5778   GOOGLE_SAFE_CONCURRENT_WRITES_END();
5779 }
5780 const GameListPlayerJoinedMessage& GameListPlayerJoinedMessage::default_instance() {
5781 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
5782   protobuf_AddDesc_pokerth_2eproto();
5783 #else
5784   if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto();
5785 #endif
5786   return *default_instance_;
5787 }
5788 
5789 GameListPlayerJoinedMessage* GameListPlayerJoinedMessage::default_instance_ = NULL;
5790 
5791 GameListPlayerJoinedMessage* GameListPlayerJoinedMessage::New() const {
5792   return new GameListPlayerJoinedMessage;
5793 }
5794 
5795 void GameListPlayerJoinedMessage::Clear() {
5796 #define OFFSET_OF_FIELD_(f) (reinterpret_cast<char*>(      \
5797   &reinterpret_cast<GameListPlayerJoinedMessage*>(16)->f) - \
5798    reinterpret_cast<char*>(16))
5799 
5800 #define ZR_(first, last) do {                              \
5801     size_t f = OFFSET_OF_FIELD_(first);                    \
5802     size_t n = OFFSET_OF_FIELD_(last) - f + sizeof(last);  \
5803     ::memset(&first, 0, n);                                \
5804   } while (0)
5805 
5806   ZR_(gameid_, playerid_);
5807 
5808 #undef OFFSET_OF_FIELD_
5809 #undef ZR_
5810 
5811   ::memset(_has_bits_, 0, sizeof(_has_bits_));
5812   mutable_unknown_fields()->clear();
5813 }
5814 
5815 bool GameListPlayerJoinedMessage::MergePartialFromCodedStream(
5816     ::google::protobuf::io::CodedInputStream* input) {
5817 #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
5818   ::google::protobuf::uint32 tag;
5819   ::google::protobuf::io::StringOutputStream unknown_fields_string(
5820       mutable_unknown_fields());
5821   ::google::protobuf::io::CodedOutputStream unknown_fields_stream(
5822       &unknown_fields_string);
5823   // @@protoc_insertion_point(parse_start:GameListPlayerJoinedMessage)
5824   for (;;) {
5825     ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
5826     tag = p.first;
5827     if (!p.second) goto handle_unusual;
5828     switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
5829       // required uint32 gameId = 1;
5830       case 1: {
5831         if (tag == 8) {
5832           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
5833                    ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
5834                  input, &gameid_)));
5835           set_has_gameid();
5836         } else {
5837           goto handle_unusual;
5838         }
5839         if (input->ExpectTag(16)) goto parse_playerId;
5840         break;
5841       }
5842 
5843       // required uint32 playerId = 2;
5844       case 2: {
5845         if (tag == 16) {
5846          parse_playerId:
5847           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
5848                    ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
5849                  input, &playerid_)));
5850           set_has_playerid();
5851         } else {
5852           goto handle_unusual;
5853         }
5854         if (input->ExpectAtEnd()) goto success;
5855         break;
5856       }
5857 
5858       default: {
5859       handle_unusual:
5860         if (tag == 0 ||
5861             ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
5862             ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
5863           goto success;
5864         }
5865         DO_(::google::protobuf::internal::WireFormatLite::SkipField(
5866             input, tag, &unknown_fields_stream));
5867         break;
5868       }
5869     }
5870   }
5871 success:
5872   // @@protoc_insertion_point(parse_success:GameListPlayerJoinedMessage)
5873   return true;
5874 failure:
5875   // @@protoc_insertion_point(parse_failure:GameListPlayerJoinedMessage)
5876   return false;
5877 #undef DO_
5878 }
5879 
5880 void GameListPlayerJoinedMessage::SerializeWithCachedSizes(
5881     ::google::protobuf::io::CodedOutputStream* output) const {
5882   // @@protoc_insertion_point(serialize_start:GameListPlayerJoinedMessage)
5883   // required uint32 gameId = 1;
5884   if (has_gameid()) {
5885     ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->gameid(), output);
5886   }
5887 
5888   // required uint32 playerId = 2;
5889   if (has_playerid()) {
5890     ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->playerid(), output);
5891   }
5892 
5893   output->WriteRaw(unknown_fields().data(),
5894                    unknown_fields().size());
5895   // @@protoc_insertion_point(serialize_end:GameListPlayerJoinedMessage)
5896 }
5897 
5898 int GameListPlayerJoinedMessage::ByteSize() const {
5899   int total_size = 0;
5900 
5901   if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
5902     // required uint32 gameId = 1;
5903     if (has_gameid()) {
5904       total_size += 1 +
5905         ::google::protobuf::internal::WireFormatLite::UInt32Size(
5906           this->gameid());
5907     }
5908 
5909     // required uint32 playerId = 2;
5910     if (has_playerid()) {
5911       total_size += 1 +
5912         ::google::protobuf::internal::WireFormatLite::UInt32Size(
5913           this->playerid());
5914     }
5915 
5916   }
5917   total_size += unknown_fields().size();
5918 
5919   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
5920   _cached_size_ = total_size;
5921   GOOGLE_SAFE_CONCURRENT_WRITES_END();
5922   return total_size;
5923 }
5924 
5925 void GameListPlayerJoinedMessage::CheckTypeAndMergeFrom(
5926     const ::google::protobuf::MessageLite& from) {
5927   MergeFrom(*::google::protobuf::down_cast<const GameListPlayerJoinedMessage*>(&from));
5928 }
5929 
5930 void GameListPlayerJoinedMessage::MergeFrom(const GameListPlayerJoinedMessage& from) {
5931   GOOGLE_CHECK_NE(&from, this);
5932   if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
5933     if (from.has_gameid()) {
5934       set_gameid(from.gameid());
5935     }
5936     if (from.has_playerid()) {
5937       set_playerid(from.playerid());
5938     }
5939   }
5940   mutable_unknown_fields()->append(from.unknown_fields());
5941 }
5942 
5943 void GameListPlayerJoinedMessage::CopyFrom(const GameListPlayerJoinedMessage& from) {
5944   if (&from == this) return;
5945   Clear();
5946   MergeFrom(from);
5947 }
5948 
5949 bool GameListPlayerJoinedMessage::IsInitialized() const {
5950   if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false;
5951 
5952   return true;
5953 }
5954 
5955 void GameListPlayerJoinedMessage::Swap(GameListPlayerJoinedMessage* other) {
5956   if (other != this) {
5957     std::swap(gameid_, other->gameid_);
5958     std::swap(playerid_, other->playerid_);
5959     std::swap(_has_bits_[0], other->_has_bits_[0]);
5960     _unknown_fields_.swap(other->_unknown_fields_);
5961     std::swap(_cached_size_, other->_cached_size_);
5962   }
5963 }
5964 
5965 ::std::string GameListPlayerJoinedMessage::GetTypeName() const {
5966   return "GameListPlayerJoinedMessage";
5967 }
5968 
5969 
5970 // ===================================================================
5971 
5972 #ifndef _MSC_VER
5973 const int GameListPlayerLeftMessage::kGameIdFieldNumber;
5974 const int GameListPlayerLeftMessage::kPlayerIdFieldNumber;
5975 #endif  // !_MSC_VER
5976 
5977 GameListPlayerLeftMessage::GameListPlayerLeftMessage()
5978   : ::google::protobuf::MessageLite() {
5979   SharedCtor();
5980   // @@protoc_insertion_point(constructor:GameListPlayerLeftMessage)
5981 }
5982 
5983 void GameListPlayerLeftMessage::InitAsDefaultInstance() {
5984 }
5985 
5986 GameListPlayerLeftMessage::GameListPlayerLeftMessage(const GameListPlayerLeftMessage& from)
5987   : ::google::protobuf::MessageLite() {
5988   SharedCtor();
5989   MergeFrom(from);
5990   // @@protoc_insertion_point(copy_constructor:GameListPlayerLeftMessage)
5991 }
5992 
5993 void GameListPlayerLeftMessage::SharedCtor() {
5994   _cached_size_ = 0;
5995   gameid_ = 0u;
5996   playerid_ = 0u;
5997   ::memset(_has_bits_, 0, sizeof(_has_bits_));
5998 }
5999 
6000 GameListPlayerLeftMessage::~GameListPlayerLeftMessage() {
6001   // @@protoc_insertion_point(destructor:GameListPlayerLeftMessage)
6002   SharedDtor();
6003 }
6004 
6005 void GameListPlayerLeftMessage::SharedDtor() {
6006   #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
6007   if (this != &default_instance()) {
6008   #else
6009   if (this != default_instance_) {
6010   #endif
6011   }
6012 }
6013 
6014 void GameListPlayerLeftMessage::SetCachedSize(int size) const {
6015   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
6016   _cached_size_ = size;
6017   GOOGLE_SAFE_CONCURRENT_WRITES_END();
6018 }
6019 const GameListPlayerLeftMessage& GameListPlayerLeftMessage::default_instance() {
6020 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
6021   protobuf_AddDesc_pokerth_2eproto();
6022 #else
6023   if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto();
6024 #endif
6025   return *default_instance_;
6026 }
6027 
6028 GameListPlayerLeftMessage* GameListPlayerLeftMessage::default_instance_ = NULL;
6029 
6030 GameListPlayerLeftMessage* GameListPlayerLeftMessage::New() const {
6031   return new GameListPlayerLeftMessage;
6032 }
6033 
6034 void GameListPlayerLeftMessage::Clear() {
6035 #define OFFSET_OF_FIELD_(f) (reinterpret_cast<char*>(      \
6036   &reinterpret_cast<GameListPlayerLeftMessage*>(16)->f) - \
6037    reinterpret_cast<char*>(16))
6038 
6039 #define ZR_(first, last) do {                              \
6040     size_t f = OFFSET_OF_FIELD_(first);                    \
6041     size_t n = OFFSET_OF_FIELD_(last) - f + sizeof(last);  \
6042     ::memset(&first, 0, n);                                \
6043   } while (0)
6044 
6045   ZR_(gameid_, playerid_);
6046 
6047 #undef OFFSET_OF_FIELD_
6048 #undef ZR_
6049 
6050   ::memset(_has_bits_, 0, sizeof(_has_bits_));
6051   mutable_unknown_fields()->clear();
6052 }
6053 
6054 bool GameListPlayerLeftMessage::MergePartialFromCodedStream(
6055     ::google::protobuf::io::CodedInputStream* input) {
6056 #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
6057   ::google::protobuf::uint32 tag;
6058   ::google::protobuf::io::StringOutputStream unknown_fields_string(
6059       mutable_unknown_fields());
6060   ::google::protobuf::io::CodedOutputStream unknown_fields_stream(
6061       &unknown_fields_string);
6062   // @@protoc_insertion_point(parse_start:GameListPlayerLeftMessage)
6063   for (;;) {
6064     ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
6065     tag = p.first;
6066     if (!p.second) goto handle_unusual;
6067     switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
6068       // required uint32 gameId = 1;
6069       case 1: {
6070         if (tag == 8) {
6071           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
6072                    ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
6073                  input, &gameid_)));
6074           set_has_gameid();
6075         } else {
6076           goto handle_unusual;
6077         }
6078         if (input->ExpectTag(16)) goto parse_playerId;
6079         break;
6080       }
6081 
6082       // required uint32 playerId = 2;
6083       case 2: {
6084         if (tag == 16) {
6085          parse_playerId:
6086           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
6087                    ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
6088                  input, &playerid_)));
6089           set_has_playerid();
6090         } else {
6091           goto handle_unusual;
6092         }
6093         if (input->ExpectAtEnd()) goto success;
6094         break;
6095       }
6096 
6097       default: {
6098       handle_unusual:
6099         if (tag == 0 ||
6100             ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
6101             ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
6102           goto success;
6103         }
6104         DO_(::google::protobuf::internal::WireFormatLite::SkipField(
6105             input, tag, &unknown_fields_stream));
6106         break;
6107       }
6108     }
6109   }
6110 success:
6111   // @@protoc_insertion_point(parse_success:GameListPlayerLeftMessage)
6112   return true;
6113 failure:
6114   // @@protoc_insertion_point(parse_failure:GameListPlayerLeftMessage)
6115   return false;
6116 #undef DO_
6117 }
6118 
6119 void GameListPlayerLeftMessage::SerializeWithCachedSizes(
6120     ::google::protobuf::io::CodedOutputStream* output) const {
6121   // @@protoc_insertion_point(serialize_start:GameListPlayerLeftMessage)
6122   // required uint32 gameId = 1;
6123   if (has_gameid()) {
6124     ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->gameid(), output);
6125   }
6126 
6127   // required uint32 playerId = 2;
6128   if (has_playerid()) {
6129     ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->playerid(), output);
6130   }
6131 
6132   output->WriteRaw(unknown_fields().data(),
6133                    unknown_fields().size());
6134   // @@protoc_insertion_point(serialize_end:GameListPlayerLeftMessage)
6135 }
6136 
6137 int GameListPlayerLeftMessage::ByteSize() const {
6138   int total_size = 0;
6139 
6140   if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
6141     // required uint32 gameId = 1;
6142     if (has_gameid()) {
6143       total_size += 1 +
6144         ::google::protobuf::internal::WireFormatLite::UInt32Size(
6145           this->gameid());
6146     }
6147 
6148     // required uint32 playerId = 2;
6149     if (has_playerid()) {
6150       total_size += 1 +
6151         ::google::protobuf::internal::WireFormatLite::UInt32Size(
6152           this->playerid());
6153     }
6154 
6155   }
6156   total_size += unknown_fields().size();
6157 
6158   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
6159   _cached_size_ = total_size;
6160   GOOGLE_SAFE_CONCURRENT_WRITES_END();
6161   return total_size;
6162 }
6163 
6164 void GameListPlayerLeftMessage::CheckTypeAndMergeFrom(
6165     const ::google::protobuf::MessageLite& from) {
6166   MergeFrom(*::google::protobuf::down_cast<const GameListPlayerLeftMessage*>(&from));
6167 }
6168 
6169 void GameListPlayerLeftMessage::MergeFrom(const GameListPlayerLeftMessage& from) {
6170   GOOGLE_CHECK_NE(&from, this);
6171   if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
6172     if (from.has_gameid()) {
6173       set_gameid(from.gameid());
6174     }
6175     if (from.has_playerid()) {
6176       set_playerid(from.playerid());
6177     }
6178   }
6179   mutable_unknown_fields()->append(from.unknown_fields());
6180 }
6181 
6182 void GameListPlayerLeftMessage::CopyFrom(const GameListPlayerLeftMessage& from) {
6183   if (&from == this) return;
6184   Clear();
6185   MergeFrom(from);
6186 }
6187 
6188 bool GameListPlayerLeftMessage::IsInitialized() const {
6189   if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false;
6190 
6191   return true;
6192 }
6193 
6194 void GameListPlayerLeftMessage::Swap(GameListPlayerLeftMessage* other) {
6195   if (other != this) {
6196     std::swap(gameid_, other->gameid_);
6197     std::swap(playerid_, other->playerid_);
6198     std::swap(_has_bits_[0], other->_has_bits_[0]);
6199     _unknown_fields_.swap(other->_unknown_fields_);
6200     std::swap(_cached_size_, other->_cached_size_);
6201   }
6202 }
6203 
6204 ::std::string GameListPlayerLeftMessage::GetTypeName() const {
6205   return "GameListPlayerLeftMessage";
6206 }
6207 
6208 
6209 // ===================================================================
6210 
6211 #ifndef _MSC_VER
6212 const int GameListSpectatorJoinedMessage::kGameIdFieldNumber;
6213 const int GameListSpectatorJoinedMessage::kPlayerIdFieldNumber;
6214 #endif  // !_MSC_VER
6215 
6216 GameListSpectatorJoinedMessage::GameListSpectatorJoinedMessage()
6217   : ::google::protobuf::MessageLite() {
6218   SharedCtor();
6219   // @@protoc_insertion_point(constructor:GameListSpectatorJoinedMessage)
6220 }
6221 
6222 void GameListSpectatorJoinedMessage::InitAsDefaultInstance() {
6223 }
6224 
6225 GameListSpectatorJoinedMessage::GameListSpectatorJoinedMessage(const GameListSpectatorJoinedMessage& from)
6226   : ::google::protobuf::MessageLite() {
6227   SharedCtor();
6228   MergeFrom(from);
6229   // @@protoc_insertion_point(copy_constructor:GameListSpectatorJoinedMessage)
6230 }
6231 
6232 void GameListSpectatorJoinedMessage::SharedCtor() {
6233   _cached_size_ = 0;
6234   gameid_ = 0u;
6235   playerid_ = 0u;
6236   ::memset(_has_bits_, 0, sizeof(_has_bits_));
6237 }
6238 
6239 GameListSpectatorJoinedMessage::~GameListSpectatorJoinedMessage() {
6240   // @@protoc_insertion_point(destructor:GameListSpectatorJoinedMessage)
6241   SharedDtor();
6242 }
6243 
6244 void GameListSpectatorJoinedMessage::SharedDtor() {
6245   #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
6246   if (this != &default_instance()) {
6247   #else
6248   if (this != default_instance_) {
6249   #endif
6250   }
6251 }
6252 
6253 void GameListSpectatorJoinedMessage::SetCachedSize(int size) const {
6254   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
6255   _cached_size_ = size;
6256   GOOGLE_SAFE_CONCURRENT_WRITES_END();
6257 }
6258 const GameListSpectatorJoinedMessage& GameListSpectatorJoinedMessage::default_instance() {
6259 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
6260   protobuf_AddDesc_pokerth_2eproto();
6261 #else
6262   if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto();
6263 #endif
6264   return *default_instance_;
6265 }
6266 
6267 GameListSpectatorJoinedMessage* GameListSpectatorJoinedMessage::default_instance_ = NULL;
6268 
6269 GameListSpectatorJoinedMessage* GameListSpectatorJoinedMessage::New() const {
6270   return new GameListSpectatorJoinedMessage;
6271 }
6272 
6273 void GameListSpectatorJoinedMessage::Clear() {
6274 #define OFFSET_OF_FIELD_(f) (reinterpret_cast<char*>(      \
6275   &reinterpret_cast<GameListSpectatorJoinedMessage*>(16)->f) - \
6276    reinterpret_cast<char*>(16))
6277 
6278 #define ZR_(first, last) do {                              \
6279     size_t f = OFFSET_OF_FIELD_(first);                    \
6280     size_t n = OFFSET_OF_FIELD_(last) - f + sizeof(last);  \
6281     ::memset(&first, 0, n);                                \
6282   } while (0)
6283 
6284   ZR_(gameid_, playerid_);
6285 
6286 #undef OFFSET_OF_FIELD_
6287 #undef ZR_
6288 
6289   ::memset(_has_bits_, 0, sizeof(_has_bits_));
6290   mutable_unknown_fields()->clear();
6291 }
6292 
6293 bool GameListSpectatorJoinedMessage::MergePartialFromCodedStream(
6294     ::google::protobuf::io::CodedInputStream* input) {
6295 #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
6296   ::google::protobuf::uint32 tag;
6297   ::google::protobuf::io::StringOutputStream unknown_fields_string(
6298       mutable_unknown_fields());
6299   ::google::protobuf::io::CodedOutputStream unknown_fields_stream(
6300       &unknown_fields_string);
6301   // @@protoc_insertion_point(parse_start:GameListSpectatorJoinedMessage)
6302   for (;;) {
6303     ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
6304     tag = p.first;
6305     if (!p.second) goto handle_unusual;
6306     switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
6307       // required uint32 gameId = 1;
6308       case 1: {
6309         if (tag == 8) {
6310           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
6311                    ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
6312                  input, &gameid_)));
6313           set_has_gameid();
6314         } else {
6315           goto handle_unusual;
6316         }
6317         if (input->ExpectTag(16)) goto parse_playerId;
6318         break;
6319       }
6320 
6321       // required uint32 playerId = 2;
6322       case 2: {
6323         if (tag == 16) {
6324          parse_playerId:
6325           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
6326                    ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
6327                  input, &playerid_)));
6328           set_has_playerid();
6329         } else {
6330           goto handle_unusual;
6331         }
6332         if (input->ExpectAtEnd()) goto success;
6333         break;
6334       }
6335 
6336       default: {
6337       handle_unusual:
6338         if (tag == 0 ||
6339             ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
6340             ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
6341           goto success;
6342         }
6343         DO_(::google::protobuf::internal::WireFormatLite::SkipField(
6344             input, tag, &unknown_fields_stream));
6345         break;
6346       }
6347     }
6348   }
6349 success:
6350   // @@protoc_insertion_point(parse_success:GameListSpectatorJoinedMessage)
6351   return true;
6352 failure:
6353   // @@protoc_insertion_point(parse_failure:GameListSpectatorJoinedMessage)
6354   return false;
6355 #undef DO_
6356 }
6357 
6358 void GameListSpectatorJoinedMessage::SerializeWithCachedSizes(
6359     ::google::protobuf::io::CodedOutputStream* output) const {
6360   // @@protoc_insertion_point(serialize_start:GameListSpectatorJoinedMessage)
6361   // required uint32 gameId = 1;
6362   if (has_gameid()) {
6363     ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->gameid(), output);
6364   }
6365 
6366   // required uint32 playerId = 2;
6367   if (has_playerid()) {
6368     ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->playerid(), output);
6369   }
6370 
6371   output->WriteRaw(unknown_fields().data(),
6372                    unknown_fields().size());
6373   // @@protoc_insertion_point(serialize_end:GameListSpectatorJoinedMessage)
6374 }
6375 
6376 int GameListSpectatorJoinedMessage::ByteSize() const {
6377   int total_size = 0;
6378 
6379   if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
6380     // required uint32 gameId = 1;
6381     if (has_gameid()) {
6382       total_size += 1 +
6383         ::google::protobuf::internal::WireFormatLite::UInt32Size(
6384           this->gameid());
6385     }
6386 
6387     // required uint32 playerId = 2;
6388     if (has_playerid()) {
6389       total_size += 1 +
6390         ::google::protobuf::internal::WireFormatLite::UInt32Size(
6391           this->playerid());
6392     }
6393 
6394   }
6395   total_size += unknown_fields().size();
6396 
6397   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
6398   _cached_size_ = total_size;
6399   GOOGLE_SAFE_CONCURRENT_WRITES_END();
6400   return total_size;
6401 }
6402 
6403 void GameListSpectatorJoinedMessage::CheckTypeAndMergeFrom(
6404     const ::google::protobuf::MessageLite& from) {
6405   MergeFrom(*::google::protobuf::down_cast<const GameListSpectatorJoinedMessage*>(&from));
6406 }
6407 
6408 void GameListSpectatorJoinedMessage::MergeFrom(const GameListSpectatorJoinedMessage& from) {
6409   GOOGLE_CHECK_NE(&from, this);
6410   if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
6411     if (from.has_gameid()) {
6412       set_gameid(from.gameid());
6413     }
6414     if (from.has_playerid()) {
6415       set_playerid(from.playerid());
6416     }
6417   }
6418   mutable_unknown_fields()->append(from.unknown_fields());
6419 }
6420 
6421 void GameListSpectatorJoinedMessage::CopyFrom(const GameListSpectatorJoinedMessage& from) {
6422   if (&from == this) return;
6423   Clear();
6424   MergeFrom(from);
6425 }
6426 
6427 bool GameListSpectatorJoinedMessage::IsInitialized() const {
6428   if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false;
6429 
6430   return true;
6431 }
6432 
6433 void GameListSpectatorJoinedMessage::Swap(GameListSpectatorJoinedMessage* other) {
6434   if (other != this) {
6435     std::swap(gameid_, other->gameid_);
6436     std::swap(playerid_, other->playerid_);
6437     std::swap(_has_bits_[0], other->_has_bits_[0]);
6438     _unknown_fields_.swap(other->_unknown_fields_);
6439     std::swap(_cached_size_, other->_cached_size_);
6440   }
6441 }
6442 
6443 ::std::string GameListSpectatorJoinedMessage::GetTypeName() const {
6444   return "GameListSpectatorJoinedMessage";
6445 }
6446 
6447 
6448 // ===================================================================
6449 
6450 #ifndef _MSC_VER
6451 const int GameListSpectatorLeftMessage::kGameIdFieldNumber;
6452 const int GameListSpectatorLeftMessage::kPlayerIdFieldNumber;
6453 #endif  // !_MSC_VER
6454 
6455 GameListSpectatorLeftMessage::GameListSpectatorLeftMessage()
6456   : ::google::protobuf::MessageLite() {
6457   SharedCtor();
6458   // @@protoc_insertion_point(constructor:GameListSpectatorLeftMessage)
6459 }
6460 
6461 void GameListSpectatorLeftMessage::InitAsDefaultInstance() {
6462 }
6463 
6464 GameListSpectatorLeftMessage::GameListSpectatorLeftMessage(const GameListSpectatorLeftMessage& from)
6465   : ::google::protobuf::MessageLite() {
6466   SharedCtor();
6467   MergeFrom(from);
6468   // @@protoc_insertion_point(copy_constructor:GameListSpectatorLeftMessage)
6469 }
6470 
6471 void GameListSpectatorLeftMessage::SharedCtor() {
6472   _cached_size_ = 0;
6473   gameid_ = 0u;
6474   playerid_ = 0u;
6475   ::memset(_has_bits_, 0, sizeof(_has_bits_));
6476 }
6477 
6478 GameListSpectatorLeftMessage::~GameListSpectatorLeftMessage() {
6479   // @@protoc_insertion_point(destructor:GameListSpectatorLeftMessage)
6480   SharedDtor();
6481 }
6482 
6483 void GameListSpectatorLeftMessage::SharedDtor() {
6484   #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
6485   if (this != &default_instance()) {
6486   #else
6487   if (this != default_instance_) {
6488   #endif
6489   }
6490 }
6491 
6492 void GameListSpectatorLeftMessage::SetCachedSize(int size) const {
6493   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
6494   _cached_size_ = size;
6495   GOOGLE_SAFE_CONCURRENT_WRITES_END();
6496 }
6497 const GameListSpectatorLeftMessage& GameListSpectatorLeftMessage::default_instance() {
6498 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
6499   protobuf_AddDesc_pokerth_2eproto();
6500 #else
6501   if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto();
6502 #endif
6503   return *default_instance_;
6504 }
6505 
6506 GameListSpectatorLeftMessage* GameListSpectatorLeftMessage::default_instance_ = NULL;
6507 
6508 GameListSpectatorLeftMessage* GameListSpectatorLeftMessage::New() const {
6509   return new GameListSpectatorLeftMessage;
6510 }
6511 
6512 void GameListSpectatorLeftMessage::Clear() {
6513 #define OFFSET_OF_FIELD_(f) (reinterpret_cast<char*>(      \
6514   &reinterpret_cast<GameListSpectatorLeftMessage*>(16)->f) - \
6515    reinterpret_cast<char*>(16))
6516 
6517 #define ZR_(first, last) do {                              \
6518     size_t f = OFFSET_OF_FIELD_(first);                    \
6519     size_t n = OFFSET_OF_FIELD_(last) - f + sizeof(last);  \
6520     ::memset(&first, 0, n);                                \
6521   } while (0)
6522 
6523   ZR_(gameid_, playerid_);
6524 
6525 #undef OFFSET_OF_FIELD_
6526 #undef ZR_
6527 
6528   ::memset(_has_bits_, 0, sizeof(_has_bits_));
6529   mutable_unknown_fields()->clear();
6530 }
6531 
6532 bool GameListSpectatorLeftMessage::MergePartialFromCodedStream(
6533     ::google::protobuf::io::CodedInputStream* input) {
6534 #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
6535   ::google::protobuf::uint32 tag;
6536   ::google::protobuf::io::StringOutputStream unknown_fields_string(
6537       mutable_unknown_fields());
6538   ::google::protobuf::io::CodedOutputStream unknown_fields_stream(
6539       &unknown_fields_string);
6540   // @@protoc_insertion_point(parse_start:GameListSpectatorLeftMessage)
6541   for (;;) {
6542     ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
6543     tag = p.first;
6544     if (!p.second) goto handle_unusual;
6545     switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
6546       // required uint32 gameId = 1;
6547       case 1: {
6548         if (tag == 8) {
6549           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
6550                    ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
6551                  input, &gameid_)));
6552           set_has_gameid();
6553         } else {
6554           goto handle_unusual;
6555         }
6556         if (input->ExpectTag(16)) goto parse_playerId;
6557         break;
6558       }
6559 
6560       // required uint32 playerId = 2;
6561       case 2: {
6562         if (tag == 16) {
6563          parse_playerId:
6564           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
6565                    ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
6566                  input, &playerid_)));
6567           set_has_playerid();
6568         } else {
6569           goto handle_unusual;
6570         }
6571         if (input->ExpectAtEnd()) goto success;
6572         break;
6573       }
6574 
6575       default: {
6576       handle_unusual:
6577         if (tag == 0 ||
6578             ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
6579             ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
6580           goto success;
6581         }
6582         DO_(::google::protobuf::internal::WireFormatLite::SkipField(
6583             input, tag, &unknown_fields_stream));
6584         break;
6585       }
6586     }
6587   }
6588 success:
6589   // @@protoc_insertion_point(parse_success:GameListSpectatorLeftMessage)
6590   return true;
6591 failure:
6592   // @@protoc_insertion_point(parse_failure:GameListSpectatorLeftMessage)
6593   return false;
6594 #undef DO_
6595 }
6596 
6597 void GameListSpectatorLeftMessage::SerializeWithCachedSizes(
6598     ::google::protobuf::io::CodedOutputStream* output) const {
6599   // @@protoc_insertion_point(serialize_start:GameListSpectatorLeftMessage)
6600   // required uint32 gameId = 1;
6601   if (has_gameid()) {
6602     ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->gameid(), output);
6603   }
6604 
6605   // required uint32 playerId = 2;
6606   if (has_playerid()) {
6607     ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->playerid(), output);
6608   }
6609 
6610   output->WriteRaw(unknown_fields().data(),
6611                    unknown_fields().size());
6612   // @@protoc_insertion_point(serialize_end:GameListSpectatorLeftMessage)
6613 }
6614 
6615 int GameListSpectatorLeftMessage::ByteSize() const {
6616   int total_size = 0;
6617 
6618   if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
6619     // required uint32 gameId = 1;
6620     if (has_gameid()) {
6621       total_size += 1 +
6622         ::google::protobuf::internal::WireFormatLite::UInt32Size(
6623           this->gameid());
6624     }
6625 
6626     // required uint32 playerId = 2;
6627     if (has_playerid()) {
6628       total_size += 1 +
6629         ::google::protobuf::internal::WireFormatLite::UInt32Size(
6630           this->playerid());
6631     }
6632 
6633   }
6634   total_size += unknown_fields().size();
6635 
6636   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
6637   _cached_size_ = total_size;
6638   GOOGLE_SAFE_CONCURRENT_WRITES_END();
6639   return total_size;
6640 }
6641 
6642 void GameListSpectatorLeftMessage::CheckTypeAndMergeFrom(
6643     const ::google::protobuf::MessageLite& from) {
6644   MergeFrom(*::google::protobuf::down_cast<const GameListSpectatorLeftMessage*>(&from));
6645 }
6646 
6647 void GameListSpectatorLeftMessage::MergeFrom(const GameListSpectatorLeftMessage& from) {
6648   GOOGLE_CHECK_NE(&from, this);
6649   if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
6650     if (from.has_gameid()) {
6651       set_gameid(from.gameid());
6652     }
6653     if (from.has_playerid()) {
6654       set_playerid(from.playerid());
6655     }
6656   }
6657   mutable_unknown_fields()->append(from.unknown_fields());
6658 }
6659 
6660 void GameListSpectatorLeftMessage::CopyFrom(const GameListSpectatorLeftMessage& from) {
6661   if (&from == this) return;
6662   Clear();
6663   MergeFrom(from);
6664 }
6665 
6666 bool GameListSpectatorLeftMessage::IsInitialized() const {
6667   if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false;
6668 
6669   return true;
6670 }
6671 
6672 void GameListSpectatorLeftMessage::Swap(GameListSpectatorLeftMessage* other) {
6673   if (other != this) {
6674     std::swap(gameid_, other->gameid_);
6675     std::swap(playerid_, other->playerid_);
6676     std::swap(_has_bits_[0], other->_has_bits_[0]);
6677     _unknown_fields_.swap(other->_unknown_fields_);
6678     std::swap(_cached_size_, other->_cached_size_);
6679   }
6680 }
6681 
6682 ::std::string GameListSpectatorLeftMessage::GetTypeName() const {
6683   return "GameListSpectatorLeftMessage";
6684 }
6685 
6686 
6687 // ===================================================================
6688 
6689 #ifndef _MSC_VER
6690 const int GameListAdminChangedMessage::kGameIdFieldNumber;
6691 const int GameListAdminChangedMessage::kNewAdminPlayerIdFieldNumber;
6692 #endif  // !_MSC_VER
6693 
6694 GameListAdminChangedMessage::GameListAdminChangedMessage()
6695   : ::google::protobuf::MessageLite() {
6696   SharedCtor();
6697   // @@protoc_insertion_point(constructor:GameListAdminChangedMessage)
6698 }
6699 
6700 void GameListAdminChangedMessage::InitAsDefaultInstance() {
6701 }
6702 
6703 GameListAdminChangedMessage::GameListAdminChangedMessage(const GameListAdminChangedMessage& from)
6704   : ::google::protobuf::MessageLite() {
6705   SharedCtor();
6706   MergeFrom(from);
6707   // @@protoc_insertion_point(copy_constructor:GameListAdminChangedMessage)
6708 }
6709 
6710 void GameListAdminChangedMessage::SharedCtor() {
6711   _cached_size_ = 0;
6712   gameid_ = 0u;
6713   newadminplayerid_ = 0u;
6714   ::memset(_has_bits_, 0, sizeof(_has_bits_));
6715 }
6716 
6717 GameListAdminChangedMessage::~GameListAdminChangedMessage() {
6718   // @@protoc_insertion_point(destructor:GameListAdminChangedMessage)
6719   SharedDtor();
6720 }
6721 
6722 void GameListAdminChangedMessage::SharedDtor() {
6723   #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
6724   if (this != &default_instance()) {
6725   #else
6726   if (this != default_instance_) {
6727   #endif
6728   }
6729 }
6730 
6731 void GameListAdminChangedMessage::SetCachedSize(int size) const {
6732   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
6733   _cached_size_ = size;
6734   GOOGLE_SAFE_CONCURRENT_WRITES_END();
6735 }
6736 const GameListAdminChangedMessage& GameListAdminChangedMessage::default_instance() {
6737 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
6738   protobuf_AddDesc_pokerth_2eproto();
6739 #else
6740   if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto();
6741 #endif
6742   return *default_instance_;
6743 }
6744 
6745 GameListAdminChangedMessage* GameListAdminChangedMessage::default_instance_ = NULL;
6746 
6747 GameListAdminChangedMessage* GameListAdminChangedMessage::New() const {
6748   return new GameListAdminChangedMessage;
6749 }
6750 
6751 void GameListAdminChangedMessage::Clear() {
6752 #define OFFSET_OF_FIELD_(f) (reinterpret_cast<char*>(      \
6753   &reinterpret_cast<GameListAdminChangedMessage*>(16)->f) - \
6754    reinterpret_cast<char*>(16))
6755 
6756 #define ZR_(first, last) do {                              \
6757     size_t f = OFFSET_OF_FIELD_(first);                    \
6758     size_t n = OFFSET_OF_FIELD_(last) - f + sizeof(last);  \
6759     ::memset(&first, 0, n);                                \
6760   } while (0)
6761 
6762   ZR_(gameid_, newadminplayerid_);
6763 
6764 #undef OFFSET_OF_FIELD_
6765 #undef ZR_
6766 
6767   ::memset(_has_bits_, 0, sizeof(_has_bits_));
6768   mutable_unknown_fields()->clear();
6769 }
6770 
6771 bool GameListAdminChangedMessage::MergePartialFromCodedStream(
6772     ::google::protobuf::io::CodedInputStream* input) {
6773 #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
6774   ::google::protobuf::uint32 tag;
6775   ::google::protobuf::io::StringOutputStream unknown_fields_string(
6776       mutable_unknown_fields());
6777   ::google::protobuf::io::CodedOutputStream unknown_fields_stream(
6778       &unknown_fields_string);
6779   // @@protoc_insertion_point(parse_start:GameListAdminChangedMessage)
6780   for (;;) {
6781     ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
6782     tag = p.first;
6783     if (!p.second) goto handle_unusual;
6784     switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
6785       // required uint32 gameId = 1;
6786       case 1: {
6787         if (tag == 8) {
6788           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
6789                    ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
6790                  input, &gameid_)));
6791           set_has_gameid();
6792         } else {
6793           goto handle_unusual;
6794         }
6795         if (input->ExpectTag(16)) goto parse_newAdminPlayerId;
6796         break;
6797       }
6798 
6799       // required uint32 newAdminPlayerId = 2;
6800       case 2: {
6801         if (tag == 16) {
6802          parse_newAdminPlayerId:
6803           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
6804                    ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
6805                  input, &newadminplayerid_)));
6806           set_has_newadminplayerid();
6807         } else {
6808           goto handle_unusual;
6809         }
6810         if (input->ExpectAtEnd()) goto success;
6811         break;
6812       }
6813 
6814       default: {
6815       handle_unusual:
6816         if (tag == 0 ||
6817             ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
6818             ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
6819           goto success;
6820         }
6821         DO_(::google::protobuf::internal::WireFormatLite::SkipField(
6822             input, tag, &unknown_fields_stream));
6823         break;
6824       }
6825     }
6826   }
6827 success:
6828   // @@protoc_insertion_point(parse_success:GameListAdminChangedMessage)
6829   return true;
6830 failure:
6831   // @@protoc_insertion_point(parse_failure:GameListAdminChangedMessage)
6832   return false;
6833 #undef DO_
6834 }
6835 
6836 void GameListAdminChangedMessage::SerializeWithCachedSizes(
6837     ::google::protobuf::io::CodedOutputStream* output) const {
6838   // @@protoc_insertion_point(serialize_start:GameListAdminChangedMessage)
6839   // required uint32 gameId = 1;
6840   if (has_gameid()) {
6841     ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->gameid(), output);
6842   }
6843 
6844   // required uint32 newAdminPlayerId = 2;
6845   if (has_newadminplayerid()) {
6846     ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->newadminplayerid(), output);
6847   }
6848 
6849   output->WriteRaw(unknown_fields().data(),
6850                    unknown_fields().size());
6851   // @@protoc_insertion_point(serialize_end:GameListAdminChangedMessage)
6852 }
6853 
6854 int GameListAdminChangedMessage::ByteSize() const {
6855   int total_size = 0;
6856 
6857   if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
6858     // required uint32 gameId = 1;
6859     if (has_gameid()) {
6860       total_size += 1 +
6861         ::google::protobuf::internal::WireFormatLite::UInt32Size(
6862           this->gameid());
6863     }
6864 
6865     // required uint32 newAdminPlayerId = 2;
6866     if (has_newadminplayerid()) {
6867       total_size += 1 +
6868         ::google::protobuf::internal::WireFormatLite::UInt32Size(
6869           this->newadminplayerid());
6870     }
6871 
6872   }
6873   total_size += unknown_fields().size();
6874 
6875   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
6876   _cached_size_ = total_size;
6877   GOOGLE_SAFE_CONCURRENT_WRITES_END();
6878   return total_size;
6879 }
6880 
6881 void GameListAdminChangedMessage::CheckTypeAndMergeFrom(
6882     const ::google::protobuf::MessageLite& from) {
6883   MergeFrom(*::google::protobuf::down_cast<const GameListAdminChangedMessage*>(&from));
6884 }
6885 
6886 void GameListAdminChangedMessage::MergeFrom(const GameListAdminChangedMessage& from) {
6887   GOOGLE_CHECK_NE(&from, this);
6888   if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
6889     if (from.has_gameid()) {
6890       set_gameid(from.gameid());
6891     }
6892     if (from.has_newadminplayerid()) {
6893       set_newadminplayerid(from.newadminplayerid());
6894     }
6895   }
6896   mutable_unknown_fields()->append(from.unknown_fields());
6897 }
6898 
6899 void GameListAdminChangedMessage::CopyFrom(const GameListAdminChangedMessage& from) {
6900   if (&from == this) return;
6901   Clear();
6902   MergeFrom(from);
6903 }
6904 
6905 bool GameListAdminChangedMessage::IsInitialized() const {
6906   if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false;
6907 
6908   return true;
6909 }
6910 
6911 void GameListAdminChangedMessage::Swap(GameListAdminChangedMessage* other) {
6912   if (other != this) {
6913     std::swap(gameid_, other->gameid_);
6914     std::swap(newadminplayerid_, other->newadminplayerid_);
6915     std::swap(_has_bits_[0], other->_has_bits_[0]);
6916     _unknown_fields_.swap(other->_unknown_fields_);
6917     std::swap(_cached_size_, other->_cached_size_);
6918   }
6919 }
6920 
6921 ::std::string GameListAdminChangedMessage::GetTypeName() const {
6922   return "GameListAdminChangedMessage";
6923 }
6924 
6925 
6926 // ===================================================================
6927 
6928 #ifndef _MSC_VER
6929 const int PlayerInfoRequestMessage::kPlayerIdFieldNumber;
6930 #endif  // !_MSC_VER
6931 
6932 PlayerInfoRequestMessage::PlayerInfoRequestMessage()
6933   : ::google::protobuf::MessageLite() {
6934   SharedCtor();
6935   // @@protoc_insertion_point(constructor:PlayerInfoRequestMessage)
6936 }
6937 
6938 void PlayerInfoRequestMessage::InitAsDefaultInstance() {
6939 }
6940 
6941 PlayerInfoRequestMessage::PlayerInfoRequestMessage(const PlayerInfoRequestMessage& from)
6942   : ::google::protobuf::MessageLite() {
6943   SharedCtor();
6944   MergeFrom(from);
6945   // @@protoc_insertion_point(copy_constructor:PlayerInfoRequestMessage)
6946 }
6947 
6948 void PlayerInfoRequestMessage::SharedCtor() {
6949   _cached_size_ = 0;
6950   ::memset(_has_bits_, 0, sizeof(_has_bits_));
6951 }
6952 
6953 PlayerInfoRequestMessage::~PlayerInfoRequestMessage() {
6954   // @@protoc_insertion_point(destructor:PlayerInfoRequestMessage)
6955   SharedDtor();
6956 }
6957 
6958 void PlayerInfoRequestMessage::SharedDtor() {
6959   #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
6960   if (this != &default_instance()) {
6961   #else
6962   if (this != default_instance_) {
6963   #endif
6964   }
6965 }
6966 
6967 void PlayerInfoRequestMessage::SetCachedSize(int size) const {
6968   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
6969   _cached_size_ = size;
6970   GOOGLE_SAFE_CONCURRENT_WRITES_END();
6971 }
6972 const PlayerInfoRequestMessage& PlayerInfoRequestMessage::default_instance() {
6973 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
6974   protobuf_AddDesc_pokerth_2eproto();
6975 #else
6976   if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto();
6977 #endif
6978   return *default_instance_;
6979 }
6980 
6981 PlayerInfoRequestMessage* PlayerInfoRequestMessage::default_instance_ = NULL;
6982 
6983 PlayerInfoRequestMessage* PlayerInfoRequestMessage::New() const {
6984   return new PlayerInfoRequestMessage;
6985 }
6986 
6987 void PlayerInfoRequestMessage::Clear() {
6988   playerid_.Clear();
6989   ::memset(_has_bits_, 0, sizeof(_has_bits_));
6990   mutable_unknown_fields()->clear();
6991 }
6992 
6993 bool PlayerInfoRequestMessage::MergePartialFromCodedStream(
6994     ::google::protobuf::io::CodedInputStream* input) {
6995 #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
6996   ::google::protobuf::uint32 tag;
6997   ::google::protobuf::io::StringOutputStream unknown_fields_string(
6998       mutable_unknown_fields());
6999   ::google::protobuf::io::CodedOutputStream unknown_fields_stream(
7000       &unknown_fields_string);
7001   // @@protoc_insertion_point(parse_start:PlayerInfoRequestMessage)
7002   for (;;) {
7003     ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
7004     tag = p.first;
7005     if (!p.second) goto handle_unusual;
7006     switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
7007       // repeated uint32 playerId = 1 [packed = true];
7008       case 1: {
7009         if (tag == 10) {
7010           DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitive<
7011                    ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
7012                  input, this->mutable_playerid())));
7013         } else if (tag == 8) {
7014           DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitiveNoInline<
7015                    ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
7016                  1, 10, input, this->mutable_playerid())));
7017         } else {
7018           goto handle_unusual;
7019         }
7020         if (input->ExpectAtEnd()) goto success;
7021         break;
7022       }
7023 
7024       default: {
7025       handle_unusual:
7026         if (tag == 0 ||
7027             ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
7028             ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
7029           goto success;
7030         }
7031         DO_(::google::protobuf::internal::WireFormatLite::SkipField(
7032             input, tag, &unknown_fields_stream));
7033         break;
7034       }
7035     }
7036   }
7037 success:
7038   // @@protoc_insertion_point(parse_success:PlayerInfoRequestMessage)
7039   return true;
7040 failure:
7041   // @@protoc_insertion_point(parse_failure:PlayerInfoRequestMessage)
7042   return false;
7043 #undef DO_
7044 }
7045 
7046 void PlayerInfoRequestMessage::SerializeWithCachedSizes(
7047     ::google::protobuf::io::CodedOutputStream* output) const {
7048   // @@protoc_insertion_point(serialize_start:PlayerInfoRequestMessage)
7049   // repeated uint32 playerId = 1 [packed = true];
7050   if (this->playerid_size() > 0) {
7051     ::google::protobuf::internal::WireFormatLite::WriteTag(1, ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED, output);
7052     output->WriteVarint32(_playerid_cached_byte_size_);
7053   }
7054   for (int i = 0; i < this->playerid_size(); i++) {
7055     ::google::protobuf::internal::WireFormatLite::WriteUInt32NoTag(
7056       this->playerid(i), output);
7057   }
7058 
7059   output->WriteRaw(unknown_fields().data(),
7060                    unknown_fields().size());
7061   // @@protoc_insertion_point(serialize_end:PlayerInfoRequestMessage)
7062 }
7063 
7064 int PlayerInfoRequestMessage::ByteSize() const {
7065   int total_size = 0;
7066 
7067   // repeated uint32 playerId = 1 [packed = true];
7068   {
7069     int data_size = 0;
7070     for (int i = 0; i < this->playerid_size(); i++) {
7071       data_size += ::google::protobuf::internal::WireFormatLite::
7072         UInt32Size(this->playerid(i));
7073     }
7074     if (data_size > 0) {
7075       total_size += 1 +
7076         ::google::protobuf::internal::WireFormatLite::Int32Size(data_size);
7077     }
7078     GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
7079     _playerid_cached_byte_size_ = data_size;
7080     GOOGLE_SAFE_CONCURRENT_WRITES_END();
7081     total_size += data_size;
7082   }
7083 
7084   total_size += unknown_fields().size();
7085 
7086   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
7087   _cached_size_ = total_size;
7088   GOOGLE_SAFE_CONCURRENT_WRITES_END();
7089   return total_size;
7090 }
7091 
7092 void PlayerInfoRequestMessage::CheckTypeAndMergeFrom(
7093     const ::google::protobuf::MessageLite& from) {
7094   MergeFrom(*::google::protobuf::down_cast<const PlayerInfoRequestMessage*>(&from));
7095 }
7096 
7097 void PlayerInfoRequestMessage::MergeFrom(const PlayerInfoRequestMessage& from) {
7098   GOOGLE_CHECK_NE(&from, this);
7099   playerid_.MergeFrom(from.playerid_);
7100   mutable_unknown_fields()->append(from.unknown_fields());
7101 }
7102 
7103 void PlayerInfoRequestMessage::CopyFrom(const PlayerInfoRequestMessage& from) {
7104   if (&from == this) return;
7105   Clear();
7106   MergeFrom(from);
7107 }
7108 
7109 bool PlayerInfoRequestMessage::IsInitialized() const {
7110 
7111   return true;
7112 }
7113 
7114 void PlayerInfoRequestMessage::Swap(PlayerInfoRequestMessage* other) {
7115   if (other != this) {
7116     playerid_.Swap(&other->playerid_);
7117     std::swap(_has_bits_[0], other->_has_bits_[0]);
7118     _unknown_fields_.swap(other->_unknown_fields_);
7119     std::swap(_cached_size_, other->_cached_size_);
7120   }
7121 }
7122 
7123 ::std::string PlayerInfoRequestMessage::GetTypeName() const {
7124   return "PlayerInfoRequestMessage";
7125 }
7126 
7127 
7128 // ===================================================================
7129 
7130 #ifndef _MSC_VER
7131 const int PlayerInfoReplyMessage_PlayerInfoData_AvatarData::kAvatarTypeFieldNumber;
7132 const int PlayerInfoReplyMessage_PlayerInfoData_AvatarData::kAvatarHashFieldNumber;
7133 #endif  // !_MSC_VER
7134 
7135 PlayerInfoReplyMessage_PlayerInfoData_AvatarData::PlayerInfoReplyMessage_PlayerInfoData_AvatarData()
7136   : ::google::protobuf::MessageLite() {
7137   SharedCtor();
7138   // @@protoc_insertion_point(constructor:PlayerInfoReplyMessage.PlayerInfoData.AvatarData)
7139 }
7140 
7141 void PlayerInfoReplyMessage_PlayerInfoData_AvatarData::InitAsDefaultInstance() {
7142 }
7143 
7144 PlayerInfoReplyMessage_PlayerInfoData_AvatarData::PlayerInfoReplyMessage_PlayerInfoData_AvatarData(const PlayerInfoReplyMessage_PlayerInfoData_AvatarData& from)
7145   : ::google::protobuf::MessageLite() {
7146   SharedCtor();
7147   MergeFrom(from);
7148   // @@protoc_insertion_point(copy_constructor:PlayerInfoReplyMessage.PlayerInfoData.AvatarData)
7149 }
7150 
7151 void PlayerInfoReplyMessage_PlayerInfoData_AvatarData::SharedCtor() {
7152   ::google::protobuf::internal::GetEmptyString();
7153   _cached_size_ = 0;
7154   avatartype_ = 1;
7155   avatarhash_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7156   ::memset(_has_bits_, 0, sizeof(_has_bits_));
7157 }
7158 
7159 PlayerInfoReplyMessage_PlayerInfoData_AvatarData::~PlayerInfoReplyMessage_PlayerInfoData_AvatarData() {
7160   // @@protoc_insertion_point(destructor:PlayerInfoReplyMessage.PlayerInfoData.AvatarData)
7161   SharedDtor();
7162 }
7163 
7164 void PlayerInfoReplyMessage_PlayerInfoData_AvatarData::SharedDtor() {
7165   if (avatarhash_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
7166     delete avatarhash_;
7167   }
7168   #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
7169   if (this != &default_instance()) {
7170   #else
7171   if (this != default_instance_) {
7172   #endif
7173   }
7174 }
7175 
7176 void PlayerInfoReplyMessage_PlayerInfoData_AvatarData::SetCachedSize(int size) const {
7177   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
7178   _cached_size_ = size;
7179   GOOGLE_SAFE_CONCURRENT_WRITES_END();
7180 }
7181 const PlayerInfoReplyMessage_PlayerInfoData_AvatarData& PlayerInfoReplyMessage_PlayerInfoData_AvatarData::default_instance() {
7182 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
7183   protobuf_AddDesc_pokerth_2eproto();
7184 #else
7185   if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto();
7186 #endif
7187   return *default_instance_;
7188 }
7189 
7190 PlayerInfoReplyMessage_PlayerInfoData_AvatarData* PlayerInfoReplyMessage_PlayerInfoData_AvatarData::default_instance_ = NULL;
7191 
7192 PlayerInfoReplyMessage_PlayerInfoData_AvatarData* PlayerInfoReplyMessage_PlayerInfoData_AvatarData::New() const {
7193   return new PlayerInfoReplyMessage_PlayerInfoData_AvatarData;
7194 }
7195 
7196 void PlayerInfoReplyMessage_PlayerInfoData_AvatarData::Clear() {
7197   if (_has_bits_[0 / 32] & 3) {
7198     avatartype_ = 1;
7199     if (has_avatarhash()) {
7200       if (avatarhash_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
7201         avatarhash_->clear();
7202       }
7203     }
7204   }
7205   ::memset(_has_bits_, 0, sizeof(_has_bits_));
7206   mutable_unknown_fields()->clear();
7207 }
7208 
7209 bool PlayerInfoReplyMessage_PlayerInfoData_AvatarData::MergePartialFromCodedStream(
7210     ::google::protobuf::io::CodedInputStream* input) {
7211 #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
7212   ::google::protobuf::uint32 tag;
7213   ::google::protobuf::io::StringOutputStream unknown_fields_string(
7214       mutable_unknown_fields());
7215   ::google::protobuf::io::CodedOutputStream unknown_fields_stream(
7216       &unknown_fields_string);
7217   // @@protoc_insertion_point(parse_start:PlayerInfoReplyMessage.PlayerInfoData.AvatarData)
7218   for (;;) {
7219     ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
7220     tag = p.first;
7221     if (!p.second) goto handle_unusual;
7222     switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
7223       // required .NetAvatarType avatarType = 1;
7224       case 1: {
7225         if (tag == 8) {
7226           int value;
7227           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
7228                    int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
7229                  input, &value)));
7230           if (::NetAvatarType_IsValid(value)) {
7231             set_avatartype(static_cast< ::NetAvatarType >(value));
7232           } else {
7233             unknown_fields_stream.WriteVarint32(tag);
7234             unknown_fields_stream.WriteVarint32(value);
7235           }
7236         } else {
7237           goto handle_unusual;
7238         }
7239         if (input->ExpectTag(18)) goto parse_avatarHash;
7240         break;
7241       }
7242 
7243       // required bytes avatarHash = 2;
7244       case 2: {
7245         if (tag == 18) {
7246          parse_avatarHash:
7247           DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
7248                 input, this->mutable_avatarhash()));
7249         } else {
7250           goto handle_unusual;
7251         }
7252         if (input->ExpectAtEnd()) goto success;
7253         break;
7254       }
7255 
7256       default: {
7257       handle_unusual:
7258         if (tag == 0 ||
7259             ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
7260             ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
7261           goto success;
7262         }
7263         DO_(::google::protobuf::internal::WireFormatLite::SkipField(
7264             input, tag, &unknown_fields_stream));
7265         break;
7266       }
7267     }
7268   }
7269 success:
7270   // @@protoc_insertion_point(parse_success:PlayerInfoReplyMessage.PlayerInfoData.AvatarData)
7271   return true;
7272 failure:
7273   // @@protoc_insertion_point(parse_failure:PlayerInfoReplyMessage.PlayerInfoData.AvatarData)
7274   return false;
7275 #undef DO_
7276 }
7277 
7278 void PlayerInfoReplyMessage_PlayerInfoData_AvatarData::SerializeWithCachedSizes(
7279     ::google::protobuf::io::CodedOutputStream* output) const {
7280   // @@protoc_insertion_point(serialize_start:PlayerInfoReplyMessage.PlayerInfoData.AvatarData)
7281   // required .NetAvatarType avatarType = 1;
7282   if (has_avatartype()) {
7283     ::google::protobuf::internal::WireFormatLite::WriteEnum(
7284       1, this->avatartype(), output);
7285   }
7286 
7287   // required bytes avatarHash = 2;
7288   if (has_avatarhash()) {
7289     ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased(
7290       2, this->avatarhash(), output);
7291   }
7292 
7293   output->WriteRaw(unknown_fields().data(),
7294                    unknown_fields().size());
7295   // @@protoc_insertion_point(serialize_end:PlayerInfoReplyMessage.PlayerInfoData.AvatarData)
7296 }
7297 
7298 int PlayerInfoReplyMessage_PlayerInfoData_AvatarData::ByteSize() const {
7299   int total_size = 0;
7300 
7301   if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
7302     // required .NetAvatarType avatarType = 1;
7303     if (has_avatartype()) {
7304       total_size += 1 +
7305         ::google::protobuf::internal::WireFormatLite::EnumSize(this->avatartype());
7306     }
7307 
7308     // required bytes avatarHash = 2;
7309     if (has_avatarhash()) {
7310       total_size += 1 +
7311         ::google::protobuf::internal::WireFormatLite::BytesSize(
7312           this->avatarhash());
7313     }
7314 
7315   }
7316   total_size += unknown_fields().size();
7317 
7318   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
7319   _cached_size_ = total_size;
7320   GOOGLE_SAFE_CONCURRENT_WRITES_END();
7321   return total_size;
7322 }
7323 
7324 void PlayerInfoReplyMessage_PlayerInfoData_AvatarData::CheckTypeAndMergeFrom(
7325     const ::google::protobuf::MessageLite& from) {
7326   MergeFrom(*::google::protobuf::down_cast<const PlayerInfoReplyMessage_PlayerInfoData_AvatarData*>(&from));
7327 }
7328 
7329 void PlayerInfoReplyMessage_PlayerInfoData_AvatarData::MergeFrom(const PlayerInfoReplyMessage_PlayerInfoData_AvatarData& from) {
7330   GOOGLE_CHECK_NE(&from, this);
7331   if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
7332     if (from.has_avatartype()) {
7333       set_avatartype(from.avatartype());
7334     }
7335     if (from.has_avatarhash()) {
7336       set_avatarhash(from.avatarhash());
7337     }
7338   }
7339   mutable_unknown_fields()->append(from.unknown_fields());
7340 }
7341 
7342 void PlayerInfoReplyMessage_PlayerInfoData_AvatarData::CopyFrom(const PlayerInfoReplyMessage_PlayerInfoData_AvatarData& from) {
7343   if (&from == this) return;
7344   Clear();
7345   MergeFrom(from);
7346 }
7347 
7348 bool PlayerInfoReplyMessage_PlayerInfoData_AvatarData::IsInitialized() const {
7349   if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false;
7350 
7351   return true;
7352 }
7353 
7354 void PlayerInfoReplyMessage_PlayerInfoData_AvatarData::Swap(PlayerInfoReplyMessage_PlayerInfoData_AvatarData* other) {
7355   if (other != this) {
7356     std::swap(avatartype_, other->avatartype_);
7357     std::swap(avatarhash_, other->avatarhash_);
7358     std::swap(_has_bits_[0], other->_has_bits_[0]);
7359     _unknown_fields_.swap(other->_unknown_fields_);
7360     std::swap(_cached_size_, other->_cached_size_);
7361   }
7362 }
7363 
7364 ::std::string PlayerInfoReplyMessage_PlayerInfoData_AvatarData::GetTypeName() const {
7365   return "PlayerInfoReplyMessage.PlayerInfoData.AvatarData";
7366 }
7367 
7368 
7369 // -------------------------------------------------------------------
7370 
7371 #ifndef _MSC_VER
7372 const int PlayerInfoReplyMessage_PlayerInfoData::kPlayerNameFieldNumber;
7373 const int PlayerInfoReplyMessage_PlayerInfoData::kIsHumanFieldNumber;
7374 const int PlayerInfoReplyMessage_PlayerInfoData::kPlayerRightsFieldNumber;
7375 const int PlayerInfoReplyMessage_PlayerInfoData::kCountryCodeFieldNumber;
7376 const int PlayerInfoReplyMessage_PlayerInfoData::kAvatarDataFieldNumber;
7377 #endif  // !_MSC_VER
7378 
7379 PlayerInfoReplyMessage_PlayerInfoData::PlayerInfoReplyMessage_PlayerInfoData()
7380   : ::google::protobuf::MessageLite() {
7381   SharedCtor();
7382   // @@protoc_insertion_point(constructor:PlayerInfoReplyMessage.PlayerInfoData)
7383 }
7384 
7385 void PlayerInfoReplyMessage_PlayerInfoData::InitAsDefaultInstance() {
7386 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
7387   avatardata_ = const_cast< ::PlayerInfoReplyMessage_PlayerInfoData_AvatarData*>(
7388       ::PlayerInfoReplyMessage_PlayerInfoData_AvatarData::internal_default_instance());
7389 #else
7390   avatardata_ = const_cast< ::PlayerInfoReplyMessage_PlayerInfoData_AvatarData*>(&::PlayerInfoReplyMessage_PlayerInfoData_AvatarData::default_instance());
7391 #endif
7392 }
7393 
7394 PlayerInfoReplyMessage_PlayerInfoData::PlayerInfoReplyMessage_PlayerInfoData(const PlayerInfoReplyMessage_PlayerInfoData& from)
7395   : ::google::protobuf::MessageLite() {
7396   SharedCtor();
7397   MergeFrom(from);
7398   // @@protoc_insertion_point(copy_constructor:PlayerInfoReplyMessage.PlayerInfoData)
7399 }
7400 
7401 void PlayerInfoReplyMessage_PlayerInfoData::SharedCtor() {
7402   ::google::protobuf::internal::GetEmptyString();
7403   _cached_size_ = 0;
7404   playername_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7405   ishuman_ = false;
7406   playerrights_ = 1;
7407   countrycode_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
7408   avatardata_ = NULL;
7409   ::memset(_has_bits_, 0, sizeof(_has_bits_));
7410 }
7411 
7412 PlayerInfoReplyMessage_PlayerInfoData::~PlayerInfoReplyMessage_PlayerInfoData() {
7413   // @@protoc_insertion_point(destructor:PlayerInfoReplyMessage.PlayerInfoData)
7414   SharedDtor();
7415 }
7416 
7417 void PlayerInfoReplyMessage_PlayerInfoData::SharedDtor() {
7418   if (playername_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
7419     delete playername_;
7420   }
7421   if (countrycode_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
7422     delete countrycode_;
7423   }
7424   #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
7425   if (this != &default_instance()) {
7426   #else
7427   if (this != default_instance_) {
7428   #endif
7429     delete avatardata_;
7430   }
7431 }
7432 
7433 void PlayerInfoReplyMessage_PlayerInfoData::SetCachedSize(int size) const {
7434   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
7435   _cached_size_ = size;
7436   GOOGLE_SAFE_CONCURRENT_WRITES_END();
7437 }
7438 const PlayerInfoReplyMessage_PlayerInfoData& PlayerInfoReplyMessage_PlayerInfoData::default_instance() {
7439 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
7440   protobuf_AddDesc_pokerth_2eproto();
7441 #else
7442   if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto();
7443 #endif
7444   return *default_instance_;
7445 }
7446 
7447 PlayerInfoReplyMessage_PlayerInfoData* PlayerInfoReplyMessage_PlayerInfoData::default_instance_ = NULL;
7448 
7449 PlayerInfoReplyMessage_PlayerInfoData* PlayerInfoReplyMessage_PlayerInfoData::New() const {
7450   return new PlayerInfoReplyMessage_PlayerInfoData;
7451 }
7452 
7453 void PlayerInfoReplyMessage_PlayerInfoData::Clear() {
7454   if (_has_bits_[0 / 32] & 31) {
7455     if (has_playername()) {
7456       if (playername_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
7457         playername_->clear();
7458       }
7459     }
7460     ishuman_ = false;
7461     playerrights_ = 1;
7462     if (has_countrycode()) {
7463       if (countrycode_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
7464         countrycode_->clear();
7465       }
7466     }
7467     if (has_avatardata()) {
7468       if (avatardata_ != NULL) avatardata_->::PlayerInfoReplyMessage_PlayerInfoData_AvatarData::Clear();
7469     }
7470   }
7471   ::memset(_has_bits_, 0, sizeof(_has_bits_));
7472   mutable_unknown_fields()->clear();
7473 }
7474 
7475 bool PlayerInfoReplyMessage_PlayerInfoData::MergePartialFromCodedStream(
7476     ::google::protobuf::io::CodedInputStream* input) {
7477 #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
7478   ::google::protobuf::uint32 tag;
7479   ::google::protobuf::io::StringOutputStream unknown_fields_string(
7480       mutable_unknown_fields());
7481   ::google::protobuf::io::CodedOutputStream unknown_fields_stream(
7482       &unknown_fields_string);
7483   // @@protoc_insertion_point(parse_start:PlayerInfoReplyMessage.PlayerInfoData)
7484   for (;;) {
7485     ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
7486     tag = p.first;
7487     if (!p.second) goto handle_unusual;
7488     switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
7489       // required string playerName = 1;
7490       case 1: {
7491         if (tag == 10) {
7492           DO_(::google::protobuf::internal::WireFormatLite::ReadString(
7493                 input, this->mutable_playername()));
7494         } else {
7495           goto handle_unusual;
7496         }
7497         if (input->ExpectTag(16)) goto parse_isHuman;
7498         break;
7499       }
7500 
7501       // required bool isHuman = 2;
7502       case 2: {
7503         if (tag == 16) {
7504          parse_isHuman:
7505           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
7506                    bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
7507                  input, &ishuman_)));
7508           set_has_ishuman();
7509         } else {
7510           goto handle_unusual;
7511         }
7512         if (input->ExpectTag(24)) goto parse_playerRights;
7513         break;
7514       }
7515 
7516       // required .NetPlayerInfoRights playerRights = 3;
7517       case 3: {
7518         if (tag == 24) {
7519          parse_playerRights:
7520           int value;
7521           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
7522                    int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
7523                  input, &value)));
7524           if (::NetPlayerInfoRights_IsValid(value)) {
7525             set_playerrights(static_cast< ::NetPlayerInfoRights >(value));
7526           } else {
7527             unknown_fields_stream.WriteVarint32(tag);
7528             unknown_fields_stream.WriteVarint32(value);
7529           }
7530         } else {
7531           goto handle_unusual;
7532         }
7533         if (input->ExpectTag(34)) goto parse_countryCode;
7534         break;
7535       }
7536 
7537       // optional string countryCode = 4;
7538       case 4: {
7539         if (tag == 34) {
7540          parse_countryCode:
7541           DO_(::google::protobuf::internal::WireFormatLite::ReadString(
7542                 input, this->mutable_countrycode()));
7543         } else {
7544           goto handle_unusual;
7545         }
7546         if (input->ExpectTag(42)) goto parse_avatarData;
7547         break;
7548       }
7549 
7550       // optional .PlayerInfoReplyMessage.PlayerInfoData.AvatarData avatarData = 5;
7551       case 5: {
7552         if (tag == 42) {
7553          parse_avatarData:
7554           DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
7555                input, mutable_avatardata()));
7556         } else {
7557           goto handle_unusual;
7558         }
7559         if (input->ExpectAtEnd()) goto success;
7560         break;
7561       }
7562 
7563       default: {
7564       handle_unusual:
7565         if (tag == 0 ||
7566             ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
7567             ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
7568           goto success;
7569         }
7570         DO_(::google::protobuf::internal::WireFormatLite::SkipField(
7571             input, tag, &unknown_fields_stream));
7572         break;
7573       }
7574     }
7575   }
7576 success:
7577   // @@protoc_insertion_point(parse_success:PlayerInfoReplyMessage.PlayerInfoData)
7578   return true;
7579 failure:
7580   // @@protoc_insertion_point(parse_failure:PlayerInfoReplyMessage.PlayerInfoData)
7581   return false;
7582 #undef DO_
7583 }
7584 
7585 void PlayerInfoReplyMessage_PlayerInfoData::SerializeWithCachedSizes(
7586     ::google::protobuf::io::CodedOutputStream* output) const {
7587   // @@protoc_insertion_point(serialize_start:PlayerInfoReplyMessage.PlayerInfoData)
7588   // required string playerName = 1;
7589   if (has_playername()) {
7590     ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
7591       1, this->playername(), output);
7592   }
7593 
7594   // required bool isHuman = 2;
7595   if (has_ishuman()) {
7596     ::google::protobuf::internal::WireFormatLite::WriteBool(2, this->ishuman(), output);
7597   }
7598 
7599   // required .NetPlayerInfoRights playerRights = 3;
7600   if (has_playerrights()) {
7601     ::google::protobuf::internal::WireFormatLite::WriteEnum(
7602       3, this->playerrights(), output);
7603   }
7604 
7605   // optional string countryCode = 4;
7606   if (has_countrycode()) {
7607     ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
7608       4, this->countrycode(), output);
7609   }
7610 
7611   // optional .PlayerInfoReplyMessage.PlayerInfoData.AvatarData avatarData = 5;
7612   if (has_avatardata()) {
7613     ::google::protobuf::internal::WireFormatLite::WriteMessage(
7614       5, this->avatardata(), output);
7615   }
7616 
7617   output->WriteRaw(unknown_fields().data(),
7618                    unknown_fields().size());
7619   // @@protoc_insertion_point(serialize_end:PlayerInfoReplyMessage.PlayerInfoData)
7620 }
7621 
7622 int PlayerInfoReplyMessage_PlayerInfoData::ByteSize() const {
7623   int total_size = 0;
7624 
7625   if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
7626     // required string playerName = 1;
7627     if (has_playername()) {
7628       total_size += 1 +
7629         ::google::protobuf::internal::WireFormatLite::StringSize(
7630           this->playername());
7631     }
7632 
7633     // required bool isHuman = 2;
7634     if (has_ishuman()) {
7635       total_size += 1 + 1;
7636     }
7637 
7638     // required .NetPlayerInfoRights playerRights = 3;
7639     if (has_playerrights()) {
7640       total_size += 1 +
7641         ::google::protobuf::internal::WireFormatLite::EnumSize(this->playerrights());
7642     }
7643 
7644     // optional string countryCode = 4;
7645     if (has_countrycode()) {
7646       total_size += 1 +
7647         ::google::protobuf::internal::WireFormatLite::StringSize(
7648           this->countrycode());
7649     }
7650 
7651     // optional .PlayerInfoReplyMessage.PlayerInfoData.AvatarData avatarData = 5;
7652     if (has_avatardata()) {
7653       total_size += 1 +
7654         ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
7655           this->avatardata());
7656     }
7657 
7658   }
7659   total_size += unknown_fields().size();
7660 
7661   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
7662   _cached_size_ = total_size;
7663   GOOGLE_SAFE_CONCURRENT_WRITES_END();
7664   return total_size;
7665 }
7666 
7667 void PlayerInfoReplyMessage_PlayerInfoData::CheckTypeAndMergeFrom(
7668     const ::google::protobuf::MessageLite& from) {
7669   MergeFrom(*::google::protobuf::down_cast<const PlayerInfoReplyMessage_PlayerInfoData*>(&from));
7670 }
7671 
7672 void PlayerInfoReplyMessage_PlayerInfoData::MergeFrom(const PlayerInfoReplyMessage_PlayerInfoData& from) {
7673   GOOGLE_CHECK_NE(&from, this);
7674   if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
7675     if (from.has_playername()) {
7676       set_playername(from.playername());
7677     }
7678     if (from.has_ishuman()) {
7679       set_ishuman(from.ishuman());
7680     }
7681     if (from.has_playerrights()) {
7682       set_playerrights(from.playerrights());
7683     }
7684     if (from.has_countrycode()) {
7685       set_countrycode(from.countrycode());
7686     }
7687     if (from.has_avatardata()) {
7688       mutable_avatardata()->::PlayerInfoReplyMessage_PlayerInfoData_AvatarData::MergeFrom(from.avatardata());
7689     }
7690   }
7691   mutable_unknown_fields()->append(from.unknown_fields());
7692 }
7693 
7694 void PlayerInfoReplyMessage_PlayerInfoData::CopyFrom(const PlayerInfoReplyMessage_PlayerInfoData& from) {
7695   if (&from == this) return;
7696   Clear();
7697   MergeFrom(from);
7698 }
7699 
7700 bool PlayerInfoReplyMessage_PlayerInfoData::IsInitialized() const {
7701   if ((_has_bits_[0] & 0x00000007) != 0x00000007) return false;
7702 
7703   if (has_avatardata()) {
7704     if (!this->avatardata().IsInitialized()) return false;
7705   }
7706   return true;
7707 }
7708 
7709 void PlayerInfoReplyMessage_PlayerInfoData::Swap(PlayerInfoReplyMessage_PlayerInfoData* other) {
7710   if (other != this) {
7711     std::swap(playername_, other->playername_);
7712     std::swap(ishuman_, other->ishuman_);
7713     std::swap(playerrights_, other->playerrights_);
7714     std::swap(countrycode_, other->countrycode_);
7715     std::swap(avatardata_, other->avatardata_);
7716     std::swap(_has_bits_[0], other->_has_bits_[0]);
7717     _unknown_fields_.swap(other->_unknown_fields_);
7718     std::swap(_cached_size_, other->_cached_size_);
7719   }
7720 }
7721 
7722 ::std::string PlayerInfoReplyMessage_PlayerInfoData::GetTypeName() const {
7723   return "PlayerInfoReplyMessage.PlayerInfoData";
7724 }
7725 
7726 
7727 // -------------------------------------------------------------------
7728 
7729 #ifndef _MSC_VER
7730 const int PlayerInfoReplyMessage::kPlayerIdFieldNumber;
7731 const int PlayerInfoReplyMessage::kPlayerInfoDataFieldNumber;
7732 #endif  // !_MSC_VER
7733 
7734 PlayerInfoReplyMessage::PlayerInfoReplyMessage()
7735   : ::google::protobuf::MessageLite() {
7736   SharedCtor();
7737   // @@protoc_insertion_point(constructor:PlayerInfoReplyMessage)
7738 }
7739 
7740 void PlayerInfoReplyMessage::InitAsDefaultInstance() {
7741 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
7742   playerinfodata_ = const_cast< ::PlayerInfoReplyMessage_PlayerInfoData*>(
7743       ::PlayerInfoReplyMessage_PlayerInfoData::internal_default_instance());
7744 #else
7745   playerinfodata_ = const_cast< ::PlayerInfoReplyMessage_PlayerInfoData*>(&::PlayerInfoReplyMessage_PlayerInfoData::default_instance());
7746 #endif
7747 }
7748 
7749 PlayerInfoReplyMessage::PlayerInfoReplyMessage(const PlayerInfoReplyMessage& from)
7750   : ::google::protobuf::MessageLite() {
7751   SharedCtor();
7752   MergeFrom(from);
7753   // @@protoc_insertion_point(copy_constructor:PlayerInfoReplyMessage)
7754 }
7755 
7756 void PlayerInfoReplyMessage::SharedCtor() {
7757   _cached_size_ = 0;
7758   playerid_ = 0u;
7759   playerinfodata_ = NULL;
7760   ::memset(_has_bits_, 0, sizeof(_has_bits_));
7761 }
7762 
7763 PlayerInfoReplyMessage::~PlayerInfoReplyMessage() {
7764   // @@protoc_insertion_point(destructor:PlayerInfoReplyMessage)
7765   SharedDtor();
7766 }
7767 
7768 void PlayerInfoReplyMessage::SharedDtor() {
7769   #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
7770   if (this != &default_instance()) {
7771   #else
7772   if (this != default_instance_) {
7773   #endif
7774     delete playerinfodata_;
7775   }
7776 }
7777 
7778 void PlayerInfoReplyMessage::SetCachedSize(int size) const {
7779   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
7780   _cached_size_ = size;
7781   GOOGLE_SAFE_CONCURRENT_WRITES_END();
7782 }
7783 const PlayerInfoReplyMessage& PlayerInfoReplyMessage::default_instance() {
7784 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
7785   protobuf_AddDesc_pokerth_2eproto();
7786 #else
7787   if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto();
7788 #endif
7789   return *default_instance_;
7790 }
7791 
7792 PlayerInfoReplyMessage* PlayerInfoReplyMessage::default_instance_ = NULL;
7793 
7794 PlayerInfoReplyMessage* PlayerInfoReplyMessage::New() const {
7795   return new PlayerInfoReplyMessage;
7796 }
7797 
7798 void PlayerInfoReplyMessage::Clear() {
7799   if (_has_bits_[0 / 32] & 3) {
7800     playerid_ = 0u;
7801     if (has_playerinfodata()) {
7802       if (playerinfodata_ != NULL) playerinfodata_->::PlayerInfoReplyMessage_PlayerInfoData::Clear();
7803     }
7804   }
7805   ::memset(_has_bits_, 0, sizeof(_has_bits_));
7806   mutable_unknown_fields()->clear();
7807 }
7808 
7809 bool PlayerInfoReplyMessage::MergePartialFromCodedStream(
7810     ::google::protobuf::io::CodedInputStream* input) {
7811 #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
7812   ::google::protobuf::uint32 tag;
7813   ::google::protobuf::io::StringOutputStream unknown_fields_string(
7814       mutable_unknown_fields());
7815   ::google::protobuf::io::CodedOutputStream unknown_fields_stream(
7816       &unknown_fields_string);
7817   // @@protoc_insertion_point(parse_start:PlayerInfoReplyMessage)
7818   for (;;) {
7819     ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
7820     tag = p.first;
7821     if (!p.second) goto handle_unusual;
7822     switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
7823       // required uint32 playerId = 1;
7824       case 1: {
7825         if (tag == 8) {
7826           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
7827                    ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
7828                  input, &playerid_)));
7829           set_has_playerid();
7830         } else {
7831           goto handle_unusual;
7832         }
7833         if (input->ExpectTag(18)) goto parse_playerInfoData;
7834         break;
7835       }
7836 
7837       // optional .PlayerInfoReplyMessage.PlayerInfoData playerInfoData = 2;
7838       case 2: {
7839         if (tag == 18) {
7840          parse_playerInfoData:
7841           DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
7842                input, mutable_playerinfodata()));
7843         } else {
7844           goto handle_unusual;
7845         }
7846         if (input->ExpectAtEnd()) goto success;
7847         break;
7848       }
7849 
7850       default: {
7851       handle_unusual:
7852         if (tag == 0 ||
7853             ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
7854             ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
7855           goto success;
7856         }
7857         DO_(::google::protobuf::internal::WireFormatLite::SkipField(
7858             input, tag, &unknown_fields_stream));
7859         break;
7860       }
7861     }
7862   }
7863 success:
7864   // @@protoc_insertion_point(parse_success:PlayerInfoReplyMessage)
7865   return true;
7866 failure:
7867   // @@protoc_insertion_point(parse_failure:PlayerInfoReplyMessage)
7868   return false;
7869 #undef DO_
7870 }
7871 
7872 void PlayerInfoReplyMessage::SerializeWithCachedSizes(
7873     ::google::protobuf::io::CodedOutputStream* output) const {
7874   // @@protoc_insertion_point(serialize_start:PlayerInfoReplyMessage)
7875   // required uint32 playerId = 1;
7876   if (has_playerid()) {
7877     ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->playerid(), output);
7878   }
7879 
7880   // optional .PlayerInfoReplyMessage.PlayerInfoData playerInfoData = 2;
7881   if (has_playerinfodata()) {
7882     ::google::protobuf::internal::WireFormatLite::WriteMessage(
7883       2, this->playerinfodata(), output);
7884   }
7885 
7886   output->WriteRaw(unknown_fields().data(),
7887                    unknown_fields().size());
7888   // @@protoc_insertion_point(serialize_end:PlayerInfoReplyMessage)
7889 }
7890 
7891 int PlayerInfoReplyMessage::ByteSize() const {
7892   int total_size = 0;
7893 
7894   if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
7895     // required uint32 playerId = 1;
7896     if (has_playerid()) {
7897       total_size += 1 +
7898         ::google::protobuf::internal::WireFormatLite::UInt32Size(
7899           this->playerid());
7900     }
7901 
7902     // optional .PlayerInfoReplyMessage.PlayerInfoData playerInfoData = 2;
7903     if (has_playerinfodata()) {
7904       total_size += 1 +
7905         ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
7906           this->playerinfodata());
7907     }
7908 
7909   }
7910   total_size += unknown_fields().size();
7911 
7912   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
7913   _cached_size_ = total_size;
7914   GOOGLE_SAFE_CONCURRENT_WRITES_END();
7915   return total_size;
7916 }
7917 
7918 void PlayerInfoReplyMessage::CheckTypeAndMergeFrom(
7919     const ::google::protobuf::MessageLite& from) {
7920   MergeFrom(*::google::protobuf::down_cast<const PlayerInfoReplyMessage*>(&from));
7921 }
7922 
7923 void PlayerInfoReplyMessage::MergeFrom(const PlayerInfoReplyMessage& from) {
7924   GOOGLE_CHECK_NE(&from, this);
7925   if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
7926     if (from.has_playerid()) {
7927       set_playerid(from.playerid());
7928     }
7929     if (from.has_playerinfodata()) {
7930       mutable_playerinfodata()->::PlayerInfoReplyMessage_PlayerInfoData::MergeFrom(from.playerinfodata());
7931     }
7932   }
7933   mutable_unknown_fields()->append(from.unknown_fields());
7934 }
7935 
7936 void PlayerInfoReplyMessage::CopyFrom(const PlayerInfoReplyMessage& from) {
7937   if (&from == this) return;
7938   Clear();
7939   MergeFrom(from);
7940 }
7941 
7942 bool PlayerInfoReplyMessage::IsInitialized() const {
7943   if ((_has_bits_[0] & 0x00000001) != 0x00000001) return false;
7944 
7945   if (has_playerinfodata()) {
7946     if (!this->playerinfodata().IsInitialized()) return false;
7947   }
7948   return true;
7949 }
7950 
7951 void PlayerInfoReplyMessage::Swap(PlayerInfoReplyMessage* other) {
7952   if (other != this) {
7953     std::swap(playerid_, other->playerid_);
7954     std::swap(playerinfodata_, other->playerinfodata_);
7955     std::swap(_has_bits_[0], other->_has_bits_[0]);
7956     _unknown_fields_.swap(other->_unknown_fields_);
7957     std::swap(_cached_size_, other->_cached_size_);
7958   }
7959 }
7960 
7961 ::std::string PlayerInfoReplyMessage::GetTypeName() const {
7962   return "PlayerInfoReplyMessage";
7963 }
7964 
7965 
7966 // ===================================================================
7967 
7968 bool SubscriptionRequestMessage_SubscriptionAction_IsValid(int value) {
7969   switch(value) {
7970     case 1:
7971     case 2:
7972       return true;
7973     default:
7974       return false;
7975   }
7976 }
7977 
7978 #ifndef _MSC_VER
7979 const SubscriptionRequestMessage_SubscriptionAction SubscriptionRequestMessage::unsubscribeGameList;
7980 const SubscriptionRequestMessage_SubscriptionAction SubscriptionRequestMessage::resubscribeGameList;
7981 const SubscriptionRequestMessage_SubscriptionAction SubscriptionRequestMessage::SubscriptionAction_MIN;
7982 const SubscriptionRequestMessage_SubscriptionAction SubscriptionRequestMessage::SubscriptionAction_MAX;
7983 const int SubscriptionRequestMessage::SubscriptionAction_ARRAYSIZE;
7984 #endif  // _MSC_VER
7985 #ifndef _MSC_VER
7986 const int SubscriptionRequestMessage::kSubscriptionActionFieldNumber;
7987 #endif  // !_MSC_VER
7988 
7989 SubscriptionRequestMessage::SubscriptionRequestMessage()
7990   : ::google::protobuf::MessageLite() {
7991   SharedCtor();
7992   // @@protoc_insertion_point(constructor:SubscriptionRequestMessage)
7993 }
7994 
7995 void SubscriptionRequestMessage::InitAsDefaultInstance() {
7996 }
7997 
7998 SubscriptionRequestMessage::SubscriptionRequestMessage(const SubscriptionRequestMessage& from)
7999   : ::google::protobuf::MessageLite() {
8000   SharedCtor();
8001   MergeFrom(from);
8002   // @@protoc_insertion_point(copy_constructor:SubscriptionRequestMessage)
8003 }
8004 
8005 void SubscriptionRequestMessage::SharedCtor() {
8006   _cached_size_ = 0;
8007   subscriptionaction_ = 1;
8008   ::memset(_has_bits_, 0, sizeof(_has_bits_));
8009 }
8010 
8011 SubscriptionRequestMessage::~SubscriptionRequestMessage() {
8012   // @@protoc_insertion_point(destructor:SubscriptionRequestMessage)
8013   SharedDtor();
8014 }
8015 
8016 void SubscriptionRequestMessage::SharedDtor() {
8017   #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
8018   if (this != &default_instance()) {
8019   #else
8020   if (this != default_instance_) {
8021   #endif
8022   }
8023 }
8024 
8025 void SubscriptionRequestMessage::SetCachedSize(int size) const {
8026   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
8027   _cached_size_ = size;
8028   GOOGLE_SAFE_CONCURRENT_WRITES_END();
8029 }
8030 const SubscriptionRequestMessage& SubscriptionRequestMessage::default_instance() {
8031 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
8032   protobuf_AddDesc_pokerth_2eproto();
8033 #else
8034   if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto();
8035 #endif
8036   return *default_instance_;
8037 }
8038 
8039 SubscriptionRequestMessage* SubscriptionRequestMessage::default_instance_ = NULL;
8040 
8041 SubscriptionRequestMessage* SubscriptionRequestMessage::New() const {
8042   return new SubscriptionRequestMessage;
8043 }
8044 
8045 void SubscriptionRequestMessage::Clear() {
8046   subscriptionaction_ = 1;
8047   ::memset(_has_bits_, 0, sizeof(_has_bits_));
8048   mutable_unknown_fields()->clear();
8049 }
8050 
8051 bool SubscriptionRequestMessage::MergePartialFromCodedStream(
8052     ::google::protobuf::io::CodedInputStream* input) {
8053 #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
8054   ::google::protobuf::uint32 tag;
8055   ::google::protobuf::io::StringOutputStream unknown_fields_string(
8056       mutable_unknown_fields());
8057   ::google::protobuf::io::CodedOutputStream unknown_fields_stream(
8058       &unknown_fields_string);
8059   // @@protoc_insertion_point(parse_start:SubscriptionRequestMessage)
8060   for (;;) {
8061     ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
8062     tag = p.first;
8063     if (!p.second) goto handle_unusual;
8064     switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
8065       // required .SubscriptionRequestMessage.SubscriptionAction subscriptionAction = 1;
8066       case 1: {
8067         if (tag == 8) {
8068           int value;
8069           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
8070                    int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
8071                  input, &value)));
8072           if (::SubscriptionRequestMessage_SubscriptionAction_IsValid(value)) {
8073             set_subscriptionaction(static_cast< ::SubscriptionRequestMessage_SubscriptionAction >(value));
8074           } else {
8075             unknown_fields_stream.WriteVarint32(tag);
8076             unknown_fields_stream.WriteVarint32(value);
8077           }
8078         } else {
8079           goto handle_unusual;
8080         }
8081         if (input->ExpectAtEnd()) goto success;
8082         break;
8083       }
8084 
8085       default: {
8086       handle_unusual:
8087         if (tag == 0 ||
8088             ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
8089             ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
8090           goto success;
8091         }
8092         DO_(::google::protobuf::internal::WireFormatLite::SkipField(
8093             input, tag, &unknown_fields_stream));
8094         break;
8095       }
8096     }
8097   }
8098 success:
8099   // @@protoc_insertion_point(parse_success:SubscriptionRequestMessage)
8100   return true;
8101 failure:
8102   // @@protoc_insertion_point(parse_failure:SubscriptionRequestMessage)
8103   return false;
8104 #undef DO_
8105 }
8106 
8107 void SubscriptionRequestMessage::SerializeWithCachedSizes(
8108     ::google::protobuf::io::CodedOutputStream* output) const {
8109   // @@protoc_insertion_point(serialize_start:SubscriptionRequestMessage)
8110   // required .SubscriptionRequestMessage.SubscriptionAction subscriptionAction = 1;
8111   if (has_subscriptionaction()) {
8112     ::google::protobuf::internal::WireFormatLite::WriteEnum(
8113       1, this->subscriptionaction(), output);
8114   }
8115 
8116   output->WriteRaw(unknown_fields().data(),
8117                    unknown_fields().size());
8118   // @@protoc_insertion_point(serialize_end:SubscriptionRequestMessage)
8119 }
8120 
8121 int SubscriptionRequestMessage::ByteSize() const {
8122   int total_size = 0;
8123 
8124   if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
8125     // required .SubscriptionRequestMessage.SubscriptionAction subscriptionAction = 1;
8126     if (has_subscriptionaction()) {
8127       total_size += 1 +
8128         ::google::protobuf::internal::WireFormatLite::EnumSize(this->subscriptionaction());
8129     }
8130 
8131   }
8132   total_size += unknown_fields().size();
8133 
8134   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
8135   _cached_size_ = total_size;
8136   GOOGLE_SAFE_CONCURRENT_WRITES_END();
8137   return total_size;
8138 }
8139 
8140 void SubscriptionRequestMessage::CheckTypeAndMergeFrom(
8141     const ::google::protobuf::MessageLite& from) {
8142   MergeFrom(*::google::protobuf::down_cast<const SubscriptionRequestMessage*>(&from));
8143 }
8144 
8145 void SubscriptionRequestMessage::MergeFrom(const SubscriptionRequestMessage& from) {
8146   GOOGLE_CHECK_NE(&from, this);
8147   if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
8148     if (from.has_subscriptionaction()) {
8149       set_subscriptionaction(from.subscriptionaction());
8150     }
8151   }
8152   mutable_unknown_fields()->append(from.unknown_fields());
8153 }
8154 
8155 void SubscriptionRequestMessage::CopyFrom(const SubscriptionRequestMessage& from) {
8156   if (&from == this) return;
8157   Clear();
8158   MergeFrom(from);
8159 }
8160 
8161 bool SubscriptionRequestMessage::IsInitialized() const {
8162   if ((_has_bits_[0] & 0x00000001) != 0x00000001) return false;
8163 
8164   return true;
8165 }
8166 
8167 void SubscriptionRequestMessage::Swap(SubscriptionRequestMessage* other) {
8168   if (other != this) {
8169     std::swap(subscriptionaction_, other->subscriptionaction_);
8170     std::swap(_has_bits_[0], other->_has_bits_[0]);
8171     _unknown_fields_.swap(other->_unknown_fields_);
8172     std::swap(_cached_size_, other->_cached_size_);
8173   }
8174 }
8175 
8176 ::std::string SubscriptionRequestMessage::GetTypeName() const {
8177   return "SubscriptionRequestMessage";
8178 }
8179 
8180 
8181 // ===================================================================
8182 
8183 #ifndef _MSC_VER
8184 const int JoinExistingGameMessage::kGameIdFieldNumber;
8185 const int JoinExistingGameMessage::kPasswordFieldNumber;
8186 const int JoinExistingGameMessage::kAutoLeaveFieldNumber;
8187 const int JoinExistingGameMessage::kSpectateOnlyFieldNumber;
8188 #endif  // !_MSC_VER
8189 
8190 JoinExistingGameMessage::JoinExistingGameMessage()
8191   : ::google::protobuf::MessageLite() {
8192   SharedCtor();
8193   // @@protoc_insertion_point(constructor:JoinExistingGameMessage)
8194 }
8195 
8196 void JoinExistingGameMessage::InitAsDefaultInstance() {
8197 }
8198 
8199 JoinExistingGameMessage::JoinExistingGameMessage(const JoinExistingGameMessage& from)
8200   : ::google::protobuf::MessageLite() {
8201   SharedCtor();
8202   MergeFrom(from);
8203   // @@protoc_insertion_point(copy_constructor:JoinExistingGameMessage)
8204 }
8205 
8206 void JoinExistingGameMessage::SharedCtor() {
8207   ::google::protobuf::internal::GetEmptyString();
8208   _cached_size_ = 0;
8209   gameid_ = 0u;
8210   password_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
8211   autoleave_ = false;
8212   spectateonly_ = false;
8213   ::memset(_has_bits_, 0, sizeof(_has_bits_));
8214 }
8215 
8216 JoinExistingGameMessage::~JoinExistingGameMessage() {
8217   // @@protoc_insertion_point(destructor:JoinExistingGameMessage)
8218   SharedDtor();
8219 }
8220 
8221 void JoinExistingGameMessage::SharedDtor() {
8222   if (password_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
8223     delete password_;
8224   }
8225   #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
8226   if (this != &default_instance()) {
8227   #else
8228   if (this != default_instance_) {
8229   #endif
8230   }
8231 }
8232 
8233 void JoinExistingGameMessage::SetCachedSize(int size) const {
8234   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
8235   _cached_size_ = size;
8236   GOOGLE_SAFE_CONCURRENT_WRITES_END();
8237 }
8238 const JoinExistingGameMessage& JoinExistingGameMessage::default_instance() {
8239 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
8240   protobuf_AddDesc_pokerth_2eproto();
8241 #else
8242   if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto();
8243 #endif
8244   return *default_instance_;
8245 }
8246 
8247 JoinExistingGameMessage* JoinExistingGameMessage::default_instance_ = NULL;
8248 
8249 JoinExistingGameMessage* JoinExistingGameMessage::New() const {
8250   return new JoinExistingGameMessage;
8251 }
8252 
8253 void JoinExistingGameMessage::Clear() {
8254 #define OFFSET_OF_FIELD_(f) (reinterpret_cast<char*>(      \
8255   &reinterpret_cast<JoinExistingGameMessage*>(16)->f) - \
8256    reinterpret_cast<char*>(16))
8257 
8258 #define ZR_(first, last) do {                              \
8259     size_t f = OFFSET_OF_FIELD_(first);                    \
8260     size_t n = OFFSET_OF_FIELD_(last) - f + sizeof(last);  \
8261     ::memset(&first, 0, n);                                \
8262   } while (0)
8263 
8264   if (_has_bits_[0 / 32] & 15) {
8265     ZR_(gameid_, spectateonly_);
8266     if (has_password()) {
8267       if (password_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
8268         password_->clear();
8269       }
8270     }
8271   }
8272 
8273 #undef OFFSET_OF_FIELD_
8274 #undef ZR_
8275 
8276   ::memset(_has_bits_, 0, sizeof(_has_bits_));
8277   mutable_unknown_fields()->clear();
8278 }
8279 
8280 bool JoinExistingGameMessage::MergePartialFromCodedStream(
8281     ::google::protobuf::io::CodedInputStream* input) {
8282 #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
8283   ::google::protobuf::uint32 tag;
8284   ::google::protobuf::io::StringOutputStream unknown_fields_string(
8285       mutable_unknown_fields());
8286   ::google::protobuf::io::CodedOutputStream unknown_fields_stream(
8287       &unknown_fields_string);
8288   // @@protoc_insertion_point(parse_start:JoinExistingGameMessage)
8289   for (;;) {
8290     ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
8291     tag = p.first;
8292     if (!p.second) goto handle_unusual;
8293     switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
8294       // required uint32 gameId = 1;
8295       case 1: {
8296         if (tag == 8) {
8297           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
8298                    ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
8299                  input, &gameid_)));
8300           set_has_gameid();
8301         } else {
8302           goto handle_unusual;
8303         }
8304         if (input->ExpectTag(18)) goto parse_password;
8305         break;
8306       }
8307 
8308       // optional string password = 2;
8309       case 2: {
8310         if (tag == 18) {
8311          parse_password:
8312           DO_(::google::protobuf::internal::WireFormatLite::ReadString(
8313                 input, this->mutable_password()));
8314         } else {
8315           goto handle_unusual;
8316         }
8317         if (input->ExpectTag(24)) goto parse_autoLeave;
8318         break;
8319       }
8320 
8321       // optional bool autoLeave = 3 [default = false];
8322       case 3: {
8323         if (tag == 24) {
8324          parse_autoLeave:
8325           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
8326                    bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
8327                  input, &autoleave_)));
8328           set_has_autoleave();
8329         } else {
8330           goto handle_unusual;
8331         }
8332         if (input->ExpectTag(32)) goto parse_spectateOnly;
8333         break;
8334       }
8335 
8336       // optional bool spectateOnly = 4 [default = false];
8337       case 4: {
8338         if (tag == 32) {
8339          parse_spectateOnly:
8340           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
8341                    bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
8342                  input, &spectateonly_)));
8343           set_has_spectateonly();
8344         } else {
8345           goto handle_unusual;
8346         }
8347         if (input->ExpectAtEnd()) goto success;
8348         break;
8349       }
8350 
8351       default: {
8352       handle_unusual:
8353         if (tag == 0 ||
8354             ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
8355             ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
8356           goto success;
8357         }
8358         DO_(::google::protobuf::internal::WireFormatLite::SkipField(
8359             input, tag, &unknown_fields_stream));
8360         break;
8361       }
8362     }
8363   }
8364 success:
8365   // @@protoc_insertion_point(parse_success:JoinExistingGameMessage)
8366   return true;
8367 failure:
8368   // @@protoc_insertion_point(parse_failure:JoinExistingGameMessage)
8369   return false;
8370 #undef DO_
8371 }
8372 
8373 void JoinExistingGameMessage::SerializeWithCachedSizes(
8374     ::google::protobuf::io::CodedOutputStream* output) const {
8375   // @@protoc_insertion_point(serialize_start:JoinExistingGameMessage)
8376   // required uint32 gameId = 1;
8377   if (has_gameid()) {
8378     ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->gameid(), output);
8379   }
8380 
8381   // optional string password = 2;
8382   if (has_password()) {
8383     ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
8384       2, this->password(), output);
8385   }
8386 
8387   // optional bool autoLeave = 3 [default = false];
8388   if (has_autoleave()) {
8389     ::google::protobuf::internal::WireFormatLite::WriteBool(3, this->autoleave(), output);
8390   }
8391 
8392   // optional bool spectateOnly = 4 [default = false];
8393   if (has_spectateonly()) {
8394     ::google::protobuf::internal::WireFormatLite::WriteBool(4, this->spectateonly(), output);
8395   }
8396 
8397   output->WriteRaw(unknown_fields().data(),
8398                    unknown_fields().size());
8399   // @@protoc_insertion_point(serialize_end:JoinExistingGameMessage)
8400 }
8401 
8402 int JoinExistingGameMessage::ByteSize() const {
8403   int total_size = 0;
8404 
8405   if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
8406     // required uint32 gameId = 1;
8407     if (has_gameid()) {
8408       total_size += 1 +
8409         ::google::protobuf::internal::WireFormatLite::UInt32Size(
8410           this->gameid());
8411     }
8412 
8413     // optional string password = 2;
8414     if (has_password()) {
8415       total_size += 1 +
8416         ::google::protobuf::internal::WireFormatLite::StringSize(
8417           this->password());
8418     }
8419 
8420     // optional bool autoLeave = 3 [default = false];
8421     if (has_autoleave()) {
8422       total_size += 1 + 1;
8423     }
8424 
8425     // optional bool spectateOnly = 4 [default = false];
8426     if (has_spectateonly()) {
8427       total_size += 1 + 1;
8428     }
8429 
8430   }
8431   total_size += unknown_fields().size();
8432 
8433   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
8434   _cached_size_ = total_size;
8435   GOOGLE_SAFE_CONCURRENT_WRITES_END();
8436   return total_size;
8437 }
8438 
8439 void JoinExistingGameMessage::CheckTypeAndMergeFrom(
8440     const ::google::protobuf::MessageLite& from) {
8441   MergeFrom(*::google::protobuf::down_cast<const JoinExistingGameMessage*>(&from));
8442 }
8443 
8444 void JoinExistingGameMessage::MergeFrom(const JoinExistingGameMessage& from) {
8445   GOOGLE_CHECK_NE(&from, this);
8446   if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
8447     if (from.has_gameid()) {
8448       set_gameid(from.gameid());
8449     }
8450     if (from.has_password()) {
8451       set_password(from.password());
8452     }
8453     if (from.has_autoleave()) {
8454       set_autoleave(from.autoleave());
8455     }
8456     if (from.has_spectateonly()) {
8457       set_spectateonly(from.spectateonly());
8458     }
8459   }
8460   mutable_unknown_fields()->append(from.unknown_fields());
8461 }
8462 
8463 void JoinExistingGameMessage::CopyFrom(const JoinExistingGameMessage& from) {
8464   if (&from == this) return;
8465   Clear();
8466   MergeFrom(from);
8467 }
8468 
8469 bool JoinExistingGameMessage::IsInitialized() const {
8470   if ((_has_bits_[0] & 0x00000001) != 0x00000001) return false;
8471 
8472   return true;
8473 }
8474 
8475 void JoinExistingGameMessage::Swap(JoinExistingGameMessage* other) {
8476   if (other != this) {
8477     std::swap(gameid_, other->gameid_);
8478     std::swap(password_, other->password_);
8479     std::swap(autoleave_, other->autoleave_);
8480     std::swap(spectateonly_, other->spectateonly_);
8481     std::swap(_has_bits_[0], other->_has_bits_[0]);
8482     _unknown_fields_.swap(other->_unknown_fields_);
8483     std::swap(_cached_size_, other->_cached_size_);
8484   }
8485 }
8486 
8487 ::std::string JoinExistingGameMessage::GetTypeName() const {
8488   return "JoinExistingGameMessage";
8489 }
8490 
8491 
8492 // ===================================================================
8493 
8494 #ifndef _MSC_VER
8495 const int JoinNewGameMessage::kGameInfoFieldNumber;
8496 const int JoinNewGameMessage::kPasswordFieldNumber;
8497 const int JoinNewGameMessage::kAutoLeaveFieldNumber;
8498 #endif  // !_MSC_VER
8499 
8500 JoinNewGameMessage::JoinNewGameMessage()
8501   : ::google::protobuf::MessageLite() {
8502   SharedCtor();
8503   // @@protoc_insertion_point(constructor:JoinNewGameMessage)
8504 }
8505 
8506 void JoinNewGameMessage::InitAsDefaultInstance() {
8507 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
8508   gameinfo_ = const_cast< ::NetGameInfo*>(
8509       ::NetGameInfo::internal_default_instance());
8510 #else
8511   gameinfo_ = const_cast< ::NetGameInfo*>(&::NetGameInfo::default_instance());
8512 #endif
8513 }
8514 
8515 JoinNewGameMessage::JoinNewGameMessage(const JoinNewGameMessage& from)
8516   : ::google::protobuf::MessageLite() {
8517   SharedCtor();
8518   MergeFrom(from);
8519   // @@protoc_insertion_point(copy_constructor:JoinNewGameMessage)
8520 }
8521 
8522 void JoinNewGameMessage::SharedCtor() {
8523   ::google::protobuf::internal::GetEmptyString();
8524   _cached_size_ = 0;
8525   gameinfo_ = NULL;
8526   password_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
8527   autoleave_ = false;
8528   ::memset(_has_bits_, 0, sizeof(_has_bits_));
8529 }
8530 
8531 JoinNewGameMessage::~JoinNewGameMessage() {
8532   // @@protoc_insertion_point(destructor:JoinNewGameMessage)
8533   SharedDtor();
8534 }
8535 
8536 void JoinNewGameMessage::SharedDtor() {
8537   if (password_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
8538     delete password_;
8539   }
8540   #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
8541   if (this != &default_instance()) {
8542   #else
8543   if (this != default_instance_) {
8544   #endif
8545     delete gameinfo_;
8546   }
8547 }
8548 
8549 void JoinNewGameMessage::SetCachedSize(int size) const {
8550   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
8551   _cached_size_ = size;
8552   GOOGLE_SAFE_CONCURRENT_WRITES_END();
8553 }
8554 const JoinNewGameMessage& JoinNewGameMessage::default_instance() {
8555 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
8556   protobuf_AddDesc_pokerth_2eproto();
8557 #else
8558   if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto();
8559 #endif
8560   return *default_instance_;
8561 }
8562 
8563 JoinNewGameMessage* JoinNewGameMessage::default_instance_ = NULL;
8564 
8565 JoinNewGameMessage* JoinNewGameMessage::New() const {
8566   return new JoinNewGameMessage;
8567 }
8568 
8569 void JoinNewGameMessage::Clear() {
8570   if (_has_bits_[0 / 32] & 7) {
8571     if (has_gameinfo()) {
8572       if (gameinfo_ != NULL) gameinfo_->::NetGameInfo::Clear();
8573     }
8574     if (has_password()) {
8575       if (password_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
8576         password_->clear();
8577       }
8578     }
8579     autoleave_ = false;
8580   }
8581   ::memset(_has_bits_, 0, sizeof(_has_bits_));
8582   mutable_unknown_fields()->clear();
8583 }
8584 
8585 bool JoinNewGameMessage::MergePartialFromCodedStream(
8586     ::google::protobuf::io::CodedInputStream* input) {
8587 #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
8588   ::google::protobuf::uint32 tag;
8589   ::google::protobuf::io::StringOutputStream unknown_fields_string(
8590       mutable_unknown_fields());
8591   ::google::protobuf::io::CodedOutputStream unknown_fields_stream(
8592       &unknown_fields_string);
8593   // @@protoc_insertion_point(parse_start:JoinNewGameMessage)
8594   for (;;) {
8595     ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
8596     tag = p.first;
8597     if (!p.second) goto handle_unusual;
8598     switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
8599       // required .NetGameInfo gameInfo = 1;
8600       case 1: {
8601         if (tag == 10) {
8602           DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
8603                input, mutable_gameinfo()));
8604         } else {
8605           goto handle_unusual;
8606         }
8607         if (input->ExpectTag(18)) goto parse_password;
8608         break;
8609       }
8610 
8611       // optional string password = 2;
8612       case 2: {
8613         if (tag == 18) {
8614          parse_password:
8615           DO_(::google::protobuf::internal::WireFormatLite::ReadString(
8616                 input, this->mutable_password()));
8617         } else {
8618           goto handle_unusual;
8619         }
8620         if (input->ExpectTag(24)) goto parse_autoLeave;
8621         break;
8622       }
8623 
8624       // optional bool autoLeave = 3;
8625       case 3: {
8626         if (tag == 24) {
8627          parse_autoLeave:
8628           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
8629                    bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
8630                  input, &autoleave_)));
8631           set_has_autoleave();
8632         } else {
8633           goto handle_unusual;
8634         }
8635         if (input->ExpectAtEnd()) goto success;
8636         break;
8637       }
8638 
8639       default: {
8640       handle_unusual:
8641         if (tag == 0 ||
8642             ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
8643             ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
8644           goto success;
8645         }
8646         DO_(::google::protobuf::internal::WireFormatLite::SkipField(
8647             input, tag, &unknown_fields_stream));
8648         break;
8649       }
8650     }
8651   }
8652 success:
8653   // @@protoc_insertion_point(parse_success:JoinNewGameMessage)
8654   return true;
8655 failure:
8656   // @@protoc_insertion_point(parse_failure:JoinNewGameMessage)
8657   return false;
8658 #undef DO_
8659 }
8660 
8661 void JoinNewGameMessage::SerializeWithCachedSizes(
8662     ::google::protobuf::io::CodedOutputStream* output) const {
8663   // @@protoc_insertion_point(serialize_start:JoinNewGameMessage)
8664   // required .NetGameInfo gameInfo = 1;
8665   if (has_gameinfo()) {
8666     ::google::protobuf::internal::WireFormatLite::WriteMessage(
8667       1, this->gameinfo(), output);
8668   }
8669 
8670   // optional string password = 2;
8671   if (has_password()) {
8672     ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
8673       2, this->password(), output);
8674   }
8675 
8676   // optional bool autoLeave = 3;
8677   if (has_autoleave()) {
8678     ::google::protobuf::internal::WireFormatLite::WriteBool(3, this->autoleave(), output);
8679   }
8680 
8681   output->WriteRaw(unknown_fields().data(),
8682                    unknown_fields().size());
8683   // @@protoc_insertion_point(serialize_end:JoinNewGameMessage)
8684 }
8685 
8686 int JoinNewGameMessage::ByteSize() const {
8687   int total_size = 0;
8688 
8689   if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
8690     // required .NetGameInfo gameInfo = 1;
8691     if (has_gameinfo()) {
8692       total_size += 1 +
8693         ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
8694           this->gameinfo());
8695     }
8696 
8697     // optional string password = 2;
8698     if (has_password()) {
8699       total_size += 1 +
8700         ::google::protobuf::internal::WireFormatLite::StringSize(
8701           this->password());
8702     }
8703 
8704     // optional bool autoLeave = 3;
8705     if (has_autoleave()) {
8706       total_size += 1 + 1;
8707     }
8708 
8709   }
8710   total_size += unknown_fields().size();
8711 
8712   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
8713   _cached_size_ = total_size;
8714   GOOGLE_SAFE_CONCURRENT_WRITES_END();
8715   return total_size;
8716 }
8717 
8718 void JoinNewGameMessage::CheckTypeAndMergeFrom(
8719     const ::google::protobuf::MessageLite& from) {
8720   MergeFrom(*::google::protobuf::down_cast<const JoinNewGameMessage*>(&from));
8721 }
8722 
8723 void JoinNewGameMessage::MergeFrom(const JoinNewGameMessage& from) {
8724   GOOGLE_CHECK_NE(&from, this);
8725   if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
8726     if (from.has_gameinfo()) {
8727       mutable_gameinfo()->::NetGameInfo::MergeFrom(from.gameinfo());
8728     }
8729     if (from.has_password()) {
8730       set_password(from.password());
8731     }
8732     if (from.has_autoleave()) {
8733       set_autoleave(from.autoleave());
8734     }
8735   }
8736   mutable_unknown_fields()->append(from.unknown_fields());
8737 }
8738 
8739 void JoinNewGameMessage::CopyFrom(const JoinNewGameMessage& from) {
8740   if (&from == this) return;
8741   Clear();
8742   MergeFrom(from);
8743 }
8744 
8745 bool JoinNewGameMessage::IsInitialized() const {
8746   if ((_has_bits_[0] & 0x00000001) != 0x00000001) return false;
8747 
8748   if (has_gameinfo()) {
8749     if (!this->gameinfo().IsInitialized()) return false;
8750   }
8751   return true;
8752 }
8753 
8754 void JoinNewGameMessage::Swap(JoinNewGameMessage* other) {
8755   if (other != this) {
8756     std::swap(gameinfo_, other->gameinfo_);
8757     std::swap(password_, other->password_);
8758     std::swap(autoleave_, other->autoleave_);
8759     std::swap(_has_bits_[0], other->_has_bits_[0]);
8760     _unknown_fields_.swap(other->_unknown_fields_);
8761     std::swap(_cached_size_, other->_cached_size_);
8762   }
8763 }
8764 
8765 ::std::string JoinNewGameMessage::GetTypeName() const {
8766   return "JoinNewGameMessage";
8767 }
8768 
8769 
8770 // ===================================================================
8771 
8772 #ifndef _MSC_VER
8773 const int RejoinExistingGameMessage::kGameIdFieldNumber;
8774 const int RejoinExistingGameMessage::kAutoLeaveFieldNumber;
8775 #endif  // !_MSC_VER
8776 
8777 RejoinExistingGameMessage::RejoinExistingGameMessage()
8778   : ::google::protobuf::MessageLite() {
8779   SharedCtor();
8780   // @@protoc_insertion_point(constructor:RejoinExistingGameMessage)
8781 }
8782 
8783 void RejoinExistingGameMessage::InitAsDefaultInstance() {
8784 }
8785 
8786 RejoinExistingGameMessage::RejoinExistingGameMessage(const RejoinExistingGameMessage& from)
8787   : ::google::protobuf::MessageLite() {
8788   SharedCtor();
8789   MergeFrom(from);
8790   // @@protoc_insertion_point(copy_constructor:RejoinExistingGameMessage)
8791 }
8792 
8793 void RejoinExistingGameMessage::SharedCtor() {
8794   _cached_size_ = 0;
8795   gameid_ = 0u;
8796   autoleave_ = false;
8797   ::memset(_has_bits_, 0, sizeof(_has_bits_));
8798 }
8799 
8800 RejoinExistingGameMessage::~RejoinExistingGameMessage() {
8801   // @@protoc_insertion_point(destructor:RejoinExistingGameMessage)
8802   SharedDtor();
8803 }
8804 
8805 void RejoinExistingGameMessage::SharedDtor() {
8806   #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
8807   if (this != &default_instance()) {
8808   #else
8809   if (this != default_instance_) {
8810   #endif
8811   }
8812 }
8813 
8814 void RejoinExistingGameMessage::SetCachedSize(int size) const {
8815   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
8816   _cached_size_ = size;
8817   GOOGLE_SAFE_CONCURRENT_WRITES_END();
8818 }
8819 const RejoinExistingGameMessage& RejoinExistingGameMessage::default_instance() {
8820 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
8821   protobuf_AddDesc_pokerth_2eproto();
8822 #else
8823   if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto();
8824 #endif
8825   return *default_instance_;
8826 }
8827 
8828 RejoinExistingGameMessage* RejoinExistingGameMessage::default_instance_ = NULL;
8829 
8830 RejoinExistingGameMessage* RejoinExistingGameMessage::New() const {
8831   return new RejoinExistingGameMessage;
8832 }
8833 
8834 void RejoinExistingGameMessage::Clear() {
8835 #define OFFSET_OF_FIELD_(f) (reinterpret_cast<char*>(      \
8836   &reinterpret_cast<RejoinExistingGameMessage*>(16)->f) - \
8837    reinterpret_cast<char*>(16))
8838 
8839 #define ZR_(first, last) do {                              \
8840     size_t f = OFFSET_OF_FIELD_(first);                    \
8841     size_t n = OFFSET_OF_FIELD_(last) - f + sizeof(last);  \
8842     ::memset(&first, 0, n);                                \
8843   } while (0)
8844 
8845   ZR_(gameid_, autoleave_);
8846 
8847 #undef OFFSET_OF_FIELD_
8848 #undef ZR_
8849 
8850   ::memset(_has_bits_, 0, sizeof(_has_bits_));
8851   mutable_unknown_fields()->clear();
8852 }
8853 
8854 bool RejoinExistingGameMessage::MergePartialFromCodedStream(
8855     ::google::protobuf::io::CodedInputStream* input) {
8856 #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
8857   ::google::protobuf::uint32 tag;
8858   ::google::protobuf::io::StringOutputStream unknown_fields_string(
8859       mutable_unknown_fields());
8860   ::google::protobuf::io::CodedOutputStream unknown_fields_stream(
8861       &unknown_fields_string);
8862   // @@protoc_insertion_point(parse_start:RejoinExistingGameMessage)
8863   for (;;) {
8864     ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
8865     tag = p.first;
8866     if (!p.second) goto handle_unusual;
8867     switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
8868       // required uint32 gameId = 1;
8869       case 1: {
8870         if (tag == 8) {
8871           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
8872                    ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
8873                  input, &gameid_)));
8874           set_has_gameid();
8875         } else {
8876           goto handle_unusual;
8877         }
8878         if (input->ExpectTag(16)) goto parse_autoLeave;
8879         break;
8880       }
8881 
8882       // optional bool autoLeave = 2;
8883       case 2: {
8884         if (tag == 16) {
8885          parse_autoLeave:
8886           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
8887                    bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
8888                  input, &autoleave_)));
8889           set_has_autoleave();
8890         } else {
8891           goto handle_unusual;
8892         }
8893         if (input->ExpectAtEnd()) goto success;
8894         break;
8895       }
8896 
8897       default: {
8898       handle_unusual:
8899         if (tag == 0 ||
8900             ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
8901             ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
8902           goto success;
8903         }
8904         DO_(::google::protobuf::internal::WireFormatLite::SkipField(
8905             input, tag, &unknown_fields_stream));
8906         break;
8907       }
8908     }
8909   }
8910 success:
8911   // @@protoc_insertion_point(parse_success:RejoinExistingGameMessage)
8912   return true;
8913 failure:
8914   // @@protoc_insertion_point(parse_failure:RejoinExistingGameMessage)
8915   return false;
8916 #undef DO_
8917 }
8918 
8919 void RejoinExistingGameMessage::SerializeWithCachedSizes(
8920     ::google::protobuf::io::CodedOutputStream* output) const {
8921   // @@protoc_insertion_point(serialize_start:RejoinExistingGameMessage)
8922   // required uint32 gameId = 1;
8923   if (has_gameid()) {
8924     ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->gameid(), output);
8925   }
8926 
8927   // optional bool autoLeave = 2;
8928   if (has_autoleave()) {
8929     ::google::protobuf::internal::WireFormatLite::WriteBool(2, this->autoleave(), output);
8930   }
8931 
8932   output->WriteRaw(unknown_fields().data(),
8933                    unknown_fields().size());
8934   // @@protoc_insertion_point(serialize_end:RejoinExistingGameMessage)
8935 }
8936 
8937 int RejoinExistingGameMessage::ByteSize() const {
8938   int total_size = 0;
8939 
8940   if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
8941     // required uint32 gameId = 1;
8942     if (has_gameid()) {
8943       total_size += 1 +
8944         ::google::protobuf::internal::WireFormatLite::UInt32Size(
8945           this->gameid());
8946     }
8947 
8948     // optional bool autoLeave = 2;
8949     if (has_autoleave()) {
8950       total_size += 1 + 1;
8951     }
8952 
8953   }
8954   total_size += unknown_fields().size();
8955 
8956   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
8957   _cached_size_ = total_size;
8958   GOOGLE_SAFE_CONCURRENT_WRITES_END();
8959   return total_size;
8960 }
8961 
8962 void RejoinExistingGameMessage::CheckTypeAndMergeFrom(
8963     const ::google::protobuf::MessageLite& from) {
8964   MergeFrom(*::google::protobuf::down_cast<const RejoinExistingGameMessage*>(&from));
8965 }
8966 
8967 void RejoinExistingGameMessage::MergeFrom(const RejoinExistingGameMessage& from) {
8968   GOOGLE_CHECK_NE(&from, this);
8969   if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
8970     if (from.has_gameid()) {
8971       set_gameid(from.gameid());
8972     }
8973     if (from.has_autoleave()) {
8974       set_autoleave(from.autoleave());
8975     }
8976   }
8977   mutable_unknown_fields()->append(from.unknown_fields());
8978 }
8979 
8980 void RejoinExistingGameMessage::CopyFrom(const RejoinExistingGameMessage& from) {
8981   if (&from == this) return;
8982   Clear();
8983   MergeFrom(from);
8984 }
8985 
8986 bool RejoinExistingGameMessage::IsInitialized() const {
8987   if ((_has_bits_[0] & 0x00000001) != 0x00000001) return false;
8988 
8989   return true;
8990 }
8991 
8992 void RejoinExistingGameMessage::Swap(RejoinExistingGameMessage* other) {
8993   if (other != this) {
8994     std::swap(gameid_, other->gameid_);
8995     std::swap(autoleave_, other->autoleave_);
8996     std::swap(_has_bits_[0], other->_has_bits_[0]);
8997     _unknown_fields_.swap(other->_unknown_fields_);
8998     std::swap(_cached_size_, other->_cached_size_);
8999   }
9000 }
9001 
9002 ::std::string RejoinExistingGameMessage::GetTypeName() const {
9003   return "RejoinExistingGameMessage";
9004 }
9005 
9006 
9007 // ===================================================================
9008 
9009 #ifndef _MSC_VER
9010 const int JoinGameAckMessage::kGameIdFieldNumber;
9011 const int JoinGameAckMessage::kAreYouGameAdminFieldNumber;
9012 const int JoinGameAckMessage::kGameInfoFieldNumber;
9013 const int JoinGameAckMessage::kSpectateOnlyFieldNumber;
9014 #endif  // !_MSC_VER
9015 
9016 JoinGameAckMessage::JoinGameAckMessage()
9017   : ::google::protobuf::MessageLite() {
9018   SharedCtor();
9019   // @@protoc_insertion_point(constructor:JoinGameAckMessage)
9020 }
9021 
9022 void JoinGameAckMessage::InitAsDefaultInstance() {
9023 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
9024   gameinfo_ = const_cast< ::NetGameInfo*>(
9025       ::NetGameInfo::internal_default_instance());
9026 #else
9027   gameinfo_ = const_cast< ::NetGameInfo*>(&::NetGameInfo::default_instance());
9028 #endif
9029 }
9030 
9031 JoinGameAckMessage::JoinGameAckMessage(const JoinGameAckMessage& from)
9032   : ::google::protobuf::MessageLite() {
9033   SharedCtor();
9034   MergeFrom(from);
9035   // @@protoc_insertion_point(copy_constructor:JoinGameAckMessage)
9036 }
9037 
9038 void JoinGameAckMessage::SharedCtor() {
9039   _cached_size_ = 0;
9040   gameid_ = 0u;
9041   areyougameadmin_ = false;
9042   gameinfo_ = NULL;
9043   spectateonly_ = false;
9044   ::memset(_has_bits_, 0, sizeof(_has_bits_));
9045 }
9046 
9047 JoinGameAckMessage::~JoinGameAckMessage() {
9048   // @@protoc_insertion_point(destructor:JoinGameAckMessage)
9049   SharedDtor();
9050 }
9051 
9052 void JoinGameAckMessage::SharedDtor() {
9053   #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
9054   if (this != &default_instance()) {
9055   #else
9056   if (this != default_instance_) {
9057   #endif
9058     delete gameinfo_;
9059   }
9060 }
9061 
9062 void JoinGameAckMessage::SetCachedSize(int size) const {
9063   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
9064   _cached_size_ = size;
9065   GOOGLE_SAFE_CONCURRENT_WRITES_END();
9066 }
9067 const JoinGameAckMessage& JoinGameAckMessage::default_instance() {
9068 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
9069   protobuf_AddDesc_pokerth_2eproto();
9070 #else
9071   if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto();
9072 #endif
9073   return *default_instance_;
9074 }
9075 
9076 JoinGameAckMessage* JoinGameAckMessage::default_instance_ = NULL;
9077 
9078 JoinGameAckMessage* JoinGameAckMessage::New() const {
9079   return new JoinGameAckMessage;
9080 }
9081 
9082 void JoinGameAckMessage::Clear() {
9083 #define OFFSET_OF_FIELD_(f) (reinterpret_cast<char*>(      \
9084   &reinterpret_cast<JoinGameAckMessage*>(16)->f) - \
9085    reinterpret_cast<char*>(16))
9086 
9087 #define ZR_(first, last) do {                              \
9088     size_t f = OFFSET_OF_FIELD_(first);                    \
9089     size_t n = OFFSET_OF_FIELD_(last) - f + sizeof(last);  \
9090     ::memset(&first, 0, n);                                \
9091   } while (0)
9092 
9093   if (_has_bits_[0 / 32] & 15) {
9094     ZR_(gameid_, spectateonly_);
9095     if (has_gameinfo()) {
9096       if (gameinfo_ != NULL) gameinfo_->::NetGameInfo::Clear();
9097     }
9098   }
9099 
9100 #undef OFFSET_OF_FIELD_
9101 #undef ZR_
9102 
9103   ::memset(_has_bits_, 0, sizeof(_has_bits_));
9104   mutable_unknown_fields()->clear();
9105 }
9106 
9107 bool JoinGameAckMessage::MergePartialFromCodedStream(
9108     ::google::protobuf::io::CodedInputStream* input) {
9109 #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
9110   ::google::protobuf::uint32 tag;
9111   ::google::protobuf::io::StringOutputStream unknown_fields_string(
9112       mutable_unknown_fields());
9113   ::google::protobuf::io::CodedOutputStream unknown_fields_stream(
9114       &unknown_fields_string);
9115   // @@protoc_insertion_point(parse_start:JoinGameAckMessage)
9116   for (;;) {
9117     ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
9118     tag = p.first;
9119     if (!p.second) goto handle_unusual;
9120     switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
9121       // required uint32 gameId = 1;
9122       case 1: {
9123         if (tag == 8) {
9124           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
9125                    ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
9126                  input, &gameid_)));
9127           set_has_gameid();
9128         } else {
9129           goto handle_unusual;
9130         }
9131         if (input->ExpectTag(16)) goto parse_areYouGameAdmin;
9132         break;
9133       }
9134 
9135       // required bool areYouGameAdmin = 2;
9136       case 2: {
9137         if (tag == 16) {
9138          parse_areYouGameAdmin:
9139           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
9140                    bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
9141                  input, &areyougameadmin_)));
9142           set_has_areyougameadmin();
9143         } else {
9144           goto handle_unusual;
9145         }
9146         if (input->ExpectTag(26)) goto parse_gameInfo;
9147         break;
9148       }
9149 
9150       // required .NetGameInfo gameInfo = 3;
9151       case 3: {
9152         if (tag == 26) {
9153          parse_gameInfo:
9154           DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
9155                input, mutable_gameinfo()));
9156         } else {
9157           goto handle_unusual;
9158         }
9159         if (input->ExpectTag(32)) goto parse_spectateOnly;
9160         break;
9161       }
9162 
9163       // optional bool spectateOnly = 4;
9164       case 4: {
9165         if (tag == 32) {
9166          parse_spectateOnly:
9167           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
9168                    bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
9169                  input, &spectateonly_)));
9170           set_has_spectateonly();
9171         } else {
9172           goto handle_unusual;
9173         }
9174         if (input->ExpectAtEnd()) goto success;
9175         break;
9176       }
9177 
9178       default: {
9179       handle_unusual:
9180         if (tag == 0 ||
9181             ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
9182             ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
9183           goto success;
9184         }
9185         DO_(::google::protobuf::internal::WireFormatLite::SkipField(
9186             input, tag, &unknown_fields_stream));
9187         break;
9188       }
9189     }
9190   }
9191 success:
9192   // @@protoc_insertion_point(parse_success:JoinGameAckMessage)
9193   return true;
9194 failure:
9195   // @@protoc_insertion_point(parse_failure:JoinGameAckMessage)
9196   return false;
9197 #undef DO_
9198 }
9199 
9200 void JoinGameAckMessage::SerializeWithCachedSizes(
9201     ::google::protobuf::io::CodedOutputStream* output) const {
9202   // @@protoc_insertion_point(serialize_start:JoinGameAckMessage)
9203   // required uint32 gameId = 1;
9204   if (has_gameid()) {
9205     ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->gameid(), output);
9206   }
9207 
9208   // required bool areYouGameAdmin = 2;
9209   if (has_areyougameadmin()) {
9210     ::google::protobuf::internal::WireFormatLite::WriteBool(2, this->areyougameadmin(), output);
9211   }
9212 
9213   // required .NetGameInfo gameInfo = 3;
9214   if (has_gameinfo()) {
9215     ::google::protobuf::internal::WireFormatLite::WriteMessage(
9216       3, this->gameinfo(), output);
9217   }
9218 
9219   // optional bool spectateOnly = 4;
9220   if (has_spectateonly()) {
9221     ::google::protobuf::internal::WireFormatLite::WriteBool(4, this->spectateonly(), output);
9222   }
9223 
9224   output->WriteRaw(unknown_fields().data(),
9225                    unknown_fields().size());
9226   // @@protoc_insertion_point(serialize_end:JoinGameAckMessage)
9227 }
9228 
9229 int JoinGameAckMessage::ByteSize() const {
9230   int total_size = 0;
9231 
9232   if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
9233     // required uint32 gameId = 1;
9234     if (has_gameid()) {
9235       total_size += 1 +
9236         ::google::protobuf::internal::WireFormatLite::UInt32Size(
9237           this->gameid());
9238     }
9239 
9240     // required bool areYouGameAdmin = 2;
9241     if (has_areyougameadmin()) {
9242       total_size += 1 + 1;
9243     }
9244 
9245     // required .NetGameInfo gameInfo = 3;
9246     if (has_gameinfo()) {
9247       total_size += 1 +
9248         ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
9249           this->gameinfo());
9250     }
9251 
9252     // optional bool spectateOnly = 4;
9253     if (has_spectateonly()) {
9254       total_size += 1 + 1;
9255     }
9256 
9257   }
9258   total_size += unknown_fields().size();
9259 
9260   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
9261   _cached_size_ = total_size;
9262   GOOGLE_SAFE_CONCURRENT_WRITES_END();
9263   return total_size;
9264 }
9265 
9266 void JoinGameAckMessage::CheckTypeAndMergeFrom(
9267     const ::google::protobuf::MessageLite& from) {
9268   MergeFrom(*::google::protobuf::down_cast<const JoinGameAckMessage*>(&from));
9269 }
9270 
9271 void JoinGameAckMessage::MergeFrom(const JoinGameAckMessage& from) {
9272   GOOGLE_CHECK_NE(&from, this);
9273   if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
9274     if (from.has_gameid()) {
9275       set_gameid(from.gameid());
9276     }
9277     if (from.has_areyougameadmin()) {
9278       set_areyougameadmin(from.areyougameadmin());
9279     }
9280     if (from.has_gameinfo()) {
9281       mutable_gameinfo()->::NetGameInfo::MergeFrom(from.gameinfo());
9282     }
9283     if (from.has_spectateonly()) {
9284       set_spectateonly(from.spectateonly());
9285     }
9286   }
9287   mutable_unknown_fields()->append(from.unknown_fields());
9288 }
9289 
9290 void JoinGameAckMessage::CopyFrom(const JoinGameAckMessage& from) {
9291   if (&from == this) return;
9292   Clear();
9293   MergeFrom(from);
9294 }
9295 
9296 bool JoinGameAckMessage::IsInitialized() const {
9297   if ((_has_bits_[0] & 0x00000007) != 0x00000007) return false;
9298 
9299   if (has_gameinfo()) {
9300     if (!this->gameinfo().IsInitialized()) return false;
9301   }
9302   return true;
9303 }
9304 
9305 void JoinGameAckMessage::Swap(JoinGameAckMessage* other) {
9306   if (other != this) {
9307     std::swap(gameid_, other->gameid_);
9308     std::swap(areyougameadmin_, other->areyougameadmin_);
9309     std::swap(gameinfo_, other->gameinfo_);
9310     std::swap(spectateonly_, other->spectateonly_);
9311     std::swap(_has_bits_[0], other->_has_bits_[0]);
9312     _unknown_fields_.swap(other->_unknown_fields_);
9313     std::swap(_cached_size_, other->_cached_size_);
9314   }
9315 }
9316 
9317 ::std::string JoinGameAckMessage::GetTypeName() const {
9318   return "JoinGameAckMessage";
9319 }
9320 
9321 
9322 // ===================================================================
9323 
9324 bool JoinGameFailedMessage_JoinGameFailureReason_IsValid(int value) {
9325   switch(value) {
9326     case 1:
9327     case 2:
9328     case 3:
9329     case 4:
9330     case 5:
9331     case 6:
9332     case 7:
9333     case 8:
9334     case 9:
9335     case 10:
9336     case 11:
9337     case 12:
9338       return true;
9339     default:
9340       return false;
9341   }
9342 }
9343 
9344 #ifndef _MSC_VER
9345 const JoinGameFailedMessage_JoinGameFailureReason JoinGameFailedMessage::invalidGame;
9346 const JoinGameFailedMessage_JoinGameFailureReason JoinGameFailedMessage::gameIsFull;
9347 const JoinGameFailedMessage_JoinGameFailureReason JoinGameFailedMessage::gameIsRunning;
9348 const JoinGameFailedMessage_JoinGameFailureReason JoinGameFailedMessage::invalidPassword;
9349 const JoinGameFailedMessage_JoinGameFailureReason JoinGameFailedMessage::notAllowedAsGuest;
9350 const JoinGameFailedMessage_JoinGameFailureReason JoinGameFailedMessage::notInvited;
9351 const JoinGameFailedMessage_JoinGameFailureReason JoinGameFailedMessage::gameNameInUse;
9352 const JoinGameFailedMessage_JoinGameFailureReason JoinGameFailedMessage::badGameName;
9353 const JoinGameFailedMessage_JoinGameFailureReason JoinGameFailedMessage::invalidSettings;
9354 const JoinGameFailedMessage_JoinGameFailureReason JoinGameFailedMessage::ipAddressBlocked;
9355 const JoinGameFailedMessage_JoinGameFailureReason JoinGameFailedMessage::rejoinFailed;
9356 const JoinGameFailedMessage_JoinGameFailureReason JoinGameFailedMessage::noSpectatorsAllowed;
9357 const JoinGameFailedMessage_JoinGameFailureReason JoinGameFailedMessage::JoinGameFailureReason_MIN;
9358 const JoinGameFailedMessage_JoinGameFailureReason JoinGameFailedMessage::JoinGameFailureReason_MAX;
9359 const int JoinGameFailedMessage::JoinGameFailureReason_ARRAYSIZE;
9360 #endif  // _MSC_VER
9361 #ifndef _MSC_VER
9362 const int JoinGameFailedMessage::kGameIdFieldNumber;
9363 const int JoinGameFailedMessage::kJoinGameFailureReasonFieldNumber;
9364 #endif  // !_MSC_VER
9365 
9366 JoinGameFailedMessage::JoinGameFailedMessage()
9367   : ::google::protobuf::MessageLite() {
9368   SharedCtor();
9369   // @@protoc_insertion_point(constructor:JoinGameFailedMessage)
9370 }
9371 
9372 void JoinGameFailedMessage::InitAsDefaultInstance() {
9373 }
9374 
9375 JoinGameFailedMessage::JoinGameFailedMessage(const JoinGameFailedMessage& from)
9376   : ::google::protobuf::MessageLite() {
9377   SharedCtor();
9378   MergeFrom(from);
9379   // @@protoc_insertion_point(copy_constructor:JoinGameFailedMessage)
9380 }
9381 
9382 void JoinGameFailedMessage::SharedCtor() {
9383   _cached_size_ = 0;
9384   gameid_ = 0u;
9385   joingamefailurereason_ = 1;
9386   ::memset(_has_bits_, 0, sizeof(_has_bits_));
9387 }
9388 
9389 JoinGameFailedMessage::~JoinGameFailedMessage() {
9390   // @@protoc_insertion_point(destructor:JoinGameFailedMessage)
9391   SharedDtor();
9392 }
9393 
9394 void JoinGameFailedMessage::SharedDtor() {
9395   #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
9396   if (this != &default_instance()) {
9397   #else
9398   if (this != default_instance_) {
9399   #endif
9400   }
9401 }
9402 
9403 void JoinGameFailedMessage::SetCachedSize(int size) const {
9404   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
9405   _cached_size_ = size;
9406   GOOGLE_SAFE_CONCURRENT_WRITES_END();
9407 }
9408 const JoinGameFailedMessage& JoinGameFailedMessage::default_instance() {
9409 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
9410   protobuf_AddDesc_pokerth_2eproto();
9411 #else
9412   if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto();
9413 #endif
9414   return *default_instance_;
9415 }
9416 
9417 JoinGameFailedMessage* JoinGameFailedMessage::default_instance_ = NULL;
9418 
9419 JoinGameFailedMessage* JoinGameFailedMessage::New() const {
9420   return new JoinGameFailedMessage;
9421 }
9422 
9423 void JoinGameFailedMessage::Clear() {
9424   if (_has_bits_[0 / 32] & 3) {
9425     gameid_ = 0u;
9426     joingamefailurereason_ = 1;
9427   }
9428   ::memset(_has_bits_, 0, sizeof(_has_bits_));
9429   mutable_unknown_fields()->clear();
9430 }
9431 
9432 bool JoinGameFailedMessage::MergePartialFromCodedStream(
9433     ::google::protobuf::io::CodedInputStream* input) {
9434 #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
9435   ::google::protobuf::uint32 tag;
9436   ::google::protobuf::io::StringOutputStream unknown_fields_string(
9437       mutable_unknown_fields());
9438   ::google::protobuf::io::CodedOutputStream unknown_fields_stream(
9439       &unknown_fields_string);
9440   // @@protoc_insertion_point(parse_start:JoinGameFailedMessage)
9441   for (;;) {
9442     ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
9443     tag = p.first;
9444     if (!p.second) goto handle_unusual;
9445     switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
9446       // required uint32 gameId = 1;
9447       case 1: {
9448         if (tag == 8) {
9449           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
9450                    ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
9451                  input, &gameid_)));
9452           set_has_gameid();
9453         } else {
9454           goto handle_unusual;
9455         }
9456         if (input->ExpectTag(16)) goto parse_joinGameFailureReason;
9457         break;
9458       }
9459 
9460       // required .JoinGameFailedMessage.JoinGameFailureReason joinGameFailureReason = 2;
9461       case 2: {
9462         if (tag == 16) {
9463          parse_joinGameFailureReason:
9464           int value;
9465           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
9466                    int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
9467                  input, &value)));
9468           if (::JoinGameFailedMessage_JoinGameFailureReason_IsValid(value)) {
9469             set_joingamefailurereason(static_cast< ::JoinGameFailedMessage_JoinGameFailureReason >(value));
9470           } else {
9471             unknown_fields_stream.WriteVarint32(tag);
9472             unknown_fields_stream.WriteVarint32(value);
9473           }
9474         } else {
9475           goto handle_unusual;
9476         }
9477         if (input->ExpectAtEnd()) goto success;
9478         break;
9479       }
9480 
9481       default: {
9482       handle_unusual:
9483         if (tag == 0 ||
9484             ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
9485             ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
9486           goto success;
9487         }
9488         DO_(::google::protobuf::internal::WireFormatLite::SkipField(
9489             input, tag, &unknown_fields_stream));
9490         break;
9491       }
9492     }
9493   }
9494 success:
9495   // @@protoc_insertion_point(parse_success:JoinGameFailedMessage)
9496   return true;
9497 failure:
9498   // @@protoc_insertion_point(parse_failure:JoinGameFailedMessage)
9499   return false;
9500 #undef DO_
9501 }
9502 
9503 void JoinGameFailedMessage::SerializeWithCachedSizes(
9504     ::google::protobuf::io::CodedOutputStream* output) const {
9505   // @@protoc_insertion_point(serialize_start:JoinGameFailedMessage)
9506   // required uint32 gameId = 1;
9507   if (has_gameid()) {
9508     ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->gameid(), output);
9509   }
9510 
9511   // required .JoinGameFailedMessage.JoinGameFailureReason joinGameFailureReason = 2;
9512   if (has_joingamefailurereason()) {
9513     ::google::protobuf::internal::WireFormatLite::WriteEnum(
9514       2, this->joingamefailurereason(), output);
9515   }
9516 
9517   output->WriteRaw(unknown_fields().data(),
9518                    unknown_fields().size());
9519   // @@protoc_insertion_point(serialize_end:JoinGameFailedMessage)
9520 }
9521 
9522 int JoinGameFailedMessage::ByteSize() const {
9523   int total_size = 0;
9524 
9525   if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
9526     // required uint32 gameId = 1;
9527     if (has_gameid()) {
9528       total_size += 1 +
9529         ::google::protobuf::internal::WireFormatLite::UInt32Size(
9530           this->gameid());
9531     }
9532 
9533     // required .JoinGameFailedMessage.JoinGameFailureReason joinGameFailureReason = 2;
9534     if (has_joingamefailurereason()) {
9535       total_size += 1 +
9536         ::google::protobuf::internal::WireFormatLite::EnumSize(this->joingamefailurereason());
9537     }
9538 
9539   }
9540   total_size += unknown_fields().size();
9541 
9542   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
9543   _cached_size_ = total_size;
9544   GOOGLE_SAFE_CONCURRENT_WRITES_END();
9545   return total_size;
9546 }
9547 
9548 void JoinGameFailedMessage::CheckTypeAndMergeFrom(
9549     const ::google::protobuf::MessageLite& from) {
9550   MergeFrom(*::google::protobuf::down_cast<const JoinGameFailedMessage*>(&from));
9551 }
9552 
9553 void JoinGameFailedMessage::MergeFrom(const JoinGameFailedMessage& from) {
9554   GOOGLE_CHECK_NE(&from, this);
9555   if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
9556     if (from.has_gameid()) {
9557       set_gameid(from.gameid());
9558     }
9559     if (from.has_joingamefailurereason()) {
9560       set_joingamefailurereason(from.joingamefailurereason());
9561     }
9562   }
9563   mutable_unknown_fields()->append(from.unknown_fields());
9564 }
9565 
9566 void JoinGameFailedMessage::CopyFrom(const JoinGameFailedMessage& from) {
9567   if (&from == this) return;
9568   Clear();
9569   MergeFrom(from);
9570 }
9571 
9572 bool JoinGameFailedMessage::IsInitialized() const {
9573   if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false;
9574 
9575   return true;
9576 }
9577 
9578 void JoinGameFailedMessage::Swap(JoinGameFailedMessage* other) {
9579   if (other != this) {
9580     std::swap(gameid_, other->gameid_);
9581     std::swap(joingamefailurereason_, other->joingamefailurereason_);
9582     std::swap(_has_bits_[0], other->_has_bits_[0]);
9583     _unknown_fields_.swap(other->_unknown_fields_);
9584     std::swap(_cached_size_, other->_cached_size_);
9585   }
9586 }
9587 
9588 ::std::string JoinGameFailedMessage::GetTypeName() const {
9589   return "JoinGameFailedMessage";
9590 }
9591 
9592 
9593 // ===================================================================
9594 
9595 #ifndef _MSC_VER
9596 const int GamePlayerJoinedMessage::kGameIdFieldNumber;
9597 const int GamePlayerJoinedMessage::kPlayerIdFieldNumber;
9598 const int GamePlayerJoinedMessage::kIsGameAdminFieldNumber;
9599 #endif  // !_MSC_VER
9600 
9601 GamePlayerJoinedMessage::GamePlayerJoinedMessage()
9602   : ::google::protobuf::MessageLite() {
9603   SharedCtor();
9604   // @@protoc_insertion_point(constructor:GamePlayerJoinedMessage)
9605 }
9606 
9607 void GamePlayerJoinedMessage::InitAsDefaultInstance() {
9608 }
9609 
9610 GamePlayerJoinedMessage::GamePlayerJoinedMessage(const GamePlayerJoinedMessage& from)
9611   : ::google::protobuf::MessageLite() {
9612   SharedCtor();
9613   MergeFrom(from);
9614   // @@protoc_insertion_point(copy_constructor:GamePlayerJoinedMessage)
9615 }
9616 
9617 void GamePlayerJoinedMessage::SharedCtor() {
9618   _cached_size_ = 0;
9619   gameid_ = 0u;
9620   playerid_ = 0u;
9621   isgameadmin_ = false;
9622   ::memset(_has_bits_, 0, sizeof(_has_bits_));
9623 }
9624 
9625 GamePlayerJoinedMessage::~GamePlayerJoinedMessage() {
9626   // @@protoc_insertion_point(destructor:GamePlayerJoinedMessage)
9627   SharedDtor();
9628 }
9629 
9630 void GamePlayerJoinedMessage::SharedDtor() {
9631   #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
9632   if (this != &default_instance()) {
9633   #else
9634   if (this != default_instance_) {
9635   #endif
9636   }
9637 }
9638 
9639 void GamePlayerJoinedMessage::SetCachedSize(int size) const {
9640   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
9641   _cached_size_ = size;
9642   GOOGLE_SAFE_CONCURRENT_WRITES_END();
9643 }
9644 const GamePlayerJoinedMessage& GamePlayerJoinedMessage::default_instance() {
9645 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
9646   protobuf_AddDesc_pokerth_2eproto();
9647 #else
9648   if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto();
9649 #endif
9650   return *default_instance_;
9651 }
9652 
9653 GamePlayerJoinedMessage* GamePlayerJoinedMessage::default_instance_ = NULL;
9654 
9655 GamePlayerJoinedMessage* GamePlayerJoinedMessage::New() const {
9656   return new GamePlayerJoinedMessage;
9657 }
9658 
9659 void GamePlayerJoinedMessage::Clear() {
9660 #define OFFSET_OF_FIELD_(f) (reinterpret_cast<char*>(      \
9661   &reinterpret_cast<GamePlayerJoinedMessage*>(16)->f) - \
9662    reinterpret_cast<char*>(16))
9663 
9664 #define ZR_(first, last) do {                              \
9665     size_t f = OFFSET_OF_FIELD_(first);                    \
9666     size_t n = OFFSET_OF_FIELD_(last) - f + sizeof(last);  \
9667     ::memset(&first, 0, n);                                \
9668   } while (0)
9669 
9670   ZR_(gameid_, isgameadmin_);
9671 
9672 #undef OFFSET_OF_FIELD_
9673 #undef ZR_
9674 
9675   ::memset(_has_bits_, 0, sizeof(_has_bits_));
9676   mutable_unknown_fields()->clear();
9677 }
9678 
9679 bool GamePlayerJoinedMessage::MergePartialFromCodedStream(
9680     ::google::protobuf::io::CodedInputStream* input) {
9681 #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
9682   ::google::protobuf::uint32 tag;
9683   ::google::protobuf::io::StringOutputStream unknown_fields_string(
9684       mutable_unknown_fields());
9685   ::google::protobuf::io::CodedOutputStream unknown_fields_stream(
9686       &unknown_fields_string);
9687   // @@protoc_insertion_point(parse_start:GamePlayerJoinedMessage)
9688   for (;;) {
9689     ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
9690     tag = p.first;
9691     if (!p.second) goto handle_unusual;
9692     switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
9693       // required uint32 gameId = 1;
9694       case 1: {
9695         if (tag == 8) {
9696           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
9697                    ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
9698                  input, &gameid_)));
9699           set_has_gameid();
9700         } else {
9701           goto handle_unusual;
9702         }
9703         if (input->ExpectTag(16)) goto parse_playerId;
9704         break;
9705       }
9706 
9707       // required uint32 playerId = 2;
9708       case 2: {
9709         if (tag == 16) {
9710          parse_playerId:
9711           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
9712                    ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
9713                  input, &playerid_)));
9714           set_has_playerid();
9715         } else {
9716           goto handle_unusual;
9717         }
9718         if (input->ExpectTag(24)) goto parse_isGameAdmin;
9719         break;
9720       }
9721 
9722       // required bool isGameAdmin = 3;
9723       case 3: {
9724         if (tag == 24) {
9725          parse_isGameAdmin:
9726           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
9727                    bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
9728                  input, &isgameadmin_)));
9729           set_has_isgameadmin();
9730         } else {
9731           goto handle_unusual;
9732         }
9733         if (input->ExpectAtEnd()) goto success;
9734         break;
9735       }
9736 
9737       default: {
9738       handle_unusual:
9739         if (tag == 0 ||
9740             ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
9741             ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
9742           goto success;
9743         }
9744         DO_(::google::protobuf::internal::WireFormatLite::SkipField(
9745             input, tag, &unknown_fields_stream));
9746         break;
9747       }
9748     }
9749   }
9750 success:
9751   // @@protoc_insertion_point(parse_success:GamePlayerJoinedMessage)
9752   return true;
9753 failure:
9754   // @@protoc_insertion_point(parse_failure:GamePlayerJoinedMessage)
9755   return false;
9756 #undef DO_
9757 }
9758 
9759 void GamePlayerJoinedMessage::SerializeWithCachedSizes(
9760     ::google::protobuf::io::CodedOutputStream* output) const {
9761   // @@protoc_insertion_point(serialize_start:GamePlayerJoinedMessage)
9762   // required uint32 gameId = 1;
9763   if (has_gameid()) {
9764     ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->gameid(), output);
9765   }
9766 
9767   // required uint32 playerId = 2;
9768   if (has_playerid()) {
9769     ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->playerid(), output);
9770   }
9771 
9772   // required bool isGameAdmin = 3;
9773   if (has_isgameadmin()) {
9774     ::google::protobuf::internal::WireFormatLite::WriteBool(3, this->isgameadmin(), output);
9775   }
9776 
9777   output->WriteRaw(unknown_fields().data(),
9778                    unknown_fields().size());
9779   // @@protoc_insertion_point(serialize_end:GamePlayerJoinedMessage)
9780 }
9781 
9782 int GamePlayerJoinedMessage::ByteSize() const {
9783   int total_size = 0;
9784 
9785   if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
9786     // required uint32 gameId = 1;
9787     if (has_gameid()) {
9788       total_size += 1 +
9789         ::google::protobuf::internal::WireFormatLite::UInt32Size(
9790           this->gameid());
9791     }
9792 
9793     // required uint32 playerId = 2;
9794     if (has_playerid()) {
9795       total_size += 1 +
9796         ::google::protobuf::internal::WireFormatLite::UInt32Size(
9797           this->playerid());
9798     }
9799 
9800     // required bool isGameAdmin = 3;
9801     if (has_isgameadmin()) {
9802       total_size += 1 + 1;
9803     }
9804 
9805   }
9806   total_size += unknown_fields().size();
9807 
9808   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
9809   _cached_size_ = total_size;
9810   GOOGLE_SAFE_CONCURRENT_WRITES_END();
9811   return total_size;
9812 }
9813 
9814 void GamePlayerJoinedMessage::CheckTypeAndMergeFrom(
9815     const ::google::protobuf::MessageLite& from) {
9816   MergeFrom(*::google::protobuf::down_cast<const GamePlayerJoinedMessage*>(&from));
9817 }
9818 
9819 void GamePlayerJoinedMessage::MergeFrom(const GamePlayerJoinedMessage& from) {
9820   GOOGLE_CHECK_NE(&from, this);
9821   if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
9822     if (from.has_gameid()) {
9823       set_gameid(from.gameid());
9824     }
9825     if (from.has_playerid()) {
9826       set_playerid(from.playerid());
9827     }
9828     if (from.has_isgameadmin()) {
9829       set_isgameadmin(from.isgameadmin());
9830     }
9831   }
9832   mutable_unknown_fields()->append(from.unknown_fields());
9833 }
9834 
9835 void GamePlayerJoinedMessage::CopyFrom(const GamePlayerJoinedMessage& from) {
9836   if (&from == this) return;
9837   Clear();
9838   MergeFrom(from);
9839 }
9840 
9841 bool GamePlayerJoinedMessage::IsInitialized() const {
9842   if ((_has_bits_[0] & 0x00000007) != 0x00000007) return false;
9843 
9844   return true;
9845 }
9846 
9847 void GamePlayerJoinedMessage::Swap(GamePlayerJoinedMessage* other) {
9848   if (other != this) {
9849     std::swap(gameid_, other->gameid_);
9850     std::swap(playerid_, other->playerid_);
9851     std::swap(isgameadmin_, other->isgameadmin_);
9852     std::swap(_has_bits_[0], other->_has_bits_[0]);
9853     _unknown_fields_.swap(other->_unknown_fields_);
9854     std::swap(_cached_size_, other->_cached_size_);
9855   }
9856 }
9857 
9858 ::std::string GamePlayerJoinedMessage::GetTypeName() const {
9859   return "GamePlayerJoinedMessage";
9860 }
9861 
9862 
9863 // ===================================================================
9864 
9865 bool GamePlayerLeftMessage_GamePlayerLeftReason_IsValid(int value) {
9866   switch(value) {
9867     case 0:
9868     case 1:
9869     case 2:
9870       return true;
9871     default:
9872       return false;
9873   }
9874 }
9875 
9876 #ifndef _MSC_VER
9877 const GamePlayerLeftMessage_GamePlayerLeftReason GamePlayerLeftMessage::leftOnRequest;
9878 const GamePlayerLeftMessage_GamePlayerLeftReason GamePlayerLeftMessage::leftKicked;
9879 const GamePlayerLeftMessage_GamePlayerLeftReason GamePlayerLeftMessage::leftError;
9880 const GamePlayerLeftMessage_GamePlayerLeftReason GamePlayerLeftMessage::GamePlayerLeftReason_MIN;
9881 const GamePlayerLeftMessage_GamePlayerLeftReason GamePlayerLeftMessage::GamePlayerLeftReason_MAX;
9882 const int GamePlayerLeftMessage::GamePlayerLeftReason_ARRAYSIZE;
9883 #endif  // _MSC_VER
9884 #ifndef _MSC_VER
9885 const int GamePlayerLeftMessage::kGameIdFieldNumber;
9886 const int GamePlayerLeftMessage::kPlayerIdFieldNumber;
9887 const int GamePlayerLeftMessage::kGamePlayerLeftReasonFieldNumber;
9888 #endif  // !_MSC_VER
9889 
9890 GamePlayerLeftMessage::GamePlayerLeftMessage()
9891   : ::google::protobuf::MessageLite() {
9892   SharedCtor();
9893   // @@protoc_insertion_point(constructor:GamePlayerLeftMessage)
9894 }
9895 
9896 void GamePlayerLeftMessage::InitAsDefaultInstance() {
9897 }
9898 
9899 GamePlayerLeftMessage::GamePlayerLeftMessage(const GamePlayerLeftMessage& from)
9900   : ::google::protobuf::MessageLite() {
9901   SharedCtor();
9902   MergeFrom(from);
9903   // @@protoc_insertion_point(copy_constructor:GamePlayerLeftMessage)
9904 }
9905 
9906 void GamePlayerLeftMessage::SharedCtor() {
9907   _cached_size_ = 0;
9908   gameid_ = 0u;
9909   playerid_ = 0u;
9910   gameplayerleftreason_ = 0;
9911   ::memset(_has_bits_, 0, sizeof(_has_bits_));
9912 }
9913 
9914 GamePlayerLeftMessage::~GamePlayerLeftMessage() {
9915   // @@protoc_insertion_point(destructor:GamePlayerLeftMessage)
9916   SharedDtor();
9917 }
9918 
9919 void GamePlayerLeftMessage::SharedDtor() {
9920   #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
9921   if (this != &default_instance()) {
9922   #else
9923   if (this != default_instance_) {
9924   #endif
9925   }
9926 }
9927 
9928 void GamePlayerLeftMessage::SetCachedSize(int size) const {
9929   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
9930   _cached_size_ = size;
9931   GOOGLE_SAFE_CONCURRENT_WRITES_END();
9932 }
9933 const GamePlayerLeftMessage& GamePlayerLeftMessage::default_instance() {
9934 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
9935   protobuf_AddDesc_pokerth_2eproto();
9936 #else
9937   if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto();
9938 #endif
9939   return *default_instance_;
9940 }
9941 
9942 GamePlayerLeftMessage* GamePlayerLeftMessage::default_instance_ = NULL;
9943 
9944 GamePlayerLeftMessage* GamePlayerLeftMessage::New() const {
9945   return new GamePlayerLeftMessage;
9946 }
9947 
9948 void GamePlayerLeftMessage::Clear() {
9949 #define OFFSET_OF_FIELD_(f) (reinterpret_cast<char*>(      \
9950   &reinterpret_cast<GamePlayerLeftMessage*>(16)->f) - \
9951    reinterpret_cast<char*>(16))
9952 
9953 #define ZR_(first, last) do {                              \
9954     size_t f = OFFSET_OF_FIELD_(first);                    \
9955     size_t n = OFFSET_OF_FIELD_(last) - f + sizeof(last);  \
9956     ::memset(&first, 0, n);                                \
9957   } while (0)
9958 
9959   ZR_(gameid_, gameplayerleftreason_);
9960 
9961 #undef OFFSET_OF_FIELD_
9962 #undef ZR_
9963 
9964   ::memset(_has_bits_, 0, sizeof(_has_bits_));
9965   mutable_unknown_fields()->clear();
9966 }
9967 
9968 bool GamePlayerLeftMessage::MergePartialFromCodedStream(
9969     ::google::protobuf::io::CodedInputStream* input) {
9970 #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
9971   ::google::protobuf::uint32 tag;
9972   ::google::protobuf::io::StringOutputStream unknown_fields_string(
9973       mutable_unknown_fields());
9974   ::google::protobuf::io::CodedOutputStream unknown_fields_stream(
9975       &unknown_fields_string);
9976   // @@protoc_insertion_point(parse_start:GamePlayerLeftMessage)
9977   for (;;) {
9978     ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
9979     tag = p.first;
9980     if (!p.second) goto handle_unusual;
9981     switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
9982       // required uint32 gameId = 1;
9983       case 1: {
9984         if (tag == 8) {
9985           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
9986                    ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
9987                  input, &gameid_)));
9988           set_has_gameid();
9989         } else {
9990           goto handle_unusual;
9991         }
9992         if (input->ExpectTag(16)) goto parse_playerId;
9993         break;
9994       }
9995 
9996       // required uint32 playerId = 2;
9997       case 2: {
9998         if (tag == 16) {
9999          parse_playerId:
10000           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
10001                    ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
10002                  input, &playerid_)));
10003           set_has_playerid();
10004         } else {
10005           goto handle_unusual;
10006         }
10007         if (input->ExpectTag(24)) goto parse_gamePlayerLeftReason;
10008         break;
10009       }
10010 
10011       // required .GamePlayerLeftMessage.GamePlayerLeftReason gamePlayerLeftReason = 3;
10012       case 3: {
10013         if (tag == 24) {
10014          parse_gamePlayerLeftReason:
10015           int value;
10016           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
10017                    int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
10018                  input, &value)));
10019           if (::GamePlayerLeftMessage_GamePlayerLeftReason_IsValid(value)) {
10020             set_gameplayerleftreason(static_cast< ::GamePlayerLeftMessage_GamePlayerLeftReason >(value));
10021           } else {
10022             unknown_fields_stream.WriteVarint32(tag);
10023             unknown_fields_stream.WriteVarint32(value);
10024           }
10025         } else {
10026           goto handle_unusual;
10027         }
10028         if (input->ExpectAtEnd()) goto success;
10029         break;
10030       }
10031 
10032       default: {
10033       handle_unusual:
10034         if (tag == 0 ||
10035             ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
10036             ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
10037           goto success;
10038         }
10039         DO_(::google::protobuf::internal::WireFormatLite::SkipField(
10040             input, tag, &unknown_fields_stream));
10041         break;
10042       }
10043     }
10044   }
10045 success:
10046   // @@protoc_insertion_point(parse_success:GamePlayerLeftMessage)
10047   return true;
10048 failure:
10049   // @@protoc_insertion_point(parse_failure:GamePlayerLeftMessage)
10050   return false;
10051 #undef DO_
10052 }
10053 
10054 void GamePlayerLeftMessage::SerializeWithCachedSizes(
10055     ::google::protobuf::io::CodedOutputStream* output) const {
10056   // @@protoc_insertion_point(serialize_start:GamePlayerLeftMessage)
10057   // required uint32 gameId = 1;
10058   if (has_gameid()) {
10059     ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->gameid(), output);
10060   }
10061 
10062   // required uint32 playerId = 2;
10063   if (has_playerid()) {
10064     ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->playerid(), output);
10065   }
10066 
10067   // required .GamePlayerLeftMessage.GamePlayerLeftReason gamePlayerLeftReason = 3;
10068   if (has_gameplayerleftreason()) {
10069     ::google::protobuf::internal::WireFormatLite::WriteEnum(
10070       3, this->gameplayerleftreason(), output);
10071   }
10072 
10073   output->WriteRaw(unknown_fields().data(),
10074                    unknown_fields().size());
10075   // @@protoc_insertion_point(serialize_end:GamePlayerLeftMessage)
10076 }
10077 
10078 int GamePlayerLeftMessage::ByteSize() const {
10079   int total_size = 0;
10080 
10081   if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
10082     // required uint32 gameId = 1;
10083     if (has_gameid()) {
10084       total_size += 1 +
10085         ::google::protobuf::internal::WireFormatLite::UInt32Size(
10086           this->gameid());
10087     }
10088 
10089     // required uint32 playerId = 2;
10090     if (has_playerid()) {
10091       total_size += 1 +
10092         ::google::protobuf::internal::WireFormatLite::UInt32Size(
10093           this->playerid());
10094     }
10095 
10096     // required .GamePlayerLeftMessage.GamePlayerLeftReason gamePlayerLeftReason = 3;
10097     if (has_gameplayerleftreason()) {
10098       total_size += 1 +
10099         ::google::protobuf::internal::WireFormatLite::EnumSize(this->gameplayerleftreason());
10100     }
10101 
10102   }
10103   total_size += unknown_fields().size();
10104 
10105   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
10106   _cached_size_ = total_size;
10107   GOOGLE_SAFE_CONCURRENT_WRITES_END();
10108   return total_size;
10109 }
10110 
10111 void GamePlayerLeftMessage::CheckTypeAndMergeFrom(
10112     const ::google::protobuf::MessageLite& from) {
10113   MergeFrom(*::google::protobuf::down_cast<const GamePlayerLeftMessage*>(&from));
10114 }
10115 
10116 void GamePlayerLeftMessage::MergeFrom(const GamePlayerLeftMessage& from) {
10117   GOOGLE_CHECK_NE(&from, this);
10118   if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
10119     if (from.has_gameid()) {
10120       set_gameid(from.gameid());
10121     }
10122     if (from.has_playerid()) {
10123       set_playerid(from.playerid());
10124     }
10125     if (from.has_gameplayerleftreason()) {
10126       set_gameplayerleftreason(from.gameplayerleftreason());
10127     }
10128   }
10129   mutable_unknown_fields()->append(from.unknown_fields());
10130 }
10131 
10132 void GamePlayerLeftMessage::CopyFrom(const GamePlayerLeftMessage& from) {
10133   if (&from == this) return;
10134   Clear();
10135   MergeFrom(from);
10136 }
10137 
10138 bool GamePlayerLeftMessage::IsInitialized() const {
10139   if ((_has_bits_[0] & 0x00000007) != 0x00000007) return false;
10140 
10141   return true;
10142 }
10143 
10144 void GamePlayerLeftMessage::Swap(GamePlayerLeftMessage* other) {
10145   if (other != this) {
10146     std::swap(gameid_, other->gameid_);
10147     std::swap(playerid_, other->playerid_);
10148     std::swap(gameplayerleftreason_, other->gameplayerleftreason_);
10149     std::swap(_has_bits_[0], other->_has_bits_[0]);
10150     _unknown_fields_.swap(other->_unknown_fields_);
10151     std::swap(_cached_size_, other->_cached_size_);
10152   }
10153 }
10154 
10155 ::std::string GamePlayerLeftMessage::GetTypeName() const {
10156   return "GamePlayerLeftMessage";
10157 }
10158 
10159 
10160 // ===================================================================
10161 
10162 #ifndef _MSC_VER
10163 const int GameSpectatorJoinedMessage::kGameIdFieldNumber;
10164 const int GameSpectatorJoinedMessage::kPlayerIdFieldNumber;
10165 #endif  // !_MSC_VER
10166 
10167 GameSpectatorJoinedMessage::GameSpectatorJoinedMessage()
10168   : ::google::protobuf::MessageLite() {
10169   SharedCtor();
10170   // @@protoc_insertion_point(constructor:GameSpectatorJoinedMessage)
10171 }
10172 
10173 void GameSpectatorJoinedMessage::InitAsDefaultInstance() {
10174 }
10175 
10176 GameSpectatorJoinedMessage::GameSpectatorJoinedMessage(const GameSpectatorJoinedMessage& from)
10177   : ::google::protobuf::MessageLite() {
10178   SharedCtor();
10179   MergeFrom(from);
10180   // @@protoc_insertion_point(copy_constructor:GameSpectatorJoinedMessage)
10181 }
10182 
10183 void GameSpectatorJoinedMessage::SharedCtor() {
10184   _cached_size_ = 0;
10185   gameid_ = 0u;
10186   playerid_ = 0u;
10187   ::memset(_has_bits_, 0, sizeof(_has_bits_));
10188 }
10189 
10190 GameSpectatorJoinedMessage::~GameSpectatorJoinedMessage() {
10191   // @@protoc_insertion_point(destructor:GameSpectatorJoinedMessage)
10192   SharedDtor();
10193 }
10194 
10195 void GameSpectatorJoinedMessage::SharedDtor() {
10196   #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
10197   if (this != &default_instance()) {
10198   #else
10199   if (this != default_instance_) {
10200   #endif
10201   }
10202 }
10203 
10204 void GameSpectatorJoinedMessage::SetCachedSize(int size) const {
10205   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
10206   _cached_size_ = size;
10207   GOOGLE_SAFE_CONCURRENT_WRITES_END();
10208 }
10209 const GameSpectatorJoinedMessage& GameSpectatorJoinedMessage::default_instance() {
10210 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
10211   protobuf_AddDesc_pokerth_2eproto();
10212 #else
10213   if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto();
10214 #endif
10215   return *default_instance_;
10216 }
10217 
10218 GameSpectatorJoinedMessage* GameSpectatorJoinedMessage::default_instance_ = NULL;
10219 
10220 GameSpectatorJoinedMessage* GameSpectatorJoinedMessage::New() const {
10221   return new GameSpectatorJoinedMessage;
10222 }
10223 
10224 void GameSpectatorJoinedMessage::Clear() {
10225 #define OFFSET_OF_FIELD_(f) (reinterpret_cast<char*>(      \
10226   &reinterpret_cast<GameSpectatorJoinedMessage*>(16)->f) - \
10227    reinterpret_cast<char*>(16))
10228 
10229 #define ZR_(first, last) do {                              \
10230     size_t f = OFFSET_OF_FIELD_(first);                    \
10231     size_t n = OFFSET_OF_FIELD_(last) - f + sizeof(last);  \
10232     ::memset(&first, 0, n);                                \
10233   } while (0)
10234 
10235   ZR_(gameid_, playerid_);
10236 
10237 #undef OFFSET_OF_FIELD_
10238 #undef ZR_
10239 
10240   ::memset(_has_bits_, 0, sizeof(_has_bits_));
10241   mutable_unknown_fields()->clear();
10242 }
10243 
10244 bool GameSpectatorJoinedMessage::MergePartialFromCodedStream(
10245     ::google::protobuf::io::CodedInputStream* input) {
10246 #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
10247   ::google::protobuf::uint32 tag;
10248   ::google::protobuf::io::StringOutputStream unknown_fields_string(
10249       mutable_unknown_fields());
10250   ::google::protobuf::io::CodedOutputStream unknown_fields_stream(
10251       &unknown_fields_string);
10252   // @@protoc_insertion_point(parse_start:GameSpectatorJoinedMessage)
10253   for (;;) {
10254     ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
10255     tag = p.first;
10256     if (!p.second) goto handle_unusual;
10257     switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
10258       // required uint32 gameId = 1;
10259       case 1: {
10260         if (tag == 8) {
10261           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
10262                    ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
10263                  input, &gameid_)));
10264           set_has_gameid();
10265         } else {
10266           goto handle_unusual;
10267         }
10268         if (input->ExpectTag(16)) goto parse_playerId;
10269         break;
10270       }
10271 
10272       // required uint32 playerId = 2;
10273       case 2: {
10274         if (tag == 16) {
10275          parse_playerId:
10276           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
10277                    ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
10278                  input, &playerid_)));
10279           set_has_playerid();
10280         } else {
10281           goto handle_unusual;
10282         }
10283         if (input->ExpectAtEnd()) goto success;
10284         break;
10285       }
10286 
10287       default: {
10288       handle_unusual:
10289         if (tag == 0 ||
10290             ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
10291             ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
10292           goto success;
10293         }
10294         DO_(::google::protobuf::internal::WireFormatLite::SkipField(
10295             input, tag, &unknown_fields_stream));
10296         break;
10297       }
10298     }
10299   }
10300 success:
10301   // @@protoc_insertion_point(parse_success:GameSpectatorJoinedMessage)
10302   return true;
10303 failure:
10304   // @@protoc_insertion_point(parse_failure:GameSpectatorJoinedMessage)
10305   return false;
10306 #undef DO_
10307 }
10308 
10309 void GameSpectatorJoinedMessage::SerializeWithCachedSizes(
10310     ::google::protobuf::io::CodedOutputStream* output) const {
10311   // @@protoc_insertion_point(serialize_start:GameSpectatorJoinedMessage)
10312   // required uint32 gameId = 1;
10313   if (has_gameid()) {
10314     ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->gameid(), output);
10315   }
10316 
10317   // required uint32 playerId = 2;
10318   if (has_playerid()) {
10319     ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->playerid(), output);
10320   }
10321 
10322   output->WriteRaw(unknown_fields().data(),
10323                    unknown_fields().size());
10324   // @@protoc_insertion_point(serialize_end:GameSpectatorJoinedMessage)
10325 }
10326 
10327 int GameSpectatorJoinedMessage::ByteSize() const {
10328   int total_size = 0;
10329 
10330   if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
10331     // required uint32 gameId = 1;
10332     if (has_gameid()) {
10333       total_size += 1 +
10334         ::google::protobuf::internal::WireFormatLite::UInt32Size(
10335           this->gameid());
10336     }
10337 
10338     // required uint32 playerId = 2;
10339     if (has_playerid()) {
10340       total_size += 1 +
10341         ::google::protobuf::internal::WireFormatLite::UInt32Size(
10342           this->playerid());
10343     }
10344 
10345   }
10346   total_size += unknown_fields().size();
10347 
10348   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
10349   _cached_size_ = total_size;
10350   GOOGLE_SAFE_CONCURRENT_WRITES_END();
10351   return total_size;
10352 }
10353 
10354 void GameSpectatorJoinedMessage::CheckTypeAndMergeFrom(
10355     const ::google::protobuf::MessageLite& from) {
10356   MergeFrom(*::google::protobuf::down_cast<const GameSpectatorJoinedMessage*>(&from));
10357 }
10358 
10359 void GameSpectatorJoinedMessage::MergeFrom(const GameSpectatorJoinedMessage& from) {
10360   GOOGLE_CHECK_NE(&from, this);
10361   if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
10362     if (from.has_gameid()) {
10363       set_gameid(from.gameid());
10364     }
10365     if (from.has_playerid()) {
10366       set_playerid(from.playerid());
10367     }
10368   }
10369   mutable_unknown_fields()->append(from.unknown_fields());
10370 }
10371 
10372 void GameSpectatorJoinedMessage::CopyFrom(const GameSpectatorJoinedMessage& from) {
10373   if (&from == this) return;
10374   Clear();
10375   MergeFrom(from);
10376 }
10377 
10378 bool GameSpectatorJoinedMessage::IsInitialized() const {
10379   if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false;
10380 
10381   return true;
10382 }
10383 
10384 void GameSpectatorJoinedMessage::Swap(GameSpectatorJoinedMessage* other) {
10385   if (other != this) {
10386     std::swap(gameid_, other->gameid_);
10387     std::swap(playerid_, other->playerid_);
10388     std::swap(_has_bits_[0], other->_has_bits_[0]);
10389     _unknown_fields_.swap(other->_unknown_fields_);
10390     std::swap(_cached_size_, other->_cached_size_);
10391   }
10392 }
10393 
10394 ::std::string GameSpectatorJoinedMessage::GetTypeName() const {
10395   return "GameSpectatorJoinedMessage";
10396 }
10397 
10398 
10399 // ===================================================================
10400 
10401 #ifndef _MSC_VER
10402 const int GameSpectatorLeftMessage::kGameIdFieldNumber;
10403 const int GameSpectatorLeftMessage::kPlayerIdFieldNumber;
10404 const int GameSpectatorLeftMessage::kGameSpectatorLeftReasonFieldNumber;
10405 #endif  // !_MSC_VER
10406 
10407 GameSpectatorLeftMessage::GameSpectatorLeftMessage()
10408   : ::google::protobuf::MessageLite() {
10409   SharedCtor();
10410   // @@protoc_insertion_point(constructor:GameSpectatorLeftMessage)
10411 }
10412 
10413 void GameSpectatorLeftMessage::InitAsDefaultInstance() {
10414 }
10415 
10416 GameSpectatorLeftMessage::GameSpectatorLeftMessage(const GameSpectatorLeftMessage& from)
10417   : ::google::protobuf::MessageLite() {
10418   SharedCtor();
10419   MergeFrom(from);
10420   // @@protoc_insertion_point(copy_constructor:GameSpectatorLeftMessage)
10421 }
10422 
10423 void GameSpectatorLeftMessage::SharedCtor() {
10424   _cached_size_ = 0;
10425   gameid_ = 0u;
10426   playerid_ = 0u;
10427   gamespectatorleftreason_ = 0;
10428   ::memset(_has_bits_, 0, sizeof(_has_bits_));
10429 }
10430 
10431 GameSpectatorLeftMessage::~GameSpectatorLeftMessage() {
10432   // @@protoc_insertion_point(destructor:GameSpectatorLeftMessage)
10433   SharedDtor();
10434 }
10435 
10436 void GameSpectatorLeftMessage::SharedDtor() {
10437   #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
10438   if (this != &default_instance()) {
10439   #else
10440   if (this != default_instance_) {
10441   #endif
10442   }
10443 }
10444 
10445 void GameSpectatorLeftMessage::SetCachedSize(int size) const {
10446   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
10447   _cached_size_ = size;
10448   GOOGLE_SAFE_CONCURRENT_WRITES_END();
10449 }
10450 const GameSpectatorLeftMessage& GameSpectatorLeftMessage::default_instance() {
10451 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
10452   protobuf_AddDesc_pokerth_2eproto();
10453 #else
10454   if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto();
10455 #endif
10456   return *default_instance_;
10457 }
10458 
10459 GameSpectatorLeftMessage* GameSpectatorLeftMessage::default_instance_ = NULL;
10460 
10461 GameSpectatorLeftMessage* GameSpectatorLeftMessage::New() const {
10462   return new GameSpectatorLeftMessage;
10463 }
10464 
10465 void GameSpectatorLeftMessage::Clear() {
10466 #define OFFSET_OF_FIELD_(f) (reinterpret_cast<char*>(      \
10467   &reinterpret_cast<GameSpectatorLeftMessage*>(16)->f) - \
10468    reinterpret_cast<char*>(16))
10469 
10470 #define ZR_(first, last) do {                              \
10471     size_t f = OFFSET_OF_FIELD_(first);                    \
10472     size_t n = OFFSET_OF_FIELD_(last) - f + sizeof(last);  \
10473     ::memset(&first, 0, n);                                \
10474   } while (0)
10475 
10476   ZR_(gameid_, gamespectatorleftreason_);
10477 
10478 #undef OFFSET_OF_FIELD_
10479 #undef ZR_
10480 
10481   ::memset(_has_bits_, 0, sizeof(_has_bits_));
10482   mutable_unknown_fields()->clear();
10483 }
10484 
10485 bool GameSpectatorLeftMessage::MergePartialFromCodedStream(
10486     ::google::protobuf::io::CodedInputStream* input) {
10487 #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
10488   ::google::protobuf::uint32 tag;
10489   ::google::protobuf::io::StringOutputStream unknown_fields_string(
10490       mutable_unknown_fields());
10491   ::google::protobuf::io::CodedOutputStream unknown_fields_stream(
10492       &unknown_fields_string);
10493   // @@protoc_insertion_point(parse_start:GameSpectatorLeftMessage)
10494   for (;;) {
10495     ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
10496     tag = p.first;
10497     if (!p.second) goto handle_unusual;
10498     switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
10499       // required uint32 gameId = 1;
10500       case 1: {
10501         if (tag == 8) {
10502           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
10503                    ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
10504                  input, &gameid_)));
10505           set_has_gameid();
10506         } else {
10507           goto handle_unusual;
10508         }
10509         if (input->ExpectTag(16)) goto parse_playerId;
10510         break;
10511       }
10512 
10513       // required uint32 playerId = 2;
10514       case 2: {
10515         if (tag == 16) {
10516          parse_playerId:
10517           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
10518                    ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
10519                  input, &playerid_)));
10520           set_has_playerid();
10521         } else {
10522           goto handle_unusual;
10523         }
10524         if (input->ExpectTag(24)) goto parse_gameSpectatorLeftReason;
10525         break;
10526       }
10527 
10528       // required .GamePlayerLeftMessage.GamePlayerLeftReason gameSpectatorLeftReason = 3;
10529       case 3: {
10530         if (tag == 24) {
10531          parse_gameSpectatorLeftReason:
10532           int value;
10533           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
10534                    int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
10535                  input, &value)));
10536           if (::GamePlayerLeftMessage_GamePlayerLeftReason_IsValid(value)) {
10537             set_gamespectatorleftreason(static_cast< ::GamePlayerLeftMessage_GamePlayerLeftReason >(value));
10538           } else {
10539             unknown_fields_stream.WriteVarint32(tag);
10540             unknown_fields_stream.WriteVarint32(value);
10541           }
10542         } else {
10543           goto handle_unusual;
10544         }
10545         if (input->ExpectAtEnd()) goto success;
10546         break;
10547       }
10548 
10549       default: {
10550       handle_unusual:
10551         if (tag == 0 ||
10552             ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
10553             ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
10554           goto success;
10555         }
10556         DO_(::google::protobuf::internal::WireFormatLite::SkipField(
10557             input, tag, &unknown_fields_stream));
10558         break;
10559       }
10560     }
10561   }
10562 success:
10563   // @@protoc_insertion_point(parse_success:GameSpectatorLeftMessage)
10564   return true;
10565 failure:
10566   // @@protoc_insertion_point(parse_failure:GameSpectatorLeftMessage)
10567   return false;
10568 #undef DO_
10569 }
10570 
10571 void GameSpectatorLeftMessage::SerializeWithCachedSizes(
10572     ::google::protobuf::io::CodedOutputStream* output) const {
10573   // @@protoc_insertion_point(serialize_start:GameSpectatorLeftMessage)
10574   // required uint32 gameId = 1;
10575   if (has_gameid()) {
10576     ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->gameid(), output);
10577   }
10578 
10579   // required uint32 playerId = 2;
10580   if (has_playerid()) {
10581     ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->playerid(), output);
10582   }
10583 
10584   // required .GamePlayerLeftMessage.GamePlayerLeftReason gameSpectatorLeftReason = 3;
10585   if (has_gamespectatorleftreason()) {
10586     ::google::protobuf::internal::WireFormatLite::WriteEnum(
10587       3, this->gamespectatorleftreason(), output);
10588   }
10589 
10590   output->WriteRaw(unknown_fields().data(),
10591                    unknown_fields().size());
10592   // @@protoc_insertion_point(serialize_end:GameSpectatorLeftMessage)
10593 }
10594 
10595 int GameSpectatorLeftMessage::ByteSize() const {
10596   int total_size = 0;
10597 
10598   if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
10599     // required uint32 gameId = 1;
10600     if (has_gameid()) {
10601       total_size += 1 +
10602         ::google::protobuf::internal::WireFormatLite::UInt32Size(
10603           this->gameid());
10604     }
10605 
10606     // required uint32 playerId = 2;
10607     if (has_playerid()) {
10608       total_size += 1 +
10609         ::google::protobuf::internal::WireFormatLite::UInt32Size(
10610           this->playerid());
10611     }
10612 
10613     // required .GamePlayerLeftMessage.GamePlayerLeftReason gameSpectatorLeftReason = 3;
10614     if (has_gamespectatorleftreason()) {
10615       total_size += 1 +
10616         ::google::protobuf::internal::WireFormatLite::EnumSize(this->gamespectatorleftreason());
10617     }
10618 
10619   }
10620   total_size += unknown_fields().size();
10621 
10622   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
10623   _cached_size_ = total_size;
10624   GOOGLE_SAFE_CONCURRENT_WRITES_END();
10625   return total_size;
10626 }
10627 
10628 void GameSpectatorLeftMessage::CheckTypeAndMergeFrom(
10629     const ::google::protobuf::MessageLite& from) {
10630   MergeFrom(*::google::protobuf::down_cast<const GameSpectatorLeftMessage*>(&from));
10631 }
10632 
10633 void GameSpectatorLeftMessage::MergeFrom(const GameSpectatorLeftMessage& from) {
10634   GOOGLE_CHECK_NE(&from, this);
10635   if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
10636     if (from.has_gameid()) {
10637       set_gameid(from.gameid());
10638     }
10639     if (from.has_playerid()) {
10640       set_playerid(from.playerid());
10641     }
10642     if (from.has_gamespectatorleftreason()) {
10643       set_gamespectatorleftreason(from.gamespectatorleftreason());
10644     }
10645   }
10646   mutable_unknown_fields()->append(from.unknown_fields());
10647 }
10648 
10649 void GameSpectatorLeftMessage::CopyFrom(const GameSpectatorLeftMessage& from) {
10650   if (&from == this) return;
10651   Clear();
10652   MergeFrom(from);
10653 }
10654 
10655 bool GameSpectatorLeftMessage::IsInitialized() const {
10656   if ((_has_bits_[0] & 0x00000007) != 0x00000007) return false;
10657 
10658   return true;
10659 }
10660 
10661 void GameSpectatorLeftMessage::Swap(GameSpectatorLeftMessage* other) {
10662   if (other != this) {
10663     std::swap(gameid_, other->gameid_);
10664     std::swap(playerid_, other->playerid_);
10665     std::swap(gamespectatorleftreason_, other->gamespectatorleftreason_);
10666     std::swap(_has_bits_[0], other->_has_bits_[0]);
10667     _unknown_fields_.swap(other->_unknown_fields_);
10668     std::swap(_cached_size_, other->_cached_size_);
10669   }
10670 }
10671 
10672 ::std::string GameSpectatorLeftMessage::GetTypeName() const {
10673   return "GameSpectatorLeftMessage";
10674 }
10675 
10676 
10677 // ===================================================================
10678 
10679 #ifndef _MSC_VER
10680 const int GameAdminChangedMessage::kGameIdFieldNumber;
10681 const int GameAdminChangedMessage::kNewAdminPlayerIdFieldNumber;
10682 #endif  // !_MSC_VER
10683 
10684 GameAdminChangedMessage::GameAdminChangedMessage()
10685   : ::google::protobuf::MessageLite() {
10686   SharedCtor();
10687   // @@protoc_insertion_point(constructor:GameAdminChangedMessage)
10688 }
10689 
10690 void GameAdminChangedMessage::InitAsDefaultInstance() {
10691 }
10692 
10693 GameAdminChangedMessage::GameAdminChangedMessage(const GameAdminChangedMessage& from)
10694   : ::google::protobuf::MessageLite() {
10695   SharedCtor();
10696   MergeFrom(from);
10697   // @@protoc_insertion_point(copy_constructor:GameAdminChangedMessage)
10698 }
10699 
10700 void GameAdminChangedMessage::SharedCtor() {
10701   _cached_size_ = 0;
10702   gameid_ = 0u;
10703   newadminplayerid_ = 0u;
10704   ::memset(_has_bits_, 0, sizeof(_has_bits_));
10705 }
10706 
10707 GameAdminChangedMessage::~GameAdminChangedMessage() {
10708   // @@protoc_insertion_point(destructor:GameAdminChangedMessage)
10709   SharedDtor();
10710 }
10711 
10712 void GameAdminChangedMessage::SharedDtor() {
10713   #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
10714   if (this != &default_instance()) {
10715   #else
10716   if (this != default_instance_) {
10717   #endif
10718   }
10719 }
10720 
10721 void GameAdminChangedMessage::SetCachedSize(int size) const {
10722   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
10723   _cached_size_ = size;
10724   GOOGLE_SAFE_CONCURRENT_WRITES_END();
10725 }
10726 const GameAdminChangedMessage& GameAdminChangedMessage::default_instance() {
10727 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
10728   protobuf_AddDesc_pokerth_2eproto();
10729 #else
10730   if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto();
10731 #endif
10732   return *default_instance_;
10733 }
10734 
10735 GameAdminChangedMessage* GameAdminChangedMessage::default_instance_ = NULL;
10736 
10737 GameAdminChangedMessage* GameAdminChangedMessage::New() const {
10738   return new GameAdminChangedMessage;
10739 }
10740 
10741 void GameAdminChangedMessage::Clear() {
10742 #define OFFSET_OF_FIELD_(f) (reinterpret_cast<char*>(      \
10743   &reinterpret_cast<GameAdminChangedMessage*>(16)->f) - \
10744    reinterpret_cast<char*>(16))
10745 
10746 #define ZR_(first, last) do {                              \
10747     size_t f = OFFSET_OF_FIELD_(first);                    \
10748     size_t n = OFFSET_OF_FIELD_(last) - f + sizeof(last);  \
10749     ::memset(&first, 0, n);                                \
10750   } while (0)
10751 
10752   ZR_(gameid_, newadminplayerid_);
10753 
10754 #undef OFFSET_OF_FIELD_
10755 #undef ZR_
10756 
10757   ::memset(_has_bits_, 0, sizeof(_has_bits_));
10758   mutable_unknown_fields()->clear();
10759 }
10760 
10761 bool GameAdminChangedMessage::MergePartialFromCodedStream(
10762     ::google::protobuf::io::CodedInputStream* input) {
10763 #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
10764   ::google::protobuf::uint32 tag;
10765   ::google::protobuf::io::StringOutputStream unknown_fields_string(
10766       mutable_unknown_fields());
10767   ::google::protobuf::io::CodedOutputStream unknown_fields_stream(
10768       &unknown_fields_string);
10769   // @@protoc_insertion_point(parse_start:GameAdminChangedMessage)
10770   for (;;) {
10771     ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
10772     tag = p.first;
10773     if (!p.second) goto handle_unusual;
10774     switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
10775       // required uint32 gameId = 1;
10776       case 1: {
10777         if (tag == 8) {
10778           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
10779                    ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
10780                  input, &gameid_)));
10781           set_has_gameid();
10782         } else {
10783           goto handle_unusual;
10784         }
10785         if (input->ExpectTag(16)) goto parse_newAdminPlayerId;
10786         break;
10787       }
10788 
10789       // required uint32 newAdminPlayerId = 2;
10790       case 2: {
10791         if (tag == 16) {
10792          parse_newAdminPlayerId:
10793           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
10794                    ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
10795                  input, &newadminplayerid_)));
10796           set_has_newadminplayerid();
10797         } else {
10798           goto handle_unusual;
10799         }
10800         if (input->ExpectAtEnd()) goto success;
10801         break;
10802       }
10803 
10804       default: {
10805       handle_unusual:
10806         if (tag == 0 ||
10807             ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
10808             ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
10809           goto success;
10810         }
10811         DO_(::google::protobuf::internal::WireFormatLite::SkipField(
10812             input, tag, &unknown_fields_stream));
10813         break;
10814       }
10815     }
10816   }
10817 success:
10818   // @@protoc_insertion_point(parse_success:GameAdminChangedMessage)
10819   return true;
10820 failure:
10821   // @@protoc_insertion_point(parse_failure:GameAdminChangedMessage)
10822   return false;
10823 #undef DO_
10824 }
10825 
10826 void GameAdminChangedMessage::SerializeWithCachedSizes(
10827     ::google::protobuf::io::CodedOutputStream* output) const {
10828   // @@protoc_insertion_point(serialize_start:GameAdminChangedMessage)
10829   // required uint32 gameId = 1;
10830   if (has_gameid()) {
10831     ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->gameid(), output);
10832   }
10833 
10834   // required uint32 newAdminPlayerId = 2;
10835   if (has_newadminplayerid()) {
10836     ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->newadminplayerid(), output);
10837   }
10838 
10839   output->WriteRaw(unknown_fields().data(),
10840                    unknown_fields().size());
10841   // @@protoc_insertion_point(serialize_end:GameAdminChangedMessage)
10842 }
10843 
10844 int GameAdminChangedMessage::ByteSize() const {
10845   int total_size = 0;
10846 
10847   if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
10848     // required uint32 gameId = 1;
10849     if (has_gameid()) {
10850       total_size += 1 +
10851         ::google::protobuf::internal::WireFormatLite::UInt32Size(
10852           this->gameid());
10853     }
10854 
10855     // required uint32 newAdminPlayerId = 2;
10856     if (has_newadminplayerid()) {
10857       total_size += 1 +
10858         ::google::protobuf::internal::WireFormatLite::UInt32Size(
10859           this->newadminplayerid());
10860     }
10861 
10862   }
10863   total_size += unknown_fields().size();
10864 
10865   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
10866   _cached_size_ = total_size;
10867   GOOGLE_SAFE_CONCURRENT_WRITES_END();
10868   return total_size;
10869 }
10870 
10871 void GameAdminChangedMessage::CheckTypeAndMergeFrom(
10872     const ::google::protobuf::MessageLite& from) {
10873   MergeFrom(*::google::protobuf::down_cast<const GameAdminChangedMessage*>(&from));
10874 }
10875 
10876 void GameAdminChangedMessage::MergeFrom(const GameAdminChangedMessage& from) {
10877   GOOGLE_CHECK_NE(&from, this);
10878   if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
10879     if (from.has_gameid()) {
10880       set_gameid(from.gameid());
10881     }
10882     if (from.has_newadminplayerid()) {
10883       set_newadminplayerid(from.newadminplayerid());
10884     }
10885   }
10886   mutable_unknown_fields()->append(from.unknown_fields());
10887 }
10888 
10889 void GameAdminChangedMessage::CopyFrom(const GameAdminChangedMessage& from) {
10890   if (&from == this) return;
10891   Clear();
10892   MergeFrom(from);
10893 }
10894 
10895 bool GameAdminChangedMessage::IsInitialized() const {
10896   if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false;
10897 
10898   return true;
10899 }
10900 
10901 void GameAdminChangedMessage::Swap(GameAdminChangedMessage* other) {
10902   if (other != this) {
10903     std::swap(gameid_, other->gameid_);
10904     std::swap(newadminplayerid_, other->newadminplayerid_);
10905     std::swap(_has_bits_[0], other->_has_bits_[0]);
10906     _unknown_fields_.swap(other->_unknown_fields_);
10907     std::swap(_cached_size_, other->_cached_size_);
10908   }
10909 }
10910 
10911 ::std::string GameAdminChangedMessage::GetTypeName() const {
10912   return "GameAdminChangedMessage";
10913 }
10914 
10915 
10916 // ===================================================================
10917 
10918 bool RemovedFromGameMessage_RemovedFromGameReason_IsValid(int value) {
10919   switch(value) {
10920     case 0:
10921     case 1:
10922     case 2:
10923     case 3:
10924     case 4:
10925     case 5:
10926     case 6:
10927       return true;
10928     default:
10929       return false;
10930   }
10931 }
10932 
10933 #ifndef _MSC_VER
10934 const RemovedFromGameMessage_RemovedFromGameReason RemovedFromGameMessage::removedOnRequest;
10935 const RemovedFromGameMessage_RemovedFromGameReason RemovedFromGameMessage::kickedFromGame;
10936 const RemovedFromGameMessage_RemovedFromGameReason RemovedFromGameMessage::gameIsFull;
10937 const RemovedFromGameMessage_RemovedFromGameReason RemovedFromGameMessage::gameIsRunning;
10938 const RemovedFromGameMessage_RemovedFromGameReason RemovedFromGameMessage::gameTimeout;
10939 const RemovedFromGameMessage_RemovedFromGameReason RemovedFromGameMessage::removedStartFailed;
10940 const RemovedFromGameMessage_RemovedFromGameReason RemovedFromGameMessage::gameClosed;
10941 const RemovedFromGameMessage_RemovedFromGameReason RemovedFromGameMessage::RemovedFromGameReason_MIN;
10942 const RemovedFromGameMessage_RemovedFromGameReason RemovedFromGameMessage::RemovedFromGameReason_MAX;
10943 const int RemovedFromGameMessage::RemovedFromGameReason_ARRAYSIZE;
10944 #endif  // _MSC_VER
10945 #ifndef _MSC_VER
10946 const int RemovedFromGameMessage::kGameIdFieldNumber;
10947 const int RemovedFromGameMessage::kRemovedFromGameReasonFieldNumber;
10948 #endif  // !_MSC_VER
10949 
10950 RemovedFromGameMessage::RemovedFromGameMessage()
10951   : ::google::protobuf::MessageLite() {
10952   SharedCtor();
10953   // @@protoc_insertion_point(constructor:RemovedFromGameMessage)
10954 }
10955 
10956 void RemovedFromGameMessage::InitAsDefaultInstance() {
10957 }
10958 
10959 RemovedFromGameMessage::RemovedFromGameMessage(const RemovedFromGameMessage& from)
10960   : ::google::protobuf::MessageLite() {
10961   SharedCtor();
10962   MergeFrom(from);
10963   // @@protoc_insertion_point(copy_constructor:RemovedFromGameMessage)
10964 }
10965 
10966 void RemovedFromGameMessage::SharedCtor() {
10967   _cached_size_ = 0;
10968   gameid_ = 0u;
10969   removedfromgamereason_ = 0;
10970   ::memset(_has_bits_, 0, sizeof(_has_bits_));
10971 }
10972 
10973 RemovedFromGameMessage::~RemovedFromGameMessage() {
10974   // @@protoc_insertion_point(destructor:RemovedFromGameMessage)
10975   SharedDtor();
10976 }
10977 
10978 void RemovedFromGameMessage::SharedDtor() {
10979   #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
10980   if (this != &default_instance()) {
10981   #else
10982   if (this != default_instance_) {
10983   #endif
10984   }
10985 }
10986 
10987 void RemovedFromGameMessage::SetCachedSize(int size) const {
10988   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
10989   _cached_size_ = size;
10990   GOOGLE_SAFE_CONCURRENT_WRITES_END();
10991 }
10992 const RemovedFromGameMessage& RemovedFromGameMessage::default_instance() {
10993 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
10994   protobuf_AddDesc_pokerth_2eproto();
10995 #else
10996   if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto();
10997 #endif
10998   return *default_instance_;
10999 }
11000 
11001 RemovedFromGameMessage* RemovedFromGameMessage::default_instance_ = NULL;
11002 
11003 RemovedFromGameMessage* RemovedFromGameMessage::New() const {
11004   return new RemovedFromGameMessage;
11005 }
11006 
11007 void RemovedFromGameMessage::Clear() {
11008 #define OFFSET_OF_FIELD_(f) (reinterpret_cast<char*>(      \
11009   &reinterpret_cast<RemovedFromGameMessage*>(16)->f) - \
11010    reinterpret_cast<char*>(16))
11011 
11012 #define ZR_(first, last) do {                              \
11013     size_t f = OFFSET_OF_FIELD_(first);                    \
11014     size_t n = OFFSET_OF_FIELD_(last) - f + sizeof(last);  \
11015     ::memset(&first, 0, n);                                \
11016   } while (0)
11017 
11018   ZR_(gameid_, removedfromgamereason_);
11019 
11020 #undef OFFSET_OF_FIELD_
11021 #undef ZR_
11022 
11023   ::memset(_has_bits_, 0, sizeof(_has_bits_));
11024   mutable_unknown_fields()->clear();
11025 }
11026 
11027 bool RemovedFromGameMessage::MergePartialFromCodedStream(
11028     ::google::protobuf::io::CodedInputStream* input) {
11029 #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
11030   ::google::protobuf::uint32 tag;
11031   ::google::protobuf::io::StringOutputStream unknown_fields_string(
11032       mutable_unknown_fields());
11033   ::google::protobuf::io::CodedOutputStream unknown_fields_stream(
11034       &unknown_fields_string);
11035   // @@protoc_insertion_point(parse_start:RemovedFromGameMessage)
11036   for (;;) {
11037     ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
11038     tag = p.first;
11039     if (!p.second) goto handle_unusual;
11040     switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
11041       // required uint32 gameId = 1;
11042       case 1: {
11043         if (tag == 8) {
11044           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
11045                    ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
11046                  input, &gameid_)));
11047           set_has_gameid();
11048         } else {
11049           goto handle_unusual;
11050         }
11051         if (input->ExpectTag(16)) goto parse_removedFromGameReason;
11052         break;
11053       }
11054 
11055       // required .RemovedFromGameMessage.RemovedFromGameReason removedFromGameReason = 2;
11056       case 2: {
11057         if (tag == 16) {
11058          parse_removedFromGameReason:
11059           int value;
11060           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
11061                    int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
11062                  input, &value)));
11063           if (::RemovedFromGameMessage_RemovedFromGameReason_IsValid(value)) {
11064             set_removedfromgamereason(static_cast< ::RemovedFromGameMessage_RemovedFromGameReason >(value));
11065           } else {
11066             unknown_fields_stream.WriteVarint32(tag);
11067             unknown_fields_stream.WriteVarint32(value);
11068           }
11069         } else {
11070           goto handle_unusual;
11071         }
11072         if (input->ExpectAtEnd()) goto success;
11073         break;
11074       }
11075 
11076       default: {
11077       handle_unusual:
11078         if (tag == 0 ||
11079             ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
11080             ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
11081           goto success;
11082         }
11083         DO_(::google::protobuf::internal::WireFormatLite::SkipField(
11084             input, tag, &unknown_fields_stream));
11085         break;
11086       }
11087     }
11088   }
11089 success:
11090   // @@protoc_insertion_point(parse_success:RemovedFromGameMessage)
11091   return true;
11092 failure:
11093   // @@protoc_insertion_point(parse_failure:RemovedFromGameMessage)
11094   return false;
11095 #undef DO_
11096 }
11097 
11098 void RemovedFromGameMessage::SerializeWithCachedSizes(
11099     ::google::protobuf::io::CodedOutputStream* output) const {
11100   // @@protoc_insertion_point(serialize_start:RemovedFromGameMessage)
11101   // required uint32 gameId = 1;
11102   if (has_gameid()) {
11103     ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->gameid(), output);
11104   }
11105 
11106   // required .RemovedFromGameMessage.RemovedFromGameReason removedFromGameReason = 2;
11107   if (has_removedfromgamereason()) {
11108     ::google::protobuf::internal::WireFormatLite::WriteEnum(
11109       2, this->removedfromgamereason(), output);
11110   }
11111 
11112   output->WriteRaw(unknown_fields().data(),
11113                    unknown_fields().size());
11114   // @@protoc_insertion_point(serialize_end:RemovedFromGameMessage)
11115 }
11116 
11117 int RemovedFromGameMessage::ByteSize() const {
11118   int total_size = 0;
11119 
11120   if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
11121     // required uint32 gameId = 1;
11122     if (has_gameid()) {
11123       total_size += 1 +
11124         ::google::protobuf::internal::WireFormatLite::UInt32Size(
11125           this->gameid());
11126     }
11127 
11128     // required .RemovedFromGameMessage.RemovedFromGameReason removedFromGameReason = 2;
11129     if (has_removedfromgamereason()) {
11130       total_size += 1 +
11131         ::google::protobuf::internal::WireFormatLite::EnumSize(this->removedfromgamereason());
11132     }
11133 
11134   }
11135   total_size += unknown_fields().size();
11136 
11137   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
11138   _cached_size_ = total_size;
11139   GOOGLE_SAFE_CONCURRENT_WRITES_END();
11140   return total_size;
11141 }
11142 
11143 void RemovedFromGameMessage::CheckTypeAndMergeFrom(
11144     const ::google::protobuf::MessageLite& from) {
11145   MergeFrom(*::google::protobuf::down_cast<const RemovedFromGameMessage*>(&from));
11146 }
11147 
11148 void RemovedFromGameMessage::MergeFrom(const RemovedFromGameMessage& from) {
11149   GOOGLE_CHECK_NE(&from, this);
11150   if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
11151     if (from.has_gameid()) {
11152       set_gameid(from.gameid());
11153     }
11154     if (from.has_removedfromgamereason()) {
11155       set_removedfromgamereason(from.removedfromgamereason());
11156     }
11157   }
11158   mutable_unknown_fields()->append(from.unknown_fields());
11159 }
11160 
11161 void RemovedFromGameMessage::CopyFrom(const RemovedFromGameMessage& from) {
11162   if (&from == this) return;
11163   Clear();
11164   MergeFrom(from);
11165 }
11166 
11167 bool RemovedFromGameMessage::IsInitialized() const {
11168   if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false;
11169 
11170   return true;
11171 }
11172 
11173 void RemovedFromGameMessage::Swap(RemovedFromGameMessage* other) {
11174   if (other != this) {
11175     std::swap(gameid_, other->gameid_);
11176     std::swap(removedfromgamereason_, other->removedfromgamereason_);
11177     std::swap(_has_bits_[0], other->_has_bits_[0]);
11178     _unknown_fields_.swap(other->_unknown_fields_);
11179     std::swap(_cached_size_, other->_cached_size_);
11180   }
11181 }
11182 
11183 ::std::string RemovedFromGameMessage::GetTypeName() const {
11184   return "RemovedFromGameMessage";
11185 }
11186 
11187 
11188 // ===================================================================
11189 
11190 #ifndef _MSC_VER
11191 const int KickPlayerRequestMessage::kGameIdFieldNumber;
11192 const int KickPlayerRequestMessage::kPlayerIdFieldNumber;
11193 #endif  // !_MSC_VER
11194 
11195 KickPlayerRequestMessage::KickPlayerRequestMessage()
11196   : ::google::protobuf::MessageLite() {
11197   SharedCtor();
11198   // @@protoc_insertion_point(constructor:KickPlayerRequestMessage)
11199 }
11200 
11201 void KickPlayerRequestMessage::InitAsDefaultInstance() {
11202 }
11203 
11204 KickPlayerRequestMessage::KickPlayerRequestMessage(const KickPlayerRequestMessage& from)
11205   : ::google::protobuf::MessageLite() {
11206   SharedCtor();
11207   MergeFrom(from);
11208   // @@protoc_insertion_point(copy_constructor:KickPlayerRequestMessage)
11209 }
11210 
11211 void KickPlayerRequestMessage::SharedCtor() {
11212   _cached_size_ = 0;
11213   gameid_ = 0u;
11214   playerid_ = 0u;
11215   ::memset(_has_bits_, 0, sizeof(_has_bits_));
11216 }
11217 
11218 KickPlayerRequestMessage::~KickPlayerRequestMessage() {
11219   // @@protoc_insertion_point(destructor:KickPlayerRequestMessage)
11220   SharedDtor();
11221 }
11222 
11223 void KickPlayerRequestMessage::SharedDtor() {
11224   #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
11225   if (this != &default_instance()) {
11226   #else
11227   if (this != default_instance_) {
11228   #endif
11229   }
11230 }
11231 
11232 void KickPlayerRequestMessage::SetCachedSize(int size) const {
11233   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
11234   _cached_size_ = size;
11235   GOOGLE_SAFE_CONCURRENT_WRITES_END();
11236 }
11237 const KickPlayerRequestMessage& KickPlayerRequestMessage::default_instance() {
11238 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
11239   protobuf_AddDesc_pokerth_2eproto();
11240 #else
11241   if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto();
11242 #endif
11243   return *default_instance_;
11244 }
11245 
11246 KickPlayerRequestMessage* KickPlayerRequestMessage::default_instance_ = NULL;
11247 
11248 KickPlayerRequestMessage* KickPlayerRequestMessage::New() const {
11249   return new KickPlayerRequestMessage;
11250 }
11251 
11252 void KickPlayerRequestMessage::Clear() {
11253 #define OFFSET_OF_FIELD_(f) (reinterpret_cast<char*>(      \
11254   &reinterpret_cast<KickPlayerRequestMessage*>(16)->f) - \
11255    reinterpret_cast<char*>(16))
11256 
11257 #define ZR_(first, last) do {                              \
11258     size_t f = OFFSET_OF_FIELD_(first);                    \
11259     size_t n = OFFSET_OF_FIELD_(last) - f + sizeof(last);  \
11260     ::memset(&first, 0, n);                                \
11261   } while (0)
11262 
11263   ZR_(gameid_, playerid_);
11264 
11265 #undef OFFSET_OF_FIELD_
11266 #undef ZR_
11267 
11268   ::memset(_has_bits_, 0, sizeof(_has_bits_));
11269   mutable_unknown_fields()->clear();
11270 }
11271 
11272 bool KickPlayerRequestMessage::MergePartialFromCodedStream(
11273     ::google::protobuf::io::CodedInputStream* input) {
11274 #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
11275   ::google::protobuf::uint32 tag;
11276   ::google::protobuf::io::StringOutputStream unknown_fields_string(
11277       mutable_unknown_fields());
11278   ::google::protobuf::io::CodedOutputStream unknown_fields_stream(
11279       &unknown_fields_string);
11280   // @@protoc_insertion_point(parse_start:KickPlayerRequestMessage)
11281   for (;;) {
11282     ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
11283     tag = p.first;
11284     if (!p.second) goto handle_unusual;
11285     switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
11286       // required uint32 gameId = 1;
11287       case 1: {
11288         if (tag == 8) {
11289           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
11290                    ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
11291                  input, &gameid_)));
11292           set_has_gameid();
11293         } else {
11294           goto handle_unusual;
11295         }
11296         if (input->ExpectTag(16)) goto parse_playerId;
11297         break;
11298       }
11299 
11300       // required uint32 playerId = 2;
11301       case 2: {
11302         if (tag == 16) {
11303          parse_playerId:
11304           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
11305                    ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
11306                  input, &playerid_)));
11307           set_has_playerid();
11308         } else {
11309           goto handle_unusual;
11310         }
11311         if (input->ExpectAtEnd()) goto success;
11312         break;
11313       }
11314 
11315       default: {
11316       handle_unusual:
11317         if (tag == 0 ||
11318             ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
11319             ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
11320           goto success;
11321         }
11322         DO_(::google::protobuf::internal::WireFormatLite::SkipField(
11323             input, tag, &unknown_fields_stream));
11324         break;
11325       }
11326     }
11327   }
11328 success:
11329   // @@protoc_insertion_point(parse_success:KickPlayerRequestMessage)
11330   return true;
11331 failure:
11332   // @@protoc_insertion_point(parse_failure:KickPlayerRequestMessage)
11333   return false;
11334 #undef DO_
11335 }
11336 
11337 void KickPlayerRequestMessage::SerializeWithCachedSizes(
11338     ::google::protobuf::io::CodedOutputStream* output) const {
11339   // @@protoc_insertion_point(serialize_start:KickPlayerRequestMessage)
11340   // required uint32 gameId = 1;
11341   if (has_gameid()) {
11342     ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->gameid(), output);
11343   }
11344 
11345   // required uint32 playerId = 2;
11346   if (has_playerid()) {
11347     ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->playerid(), output);
11348   }
11349 
11350   output->WriteRaw(unknown_fields().data(),
11351                    unknown_fields().size());
11352   // @@protoc_insertion_point(serialize_end:KickPlayerRequestMessage)
11353 }
11354 
11355 int KickPlayerRequestMessage::ByteSize() const {
11356   int total_size = 0;
11357 
11358   if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
11359     // required uint32 gameId = 1;
11360     if (has_gameid()) {
11361       total_size += 1 +
11362         ::google::protobuf::internal::WireFormatLite::UInt32Size(
11363           this->gameid());
11364     }
11365 
11366     // required uint32 playerId = 2;
11367     if (has_playerid()) {
11368       total_size += 1 +
11369         ::google::protobuf::internal::WireFormatLite::UInt32Size(
11370           this->playerid());
11371     }
11372 
11373   }
11374   total_size += unknown_fields().size();
11375 
11376   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
11377   _cached_size_ = total_size;
11378   GOOGLE_SAFE_CONCURRENT_WRITES_END();
11379   return total_size;
11380 }
11381 
11382 void KickPlayerRequestMessage::CheckTypeAndMergeFrom(
11383     const ::google::protobuf::MessageLite& from) {
11384   MergeFrom(*::google::protobuf::down_cast<const KickPlayerRequestMessage*>(&from));
11385 }
11386 
11387 void KickPlayerRequestMessage::MergeFrom(const KickPlayerRequestMessage& from) {
11388   GOOGLE_CHECK_NE(&from, this);
11389   if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
11390     if (from.has_gameid()) {
11391       set_gameid(from.gameid());
11392     }
11393     if (from.has_playerid()) {
11394       set_playerid(from.playerid());
11395     }
11396   }
11397   mutable_unknown_fields()->append(from.unknown_fields());
11398 }
11399 
11400 void KickPlayerRequestMessage::CopyFrom(const KickPlayerRequestMessage& from) {
11401   if (&from == this) return;
11402   Clear();
11403   MergeFrom(from);
11404 }
11405 
11406 bool KickPlayerRequestMessage::IsInitialized() const {
11407   if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false;
11408 
11409   return true;
11410 }
11411 
11412 void KickPlayerRequestMessage::Swap(KickPlayerRequestMessage* other) {
11413   if (other != this) {
11414     std::swap(gameid_, other->gameid_);
11415     std::swap(playerid_, other->playerid_);
11416     std::swap(_has_bits_[0], other->_has_bits_[0]);
11417     _unknown_fields_.swap(other->_unknown_fields_);
11418     std::swap(_cached_size_, other->_cached_size_);
11419   }
11420 }
11421 
11422 ::std::string KickPlayerRequestMessage::GetTypeName() const {
11423   return "KickPlayerRequestMessage";
11424 }
11425 
11426 
11427 // ===================================================================
11428 
11429 #ifndef _MSC_VER
11430 const int LeaveGameRequestMessage::kGameIdFieldNumber;
11431 #endif  // !_MSC_VER
11432 
11433 LeaveGameRequestMessage::LeaveGameRequestMessage()
11434   : ::google::protobuf::MessageLite() {
11435   SharedCtor();
11436   // @@protoc_insertion_point(constructor:LeaveGameRequestMessage)
11437 }
11438 
11439 void LeaveGameRequestMessage::InitAsDefaultInstance() {
11440 }
11441 
11442 LeaveGameRequestMessage::LeaveGameRequestMessage(const LeaveGameRequestMessage& from)
11443   : ::google::protobuf::MessageLite() {
11444   SharedCtor();
11445   MergeFrom(from);
11446   // @@protoc_insertion_point(copy_constructor:LeaveGameRequestMessage)
11447 }
11448 
11449 void LeaveGameRequestMessage::SharedCtor() {
11450   _cached_size_ = 0;
11451   gameid_ = 0u;
11452   ::memset(_has_bits_, 0, sizeof(_has_bits_));
11453 }
11454 
11455 LeaveGameRequestMessage::~LeaveGameRequestMessage() {
11456   // @@protoc_insertion_point(destructor:LeaveGameRequestMessage)
11457   SharedDtor();
11458 }
11459 
11460 void LeaveGameRequestMessage::SharedDtor() {
11461   #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
11462   if (this != &default_instance()) {
11463   #else
11464   if (this != default_instance_) {
11465   #endif
11466   }
11467 }
11468 
11469 void LeaveGameRequestMessage::SetCachedSize(int size) const {
11470   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
11471   _cached_size_ = size;
11472   GOOGLE_SAFE_CONCURRENT_WRITES_END();
11473 }
11474 const LeaveGameRequestMessage& LeaveGameRequestMessage::default_instance() {
11475 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
11476   protobuf_AddDesc_pokerth_2eproto();
11477 #else
11478   if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto();
11479 #endif
11480   return *default_instance_;
11481 }
11482 
11483 LeaveGameRequestMessage* LeaveGameRequestMessage::default_instance_ = NULL;
11484 
11485 LeaveGameRequestMessage* LeaveGameRequestMessage::New() const {
11486   return new LeaveGameRequestMessage;
11487 }
11488 
11489 void LeaveGameRequestMessage::Clear() {
11490   gameid_ = 0u;
11491   ::memset(_has_bits_, 0, sizeof(_has_bits_));
11492   mutable_unknown_fields()->clear();
11493 }
11494 
11495 bool LeaveGameRequestMessage::MergePartialFromCodedStream(
11496     ::google::protobuf::io::CodedInputStream* input) {
11497 #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
11498   ::google::protobuf::uint32 tag;
11499   ::google::protobuf::io::StringOutputStream unknown_fields_string(
11500       mutable_unknown_fields());
11501   ::google::protobuf::io::CodedOutputStream unknown_fields_stream(
11502       &unknown_fields_string);
11503   // @@protoc_insertion_point(parse_start:LeaveGameRequestMessage)
11504   for (;;) {
11505     ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
11506     tag = p.first;
11507     if (!p.second) goto handle_unusual;
11508     switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
11509       // required uint32 gameId = 1;
11510       case 1: {
11511         if (tag == 8) {
11512           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
11513                    ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
11514                  input, &gameid_)));
11515           set_has_gameid();
11516         } else {
11517           goto handle_unusual;
11518         }
11519         if (input->ExpectAtEnd()) goto success;
11520         break;
11521       }
11522 
11523       default: {
11524       handle_unusual:
11525         if (tag == 0 ||
11526             ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
11527             ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
11528           goto success;
11529         }
11530         DO_(::google::protobuf::internal::WireFormatLite::SkipField(
11531             input, tag, &unknown_fields_stream));
11532         break;
11533       }
11534     }
11535   }
11536 success:
11537   // @@protoc_insertion_point(parse_success:LeaveGameRequestMessage)
11538   return true;
11539 failure:
11540   // @@protoc_insertion_point(parse_failure:LeaveGameRequestMessage)
11541   return false;
11542 #undef DO_
11543 }
11544 
11545 void LeaveGameRequestMessage::SerializeWithCachedSizes(
11546     ::google::protobuf::io::CodedOutputStream* output) const {
11547   // @@protoc_insertion_point(serialize_start:LeaveGameRequestMessage)
11548   // required uint32 gameId = 1;
11549   if (has_gameid()) {
11550     ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->gameid(), output);
11551   }
11552 
11553   output->WriteRaw(unknown_fields().data(),
11554                    unknown_fields().size());
11555   // @@protoc_insertion_point(serialize_end:LeaveGameRequestMessage)
11556 }
11557 
11558 int LeaveGameRequestMessage::ByteSize() const {
11559   int total_size = 0;
11560 
11561   if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
11562     // required uint32 gameId = 1;
11563     if (has_gameid()) {
11564       total_size += 1 +
11565         ::google::protobuf::internal::WireFormatLite::UInt32Size(
11566           this->gameid());
11567     }
11568 
11569   }
11570   total_size += unknown_fields().size();
11571 
11572   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
11573   _cached_size_ = total_size;
11574   GOOGLE_SAFE_CONCURRENT_WRITES_END();
11575   return total_size;
11576 }
11577 
11578 void LeaveGameRequestMessage::CheckTypeAndMergeFrom(
11579     const ::google::protobuf::MessageLite& from) {
11580   MergeFrom(*::google::protobuf::down_cast<const LeaveGameRequestMessage*>(&from));
11581 }
11582 
11583 void LeaveGameRequestMessage::MergeFrom(const LeaveGameRequestMessage& from) {
11584   GOOGLE_CHECK_NE(&from, this);
11585   if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
11586     if (from.has_gameid()) {
11587       set_gameid(from.gameid());
11588     }
11589   }
11590   mutable_unknown_fields()->append(from.unknown_fields());
11591 }
11592 
11593 void LeaveGameRequestMessage::CopyFrom(const LeaveGameRequestMessage& from) {
11594   if (&from == this) return;
11595   Clear();
11596   MergeFrom(from);
11597 }
11598 
11599 bool LeaveGameRequestMessage::IsInitialized() const {
11600   if ((_has_bits_[0] & 0x00000001) != 0x00000001) return false;
11601 
11602   return true;
11603 }
11604 
11605 void LeaveGameRequestMessage::Swap(LeaveGameRequestMessage* other) {
11606   if (other != this) {
11607     std::swap(gameid_, other->gameid_);
11608     std::swap(_has_bits_[0], other->_has_bits_[0]);
11609     _unknown_fields_.swap(other->_unknown_fields_);
11610     std::swap(_cached_size_, other->_cached_size_);
11611   }
11612 }
11613 
11614 ::std::string LeaveGameRequestMessage::GetTypeName() const {
11615   return "LeaveGameRequestMessage";
11616 }
11617 
11618 
11619 // ===================================================================
11620 
11621 #ifndef _MSC_VER
11622 const int InvitePlayerToGameMessage::kGameIdFieldNumber;
11623 const int InvitePlayerToGameMessage::kPlayerIdFieldNumber;
11624 #endif  // !_MSC_VER
11625 
11626 InvitePlayerToGameMessage::InvitePlayerToGameMessage()
11627   : ::google::protobuf::MessageLite() {
11628   SharedCtor();
11629   // @@protoc_insertion_point(constructor:InvitePlayerToGameMessage)
11630 }
11631 
11632 void InvitePlayerToGameMessage::InitAsDefaultInstance() {
11633 }
11634 
11635 InvitePlayerToGameMessage::InvitePlayerToGameMessage(const InvitePlayerToGameMessage& from)
11636   : ::google::protobuf::MessageLite() {
11637   SharedCtor();
11638   MergeFrom(from);
11639   // @@protoc_insertion_point(copy_constructor:InvitePlayerToGameMessage)
11640 }
11641 
11642 void InvitePlayerToGameMessage::SharedCtor() {
11643   _cached_size_ = 0;
11644   gameid_ = 0u;
11645   playerid_ = 0u;
11646   ::memset(_has_bits_, 0, sizeof(_has_bits_));
11647 }
11648 
11649 InvitePlayerToGameMessage::~InvitePlayerToGameMessage() {
11650   // @@protoc_insertion_point(destructor:InvitePlayerToGameMessage)
11651   SharedDtor();
11652 }
11653 
11654 void InvitePlayerToGameMessage::SharedDtor() {
11655   #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
11656   if (this != &default_instance()) {
11657   #else
11658   if (this != default_instance_) {
11659   #endif
11660   }
11661 }
11662 
11663 void InvitePlayerToGameMessage::SetCachedSize(int size) const {
11664   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
11665   _cached_size_ = size;
11666   GOOGLE_SAFE_CONCURRENT_WRITES_END();
11667 }
11668 const InvitePlayerToGameMessage& InvitePlayerToGameMessage::default_instance() {
11669 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
11670   protobuf_AddDesc_pokerth_2eproto();
11671 #else
11672   if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto();
11673 #endif
11674   return *default_instance_;
11675 }
11676 
11677 InvitePlayerToGameMessage* InvitePlayerToGameMessage::default_instance_ = NULL;
11678 
11679 InvitePlayerToGameMessage* InvitePlayerToGameMessage::New() const {
11680   return new InvitePlayerToGameMessage;
11681 }
11682 
11683 void InvitePlayerToGameMessage::Clear() {
11684 #define OFFSET_OF_FIELD_(f) (reinterpret_cast<char*>(      \
11685   &reinterpret_cast<InvitePlayerToGameMessage*>(16)->f) - \
11686    reinterpret_cast<char*>(16))
11687 
11688 #define ZR_(first, last) do {                              \
11689     size_t f = OFFSET_OF_FIELD_(first);                    \
11690     size_t n = OFFSET_OF_FIELD_(last) - f + sizeof(last);  \
11691     ::memset(&first, 0, n);                                \
11692   } while (0)
11693 
11694   ZR_(gameid_, playerid_);
11695 
11696 #undef OFFSET_OF_FIELD_
11697 #undef ZR_
11698 
11699   ::memset(_has_bits_, 0, sizeof(_has_bits_));
11700   mutable_unknown_fields()->clear();
11701 }
11702 
11703 bool InvitePlayerToGameMessage::MergePartialFromCodedStream(
11704     ::google::protobuf::io::CodedInputStream* input) {
11705 #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
11706   ::google::protobuf::uint32 tag;
11707   ::google::protobuf::io::StringOutputStream unknown_fields_string(
11708       mutable_unknown_fields());
11709   ::google::protobuf::io::CodedOutputStream unknown_fields_stream(
11710       &unknown_fields_string);
11711   // @@protoc_insertion_point(parse_start:InvitePlayerToGameMessage)
11712   for (;;) {
11713     ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
11714     tag = p.first;
11715     if (!p.second) goto handle_unusual;
11716     switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
11717       // required uint32 gameId = 1;
11718       case 1: {
11719         if (tag == 8) {
11720           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
11721                    ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
11722                  input, &gameid_)));
11723           set_has_gameid();
11724         } else {
11725           goto handle_unusual;
11726         }
11727         if (input->ExpectTag(16)) goto parse_playerId;
11728         break;
11729       }
11730 
11731       // required uint32 playerId = 2;
11732       case 2: {
11733         if (tag == 16) {
11734          parse_playerId:
11735           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
11736                    ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
11737                  input, &playerid_)));
11738           set_has_playerid();
11739         } else {
11740           goto handle_unusual;
11741         }
11742         if (input->ExpectAtEnd()) goto success;
11743         break;
11744       }
11745 
11746       default: {
11747       handle_unusual:
11748         if (tag == 0 ||
11749             ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
11750             ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
11751           goto success;
11752         }
11753         DO_(::google::protobuf::internal::WireFormatLite::SkipField(
11754             input, tag, &unknown_fields_stream));
11755         break;
11756       }
11757     }
11758   }
11759 success:
11760   // @@protoc_insertion_point(parse_success:InvitePlayerToGameMessage)
11761   return true;
11762 failure:
11763   // @@protoc_insertion_point(parse_failure:InvitePlayerToGameMessage)
11764   return false;
11765 #undef DO_
11766 }
11767 
11768 void InvitePlayerToGameMessage::SerializeWithCachedSizes(
11769     ::google::protobuf::io::CodedOutputStream* output) const {
11770   // @@protoc_insertion_point(serialize_start:InvitePlayerToGameMessage)
11771   // required uint32 gameId = 1;
11772   if (has_gameid()) {
11773     ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->gameid(), output);
11774   }
11775 
11776   // required uint32 playerId = 2;
11777   if (has_playerid()) {
11778     ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->playerid(), output);
11779   }
11780 
11781   output->WriteRaw(unknown_fields().data(),
11782                    unknown_fields().size());
11783   // @@protoc_insertion_point(serialize_end:InvitePlayerToGameMessage)
11784 }
11785 
11786 int InvitePlayerToGameMessage::ByteSize() const {
11787   int total_size = 0;
11788 
11789   if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
11790     // required uint32 gameId = 1;
11791     if (has_gameid()) {
11792       total_size += 1 +
11793         ::google::protobuf::internal::WireFormatLite::UInt32Size(
11794           this->gameid());
11795     }
11796 
11797     // required uint32 playerId = 2;
11798     if (has_playerid()) {
11799       total_size += 1 +
11800         ::google::protobuf::internal::WireFormatLite::UInt32Size(
11801           this->playerid());
11802     }
11803 
11804   }
11805   total_size += unknown_fields().size();
11806 
11807   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
11808   _cached_size_ = total_size;
11809   GOOGLE_SAFE_CONCURRENT_WRITES_END();
11810   return total_size;
11811 }
11812 
11813 void InvitePlayerToGameMessage::CheckTypeAndMergeFrom(
11814     const ::google::protobuf::MessageLite& from) {
11815   MergeFrom(*::google::protobuf::down_cast<const InvitePlayerToGameMessage*>(&from));
11816 }
11817 
11818 void InvitePlayerToGameMessage::MergeFrom(const InvitePlayerToGameMessage& from) {
11819   GOOGLE_CHECK_NE(&from, this);
11820   if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
11821     if (from.has_gameid()) {
11822       set_gameid(from.gameid());
11823     }
11824     if (from.has_playerid()) {
11825       set_playerid(from.playerid());
11826     }
11827   }
11828   mutable_unknown_fields()->append(from.unknown_fields());
11829 }
11830 
11831 void InvitePlayerToGameMessage::CopyFrom(const InvitePlayerToGameMessage& from) {
11832   if (&from == this) return;
11833   Clear();
11834   MergeFrom(from);
11835 }
11836 
11837 bool InvitePlayerToGameMessage::IsInitialized() const {
11838   if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false;
11839 
11840   return true;
11841 }
11842 
11843 void InvitePlayerToGameMessage::Swap(InvitePlayerToGameMessage* other) {
11844   if (other != this) {
11845     std::swap(gameid_, other->gameid_);
11846     std::swap(playerid_, other->playerid_);
11847     std::swap(_has_bits_[0], other->_has_bits_[0]);
11848     _unknown_fields_.swap(other->_unknown_fields_);
11849     std::swap(_cached_size_, other->_cached_size_);
11850   }
11851 }
11852 
11853 ::std::string InvitePlayerToGameMessage::GetTypeName() const {
11854   return "InvitePlayerToGameMessage";
11855 }
11856 
11857 
11858 // ===================================================================
11859 
11860 #ifndef _MSC_VER
11861 const int InviteNotifyMessage::kGameIdFieldNumber;
11862 const int InviteNotifyMessage::kPlayerIdWhoFieldNumber;
11863 const int InviteNotifyMessage::kPlayerIdByWhomFieldNumber;
11864 #endif  // !_MSC_VER
11865 
11866 InviteNotifyMessage::InviteNotifyMessage()
11867   : ::google::protobuf::MessageLite() {
11868   SharedCtor();
11869   // @@protoc_insertion_point(constructor:InviteNotifyMessage)
11870 }
11871 
11872 void InviteNotifyMessage::InitAsDefaultInstance() {
11873 }
11874 
11875 InviteNotifyMessage::InviteNotifyMessage(const InviteNotifyMessage& from)
11876   : ::google::protobuf::MessageLite() {
11877   SharedCtor();
11878   MergeFrom(from);
11879   // @@protoc_insertion_point(copy_constructor:InviteNotifyMessage)
11880 }
11881 
11882 void InviteNotifyMessage::SharedCtor() {
11883   _cached_size_ = 0;
11884   gameid_ = 0u;
11885   playeridwho_ = 0u;
11886   playeridbywhom_ = 0u;
11887   ::memset(_has_bits_, 0, sizeof(_has_bits_));
11888 }
11889 
11890 InviteNotifyMessage::~InviteNotifyMessage() {
11891   // @@protoc_insertion_point(destructor:InviteNotifyMessage)
11892   SharedDtor();
11893 }
11894 
11895 void InviteNotifyMessage::SharedDtor() {
11896   #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
11897   if (this != &default_instance()) {
11898   #else
11899   if (this != default_instance_) {
11900   #endif
11901   }
11902 }
11903 
11904 void InviteNotifyMessage::SetCachedSize(int size) const {
11905   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
11906   _cached_size_ = size;
11907   GOOGLE_SAFE_CONCURRENT_WRITES_END();
11908 }
11909 const InviteNotifyMessage& InviteNotifyMessage::default_instance() {
11910 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
11911   protobuf_AddDesc_pokerth_2eproto();
11912 #else
11913   if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto();
11914 #endif
11915   return *default_instance_;
11916 }
11917 
11918 InviteNotifyMessage* InviteNotifyMessage::default_instance_ = NULL;
11919 
11920 InviteNotifyMessage* InviteNotifyMessage::New() const {
11921   return new InviteNotifyMessage;
11922 }
11923 
11924 void InviteNotifyMessage::Clear() {
11925 #define OFFSET_OF_FIELD_(f) (reinterpret_cast<char*>(      \
11926   &reinterpret_cast<InviteNotifyMessage*>(16)->f) - \
11927    reinterpret_cast<char*>(16))
11928 
11929 #define ZR_(first, last) do {                              \
11930     size_t f = OFFSET_OF_FIELD_(first);                    \
11931     size_t n = OFFSET_OF_FIELD_(last) - f + sizeof(last);  \
11932     ::memset(&first, 0, n);                                \
11933   } while (0)
11934 
11935   ZR_(gameid_, playeridbywhom_);
11936 
11937 #undef OFFSET_OF_FIELD_
11938 #undef ZR_
11939 
11940   ::memset(_has_bits_, 0, sizeof(_has_bits_));
11941   mutable_unknown_fields()->clear();
11942 }
11943 
11944 bool InviteNotifyMessage::MergePartialFromCodedStream(
11945     ::google::protobuf::io::CodedInputStream* input) {
11946 #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
11947   ::google::protobuf::uint32 tag;
11948   ::google::protobuf::io::StringOutputStream unknown_fields_string(
11949       mutable_unknown_fields());
11950   ::google::protobuf::io::CodedOutputStream unknown_fields_stream(
11951       &unknown_fields_string);
11952   // @@protoc_insertion_point(parse_start:InviteNotifyMessage)
11953   for (;;) {
11954     ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
11955     tag = p.first;
11956     if (!p.second) goto handle_unusual;
11957     switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
11958       // required uint32 gameId = 1;
11959       case 1: {
11960         if (tag == 8) {
11961           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
11962                    ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
11963                  input, &gameid_)));
11964           set_has_gameid();
11965         } else {
11966           goto handle_unusual;
11967         }
11968         if (input->ExpectTag(16)) goto parse_playerIdWho;
11969         break;
11970       }
11971 
11972       // required uint32 playerIdWho = 2;
11973       case 2: {
11974         if (tag == 16) {
11975          parse_playerIdWho:
11976           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
11977                    ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
11978                  input, &playeridwho_)));
11979           set_has_playeridwho();
11980         } else {
11981           goto handle_unusual;
11982         }
11983         if (input->ExpectTag(24)) goto parse_playerIdByWhom;
11984         break;
11985       }
11986 
11987       // required uint32 playerIdByWhom = 3;
11988       case 3: {
11989         if (tag == 24) {
11990          parse_playerIdByWhom:
11991           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
11992                    ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
11993                  input, &playeridbywhom_)));
11994           set_has_playeridbywhom();
11995         } else {
11996           goto handle_unusual;
11997         }
11998         if (input->ExpectAtEnd()) goto success;
11999         break;
12000       }
12001 
12002       default: {
12003       handle_unusual:
12004         if (tag == 0 ||
12005             ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
12006             ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
12007           goto success;
12008         }
12009         DO_(::google::protobuf::internal::WireFormatLite::SkipField(
12010             input, tag, &unknown_fields_stream));
12011         break;
12012       }
12013     }
12014   }
12015 success:
12016   // @@protoc_insertion_point(parse_success:InviteNotifyMessage)
12017   return true;
12018 failure:
12019   // @@protoc_insertion_point(parse_failure:InviteNotifyMessage)
12020   return false;
12021 #undef DO_
12022 }
12023 
12024 void InviteNotifyMessage::SerializeWithCachedSizes(
12025     ::google::protobuf::io::CodedOutputStream* output) const {
12026   // @@protoc_insertion_point(serialize_start:InviteNotifyMessage)
12027   // required uint32 gameId = 1;
12028   if (has_gameid()) {
12029     ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->gameid(), output);
12030   }
12031 
12032   // required uint32 playerIdWho = 2;
12033   if (has_playeridwho()) {
12034     ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->playeridwho(), output);
12035   }
12036 
12037   // required uint32 playerIdByWhom = 3;
12038   if (has_playeridbywhom()) {
12039     ::google::protobuf::internal::WireFormatLite::WriteUInt32(3, this->playeridbywhom(), output);
12040   }
12041 
12042   output->WriteRaw(unknown_fields().data(),
12043                    unknown_fields().size());
12044   // @@protoc_insertion_point(serialize_end:InviteNotifyMessage)
12045 }
12046 
12047 int InviteNotifyMessage::ByteSize() const {
12048   int total_size = 0;
12049 
12050   if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
12051     // required uint32 gameId = 1;
12052     if (has_gameid()) {
12053       total_size += 1 +
12054         ::google::protobuf::internal::WireFormatLite::UInt32Size(
12055           this->gameid());
12056     }
12057 
12058     // required uint32 playerIdWho = 2;
12059     if (has_playeridwho()) {
12060       total_size += 1 +
12061         ::google::protobuf::internal::WireFormatLite::UInt32Size(
12062           this->playeridwho());
12063     }
12064 
12065     // required uint32 playerIdByWhom = 3;
12066     if (has_playeridbywhom()) {
12067       total_size += 1 +
12068         ::google::protobuf::internal::WireFormatLite::UInt32Size(
12069           this->playeridbywhom());
12070     }
12071 
12072   }
12073   total_size += unknown_fields().size();
12074 
12075   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
12076   _cached_size_ = total_size;
12077   GOOGLE_SAFE_CONCURRENT_WRITES_END();
12078   return total_size;
12079 }
12080 
12081 void InviteNotifyMessage::CheckTypeAndMergeFrom(
12082     const ::google::protobuf::MessageLite& from) {
12083   MergeFrom(*::google::protobuf::down_cast<const InviteNotifyMessage*>(&from));
12084 }
12085 
12086 void InviteNotifyMessage::MergeFrom(const InviteNotifyMessage& from) {
12087   GOOGLE_CHECK_NE(&from, this);
12088   if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
12089     if (from.has_gameid()) {
12090       set_gameid(from.gameid());
12091     }
12092     if (from.has_playeridwho()) {
12093       set_playeridwho(from.playeridwho());
12094     }
12095     if (from.has_playeridbywhom()) {
12096       set_playeridbywhom(from.playeridbywhom());
12097     }
12098   }
12099   mutable_unknown_fields()->append(from.unknown_fields());
12100 }
12101 
12102 void InviteNotifyMessage::CopyFrom(const InviteNotifyMessage& from) {
12103   if (&from == this) return;
12104   Clear();
12105   MergeFrom(from);
12106 }
12107 
12108 bool InviteNotifyMessage::IsInitialized() const {
12109   if ((_has_bits_[0] & 0x00000007) != 0x00000007) return false;
12110 
12111   return true;
12112 }
12113 
12114 void InviteNotifyMessage::Swap(InviteNotifyMessage* other) {
12115   if (other != this) {
12116     std::swap(gameid_, other->gameid_);
12117     std::swap(playeridwho_, other->playeridwho_);
12118     std::swap(playeridbywhom_, other->playeridbywhom_);
12119     std::swap(_has_bits_[0], other->_has_bits_[0]);
12120     _unknown_fields_.swap(other->_unknown_fields_);
12121     std::swap(_cached_size_, other->_cached_size_);
12122   }
12123 }
12124 
12125 ::std::string InviteNotifyMessage::GetTypeName() const {
12126   return "InviteNotifyMessage";
12127 }
12128 
12129 
12130 // ===================================================================
12131 
12132 bool RejectGameInvitationMessage_RejectGameInvReason_IsValid(int value) {
12133   switch(value) {
12134     case 0:
12135     case 1:
12136       return true;
12137     default:
12138       return false;
12139   }
12140 }
12141 
12142 #ifndef _MSC_VER
12143 const RejectGameInvitationMessage_RejectGameInvReason RejectGameInvitationMessage::rejectReasonNo;
12144 const RejectGameInvitationMessage_RejectGameInvReason RejectGameInvitationMessage::rejectReasonBusy;
12145 const RejectGameInvitationMessage_RejectGameInvReason RejectGameInvitationMessage::RejectGameInvReason_MIN;
12146 const RejectGameInvitationMessage_RejectGameInvReason RejectGameInvitationMessage::RejectGameInvReason_MAX;
12147 const int RejectGameInvitationMessage::RejectGameInvReason_ARRAYSIZE;
12148 #endif  // _MSC_VER
12149 #ifndef _MSC_VER
12150 const int RejectGameInvitationMessage::kGameIdFieldNumber;
12151 const int RejectGameInvitationMessage::kMyRejectReasonFieldNumber;
12152 #endif  // !_MSC_VER
12153 
12154 RejectGameInvitationMessage::RejectGameInvitationMessage()
12155   : ::google::protobuf::MessageLite() {
12156   SharedCtor();
12157   // @@protoc_insertion_point(constructor:RejectGameInvitationMessage)
12158 }
12159 
12160 void RejectGameInvitationMessage::InitAsDefaultInstance() {
12161 }
12162 
12163 RejectGameInvitationMessage::RejectGameInvitationMessage(const RejectGameInvitationMessage& from)
12164   : ::google::protobuf::MessageLite() {
12165   SharedCtor();
12166   MergeFrom(from);
12167   // @@protoc_insertion_point(copy_constructor:RejectGameInvitationMessage)
12168 }
12169 
12170 void RejectGameInvitationMessage::SharedCtor() {
12171   _cached_size_ = 0;
12172   gameid_ = 0u;
12173   myrejectreason_ = 0;
12174   ::memset(_has_bits_, 0, sizeof(_has_bits_));
12175 }
12176 
12177 RejectGameInvitationMessage::~RejectGameInvitationMessage() {
12178   // @@protoc_insertion_point(destructor:RejectGameInvitationMessage)
12179   SharedDtor();
12180 }
12181 
12182 void RejectGameInvitationMessage::SharedDtor() {
12183   #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
12184   if (this != &default_instance()) {
12185   #else
12186   if (this != default_instance_) {
12187   #endif
12188   }
12189 }
12190 
12191 void RejectGameInvitationMessage::SetCachedSize(int size) const {
12192   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
12193   _cached_size_ = size;
12194   GOOGLE_SAFE_CONCURRENT_WRITES_END();
12195 }
12196 const RejectGameInvitationMessage& RejectGameInvitationMessage::default_instance() {
12197 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
12198   protobuf_AddDesc_pokerth_2eproto();
12199 #else
12200   if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto();
12201 #endif
12202   return *default_instance_;
12203 }
12204 
12205 RejectGameInvitationMessage* RejectGameInvitationMessage::default_instance_ = NULL;
12206 
12207 RejectGameInvitationMessage* RejectGameInvitationMessage::New() const {
12208   return new RejectGameInvitationMessage;
12209 }
12210 
12211 void RejectGameInvitationMessage::Clear() {
12212 #define OFFSET_OF_FIELD_(f) (reinterpret_cast<char*>(      \
12213   &reinterpret_cast<RejectGameInvitationMessage*>(16)->f) - \
12214    reinterpret_cast<char*>(16))
12215 
12216 #define ZR_(first, last) do {                              \
12217     size_t f = OFFSET_OF_FIELD_(first);                    \
12218     size_t n = OFFSET_OF_FIELD_(last) - f + sizeof(last);  \
12219     ::memset(&first, 0, n);                                \
12220   } while (0)
12221 
12222   ZR_(gameid_, myrejectreason_);
12223 
12224 #undef OFFSET_OF_FIELD_
12225 #undef ZR_
12226 
12227   ::memset(_has_bits_, 0, sizeof(_has_bits_));
12228   mutable_unknown_fields()->clear();
12229 }
12230 
12231 bool RejectGameInvitationMessage::MergePartialFromCodedStream(
12232     ::google::protobuf::io::CodedInputStream* input) {
12233 #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
12234   ::google::protobuf::uint32 tag;
12235   ::google::protobuf::io::StringOutputStream unknown_fields_string(
12236       mutable_unknown_fields());
12237   ::google::protobuf::io::CodedOutputStream unknown_fields_stream(
12238       &unknown_fields_string);
12239   // @@protoc_insertion_point(parse_start:RejectGameInvitationMessage)
12240   for (;;) {
12241     ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
12242     tag = p.first;
12243     if (!p.second) goto handle_unusual;
12244     switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
12245       // required uint32 gameId = 1;
12246       case 1: {
12247         if (tag == 8) {
12248           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
12249                    ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
12250                  input, &gameid_)));
12251           set_has_gameid();
12252         } else {
12253           goto handle_unusual;
12254         }
12255         if (input->ExpectTag(16)) goto parse_myRejectReason;
12256         break;
12257       }
12258 
12259       // required .RejectGameInvitationMessage.RejectGameInvReason myRejectReason = 2;
12260       case 2: {
12261         if (tag == 16) {
12262          parse_myRejectReason:
12263           int value;
12264           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
12265                    int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
12266                  input, &value)));
12267           if (::RejectGameInvitationMessage_RejectGameInvReason_IsValid(value)) {
12268             set_myrejectreason(static_cast< ::RejectGameInvitationMessage_RejectGameInvReason >(value));
12269           } else {
12270             unknown_fields_stream.WriteVarint32(tag);
12271             unknown_fields_stream.WriteVarint32(value);
12272           }
12273         } else {
12274           goto handle_unusual;
12275         }
12276         if (input->ExpectAtEnd()) goto success;
12277         break;
12278       }
12279 
12280       default: {
12281       handle_unusual:
12282         if (tag == 0 ||
12283             ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
12284             ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
12285           goto success;
12286         }
12287         DO_(::google::protobuf::internal::WireFormatLite::SkipField(
12288             input, tag, &unknown_fields_stream));
12289         break;
12290       }
12291     }
12292   }
12293 success:
12294   // @@protoc_insertion_point(parse_success:RejectGameInvitationMessage)
12295   return true;
12296 failure:
12297   // @@protoc_insertion_point(parse_failure:RejectGameInvitationMessage)
12298   return false;
12299 #undef DO_
12300 }
12301 
12302 void RejectGameInvitationMessage::SerializeWithCachedSizes(
12303     ::google::protobuf::io::CodedOutputStream* output) const {
12304   // @@protoc_insertion_point(serialize_start:RejectGameInvitationMessage)
12305   // required uint32 gameId = 1;
12306   if (has_gameid()) {
12307     ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->gameid(), output);
12308   }
12309 
12310   // required .RejectGameInvitationMessage.RejectGameInvReason myRejectReason = 2;
12311   if (has_myrejectreason()) {
12312     ::google::protobuf::internal::WireFormatLite::WriteEnum(
12313       2, this->myrejectreason(), output);
12314   }
12315 
12316   output->WriteRaw(unknown_fields().data(),
12317                    unknown_fields().size());
12318   // @@protoc_insertion_point(serialize_end:RejectGameInvitationMessage)
12319 }
12320 
12321 int RejectGameInvitationMessage::ByteSize() const {
12322   int total_size = 0;
12323 
12324   if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
12325     // required uint32 gameId = 1;
12326     if (has_gameid()) {
12327       total_size += 1 +
12328         ::google::protobuf::internal::WireFormatLite::UInt32Size(
12329           this->gameid());
12330     }
12331 
12332     // required .RejectGameInvitationMessage.RejectGameInvReason myRejectReason = 2;
12333     if (has_myrejectreason()) {
12334       total_size += 1 +
12335         ::google::protobuf::internal::WireFormatLite::EnumSize(this->myrejectreason());
12336     }
12337 
12338   }
12339   total_size += unknown_fields().size();
12340 
12341   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
12342   _cached_size_ = total_size;
12343   GOOGLE_SAFE_CONCURRENT_WRITES_END();
12344   return total_size;
12345 }
12346 
12347 void RejectGameInvitationMessage::CheckTypeAndMergeFrom(
12348     const ::google::protobuf::MessageLite& from) {
12349   MergeFrom(*::google::protobuf::down_cast<const RejectGameInvitationMessage*>(&from));
12350 }
12351 
12352 void RejectGameInvitationMessage::MergeFrom(const RejectGameInvitationMessage& from) {
12353   GOOGLE_CHECK_NE(&from, this);
12354   if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
12355     if (from.has_gameid()) {
12356       set_gameid(from.gameid());
12357     }
12358     if (from.has_myrejectreason()) {
12359       set_myrejectreason(from.myrejectreason());
12360     }
12361   }
12362   mutable_unknown_fields()->append(from.unknown_fields());
12363 }
12364 
12365 void RejectGameInvitationMessage::CopyFrom(const RejectGameInvitationMessage& from) {
12366   if (&from == this) return;
12367   Clear();
12368   MergeFrom(from);
12369 }
12370 
12371 bool RejectGameInvitationMessage::IsInitialized() const {
12372   if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false;
12373 
12374   return true;
12375 }
12376 
12377 void RejectGameInvitationMessage::Swap(RejectGameInvitationMessage* other) {
12378   if (other != this) {
12379     std::swap(gameid_, other->gameid_);
12380     std::swap(myrejectreason_, other->myrejectreason_);
12381     std::swap(_has_bits_[0], other->_has_bits_[0]);
12382     _unknown_fields_.swap(other->_unknown_fields_);
12383     std::swap(_cached_size_, other->_cached_size_);
12384   }
12385 }
12386 
12387 ::std::string RejectGameInvitationMessage::GetTypeName() const {
12388   return "RejectGameInvitationMessage";
12389 }
12390 
12391 
12392 // ===================================================================
12393 
12394 #ifndef _MSC_VER
12395 const int RejectInvNotifyMessage::kGameIdFieldNumber;
12396 const int RejectInvNotifyMessage::kPlayerIdFieldNumber;
12397 const int RejectInvNotifyMessage::kPlayerRejectReasonFieldNumber;
12398 #endif  // !_MSC_VER
12399 
12400 RejectInvNotifyMessage::RejectInvNotifyMessage()
12401   : ::google::protobuf::MessageLite() {
12402   SharedCtor();
12403   // @@protoc_insertion_point(constructor:RejectInvNotifyMessage)
12404 }
12405 
12406 void RejectInvNotifyMessage::InitAsDefaultInstance() {
12407 }
12408 
12409 RejectInvNotifyMessage::RejectInvNotifyMessage(const RejectInvNotifyMessage& from)
12410   : ::google::protobuf::MessageLite() {
12411   SharedCtor();
12412   MergeFrom(from);
12413   // @@protoc_insertion_point(copy_constructor:RejectInvNotifyMessage)
12414 }
12415 
12416 void RejectInvNotifyMessage::SharedCtor() {
12417   _cached_size_ = 0;
12418   gameid_ = 0u;
12419   playerid_ = 0u;
12420   playerrejectreason_ = 0;
12421   ::memset(_has_bits_, 0, sizeof(_has_bits_));
12422 }
12423 
12424 RejectInvNotifyMessage::~RejectInvNotifyMessage() {
12425   // @@protoc_insertion_point(destructor:RejectInvNotifyMessage)
12426   SharedDtor();
12427 }
12428 
12429 void RejectInvNotifyMessage::SharedDtor() {
12430   #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
12431   if (this != &default_instance()) {
12432   #else
12433   if (this != default_instance_) {
12434   #endif
12435   }
12436 }
12437 
12438 void RejectInvNotifyMessage::SetCachedSize(int size) const {
12439   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
12440   _cached_size_ = size;
12441   GOOGLE_SAFE_CONCURRENT_WRITES_END();
12442 }
12443 const RejectInvNotifyMessage& RejectInvNotifyMessage::default_instance() {
12444 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
12445   protobuf_AddDesc_pokerth_2eproto();
12446 #else
12447   if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto();
12448 #endif
12449   return *default_instance_;
12450 }
12451 
12452 RejectInvNotifyMessage* RejectInvNotifyMessage::default_instance_ = NULL;
12453 
12454 RejectInvNotifyMessage* RejectInvNotifyMessage::New() const {
12455   return new RejectInvNotifyMessage;
12456 }
12457 
12458 void RejectInvNotifyMessage::Clear() {
12459 #define OFFSET_OF_FIELD_(f) (reinterpret_cast<char*>(      \
12460   &reinterpret_cast<RejectInvNotifyMessage*>(16)->f) - \
12461    reinterpret_cast<char*>(16))
12462 
12463 #define ZR_(first, last) do {                              \
12464     size_t f = OFFSET_OF_FIELD_(first);                    \
12465     size_t n = OFFSET_OF_FIELD_(last) - f + sizeof(last);  \
12466     ::memset(&first, 0, n);                                \
12467   } while (0)
12468 
12469   ZR_(gameid_, playerrejectreason_);
12470 
12471 #undef OFFSET_OF_FIELD_
12472 #undef ZR_
12473 
12474   ::memset(_has_bits_, 0, sizeof(_has_bits_));
12475   mutable_unknown_fields()->clear();
12476 }
12477 
12478 bool RejectInvNotifyMessage::MergePartialFromCodedStream(
12479     ::google::protobuf::io::CodedInputStream* input) {
12480 #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
12481   ::google::protobuf::uint32 tag;
12482   ::google::protobuf::io::StringOutputStream unknown_fields_string(
12483       mutable_unknown_fields());
12484   ::google::protobuf::io::CodedOutputStream unknown_fields_stream(
12485       &unknown_fields_string);
12486   // @@protoc_insertion_point(parse_start:RejectInvNotifyMessage)
12487   for (;;) {
12488     ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
12489     tag = p.first;
12490     if (!p.second) goto handle_unusual;
12491     switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
12492       // required uint32 gameId = 1;
12493       case 1: {
12494         if (tag == 8) {
12495           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
12496                    ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
12497                  input, &gameid_)));
12498           set_has_gameid();
12499         } else {
12500           goto handle_unusual;
12501         }
12502         if (input->ExpectTag(16)) goto parse_playerId;
12503         break;
12504       }
12505 
12506       // required uint32 playerId = 2;
12507       case 2: {
12508         if (tag == 16) {
12509          parse_playerId:
12510           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
12511                    ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
12512                  input, &playerid_)));
12513           set_has_playerid();
12514         } else {
12515           goto handle_unusual;
12516         }
12517         if (input->ExpectTag(24)) goto parse_playerRejectReason;
12518         break;
12519       }
12520 
12521       // required .RejectGameInvitationMessage.RejectGameInvReason playerRejectReason = 3;
12522       case 3: {
12523         if (tag == 24) {
12524          parse_playerRejectReason:
12525           int value;
12526           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
12527                    int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
12528                  input, &value)));
12529           if (::RejectGameInvitationMessage_RejectGameInvReason_IsValid(value)) {
12530             set_playerrejectreason(static_cast< ::RejectGameInvitationMessage_RejectGameInvReason >(value));
12531           } else {
12532             unknown_fields_stream.WriteVarint32(tag);
12533             unknown_fields_stream.WriteVarint32(value);
12534           }
12535         } else {
12536           goto handle_unusual;
12537         }
12538         if (input->ExpectAtEnd()) goto success;
12539         break;
12540       }
12541 
12542       default: {
12543       handle_unusual:
12544         if (tag == 0 ||
12545             ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
12546             ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
12547           goto success;
12548         }
12549         DO_(::google::protobuf::internal::WireFormatLite::SkipField(
12550             input, tag, &unknown_fields_stream));
12551         break;
12552       }
12553     }
12554   }
12555 success:
12556   // @@protoc_insertion_point(parse_success:RejectInvNotifyMessage)
12557   return true;
12558 failure:
12559   // @@protoc_insertion_point(parse_failure:RejectInvNotifyMessage)
12560   return false;
12561 #undef DO_
12562 }
12563 
12564 void RejectInvNotifyMessage::SerializeWithCachedSizes(
12565     ::google::protobuf::io::CodedOutputStream* output) const {
12566   // @@protoc_insertion_point(serialize_start:RejectInvNotifyMessage)
12567   // required uint32 gameId = 1;
12568   if (has_gameid()) {
12569     ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->gameid(), output);
12570   }
12571 
12572   // required uint32 playerId = 2;
12573   if (has_playerid()) {
12574     ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->playerid(), output);
12575   }
12576 
12577   // required .RejectGameInvitationMessage.RejectGameInvReason playerRejectReason = 3;
12578   if (has_playerrejectreason()) {
12579     ::google::protobuf::internal::WireFormatLite::WriteEnum(
12580       3, this->playerrejectreason(), output);
12581   }
12582 
12583   output->WriteRaw(unknown_fields().data(),
12584                    unknown_fields().size());
12585   // @@protoc_insertion_point(serialize_end:RejectInvNotifyMessage)
12586 }
12587 
12588 int RejectInvNotifyMessage::ByteSize() const {
12589   int total_size = 0;
12590 
12591   if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
12592     // required uint32 gameId = 1;
12593     if (has_gameid()) {
12594       total_size += 1 +
12595         ::google::protobuf::internal::WireFormatLite::UInt32Size(
12596           this->gameid());
12597     }
12598 
12599     // required uint32 playerId = 2;
12600     if (has_playerid()) {
12601       total_size += 1 +
12602         ::google::protobuf::internal::WireFormatLite::UInt32Size(
12603           this->playerid());
12604     }
12605 
12606     // required .RejectGameInvitationMessage.RejectGameInvReason playerRejectReason = 3;
12607     if (has_playerrejectreason()) {
12608       total_size += 1 +
12609         ::google::protobuf::internal::WireFormatLite::EnumSize(this->playerrejectreason());
12610     }
12611 
12612   }
12613   total_size += unknown_fields().size();
12614 
12615   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
12616   _cached_size_ = total_size;
12617   GOOGLE_SAFE_CONCURRENT_WRITES_END();
12618   return total_size;
12619 }
12620 
12621 void RejectInvNotifyMessage::CheckTypeAndMergeFrom(
12622     const ::google::protobuf::MessageLite& from) {
12623   MergeFrom(*::google::protobuf::down_cast<const RejectInvNotifyMessage*>(&from));
12624 }
12625 
12626 void RejectInvNotifyMessage::MergeFrom(const RejectInvNotifyMessage& from) {
12627   GOOGLE_CHECK_NE(&from, this);
12628   if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
12629     if (from.has_gameid()) {
12630       set_gameid(from.gameid());
12631     }
12632     if (from.has_playerid()) {
12633       set_playerid(from.playerid());
12634     }
12635     if (from.has_playerrejectreason()) {
12636       set_playerrejectreason(from.playerrejectreason());
12637     }
12638   }
12639   mutable_unknown_fields()->append(from.unknown_fields());
12640 }
12641 
12642 void RejectInvNotifyMessage::CopyFrom(const RejectInvNotifyMessage& from) {
12643   if (&from == this) return;
12644   Clear();
12645   MergeFrom(from);
12646 }
12647 
12648 bool RejectInvNotifyMessage::IsInitialized() const {
12649   if ((_has_bits_[0] & 0x00000007) != 0x00000007) return false;
12650 
12651   return true;
12652 }
12653 
12654 void RejectInvNotifyMessage::Swap(RejectInvNotifyMessage* other) {
12655   if (other != this) {
12656     std::swap(gameid_, other->gameid_);
12657     std::swap(playerid_, other->playerid_);
12658     std::swap(playerrejectreason_, other->playerrejectreason_);
12659     std::swap(_has_bits_[0], other->_has_bits_[0]);
12660     _unknown_fields_.swap(other->_unknown_fields_);
12661     std::swap(_cached_size_, other->_cached_size_);
12662   }
12663 }
12664 
12665 ::std::string RejectInvNotifyMessage::GetTypeName() const {
12666   return "RejectInvNotifyMessage";
12667 }
12668 
12669 
12670 // ===================================================================
12671 
12672 bool StartEventMessage_StartEventType_IsValid(int value) {
12673   switch(value) {
12674     case 0:
12675     case 1:
12676       return true;
12677     default:
12678       return false;
12679   }
12680 }
12681 
12682 #ifndef _MSC_VER
12683 const StartEventMessage_StartEventType StartEventMessage::startEvent;
12684 const StartEventMessage_StartEventType StartEventMessage::rejoinEvent;
12685 const StartEventMessage_StartEventType StartEventMessage::StartEventType_MIN;
12686 const StartEventMessage_StartEventType StartEventMessage::StartEventType_MAX;
12687 const int StartEventMessage::StartEventType_ARRAYSIZE;
12688 #endif  // _MSC_VER
12689 #ifndef _MSC_VER
12690 const int StartEventMessage::kGameIdFieldNumber;
12691 const int StartEventMessage::kStartEventTypeFieldNumber;
12692 const int StartEventMessage::kFillWithComputerPlayersFieldNumber;
12693 #endif  // !_MSC_VER
12694 
12695 StartEventMessage::StartEventMessage()
12696   : ::google::protobuf::MessageLite() {
12697   SharedCtor();
12698   // @@protoc_insertion_point(constructor:StartEventMessage)
12699 }
12700 
12701 void StartEventMessage::InitAsDefaultInstance() {
12702 }
12703 
12704 StartEventMessage::StartEventMessage(const StartEventMessage& from)
12705   : ::google::protobuf::MessageLite() {
12706   SharedCtor();
12707   MergeFrom(from);
12708   // @@protoc_insertion_point(copy_constructor:StartEventMessage)
12709 }
12710 
12711 void StartEventMessage::SharedCtor() {
12712   _cached_size_ = 0;
12713   gameid_ = 0u;
12714   starteventtype_ = 0;
12715   fillwithcomputerplayers_ = false;
12716   ::memset(_has_bits_, 0, sizeof(_has_bits_));
12717 }
12718 
12719 StartEventMessage::~StartEventMessage() {
12720   // @@protoc_insertion_point(destructor:StartEventMessage)
12721   SharedDtor();
12722 }
12723 
12724 void StartEventMessage::SharedDtor() {
12725   #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
12726   if (this != &default_instance()) {
12727   #else
12728   if (this != default_instance_) {
12729   #endif
12730   }
12731 }
12732 
12733 void StartEventMessage::SetCachedSize(int size) const {
12734   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
12735   _cached_size_ = size;
12736   GOOGLE_SAFE_CONCURRENT_WRITES_END();
12737 }
12738 const StartEventMessage& StartEventMessage::default_instance() {
12739 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
12740   protobuf_AddDesc_pokerth_2eproto();
12741 #else
12742   if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto();
12743 #endif
12744   return *default_instance_;
12745 }
12746 
12747 StartEventMessage* StartEventMessage::default_instance_ = NULL;
12748 
12749 StartEventMessage* StartEventMessage::New() const {
12750   return new StartEventMessage;
12751 }
12752 
12753 void StartEventMessage::Clear() {
12754 #define OFFSET_OF_FIELD_(f) (reinterpret_cast<char*>(      \
12755   &reinterpret_cast<StartEventMessage*>(16)->f) - \
12756    reinterpret_cast<char*>(16))
12757 
12758 #define ZR_(first, last) do {                              \
12759     size_t f = OFFSET_OF_FIELD_(first);                    \
12760     size_t n = OFFSET_OF_FIELD_(last) - f + sizeof(last);  \
12761     ::memset(&first, 0, n);                                \
12762   } while (0)
12763 
12764   ZR_(gameid_, fillwithcomputerplayers_);
12765 
12766 #undef OFFSET_OF_FIELD_
12767 #undef ZR_
12768 
12769   ::memset(_has_bits_, 0, sizeof(_has_bits_));
12770   mutable_unknown_fields()->clear();
12771 }
12772 
12773 bool StartEventMessage::MergePartialFromCodedStream(
12774     ::google::protobuf::io::CodedInputStream* input) {
12775 #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
12776   ::google::protobuf::uint32 tag;
12777   ::google::protobuf::io::StringOutputStream unknown_fields_string(
12778       mutable_unknown_fields());
12779   ::google::protobuf::io::CodedOutputStream unknown_fields_stream(
12780       &unknown_fields_string);
12781   // @@protoc_insertion_point(parse_start:StartEventMessage)
12782   for (;;) {
12783     ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
12784     tag = p.first;
12785     if (!p.second) goto handle_unusual;
12786     switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
12787       // required uint32 gameId = 1;
12788       case 1: {
12789         if (tag == 8) {
12790           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
12791                    ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
12792                  input, &gameid_)));
12793           set_has_gameid();
12794         } else {
12795           goto handle_unusual;
12796         }
12797         if (input->ExpectTag(16)) goto parse_startEventType;
12798         break;
12799       }
12800 
12801       // required .StartEventMessage.StartEventType startEventType = 2;
12802       case 2: {
12803         if (tag == 16) {
12804          parse_startEventType:
12805           int value;
12806           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
12807                    int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
12808                  input, &value)));
12809           if (::StartEventMessage_StartEventType_IsValid(value)) {
12810             set_starteventtype(static_cast< ::StartEventMessage_StartEventType >(value));
12811           } else {
12812             unknown_fields_stream.WriteVarint32(tag);
12813             unknown_fields_stream.WriteVarint32(value);
12814           }
12815         } else {
12816           goto handle_unusual;
12817         }
12818         if (input->ExpectTag(24)) goto parse_fillWithComputerPlayers;
12819         break;
12820       }
12821 
12822       // optional bool fillWithComputerPlayers = 3;
12823       case 3: {
12824         if (tag == 24) {
12825          parse_fillWithComputerPlayers:
12826           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
12827                    bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
12828                  input, &fillwithcomputerplayers_)));
12829           set_has_fillwithcomputerplayers();
12830         } else {
12831           goto handle_unusual;
12832         }
12833         if (input->ExpectAtEnd()) goto success;
12834         break;
12835       }
12836 
12837       default: {
12838       handle_unusual:
12839         if (tag == 0 ||
12840             ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
12841             ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
12842           goto success;
12843         }
12844         DO_(::google::protobuf::internal::WireFormatLite::SkipField(
12845             input, tag, &unknown_fields_stream));
12846         break;
12847       }
12848     }
12849   }
12850 success:
12851   // @@protoc_insertion_point(parse_success:StartEventMessage)
12852   return true;
12853 failure:
12854   // @@protoc_insertion_point(parse_failure:StartEventMessage)
12855   return false;
12856 #undef DO_
12857 }
12858 
12859 void StartEventMessage::SerializeWithCachedSizes(
12860     ::google::protobuf::io::CodedOutputStream* output) const {
12861   // @@protoc_insertion_point(serialize_start:StartEventMessage)
12862   // required uint32 gameId = 1;
12863   if (has_gameid()) {
12864     ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->gameid(), output);
12865   }
12866 
12867   // required .StartEventMessage.StartEventType startEventType = 2;
12868   if (has_starteventtype()) {
12869     ::google::protobuf::internal::WireFormatLite::WriteEnum(
12870       2, this->starteventtype(), output);
12871   }
12872 
12873   // optional bool fillWithComputerPlayers = 3;
12874   if (has_fillwithcomputerplayers()) {
12875     ::google::protobuf::internal::WireFormatLite::WriteBool(3, this->fillwithcomputerplayers(), output);
12876   }
12877 
12878   output->WriteRaw(unknown_fields().data(),
12879                    unknown_fields().size());
12880   // @@protoc_insertion_point(serialize_end:StartEventMessage)
12881 }
12882 
12883 int StartEventMessage::ByteSize() const {
12884   int total_size = 0;
12885 
12886   if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
12887     // required uint32 gameId = 1;
12888     if (has_gameid()) {
12889       total_size += 1 +
12890         ::google::protobuf::internal::WireFormatLite::UInt32Size(
12891           this->gameid());
12892     }
12893 
12894     // required .StartEventMessage.StartEventType startEventType = 2;
12895     if (has_starteventtype()) {
12896       total_size += 1 +
12897         ::google::protobuf::internal::WireFormatLite::EnumSize(this->starteventtype());
12898     }
12899 
12900     // optional bool fillWithComputerPlayers = 3;
12901     if (has_fillwithcomputerplayers()) {
12902       total_size += 1 + 1;
12903     }
12904 
12905   }
12906   total_size += unknown_fields().size();
12907 
12908   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
12909   _cached_size_ = total_size;
12910   GOOGLE_SAFE_CONCURRENT_WRITES_END();
12911   return total_size;
12912 }
12913 
12914 void StartEventMessage::CheckTypeAndMergeFrom(
12915     const ::google::protobuf::MessageLite& from) {
12916   MergeFrom(*::google::protobuf::down_cast<const StartEventMessage*>(&from));
12917 }
12918 
12919 void StartEventMessage::MergeFrom(const StartEventMessage& from) {
12920   GOOGLE_CHECK_NE(&from, this);
12921   if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
12922     if (from.has_gameid()) {
12923       set_gameid(from.gameid());
12924     }
12925     if (from.has_starteventtype()) {
12926       set_starteventtype(from.starteventtype());
12927     }
12928     if (from.has_fillwithcomputerplayers()) {
12929       set_fillwithcomputerplayers(from.fillwithcomputerplayers());
12930     }
12931   }
12932   mutable_unknown_fields()->append(from.unknown_fields());
12933 }
12934 
12935 void StartEventMessage::CopyFrom(const StartEventMessage& from) {
12936   if (&from == this) return;
12937   Clear();
12938   MergeFrom(from);
12939 }
12940 
12941 bool StartEventMessage::IsInitialized() const {
12942   if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false;
12943 
12944   return true;
12945 }
12946 
12947 void StartEventMessage::Swap(StartEventMessage* other) {
12948   if (other != this) {
12949     std::swap(gameid_, other->gameid_);
12950     std::swap(starteventtype_, other->starteventtype_);
12951     std::swap(fillwithcomputerplayers_, other->fillwithcomputerplayers_);
12952     std::swap(_has_bits_[0], other->_has_bits_[0]);
12953     _unknown_fields_.swap(other->_unknown_fields_);
12954     std::swap(_cached_size_, other->_cached_size_);
12955   }
12956 }
12957 
12958 ::std::string StartEventMessage::GetTypeName() const {
12959   return "StartEventMessage";
12960 }
12961 
12962 
12963 // ===================================================================
12964 
12965 #ifndef _MSC_VER
12966 const int StartEventAckMessage::kGameIdFieldNumber;
12967 #endif  // !_MSC_VER
12968 
12969 StartEventAckMessage::StartEventAckMessage()
12970   : ::google::protobuf::MessageLite() {
12971   SharedCtor();
12972   // @@protoc_insertion_point(constructor:StartEventAckMessage)
12973 }
12974 
12975 void StartEventAckMessage::InitAsDefaultInstance() {
12976 }
12977 
12978 StartEventAckMessage::StartEventAckMessage(const StartEventAckMessage& from)
12979   : ::google::protobuf::MessageLite() {
12980   SharedCtor();
12981   MergeFrom(from);
12982   // @@protoc_insertion_point(copy_constructor:StartEventAckMessage)
12983 }
12984 
12985 void StartEventAckMessage::SharedCtor() {
12986   _cached_size_ = 0;
12987   gameid_ = 0u;
12988   ::memset(_has_bits_, 0, sizeof(_has_bits_));
12989 }
12990 
12991 StartEventAckMessage::~StartEventAckMessage() {
12992   // @@protoc_insertion_point(destructor:StartEventAckMessage)
12993   SharedDtor();
12994 }
12995 
12996 void StartEventAckMessage::SharedDtor() {
12997   #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
12998   if (this != &default_instance()) {
12999   #else
13000   if (this != default_instance_) {
13001   #endif
13002   }
13003 }
13004 
13005 void StartEventAckMessage::SetCachedSize(int size) const {
13006   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
13007   _cached_size_ = size;
13008   GOOGLE_SAFE_CONCURRENT_WRITES_END();
13009 }
13010 const StartEventAckMessage& StartEventAckMessage::default_instance() {
13011 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
13012   protobuf_AddDesc_pokerth_2eproto();
13013 #else
13014   if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto();
13015 #endif
13016   return *default_instance_;
13017 }
13018 
13019 StartEventAckMessage* StartEventAckMessage::default_instance_ = NULL;
13020 
13021 StartEventAckMessage* StartEventAckMessage::New() const {
13022   return new StartEventAckMessage;
13023 }
13024 
13025 void StartEventAckMessage::Clear() {
13026   gameid_ = 0u;
13027   ::memset(_has_bits_, 0, sizeof(_has_bits_));
13028   mutable_unknown_fields()->clear();
13029 }
13030 
13031 bool StartEventAckMessage::MergePartialFromCodedStream(
13032     ::google::protobuf::io::CodedInputStream* input) {
13033 #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
13034   ::google::protobuf::uint32 tag;
13035   ::google::protobuf::io::StringOutputStream unknown_fields_string(
13036       mutable_unknown_fields());
13037   ::google::protobuf::io::CodedOutputStream unknown_fields_stream(
13038       &unknown_fields_string);
13039   // @@protoc_insertion_point(parse_start:StartEventAckMessage)
13040   for (;;) {
13041     ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
13042     tag = p.first;
13043     if (!p.second) goto handle_unusual;
13044     switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
13045       // required uint32 gameId = 1;
13046       case 1: {
13047         if (tag == 8) {
13048           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
13049                    ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
13050                  input, &gameid_)));
13051           set_has_gameid();
13052         } else {
13053           goto handle_unusual;
13054         }
13055         if (input->ExpectAtEnd()) goto success;
13056         break;
13057       }
13058 
13059       default: {
13060       handle_unusual:
13061         if (tag == 0 ||
13062             ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
13063             ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
13064           goto success;
13065         }
13066         DO_(::google::protobuf::internal::WireFormatLite::SkipField(
13067             input, tag, &unknown_fields_stream));
13068         break;
13069       }
13070     }
13071   }
13072 success:
13073   // @@protoc_insertion_point(parse_success:StartEventAckMessage)
13074   return true;
13075 failure:
13076   // @@protoc_insertion_point(parse_failure:StartEventAckMessage)
13077   return false;
13078 #undef DO_
13079 }
13080 
13081 void StartEventAckMessage::SerializeWithCachedSizes(
13082     ::google::protobuf::io::CodedOutputStream* output) const {
13083   // @@protoc_insertion_point(serialize_start:StartEventAckMessage)
13084   // required uint32 gameId = 1;
13085   if (has_gameid()) {
13086     ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->gameid(), output);
13087   }
13088 
13089   output->WriteRaw(unknown_fields().data(),
13090                    unknown_fields().size());
13091   // @@protoc_insertion_point(serialize_end:StartEventAckMessage)
13092 }
13093 
13094 int StartEventAckMessage::ByteSize() const {
13095   int total_size = 0;
13096 
13097   if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
13098     // required uint32 gameId = 1;
13099     if (has_gameid()) {
13100       total_size += 1 +
13101         ::google::protobuf::internal::WireFormatLite::UInt32Size(
13102           this->gameid());
13103     }
13104 
13105   }
13106   total_size += unknown_fields().size();
13107 
13108   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
13109   _cached_size_ = total_size;
13110   GOOGLE_SAFE_CONCURRENT_WRITES_END();
13111   return total_size;
13112 }
13113 
13114 void StartEventAckMessage::CheckTypeAndMergeFrom(
13115     const ::google::protobuf::MessageLite& from) {
13116   MergeFrom(*::google::protobuf::down_cast<const StartEventAckMessage*>(&from));
13117 }
13118 
13119 void StartEventAckMessage::MergeFrom(const StartEventAckMessage& from) {
13120   GOOGLE_CHECK_NE(&from, this);
13121   if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
13122     if (from.has_gameid()) {
13123       set_gameid(from.gameid());
13124     }
13125   }
13126   mutable_unknown_fields()->append(from.unknown_fields());
13127 }
13128 
13129 void StartEventAckMessage::CopyFrom(const StartEventAckMessage& from) {
13130   if (&from == this) return;
13131   Clear();
13132   MergeFrom(from);
13133 }
13134 
13135 bool StartEventAckMessage::IsInitialized() const {
13136   if ((_has_bits_[0] & 0x00000001) != 0x00000001) return false;
13137 
13138   return true;
13139 }
13140 
13141 void StartEventAckMessage::Swap(StartEventAckMessage* other) {
13142   if (other != this) {
13143     std::swap(gameid_, other->gameid_);
13144     std::swap(_has_bits_[0], other->_has_bits_[0]);
13145     _unknown_fields_.swap(other->_unknown_fields_);
13146     std::swap(_cached_size_, other->_cached_size_);
13147   }
13148 }
13149 
13150 ::std::string StartEventAckMessage::GetTypeName() const {
13151   return "StartEventAckMessage";
13152 }
13153 
13154 
13155 // ===================================================================
13156 
13157 #ifndef _MSC_VER
13158 const int GameStartInitialMessage::kGameIdFieldNumber;
13159 const int GameStartInitialMessage::kStartDealerPlayerIdFieldNumber;
13160 const int GameStartInitialMessage::kPlayerSeatsFieldNumber;
13161 #endif  // !_MSC_VER
13162 
13163 GameStartInitialMessage::GameStartInitialMessage()
13164   : ::google::protobuf::MessageLite() {
13165   SharedCtor();
13166   // @@protoc_insertion_point(constructor:GameStartInitialMessage)
13167 }
13168 
13169 void GameStartInitialMessage::InitAsDefaultInstance() {
13170 }
13171 
13172 GameStartInitialMessage::GameStartInitialMessage(const GameStartInitialMessage& from)
13173   : ::google::protobuf::MessageLite() {
13174   SharedCtor();
13175   MergeFrom(from);
13176   // @@protoc_insertion_point(copy_constructor:GameStartInitialMessage)
13177 }
13178 
13179 void GameStartInitialMessage::SharedCtor() {
13180   _cached_size_ = 0;
13181   gameid_ = 0u;
13182   startdealerplayerid_ = 0u;
13183   ::memset(_has_bits_, 0, sizeof(_has_bits_));
13184 }
13185 
13186 GameStartInitialMessage::~GameStartInitialMessage() {
13187   // @@protoc_insertion_point(destructor:GameStartInitialMessage)
13188   SharedDtor();
13189 }
13190 
13191 void GameStartInitialMessage::SharedDtor() {
13192   #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
13193   if (this != &default_instance()) {
13194   #else
13195   if (this != default_instance_) {
13196   #endif
13197   }
13198 }
13199 
13200 void GameStartInitialMessage::SetCachedSize(int size) const {
13201   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
13202   _cached_size_ = size;
13203   GOOGLE_SAFE_CONCURRENT_WRITES_END();
13204 }
13205 const GameStartInitialMessage& GameStartInitialMessage::default_instance() {
13206 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
13207   protobuf_AddDesc_pokerth_2eproto();
13208 #else
13209   if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto();
13210 #endif
13211   return *default_instance_;
13212 }
13213 
13214 GameStartInitialMessage* GameStartInitialMessage::default_instance_ = NULL;
13215 
13216 GameStartInitialMessage* GameStartInitialMessage::New() const {
13217   return new GameStartInitialMessage;
13218 }
13219 
13220 void GameStartInitialMessage::Clear() {
13221 #define OFFSET_OF_FIELD_(f) (reinterpret_cast<char*>(      \
13222   &reinterpret_cast<GameStartInitialMessage*>(16)->f) - \
13223    reinterpret_cast<char*>(16))
13224 
13225 #define ZR_(first, last) do {                              \
13226     size_t f = OFFSET_OF_FIELD_(first);                    \
13227     size_t n = OFFSET_OF_FIELD_(last) - f + sizeof(last);  \
13228     ::memset(&first, 0, n);                                \
13229   } while (0)
13230 
13231   ZR_(gameid_, startdealerplayerid_);
13232 
13233 #undef OFFSET_OF_FIELD_
13234 #undef ZR_
13235 
13236   playerseats_.Clear();
13237   ::memset(_has_bits_, 0, sizeof(_has_bits_));
13238   mutable_unknown_fields()->clear();
13239 }
13240 
13241 bool GameStartInitialMessage::MergePartialFromCodedStream(
13242     ::google::protobuf::io::CodedInputStream* input) {
13243 #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
13244   ::google::protobuf::uint32 tag;
13245   ::google::protobuf::io::StringOutputStream unknown_fields_string(
13246       mutable_unknown_fields());
13247   ::google::protobuf::io::CodedOutputStream unknown_fields_stream(
13248       &unknown_fields_string);
13249   // @@protoc_insertion_point(parse_start:GameStartInitialMessage)
13250   for (;;) {
13251     ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
13252     tag = p.first;
13253     if (!p.second) goto handle_unusual;
13254     switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
13255       // required uint32 gameId = 1;
13256       case 1: {
13257         if (tag == 8) {
13258           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
13259                    ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
13260                  input, &gameid_)));
13261           set_has_gameid();
13262         } else {
13263           goto handle_unusual;
13264         }
13265         if (input->ExpectTag(16)) goto parse_startDealerPlayerId;
13266         break;
13267       }
13268 
13269       // required uint32 startDealerPlayerId = 2;
13270       case 2: {
13271         if (tag == 16) {
13272          parse_startDealerPlayerId:
13273           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
13274                    ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
13275                  input, &startdealerplayerid_)));
13276           set_has_startdealerplayerid();
13277         } else {
13278           goto handle_unusual;
13279         }
13280         if (input->ExpectTag(26)) goto parse_playerSeats;
13281         break;
13282       }
13283 
13284       // repeated uint32 playerSeats = 3 [packed = true];
13285       case 3: {
13286         if (tag == 26) {
13287          parse_playerSeats:
13288           DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitive<
13289                    ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
13290                  input, this->mutable_playerseats())));
13291         } else if (tag == 24) {
13292           DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitiveNoInline<
13293                    ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
13294                  1, 26, input, this->mutable_playerseats())));
13295         } else {
13296           goto handle_unusual;
13297         }
13298         if (input->ExpectAtEnd()) goto success;
13299         break;
13300       }
13301 
13302       default: {
13303       handle_unusual:
13304         if (tag == 0 ||
13305             ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
13306             ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
13307           goto success;
13308         }
13309         DO_(::google::protobuf::internal::WireFormatLite::SkipField(
13310             input, tag, &unknown_fields_stream));
13311         break;
13312       }
13313     }
13314   }
13315 success:
13316   // @@protoc_insertion_point(parse_success:GameStartInitialMessage)
13317   return true;
13318 failure:
13319   // @@protoc_insertion_point(parse_failure:GameStartInitialMessage)
13320   return false;
13321 #undef DO_
13322 }
13323 
13324 void GameStartInitialMessage::SerializeWithCachedSizes(
13325     ::google::protobuf::io::CodedOutputStream* output) const {
13326   // @@protoc_insertion_point(serialize_start:GameStartInitialMessage)
13327   // required uint32 gameId = 1;
13328   if (has_gameid()) {
13329     ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->gameid(), output);
13330   }
13331 
13332   // required uint32 startDealerPlayerId = 2;
13333   if (has_startdealerplayerid()) {
13334     ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->startdealerplayerid(), output);
13335   }
13336 
13337   // repeated uint32 playerSeats = 3 [packed = true];
13338   if (this->playerseats_size() > 0) {
13339     ::google::protobuf::internal::WireFormatLite::WriteTag(3, ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED, output);
13340     output->WriteVarint32(_playerseats_cached_byte_size_);
13341   }
13342   for (int i = 0; i < this->playerseats_size(); i++) {
13343     ::google::protobuf::internal::WireFormatLite::WriteUInt32NoTag(
13344       this->playerseats(i), output);
13345   }
13346 
13347   output->WriteRaw(unknown_fields().data(),
13348                    unknown_fields().size());
13349   // @@protoc_insertion_point(serialize_end:GameStartInitialMessage)
13350 }
13351 
13352 int GameStartInitialMessage::ByteSize() const {
13353   int total_size = 0;
13354 
13355   if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
13356     // required uint32 gameId = 1;
13357     if (has_gameid()) {
13358       total_size += 1 +
13359         ::google::protobuf::internal::WireFormatLite::UInt32Size(
13360           this->gameid());
13361     }
13362 
13363     // required uint32 startDealerPlayerId = 2;
13364     if (has_startdealerplayerid()) {
13365       total_size += 1 +
13366         ::google::protobuf::internal::WireFormatLite::UInt32Size(
13367           this->startdealerplayerid());
13368     }
13369 
13370   }
13371   // repeated uint32 playerSeats = 3 [packed = true];
13372   {
13373     int data_size = 0;
13374     for (int i = 0; i < this->playerseats_size(); i++) {
13375       data_size += ::google::protobuf::internal::WireFormatLite::
13376         UInt32Size(this->playerseats(i));
13377     }
13378     if (data_size > 0) {
13379       total_size += 1 +
13380         ::google::protobuf::internal::WireFormatLite::Int32Size(data_size);
13381     }
13382     GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
13383     _playerseats_cached_byte_size_ = data_size;
13384     GOOGLE_SAFE_CONCURRENT_WRITES_END();
13385     total_size += data_size;
13386   }
13387 
13388   total_size += unknown_fields().size();
13389 
13390   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
13391   _cached_size_ = total_size;
13392   GOOGLE_SAFE_CONCURRENT_WRITES_END();
13393   return total_size;
13394 }
13395 
13396 void GameStartInitialMessage::CheckTypeAndMergeFrom(
13397     const ::google::protobuf::MessageLite& from) {
13398   MergeFrom(*::google::protobuf::down_cast<const GameStartInitialMessage*>(&from));
13399 }
13400 
13401 void GameStartInitialMessage::MergeFrom(const GameStartInitialMessage& from) {
13402   GOOGLE_CHECK_NE(&from, this);
13403   playerseats_.MergeFrom(from.playerseats_);
13404   if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
13405     if (from.has_gameid()) {
13406       set_gameid(from.gameid());
13407     }
13408     if (from.has_startdealerplayerid()) {
13409       set_startdealerplayerid(from.startdealerplayerid());
13410     }
13411   }
13412   mutable_unknown_fields()->append(from.unknown_fields());
13413 }
13414 
13415 void GameStartInitialMessage::CopyFrom(const GameStartInitialMessage& from) {
13416   if (&from == this) return;
13417   Clear();
13418   MergeFrom(from);
13419 }
13420 
13421 bool GameStartInitialMessage::IsInitialized() const {
13422   if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false;
13423 
13424   return true;
13425 }
13426 
13427 void GameStartInitialMessage::Swap(GameStartInitialMessage* other) {
13428   if (other != this) {
13429     std::swap(gameid_, other->gameid_);
13430     std::swap(startdealerplayerid_, other->startdealerplayerid_);
13431     playerseats_.Swap(&other->playerseats_);
13432     std::swap(_has_bits_[0], other->_has_bits_[0]);
13433     _unknown_fields_.swap(other->_unknown_fields_);
13434     std::swap(_cached_size_, other->_cached_size_);
13435   }
13436 }
13437 
13438 ::std::string GameStartInitialMessage::GetTypeName() const {
13439   return "GameStartInitialMessage";
13440 }
13441 
13442 
13443 // ===================================================================
13444 
13445 #ifndef _MSC_VER
13446 const int GameStartRejoinMessage_RejoinPlayerData::kPlayerIdFieldNumber;
13447 const int GameStartRejoinMessage_RejoinPlayerData::kPlayerMoneyFieldNumber;
13448 #endif  // !_MSC_VER
13449 
13450 GameStartRejoinMessage_RejoinPlayerData::GameStartRejoinMessage_RejoinPlayerData()
13451   : ::google::protobuf::MessageLite() {
13452   SharedCtor();
13453   // @@protoc_insertion_point(constructor:GameStartRejoinMessage.RejoinPlayerData)
13454 }
13455 
13456 void GameStartRejoinMessage_RejoinPlayerData::InitAsDefaultInstance() {
13457 }
13458 
13459 GameStartRejoinMessage_RejoinPlayerData::GameStartRejoinMessage_RejoinPlayerData(const GameStartRejoinMessage_RejoinPlayerData& from)
13460   : ::google::protobuf::MessageLite() {
13461   SharedCtor();
13462   MergeFrom(from);
13463   // @@protoc_insertion_point(copy_constructor:GameStartRejoinMessage.RejoinPlayerData)
13464 }
13465 
13466 void GameStartRejoinMessage_RejoinPlayerData::SharedCtor() {
13467   _cached_size_ = 0;
13468   playerid_ = 0u;
13469   playermoney_ = 0u;
13470   ::memset(_has_bits_, 0, sizeof(_has_bits_));
13471 }
13472 
13473 GameStartRejoinMessage_RejoinPlayerData::~GameStartRejoinMessage_RejoinPlayerData() {
13474   // @@protoc_insertion_point(destructor:GameStartRejoinMessage.RejoinPlayerData)
13475   SharedDtor();
13476 }
13477 
13478 void GameStartRejoinMessage_RejoinPlayerData::SharedDtor() {
13479   #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
13480   if (this != &default_instance()) {
13481   #else
13482   if (this != default_instance_) {
13483   #endif
13484   }
13485 }
13486 
13487 void GameStartRejoinMessage_RejoinPlayerData::SetCachedSize(int size) const {
13488   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
13489   _cached_size_ = size;
13490   GOOGLE_SAFE_CONCURRENT_WRITES_END();
13491 }
13492 const GameStartRejoinMessage_RejoinPlayerData& GameStartRejoinMessage_RejoinPlayerData::default_instance() {
13493 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
13494   protobuf_AddDesc_pokerth_2eproto();
13495 #else
13496   if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto();
13497 #endif
13498   return *default_instance_;
13499 }
13500 
13501 GameStartRejoinMessage_RejoinPlayerData* GameStartRejoinMessage_RejoinPlayerData::default_instance_ = NULL;
13502 
13503 GameStartRejoinMessage_RejoinPlayerData* GameStartRejoinMessage_RejoinPlayerData::New() const {
13504   return new GameStartRejoinMessage_RejoinPlayerData;
13505 }
13506 
13507 void GameStartRejoinMessage_RejoinPlayerData::Clear() {
13508 #define OFFSET_OF_FIELD_(f) (reinterpret_cast<char*>(      \
13509   &reinterpret_cast<GameStartRejoinMessage_RejoinPlayerData*>(16)->f) - \
13510    reinterpret_cast<char*>(16))
13511 
13512 #define ZR_(first, last) do {                              \
13513     size_t f = OFFSET_OF_FIELD_(first);                    \
13514     size_t n = OFFSET_OF_FIELD_(last) - f + sizeof(last);  \
13515     ::memset(&first, 0, n);                                \
13516   } while (0)
13517 
13518   ZR_(playerid_, playermoney_);
13519 
13520 #undef OFFSET_OF_FIELD_
13521 #undef ZR_
13522 
13523   ::memset(_has_bits_, 0, sizeof(_has_bits_));
13524   mutable_unknown_fields()->clear();
13525 }
13526 
13527 bool GameStartRejoinMessage_RejoinPlayerData::MergePartialFromCodedStream(
13528     ::google::protobuf::io::CodedInputStream* input) {
13529 #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
13530   ::google::protobuf::uint32 tag;
13531   ::google::protobuf::io::StringOutputStream unknown_fields_string(
13532       mutable_unknown_fields());
13533   ::google::protobuf::io::CodedOutputStream unknown_fields_stream(
13534       &unknown_fields_string);
13535   // @@protoc_insertion_point(parse_start:GameStartRejoinMessage.RejoinPlayerData)
13536   for (;;) {
13537     ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
13538     tag = p.first;
13539     if (!p.second) goto handle_unusual;
13540     switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
13541       // required uint32 playerId = 1;
13542       case 1: {
13543         if (tag == 8) {
13544           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
13545                    ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
13546                  input, &playerid_)));
13547           set_has_playerid();
13548         } else {
13549           goto handle_unusual;
13550         }
13551         if (input->ExpectTag(16)) goto parse_playerMoney;
13552         break;
13553       }
13554 
13555       // required uint32 playerMoney = 2;
13556       case 2: {
13557         if (tag == 16) {
13558          parse_playerMoney:
13559           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
13560                    ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
13561                  input, &playermoney_)));
13562           set_has_playermoney();
13563         } else {
13564           goto handle_unusual;
13565         }
13566         if (input->ExpectAtEnd()) goto success;
13567         break;
13568       }
13569 
13570       default: {
13571       handle_unusual:
13572         if (tag == 0 ||
13573             ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
13574             ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
13575           goto success;
13576         }
13577         DO_(::google::protobuf::internal::WireFormatLite::SkipField(
13578             input, tag, &unknown_fields_stream));
13579         break;
13580       }
13581     }
13582   }
13583 success:
13584   // @@protoc_insertion_point(parse_success:GameStartRejoinMessage.RejoinPlayerData)
13585   return true;
13586 failure:
13587   // @@protoc_insertion_point(parse_failure:GameStartRejoinMessage.RejoinPlayerData)
13588   return false;
13589 #undef DO_
13590 }
13591 
13592 void GameStartRejoinMessage_RejoinPlayerData::SerializeWithCachedSizes(
13593     ::google::protobuf::io::CodedOutputStream* output) const {
13594   // @@protoc_insertion_point(serialize_start:GameStartRejoinMessage.RejoinPlayerData)
13595   // required uint32 playerId = 1;
13596   if (has_playerid()) {
13597     ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->playerid(), output);
13598   }
13599 
13600   // required uint32 playerMoney = 2;
13601   if (has_playermoney()) {
13602     ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->playermoney(), output);
13603   }
13604 
13605   output->WriteRaw(unknown_fields().data(),
13606                    unknown_fields().size());
13607   // @@protoc_insertion_point(serialize_end:GameStartRejoinMessage.RejoinPlayerData)
13608 }
13609 
13610 int GameStartRejoinMessage_RejoinPlayerData::ByteSize() const {
13611   int total_size = 0;
13612 
13613   if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
13614     // required uint32 playerId = 1;
13615     if (has_playerid()) {
13616       total_size += 1 +
13617         ::google::protobuf::internal::WireFormatLite::UInt32Size(
13618           this->playerid());
13619     }
13620 
13621     // required uint32 playerMoney = 2;
13622     if (has_playermoney()) {
13623       total_size += 1 +
13624         ::google::protobuf::internal::WireFormatLite::UInt32Size(
13625           this->playermoney());
13626     }
13627 
13628   }
13629   total_size += unknown_fields().size();
13630 
13631   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
13632   _cached_size_ = total_size;
13633   GOOGLE_SAFE_CONCURRENT_WRITES_END();
13634   return total_size;
13635 }
13636 
13637 void GameStartRejoinMessage_RejoinPlayerData::CheckTypeAndMergeFrom(
13638     const ::google::protobuf::MessageLite& from) {
13639   MergeFrom(*::google::protobuf::down_cast<const GameStartRejoinMessage_RejoinPlayerData*>(&from));
13640 }
13641 
13642 void GameStartRejoinMessage_RejoinPlayerData::MergeFrom(const GameStartRejoinMessage_RejoinPlayerData& from) {
13643   GOOGLE_CHECK_NE(&from, this);
13644   if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
13645     if (from.has_playerid()) {
13646       set_playerid(from.playerid());
13647     }
13648     if (from.has_playermoney()) {
13649       set_playermoney(from.playermoney());
13650     }
13651   }
13652   mutable_unknown_fields()->append(from.unknown_fields());
13653 }
13654 
13655 void GameStartRejoinMessage_RejoinPlayerData::CopyFrom(const GameStartRejoinMessage_RejoinPlayerData& from) {
13656   if (&from == this) return;
13657   Clear();
13658   MergeFrom(from);
13659 }
13660 
13661 bool GameStartRejoinMessage_RejoinPlayerData::IsInitialized() const {
13662   if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false;
13663 
13664   return true;
13665 }
13666 
13667 void GameStartRejoinMessage_RejoinPlayerData::Swap(GameStartRejoinMessage_RejoinPlayerData* other) {
13668   if (other != this) {
13669     std::swap(playerid_, other->playerid_);
13670     std::swap(playermoney_, other->playermoney_);
13671     std::swap(_has_bits_[0], other->_has_bits_[0]);
13672     _unknown_fields_.swap(other->_unknown_fields_);
13673     std::swap(_cached_size_, other->_cached_size_);
13674   }
13675 }
13676 
13677 ::std::string GameStartRejoinMessage_RejoinPlayerData::GetTypeName() const {
13678   return "GameStartRejoinMessage.RejoinPlayerData";
13679 }
13680 
13681 
13682 // -------------------------------------------------------------------
13683 
13684 #ifndef _MSC_VER
13685 const int GameStartRejoinMessage::kGameIdFieldNumber;
13686 const int GameStartRejoinMessage::kStartDealerPlayerIdFieldNumber;
13687 const int GameStartRejoinMessage::kHandNumFieldNumber;
13688 const int GameStartRejoinMessage::kRejoinPlayerDataFieldNumber;
13689 #endif  // !_MSC_VER
13690 
13691 GameStartRejoinMessage::GameStartRejoinMessage()
13692   : ::google::protobuf::MessageLite() {
13693   SharedCtor();
13694   // @@protoc_insertion_point(constructor:GameStartRejoinMessage)
13695 }
13696 
13697 void GameStartRejoinMessage::InitAsDefaultInstance() {
13698 }
13699 
13700 GameStartRejoinMessage::GameStartRejoinMessage(const GameStartRejoinMessage& from)
13701   : ::google::protobuf::MessageLite() {
13702   SharedCtor();
13703   MergeFrom(from);
13704   // @@protoc_insertion_point(copy_constructor:GameStartRejoinMessage)
13705 }
13706 
13707 void GameStartRejoinMessage::SharedCtor() {
13708   _cached_size_ = 0;
13709   gameid_ = 0u;
13710   startdealerplayerid_ = 0u;
13711   handnum_ = 0u;
13712   ::memset(_has_bits_, 0, sizeof(_has_bits_));
13713 }
13714 
13715 GameStartRejoinMessage::~GameStartRejoinMessage() {
13716   // @@protoc_insertion_point(destructor:GameStartRejoinMessage)
13717   SharedDtor();
13718 }
13719 
13720 void GameStartRejoinMessage::SharedDtor() {
13721   #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
13722   if (this != &default_instance()) {
13723   #else
13724   if (this != default_instance_) {
13725   #endif
13726   }
13727 }
13728 
13729 void GameStartRejoinMessage::SetCachedSize(int size) const {
13730   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
13731   _cached_size_ = size;
13732   GOOGLE_SAFE_CONCURRENT_WRITES_END();
13733 }
13734 const GameStartRejoinMessage& GameStartRejoinMessage::default_instance() {
13735 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
13736   protobuf_AddDesc_pokerth_2eproto();
13737 #else
13738   if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto();
13739 #endif
13740   return *default_instance_;
13741 }
13742 
13743 GameStartRejoinMessage* GameStartRejoinMessage::default_instance_ = NULL;
13744 
13745 GameStartRejoinMessage* GameStartRejoinMessage::New() const {
13746   return new GameStartRejoinMessage;
13747 }
13748 
13749 void GameStartRejoinMessage::Clear() {
13750 #define OFFSET_OF_FIELD_(f) (reinterpret_cast<char*>(      \
13751   &reinterpret_cast<GameStartRejoinMessage*>(16)->f) - \
13752    reinterpret_cast<char*>(16))
13753 
13754 #define ZR_(first, last) do {                              \
13755     size_t f = OFFSET_OF_FIELD_(first);                    \
13756     size_t n = OFFSET_OF_FIELD_(last) - f + sizeof(last);  \
13757     ::memset(&first, 0, n);                                \
13758   } while (0)
13759 
13760   if (_has_bits_[0 / 32] & 7) {
13761     ZR_(gameid_, startdealerplayerid_);
13762     handnum_ = 0u;
13763   }
13764 
13765 #undef OFFSET_OF_FIELD_
13766 #undef ZR_
13767 
13768   rejoinplayerdata_.Clear();
13769   ::memset(_has_bits_, 0, sizeof(_has_bits_));
13770   mutable_unknown_fields()->clear();
13771 }
13772 
13773 bool GameStartRejoinMessage::MergePartialFromCodedStream(
13774     ::google::protobuf::io::CodedInputStream* input) {
13775 #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
13776   ::google::protobuf::uint32 tag;
13777   ::google::protobuf::io::StringOutputStream unknown_fields_string(
13778       mutable_unknown_fields());
13779   ::google::protobuf::io::CodedOutputStream unknown_fields_stream(
13780       &unknown_fields_string);
13781   // @@protoc_insertion_point(parse_start:GameStartRejoinMessage)
13782   for (;;) {
13783     ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
13784     tag = p.first;
13785     if (!p.second) goto handle_unusual;
13786     switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
13787       // required uint32 gameId = 1;
13788       case 1: {
13789         if (tag == 8) {
13790           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
13791                    ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
13792                  input, &gameid_)));
13793           set_has_gameid();
13794         } else {
13795           goto handle_unusual;
13796         }
13797         if (input->ExpectTag(16)) goto parse_startDealerPlayerId;
13798         break;
13799       }
13800 
13801       // required uint32 startDealerPlayerId = 2;
13802       case 2: {
13803         if (tag == 16) {
13804          parse_startDealerPlayerId:
13805           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
13806                    ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
13807                  input, &startdealerplayerid_)));
13808           set_has_startdealerplayerid();
13809         } else {
13810           goto handle_unusual;
13811         }
13812         if (input->ExpectTag(24)) goto parse_handNum;
13813         break;
13814       }
13815 
13816       // required uint32 handNum = 3;
13817       case 3: {
13818         if (tag == 24) {
13819          parse_handNum:
13820           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
13821                    ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
13822                  input, &handnum_)));
13823           set_has_handnum();
13824         } else {
13825           goto handle_unusual;
13826         }
13827         if (input->ExpectTag(34)) goto parse_rejoinPlayerData;
13828         break;
13829       }
13830 
13831       // repeated .GameStartRejoinMessage.RejoinPlayerData rejoinPlayerData = 4;
13832       case 4: {
13833         if (tag == 34) {
13834          parse_rejoinPlayerData:
13835           DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
13836                 input, add_rejoinplayerdata()));
13837         } else {
13838           goto handle_unusual;
13839         }
13840         if (input->ExpectTag(34)) goto parse_rejoinPlayerData;
13841         if (input->ExpectAtEnd()) goto success;
13842         break;
13843       }
13844 
13845       default: {
13846       handle_unusual:
13847         if (tag == 0 ||
13848             ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
13849             ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
13850           goto success;
13851         }
13852         DO_(::google::protobuf::internal::WireFormatLite::SkipField(
13853             input, tag, &unknown_fields_stream));
13854         break;
13855       }
13856     }
13857   }
13858 success:
13859   // @@protoc_insertion_point(parse_success:GameStartRejoinMessage)
13860   return true;
13861 failure:
13862   // @@protoc_insertion_point(parse_failure:GameStartRejoinMessage)
13863   return false;
13864 #undef DO_
13865 }
13866 
13867 void GameStartRejoinMessage::SerializeWithCachedSizes(
13868     ::google::protobuf::io::CodedOutputStream* output) const {
13869   // @@protoc_insertion_point(serialize_start:GameStartRejoinMessage)
13870   // required uint32 gameId = 1;
13871   if (has_gameid()) {
13872     ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->gameid(), output);
13873   }
13874 
13875   // required uint32 startDealerPlayerId = 2;
13876   if (has_startdealerplayerid()) {
13877     ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->startdealerplayerid(), output);
13878   }
13879 
13880   // required uint32 handNum = 3;
13881   if (has_handnum()) {
13882     ::google::protobuf::internal::WireFormatLite::WriteUInt32(3, this->handnum(), output);
13883   }
13884 
13885   // repeated .GameStartRejoinMessage.RejoinPlayerData rejoinPlayerData = 4;
13886   for (int i = 0; i < this->rejoinplayerdata_size(); i++) {
13887     ::google::protobuf::internal::WireFormatLite::WriteMessage(
13888       4, this->rejoinplayerdata(i), output);
13889   }
13890 
13891   output->WriteRaw(unknown_fields().data(),
13892                    unknown_fields().size());
13893   // @@protoc_insertion_point(serialize_end:GameStartRejoinMessage)
13894 }
13895 
13896 int GameStartRejoinMessage::ByteSize() const {
13897   int total_size = 0;
13898 
13899   if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
13900     // required uint32 gameId = 1;
13901     if (has_gameid()) {
13902       total_size += 1 +
13903         ::google::protobuf::internal::WireFormatLite::UInt32Size(
13904           this->gameid());
13905     }
13906 
13907     // required uint32 startDealerPlayerId = 2;
13908     if (has_startdealerplayerid()) {
13909       total_size += 1 +
13910         ::google::protobuf::internal::WireFormatLite::UInt32Size(
13911           this->startdealerplayerid());
13912     }
13913 
13914     // required uint32 handNum = 3;
13915     if (has_handnum()) {
13916       total_size += 1 +
13917         ::google::protobuf::internal::WireFormatLite::UInt32Size(
13918           this->handnum());
13919     }
13920 
13921   }
13922   // repeated .GameStartRejoinMessage.RejoinPlayerData rejoinPlayerData = 4;
13923   total_size += 1 * this->rejoinplayerdata_size();
13924   for (int i = 0; i < this->rejoinplayerdata_size(); i++) {
13925     total_size +=
13926       ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
13927         this->rejoinplayerdata(i));
13928   }
13929 
13930   total_size += unknown_fields().size();
13931 
13932   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
13933   _cached_size_ = total_size;
13934   GOOGLE_SAFE_CONCURRENT_WRITES_END();
13935   return total_size;
13936 }
13937 
13938 void GameStartRejoinMessage::CheckTypeAndMergeFrom(
13939     const ::google::protobuf::MessageLite& from) {
13940   MergeFrom(*::google::protobuf::down_cast<const GameStartRejoinMessage*>(&from));
13941 }
13942 
13943 void GameStartRejoinMessage::MergeFrom(const GameStartRejoinMessage& from) {
13944   GOOGLE_CHECK_NE(&from, this);
13945   rejoinplayerdata_.MergeFrom(from.rejoinplayerdata_);
13946   if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
13947     if (from.has_gameid()) {
13948       set_gameid(from.gameid());
13949     }
13950     if (from.has_startdealerplayerid()) {
13951       set_startdealerplayerid(from.startdealerplayerid());
13952     }
13953     if (from.has_handnum()) {
13954       set_handnum(from.handnum());
13955     }
13956   }
13957   mutable_unknown_fields()->append(from.unknown_fields());
13958 }
13959 
13960 void GameStartRejoinMessage::CopyFrom(const GameStartRejoinMessage& from) {
13961   if (&from == this) return;
13962   Clear();
13963   MergeFrom(from);
13964 }
13965 
13966 bool GameStartRejoinMessage::IsInitialized() const {
13967   if ((_has_bits_[0] & 0x00000007) != 0x00000007) return false;
13968 
13969   if (!::google::protobuf::internal::AllAreInitialized(this->rejoinplayerdata())) return false;
13970   return true;
13971 }
13972 
13973 void GameStartRejoinMessage::Swap(GameStartRejoinMessage* other) {
13974   if (other != this) {
13975     std::swap(gameid_, other->gameid_);
13976     std::swap(startdealerplayerid_, other->startdealerplayerid_);
13977     std::swap(handnum_, other->handnum_);
13978     rejoinplayerdata_.Swap(&other->rejoinplayerdata_);
13979     std::swap(_has_bits_[0], other->_has_bits_[0]);
13980     _unknown_fields_.swap(other->_unknown_fields_);
13981     std::swap(_cached_size_, other->_cached_size_);
13982   }
13983 }
13984 
13985 ::std::string GameStartRejoinMessage::GetTypeName() const {
13986   return "GameStartRejoinMessage";
13987 }
13988 
13989 
13990 // ===================================================================
13991 
13992 #ifndef _MSC_VER
13993 const int HandStartMessage_PlainCards::kPlainCard1FieldNumber;
13994 const int HandStartMessage_PlainCards::kPlainCard2FieldNumber;
13995 #endif  // !_MSC_VER
13996 
13997 HandStartMessage_PlainCards::HandStartMessage_PlainCards()
13998   : ::google::protobuf::MessageLite() {
13999   SharedCtor();
14000   // @@protoc_insertion_point(constructor:HandStartMessage.PlainCards)
14001 }
14002 
14003 void HandStartMessage_PlainCards::InitAsDefaultInstance() {
14004 }
14005 
14006 HandStartMessage_PlainCards::HandStartMessage_PlainCards(const HandStartMessage_PlainCards& from)
14007   : ::google::protobuf::MessageLite() {
14008   SharedCtor();
14009   MergeFrom(from);
14010   // @@protoc_insertion_point(copy_constructor:HandStartMessage.PlainCards)
14011 }
14012 
14013 void HandStartMessage_PlainCards::SharedCtor() {
14014   _cached_size_ = 0;
14015   plaincard1_ = 0u;
14016   plaincard2_ = 0u;
14017   ::memset(_has_bits_, 0, sizeof(_has_bits_));
14018 }
14019 
14020 HandStartMessage_PlainCards::~HandStartMessage_PlainCards() {
14021   // @@protoc_insertion_point(destructor:HandStartMessage.PlainCards)
14022   SharedDtor();
14023 }
14024 
14025 void HandStartMessage_PlainCards::SharedDtor() {
14026   #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
14027   if (this != &default_instance()) {
14028   #else
14029   if (this != default_instance_) {
14030   #endif
14031   }
14032 }
14033 
14034 void HandStartMessage_PlainCards::SetCachedSize(int size) const {
14035   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
14036   _cached_size_ = size;
14037   GOOGLE_SAFE_CONCURRENT_WRITES_END();
14038 }
14039 const HandStartMessage_PlainCards& HandStartMessage_PlainCards::default_instance() {
14040 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
14041   protobuf_AddDesc_pokerth_2eproto();
14042 #else
14043   if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto();
14044 #endif
14045   return *default_instance_;
14046 }
14047 
14048 HandStartMessage_PlainCards* HandStartMessage_PlainCards::default_instance_ = NULL;
14049 
14050 HandStartMessage_PlainCards* HandStartMessage_PlainCards::New() const {
14051   return new HandStartMessage_PlainCards;
14052 }
14053 
14054 void HandStartMessage_PlainCards::Clear() {
14055 #define OFFSET_OF_FIELD_(f) (reinterpret_cast<char*>(      \
14056   &reinterpret_cast<HandStartMessage_PlainCards*>(16)->f) - \
14057    reinterpret_cast<char*>(16))
14058 
14059 #define ZR_(first, last) do {                              \
14060     size_t f = OFFSET_OF_FIELD_(first);                    \
14061     size_t n = OFFSET_OF_FIELD_(last) - f + sizeof(last);  \
14062     ::memset(&first, 0, n);                                \
14063   } while (0)
14064 
14065   ZR_(plaincard1_, plaincard2_);
14066 
14067 #undef OFFSET_OF_FIELD_
14068 #undef ZR_
14069 
14070   ::memset(_has_bits_, 0, sizeof(_has_bits_));
14071   mutable_unknown_fields()->clear();
14072 }
14073 
14074 bool HandStartMessage_PlainCards::MergePartialFromCodedStream(
14075     ::google::protobuf::io::CodedInputStream* input) {
14076 #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
14077   ::google::protobuf::uint32 tag;
14078   ::google::protobuf::io::StringOutputStream unknown_fields_string(
14079       mutable_unknown_fields());
14080   ::google::protobuf::io::CodedOutputStream unknown_fields_stream(
14081       &unknown_fields_string);
14082   // @@protoc_insertion_point(parse_start:HandStartMessage.PlainCards)
14083   for (;;) {
14084     ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
14085     tag = p.first;
14086     if (!p.second) goto handle_unusual;
14087     switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
14088       // required uint32 plainCard1 = 1;
14089       case 1: {
14090         if (tag == 8) {
14091           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
14092                    ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
14093                  input, &plaincard1_)));
14094           set_has_plaincard1();
14095         } else {
14096           goto handle_unusual;
14097         }
14098         if (input->ExpectTag(16)) goto parse_plainCard2;
14099         break;
14100       }
14101 
14102       // required uint32 plainCard2 = 2;
14103       case 2: {
14104         if (tag == 16) {
14105          parse_plainCard2:
14106           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
14107                    ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
14108                  input, &plaincard2_)));
14109           set_has_plaincard2();
14110         } else {
14111           goto handle_unusual;
14112         }
14113         if (input->ExpectAtEnd()) goto success;
14114         break;
14115       }
14116 
14117       default: {
14118       handle_unusual:
14119         if (tag == 0 ||
14120             ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
14121             ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
14122           goto success;
14123         }
14124         DO_(::google::protobuf::internal::WireFormatLite::SkipField(
14125             input, tag, &unknown_fields_stream));
14126         break;
14127       }
14128     }
14129   }
14130 success:
14131   // @@protoc_insertion_point(parse_success:HandStartMessage.PlainCards)
14132   return true;
14133 failure:
14134   // @@protoc_insertion_point(parse_failure:HandStartMessage.PlainCards)
14135   return false;
14136 #undef DO_
14137 }
14138 
14139 void HandStartMessage_PlainCards::SerializeWithCachedSizes(
14140     ::google::protobuf::io::CodedOutputStream* output) const {
14141   // @@protoc_insertion_point(serialize_start:HandStartMessage.PlainCards)
14142   // required uint32 plainCard1 = 1;
14143   if (has_plaincard1()) {
14144     ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->plaincard1(), output);
14145   }
14146 
14147   // required uint32 plainCard2 = 2;
14148   if (has_plaincard2()) {
14149     ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->plaincard2(), output);
14150   }
14151 
14152   output->WriteRaw(unknown_fields().data(),
14153                    unknown_fields().size());
14154   // @@protoc_insertion_point(serialize_end:HandStartMessage.PlainCards)
14155 }
14156 
14157 int HandStartMessage_PlainCards::ByteSize() const {
14158   int total_size = 0;
14159 
14160   if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
14161     // required uint32 plainCard1 = 1;
14162     if (has_plaincard1()) {
14163       total_size += 1 +
14164         ::google::protobuf::internal::WireFormatLite::UInt32Size(
14165           this->plaincard1());
14166     }
14167 
14168     // required uint32 plainCard2 = 2;
14169     if (has_plaincard2()) {
14170       total_size += 1 +
14171         ::google::protobuf::internal::WireFormatLite::UInt32Size(
14172           this->plaincard2());
14173     }
14174 
14175   }
14176   total_size += unknown_fields().size();
14177 
14178   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
14179   _cached_size_ = total_size;
14180   GOOGLE_SAFE_CONCURRENT_WRITES_END();
14181   return total_size;
14182 }
14183 
14184 void HandStartMessage_PlainCards::CheckTypeAndMergeFrom(
14185     const ::google::protobuf::MessageLite& from) {
14186   MergeFrom(*::google::protobuf::down_cast<const HandStartMessage_PlainCards*>(&from));
14187 }
14188 
14189 void HandStartMessage_PlainCards::MergeFrom(const HandStartMessage_PlainCards& from) {
14190   GOOGLE_CHECK_NE(&from, this);
14191   if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
14192     if (from.has_plaincard1()) {
14193       set_plaincard1(from.plaincard1());
14194     }
14195     if (from.has_plaincard2()) {
14196       set_plaincard2(from.plaincard2());
14197     }
14198   }
14199   mutable_unknown_fields()->append(from.unknown_fields());
14200 }
14201 
14202 void HandStartMessage_PlainCards::CopyFrom(const HandStartMessage_PlainCards& from) {
14203   if (&from == this) return;
14204   Clear();
14205   MergeFrom(from);
14206 }
14207 
14208 bool HandStartMessage_PlainCards::IsInitialized() const {
14209   if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false;
14210 
14211   return true;
14212 }
14213 
14214 void HandStartMessage_PlainCards::Swap(HandStartMessage_PlainCards* other) {
14215   if (other != this) {
14216     std::swap(plaincard1_, other->plaincard1_);
14217     std::swap(plaincard2_, other->plaincard2_);
14218     std::swap(_has_bits_[0], other->_has_bits_[0]);
14219     _unknown_fields_.swap(other->_unknown_fields_);
14220     std::swap(_cached_size_, other->_cached_size_);
14221   }
14222 }
14223 
14224 ::std::string HandStartMessage_PlainCards::GetTypeName() const {
14225   return "HandStartMessage.PlainCards";
14226 }
14227 
14228 
14229 // -------------------------------------------------------------------
14230 
14231 #ifndef _MSC_VER
14232 const int HandStartMessage::kGameIdFieldNumber;
14233 const int HandStartMessage::kPlainCardsFieldNumber;
14234 const int HandStartMessage::kEncryptedCardsFieldNumber;
14235 const int HandStartMessage::kSmallBlindFieldNumber;
14236 const int HandStartMessage::kSeatStatesFieldNumber;
14237 const int HandStartMessage::kDealerPlayerIdFieldNumber;
14238 #endif  // !_MSC_VER
14239 
14240 HandStartMessage::HandStartMessage()
14241   : ::google::protobuf::MessageLite() {
14242   SharedCtor();
14243   // @@protoc_insertion_point(constructor:HandStartMessage)
14244 }
14245 
14246 void HandStartMessage::InitAsDefaultInstance() {
14247 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
14248   plaincards_ = const_cast< ::HandStartMessage_PlainCards*>(
14249       ::HandStartMessage_PlainCards::internal_default_instance());
14250 #else
14251   plaincards_ = const_cast< ::HandStartMessage_PlainCards*>(&::HandStartMessage_PlainCards::default_instance());
14252 #endif
14253 }
14254 
14255 HandStartMessage::HandStartMessage(const HandStartMessage& from)
14256   : ::google::protobuf::MessageLite() {
14257   SharedCtor();
14258   MergeFrom(from);
14259   // @@protoc_insertion_point(copy_constructor:HandStartMessage)
14260 }
14261 
14262 void HandStartMessage::SharedCtor() {
14263   ::google::protobuf::internal::GetEmptyString();
14264   _cached_size_ = 0;
14265   gameid_ = 0u;
14266   plaincards_ = NULL;
14267   encryptedcards_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
14268   smallblind_ = 0u;
14269   dealerplayerid_ = 0u;
14270   ::memset(_has_bits_, 0, sizeof(_has_bits_));
14271 }
14272 
14273 HandStartMessage::~HandStartMessage() {
14274   // @@protoc_insertion_point(destructor:HandStartMessage)
14275   SharedDtor();
14276 }
14277 
14278 void HandStartMessage::SharedDtor() {
14279   if (encryptedcards_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
14280     delete encryptedcards_;
14281   }
14282   #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
14283   if (this != &default_instance()) {
14284   #else
14285   if (this != default_instance_) {
14286   #endif
14287     delete plaincards_;
14288   }
14289 }
14290 
14291 void HandStartMessage::SetCachedSize(int size) const {
14292   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
14293   _cached_size_ = size;
14294   GOOGLE_SAFE_CONCURRENT_WRITES_END();
14295 }
14296 const HandStartMessage& HandStartMessage::default_instance() {
14297 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
14298   protobuf_AddDesc_pokerth_2eproto();
14299 #else
14300   if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto();
14301 #endif
14302   return *default_instance_;
14303 }
14304 
14305 HandStartMessage* HandStartMessage::default_instance_ = NULL;
14306 
14307 HandStartMessage* HandStartMessage::New() const {
14308   return new HandStartMessage;
14309 }
14310 
14311 void HandStartMessage::Clear() {
14312 #define OFFSET_OF_FIELD_(f) (reinterpret_cast<char*>(      \
14313   &reinterpret_cast<HandStartMessage*>(16)->f) - \
14314    reinterpret_cast<char*>(16))
14315 
14316 #define ZR_(first, last) do {                              \
14317     size_t f = OFFSET_OF_FIELD_(first);                    \
14318     size_t n = OFFSET_OF_FIELD_(last) - f + sizeof(last);  \
14319     ::memset(&first, 0, n);                                \
14320   } while (0)
14321 
14322   if (_has_bits_[0 / 32] & 47) {
14323     ZR_(gameid_, smallblind_);
14324     if (has_plaincards()) {
14325       if (plaincards_ != NULL) plaincards_->::HandStartMessage_PlainCards::Clear();
14326     }
14327     if (has_encryptedcards()) {
14328       if (encryptedcards_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
14329         encryptedcards_->clear();
14330       }
14331     }
14332     dealerplayerid_ = 0u;
14333   }
14334 
14335 #undef OFFSET_OF_FIELD_
14336 #undef ZR_
14337 
14338   seatstates_.Clear();
14339   ::memset(_has_bits_, 0, sizeof(_has_bits_));
14340   mutable_unknown_fields()->clear();
14341 }
14342 
14343 bool HandStartMessage::MergePartialFromCodedStream(
14344     ::google::protobuf::io::CodedInputStream* input) {
14345 #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
14346   ::google::protobuf::uint32 tag;
14347   ::google::protobuf::io::StringOutputStream unknown_fields_string(
14348       mutable_unknown_fields());
14349   ::google::protobuf::io::CodedOutputStream unknown_fields_stream(
14350       &unknown_fields_string);
14351   // @@protoc_insertion_point(parse_start:HandStartMessage)
14352   for (;;) {
14353     ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
14354     tag = p.first;
14355     if (!p.second) goto handle_unusual;
14356     switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
14357       // required uint32 gameId = 1;
14358       case 1: {
14359         if (tag == 8) {
14360           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
14361                    ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
14362                  input, &gameid_)));
14363           set_has_gameid();
14364         } else {
14365           goto handle_unusual;
14366         }
14367         if (input->ExpectTag(18)) goto parse_plainCards;
14368         break;
14369       }
14370 
14371       // optional .HandStartMessage.PlainCards plainCards = 2;
14372       case 2: {
14373         if (tag == 18) {
14374          parse_plainCards:
14375           DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
14376                input, mutable_plaincards()));
14377         } else {
14378           goto handle_unusual;
14379         }
14380         if (input->ExpectTag(26)) goto parse_encryptedCards;
14381         break;
14382       }
14383 
14384       // optional bytes encryptedCards = 3;
14385       case 3: {
14386         if (tag == 26) {
14387          parse_encryptedCards:
14388           DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
14389                 input, this->mutable_encryptedcards()));
14390         } else {
14391           goto handle_unusual;
14392         }
14393         if (input->ExpectTag(32)) goto parse_smallBlind;
14394         break;
14395       }
14396 
14397       // required uint32 smallBlind = 4;
14398       case 4: {
14399         if (tag == 32) {
14400          parse_smallBlind:
14401           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
14402                    ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
14403                  input, &smallblind_)));
14404           set_has_smallblind();
14405         } else {
14406           goto handle_unusual;
14407         }
14408         if (input->ExpectTag(40)) goto parse_seatStates;
14409         break;
14410       }
14411 
14412       // repeated .NetPlayerState seatStates = 5;
14413       case 5: {
14414         if (tag == 40) {
14415          parse_seatStates:
14416           int value;
14417           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
14418                    int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
14419                  input, &value)));
14420           if (::NetPlayerState_IsValid(value)) {
14421             add_seatstates(static_cast< ::NetPlayerState >(value));
14422           } else {
14423             unknown_fields_stream.WriteVarint32(tag);
14424             unknown_fields_stream.WriteVarint32(value);
14425           }
14426         } else if (tag == 42) {
14427           DO_((::google::protobuf::internal::WireFormatLite::ReadPackedEnumNoInline(
14428                  input,
14429                  &::NetPlayerState_IsValid,
14430                  this->mutable_seatstates())));
14431         } else {
14432           goto handle_unusual;
14433         }
14434         if (input->ExpectTag(40)) goto parse_seatStates;
14435         if (input->ExpectTag(48)) goto parse_dealerPlayerId;
14436         break;
14437       }
14438 
14439       // optional uint32 dealerPlayerId = 6;
14440       case 6: {
14441         if (tag == 48) {
14442          parse_dealerPlayerId:
14443           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
14444                    ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
14445                  input, &dealerplayerid_)));
14446           set_has_dealerplayerid();
14447         } else {
14448           goto handle_unusual;
14449         }
14450         if (input->ExpectAtEnd()) goto success;
14451         break;
14452       }
14453 
14454       default: {
14455       handle_unusual:
14456         if (tag == 0 ||
14457             ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
14458             ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
14459           goto success;
14460         }
14461         DO_(::google::protobuf::internal::WireFormatLite::SkipField(
14462             input, tag, &unknown_fields_stream));
14463         break;
14464       }
14465     }
14466   }
14467 success:
14468   // @@protoc_insertion_point(parse_success:HandStartMessage)
14469   return true;
14470 failure:
14471   // @@protoc_insertion_point(parse_failure:HandStartMessage)
14472   return false;
14473 #undef DO_
14474 }
14475 
14476 void HandStartMessage::SerializeWithCachedSizes(
14477     ::google::protobuf::io::CodedOutputStream* output) const {
14478   // @@protoc_insertion_point(serialize_start:HandStartMessage)
14479   // required uint32 gameId = 1;
14480   if (has_gameid()) {
14481     ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->gameid(), output);
14482   }
14483 
14484   // optional .HandStartMessage.PlainCards plainCards = 2;
14485   if (has_plaincards()) {
14486     ::google::protobuf::internal::WireFormatLite::WriteMessage(
14487       2, this->plaincards(), output);
14488   }
14489 
14490   // optional bytes encryptedCards = 3;
14491   if (has_encryptedcards()) {
14492     ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased(
14493       3, this->encryptedcards(), output);
14494   }
14495 
14496   // required uint32 smallBlind = 4;
14497   if (has_smallblind()) {
14498     ::google::protobuf::internal::WireFormatLite::WriteUInt32(4, this->smallblind(), output);
14499   }
14500 
14501   // repeated .NetPlayerState seatStates = 5;
14502   for (int i = 0; i < this->seatstates_size(); i++) {
14503     ::google::protobuf::internal::WireFormatLite::WriteEnum(
14504       5, this->seatstates(i), output);
14505   }
14506 
14507   // optional uint32 dealerPlayerId = 6;
14508   if (has_dealerplayerid()) {
14509     ::google::protobuf::internal::WireFormatLite::WriteUInt32(6, this->dealerplayerid(), output);
14510   }
14511 
14512   output->WriteRaw(unknown_fields().data(),
14513                    unknown_fields().size());
14514   // @@protoc_insertion_point(serialize_end:HandStartMessage)
14515 }
14516 
14517 int HandStartMessage::ByteSize() const {
14518   int total_size = 0;
14519 
14520   if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
14521     // required uint32 gameId = 1;
14522     if (has_gameid()) {
14523       total_size += 1 +
14524         ::google::protobuf::internal::WireFormatLite::UInt32Size(
14525           this->gameid());
14526     }
14527 
14528     // optional .HandStartMessage.PlainCards plainCards = 2;
14529     if (has_plaincards()) {
14530       total_size += 1 +
14531         ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
14532           this->plaincards());
14533     }
14534 
14535     // optional bytes encryptedCards = 3;
14536     if (has_encryptedcards()) {
14537       total_size += 1 +
14538         ::google::protobuf::internal::WireFormatLite::BytesSize(
14539           this->encryptedcards());
14540     }
14541 
14542     // required uint32 smallBlind = 4;
14543     if (has_smallblind()) {
14544       total_size += 1 +
14545         ::google::protobuf::internal::WireFormatLite::UInt32Size(
14546           this->smallblind());
14547     }
14548 
14549     // optional uint32 dealerPlayerId = 6;
14550     if (has_dealerplayerid()) {
14551       total_size += 1 +
14552         ::google::protobuf::internal::WireFormatLite::UInt32Size(
14553           this->dealerplayerid());
14554     }
14555 
14556   }
14557   // repeated .NetPlayerState seatStates = 5;
14558   {
14559     int data_size = 0;
14560     for (int i = 0; i < this->seatstates_size(); i++) {
14561       data_size += ::google::protobuf::internal::WireFormatLite::EnumSize(
14562         this->seatstates(i));
14563     }
14564     total_size += 1 * this->seatstates_size() + data_size;
14565   }
14566 
14567   total_size += unknown_fields().size();
14568 
14569   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
14570   _cached_size_ = total_size;
14571   GOOGLE_SAFE_CONCURRENT_WRITES_END();
14572   return total_size;
14573 }
14574 
14575 void HandStartMessage::CheckTypeAndMergeFrom(
14576     const ::google::protobuf::MessageLite& from) {
14577   MergeFrom(*::google::protobuf::down_cast<const HandStartMessage*>(&from));
14578 }
14579 
14580 void HandStartMessage::MergeFrom(const HandStartMessage& from) {
14581   GOOGLE_CHECK_NE(&from, this);
14582   seatstates_.MergeFrom(from.seatstates_);
14583   if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
14584     if (from.has_gameid()) {
14585       set_gameid(from.gameid());
14586     }
14587     if (from.has_plaincards()) {
14588       mutable_plaincards()->::HandStartMessage_PlainCards::MergeFrom(from.plaincards());
14589     }
14590     if (from.has_encryptedcards()) {
14591       set_encryptedcards(from.encryptedcards());
14592     }
14593     if (from.has_smallblind()) {
14594       set_smallblind(from.smallblind());
14595     }
14596     if (from.has_dealerplayerid()) {
14597       set_dealerplayerid(from.dealerplayerid());
14598     }
14599   }
14600   mutable_unknown_fields()->append(from.unknown_fields());
14601 }
14602 
14603 void HandStartMessage::CopyFrom(const HandStartMessage& from) {
14604   if (&from == this) return;
14605   Clear();
14606   MergeFrom(from);
14607 }
14608 
14609 bool HandStartMessage::IsInitialized() const {
14610   if ((_has_bits_[0] & 0x00000009) != 0x00000009) return false;
14611 
14612   if (has_plaincards()) {
14613     if (!this->plaincards().IsInitialized()) return false;
14614   }
14615   return true;
14616 }
14617 
14618 void HandStartMessage::Swap(HandStartMessage* other) {
14619   if (other != this) {
14620     std::swap(gameid_, other->gameid_);
14621     std::swap(plaincards_, other->plaincards_);
14622     std::swap(encryptedcards_, other->encryptedcards_);
14623     std::swap(smallblind_, other->smallblind_);
14624     seatstates_.Swap(&other->seatstates_);
14625     std::swap(dealerplayerid_, other->dealerplayerid_);
14626     std::swap(_has_bits_[0], other->_has_bits_[0]);
14627     _unknown_fields_.swap(other->_unknown_fields_);
14628     std::swap(_cached_size_, other->_cached_size_);
14629   }
14630 }
14631 
14632 ::std::string HandStartMessage::GetTypeName() const {
14633   return "HandStartMessage";
14634 }
14635 
14636 
14637 // ===================================================================
14638 
14639 #ifndef _MSC_VER
14640 const int PlayersTurnMessage::kGameIdFieldNumber;
14641 const int PlayersTurnMessage::kPlayerIdFieldNumber;
14642 const int PlayersTurnMessage::kGameStateFieldNumber;
14643 #endif  // !_MSC_VER
14644 
14645 PlayersTurnMessage::PlayersTurnMessage()
14646   : ::google::protobuf::MessageLite() {
14647   SharedCtor();
14648   // @@protoc_insertion_point(constructor:PlayersTurnMessage)
14649 }
14650 
14651 void PlayersTurnMessage::InitAsDefaultInstance() {
14652 }
14653 
14654 PlayersTurnMessage::PlayersTurnMessage(const PlayersTurnMessage& from)
14655   : ::google::protobuf::MessageLite() {
14656   SharedCtor();
14657   MergeFrom(from);
14658   // @@protoc_insertion_point(copy_constructor:PlayersTurnMessage)
14659 }
14660 
14661 void PlayersTurnMessage::SharedCtor() {
14662   _cached_size_ = 0;
14663   gameid_ = 0u;
14664   playerid_ = 0u;
14665   gamestate_ = 0;
14666   ::memset(_has_bits_, 0, sizeof(_has_bits_));
14667 }
14668 
14669 PlayersTurnMessage::~PlayersTurnMessage() {
14670   // @@protoc_insertion_point(destructor:PlayersTurnMessage)
14671   SharedDtor();
14672 }
14673 
14674 void PlayersTurnMessage::SharedDtor() {
14675   #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
14676   if (this != &default_instance()) {
14677   #else
14678   if (this != default_instance_) {
14679   #endif
14680   }
14681 }
14682 
14683 void PlayersTurnMessage::SetCachedSize(int size) const {
14684   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
14685   _cached_size_ = size;
14686   GOOGLE_SAFE_CONCURRENT_WRITES_END();
14687 }
14688 const PlayersTurnMessage& PlayersTurnMessage::default_instance() {
14689 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
14690   protobuf_AddDesc_pokerth_2eproto();
14691 #else
14692   if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto();
14693 #endif
14694   return *default_instance_;
14695 }
14696 
14697 PlayersTurnMessage* PlayersTurnMessage::default_instance_ = NULL;
14698 
14699 PlayersTurnMessage* PlayersTurnMessage::New() const {
14700   return new PlayersTurnMessage;
14701 }
14702 
14703 void PlayersTurnMessage::Clear() {
14704 #define OFFSET_OF_FIELD_(f) (reinterpret_cast<char*>(      \
14705   &reinterpret_cast<PlayersTurnMessage*>(16)->f) - \
14706    reinterpret_cast<char*>(16))
14707 
14708 #define ZR_(first, last) do {                              \
14709     size_t f = OFFSET_OF_FIELD_(first);                    \
14710     size_t n = OFFSET_OF_FIELD_(last) - f + sizeof(last);  \
14711     ::memset(&first, 0, n);                                \
14712   } while (0)
14713 
14714   ZR_(gameid_, gamestate_);
14715 
14716 #undef OFFSET_OF_FIELD_
14717 #undef ZR_
14718 
14719   ::memset(_has_bits_, 0, sizeof(_has_bits_));
14720   mutable_unknown_fields()->clear();
14721 }
14722 
14723 bool PlayersTurnMessage::MergePartialFromCodedStream(
14724     ::google::protobuf::io::CodedInputStream* input) {
14725 #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
14726   ::google::protobuf::uint32 tag;
14727   ::google::protobuf::io::StringOutputStream unknown_fields_string(
14728       mutable_unknown_fields());
14729   ::google::protobuf::io::CodedOutputStream unknown_fields_stream(
14730       &unknown_fields_string);
14731   // @@protoc_insertion_point(parse_start:PlayersTurnMessage)
14732   for (;;) {
14733     ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
14734     tag = p.first;
14735     if (!p.second) goto handle_unusual;
14736     switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
14737       // required uint32 gameId = 1;
14738       case 1: {
14739         if (tag == 8) {
14740           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
14741                    ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
14742                  input, &gameid_)));
14743           set_has_gameid();
14744         } else {
14745           goto handle_unusual;
14746         }
14747         if (input->ExpectTag(16)) goto parse_playerId;
14748         break;
14749       }
14750 
14751       // required uint32 playerId = 2;
14752       case 2: {
14753         if (tag == 16) {
14754          parse_playerId:
14755           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
14756                    ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
14757                  input, &playerid_)));
14758           set_has_playerid();
14759         } else {
14760           goto handle_unusual;
14761         }
14762         if (input->ExpectTag(24)) goto parse_gameState;
14763         break;
14764       }
14765 
14766       // required .NetGameState gameState = 3;
14767       case 3: {
14768         if (tag == 24) {
14769          parse_gameState:
14770           int value;
14771           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
14772                    int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
14773                  input, &value)));
14774           if (::NetGameState_IsValid(value)) {
14775             set_gamestate(static_cast< ::NetGameState >(value));
14776           } else {
14777             unknown_fields_stream.WriteVarint32(tag);
14778             unknown_fields_stream.WriteVarint32(value);
14779           }
14780         } else {
14781           goto handle_unusual;
14782         }
14783         if (input->ExpectAtEnd()) goto success;
14784         break;
14785       }
14786 
14787       default: {
14788       handle_unusual:
14789         if (tag == 0 ||
14790             ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
14791             ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
14792           goto success;
14793         }
14794         DO_(::google::protobuf::internal::WireFormatLite::SkipField(
14795             input, tag, &unknown_fields_stream));
14796         break;
14797       }
14798     }
14799   }
14800 success:
14801   // @@protoc_insertion_point(parse_success:PlayersTurnMessage)
14802   return true;
14803 failure:
14804   // @@protoc_insertion_point(parse_failure:PlayersTurnMessage)
14805   return false;
14806 #undef DO_
14807 }
14808 
14809 void PlayersTurnMessage::SerializeWithCachedSizes(
14810     ::google::protobuf::io::CodedOutputStream* output) const {
14811   // @@protoc_insertion_point(serialize_start:PlayersTurnMessage)
14812   // required uint32 gameId = 1;
14813   if (has_gameid()) {
14814     ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->gameid(), output);
14815   }
14816 
14817   // required uint32 playerId = 2;
14818   if (has_playerid()) {
14819     ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->playerid(), output);
14820   }
14821 
14822   // required .NetGameState gameState = 3;
14823   if (has_gamestate()) {
14824     ::google::protobuf::internal::WireFormatLite::WriteEnum(
14825       3, this->gamestate(), output);
14826   }
14827 
14828   output->WriteRaw(unknown_fields().data(),
14829                    unknown_fields().size());
14830   // @@protoc_insertion_point(serialize_end:PlayersTurnMessage)
14831 }
14832 
14833 int PlayersTurnMessage::ByteSize() const {
14834   int total_size = 0;
14835 
14836   if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
14837     // required uint32 gameId = 1;
14838     if (has_gameid()) {
14839       total_size += 1 +
14840         ::google::protobuf::internal::WireFormatLite::UInt32Size(
14841           this->gameid());
14842     }
14843 
14844     // required uint32 playerId = 2;
14845     if (has_playerid()) {
14846       total_size += 1 +
14847         ::google::protobuf::internal::WireFormatLite::UInt32Size(
14848           this->playerid());
14849     }
14850 
14851     // required .NetGameState gameState = 3;
14852     if (has_gamestate()) {
14853       total_size += 1 +
14854         ::google::protobuf::internal::WireFormatLite::EnumSize(this->gamestate());
14855     }
14856 
14857   }
14858   total_size += unknown_fields().size();
14859 
14860   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
14861   _cached_size_ = total_size;
14862   GOOGLE_SAFE_CONCURRENT_WRITES_END();
14863   return total_size;
14864 }
14865 
14866 void PlayersTurnMessage::CheckTypeAndMergeFrom(
14867     const ::google::protobuf::MessageLite& from) {
14868   MergeFrom(*::google::protobuf::down_cast<const PlayersTurnMessage*>(&from));
14869 }
14870 
14871 void PlayersTurnMessage::MergeFrom(const PlayersTurnMessage& from) {
14872   GOOGLE_CHECK_NE(&from, this);
14873   if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
14874     if (from.has_gameid()) {
14875       set_gameid(from.gameid());
14876     }
14877     if (from.has_playerid()) {
14878       set_playerid(from.playerid());
14879     }
14880     if (from.has_gamestate()) {
14881       set_gamestate(from.gamestate());
14882     }
14883   }
14884   mutable_unknown_fields()->append(from.unknown_fields());
14885 }
14886 
14887 void PlayersTurnMessage::CopyFrom(const PlayersTurnMessage& from) {
14888   if (&from == this) return;
14889   Clear();
14890   MergeFrom(from);
14891 }
14892 
14893 bool PlayersTurnMessage::IsInitialized() const {
14894   if ((_has_bits_[0] & 0x00000007) != 0x00000007) return false;
14895 
14896   return true;
14897 }
14898 
14899 void PlayersTurnMessage::Swap(PlayersTurnMessage* other) {
14900   if (other != this) {
14901     std::swap(gameid_, other->gameid_);
14902     std::swap(playerid_, other->playerid_);
14903     std::swap(gamestate_, other->gamestate_);
14904     std::swap(_has_bits_[0], other->_has_bits_[0]);
14905     _unknown_fields_.swap(other->_unknown_fields_);
14906     std::swap(_cached_size_, other->_cached_size_);
14907   }
14908 }
14909 
14910 ::std::string PlayersTurnMessage::GetTypeName() const {
14911   return "PlayersTurnMessage";
14912 }
14913 
14914 
14915 // ===================================================================
14916 
14917 #ifndef _MSC_VER
14918 const int MyActionRequestMessage::kGameIdFieldNumber;
14919 const int MyActionRequestMessage::kHandNumFieldNumber;
14920 const int MyActionRequestMessage::kGameStateFieldNumber;
14921 const int MyActionRequestMessage::kMyActionFieldNumber;
14922 const int MyActionRequestMessage::kMyRelativeBetFieldNumber;
14923 #endif  // !_MSC_VER
14924 
14925 MyActionRequestMessage::MyActionRequestMessage()
14926   : ::google::protobuf::MessageLite() {
14927   SharedCtor();
14928   // @@protoc_insertion_point(constructor:MyActionRequestMessage)
14929 }
14930 
14931 void MyActionRequestMessage::InitAsDefaultInstance() {
14932 }
14933 
14934 MyActionRequestMessage::MyActionRequestMessage(const MyActionRequestMessage& from)
14935   : ::google::protobuf::MessageLite() {
14936   SharedCtor();
14937   MergeFrom(from);
14938   // @@protoc_insertion_point(copy_constructor:MyActionRequestMessage)
14939 }
14940 
14941 void MyActionRequestMessage::SharedCtor() {
14942   _cached_size_ = 0;
14943   gameid_ = 0u;
14944   handnum_ = 0u;
14945   gamestate_ = 0;
14946   myaction_ = 0;
14947   myrelativebet_ = 0u;
14948   ::memset(_has_bits_, 0, sizeof(_has_bits_));
14949 }
14950 
14951 MyActionRequestMessage::~MyActionRequestMessage() {
14952   // @@protoc_insertion_point(destructor:MyActionRequestMessage)
14953   SharedDtor();
14954 }
14955 
14956 void MyActionRequestMessage::SharedDtor() {
14957   #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
14958   if (this != &default_instance()) {
14959   #else
14960   if (this != default_instance_) {
14961   #endif
14962   }
14963 }
14964 
14965 void MyActionRequestMessage::SetCachedSize(int size) const {
14966   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
14967   _cached_size_ = size;
14968   GOOGLE_SAFE_CONCURRENT_WRITES_END();
14969 }
14970 const MyActionRequestMessage& MyActionRequestMessage::default_instance() {
14971 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
14972   protobuf_AddDesc_pokerth_2eproto();
14973 #else
14974   if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto();
14975 #endif
14976   return *default_instance_;
14977 }
14978 
14979 MyActionRequestMessage* MyActionRequestMessage::default_instance_ = NULL;
14980 
14981 MyActionRequestMessage* MyActionRequestMessage::New() const {
14982   return new MyActionRequestMessage;
14983 }
14984 
14985 void MyActionRequestMessage::Clear() {
14986 #define OFFSET_OF_FIELD_(f) (reinterpret_cast<char*>(      \
14987   &reinterpret_cast<MyActionRequestMessage*>(16)->f) - \
14988    reinterpret_cast<char*>(16))
14989 
14990 #define ZR_(first, last) do {                              \
14991     size_t f = OFFSET_OF_FIELD_(first);                    \
14992     size_t n = OFFSET_OF_FIELD_(last) - f + sizeof(last);  \
14993     ::memset(&first, 0, n);                                \
14994   } while (0)
14995 
14996   if (_has_bits_[0 / 32] & 31) {
14997     ZR_(gameid_, myrelativebet_);
14998   }
14999 
15000 #undef OFFSET_OF_FIELD_
15001 #undef ZR_
15002 
15003   ::memset(_has_bits_, 0, sizeof(_has_bits_));
15004   mutable_unknown_fields()->clear();
15005 }
15006 
15007 bool MyActionRequestMessage::MergePartialFromCodedStream(
15008     ::google::protobuf::io::CodedInputStream* input) {
15009 #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
15010   ::google::protobuf::uint32 tag;
15011   ::google::protobuf::io::StringOutputStream unknown_fields_string(
15012       mutable_unknown_fields());
15013   ::google::protobuf::io::CodedOutputStream unknown_fields_stream(
15014       &unknown_fields_string);
15015   // @@protoc_insertion_point(parse_start:MyActionRequestMessage)
15016   for (;;) {
15017     ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
15018     tag = p.first;
15019     if (!p.second) goto handle_unusual;
15020     switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
15021       // required uint32 gameId = 1;
15022       case 1: {
15023         if (tag == 8) {
15024           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
15025                    ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
15026                  input, &gameid_)));
15027           set_has_gameid();
15028         } else {
15029           goto handle_unusual;
15030         }
15031         if (input->ExpectTag(16)) goto parse_handNum;
15032         break;
15033       }
15034 
15035       // required uint32 handNum = 2;
15036       case 2: {
15037         if (tag == 16) {
15038          parse_handNum:
15039           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
15040                    ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
15041                  input, &handnum_)));
15042           set_has_handnum();
15043         } else {
15044           goto handle_unusual;
15045         }
15046         if (input->ExpectTag(24)) goto parse_gameState;
15047         break;
15048       }
15049 
15050       // required .NetGameState gameState = 3;
15051       case 3: {
15052         if (tag == 24) {
15053          parse_gameState:
15054           int value;
15055           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
15056                    int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
15057                  input, &value)));
15058           if (::NetGameState_IsValid(value)) {
15059             set_gamestate(static_cast< ::NetGameState >(value));
15060           } else {
15061             unknown_fields_stream.WriteVarint32(tag);
15062             unknown_fields_stream.WriteVarint32(value);
15063           }
15064         } else {
15065           goto handle_unusual;
15066         }
15067         if (input->ExpectTag(32)) goto parse_myAction;
15068         break;
15069       }
15070 
15071       // required .NetPlayerAction myAction = 4;
15072       case 4: {
15073         if (tag == 32) {
15074          parse_myAction:
15075           int value;
15076           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
15077                    int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
15078                  input, &value)));
15079           if (::NetPlayerAction_IsValid(value)) {
15080             set_myaction(static_cast< ::NetPlayerAction >(value));
15081           } else {
15082             unknown_fields_stream.WriteVarint32(tag);
15083             unknown_fields_stream.WriteVarint32(value);
15084           }
15085         } else {
15086           goto handle_unusual;
15087         }
15088         if (input->ExpectTag(40)) goto parse_myRelativeBet;
15089         break;
15090       }
15091 
15092       // required uint32 myRelativeBet = 5;
15093       case 5: {
15094         if (tag == 40) {
15095          parse_myRelativeBet:
15096           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
15097                    ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
15098                  input, &myrelativebet_)));
15099           set_has_myrelativebet();
15100         } else {
15101           goto handle_unusual;
15102         }
15103         if (input->ExpectAtEnd()) goto success;
15104         break;
15105       }
15106 
15107       default: {
15108       handle_unusual:
15109         if (tag == 0 ||
15110             ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
15111             ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
15112           goto success;
15113         }
15114         DO_(::google::protobuf::internal::WireFormatLite::SkipField(
15115             input, tag, &unknown_fields_stream));
15116         break;
15117       }
15118     }
15119   }
15120 success:
15121   // @@protoc_insertion_point(parse_success:MyActionRequestMessage)
15122   return true;
15123 failure:
15124   // @@protoc_insertion_point(parse_failure:MyActionRequestMessage)
15125   return false;
15126 #undef DO_
15127 }
15128 
15129 void MyActionRequestMessage::SerializeWithCachedSizes(
15130     ::google::protobuf::io::CodedOutputStream* output) const {
15131   // @@protoc_insertion_point(serialize_start:MyActionRequestMessage)
15132   // required uint32 gameId = 1;
15133   if (has_gameid()) {
15134     ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->gameid(), output);
15135   }
15136 
15137   // required uint32 handNum = 2;
15138   if (has_handnum()) {
15139     ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->handnum(), output);
15140   }
15141 
15142   // required .NetGameState gameState = 3;
15143   if (has_gamestate()) {
15144     ::google::protobuf::internal::WireFormatLite::WriteEnum(
15145       3, this->gamestate(), output);
15146   }
15147 
15148   // required .NetPlayerAction myAction = 4;
15149   if (has_myaction()) {
15150     ::google::protobuf::internal::WireFormatLite::WriteEnum(
15151       4, this->myaction(), output);
15152   }
15153 
15154   // required uint32 myRelativeBet = 5;
15155   if (has_myrelativebet()) {
15156     ::google::protobuf::internal::WireFormatLite::WriteUInt32(5, this->myrelativebet(), output);
15157   }
15158 
15159   output->WriteRaw(unknown_fields().data(),
15160                    unknown_fields().size());
15161   // @@protoc_insertion_point(serialize_end:MyActionRequestMessage)
15162 }
15163 
15164 int MyActionRequestMessage::ByteSize() const {
15165   int total_size = 0;
15166 
15167   if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
15168     // required uint32 gameId = 1;
15169     if (has_gameid()) {
15170       total_size += 1 +
15171         ::google::protobuf::internal::WireFormatLite::UInt32Size(
15172           this->gameid());
15173     }
15174 
15175     // required uint32 handNum = 2;
15176     if (has_handnum()) {
15177       total_size += 1 +
15178         ::google::protobuf::internal::WireFormatLite::UInt32Size(
15179           this->handnum());
15180     }
15181 
15182     // required .NetGameState gameState = 3;
15183     if (has_gamestate()) {
15184       total_size += 1 +
15185         ::google::protobuf::internal::WireFormatLite::EnumSize(this->gamestate());
15186     }
15187 
15188     // required .NetPlayerAction myAction = 4;
15189     if (has_myaction()) {
15190       total_size += 1 +
15191         ::google::protobuf::internal::WireFormatLite::EnumSize(this->myaction());
15192     }
15193 
15194     // required uint32 myRelativeBet = 5;
15195     if (has_myrelativebet()) {
15196       total_size += 1 +
15197         ::google::protobuf::internal::WireFormatLite::UInt32Size(
15198           this->myrelativebet());
15199     }
15200 
15201   }
15202   total_size += unknown_fields().size();
15203 
15204   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
15205   _cached_size_ = total_size;
15206   GOOGLE_SAFE_CONCURRENT_WRITES_END();
15207   return total_size;
15208 }
15209 
15210 void MyActionRequestMessage::CheckTypeAndMergeFrom(
15211     const ::google::protobuf::MessageLite& from) {
15212   MergeFrom(*::google::protobuf::down_cast<const MyActionRequestMessage*>(&from));
15213 }
15214 
15215 void MyActionRequestMessage::MergeFrom(const MyActionRequestMessage& from) {
15216   GOOGLE_CHECK_NE(&from, this);
15217   if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
15218     if (from.has_gameid()) {
15219       set_gameid(from.gameid());
15220     }
15221     if (from.has_handnum()) {
15222       set_handnum(from.handnum());
15223     }
15224     if (from.has_gamestate()) {
15225       set_gamestate(from.gamestate());
15226     }
15227     if (from.has_myaction()) {
15228       set_myaction(from.myaction());
15229     }
15230     if (from.has_myrelativebet()) {
15231       set_myrelativebet(from.myrelativebet());
15232     }
15233   }
15234   mutable_unknown_fields()->append(from.unknown_fields());
15235 }
15236 
15237 void MyActionRequestMessage::CopyFrom(const MyActionRequestMessage& from) {
15238   if (&from == this) return;
15239   Clear();
15240   MergeFrom(from);
15241 }
15242 
15243 bool MyActionRequestMessage::IsInitialized() const {
15244   if ((_has_bits_[0] & 0x0000001f) != 0x0000001f) return false;
15245 
15246   return true;
15247 }
15248 
15249 void MyActionRequestMessage::Swap(MyActionRequestMessage* other) {
15250   if (other != this) {
15251     std::swap(gameid_, other->gameid_);
15252     std::swap(handnum_, other->handnum_);
15253     std::swap(gamestate_, other->gamestate_);
15254     std::swap(myaction_, other->myaction_);
15255     std::swap(myrelativebet_, other->myrelativebet_);
15256     std::swap(_has_bits_[0], other->_has_bits_[0]);
15257     _unknown_fields_.swap(other->_unknown_fields_);
15258     std::swap(_cached_size_, other->_cached_size_);
15259   }
15260 }
15261 
15262 ::std::string MyActionRequestMessage::GetTypeName() const {
15263   return "MyActionRequestMessage";
15264 }
15265 
15266 
15267 // ===================================================================
15268 
15269 bool YourActionRejectedMessage_RejectionReason_IsValid(int value) {
15270   switch(value) {
15271     case 1:
15272     case 2:
15273     case 3:
15274       return true;
15275     default:
15276       return false;
15277   }
15278 }
15279 
15280 #ifndef _MSC_VER
15281 const YourActionRejectedMessage_RejectionReason YourActionRejectedMessage::rejectedInvalidGameState;
15282 const YourActionRejectedMessage_RejectionReason YourActionRejectedMessage::rejectedNotYourTurn;
15283 const YourActionRejectedMessage_RejectionReason YourActionRejectedMessage::rejectedActionNotAllowed;
15284 const YourActionRejectedMessage_RejectionReason YourActionRejectedMessage::RejectionReason_MIN;
15285 const YourActionRejectedMessage_RejectionReason YourActionRejectedMessage::RejectionReason_MAX;
15286 const int YourActionRejectedMessage::RejectionReason_ARRAYSIZE;
15287 #endif  // _MSC_VER
15288 #ifndef _MSC_VER
15289 const int YourActionRejectedMessage::kGameIdFieldNumber;
15290 const int YourActionRejectedMessage::kGameStateFieldNumber;
15291 const int YourActionRejectedMessage::kYourActionFieldNumber;
15292 const int YourActionRejectedMessage::kYourRelativeBetFieldNumber;
15293 const int YourActionRejectedMessage::kRejectionReasonFieldNumber;
15294 #endif  // !_MSC_VER
15295 
15296 YourActionRejectedMessage::YourActionRejectedMessage()
15297   : ::google::protobuf::MessageLite() {
15298   SharedCtor();
15299   // @@protoc_insertion_point(constructor:YourActionRejectedMessage)
15300 }
15301 
15302 void YourActionRejectedMessage::InitAsDefaultInstance() {
15303 }
15304 
15305 YourActionRejectedMessage::YourActionRejectedMessage(const YourActionRejectedMessage& from)
15306   : ::google::protobuf::MessageLite() {
15307   SharedCtor();
15308   MergeFrom(from);
15309   // @@protoc_insertion_point(copy_constructor:YourActionRejectedMessage)
15310 }
15311 
15312 void YourActionRejectedMessage::SharedCtor() {
15313   _cached_size_ = 0;
15314   gameid_ = 0u;
15315   gamestate_ = 0;
15316   youraction_ = 0;
15317   yourrelativebet_ = 0u;
15318   rejectionreason_ = 1;
15319   ::memset(_has_bits_, 0, sizeof(_has_bits_));
15320 }
15321 
15322 YourActionRejectedMessage::~YourActionRejectedMessage() {
15323   // @@protoc_insertion_point(destructor:YourActionRejectedMessage)
15324   SharedDtor();
15325 }
15326 
15327 void YourActionRejectedMessage::SharedDtor() {
15328   #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
15329   if (this != &default_instance()) {
15330   #else
15331   if (this != default_instance_) {
15332   #endif
15333   }
15334 }
15335 
15336 void YourActionRejectedMessage::SetCachedSize(int size) const {
15337   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
15338   _cached_size_ = size;
15339   GOOGLE_SAFE_CONCURRENT_WRITES_END();
15340 }
15341 const YourActionRejectedMessage& YourActionRejectedMessage::default_instance() {
15342 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
15343   protobuf_AddDesc_pokerth_2eproto();
15344 #else
15345   if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto();
15346 #endif
15347   return *default_instance_;
15348 }
15349 
15350 YourActionRejectedMessage* YourActionRejectedMessage::default_instance_ = NULL;
15351 
15352 YourActionRejectedMessage* YourActionRejectedMessage::New() const {
15353   return new YourActionRejectedMessage;
15354 }
15355 
15356 void YourActionRejectedMessage::Clear() {
15357 #define OFFSET_OF_FIELD_(f) (reinterpret_cast<char*>(      \
15358   &reinterpret_cast<YourActionRejectedMessage*>(16)->f) - \
15359    reinterpret_cast<char*>(16))
15360 
15361 #define ZR_(first, last) do {                              \
15362     size_t f = OFFSET_OF_FIELD_(first);                    \
15363     size_t n = OFFSET_OF_FIELD_(last) - f + sizeof(last);  \
15364     ::memset(&first, 0, n);                                \
15365   } while (0)
15366 
15367   if (_has_bits_[0 / 32] & 31) {
15368     ZR_(gameid_, yourrelativebet_);
15369     rejectionreason_ = 1;
15370   }
15371 
15372 #undef OFFSET_OF_FIELD_
15373 #undef ZR_
15374 
15375   ::memset(_has_bits_, 0, sizeof(_has_bits_));
15376   mutable_unknown_fields()->clear();
15377 }
15378 
15379 bool YourActionRejectedMessage::MergePartialFromCodedStream(
15380     ::google::protobuf::io::CodedInputStream* input) {
15381 #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
15382   ::google::protobuf::uint32 tag;
15383   ::google::protobuf::io::StringOutputStream unknown_fields_string(
15384       mutable_unknown_fields());
15385   ::google::protobuf::io::CodedOutputStream unknown_fields_stream(
15386       &unknown_fields_string);
15387   // @@protoc_insertion_point(parse_start:YourActionRejectedMessage)
15388   for (;;) {
15389     ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
15390     tag = p.first;
15391     if (!p.second) goto handle_unusual;
15392     switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
15393       // required uint32 gameId = 1;
15394       case 1: {
15395         if (tag == 8) {
15396           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
15397                    ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
15398                  input, &gameid_)));
15399           set_has_gameid();
15400         } else {
15401           goto handle_unusual;
15402         }
15403         if (input->ExpectTag(16)) goto parse_gameState;
15404         break;
15405       }
15406 
15407       // required .NetGameState gameState = 2;
15408       case 2: {
15409         if (tag == 16) {
15410          parse_gameState:
15411           int value;
15412           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
15413                    int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
15414                  input, &value)));
15415           if (::NetGameState_IsValid(value)) {
15416             set_gamestate(static_cast< ::NetGameState >(value));
15417           } else {
15418             unknown_fields_stream.WriteVarint32(tag);
15419             unknown_fields_stream.WriteVarint32(value);
15420           }
15421         } else {
15422           goto handle_unusual;
15423         }
15424         if (input->ExpectTag(24)) goto parse_yourAction;
15425         break;
15426       }
15427 
15428       // required .NetPlayerAction yourAction = 3;
15429       case 3: {
15430         if (tag == 24) {
15431          parse_yourAction:
15432           int value;
15433           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
15434                    int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
15435                  input, &value)));
15436           if (::NetPlayerAction_IsValid(value)) {
15437             set_youraction(static_cast< ::NetPlayerAction >(value));
15438           } else {
15439             unknown_fields_stream.WriteVarint32(tag);
15440             unknown_fields_stream.WriteVarint32(value);
15441           }
15442         } else {
15443           goto handle_unusual;
15444         }
15445         if (input->ExpectTag(32)) goto parse_yourRelativeBet;
15446         break;
15447       }
15448 
15449       // required uint32 yourRelativeBet = 4;
15450       case 4: {
15451         if (tag == 32) {
15452          parse_yourRelativeBet:
15453           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
15454                    ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
15455                  input, &yourrelativebet_)));
15456           set_has_yourrelativebet();
15457         } else {
15458           goto handle_unusual;
15459         }
15460         if (input->ExpectTag(40)) goto parse_rejectionReason;
15461         break;
15462       }
15463 
15464       // required .YourActionRejectedMessage.RejectionReason rejectionReason = 5;
15465       case 5: {
15466         if (tag == 40) {
15467          parse_rejectionReason:
15468           int value;
15469           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
15470                    int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
15471                  input, &value)));
15472           if (::YourActionRejectedMessage_RejectionReason_IsValid(value)) {
15473             set_rejectionreason(static_cast< ::YourActionRejectedMessage_RejectionReason >(value));
15474           } else {
15475             unknown_fields_stream.WriteVarint32(tag);
15476             unknown_fields_stream.WriteVarint32(value);
15477           }
15478         } else {
15479           goto handle_unusual;
15480         }
15481         if (input->ExpectAtEnd()) goto success;
15482         break;
15483       }
15484 
15485       default: {
15486       handle_unusual:
15487         if (tag == 0 ||
15488             ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
15489             ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
15490           goto success;
15491         }
15492         DO_(::google::protobuf::internal::WireFormatLite::SkipField(
15493             input, tag, &unknown_fields_stream));
15494         break;
15495       }
15496     }
15497   }
15498 success:
15499   // @@protoc_insertion_point(parse_success:YourActionRejectedMessage)
15500   return true;
15501 failure:
15502   // @@protoc_insertion_point(parse_failure:YourActionRejectedMessage)
15503   return false;
15504 #undef DO_
15505 }
15506 
15507 void YourActionRejectedMessage::SerializeWithCachedSizes(
15508     ::google::protobuf::io::CodedOutputStream* output) const {
15509   // @@protoc_insertion_point(serialize_start:YourActionRejectedMessage)
15510   // required uint32 gameId = 1;
15511   if (has_gameid()) {
15512     ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->gameid(), output);
15513   }
15514 
15515   // required .NetGameState gameState = 2;
15516   if (has_gamestate()) {
15517     ::google::protobuf::internal::WireFormatLite::WriteEnum(
15518       2, this->gamestate(), output);
15519   }
15520 
15521   // required .NetPlayerAction yourAction = 3;
15522   if (has_youraction()) {
15523     ::google::protobuf::internal::WireFormatLite::WriteEnum(
15524       3, this->youraction(), output);
15525   }
15526 
15527   // required uint32 yourRelativeBet = 4;
15528   if (has_yourrelativebet()) {
15529     ::google::protobuf::internal::WireFormatLite::WriteUInt32(4, this->yourrelativebet(), output);
15530   }
15531 
15532   // required .YourActionRejectedMessage.RejectionReason rejectionReason = 5;
15533   if (has_rejectionreason()) {
15534     ::google::protobuf::internal::WireFormatLite::WriteEnum(
15535       5, this->rejectionreason(), output);
15536   }
15537 
15538   output->WriteRaw(unknown_fields().data(),
15539                    unknown_fields().size());
15540   // @@protoc_insertion_point(serialize_end:YourActionRejectedMessage)
15541 }
15542 
15543 int YourActionRejectedMessage::ByteSize() const {
15544   int total_size = 0;
15545 
15546   if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
15547     // required uint32 gameId = 1;
15548     if (has_gameid()) {
15549       total_size += 1 +
15550         ::google::protobuf::internal::WireFormatLite::UInt32Size(
15551           this->gameid());
15552     }
15553 
15554     // required .NetGameState gameState = 2;
15555     if (has_gamestate()) {
15556       total_size += 1 +
15557         ::google::protobuf::internal::WireFormatLite::EnumSize(this->gamestate());
15558     }
15559 
15560     // required .NetPlayerAction yourAction = 3;
15561     if (has_youraction()) {
15562       total_size += 1 +
15563         ::google::protobuf::internal::WireFormatLite::EnumSize(this->youraction());
15564     }
15565 
15566     // required uint32 yourRelativeBet = 4;
15567     if (has_yourrelativebet()) {
15568       total_size += 1 +
15569         ::google::protobuf::internal::WireFormatLite::UInt32Size(
15570           this->yourrelativebet());
15571     }
15572 
15573     // required .YourActionRejectedMessage.RejectionReason rejectionReason = 5;
15574     if (has_rejectionreason()) {
15575       total_size += 1 +
15576         ::google::protobuf::internal::WireFormatLite::EnumSize(this->rejectionreason());
15577     }
15578 
15579   }
15580   total_size += unknown_fields().size();
15581 
15582   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
15583   _cached_size_ = total_size;
15584   GOOGLE_SAFE_CONCURRENT_WRITES_END();
15585   return total_size;
15586 }
15587 
15588 void YourActionRejectedMessage::CheckTypeAndMergeFrom(
15589     const ::google::protobuf::MessageLite& from) {
15590   MergeFrom(*::google::protobuf::down_cast<const YourActionRejectedMessage*>(&from));
15591 }
15592 
15593 void YourActionRejectedMessage::MergeFrom(const YourActionRejectedMessage& from) {
15594   GOOGLE_CHECK_NE(&from, this);
15595   if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
15596     if (from.has_gameid()) {
15597       set_gameid(from.gameid());
15598     }
15599     if (from.has_gamestate()) {
15600       set_gamestate(from.gamestate());
15601     }
15602     if (from.has_youraction()) {
15603       set_youraction(from.youraction());
15604     }
15605     if (from.has_yourrelativebet()) {
15606       set_yourrelativebet(from.yourrelativebet());
15607     }
15608     if (from.has_rejectionreason()) {
15609       set_rejectionreason(from.rejectionreason());
15610     }
15611   }
15612   mutable_unknown_fields()->append(from.unknown_fields());
15613 }
15614 
15615 void YourActionRejectedMessage::CopyFrom(const YourActionRejectedMessage& from) {
15616   if (&from == this) return;
15617   Clear();
15618   MergeFrom(from);
15619 }
15620 
15621 bool YourActionRejectedMessage::IsInitialized() const {
15622   if ((_has_bits_[0] & 0x0000001f) != 0x0000001f) return false;
15623 
15624   return true;
15625 }
15626 
15627 void YourActionRejectedMessage::Swap(YourActionRejectedMessage* other) {
15628   if (other != this) {
15629     std::swap(gameid_, other->gameid_);
15630     std::swap(gamestate_, other->gamestate_);
15631     std::swap(youraction_, other->youraction_);
15632     std::swap(yourrelativebet_, other->yourrelativebet_);
15633     std::swap(rejectionreason_, other->rejectionreason_);
15634     std::swap(_has_bits_[0], other->_has_bits_[0]);
15635     _unknown_fields_.swap(other->_unknown_fields_);
15636     std::swap(_cached_size_, other->_cached_size_);
15637   }
15638 }
15639 
15640 ::std::string YourActionRejectedMessage::GetTypeName() const {
15641   return "YourActionRejectedMessage";
15642 }
15643 
15644 
15645 // ===================================================================
15646 
15647 #ifndef _MSC_VER
15648 const int PlayersActionDoneMessage::kGameIdFieldNumber;
15649 const int PlayersActionDoneMessage::kPlayerIdFieldNumber;
15650 const int PlayersActionDoneMessage::kGameStateFieldNumber;
15651 const int PlayersActionDoneMessage::kPlayerActionFieldNumber;
15652 const int PlayersActionDoneMessage::kTotalPlayerBetFieldNumber;
15653 const int PlayersActionDoneMessage::kPlayerMoneyFieldNumber;
15654 const int PlayersActionDoneMessage::kHighestSetFieldNumber;
15655 const int PlayersActionDoneMessage::kMinimumRaiseFieldNumber;
15656 #endif  // !_MSC_VER
15657 
15658 PlayersActionDoneMessage::PlayersActionDoneMessage()
15659   : ::google::protobuf::MessageLite() {
15660   SharedCtor();
15661   // @@protoc_insertion_point(constructor:PlayersActionDoneMessage)
15662 }
15663 
15664 void PlayersActionDoneMessage::InitAsDefaultInstance() {
15665 }
15666 
15667 PlayersActionDoneMessage::PlayersActionDoneMessage(const PlayersActionDoneMessage& from)
15668   : ::google::protobuf::MessageLite() {
15669   SharedCtor();
15670   MergeFrom(from);
15671   // @@protoc_insertion_point(copy_constructor:PlayersActionDoneMessage)
15672 }
15673 
15674 void PlayersActionDoneMessage::SharedCtor() {
15675   _cached_size_ = 0;
15676   gameid_ = 0u;
15677   playerid_ = 0u;
15678   gamestate_ = 0;
15679   playeraction_ = 0;
15680   totalplayerbet_ = 0u;
15681   playermoney_ = 0u;
15682   highestset_ = 0u;
15683   minimumraise_ = 0u;
15684   ::memset(_has_bits_, 0, sizeof(_has_bits_));
15685 }
15686 
15687 PlayersActionDoneMessage::~PlayersActionDoneMessage() {
15688   // @@protoc_insertion_point(destructor:PlayersActionDoneMessage)
15689   SharedDtor();
15690 }
15691 
15692 void PlayersActionDoneMessage::SharedDtor() {
15693   #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
15694   if (this != &default_instance()) {
15695   #else
15696   if (this != default_instance_) {
15697   #endif
15698   }
15699 }
15700 
15701 void PlayersActionDoneMessage::SetCachedSize(int size) const {
15702   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
15703   _cached_size_ = size;
15704   GOOGLE_SAFE_CONCURRENT_WRITES_END();
15705 }
15706 const PlayersActionDoneMessage& PlayersActionDoneMessage::default_instance() {
15707 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
15708   protobuf_AddDesc_pokerth_2eproto();
15709 #else
15710   if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto();
15711 #endif
15712   return *default_instance_;
15713 }
15714 
15715 PlayersActionDoneMessage* PlayersActionDoneMessage::default_instance_ = NULL;
15716 
15717 PlayersActionDoneMessage* PlayersActionDoneMessage::New() const {
15718   return new PlayersActionDoneMessage;
15719 }
15720 
15721 void PlayersActionDoneMessage::Clear() {
15722 #define OFFSET_OF_FIELD_(f) (reinterpret_cast<char*>(      \
15723   &reinterpret_cast<PlayersActionDoneMessage*>(16)->f) - \
15724    reinterpret_cast<char*>(16))
15725 
15726 #define ZR_(first, last) do {                              \
15727     size_t f = OFFSET_OF_FIELD_(first);                    \
15728     size_t n = OFFSET_OF_FIELD_(last) - f + sizeof(last);  \
15729     ::memset(&first, 0, n);                                \
15730   } while (0)
15731 
15732   if (_has_bits_[0 / 32] & 255) {
15733     ZR_(gameid_, minimumraise_);
15734   }
15735 
15736 #undef OFFSET_OF_FIELD_
15737 #undef ZR_
15738 
15739   ::memset(_has_bits_, 0, sizeof(_has_bits_));
15740   mutable_unknown_fields()->clear();
15741 }
15742 
15743 bool PlayersActionDoneMessage::MergePartialFromCodedStream(
15744     ::google::protobuf::io::CodedInputStream* input) {
15745 #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
15746   ::google::protobuf::uint32 tag;
15747   ::google::protobuf::io::StringOutputStream unknown_fields_string(
15748       mutable_unknown_fields());
15749   ::google::protobuf::io::CodedOutputStream unknown_fields_stream(
15750       &unknown_fields_string);
15751   // @@protoc_insertion_point(parse_start:PlayersActionDoneMessage)
15752   for (;;) {
15753     ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
15754     tag = p.first;
15755     if (!p.second) goto handle_unusual;
15756     switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
15757       // required uint32 gameId = 1;
15758       case 1: {
15759         if (tag == 8) {
15760           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
15761                    ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
15762                  input, &gameid_)));
15763           set_has_gameid();
15764         } else {
15765           goto handle_unusual;
15766         }
15767         if (input->ExpectTag(16)) goto parse_playerId;
15768         break;
15769       }
15770 
15771       // required uint32 playerId = 2;
15772       case 2: {
15773         if (tag == 16) {
15774          parse_playerId:
15775           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
15776                    ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
15777                  input, &playerid_)));
15778           set_has_playerid();
15779         } else {
15780           goto handle_unusual;
15781         }
15782         if (input->ExpectTag(24)) goto parse_gameState;
15783         break;
15784       }
15785 
15786       // required .NetGameState gameState = 3;
15787       case 3: {
15788         if (tag == 24) {
15789          parse_gameState:
15790           int value;
15791           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
15792                    int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
15793                  input, &value)));
15794           if (::NetGameState_IsValid(value)) {
15795             set_gamestate(static_cast< ::NetGameState >(value));
15796           } else {
15797             unknown_fields_stream.WriteVarint32(tag);
15798             unknown_fields_stream.WriteVarint32(value);
15799           }
15800         } else {
15801           goto handle_unusual;
15802         }
15803         if (input->ExpectTag(32)) goto parse_playerAction;
15804         break;
15805       }
15806 
15807       // required .NetPlayerAction playerAction = 4;
15808       case 4: {
15809         if (tag == 32) {
15810          parse_playerAction:
15811           int value;
15812           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
15813                    int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
15814                  input, &value)));
15815           if (::NetPlayerAction_IsValid(value)) {
15816             set_playeraction(static_cast< ::NetPlayerAction >(value));
15817           } else {
15818             unknown_fields_stream.WriteVarint32(tag);
15819             unknown_fields_stream.WriteVarint32(value);
15820           }
15821         } else {
15822           goto handle_unusual;
15823         }
15824         if (input->ExpectTag(40)) goto parse_totalPlayerBet;
15825         break;
15826       }
15827 
15828       // required uint32 totalPlayerBet = 5;
15829       case 5: {
15830         if (tag == 40) {
15831          parse_totalPlayerBet:
15832           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
15833                    ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
15834                  input, &totalplayerbet_)));
15835           set_has_totalplayerbet();
15836         } else {
15837           goto handle_unusual;
15838         }
15839         if (input->ExpectTag(48)) goto parse_playerMoney;
15840         break;
15841       }
15842 
15843       // required uint32 playerMoney = 6;
15844       case 6: {
15845         if (tag == 48) {
15846          parse_playerMoney:
15847           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
15848                    ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
15849                  input, &playermoney_)));
15850           set_has_playermoney();
15851         } else {
15852           goto handle_unusual;
15853         }
15854         if (input->ExpectTag(56)) goto parse_highestSet;
15855         break;
15856       }
15857 
15858       // required uint32 highestSet = 7;
15859       case 7: {
15860         if (tag == 56) {
15861          parse_highestSet:
15862           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
15863                    ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
15864                  input, &highestset_)));
15865           set_has_highestset();
15866         } else {
15867           goto handle_unusual;
15868         }
15869         if (input->ExpectTag(64)) goto parse_minimumRaise;
15870         break;
15871       }
15872 
15873       // required uint32 minimumRaise = 8;
15874       case 8: {
15875         if (tag == 64) {
15876          parse_minimumRaise:
15877           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
15878                    ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
15879                  input, &minimumraise_)));
15880           set_has_minimumraise();
15881         } else {
15882           goto handle_unusual;
15883         }
15884         if (input->ExpectAtEnd()) goto success;
15885         break;
15886       }
15887 
15888       default: {
15889       handle_unusual:
15890         if (tag == 0 ||
15891             ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
15892             ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
15893           goto success;
15894         }
15895         DO_(::google::protobuf::internal::WireFormatLite::SkipField(
15896             input, tag, &unknown_fields_stream));
15897         break;
15898       }
15899     }
15900   }
15901 success:
15902   // @@protoc_insertion_point(parse_success:PlayersActionDoneMessage)
15903   return true;
15904 failure:
15905   // @@protoc_insertion_point(parse_failure:PlayersActionDoneMessage)
15906   return false;
15907 #undef DO_
15908 }
15909 
15910 void PlayersActionDoneMessage::SerializeWithCachedSizes(
15911     ::google::protobuf::io::CodedOutputStream* output) const {
15912   // @@protoc_insertion_point(serialize_start:PlayersActionDoneMessage)
15913   // required uint32 gameId = 1;
15914   if (has_gameid()) {
15915     ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->gameid(), output);
15916   }
15917 
15918   // required uint32 playerId = 2;
15919   if (has_playerid()) {
15920     ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->playerid(), output);
15921   }
15922 
15923   // required .NetGameState gameState = 3;
15924   if (has_gamestate()) {
15925     ::google::protobuf::internal::WireFormatLite::WriteEnum(
15926       3, this->gamestate(), output);
15927   }
15928 
15929   // required .NetPlayerAction playerAction = 4;
15930   if (has_playeraction()) {
15931     ::google::protobuf::internal::WireFormatLite::WriteEnum(
15932       4, this->playeraction(), output);
15933   }
15934 
15935   // required uint32 totalPlayerBet = 5;
15936   if (has_totalplayerbet()) {
15937     ::google::protobuf::internal::WireFormatLite::WriteUInt32(5, this->totalplayerbet(), output);
15938   }
15939 
15940   // required uint32 playerMoney = 6;
15941   if (has_playermoney()) {
15942     ::google::protobuf::internal::WireFormatLite::WriteUInt32(6, this->playermoney(), output);
15943   }
15944 
15945   // required uint32 highestSet = 7;
15946   if (has_highestset()) {
15947     ::google::protobuf::internal::WireFormatLite::WriteUInt32(7, this->highestset(), output);
15948   }
15949 
15950   // required uint32 minimumRaise = 8;
15951   if (has_minimumraise()) {
15952     ::google::protobuf::internal::WireFormatLite::WriteUInt32(8, this->minimumraise(), output);
15953   }
15954 
15955   output->WriteRaw(unknown_fields().data(),
15956                    unknown_fields().size());
15957   // @@protoc_insertion_point(serialize_end:PlayersActionDoneMessage)
15958 }
15959 
15960 int PlayersActionDoneMessage::ByteSize() const {
15961   int total_size = 0;
15962 
15963   if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
15964     // required uint32 gameId = 1;
15965     if (has_gameid()) {
15966       total_size += 1 +
15967         ::google::protobuf::internal::WireFormatLite::UInt32Size(
15968           this->gameid());
15969     }
15970 
15971     // required uint32 playerId = 2;
15972     if (has_playerid()) {
15973       total_size += 1 +
15974         ::google::protobuf::internal::WireFormatLite::UInt32Size(
15975           this->playerid());
15976     }
15977 
15978     // required .NetGameState gameState = 3;
15979     if (has_gamestate()) {
15980       total_size += 1 +
15981         ::google::protobuf::internal::WireFormatLite::EnumSize(this->gamestate());
15982     }
15983 
15984     // required .NetPlayerAction playerAction = 4;
15985     if (has_playeraction()) {
15986       total_size += 1 +
15987         ::google::protobuf::internal::WireFormatLite::EnumSize(this->playeraction());
15988     }
15989 
15990     // required uint32 totalPlayerBet = 5;
15991     if (has_totalplayerbet()) {
15992       total_size += 1 +
15993         ::google::protobuf::internal::WireFormatLite::UInt32Size(
15994           this->totalplayerbet());
15995     }
15996 
15997     // required uint32 playerMoney = 6;
15998     if (has_playermoney()) {
15999       total_size += 1 +
16000         ::google::protobuf::internal::WireFormatLite::UInt32Size(
16001           this->playermoney());
16002     }
16003 
16004     // required uint32 highestSet = 7;
16005     if (has_highestset()) {
16006       total_size += 1 +
16007         ::google::protobuf::internal::WireFormatLite::UInt32Size(
16008           this->highestset());
16009     }
16010 
16011     // required uint32 minimumRaise = 8;
16012     if (has_minimumraise()) {
16013       total_size += 1 +
16014         ::google::protobuf::internal::WireFormatLite::UInt32Size(
16015           this->minimumraise());
16016     }
16017 
16018   }
16019   total_size += unknown_fields().size();
16020 
16021   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
16022   _cached_size_ = total_size;
16023   GOOGLE_SAFE_CONCURRENT_WRITES_END();
16024   return total_size;
16025 }
16026 
16027 void PlayersActionDoneMessage::CheckTypeAndMergeFrom(
16028     const ::google::protobuf::MessageLite& from) {
16029   MergeFrom(*::google::protobuf::down_cast<const PlayersActionDoneMessage*>(&from));
16030 }
16031 
16032 void PlayersActionDoneMessage::MergeFrom(const PlayersActionDoneMessage& from) {
16033   GOOGLE_CHECK_NE(&from, this);
16034   if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
16035     if (from.has_gameid()) {
16036       set_gameid(from.gameid());
16037     }
16038     if (from.has_playerid()) {
16039       set_playerid(from.playerid());
16040     }
16041     if (from.has_gamestate()) {
16042       set_gamestate(from.gamestate());
16043     }
16044     if (from.has_playeraction()) {
16045       set_playeraction(from.playeraction());
16046     }
16047     if (from.has_totalplayerbet()) {
16048       set_totalplayerbet(from.totalplayerbet());
16049     }
16050     if (from.has_playermoney()) {
16051       set_playermoney(from.playermoney());
16052     }
16053     if (from.has_highestset()) {
16054       set_highestset(from.highestset());
16055     }
16056     if (from.has_minimumraise()) {
16057       set_minimumraise(from.minimumraise());
16058     }
16059   }
16060   mutable_unknown_fields()->append(from.unknown_fields());
16061 }
16062 
16063 void PlayersActionDoneMessage::CopyFrom(const PlayersActionDoneMessage& from) {
16064   if (&from == this) return;
16065   Clear();
16066   MergeFrom(from);
16067 }
16068 
16069 bool PlayersActionDoneMessage::IsInitialized() const {
16070   if ((_has_bits_[0] & 0x000000ff) != 0x000000ff) return false;
16071 
16072   return true;
16073 }
16074 
16075 void PlayersActionDoneMessage::Swap(PlayersActionDoneMessage* other) {
16076   if (other != this) {
16077     std::swap(gameid_, other->gameid_);
16078     std::swap(playerid_, other->playerid_);
16079     std::swap(gamestate_, other->gamestate_);
16080     std::swap(playeraction_, other->playeraction_);
16081     std::swap(totalplayerbet_, other->totalplayerbet_);
16082     std::swap(playermoney_, other->playermoney_);
16083     std::swap(highestset_, other->highestset_);
16084     std::swap(minimumraise_, other->minimumraise_);
16085     std::swap(_has_bits_[0], other->_has_bits_[0]);
16086     _unknown_fields_.swap(other->_unknown_fields_);
16087     std::swap(_cached_size_, other->_cached_size_);
16088   }
16089 }
16090 
16091 ::std::string PlayersActionDoneMessage::GetTypeName() const {
16092   return "PlayersActionDoneMessage";
16093 }
16094 
16095 
16096 // ===================================================================
16097 
16098 #ifndef _MSC_VER
16099 const int DealFlopCardsMessage::kGameIdFieldNumber;
16100 const int DealFlopCardsMessage::kFlopCard1FieldNumber;
16101 const int DealFlopCardsMessage::kFlopCard2FieldNumber;
16102 const int DealFlopCardsMessage::kFlopCard3FieldNumber;
16103 #endif  // !_MSC_VER
16104 
16105 DealFlopCardsMessage::DealFlopCardsMessage()
16106   : ::google::protobuf::MessageLite() {
16107   SharedCtor();
16108   // @@protoc_insertion_point(constructor:DealFlopCardsMessage)
16109 }
16110 
16111 void DealFlopCardsMessage::InitAsDefaultInstance() {
16112 }
16113 
16114 DealFlopCardsMessage::DealFlopCardsMessage(const DealFlopCardsMessage& from)
16115   : ::google::protobuf::MessageLite() {
16116   SharedCtor();
16117   MergeFrom(from);
16118   // @@protoc_insertion_point(copy_constructor:DealFlopCardsMessage)
16119 }
16120 
16121 void DealFlopCardsMessage::SharedCtor() {
16122   _cached_size_ = 0;
16123   gameid_ = 0u;
16124   flopcard1_ = 0u;
16125   flopcard2_ = 0u;
16126   flopcard3_ = 0u;
16127   ::memset(_has_bits_, 0, sizeof(_has_bits_));
16128 }
16129 
16130 DealFlopCardsMessage::~DealFlopCardsMessage() {
16131   // @@protoc_insertion_point(destructor:DealFlopCardsMessage)
16132   SharedDtor();
16133 }
16134 
16135 void DealFlopCardsMessage::SharedDtor() {
16136   #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
16137   if (this != &default_instance()) {
16138   #else
16139   if (this != default_instance_) {
16140   #endif
16141   }
16142 }
16143 
16144 void DealFlopCardsMessage::SetCachedSize(int size) const {
16145   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
16146   _cached_size_ = size;
16147   GOOGLE_SAFE_CONCURRENT_WRITES_END();
16148 }
16149 const DealFlopCardsMessage& DealFlopCardsMessage::default_instance() {
16150 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
16151   protobuf_AddDesc_pokerth_2eproto();
16152 #else
16153   if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto();
16154 #endif
16155   return *default_instance_;
16156 }
16157 
16158 DealFlopCardsMessage* DealFlopCardsMessage::default_instance_ = NULL;
16159 
16160 DealFlopCardsMessage* DealFlopCardsMessage::New() const {
16161   return new DealFlopCardsMessage;
16162 }
16163 
16164 void DealFlopCardsMessage::Clear() {
16165 #define OFFSET_OF_FIELD_(f) (reinterpret_cast<char*>(      \
16166   &reinterpret_cast<DealFlopCardsMessage*>(16)->f) - \
16167    reinterpret_cast<char*>(16))
16168 
16169 #define ZR_(first, last) do {                              \
16170     size_t f = OFFSET_OF_FIELD_(first);                    \
16171     size_t n = OFFSET_OF_FIELD_(last) - f + sizeof(last);  \
16172     ::memset(&first, 0, n);                                \
16173   } while (0)
16174 
16175   ZR_(gameid_, flopcard3_);
16176 
16177 #undef OFFSET_OF_FIELD_
16178 #undef ZR_
16179 
16180   ::memset(_has_bits_, 0, sizeof(_has_bits_));
16181   mutable_unknown_fields()->clear();
16182 }
16183 
16184 bool DealFlopCardsMessage::MergePartialFromCodedStream(
16185     ::google::protobuf::io::CodedInputStream* input) {
16186 #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
16187   ::google::protobuf::uint32 tag;
16188   ::google::protobuf::io::StringOutputStream unknown_fields_string(
16189       mutable_unknown_fields());
16190   ::google::protobuf::io::CodedOutputStream unknown_fields_stream(
16191       &unknown_fields_string);
16192   // @@protoc_insertion_point(parse_start:DealFlopCardsMessage)
16193   for (;;) {
16194     ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
16195     tag = p.first;
16196     if (!p.second) goto handle_unusual;
16197     switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
16198       // required uint32 gameId = 1;
16199       case 1: {
16200         if (tag == 8) {
16201           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
16202                    ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
16203                  input, &gameid_)));
16204           set_has_gameid();
16205         } else {
16206           goto handle_unusual;
16207         }
16208         if (input->ExpectTag(16)) goto parse_flopCard1;
16209         break;
16210       }
16211 
16212       // required uint32 flopCard1 = 2;
16213       case 2: {
16214         if (tag == 16) {
16215          parse_flopCard1:
16216           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
16217                    ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
16218                  input, &flopcard1_)));
16219           set_has_flopcard1();
16220         } else {
16221           goto handle_unusual;
16222         }
16223         if (input->ExpectTag(24)) goto parse_flopCard2;
16224         break;
16225       }
16226 
16227       // required uint32 flopCard2 = 3;
16228       case 3: {
16229         if (tag == 24) {
16230          parse_flopCard2:
16231           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
16232                    ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
16233                  input, &flopcard2_)));
16234           set_has_flopcard2();
16235         } else {
16236           goto handle_unusual;
16237         }
16238         if (input->ExpectTag(32)) goto parse_flopCard3;
16239         break;
16240       }
16241 
16242       // required uint32 flopCard3 = 4;
16243       case 4: {
16244         if (tag == 32) {
16245          parse_flopCard3:
16246           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
16247                    ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
16248                  input, &flopcard3_)));
16249           set_has_flopcard3();
16250         } else {
16251           goto handle_unusual;
16252         }
16253         if (input->ExpectAtEnd()) goto success;
16254         break;
16255       }
16256 
16257       default: {
16258       handle_unusual:
16259         if (tag == 0 ||
16260             ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
16261             ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
16262           goto success;
16263         }
16264         DO_(::google::protobuf::internal::WireFormatLite::SkipField(
16265             input, tag, &unknown_fields_stream));
16266         break;
16267       }
16268     }
16269   }
16270 success:
16271   // @@protoc_insertion_point(parse_success:DealFlopCardsMessage)
16272   return true;
16273 failure:
16274   // @@protoc_insertion_point(parse_failure:DealFlopCardsMessage)
16275   return false;
16276 #undef DO_
16277 }
16278 
16279 void DealFlopCardsMessage::SerializeWithCachedSizes(
16280     ::google::protobuf::io::CodedOutputStream* output) const {
16281   // @@protoc_insertion_point(serialize_start:DealFlopCardsMessage)
16282   // required uint32 gameId = 1;
16283   if (has_gameid()) {
16284     ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->gameid(), output);
16285   }
16286 
16287   // required uint32 flopCard1 = 2;
16288   if (has_flopcard1()) {
16289     ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->flopcard1(), output);
16290   }
16291 
16292   // required uint32 flopCard2 = 3;
16293   if (has_flopcard2()) {
16294     ::google::protobuf::internal::WireFormatLite::WriteUInt32(3, this->flopcard2(), output);
16295   }
16296 
16297   // required uint32 flopCard3 = 4;
16298   if (has_flopcard3()) {
16299     ::google::protobuf::internal::WireFormatLite::WriteUInt32(4, this->flopcard3(), output);
16300   }
16301 
16302   output->WriteRaw(unknown_fields().data(),
16303                    unknown_fields().size());
16304   // @@protoc_insertion_point(serialize_end:DealFlopCardsMessage)
16305 }
16306 
16307 int DealFlopCardsMessage::ByteSize() const {
16308   int total_size = 0;
16309 
16310   if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
16311     // required uint32 gameId = 1;
16312     if (has_gameid()) {
16313       total_size += 1 +
16314         ::google::protobuf::internal::WireFormatLite::UInt32Size(
16315           this->gameid());
16316     }
16317 
16318     // required uint32 flopCard1 = 2;
16319     if (has_flopcard1()) {
16320       total_size += 1 +
16321         ::google::protobuf::internal::WireFormatLite::UInt32Size(
16322           this->flopcard1());
16323     }
16324 
16325     // required uint32 flopCard2 = 3;
16326     if (has_flopcard2()) {
16327       total_size += 1 +
16328         ::google::protobuf::internal::WireFormatLite::UInt32Size(
16329           this->flopcard2());
16330     }
16331 
16332     // required uint32 flopCard3 = 4;
16333     if (has_flopcard3()) {
16334       total_size += 1 +
16335         ::google::protobuf::internal::WireFormatLite::UInt32Size(
16336           this->flopcard3());
16337     }
16338 
16339   }
16340   total_size += unknown_fields().size();
16341 
16342   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
16343   _cached_size_ = total_size;
16344   GOOGLE_SAFE_CONCURRENT_WRITES_END();
16345   return total_size;
16346 }
16347 
16348 void DealFlopCardsMessage::CheckTypeAndMergeFrom(
16349     const ::google::protobuf::MessageLite& from) {
16350   MergeFrom(*::google::protobuf::down_cast<const DealFlopCardsMessage*>(&from));
16351 }
16352 
16353 void DealFlopCardsMessage::MergeFrom(const DealFlopCardsMessage& from) {
16354   GOOGLE_CHECK_NE(&from, this);
16355   if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
16356     if (from.has_gameid()) {
16357       set_gameid(from.gameid());
16358     }
16359     if (from.has_flopcard1()) {
16360       set_flopcard1(from.flopcard1());
16361     }
16362     if (from.has_flopcard2()) {
16363       set_flopcard2(from.flopcard2());
16364     }
16365     if (from.has_flopcard3()) {
16366       set_flopcard3(from.flopcard3());
16367     }
16368   }
16369   mutable_unknown_fields()->append(from.unknown_fields());
16370 }
16371 
16372 void DealFlopCardsMessage::CopyFrom(const DealFlopCardsMessage& from) {
16373   if (&from == this) return;
16374   Clear();
16375   MergeFrom(from);
16376 }
16377 
16378 bool DealFlopCardsMessage::IsInitialized() const {
16379   if ((_has_bits_[0] & 0x0000000f) != 0x0000000f) return false;
16380 
16381   return true;
16382 }
16383 
16384 void DealFlopCardsMessage::Swap(DealFlopCardsMessage* other) {
16385   if (other != this) {
16386     std::swap(gameid_, other->gameid_);
16387     std::swap(flopcard1_, other->flopcard1_);
16388     std::swap(flopcard2_, other->flopcard2_);
16389     std::swap(flopcard3_, other->flopcard3_);
16390     std::swap(_has_bits_[0], other->_has_bits_[0]);
16391     _unknown_fields_.swap(other->_unknown_fields_);
16392     std::swap(_cached_size_, other->_cached_size_);
16393   }
16394 }
16395 
16396 ::std::string DealFlopCardsMessage::GetTypeName() const {
16397   return "DealFlopCardsMessage";
16398 }
16399 
16400 
16401 // ===================================================================
16402 
16403 #ifndef _MSC_VER
16404 const int DealTurnCardMessage::kGameIdFieldNumber;
16405 const int DealTurnCardMessage::kTurnCardFieldNumber;
16406 #endif  // !_MSC_VER
16407 
16408 DealTurnCardMessage::DealTurnCardMessage()
16409   : ::google::protobuf::MessageLite() {
16410   SharedCtor();
16411   // @@protoc_insertion_point(constructor:DealTurnCardMessage)
16412 }
16413 
16414 void DealTurnCardMessage::InitAsDefaultInstance() {
16415 }
16416 
16417 DealTurnCardMessage::DealTurnCardMessage(const DealTurnCardMessage& from)
16418   : ::google::protobuf::MessageLite() {
16419   SharedCtor();
16420   MergeFrom(from);
16421   // @@protoc_insertion_point(copy_constructor:DealTurnCardMessage)
16422 }
16423 
16424 void DealTurnCardMessage::SharedCtor() {
16425   _cached_size_ = 0;
16426   gameid_ = 0u;
16427   turncard_ = 0u;
16428   ::memset(_has_bits_, 0, sizeof(_has_bits_));
16429 }
16430 
16431 DealTurnCardMessage::~DealTurnCardMessage() {
16432   // @@protoc_insertion_point(destructor:DealTurnCardMessage)
16433   SharedDtor();
16434 }
16435 
16436 void DealTurnCardMessage::SharedDtor() {
16437   #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
16438   if (this != &default_instance()) {
16439   #else
16440   if (this != default_instance_) {
16441   #endif
16442   }
16443 }
16444 
16445 void DealTurnCardMessage::SetCachedSize(int size) const {
16446   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
16447   _cached_size_ = size;
16448   GOOGLE_SAFE_CONCURRENT_WRITES_END();
16449 }
16450 const DealTurnCardMessage& DealTurnCardMessage::default_instance() {
16451 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
16452   protobuf_AddDesc_pokerth_2eproto();
16453 #else
16454   if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto();
16455 #endif
16456   return *default_instance_;
16457 }
16458 
16459 DealTurnCardMessage* DealTurnCardMessage::default_instance_ = NULL;
16460 
16461 DealTurnCardMessage* DealTurnCardMessage::New() const {
16462   return new DealTurnCardMessage;
16463 }
16464 
16465 void DealTurnCardMessage::Clear() {
16466 #define OFFSET_OF_FIELD_(f) (reinterpret_cast<char*>(      \
16467   &reinterpret_cast<DealTurnCardMessage*>(16)->f) - \
16468    reinterpret_cast<char*>(16))
16469 
16470 #define ZR_(first, last) do {                              \
16471     size_t f = OFFSET_OF_FIELD_(first);                    \
16472     size_t n = OFFSET_OF_FIELD_(last) - f + sizeof(last);  \
16473     ::memset(&first, 0, n);                                \
16474   } while (0)
16475 
16476   ZR_(gameid_, turncard_);
16477 
16478 #undef OFFSET_OF_FIELD_
16479 #undef ZR_
16480 
16481   ::memset(_has_bits_, 0, sizeof(_has_bits_));
16482   mutable_unknown_fields()->clear();
16483 }
16484 
16485 bool DealTurnCardMessage::MergePartialFromCodedStream(
16486     ::google::protobuf::io::CodedInputStream* input) {
16487 #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
16488   ::google::protobuf::uint32 tag;
16489   ::google::protobuf::io::StringOutputStream unknown_fields_string(
16490       mutable_unknown_fields());
16491   ::google::protobuf::io::CodedOutputStream unknown_fields_stream(
16492       &unknown_fields_string);
16493   // @@protoc_insertion_point(parse_start:DealTurnCardMessage)
16494   for (;;) {
16495     ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
16496     tag = p.first;
16497     if (!p.second) goto handle_unusual;
16498     switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
16499       // required uint32 gameId = 1;
16500       case 1: {
16501         if (tag == 8) {
16502           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
16503                    ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
16504                  input, &gameid_)));
16505           set_has_gameid();
16506         } else {
16507           goto handle_unusual;
16508         }
16509         if (input->ExpectTag(16)) goto parse_turnCard;
16510         break;
16511       }
16512 
16513       // required uint32 turnCard = 2;
16514       case 2: {
16515         if (tag == 16) {
16516          parse_turnCard:
16517           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
16518                    ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
16519                  input, &turncard_)));
16520           set_has_turncard();
16521         } else {
16522           goto handle_unusual;
16523         }
16524         if (input->ExpectAtEnd()) goto success;
16525         break;
16526       }
16527 
16528       default: {
16529       handle_unusual:
16530         if (tag == 0 ||
16531             ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
16532             ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
16533           goto success;
16534         }
16535         DO_(::google::protobuf::internal::WireFormatLite::SkipField(
16536             input, tag, &unknown_fields_stream));
16537         break;
16538       }
16539     }
16540   }
16541 success:
16542   // @@protoc_insertion_point(parse_success:DealTurnCardMessage)
16543   return true;
16544 failure:
16545   // @@protoc_insertion_point(parse_failure:DealTurnCardMessage)
16546   return false;
16547 #undef DO_
16548 }
16549 
16550 void DealTurnCardMessage::SerializeWithCachedSizes(
16551     ::google::protobuf::io::CodedOutputStream* output) const {
16552   // @@protoc_insertion_point(serialize_start:DealTurnCardMessage)
16553   // required uint32 gameId = 1;
16554   if (has_gameid()) {
16555     ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->gameid(), output);
16556   }
16557 
16558   // required uint32 turnCard = 2;
16559   if (has_turncard()) {
16560     ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->turncard(), output);
16561   }
16562 
16563   output->WriteRaw(unknown_fields().data(),
16564                    unknown_fields().size());
16565   // @@protoc_insertion_point(serialize_end:DealTurnCardMessage)
16566 }
16567 
16568 int DealTurnCardMessage::ByteSize() const {
16569   int total_size = 0;
16570 
16571   if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
16572     // required uint32 gameId = 1;
16573     if (has_gameid()) {
16574       total_size += 1 +
16575         ::google::protobuf::internal::WireFormatLite::UInt32Size(
16576           this->gameid());
16577     }
16578 
16579     // required uint32 turnCard = 2;
16580     if (has_turncard()) {
16581       total_size += 1 +
16582         ::google::protobuf::internal::WireFormatLite::UInt32Size(
16583           this->turncard());
16584     }
16585 
16586   }
16587   total_size += unknown_fields().size();
16588 
16589   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
16590   _cached_size_ = total_size;
16591   GOOGLE_SAFE_CONCURRENT_WRITES_END();
16592   return total_size;
16593 }
16594 
16595 void DealTurnCardMessage::CheckTypeAndMergeFrom(
16596     const ::google::protobuf::MessageLite& from) {
16597   MergeFrom(*::google::protobuf::down_cast<const DealTurnCardMessage*>(&from));
16598 }
16599 
16600 void DealTurnCardMessage::MergeFrom(const DealTurnCardMessage& from) {
16601   GOOGLE_CHECK_NE(&from, this);
16602   if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
16603     if (from.has_gameid()) {
16604       set_gameid(from.gameid());
16605     }
16606     if (from.has_turncard()) {
16607       set_turncard(from.turncard());
16608     }
16609   }
16610   mutable_unknown_fields()->append(from.unknown_fields());
16611 }
16612 
16613 void DealTurnCardMessage::CopyFrom(const DealTurnCardMessage& from) {
16614   if (&from == this) return;
16615   Clear();
16616   MergeFrom(from);
16617 }
16618 
16619 bool DealTurnCardMessage::IsInitialized() const {
16620   if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false;
16621 
16622   return true;
16623 }
16624 
16625 void DealTurnCardMessage::Swap(DealTurnCardMessage* other) {
16626   if (other != this) {
16627     std::swap(gameid_, other->gameid_);
16628     std::swap(turncard_, other->turncard_);
16629     std::swap(_has_bits_[0], other->_has_bits_[0]);
16630     _unknown_fields_.swap(other->_unknown_fields_);
16631     std::swap(_cached_size_, other->_cached_size_);
16632   }
16633 }
16634 
16635 ::std::string DealTurnCardMessage::GetTypeName() const {
16636   return "DealTurnCardMessage";
16637 }
16638 
16639 
16640 // ===================================================================
16641 
16642 #ifndef _MSC_VER
16643 const int DealRiverCardMessage::kGameIdFieldNumber;
16644 const int DealRiverCardMessage::kRiverCardFieldNumber;
16645 #endif  // !_MSC_VER
16646 
16647 DealRiverCardMessage::DealRiverCardMessage()
16648   : ::google::protobuf::MessageLite() {
16649   SharedCtor();
16650   // @@protoc_insertion_point(constructor:DealRiverCardMessage)
16651 }
16652 
16653 void DealRiverCardMessage::InitAsDefaultInstance() {
16654 }
16655 
16656 DealRiverCardMessage::DealRiverCardMessage(const DealRiverCardMessage& from)
16657   : ::google::protobuf::MessageLite() {
16658   SharedCtor();
16659   MergeFrom(from);
16660   // @@protoc_insertion_point(copy_constructor:DealRiverCardMessage)
16661 }
16662 
16663 void DealRiverCardMessage::SharedCtor() {
16664   _cached_size_ = 0;
16665   gameid_ = 0u;
16666   rivercard_ = 0u;
16667   ::memset(_has_bits_, 0, sizeof(_has_bits_));
16668 }
16669 
16670 DealRiverCardMessage::~DealRiverCardMessage() {
16671   // @@protoc_insertion_point(destructor:DealRiverCardMessage)
16672   SharedDtor();
16673 }
16674 
16675 void DealRiverCardMessage::SharedDtor() {
16676   #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
16677   if (this != &default_instance()) {
16678   #else
16679   if (this != default_instance_) {
16680   #endif
16681   }
16682 }
16683 
16684 void DealRiverCardMessage::SetCachedSize(int size) const {
16685   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
16686   _cached_size_ = size;
16687   GOOGLE_SAFE_CONCURRENT_WRITES_END();
16688 }
16689 const DealRiverCardMessage& DealRiverCardMessage::default_instance() {
16690 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
16691   protobuf_AddDesc_pokerth_2eproto();
16692 #else
16693   if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto();
16694 #endif
16695   return *default_instance_;
16696 }
16697 
16698 DealRiverCardMessage* DealRiverCardMessage::default_instance_ = NULL;
16699 
16700 DealRiverCardMessage* DealRiverCardMessage::New() const {
16701   return new DealRiverCardMessage;
16702 }
16703 
16704 void DealRiverCardMessage::Clear() {
16705 #define OFFSET_OF_FIELD_(f) (reinterpret_cast<char*>(      \
16706   &reinterpret_cast<DealRiverCardMessage*>(16)->f) - \
16707    reinterpret_cast<char*>(16))
16708 
16709 #define ZR_(first, last) do {                              \
16710     size_t f = OFFSET_OF_FIELD_(first);                    \
16711     size_t n = OFFSET_OF_FIELD_(last) - f + sizeof(last);  \
16712     ::memset(&first, 0, n);                                \
16713   } while (0)
16714 
16715   ZR_(gameid_, rivercard_);
16716 
16717 #undef OFFSET_OF_FIELD_
16718 #undef ZR_
16719 
16720   ::memset(_has_bits_, 0, sizeof(_has_bits_));
16721   mutable_unknown_fields()->clear();
16722 }
16723 
16724 bool DealRiverCardMessage::MergePartialFromCodedStream(
16725     ::google::protobuf::io::CodedInputStream* input) {
16726 #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
16727   ::google::protobuf::uint32 tag;
16728   ::google::protobuf::io::StringOutputStream unknown_fields_string(
16729       mutable_unknown_fields());
16730   ::google::protobuf::io::CodedOutputStream unknown_fields_stream(
16731       &unknown_fields_string);
16732   // @@protoc_insertion_point(parse_start:DealRiverCardMessage)
16733   for (;;) {
16734     ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
16735     tag = p.first;
16736     if (!p.second) goto handle_unusual;
16737     switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
16738       // required uint32 gameId = 1;
16739       case 1: {
16740         if (tag == 8) {
16741           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
16742                    ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
16743                  input, &gameid_)));
16744           set_has_gameid();
16745         } else {
16746           goto handle_unusual;
16747         }
16748         if (input->ExpectTag(16)) goto parse_riverCard;
16749         break;
16750       }
16751 
16752       // required uint32 riverCard = 2;
16753       case 2: {
16754         if (tag == 16) {
16755          parse_riverCard:
16756           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
16757                    ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
16758                  input, &rivercard_)));
16759           set_has_rivercard();
16760         } else {
16761           goto handle_unusual;
16762         }
16763         if (input->ExpectAtEnd()) goto success;
16764         break;
16765       }
16766 
16767       default: {
16768       handle_unusual:
16769         if (tag == 0 ||
16770             ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
16771             ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
16772           goto success;
16773         }
16774         DO_(::google::protobuf::internal::WireFormatLite::SkipField(
16775             input, tag, &unknown_fields_stream));
16776         break;
16777       }
16778     }
16779   }
16780 success:
16781   // @@protoc_insertion_point(parse_success:DealRiverCardMessage)
16782   return true;
16783 failure:
16784   // @@protoc_insertion_point(parse_failure:DealRiverCardMessage)
16785   return false;
16786 #undef DO_
16787 }
16788 
16789 void DealRiverCardMessage::SerializeWithCachedSizes(
16790     ::google::protobuf::io::CodedOutputStream* output) const {
16791   // @@protoc_insertion_point(serialize_start:DealRiverCardMessage)
16792   // required uint32 gameId = 1;
16793   if (has_gameid()) {
16794     ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->gameid(), output);
16795   }
16796 
16797   // required uint32 riverCard = 2;
16798   if (has_rivercard()) {
16799     ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->rivercard(), output);
16800   }
16801 
16802   output->WriteRaw(unknown_fields().data(),
16803                    unknown_fields().size());
16804   // @@protoc_insertion_point(serialize_end:DealRiverCardMessage)
16805 }
16806 
16807 int DealRiverCardMessage::ByteSize() const {
16808   int total_size = 0;
16809 
16810   if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
16811     // required uint32 gameId = 1;
16812     if (has_gameid()) {
16813       total_size += 1 +
16814         ::google::protobuf::internal::WireFormatLite::UInt32Size(
16815           this->gameid());
16816     }
16817 
16818     // required uint32 riverCard = 2;
16819     if (has_rivercard()) {
16820       total_size += 1 +
16821         ::google::protobuf::internal::WireFormatLite::UInt32Size(
16822           this->rivercard());
16823     }
16824 
16825   }
16826   total_size += unknown_fields().size();
16827 
16828   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
16829   _cached_size_ = total_size;
16830   GOOGLE_SAFE_CONCURRENT_WRITES_END();
16831   return total_size;
16832 }
16833 
16834 void DealRiverCardMessage::CheckTypeAndMergeFrom(
16835     const ::google::protobuf::MessageLite& from) {
16836   MergeFrom(*::google::protobuf::down_cast<const DealRiverCardMessage*>(&from));
16837 }
16838 
16839 void DealRiverCardMessage::MergeFrom(const DealRiverCardMessage& from) {
16840   GOOGLE_CHECK_NE(&from, this);
16841   if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
16842     if (from.has_gameid()) {
16843       set_gameid(from.gameid());
16844     }
16845     if (from.has_rivercard()) {
16846       set_rivercard(from.rivercard());
16847     }
16848   }
16849   mutable_unknown_fields()->append(from.unknown_fields());
16850 }
16851 
16852 void DealRiverCardMessage::CopyFrom(const DealRiverCardMessage& from) {
16853   if (&from == this) return;
16854   Clear();
16855   MergeFrom(from);
16856 }
16857 
16858 bool DealRiverCardMessage::IsInitialized() const {
16859   if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false;
16860 
16861   return true;
16862 }
16863 
16864 void DealRiverCardMessage::Swap(DealRiverCardMessage* other) {
16865   if (other != this) {
16866     std::swap(gameid_, other->gameid_);
16867     std::swap(rivercard_, other->rivercard_);
16868     std::swap(_has_bits_[0], other->_has_bits_[0]);
16869     _unknown_fields_.swap(other->_unknown_fields_);
16870     std::swap(_cached_size_, other->_cached_size_);
16871   }
16872 }
16873 
16874 ::std::string DealRiverCardMessage::GetTypeName() const {
16875   return "DealRiverCardMessage";
16876 }
16877 
16878 
16879 // ===================================================================
16880 
16881 #ifndef _MSC_VER
16882 const int AllInShowCardsMessage_PlayerAllIn::kPlayerIdFieldNumber;
16883 const int AllInShowCardsMessage_PlayerAllIn::kAllInCard1FieldNumber;
16884 const int AllInShowCardsMessage_PlayerAllIn::kAllInCard2FieldNumber;
16885 #endif  // !_MSC_VER
16886 
16887 AllInShowCardsMessage_PlayerAllIn::AllInShowCardsMessage_PlayerAllIn()
16888   : ::google::protobuf::MessageLite() {
16889   SharedCtor();
16890   // @@protoc_insertion_point(constructor:AllInShowCardsMessage.PlayerAllIn)
16891 }
16892 
16893 void AllInShowCardsMessage_PlayerAllIn::InitAsDefaultInstance() {
16894 }
16895 
16896 AllInShowCardsMessage_PlayerAllIn::AllInShowCardsMessage_PlayerAllIn(const AllInShowCardsMessage_PlayerAllIn& from)
16897   : ::google::protobuf::MessageLite() {
16898   SharedCtor();
16899   MergeFrom(from);
16900   // @@protoc_insertion_point(copy_constructor:AllInShowCardsMessage.PlayerAllIn)
16901 }
16902 
16903 void AllInShowCardsMessage_PlayerAllIn::SharedCtor() {
16904   _cached_size_ = 0;
16905   playerid_ = 0u;
16906   allincard1_ = 0u;
16907   allincard2_ = 0u;
16908   ::memset(_has_bits_, 0, sizeof(_has_bits_));
16909 }
16910 
16911 AllInShowCardsMessage_PlayerAllIn::~AllInShowCardsMessage_PlayerAllIn() {
16912   // @@protoc_insertion_point(destructor:AllInShowCardsMessage.PlayerAllIn)
16913   SharedDtor();
16914 }
16915 
16916 void AllInShowCardsMessage_PlayerAllIn::SharedDtor() {
16917   #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
16918   if (this != &default_instance()) {
16919   #else
16920   if (this != default_instance_) {
16921   #endif
16922   }
16923 }
16924 
16925 void AllInShowCardsMessage_PlayerAllIn::SetCachedSize(int size) const {
16926   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
16927   _cached_size_ = size;
16928   GOOGLE_SAFE_CONCURRENT_WRITES_END();
16929 }
16930 const AllInShowCardsMessage_PlayerAllIn& AllInShowCardsMessage_PlayerAllIn::default_instance() {
16931 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
16932   protobuf_AddDesc_pokerth_2eproto();
16933 #else
16934   if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto();
16935 #endif
16936   return *default_instance_;
16937 }
16938 
16939 AllInShowCardsMessage_PlayerAllIn* AllInShowCardsMessage_PlayerAllIn::default_instance_ = NULL;
16940 
16941 AllInShowCardsMessage_PlayerAllIn* AllInShowCardsMessage_PlayerAllIn::New() const {
16942   return new AllInShowCardsMessage_PlayerAllIn;
16943 }
16944 
16945 void AllInShowCardsMessage_PlayerAllIn::Clear() {
16946 #define OFFSET_OF_FIELD_(f) (reinterpret_cast<char*>(      \
16947   &reinterpret_cast<AllInShowCardsMessage_PlayerAllIn*>(16)->f) - \
16948    reinterpret_cast<char*>(16))
16949 
16950 #define ZR_(first, last) do {                              \
16951     size_t f = OFFSET_OF_FIELD_(first);                    \
16952     size_t n = OFFSET_OF_FIELD_(last) - f + sizeof(last);  \
16953     ::memset(&first, 0, n);                                \
16954   } while (0)
16955 
16956   ZR_(playerid_, allincard2_);
16957 
16958 #undef OFFSET_OF_FIELD_
16959 #undef ZR_
16960 
16961   ::memset(_has_bits_, 0, sizeof(_has_bits_));
16962   mutable_unknown_fields()->clear();
16963 }
16964 
16965 bool AllInShowCardsMessage_PlayerAllIn::MergePartialFromCodedStream(
16966     ::google::protobuf::io::CodedInputStream* input) {
16967 #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
16968   ::google::protobuf::uint32 tag;
16969   ::google::protobuf::io::StringOutputStream unknown_fields_string(
16970       mutable_unknown_fields());
16971   ::google::protobuf::io::CodedOutputStream unknown_fields_stream(
16972       &unknown_fields_string);
16973   // @@protoc_insertion_point(parse_start:AllInShowCardsMessage.PlayerAllIn)
16974   for (;;) {
16975     ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
16976     tag = p.first;
16977     if (!p.second) goto handle_unusual;
16978     switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
16979       // required uint32 playerId = 1;
16980       case 1: {
16981         if (tag == 8) {
16982           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
16983                    ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
16984                  input, &playerid_)));
16985           set_has_playerid();
16986         } else {
16987           goto handle_unusual;
16988         }
16989         if (input->ExpectTag(16)) goto parse_allInCard1;
16990         break;
16991       }
16992 
16993       // required uint32 allInCard1 = 2;
16994       case 2: {
16995         if (tag == 16) {
16996          parse_allInCard1:
16997           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
16998                    ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
16999                  input, &allincard1_)));
17000           set_has_allincard1();
17001         } else {
17002           goto handle_unusual;
17003         }
17004         if (input->ExpectTag(24)) goto parse_allInCard2;
17005         break;
17006       }
17007 
17008       // required uint32 allInCard2 = 3;
17009       case 3: {
17010         if (tag == 24) {
17011          parse_allInCard2:
17012           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
17013                    ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
17014                  input, &allincard2_)));
17015           set_has_allincard2();
17016         } else {
17017           goto handle_unusual;
17018         }
17019         if (input->ExpectAtEnd()) goto success;
17020         break;
17021       }
17022 
17023       default: {
17024       handle_unusual:
17025         if (tag == 0 ||
17026             ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
17027             ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
17028           goto success;
17029         }
17030         DO_(::google::protobuf::internal::WireFormatLite::SkipField(
17031             input, tag, &unknown_fields_stream));
17032         break;
17033       }
17034     }
17035   }
17036 success:
17037   // @@protoc_insertion_point(parse_success:AllInShowCardsMessage.PlayerAllIn)
17038   return true;
17039 failure:
17040   // @@protoc_insertion_point(parse_failure:AllInShowCardsMessage.PlayerAllIn)
17041   return false;
17042 #undef DO_
17043 }
17044 
17045 void AllInShowCardsMessage_PlayerAllIn::SerializeWithCachedSizes(
17046     ::google::protobuf::io::CodedOutputStream* output) const {
17047   // @@protoc_insertion_point(serialize_start:AllInShowCardsMessage.PlayerAllIn)
17048   // required uint32 playerId = 1;
17049   if (has_playerid()) {
17050     ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->playerid(), output);
17051   }
17052 
17053   // required uint32 allInCard1 = 2;
17054   if (has_allincard1()) {
17055     ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->allincard1(), output);
17056   }
17057 
17058   // required uint32 allInCard2 = 3;
17059   if (has_allincard2()) {
17060     ::google::protobuf::internal::WireFormatLite::WriteUInt32(3, this->allincard2(), output);
17061   }
17062 
17063   output->WriteRaw(unknown_fields().data(),
17064                    unknown_fields().size());
17065   // @@protoc_insertion_point(serialize_end:AllInShowCardsMessage.PlayerAllIn)
17066 }
17067 
17068 int AllInShowCardsMessage_PlayerAllIn::ByteSize() const {
17069   int total_size = 0;
17070 
17071   if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
17072     // required uint32 playerId = 1;
17073     if (has_playerid()) {
17074       total_size += 1 +
17075         ::google::protobuf::internal::WireFormatLite::UInt32Size(
17076           this->playerid());
17077     }
17078 
17079     // required uint32 allInCard1 = 2;
17080     if (has_allincard1()) {
17081       total_size += 1 +
17082         ::google::protobuf::internal::WireFormatLite::UInt32Size(
17083           this->allincard1());
17084     }
17085 
17086     // required uint32 allInCard2 = 3;
17087     if (has_allincard2()) {
17088       total_size += 1 +
17089         ::google::protobuf::internal::WireFormatLite::UInt32Size(
17090           this->allincard2());
17091     }
17092 
17093   }
17094   total_size += unknown_fields().size();
17095 
17096   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
17097   _cached_size_ = total_size;
17098   GOOGLE_SAFE_CONCURRENT_WRITES_END();
17099   return total_size;
17100 }
17101 
17102 void AllInShowCardsMessage_PlayerAllIn::CheckTypeAndMergeFrom(
17103     const ::google::protobuf::MessageLite& from) {
17104   MergeFrom(*::google::protobuf::down_cast<const AllInShowCardsMessage_PlayerAllIn*>(&from));
17105 }
17106 
17107 void AllInShowCardsMessage_PlayerAllIn::MergeFrom(const AllInShowCardsMessage_PlayerAllIn& from) {
17108   GOOGLE_CHECK_NE(&from, this);
17109   if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
17110     if (from.has_playerid()) {
17111       set_playerid(from.playerid());
17112     }
17113     if (from.has_allincard1()) {
17114       set_allincard1(from.allincard1());
17115     }
17116     if (from.has_allincard2()) {
17117       set_allincard2(from.allincard2());
17118     }
17119   }
17120   mutable_unknown_fields()->append(from.unknown_fields());
17121 }
17122 
17123 void AllInShowCardsMessage_PlayerAllIn::CopyFrom(const AllInShowCardsMessage_PlayerAllIn& from) {
17124   if (&from == this) return;
17125   Clear();
17126   MergeFrom(from);
17127 }
17128 
17129 bool AllInShowCardsMessage_PlayerAllIn::IsInitialized() const {
17130   if ((_has_bits_[0] & 0x00000007) != 0x00000007) return false;
17131 
17132   return true;
17133 }
17134 
17135 void AllInShowCardsMessage_PlayerAllIn::Swap(AllInShowCardsMessage_PlayerAllIn* other) {
17136   if (other != this) {
17137     std::swap(playerid_, other->playerid_);
17138     std::swap(allincard1_, other->allincard1_);
17139     std::swap(allincard2_, other->allincard2_);
17140     std::swap(_has_bits_[0], other->_has_bits_[0]);
17141     _unknown_fields_.swap(other->_unknown_fields_);
17142     std::swap(_cached_size_, other->_cached_size_);
17143   }
17144 }
17145 
17146 ::std::string AllInShowCardsMessage_PlayerAllIn::GetTypeName() const {
17147   return "AllInShowCardsMessage.PlayerAllIn";
17148 }
17149 
17150 
17151 // -------------------------------------------------------------------
17152 
17153 #ifndef _MSC_VER
17154 const int AllInShowCardsMessage::kGameIdFieldNumber;
17155 const int AllInShowCardsMessage::kPlayersAllInFieldNumber;
17156 #endif  // !_MSC_VER
17157 
17158 AllInShowCardsMessage::AllInShowCardsMessage()
17159   : ::google::protobuf::MessageLite() {
17160   SharedCtor();
17161   // @@protoc_insertion_point(constructor:AllInShowCardsMessage)
17162 }
17163 
17164 void AllInShowCardsMessage::InitAsDefaultInstance() {
17165 }
17166 
17167 AllInShowCardsMessage::AllInShowCardsMessage(const AllInShowCardsMessage& from)
17168   : ::google::protobuf::MessageLite() {
17169   SharedCtor();
17170   MergeFrom(from);
17171   // @@protoc_insertion_point(copy_constructor:AllInShowCardsMessage)
17172 }
17173 
17174 void AllInShowCardsMessage::SharedCtor() {
17175   _cached_size_ = 0;
17176   gameid_ = 0u;
17177   ::memset(_has_bits_, 0, sizeof(_has_bits_));
17178 }
17179 
17180 AllInShowCardsMessage::~AllInShowCardsMessage() {
17181   // @@protoc_insertion_point(destructor:AllInShowCardsMessage)
17182   SharedDtor();
17183 }
17184 
17185 void AllInShowCardsMessage::SharedDtor() {
17186   #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
17187   if (this != &default_instance()) {
17188   #else
17189   if (this != default_instance_) {
17190   #endif
17191   }
17192 }
17193 
17194 void AllInShowCardsMessage::SetCachedSize(int size) const {
17195   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
17196   _cached_size_ = size;
17197   GOOGLE_SAFE_CONCURRENT_WRITES_END();
17198 }
17199 const AllInShowCardsMessage& AllInShowCardsMessage::default_instance() {
17200 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
17201   protobuf_AddDesc_pokerth_2eproto();
17202 #else
17203   if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto();
17204 #endif
17205   return *default_instance_;
17206 }
17207 
17208 AllInShowCardsMessage* AllInShowCardsMessage::default_instance_ = NULL;
17209 
17210 AllInShowCardsMessage* AllInShowCardsMessage::New() const {
17211   return new AllInShowCardsMessage;
17212 }
17213 
17214 void AllInShowCardsMessage::Clear() {
17215   gameid_ = 0u;
17216   playersallin_.Clear();
17217   ::memset(_has_bits_, 0, sizeof(_has_bits_));
17218   mutable_unknown_fields()->clear();
17219 }
17220 
17221 bool AllInShowCardsMessage::MergePartialFromCodedStream(
17222     ::google::protobuf::io::CodedInputStream* input) {
17223 #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
17224   ::google::protobuf::uint32 tag;
17225   ::google::protobuf::io::StringOutputStream unknown_fields_string(
17226       mutable_unknown_fields());
17227   ::google::protobuf::io::CodedOutputStream unknown_fields_stream(
17228       &unknown_fields_string);
17229   // @@protoc_insertion_point(parse_start:AllInShowCardsMessage)
17230   for (;;) {
17231     ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
17232     tag = p.first;
17233     if (!p.second) goto handle_unusual;
17234     switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
17235       // required uint32 gameId = 1;
17236       case 1: {
17237         if (tag == 8) {
17238           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
17239                    ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
17240                  input, &gameid_)));
17241           set_has_gameid();
17242         } else {
17243           goto handle_unusual;
17244         }
17245         if (input->ExpectTag(18)) goto parse_playersAllIn;
17246         break;
17247       }
17248 
17249       // repeated .AllInShowCardsMessage.PlayerAllIn playersAllIn = 2;
17250       case 2: {
17251         if (tag == 18) {
17252          parse_playersAllIn:
17253           DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
17254                 input, add_playersallin()));
17255         } else {
17256           goto handle_unusual;
17257         }
17258         if (input->ExpectTag(18)) goto parse_playersAllIn;
17259         if (input->ExpectAtEnd()) goto success;
17260         break;
17261       }
17262 
17263       default: {
17264       handle_unusual:
17265         if (tag == 0 ||
17266             ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
17267             ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
17268           goto success;
17269         }
17270         DO_(::google::protobuf::internal::WireFormatLite::SkipField(
17271             input, tag, &unknown_fields_stream));
17272         break;
17273       }
17274     }
17275   }
17276 success:
17277   // @@protoc_insertion_point(parse_success:AllInShowCardsMessage)
17278   return true;
17279 failure:
17280   // @@protoc_insertion_point(parse_failure:AllInShowCardsMessage)
17281   return false;
17282 #undef DO_
17283 }
17284 
17285 void AllInShowCardsMessage::SerializeWithCachedSizes(
17286     ::google::protobuf::io::CodedOutputStream* output) const {
17287   // @@protoc_insertion_point(serialize_start:AllInShowCardsMessage)
17288   // required uint32 gameId = 1;
17289   if (has_gameid()) {
17290     ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->gameid(), output);
17291   }
17292 
17293   // repeated .AllInShowCardsMessage.PlayerAllIn playersAllIn = 2;
17294   for (int i = 0; i < this->playersallin_size(); i++) {
17295     ::google::protobuf::internal::WireFormatLite::WriteMessage(
17296       2, this->playersallin(i), output);
17297   }
17298 
17299   output->WriteRaw(unknown_fields().data(),
17300                    unknown_fields().size());
17301   // @@protoc_insertion_point(serialize_end:AllInShowCardsMessage)
17302 }
17303 
17304 int AllInShowCardsMessage::ByteSize() const {
17305   int total_size = 0;
17306 
17307   if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
17308     // required uint32 gameId = 1;
17309     if (has_gameid()) {
17310       total_size += 1 +
17311         ::google::protobuf::internal::WireFormatLite::UInt32Size(
17312           this->gameid());
17313     }
17314 
17315   }
17316   // repeated .AllInShowCardsMessage.PlayerAllIn playersAllIn = 2;
17317   total_size += 1 * this->playersallin_size();
17318   for (int i = 0; i < this->playersallin_size(); i++) {
17319     total_size +=
17320       ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
17321         this->playersallin(i));
17322   }
17323 
17324   total_size += unknown_fields().size();
17325 
17326   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
17327   _cached_size_ = total_size;
17328   GOOGLE_SAFE_CONCURRENT_WRITES_END();
17329   return total_size;
17330 }
17331 
17332 void AllInShowCardsMessage::CheckTypeAndMergeFrom(
17333     const ::google::protobuf::MessageLite& from) {
17334   MergeFrom(*::google::protobuf::down_cast<const AllInShowCardsMessage*>(&from));
17335 }
17336 
17337 void AllInShowCardsMessage::MergeFrom(const AllInShowCardsMessage& from) {
17338   GOOGLE_CHECK_NE(&from, this);
17339   playersallin_.MergeFrom(from.playersallin_);
17340   if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
17341     if (from.has_gameid()) {
17342       set_gameid(from.gameid());
17343     }
17344   }
17345   mutable_unknown_fields()->append(from.unknown_fields());
17346 }
17347 
17348 void AllInShowCardsMessage::CopyFrom(const AllInShowCardsMessage& from) {
17349   if (&from == this) return;
17350   Clear();
17351   MergeFrom(from);
17352 }
17353 
17354 bool AllInShowCardsMessage::IsInitialized() const {
17355   if ((_has_bits_[0] & 0x00000001) != 0x00000001) return false;
17356 
17357   if (!::google::protobuf::internal::AllAreInitialized(this->playersallin())) return false;
17358   return true;
17359 }
17360 
17361 void AllInShowCardsMessage::Swap(AllInShowCardsMessage* other) {
17362   if (other != this) {
17363     std::swap(gameid_, other->gameid_);
17364     playersallin_.Swap(&other->playersallin_);
17365     std::swap(_has_bits_[0], other->_has_bits_[0]);
17366     _unknown_fields_.swap(other->_unknown_fields_);
17367     std::swap(_cached_size_, other->_cached_size_);
17368   }
17369 }
17370 
17371 ::std::string AllInShowCardsMessage::GetTypeName() const {
17372   return "AllInShowCardsMessage";
17373 }
17374 
17375 
17376 // ===================================================================
17377 
17378 #ifndef _MSC_VER
17379 const int EndOfHandShowCardsMessage::kGameIdFieldNumber;
17380 const int EndOfHandShowCardsMessage::kPlayerResultsFieldNumber;
17381 #endif  // !_MSC_VER
17382 
17383 EndOfHandShowCardsMessage::EndOfHandShowCardsMessage()
17384   : ::google::protobuf::MessageLite() {
17385   SharedCtor();
17386   // @@protoc_insertion_point(constructor:EndOfHandShowCardsMessage)
17387 }
17388 
17389 void EndOfHandShowCardsMessage::InitAsDefaultInstance() {
17390 }
17391 
17392 EndOfHandShowCardsMessage::EndOfHandShowCardsMessage(const EndOfHandShowCardsMessage& from)
17393   : ::google::protobuf::MessageLite() {
17394   SharedCtor();
17395   MergeFrom(from);
17396   // @@protoc_insertion_point(copy_constructor:EndOfHandShowCardsMessage)
17397 }
17398 
17399 void EndOfHandShowCardsMessage::SharedCtor() {
17400   _cached_size_ = 0;
17401   gameid_ = 0u;
17402   ::memset(_has_bits_, 0, sizeof(_has_bits_));
17403 }
17404 
17405 EndOfHandShowCardsMessage::~EndOfHandShowCardsMessage() {
17406   // @@protoc_insertion_point(destructor:EndOfHandShowCardsMessage)
17407   SharedDtor();
17408 }
17409 
17410 void EndOfHandShowCardsMessage::SharedDtor() {
17411   #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
17412   if (this != &default_instance()) {
17413   #else
17414   if (this != default_instance_) {
17415   #endif
17416   }
17417 }
17418 
17419 void EndOfHandShowCardsMessage::SetCachedSize(int size) const {
17420   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
17421   _cached_size_ = size;
17422   GOOGLE_SAFE_CONCURRENT_WRITES_END();
17423 }
17424 const EndOfHandShowCardsMessage& EndOfHandShowCardsMessage::default_instance() {
17425 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
17426   protobuf_AddDesc_pokerth_2eproto();
17427 #else
17428   if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto();
17429 #endif
17430   return *default_instance_;
17431 }
17432 
17433 EndOfHandShowCardsMessage* EndOfHandShowCardsMessage::default_instance_ = NULL;
17434 
17435 EndOfHandShowCardsMessage* EndOfHandShowCardsMessage::New() const {
17436   return new EndOfHandShowCardsMessage;
17437 }
17438 
17439 void EndOfHandShowCardsMessage::Clear() {
17440   gameid_ = 0u;
17441   playerresults_.Clear();
17442   ::memset(_has_bits_, 0, sizeof(_has_bits_));
17443   mutable_unknown_fields()->clear();
17444 }
17445 
17446 bool EndOfHandShowCardsMessage::MergePartialFromCodedStream(
17447     ::google::protobuf::io::CodedInputStream* input) {
17448 #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
17449   ::google::protobuf::uint32 tag;
17450   ::google::protobuf::io::StringOutputStream unknown_fields_string(
17451       mutable_unknown_fields());
17452   ::google::protobuf::io::CodedOutputStream unknown_fields_stream(
17453       &unknown_fields_string);
17454   // @@protoc_insertion_point(parse_start:EndOfHandShowCardsMessage)
17455   for (;;) {
17456     ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
17457     tag = p.first;
17458     if (!p.second) goto handle_unusual;
17459     switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
17460       // required uint32 gameId = 1;
17461       case 1: {
17462         if (tag == 8) {
17463           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
17464                    ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
17465                  input, &gameid_)));
17466           set_has_gameid();
17467         } else {
17468           goto handle_unusual;
17469         }
17470         if (input->ExpectTag(18)) goto parse_playerResults;
17471         break;
17472       }
17473 
17474       // repeated .PlayerResult playerResults = 2;
17475       case 2: {
17476         if (tag == 18) {
17477          parse_playerResults:
17478           DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
17479                 input, add_playerresults()));
17480         } else {
17481           goto handle_unusual;
17482         }
17483         if (input->ExpectTag(18)) goto parse_playerResults;
17484         if (input->ExpectAtEnd()) goto success;
17485         break;
17486       }
17487 
17488       default: {
17489       handle_unusual:
17490         if (tag == 0 ||
17491             ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
17492             ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
17493           goto success;
17494         }
17495         DO_(::google::protobuf::internal::WireFormatLite::SkipField(
17496             input, tag, &unknown_fields_stream));
17497         break;
17498       }
17499     }
17500   }
17501 success:
17502   // @@protoc_insertion_point(parse_success:EndOfHandShowCardsMessage)
17503   return true;
17504 failure:
17505   // @@protoc_insertion_point(parse_failure:EndOfHandShowCardsMessage)
17506   return false;
17507 #undef DO_
17508 }
17509 
17510 void EndOfHandShowCardsMessage::SerializeWithCachedSizes(
17511     ::google::protobuf::io::CodedOutputStream* output) const {
17512   // @@protoc_insertion_point(serialize_start:EndOfHandShowCardsMessage)
17513   // required uint32 gameId = 1;
17514   if (has_gameid()) {
17515     ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->gameid(), output);
17516   }
17517 
17518   // repeated .PlayerResult playerResults = 2;
17519   for (int i = 0; i < this->playerresults_size(); i++) {
17520     ::google::protobuf::internal::WireFormatLite::WriteMessage(
17521       2, this->playerresults(i), output);
17522   }
17523 
17524   output->WriteRaw(unknown_fields().data(),
17525                    unknown_fields().size());
17526   // @@protoc_insertion_point(serialize_end:EndOfHandShowCardsMessage)
17527 }
17528 
17529 int EndOfHandShowCardsMessage::ByteSize() const {
17530   int total_size = 0;
17531 
17532   if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
17533     // required uint32 gameId = 1;
17534     if (has_gameid()) {
17535       total_size += 1 +
17536         ::google::protobuf::internal::WireFormatLite::UInt32Size(
17537           this->gameid());
17538     }
17539 
17540   }
17541   // repeated .PlayerResult playerResults = 2;
17542   total_size += 1 * this->playerresults_size();
17543   for (int i = 0; i < this->playerresults_size(); i++) {
17544     total_size +=
17545       ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
17546         this->playerresults(i));
17547   }
17548 
17549   total_size += unknown_fields().size();
17550 
17551   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
17552   _cached_size_ = total_size;
17553   GOOGLE_SAFE_CONCURRENT_WRITES_END();
17554   return total_size;
17555 }
17556 
17557 void EndOfHandShowCardsMessage::CheckTypeAndMergeFrom(
17558     const ::google::protobuf::MessageLite& from) {
17559   MergeFrom(*::google::protobuf::down_cast<const EndOfHandShowCardsMessage*>(&from));
17560 }
17561 
17562 void EndOfHandShowCardsMessage::MergeFrom(const EndOfHandShowCardsMessage& from) {
17563   GOOGLE_CHECK_NE(&from, this);
17564   playerresults_.MergeFrom(from.playerresults_);
17565   if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
17566     if (from.has_gameid()) {
17567       set_gameid(from.gameid());
17568     }
17569   }
17570   mutable_unknown_fields()->append(from.unknown_fields());
17571 }
17572 
17573 void EndOfHandShowCardsMessage::CopyFrom(const EndOfHandShowCardsMessage& from) {
17574   if (&from == this) return;
17575   Clear();
17576   MergeFrom(from);
17577 }
17578 
17579 bool EndOfHandShowCardsMessage::IsInitialized() const {
17580   if ((_has_bits_[0] & 0x00000001) != 0x00000001) return false;
17581 
17582   if (!::google::protobuf::internal::AllAreInitialized(this->playerresults())) return false;
17583   return true;
17584 }
17585 
17586 void EndOfHandShowCardsMessage::Swap(EndOfHandShowCardsMessage* other) {
17587   if (other != this) {
17588     std::swap(gameid_, other->gameid_);
17589     playerresults_.Swap(&other->playerresults_);
17590     std::swap(_has_bits_[0], other->_has_bits_[0]);
17591     _unknown_fields_.swap(other->_unknown_fields_);
17592     std::swap(_cached_size_, other->_cached_size_);
17593   }
17594 }
17595 
17596 ::std::string EndOfHandShowCardsMessage::GetTypeName() const {
17597   return "EndOfHandShowCardsMessage";
17598 }
17599 
17600 
17601 // ===================================================================
17602 
17603 #ifndef _MSC_VER
17604 const int EndOfHandHideCardsMessage::kGameIdFieldNumber;
17605 const int EndOfHandHideCardsMessage::kPlayerIdFieldNumber;
17606 const int EndOfHandHideCardsMessage::kMoneyWonFieldNumber;
17607 const int EndOfHandHideCardsMessage::kPlayerMoneyFieldNumber;
17608 #endif  // !_MSC_VER
17609 
17610 EndOfHandHideCardsMessage::EndOfHandHideCardsMessage()
17611   : ::google::protobuf::MessageLite() {
17612   SharedCtor();
17613   // @@protoc_insertion_point(constructor:EndOfHandHideCardsMessage)
17614 }
17615 
17616 void EndOfHandHideCardsMessage::InitAsDefaultInstance() {
17617 }
17618 
17619 EndOfHandHideCardsMessage::EndOfHandHideCardsMessage(const EndOfHandHideCardsMessage& from)
17620   : ::google::protobuf::MessageLite() {
17621   SharedCtor();
17622   MergeFrom(from);
17623   // @@protoc_insertion_point(copy_constructor:EndOfHandHideCardsMessage)
17624 }
17625 
17626 void EndOfHandHideCardsMessage::SharedCtor() {
17627   _cached_size_ = 0;
17628   gameid_ = 0u;
17629   playerid_ = 0u;
17630   moneywon_ = 0u;
17631   playermoney_ = 0u;
17632   ::memset(_has_bits_, 0, sizeof(_has_bits_));
17633 }
17634 
17635 EndOfHandHideCardsMessage::~EndOfHandHideCardsMessage() {
17636   // @@protoc_insertion_point(destructor:EndOfHandHideCardsMessage)
17637   SharedDtor();
17638 }
17639 
17640 void EndOfHandHideCardsMessage::SharedDtor() {
17641   #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
17642   if (this != &default_instance()) {
17643   #else
17644   if (this != default_instance_) {
17645   #endif
17646   }
17647 }
17648 
17649 void EndOfHandHideCardsMessage::SetCachedSize(int size) const {
17650   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
17651   _cached_size_ = size;
17652   GOOGLE_SAFE_CONCURRENT_WRITES_END();
17653 }
17654 const EndOfHandHideCardsMessage& EndOfHandHideCardsMessage::default_instance() {
17655 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
17656   protobuf_AddDesc_pokerth_2eproto();
17657 #else
17658   if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto();
17659 #endif
17660   return *default_instance_;
17661 }
17662 
17663 EndOfHandHideCardsMessage* EndOfHandHideCardsMessage::default_instance_ = NULL;
17664 
17665 EndOfHandHideCardsMessage* EndOfHandHideCardsMessage::New() const {
17666   return new EndOfHandHideCardsMessage;
17667 }
17668 
17669 void EndOfHandHideCardsMessage::Clear() {
17670 #define OFFSET_OF_FIELD_(f) (reinterpret_cast<char*>(      \
17671   &reinterpret_cast<EndOfHandHideCardsMessage*>(16)->f) - \
17672    reinterpret_cast<char*>(16))
17673 
17674 #define ZR_(first, last) do {                              \
17675     size_t f = OFFSET_OF_FIELD_(first);                    \
17676     size_t n = OFFSET_OF_FIELD_(last) - f + sizeof(last);  \
17677     ::memset(&first, 0, n);                                \
17678   } while (0)
17679 
17680   ZR_(gameid_, playermoney_);
17681 
17682 #undef OFFSET_OF_FIELD_
17683 #undef ZR_
17684 
17685   ::memset(_has_bits_, 0, sizeof(_has_bits_));
17686   mutable_unknown_fields()->clear();
17687 }
17688 
17689 bool EndOfHandHideCardsMessage::MergePartialFromCodedStream(
17690     ::google::protobuf::io::CodedInputStream* input) {
17691 #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
17692   ::google::protobuf::uint32 tag;
17693   ::google::protobuf::io::StringOutputStream unknown_fields_string(
17694       mutable_unknown_fields());
17695   ::google::protobuf::io::CodedOutputStream unknown_fields_stream(
17696       &unknown_fields_string);
17697   // @@protoc_insertion_point(parse_start:EndOfHandHideCardsMessage)
17698   for (;;) {
17699     ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
17700     tag = p.first;
17701     if (!p.second) goto handle_unusual;
17702     switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
17703       // required uint32 gameId = 1;
17704       case 1: {
17705         if (tag == 8) {
17706           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
17707                    ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
17708                  input, &gameid_)));
17709           set_has_gameid();
17710         } else {
17711           goto handle_unusual;
17712         }
17713         if (input->ExpectTag(16)) goto parse_playerId;
17714         break;
17715       }
17716 
17717       // required uint32 playerId = 2;
17718       case 2: {
17719         if (tag == 16) {
17720          parse_playerId:
17721           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
17722                    ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
17723                  input, &playerid_)));
17724           set_has_playerid();
17725         } else {
17726           goto handle_unusual;
17727         }
17728         if (input->ExpectTag(24)) goto parse_moneyWon;
17729         break;
17730       }
17731 
17732       // required uint32 moneyWon = 3;
17733       case 3: {
17734         if (tag == 24) {
17735          parse_moneyWon:
17736           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
17737                    ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
17738                  input, &moneywon_)));
17739           set_has_moneywon();
17740         } else {
17741           goto handle_unusual;
17742         }
17743         if (input->ExpectTag(32)) goto parse_playerMoney;
17744         break;
17745       }
17746 
17747       // required uint32 playerMoney = 4;
17748       case 4: {
17749         if (tag == 32) {
17750          parse_playerMoney:
17751           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
17752                    ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
17753                  input, &playermoney_)));
17754           set_has_playermoney();
17755         } else {
17756           goto handle_unusual;
17757         }
17758         if (input->ExpectAtEnd()) goto success;
17759         break;
17760       }
17761 
17762       default: {
17763       handle_unusual:
17764         if (tag == 0 ||
17765             ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
17766             ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
17767           goto success;
17768         }
17769         DO_(::google::protobuf::internal::WireFormatLite::SkipField(
17770             input, tag, &unknown_fields_stream));
17771         break;
17772       }
17773     }
17774   }
17775 success:
17776   // @@protoc_insertion_point(parse_success:EndOfHandHideCardsMessage)
17777   return true;
17778 failure:
17779   // @@protoc_insertion_point(parse_failure:EndOfHandHideCardsMessage)
17780   return false;
17781 #undef DO_
17782 }
17783 
17784 void EndOfHandHideCardsMessage::SerializeWithCachedSizes(
17785     ::google::protobuf::io::CodedOutputStream* output) const {
17786   // @@protoc_insertion_point(serialize_start:EndOfHandHideCardsMessage)
17787   // required uint32 gameId = 1;
17788   if (has_gameid()) {
17789     ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->gameid(), output);
17790   }
17791 
17792   // required uint32 playerId = 2;
17793   if (has_playerid()) {
17794     ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->playerid(), output);
17795   }
17796 
17797   // required uint32 moneyWon = 3;
17798   if (has_moneywon()) {
17799     ::google::protobuf::internal::WireFormatLite::WriteUInt32(3, this->moneywon(), output);
17800   }
17801 
17802   // required uint32 playerMoney = 4;
17803   if (has_playermoney()) {
17804     ::google::protobuf::internal::WireFormatLite::WriteUInt32(4, this->playermoney(), output);
17805   }
17806 
17807   output->WriteRaw(unknown_fields().data(),
17808                    unknown_fields().size());
17809   // @@protoc_insertion_point(serialize_end:EndOfHandHideCardsMessage)
17810 }
17811 
17812 int EndOfHandHideCardsMessage::ByteSize() const {
17813   int total_size = 0;
17814 
17815   if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
17816     // required uint32 gameId = 1;
17817     if (has_gameid()) {
17818       total_size += 1 +
17819         ::google::protobuf::internal::WireFormatLite::UInt32Size(
17820           this->gameid());
17821     }
17822 
17823     // required uint32 playerId = 2;
17824     if (has_playerid()) {
17825       total_size += 1 +
17826         ::google::protobuf::internal::WireFormatLite::UInt32Size(
17827           this->playerid());
17828     }
17829 
17830     // required uint32 moneyWon = 3;
17831     if (has_moneywon()) {
17832       total_size += 1 +
17833         ::google::protobuf::internal::WireFormatLite::UInt32Size(
17834           this->moneywon());
17835     }
17836 
17837     // required uint32 playerMoney = 4;
17838     if (has_playermoney()) {
17839       total_size += 1 +
17840         ::google::protobuf::internal::WireFormatLite::UInt32Size(
17841           this->playermoney());
17842     }
17843 
17844   }
17845   total_size += unknown_fields().size();
17846 
17847   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
17848   _cached_size_ = total_size;
17849   GOOGLE_SAFE_CONCURRENT_WRITES_END();
17850   return total_size;
17851 }
17852 
17853 void EndOfHandHideCardsMessage::CheckTypeAndMergeFrom(
17854     const ::google::protobuf::MessageLite& from) {
17855   MergeFrom(*::google::protobuf::down_cast<const EndOfHandHideCardsMessage*>(&from));
17856 }
17857 
17858 void EndOfHandHideCardsMessage::MergeFrom(const EndOfHandHideCardsMessage& from) {
17859   GOOGLE_CHECK_NE(&from, this);
17860   if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
17861     if (from.has_gameid()) {
17862       set_gameid(from.gameid());
17863     }
17864     if (from.has_playerid()) {
17865       set_playerid(from.playerid());
17866     }
17867     if (from.has_moneywon()) {
17868       set_moneywon(from.moneywon());
17869     }
17870     if (from.has_playermoney()) {
17871       set_playermoney(from.playermoney());
17872     }
17873   }
17874   mutable_unknown_fields()->append(from.unknown_fields());
17875 }
17876 
17877 void EndOfHandHideCardsMessage::CopyFrom(const EndOfHandHideCardsMessage& from) {
17878   if (&from == this) return;
17879   Clear();
17880   MergeFrom(from);
17881 }
17882 
17883 bool EndOfHandHideCardsMessage::IsInitialized() const {
17884   if ((_has_bits_[0] & 0x0000000f) != 0x0000000f) return false;
17885 
17886   return true;
17887 }
17888 
17889 void EndOfHandHideCardsMessage::Swap(EndOfHandHideCardsMessage* other) {
17890   if (other != this) {
17891     std::swap(gameid_, other->gameid_);
17892     std::swap(playerid_, other->playerid_);
17893     std::swap(moneywon_, other->moneywon_);
17894     std::swap(playermoney_, other->playermoney_);
17895     std::swap(_has_bits_[0], other->_has_bits_[0]);
17896     _unknown_fields_.swap(other->_unknown_fields_);
17897     std::swap(_cached_size_, other->_cached_size_);
17898   }
17899 }
17900 
17901 ::std::string EndOfHandHideCardsMessage::GetTypeName() const {
17902   return "EndOfHandHideCardsMessage";
17903 }
17904 
17905 
17906 // ===================================================================
17907 
17908 #ifndef _MSC_VER
17909 #endif  // !_MSC_VER
17910 
17911 ShowMyCardsRequestMessage::ShowMyCardsRequestMessage()
17912   : ::google::protobuf::MessageLite() {
17913   SharedCtor();
17914   // @@protoc_insertion_point(constructor:ShowMyCardsRequestMessage)
17915 }
17916 
17917 void ShowMyCardsRequestMessage::InitAsDefaultInstance() {
17918 }
17919 
17920 ShowMyCardsRequestMessage::ShowMyCardsRequestMessage(const ShowMyCardsRequestMessage& from)
17921   : ::google::protobuf::MessageLite() {
17922   SharedCtor();
17923   MergeFrom(from);
17924   // @@protoc_insertion_point(copy_constructor:ShowMyCardsRequestMessage)
17925 }
17926 
17927 void ShowMyCardsRequestMessage::SharedCtor() {
17928   _cached_size_ = 0;
17929   ::memset(_has_bits_, 0, sizeof(_has_bits_));
17930 }
17931 
17932 ShowMyCardsRequestMessage::~ShowMyCardsRequestMessage() {
17933   // @@protoc_insertion_point(destructor:ShowMyCardsRequestMessage)
17934   SharedDtor();
17935 }
17936 
17937 void ShowMyCardsRequestMessage::SharedDtor() {
17938   #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
17939   if (this != &default_instance()) {
17940   #else
17941   if (this != default_instance_) {
17942   #endif
17943   }
17944 }
17945 
17946 void ShowMyCardsRequestMessage::SetCachedSize(int size) const {
17947   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
17948   _cached_size_ = size;
17949   GOOGLE_SAFE_CONCURRENT_WRITES_END();
17950 }
17951 const ShowMyCardsRequestMessage& ShowMyCardsRequestMessage::default_instance() {
17952 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
17953   protobuf_AddDesc_pokerth_2eproto();
17954 #else
17955   if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto();
17956 #endif
17957   return *default_instance_;
17958 }
17959 
17960 ShowMyCardsRequestMessage* ShowMyCardsRequestMessage::default_instance_ = NULL;
17961 
17962 ShowMyCardsRequestMessage* ShowMyCardsRequestMessage::New() const {
17963   return new ShowMyCardsRequestMessage;
17964 }
17965 
17966 void ShowMyCardsRequestMessage::Clear() {
17967   ::memset(_has_bits_, 0, sizeof(_has_bits_));
17968   mutable_unknown_fields()->clear();
17969 }
17970 
17971 bool ShowMyCardsRequestMessage::MergePartialFromCodedStream(
17972     ::google::protobuf::io::CodedInputStream* input) {
17973 #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
17974   ::google::protobuf::uint32 tag;
17975   ::google::protobuf::io::StringOutputStream unknown_fields_string(
17976       mutable_unknown_fields());
17977   ::google::protobuf::io::CodedOutputStream unknown_fields_stream(
17978       &unknown_fields_string);
17979   // @@protoc_insertion_point(parse_start:ShowMyCardsRequestMessage)
17980   for (;;) {
17981     ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
17982     tag = p.first;
17983     if (!p.second) goto handle_unusual;
17984   handle_unusual:
17985     if (tag == 0 ||
17986         ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
17987         ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
17988       goto success;
17989     }
17990     DO_(::google::protobuf::internal::WireFormatLite::SkipField(
17991         input, tag, &unknown_fields_stream));
17992   }
17993 success:
17994   // @@protoc_insertion_point(parse_success:ShowMyCardsRequestMessage)
17995   return true;
17996 failure:
17997   // @@protoc_insertion_point(parse_failure:ShowMyCardsRequestMessage)
17998   return false;
17999 #undef DO_
18000 }
18001 
18002 void ShowMyCardsRequestMessage::SerializeWithCachedSizes(
18003     ::google::protobuf::io::CodedOutputStream* output) const {
18004   // @@protoc_insertion_point(serialize_start:ShowMyCardsRequestMessage)
18005   output->WriteRaw(unknown_fields().data(),
18006                    unknown_fields().size());
18007   // @@protoc_insertion_point(serialize_end:ShowMyCardsRequestMessage)
18008 }
18009 
18010 int ShowMyCardsRequestMessage::ByteSize() const {
18011   int total_size = 0;
18012 
18013   total_size += unknown_fields().size();
18014 
18015   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
18016   _cached_size_ = total_size;
18017   GOOGLE_SAFE_CONCURRENT_WRITES_END();
18018   return total_size;
18019 }
18020 
18021 void ShowMyCardsRequestMessage::CheckTypeAndMergeFrom(
18022     const ::google::protobuf::MessageLite& from) {
18023   MergeFrom(*::google::protobuf::down_cast<const ShowMyCardsRequestMessage*>(&from));
18024 }
18025 
18026 void ShowMyCardsRequestMessage::MergeFrom(const ShowMyCardsRequestMessage& from) {
18027   GOOGLE_CHECK_NE(&from, this);
18028   mutable_unknown_fields()->append(from.unknown_fields());
18029 }
18030 
18031 void ShowMyCardsRequestMessage::CopyFrom(const ShowMyCardsRequestMessage& from) {
18032   if (&from == this) return;
18033   Clear();
18034   MergeFrom(from);
18035 }
18036 
18037 bool ShowMyCardsRequestMessage::IsInitialized() const {
18038 
18039   return true;
18040 }
18041 
18042 void ShowMyCardsRequestMessage::Swap(ShowMyCardsRequestMessage* other) {
18043   if (other != this) {
18044     _unknown_fields_.swap(other->_unknown_fields_);
18045     std::swap(_cached_size_, other->_cached_size_);
18046   }
18047 }
18048 
18049 ::std::string ShowMyCardsRequestMessage::GetTypeName() const {
18050   return "ShowMyCardsRequestMessage";
18051 }
18052 
18053 
18054 // ===================================================================
18055 
18056 #ifndef _MSC_VER
18057 const int AfterHandShowCardsMessage::kPlayerResultFieldNumber;
18058 #endif  // !_MSC_VER
18059 
18060 AfterHandShowCardsMessage::AfterHandShowCardsMessage()
18061   : ::google::protobuf::MessageLite() {
18062   SharedCtor();
18063   // @@protoc_insertion_point(constructor:AfterHandShowCardsMessage)
18064 }
18065 
18066 void AfterHandShowCardsMessage::InitAsDefaultInstance() {
18067 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
18068   playerresult_ = const_cast< ::PlayerResult*>(
18069       ::PlayerResult::internal_default_instance());
18070 #else
18071   playerresult_ = const_cast< ::PlayerResult*>(&::PlayerResult::default_instance());
18072 #endif
18073 }
18074 
18075 AfterHandShowCardsMessage::AfterHandShowCardsMessage(const AfterHandShowCardsMessage& from)
18076   : ::google::protobuf::MessageLite() {
18077   SharedCtor();
18078   MergeFrom(from);
18079   // @@protoc_insertion_point(copy_constructor:AfterHandShowCardsMessage)
18080 }
18081 
18082 void AfterHandShowCardsMessage::SharedCtor() {
18083   _cached_size_ = 0;
18084   playerresult_ = NULL;
18085   ::memset(_has_bits_, 0, sizeof(_has_bits_));
18086 }
18087 
18088 AfterHandShowCardsMessage::~AfterHandShowCardsMessage() {
18089   // @@protoc_insertion_point(destructor:AfterHandShowCardsMessage)
18090   SharedDtor();
18091 }
18092 
18093 void AfterHandShowCardsMessage::SharedDtor() {
18094   #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
18095   if (this != &default_instance()) {
18096   #else
18097   if (this != default_instance_) {
18098   #endif
18099     delete playerresult_;
18100   }
18101 }
18102 
18103 void AfterHandShowCardsMessage::SetCachedSize(int size) const {
18104   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
18105   _cached_size_ = size;
18106   GOOGLE_SAFE_CONCURRENT_WRITES_END();
18107 }
18108 const AfterHandShowCardsMessage& AfterHandShowCardsMessage::default_instance() {
18109 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
18110   protobuf_AddDesc_pokerth_2eproto();
18111 #else
18112   if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto();
18113 #endif
18114   return *default_instance_;
18115 }
18116 
18117 AfterHandShowCardsMessage* AfterHandShowCardsMessage::default_instance_ = NULL;
18118 
18119 AfterHandShowCardsMessage* AfterHandShowCardsMessage::New() const {
18120   return new AfterHandShowCardsMessage;
18121 }
18122 
18123 void AfterHandShowCardsMessage::Clear() {
18124   if (has_playerresult()) {
18125     if (playerresult_ != NULL) playerresult_->::PlayerResult::Clear();
18126   }
18127   ::memset(_has_bits_, 0, sizeof(_has_bits_));
18128   mutable_unknown_fields()->clear();
18129 }
18130 
18131 bool AfterHandShowCardsMessage::MergePartialFromCodedStream(
18132     ::google::protobuf::io::CodedInputStream* input) {
18133 #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
18134   ::google::protobuf::uint32 tag;
18135   ::google::protobuf::io::StringOutputStream unknown_fields_string(
18136       mutable_unknown_fields());
18137   ::google::protobuf::io::CodedOutputStream unknown_fields_stream(
18138       &unknown_fields_string);
18139   // @@protoc_insertion_point(parse_start:AfterHandShowCardsMessage)
18140   for (;;) {
18141     ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
18142     tag = p.first;
18143     if (!p.second) goto handle_unusual;
18144     switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
18145       // required .PlayerResult playerResult = 1;
18146       case 1: {
18147         if (tag == 10) {
18148           DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
18149                input, mutable_playerresult()));
18150         } else {
18151           goto handle_unusual;
18152         }
18153         if (input->ExpectAtEnd()) goto success;
18154         break;
18155       }
18156 
18157       default: {
18158       handle_unusual:
18159         if (tag == 0 ||
18160             ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
18161             ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
18162           goto success;
18163         }
18164         DO_(::google::protobuf::internal::WireFormatLite::SkipField(
18165             input, tag, &unknown_fields_stream));
18166         break;
18167       }
18168     }
18169   }
18170 success:
18171   // @@protoc_insertion_point(parse_success:AfterHandShowCardsMessage)
18172   return true;
18173 failure:
18174   // @@protoc_insertion_point(parse_failure:AfterHandShowCardsMessage)
18175   return false;
18176 #undef DO_
18177 }
18178 
18179 void AfterHandShowCardsMessage::SerializeWithCachedSizes(
18180     ::google::protobuf::io::CodedOutputStream* output) const {
18181   // @@protoc_insertion_point(serialize_start:AfterHandShowCardsMessage)
18182   // required .PlayerResult playerResult = 1;
18183   if (has_playerresult()) {
18184     ::google::protobuf::internal::WireFormatLite::WriteMessage(
18185       1, this->playerresult(), output);
18186   }
18187 
18188   output->WriteRaw(unknown_fields().data(),
18189                    unknown_fields().size());
18190   // @@protoc_insertion_point(serialize_end:AfterHandShowCardsMessage)
18191 }
18192 
18193 int AfterHandShowCardsMessage::ByteSize() const {
18194   int total_size = 0;
18195 
18196   if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
18197     // required .PlayerResult playerResult = 1;
18198     if (has_playerresult()) {
18199       total_size += 1 +
18200         ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
18201           this->playerresult());
18202     }
18203 
18204   }
18205   total_size += unknown_fields().size();
18206 
18207   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
18208   _cached_size_ = total_size;
18209   GOOGLE_SAFE_CONCURRENT_WRITES_END();
18210   return total_size;
18211 }
18212 
18213 void AfterHandShowCardsMessage::CheckTypeAndMergeFrom(
18214     const ::google::protobuf::MessageLite& from) {
18215   MergeFrom(*::google::protobuf::down_cast<const AfterHandShowCardsMessage*>(&from));
18216 }
18217 
18218 void AfterHandShowCardsMessage::MergeFrom(const AfterHandShowCardsMessage& from) {
18219   GOOGLE_CHECK_NE(&from, this);
18220   if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
18221     if (from.has_playerresult()) {
18222       mutable_playerresult()->::PlayerResult::MergeFrom(from.playerresult());
18223     }
18224   }
18225   mutable_unknown_fields()->append(from.unknown_fields());
18226 }
18227 
18228 void AfterHandShowCardsMessage::CopyFrom(const AfterHandShowCardsMessage& from) {
18229   if (&from == this) return;
18230   Clear();
18231   MergeFrom(from);
18232 }
18233 
18234 bool AfterHandShowCardsMessage::IsInitialized() const {
18235   if ((_has_bits_[0] & 0x00000001) != 0x00000001) return false;
18236 
18237   if (has_playerresult()) {
18238     if (!this->playerresult().IsInitialized()) return false;
18239   }
18240   return true;
18241 }
18242 
18243 void AfterHandShowCardsMessage::Swap(AfterHandShowCardsMessage* other) {
18244   if (other != this) {
18245     std::swap(playerresult_, other->playerresult_);
18246     std::swap(_has_bits_[0], other->_has_bits_[0]);
18247     _unknown_fields_.swap(other->_unknown_fields_);
18248     std::swap(_cached_size_, other->_cached_size_);
18249   }
18250 }
18251 
18252 ::std::string AfterHandShowCardsMessage::GetTypeName() const {
18253   return "AfterHandShowCardsMessage";
18254 }
18255 
18256 
18257 // ===================================================================
18258 
18259 #ifndef _MSC_VER
18260 const int EndOfGameMessage::kGameIdFieldNumber;
18261 const int EndOfGameMessage::kWinnerPlayerIdFieldNumber;
18262 #endif  // !_MSC_VER
18263 
18264 EndOfGameMessage::EndOfGameMessage()
18265   : ::google::protobuf::MessageLite() {
18266   SharedCtor();
18267   // @@protoc_insertion_point(constructor:EndOfGameMessage)
18268 }
18269 
18270 void EndOfGameMessage::InitAsDefaultInstance() {
18271 }
18272 
18273 EndOfGameMessage::EndOfGameMessage(const EndOfGameMessage& from)
18274   : ::google::protobuf::MessageLite() {
18275   SharedCtor();
18276   MergeFrom(from);
18277   // @@protoc_insertion_point(copy_constructor:EndOfGameMessage)
18278 }
18279 
18280 void EndOfGameMessage::SharedCtor() {
18281   _cached_size_ = 0;
18282   gameid_ = 0u;
18283   winnerplayerid_ = 0u;
18284   ::memset(_has_bits_, 0, sizeof(_has_bits_));
18285 }
18286 
18287 EndOfGameMessage::~EndOfGameMessage() {
18288   // @@protoc_insertion_point(destructor:EndOfGameMessage)
18289   SharedDtor();
18290 }
18291 
18292 void EndOfGameMessage::SharedDtor() {
18293   #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
18294   if (this != &default_instance()) {
18295   #else
18296   if (this != default_instance_) {
18297   #endif
18298   }
18299 }
18300 
18301 void EndOfGameMessage::SetCachedSize(int size) const {
18302   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
18303   _cached_size_ = size;
18304   GOOGLE_SAFE_CONCURRENT_WRITES_END();
18305 }
18306 const EndOfGameMessage& EndOfGameMessage::default_instance() {
18307 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
18308   protobuf_AddDesc_pokerth_2eproto();
18309 #else
18310   if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto();
18311 #endif
18312   return *default_instance_;
18313 }
18314 
18315 EndOfGameMessage* EndOfGameMessage::default_instance_ = NULL;
18316 
18317 EndOfGameMessage* EndOfGameMessage::New() const {
18318   return new EndOfGameMessage;
18319 }
18320 
18321 void EndOfGameMessage::Clear() {
18322 #define OFFSET_OF_FIELD_(f) (reinterpret_cast<char*>(      \
18323   &reinterpret_cast<EndOfGameMessage*>(16)->f) - \
18324    reinterpret_cast<char*>(16))
18325 
18326 #define ZR_(first, last) do {                              \
18327     size_t f = OFFSET_OF_FIELD_(first);                    \
18328     size_t n = OFFSET_OF_FIELD_(last) - f + sizeof(last);  \
18329     ::memset(&first, 0, n);                                \
18330   } while (0)
18331 
18332   ZR_(gameid_, winnerplayerid_);
18333 
18334 #undef OFFSET_OF_FIELD_
18335 #undef ZR_
18336 
18337   ::memset(_has_bits_, 0, sizeof(_has_bits_));
18338   mutable_unknown_fields()->clear();
18339 }
18340 
18341 bool EndOfGameMessage::MergePartialFromCodedStream(
18342     ::google::protobuf::io::CodedInputStream* input) {
18343 #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
18344   ::google::protobuf::uint32 tag;
18345   ::google::protobuf::io::StringOutputStream unknown_fields_string(
18346       mutable_unknown_fields());
18347   ::google::protobuf::io::CodedOutputStream unknown_fields_stream(
18348       &unknown_fields_string);
18349   // @@protoc_insertion_point(parse_start:EndOfGameMessage)
18350   for (;;) {
18351     ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
18352     tag = p.first;
18353     if (!p.second) goto handle_unusual;
18354     switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
18355       // required uint32 gameId = 1;
18356       case 1: {
18357         if (tag == 8) {
18358           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
18359                    ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
18360                  input, &gameid_)));
18361           set_has_gameid();
18362         } else {
18363           goto handle_unusual;
18364         }
18365         if (input->ExpectTag(16)) goto parse_winnerPlayerId;
18366         break;
18367       }
18368 
18369       // required uint32 winnerPlayerId = 2;
18370       case 2: {
18371         if (tag == 16) {
18372          parse_winnerPlayerId:
18373           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
18374                    ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
18375                  input, &winnerplayerid_)));
18376           set_has_winnerplayerid();
18377         } else {
18378           goto handle_unusual;
18379         }
18380         if (input->ExpectAtEnd()) goto success;
18381         break;
18382       }
18383 
18384       default: {
18385       handle_unusual:
18386         if (tag == 0 ||
18387             ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
18388             ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
18389           goto success;
18390         }
18391         DO_(::google::protobuf::internal::WireFormatLite::SkipField(
18392             input, tag, &unknown_fields_stream));
18393         break;
18394       }
18395     }
18396   }
18397 success:
18398   // @@protoc_insertion_point(parse_success:EndOfGameMessage)
18399   return true;
18400 failure:
18401   // @@protoc_insertion_point(parse_failure:EndOfGameMessage)
18402   return false;
18403 #undef DO_
18404 }
18405 
18406 void EndOfGameMessage::SerializeWithCachedSizes(
18407     ::google::protobuf::io::CodedOutputStream* output) const {
18408   // @@protoc_insertion_point(serialize_start:EndOfGameMessage)
18409   // required uint32 gameId = 1;
18410   if (has_gameid()) {
18411     ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->gameid(), output);
18412   }
18413 
18414   // required uint32 winnerPlayerId = 2;
18415   if (has_winnerplayerid()) {
18416     ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->winnerplayerid(), output);
18417   }
18418 
18419   output->WriteRaw(unknown_fields().data(),
18420                    unknown_fields().size());
18421   // @@protoc_insertion_point(serialize_end:EndOfGameMessage)
18422 }
18423 
18424 int EndOfGameMessage::ByteSize() const {
18425   int total_size = 0;
18426 
18427   if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
18428     // required uint32 gameId = 1;
18429     if (has_gameid()) {
18430       total_size += 1 +
18431         ::google::protobuf::internal::WireFormatLite::UInt32Size(
18432           this->gameid());
18433     }
18434 
18435     // required uint32 winnerPlayerId = 2;
18436     if (has_winnerplayerid()) {
18437       total_size += 1 +
18438         ::google::protobuf::internal::WireFormatLite::UInt32Size(
18439           this->winnerplayerid());
18440     }
18441 
18442   }
18443   total_size += unknown_fields().size();
18444 
18445   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
18446   _cached_size_ = total_size;
18447   GOOGLE_SAFE_CONCURRENT_WRITES_END();
18448   return total_size;
18449 }
18450 
18451 void EndOfGameMessage::CheckTypeAndMergeFrom(
18452     const ::google::protobuf::MessageLite& from) {
18453   MergeFrom(*::google::protobuf::down_cast<const EndOfGameMessage*>(&from));
18454 }
18455 
18456 void EndOfGameMessage::MergeFrom(const EndOfGameMessage& from) {
18457   GOOGLE_CHECK_NE(&from, this);
18458   if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
18459     if (from.has_gameid()) {
18460       set_gameid(from.gameid());
18461     }
18462     if (from.has_winnerplayerid()) {
18463       set_winnerplayerid(from.winnerplayerid());
18464     }
18465   }
18466   mutable_unknown_fields()->append(from.unknown_fields());
18467 }
18468 
18469 void EndOfGameMessage::CopyFrom(const EndOfGameMessage& from) {
18470   if (&from == this) return;
18471   Clear();
18472   MergeFrom(from);
18473 }
18474 
18475 bool EndOfGameMessage::IsInitialized() const {
18476   if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false;
18477 
18478   return true;
18479 }
18480 
18481 void EndOfGameMessage::Swap(EndOfGameMessage* other) {
18482   if (other != this) {
18483     std::swap(gameid_, other->gameid_);
18484     std::swap(winnerplayerid_, other->winnerplayerid_);
18485     std::swap(_has_bits_[0], other->_has_bits_[0]);
18486     _unknown_fields_.swap(other->_unknown_fields_);
18487     std::swap(_cached_size_, other->_cached_size_);
18488   }
18489 }
18490 
18491 ::std::string EndOfGameMessage::GetTypeName() const {
18492   return "EndOfGameMessage";
18493 }
18494 
18495 
18496 // ===================================================================
18497 
18498 #ifndef _MSC_VER
18499 const int PlayerIdChangedMessage::kOldPlayerIdFieldNumber;
18500 const int PlayerIdChangedMessage::kNewPlayerIdFieldNumber;
18501 #endif  // !_MSC_VER
18502 
18503 PlayerIdChangedMessage::PlayerIdChangedMessage()
18504   : ::google::protobuf::MessageLite() {
18505   SharedCtor();
18506   // @@protoc_insertion_point(constructor:PlayerIdChangedMessage)
18507 }
18508 
18509 void PlayerIdChangedMessage::InitAsDefaultInstance() {
18510 }
18511 
18512 PlayerIdChangedMessage::PlayerIdChangedMessage(const PlayerIdChangedMessage& from)
18513   : ::google::protobuf::MessageLite() {
18514   SharedCtor();
18515   MergeFrom(from);
18516   // @@protoc_insertion_point(copy_constructor:PlayerIdChangedMessage)
18517 }
18518 
18519 void PlayerIdChangedMessage::SharedCtor() {
18520   _cached_size_ = 0;
18521   oldplayerid_ = 0u;
18522   newplayerid_ = 0u;
18523   ::memset(_has_bits_, 0, sizeof(_has_bits_));
18524 }
18525 
18526 PlayerIdChangedMessage::~PlayerIdChangedMessage() {
18527   // @@protoc_insertion_point(destructor:PlayerIdChangedMessage)
18528   SharedDtor();
18529 }
18530 
18531 void PlayerIdChangedMessage::SharedDtor() {
18532   #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
18533   if (this != &default_instance()) {
18534   #else
18535   if (this != default_instance_) {
18536   #endif
18537   }
18538 }
18539 
18540 void PlayerIdChangedMessage::SetCachedSize(int size) const {
18541   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
18542   _cached_size_ = size;
18543   GOOGLE_SAFE_CONCURRENT_WRITES_END();
18544 }
18545 const PlayerIdChangedMessage& PlayerIdChangedMessage::default_instance() {
18546 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
18547   protobuf_AddDesc_pokerth_2eproto();
18548 #else
18549   if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto();
18550 #endif
18551   return *default_instance_;
18552 }
18553 
18554 PlayerIdChangedMessage* PlayerIdChangedMessage::default_instance_ = NULL;
18555 
18556 PlayerIdChangedMessage* PlayerIdChangedMessage::New() const {
18557   return new PlayerIdChangedMessage;
18558 }
18559 
18560 void PlayerIdChangedMessage::Clear() {
18561 #define OFFSET_OF_FIELD_(f) (reinterpret_cast<char*>(      \
18562   &reinterpret_cast<PlayerIdChangedMessage*>(16)->f) - \
18563    reinterpret_cast<char*>(16))
18564 
18565 #define ZR_(first, last) do {                              \
18566     size_t f = OFFSET_OF_FIELD_(first);                    \
18567     size_t n = OFFSET_OF_FIELD_(last) - f + sizeof(last);  \
18568     ::memset(&first, 0, n);                                \
18569   } while (0)
18570 
18571   ZR_(oldplayerid_, newplayerid_);
18572 
18573 #undef OFFSET_OF_FIELD_
18574 #undef ZR_
18575 
18576   ::memset(_has_bits_, 0, sizeof(_has_bits_));
18577   mutable_unknown_fields()->clear();
18578 }
18579 
18580 bool PlayerIdChangedMessage::MergePartialFromCodedStream(
18581     ::google::protobuf::io::CodedInputStream* input) {
18582 #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
18583   ::google::protobuf::uint32 tag;
18584   ::google::protobuf::io::StringOutputStream unknown_fields_string(
18585       mutable_unknown_fields());
18586   ::google::protobuf::io::CodedOutputStream unknown_fields_stream(
18587       &unknown_fields_string);
18588   // @@protoc_insertion_point(parse_start:PlayerIdChangedMessage)
18589   for (;;) {
18590     ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
18591     tag = p.first;
18592     if (!p.second) goto handle_unusual;
18593     switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
18594       // required uint32 oldPlayerId = 1;
18595       case 1: {
18596         if (tag == 8) {
18597           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
18598                    ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
18599                  input, &oldplayerid_)));
18600           set_has_oldplayerid();
18601         } else {
18602           goto handle_unusual;
18603         }
18604         if (input->ExpectTag(16)) goto parse_newPlayerId;
18605         break;
18606       }
18607 
18608       // required uint32 newPlayerId = 2;
18609       case 2: {
18610         if (tag == 16) {
18611          parse_newPlayerId:
18612           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
18613                    ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
18614                  input, &newplayerid_)));
18615           set_has_newplayerid();
18616         } else {
18617           goto handle_unusual;
18618         }
18619         if (input->ExpectAtEnd()) goto success;
18620         break;
18621       }
18622 
18623       default: {
18624       handle_unusual:
18625         if (tag == 0 ||
18626             ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
18627             ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
18628           goto success;
18629         }
18630         DO_(::google::protobuf::internal::WireFormatLite::SkipField(
18631             input, tag, &unknown_fields_stream));
18632         break;
18633       }
18634     }
18635   }
18636 success:
18637   // @@protoc_insertion_point(parse_success:PlayerIdChangedMessage)
18638   return true;
18639 failure:
18640   // @@protoc_insertion_point(parse_failure:PlayerIdChangedMessage)
18641   return false;
18642 #undef DO_
18643 }
18644 
18645 void PlayerIdChangedMessage::SerializeWithCachedSizes(
18646     ::google::protobuf::io::CodedOutputStream* output) const {
18647   // @@protoc_insertion_point(serialize_start:PlayerIdChangedMessage)
18648   // required uint32 oldPlayerId = 1;
18649   if (has_oldplayerid()) {
18650     ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->oldplayerid(), output);
18651   }
18652 
18653   // required uint32 newPlayerId = 2;
18654   if (has_newplayerid()) {
18655     ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->newplayerid(), output);
18656   }
18657 
18658   output->WriteRaw(unknown_fields().data(),
18659                    unknown_fields().size());
18660   // @@protoc_insertion_point(serialize_end:PlayerIdChangedMessage)
18661 }
18662 
18663 int PlayerIdChangedMessage::ByteSize() const {
18664   int total_size = 0;
18665 
18666   if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
18667     // required uint32 oldPlayerId = 1;
18668     if (has_oldplayerid()) {
18669       total_size += 1 +
18670         ::google::protobuf::internal::WireFormatLite::UInt32Size(
18671           this->oldplayerid());
18672     }
18673 
18674     // required uint32 newPlayerId = 2;
18675     if (has_newplayerid()) {
18676       total_size += 1 +
18677         ::google::protobuf::internal::WireFormatLite::UInt32Size(
18678           this->newplayerid());
18679     }
18680 
18681   }
18682   total_size += unknown_fields().size();
18683 
18684   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
18685   _cached_size_ = total_size;
18686   GOOGLE_SAFE_CONCURRENT_WRITES_END();
18687   return total_size;
18688 }
18689 
18690 void PlayerIdChangedMessage::CheckTypeAndMergeFrom(
18691     const ::google::protobuf::MessageLite& from) {
18692   MergeFrom(*::google::protobuf::down_cast<const PlayerIdChangedMessage*>(&from));
18693 }
18694 
18695 void PlayerIdChangedMessage::MergeFrom(const PlayerIdChangedMessage& from) {
18696   GOOGLE_CHECK_NE(&from, this);
18697   if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
18698     if (from.has_oldplayerid()) {
18699       set_oldplayerid(from.oldplayerid());
18700     }
18701     if (from.has_newplayerid()) {
18702       set_newplayerid(from.newplayerid());
18703     }
18704   }
18705   mutable_unknown_fields()->append(from.unknown_fields());
18706 }
18707 
18708 void PlayerIdChangedMessage::CopyFrom(const PlayerIdChangedMessage& from) {
18709   if (&from == this) return;
18710   Clear();
18711   MergeFrom(from);
18712 }
18713 
18714 bool PlayerIdChangedMessage::IsInitialized() const {
18715   if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false;
18716 
18717   return true;
18718 }
18719 
18720 void PlayerIdChangedMessage::Swap(PlayerIdChangedMessage* other) {
18721   if (other != this) {
18722     std::swap(oldplayerid_, other->oldplayerid_);
18723     std::swap(newplayerid_, other->newplayerid_);
18724     std::swap(_has_bits_[0], other->_has_bits_[0]);
18725     _unknown_fields_.swap(other->_unknown_fields_);
18726     std::swap(_cached_size_, other->_cached_size_);
18727   }
18728 }
18729 
18730 ::std::string PlayerIdChangedMessage::GetTypeName() const {
18731   return "PlayerIdChangedMessage";
18732 }
18733 
18734 
18735 // ===================================================================
18736 
18737 #ifndef _MSC_VER
18738 const int AskKickPlayerMessage::kGameIdFieldNumber;
18739 const int AskKickPlayerMessage::kPlayerIdFieldNumber;
18740 #endif  // !_MSC_VER
18741 
18742 AskKickPlayerMessage::AskKickPlayerMessage()
18743   : ::google::protobuf::MessageLite() {
18744   SharedCtor();
18745   // @@protoc_insertion_point(constructor:AskKickPlayerMessage)
18746 }
18747 
18748 void AskKickPlayerMessage::InitAsDefaultInstance() {
18749 }
18750 
18751 AskKickPlayerMessage::AskKickPlayerMessage(const AskKickPlayerMessage& from)
18752   : ::google::protobuf::MessageLite() {
18753   SharedCtor();
18754   MergeFrom(from);
18755   // @@protoc_insertion_point(copy_constructor:AskKickPlayerMessage)
18756 }
18757 
18758 void AskKickPlayerMessage::SharedCtor() {
18759   _cached_size_ = 0;
18760   gameid_ = 0u;
18761   playerid_ = 0u;
18762   ::memset(_has_bits_, 0, sizeof(_has_bits_));
18763 }
18764 
18765 AskKickPlayerMessage::~AskKickPlayerMessage() {
18766   // @@protoc_insertion_point(destructor:AskKickPlayerMessage)
18767   SharedDtor();
18768 }
18769 
18770 void AskKickPlayerMessage::SharedDtor() {
18771   #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
18772   if (this != &default_instance()) {
18773   #else
18774   if (this != default_instance_) {
18775   #endif
18776   }
18777 }
18778 
18779 void AskKickPlayerMessage::SetCachedSize(int size) const {
18780   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
18781   _cached_size_ = size;
18782   GOOGLE_SAFE_CONCURRENT_WRITES_END();
18783 }
18784 const AskKickPlayerMessage& AskKickPlayerMessage::default_instance() {
18785 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
18786   protobuf_AddDesc_pokerth_2eproto();
18787 #else
18788   if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto();
18789 #endif
18790   return *default_instance_;
18791 }
18792 
18793 AskKickPlayerMessage* AskKickPlayerMessage::default_instance_ = NULL;
18794 
18795 AskKickPlayerMessage* AskKickPlayerMessage::New() const {
18796   return new AskKickPlayerMessage;
18797 }
18798 
18799 void AskKickPlayerMessage::Clear() {
18800 #define OFFSET_OF_FIELD_(f) (reinterpret_cast<char*>(      \
18801   &reinterpret_cast<AskKickPlayerMessage*>(16)->f) - \
18802    reinterpret_cast<char*>(16))
18803 
18804 #define ZR_(first, last) do {                              \
18805     size_t f = OFFSET_OF_FIELD_(first);                    \
18806     size_t n = OFFSET_OF_FIELD_(last) - f + sizeof(last);  \
18807     ::memset(&first, 0, n);                                \
18808   } while (0)
18809 
18810   ZR_(gameid_, playerid_);
18811 
18812 #undef OFFSET_OF_FIELD_
18813 #undef ZR_
18814 
18815   ::memset(_has_bits_, 0, sizeof(_has_bits_));
18816   mutable_unknown_fields()->clear();
18817 }
18818 
18819 bool AskKickPlayerMessage::MergePartialFromCodedStream(
18820     ::google::protobuf::io::CodedInputStream* input) {
18821 #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
18822   ::google::protobuf::uint32 tag;
18823   ::google::protobuf::io::StringOutputStream unknown_fields_string(
18824       mutable_unknown_fields());
18825   ::google::protobuf::io::CodedOutputStream unknown_fields_stream(
18826       &unknown_fields_string);
18827   // @@protoc_insertion_point(parse_start:AskKickPlayerMessage)
18828   for (;;) {
18829     ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
18830     tag = p.first;
18831     if (!p.second) goto handle_unusual;
18832     switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
18833       // required uint32 gameId = 1;
18834       case 1: {
18835         if (tag == 8) {
18836           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
18837                    ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
18838                  input, &gameid_)));
18839           set_has_gameid();
18840         } else {
18841           goto handle_unusual;
18842         }
18843         if (input->ExpectTag(16)) goto parse_playerId;
18844         break;
18845       }
18846 
18847       // required uint32 playerId = 2;
18848       case 2: {
18849         if (tag == 16) {
18850          parse_playerId:
18851           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
18852                    ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
18853                  input, &playerid_)));
18854           set_has_playerid();
18855         } else {
18856           goto handle_unusual;
18857         }
18858         if (input->ExpectAtEnd()) goto success;
18859         break;
18860       }
18861 
18862       default: {
18863       handle_unusual:
18864         if (tag == 0 ||
18865             ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
18866             ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
18867           goto success;
18868         }
18869         DO_(::google::protobuf::internal::WireFormatLite::SkipField(
18870             input, tag, &unknown_fields_stream));
18871         break;
18872       }
18873     }
18874   }
18875 success:
18876   // @@protoc_insertion_point(parse_success:AskKickPlayerMessage)
18877   return true;
18878 failure:
18879   // @@protoc_insertion_point(parse_failure:AskKickPlayerMessage)
18880   return false;
18881 #undef DO_
18882 }
18883 
18884 void AskKickPlayerMessage::SerializeWithCachedSizes(
18885     ::google::protobuf::io::CodedOutputStream* output) const {
18886   // @@protoc_insertion_point(serialize_start:AskKickPlayerMessage)
18887   // required uint32 gameId = 1;
18888   if (has_gameid()) {
18889     ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->gameid(), output);
18890   }
18891 
18892   // required uint32 playerId = 2;
18893   if (has_playerid()) {
18894     ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->playerid(), output);
18895   }
18896 
18897   output->WriteRaw(unknown_fields().data(),
18898                    unknown_fields().size());
18899   // @@protoc_insertion_point(serialize_end:AskKickPlayerMessage)
18900 }
18901 
18902 int AskKickPlayerMessage::ByteSize() const {
18903   int total_size = 0;
18904 
18905   if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
18906     // required uint32 gameId = 1;
18907     if (has_gameid()) {
18908       total_size += 1 +
18909         ::google::protobuf::internal::WireFormatLite::UInt32Size(
18910           this->gameid());
18911     }
18912 
18913     // required uint32 playerId = 2;
18914     if (has_playerid()) {
18915       total_size += 1 +
18916         ::google::protobuf::internal::WireFormatLite::UInt32Size(
18917           this->playerid());
18918     }
18919 
18920   }
18921   total_size += unknown_fields().size();
18922 
18923   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
18924   _cached_size_ = total_size;
18925   GOOGLE_SAFE_CONCURRENT_WRITES_END();
18926   return total_size;
18927 }
18928 
18929 void AskKickPlayerMessage::CheckTypeAndMergeFrom(
18930     const ::google::protobuf::MessageLite& from) {
18931   MergeFrom(*::google::protobuf::down_cast<const AskKickPlayerMessage*>(&from));
18932 }
18933 
18934 void AskKickPlayerMessage::MergeFrom(const AskKickPlayerMessage& from) {
18935   GOOGLE_CHECK_NE(&from, this);
18936   if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
18937     if (from.has_gameid()) {
18938       set_gameid(from.gameid());
18939     }
18940     if (from.has_playerid()) {
18941       set_playerid(from.playerid());
18942     }
18943   }
18944   mutable_unknown_fields()->append(from.unknown_fields());
18945 }
18946 
18947 void AskKickPlayerMessage::CopyFrom(const AskKickPlayerMessage& from) {
18948   if (&from == this) return;
18949   Clear();
18950   MergeFrom(from);
18951 }
18952 
18953 bool AskKickPlayerMessage::IsInitialized() const {
18954   if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false;
18955 
18956   return true;
18957 }
18958 
18959 void AskKickPlayerMessage::Swap(AskKickPlayerMessage* other) {
18960   if (other != this) {
18961     std::swap(gameid_, other->gameid_);
18962     std::swap(playerid_, other->playerid_);
18963     std::swap(_has_bits_[0], other->_has_bits_[0]);
18964     _unknown_fields_.swap(other->_unknown_fields_);
18965     std::swap(_cached_size_, other->_cached_size_);
18966   }
18967 }
18968 
18969 ::std::string AskKickPlayerMessage::GetTypeName() const {
18970   return "AskKickPlayerMessage";
18971 }
18972 
18973 
18974 // ===================================================================
18975 
18976 bool AskKickDeniedMessage_KickDeniedReason_IsValid(int value) {
18977   switch(value) {
18978     case 0:
18979     case 1:
18980     case 2:
18981     case 3:
18982     case 4:
18983       return true;
18984     default:
18985       return false;
18986   }
18987 }
18988 
18989 #ifndef _MSC_VER
18990 const AskKickDeniedMessage_KickDeniedReason AskKickDeniedMessage::kickDeniedInvalidGameState;
18991 const AskKickDeniedMessage_KickDeniedReason AskKickDeniedMessage::kickDeniedNotPossible;
18992 const AskKickDeniedMessage_KickDeniedReason AskKickDeniedMessage::kickDeniedTryAgainLater;
18993 const AskKickDeniedMessage_KickDeniedReason AskKickDeniedMessage::kickDeniedAlreadyInProgress;
18994 const AskKickDeniedMessage_KickDeniedReason AskKickDeniedMessage::kickDeniedInvalidPlayerId;
18995 const AskKickDeniedMessage_KickDeniedReason AskKickDeniedMessage::KickDeniedReason_MIN;
18996 const AskKickDeniedMessage_KickDeniedReason AskKickDeniedMessage::KickDeniedReason_MAX;
18997 const int AskKickDeniedMessage::KickDeniedReason_ARRAYSIZE;
18998 #endif  // _MSC_VER
18999 #ifndef _MSC_VER
19000 const int AskKickDeniedMessage::kGameIdFieldNumber;
19001 const int AskKickDeniedMessage::kPlayerIdFieldNumber;
19002 const int AskKickDeniedMessage::kKickDeniedReasonFieldNumber;
19003 #endif  // !_MSC_VER
19004 
19005 AskKickDeniedMessage::AskKickDeniedMessage()
19006   : ::google::protobuf::MessageLite() {
19007   SharedCtor();
19008   // @@protoc_insertion_point(constructor:AskKickDeniedMessage)
19009 }
19010 
19011 void AskKickDeniedMessage::InitAsDefaultInstance() {
19012 }
19013 
19014 AskKickDeniedMessage::AskKickDeniedMessage(const AskKickDeniedMessage& from)
19015   : ::google::protobuf::MessageLite() {
19016   SharedCtor();
19017   MergeFrom(from);
19018   // @@protoc_insertion_point(copy_constructor:AskKickDeniedMessage)
19019 }
19020 
19021 void AskKickDeniedMessage::SharedCtor() {
19022   _cached_size_ = 0;
19023   gameid_ = 0u;
19024   playerid_ = 0u;
19025   kickdeniedreason_ = 0;
19026   ::memset(_has_bits_, 0, sizeof(_has_bits_));
19027 }
19028 
19029 AskKickDeniedMessage::~AskKickDeniedMessage() {
19030   // @@protoc_insertion_point(destructor:AskKickDeniedMessage)
19031   SharedDtor();
19032 }
19033 
19034 void AskKickDeniedMessage::SharedDtor() {
19035   #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
19036   if (this != &default_instance()) {
19037   #else
19038   if (this != default_instance_) {
19039   #endif
19040   }
19041 }
19042 
19043 void AskKickDeniedMessage::SetCachedSize(int size) const {
19044   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
19045   _cached_size_ = size;
19046   GOOGLE_SAFE_CONCURRENT_WRITES_END();
19047 }
19048 const AskKickDeniedMessage& AskKickDeniedMessage::default_instance() {
19049 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
19050   protobuf_AddDesc_pokerth_2eproto();
19051 #else
19052   if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto();
19053 #endif
19054   return *default_instance_;
19055 }
19056 
19057 AskKickDeniedMessage* AskKickDeniedMessage::default_instance_ = NULL;
19058 
19059 AskKickDeniedMessage* AskKickDeniedMessage::New() const {
19060   return new AskKickDeniedMessage;
19061 }
19062 
19063 void AskKickDeniedMessage::Clear() {
19064 #define OFFSET_OF_FIELD_(f) (reinterpret_cast<char*>(      \
19065   &reinterpret_cast<AskKickDeniedMessage*>(16)->f) - \
19066    reinterpret_cast<char*>(16))
19067 
19068 #define ZR_(first, last) do {                              \
19069     size_t f = OFFSET_OF_FIELD_(first);                    \
19070     size_t n = OFFSET_OF_FIELD_(last) - f + sizeof(last);  \
19071     ::memset(&first, 0, n);                                \
19072   } while (0)
19073 
19074   ZR_(gameid_, kickdeniedreason_);
19075 
19076 #undef OFFSET_OF_FIELD_
19077 #undef ZR_
19078 
19079   ::memset(_has_bits_, 0, sizeof(_has_bits_));
19080   mutable_unknown_fields()->clear();
19081 }
19082 
19083 bool AskKickDeniedMessage::MergePartialFromCodedStream(
19084     ::google::protobuf::io::CodedInputStream* input) {
19085 #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
19086   ::google::protobuf::uint32 tag;
19087   ::google::protobuf::io::StringOutputStream unknown_fields_string(
19088       mutable_unknown_fields());
19089   ::google::protobuf::io::CodedOutputStream unknown_fields_stream(
19090       &unknown_fields_string);
19091   // @@protoc_insertion_point(parse_start:AskKickDeniedMessage)
19092   for (;;) {
19093     ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
19094     tag = p.first;
19095     if (!p.second) goto handle_unusual;
19096     switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
19097       // required uint32 gameId = 1;
19098       case 1: {
19099         if (tag == 8) {
19100           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
19101                    ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
19102                  input, &gameid_)));
19103           set_has_gameid();
19104         } else {
19105           goto handle_unusual;
19106         }
19107         if (input->ExpectTag(16)) goto parse_playerId;
19108         break;
19109       }
19110 
19111       // required uint32 playerId = 2;
19112       case 2: {
19113         if (tag == 16) {
19114          parse_playerId:
19115           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
19116                    ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
19117                  input, &playerid_)));
19118           set_has_playerid();
19119         } else {
19120           goto handle_unusual;
19121         }
19122         if (input->ExpectTag(24)) goto parse_kickDeniedReason;
19123         break;
19124       }
19125 
19126       // required .AskKickDeniedMessage.KickDeniedReason kickDeniedReason = 3;
19127       case 3: {
19128         if (tag == 24) {
19129          parse_kickDeniedReason:
19130           int value;
19131           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
19132                    int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
19133                  input, &value)));
19134           if (::AskKickDeniedMessage_KickDeniedReason_IsValid(value)) {
19135             set_kickdeniedreason(static_cast< ::AskKickDeniedMessage_KickDeniedReason >(value));
19136           } else {
19137             unknown_fields_stream.WriteVarint32(tag);
19138             unknown_fields_stream.WriteVarint32(value);
19139           }
19140         } else {
19141           goto handle_unusual;
19142         }
19143         if (input->ExpectAtEnd()) goto success;
19144         break;
19145       }
19146 
19147       default: {
19148       handle_unusual:
19149         if (tag == 0 ||
19150             ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
19151             ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
19152           goto success;
19153         }
19154         DO_(::google::protobuf::internal::WireFormatLite::SkipField(
19155             input, tag, &unknown_fields_stream));
19156         break;
19157       }
19158     }
19159   }
19160 success:
19161   // @@protoc_insertion_point(parse_success:AskKickDeniedMessage)
19162   return true;
19163 failure:
19164   // @@protoc_insertion_point(parse_failure:AskKickDeniedMessage)
19165   return false;
19166 #undef DO_
19167 }
19168 
19169 void AskKickDeniedMessage::SerializeWithCachedSizes(
19170     ::google::protobuf::io::CodedOutputStream* output) const {
19171   // @@protoc_insertion_point(serialize_start:AskKickDeniedMessage)
19172   // required uint32 gameId = 1;
19173   if (has_gameid()) {
19174     ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->gameid(), output);
19175   }
19176 
19177   // required uint32 playerId = 2;
19178   if (has_playerid()) {
19179     ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->playerid(), output);
19180   }
19181 
19182   // required .AskKickDeniedMessage.KickDeniedReason kickDeniedReason = 3;
19183   if (has_kickdeniedreason()) {
19184     ::google::protobuf::internal::WireFormatLite::WriteEnum(
19185       3, this->kickdeniedreason(), output);
19186   }
19187 
19188   output->WriteRaw(unknown_fields().data(),
19189                    unknown_fields().size());
19190   // @@protoc_insertion_point(serialize_end:AskKickDeniedMessage)
19191 }
19192 
19193 int AskKickDeniedMessage::ByteSize() const {
19194   int total_size = 0;
19195 
19196   if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
19197     // required uint32 gameId = 1;
19198     if (has_gameid()) {
19199       total_size += 1 +
19200         ::google::protobuf::internal::WireFormatLite::UInt32Size(
19201           this->gameid());
19202     }
19203 
19204     // required uint32 playerId = 2;
19205     if (has_playerid()) {
19206       total_size += 1 +
19207         ::google::protobuf::internal::WireFormatLite::UInt32Size(
19208           this->playerid());
19209     }
19210 
19211     // required .AskKickDeniedMessage.KickDeniedReason kickDeniedReason = 3;
19212     if (has_kickdeniedreason()) {
19213       total_size += 1 +
19214         ::google::protobuf::internal::WireFormatLite::EnumSize(this->kickdeniedreason());
19215     }
19216 
19217   }
19218   total_size += unknown_fields().size();
19219 
19220   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
19221   _cached_size_ = total_size;
19222   GOOGLE_SAFE_CONCURRENT_WRITES_END();
19223   return total_size;
19224 }
19225 
19226 void AskKickDeniedMessage::CheckTypeAndMergeFrom(
19227     const ::google::protobuf::MessageLite& from) {
19228   MergeFrom(*::google::protobuf::down_cast<const AskKickDeniedMessage*>(&from));
19229 }
19230 
19231 void AskKickDeniedMessage::MergeFrom(const AskKickDeniedMessage& from) {
19232   GOOGLE_CHECK_NE(&from, this);
19233   if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
19234     if (from.has_gameid()) {
19235       set_gameid(from.gameid());
19236     }
19237     if (from.has_playerid()) {
19238       set_playerid(from.playerid());
19239     }
19240     if (from.has_kickdeniedreason()) {
19241       set_kickdeniedreason(from.kickdeniedreason());
19242     }
19243   }
19244   mutable_unknown_fields()->append(from.unknown_fields());
19245 }
19246 
19247 void AskKickDeniedMessage::CopyFrom(const AskKickDeniedMessage& from) {
19248   if (&from == this) return;
19249   Clear();
19250   MergeFrom(from);
19251 }
19252 
19253 bool AskKickDeniedMessage::IsInitialized() const {
19254   if ((_has_bits_[0] & 0x00000007) != 0x00000007) return false;
19255 
19256   return true;
19257 }
19258 
19259 void AskKickDeniedMessage::Swap(AskKickDeniedMessage* other) {
19260   if (other != this) {
19261     std::swap(gameid_, other->gameid_);
19262     std::swap(playerid_, other->playerid_);
19263     std::swap(kickdeniedreason_, other->kickdeniedreason_);
19264     std::swap(_has_bits_[0], other->_has_bits_[0]);
19265     _unknown_fields_.swap(other->_unknown_fields_);
19266     std::swap(_cached_size_, other->_cached_size_);
19267   }
19268 }
19269 
19270 ::std::string AskKickDeniedMessage::GetTypeName() const {
19271   return "AskKickDeniedMessage";
19272 }
19273 
19274 
19275 // ===================================================================
19276 
19277 #ifndef _MSC_VER
19278 const int StartKickPetitionMessage::kGameIdFieldNumber;
19279 const int StartKickPetitionMessage::kPetitionIdFieldNumber;
19280 const int StartKickPetitionMessage::kProposingPlayerIdFieldNumber;
19281 const int StartKickPetitionMessage::kKickPlayerIdFieldNumber;
19282 const int StartKickPetitionMessage::kKickTimeoutSecFieldNumber;
19283 const int StartKickPetitionMessage::kNumVotesNeededToKickFieldNumber;
19284 #endif  // !_MSC_VER
19285 
19286 StartKickPetitionMessage::StartKickPetitionMessage()
19287   : ::google::protobuf::MessageLite() {
19288   SharedCtor();
19289   // @@protoc_insertion_point(constructor:StartKickPetitionMessage)
19290 }
19291 
19292 void StartKickPetitionMessage::InitAsDefaultInstance() {
19293 }
19294 
19295 StartKickPetitionMessage::StartKickPetitionMessage(const StartKickPetitionMessage& from)
19296   : ::google::protobuf::MessageLite() {
19297   SharedCtor();
19298   MergeFrom(from);
19299   // @@protoc_insertion_point(copy_constructor:StartKickPetitionMessage)
19300 }
19301 
19302 void StartKickPetitionMessage::SharedCtor() {
19303   _cached_size_ = 0;
19304   gameid_ = 0u;
19305   petitionid_ = 0u;
19306   proposingplayerid_ = 0u;
19307   kickplayerid_ = 0u;
19308   kicktimeoutsec_ = 0u;
19309   numvotesneededtokick_ = 0u;
19310   ::memset(_has_bits_, 0, sizeof(_has_bits_));
19311 }
19312 
19313 StartKickPetitionMessage::~StartKickPetitionMessage() {
19314   // @@protoc_insertion_point(destructor:StartKickPetitionMessage)
19315   SharedDtor();
19316 }
19317 
19318 void StartKickPetitionMessage::SharedDtor() {
19319   #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
19320   if (this != &default_instance()) {
19321   #else
19322   if (this != default_instance_) {
19323   #endif
19324   }
19325 }
19326 
19327 void StartKickPetitionMessage::SetCachedSize(int size) const {
19328   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
19329   _cached_size_ = size;
19330   GOOGLE_SAFE_CONCURRENT_WRITES_END();
19331 }
19332 const StartKickPetitionMessage& StartKickPetitionMessage::default_instance() {
19333 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
19334   protobuf_AddDesc_pokerth_2eproto();
19335 #else
19336   if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto();
19337 #endif
19338   return *default_instance_;
19339 }
19340 
19341 StartKickPetitionMessage* StartKickPetitionMessage::default_instance_ = NULL;
19342 
19343 StartKickPetitionMessage* StartKickPetitionMessage::New() const {
19344   return new StartKickPetitionMessage;
19345 }
19346 
19347 void StartKickPetitionMessage::Clear() {
19348 #define OFFSET_OF_FIELD_(f) (reinterpret_cast<char*>(      \
19349   &reinterpret_cast<StartKickPetitionMessage*>(16)->f) - \
19350    reinterpret_cast<char*>(16))
19351 
19352 #define ZR_(first, last) do {                              \
19353     size_t f = OFFSET_OF_FIELD_(first);                    \
19354     size_t n = OFFSET_OF_FIELD_(last) - f + sizeof(last);  \
19355     ::memset(&first, 0, n);                                \
19356   } while (0)
19357 
19358   if (_has_bits_[0 / 32] & 63) {
19359     ZR_(gameid_, numvotesneededtokick_);
19360   }
19361 
19362 #undef OFFSET_OF_FIELD_
19363 #undef ZR_
19364 
19365   ::memset(_has_bits_, 0, sizeof(_has_bits_));
19366   mutable_unknown_fields()->clear();
19367 }
19368 
19369 bool StartKickPetitionMessage::MergePartialFromCodedStream(
19370     ::google::protobuf::io::CodedInputStream* input) {
19371 #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
19372   ::google::protobuf::uint32 tag;
19373   ::google::protobuf::io::StringOutputStream unknown_fields_string(
19374       mutable_unknown_fields());
19375   ::google::protobuf::io::CodedOutputStream unknown_fields_stream(
19376       &unknown_fields_string);
19377   // @@protoc_insertion_point(parse_start:StartKickPetitionMessage)
19378   for (;;) {
19379     ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
19380     tag = p.first;
19381     if (!p.second) goto handle_unusual;
19382     switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
19383       // required uint32 gameId = 1;
19384       case 1: {
19385         if (tag == 8) {
19386           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
19387                    ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
19388                  input, &gameid_)));
19389           set_has_gameid();
19390         } else {
19391           goto handle_unusual;
19392         }
19393         if (input->ExpectTag(16)) goto parse_petitionId;
19394         break;
19395       }
19396 
19397       // required uint32 petitionId = 2;
19398       case 2: {
19399         if (tag == 16) {
19400          parse_petitionId:
19401           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
19402                    ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
19403                  input, &petitionid_)));
19404           set_has_petitionid();
19405         } else {
19406           goto handle_unusual;
19407         }
19408         if (input->ExpectTag(24)) goto parse_proposingPlayerId;
19409         break;
19410       }
19411 
19412       // required uint32 proposingPlayerId = 3;
19413       case 3: {
19414         if (tag == 24) {
19415          parse_proposingPlayerId:
19416           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
19417                    ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
19418                  input, &proposingplayerid_)));
19419           set_has_proposingplayerid();
19420         } else {
19421           goto handle_unusual;
19422         }
19423         if (input->ExpectTag(32)) goto parse_kickPlayerId;
19424         break;
19425       }
19426 
19427       // required uint32 kickPlayerId = 4;
19428       case 4: {
19429         if (tag == 32) {
19430          parse_kickPlayerId:
19431           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
19432                    ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
19433                  input, &kickplayerid_)));
19434           set_has_kickplayerid();
19435         } else {
19436           goto handle_unusual;
19437         }
19438         if (input->ExpectTag(40)) goto parse_kickTimeoutSec;
19439         break;
19440       }
19441 
19442       // required uint32 kickTimeoutSec = 5;
19443       case 5: {
19444         if (tag == 40) {
19445          parse_kickTimeoutSec:
19446           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
19447                    ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
19448                  input, &kicktimeoutsec_)));
19449           set_has_kicktimeoutsec();
19450         } else {
19451           goto handle_unusual;
19452         }
19453         if (input->ExpectTag(48)) goto parse_numVotesNeededToKick;
19454         break;
19455       }
19456 
19457       // required uint32 numVotesNeededToKick = 6;
19458       case 6: {
19459         if (tag == 48) {
19460          parse_numVotesNeededToKick:
19461           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
19462                    ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
19463                  input, &numvotesneededtokick_)));
19464           set_has_numvotesneededtokick();
19465         } else {
19466           goto handle_unusual;
19467         }
19468         if (input->ExpectAtEnd()) goto success;
19469         break;
19470       }
19471 
19472       default: {
19473       handle_unusual:
19474         if (tag == 0 ||
19475             ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
19476             ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
19477           goto success;
19478         }
19479         DO_(::google::protobuf::internal::WireFormatLite::SkipField(
19480             input, tag, &unknown_fields_stream));
19481         break;
19482       }
19483     }
19484   }
19485 success:
19486   // @@protoc_insertion_point(parse_success:StartKickPetitionMessage)
19487   return true;
19488 failure:
19489   // @@protoc_insertion_point(parse_failure:StartKickPetitionMessage)
19490   return false;
19491 #undef DO_
19492 }
19493 
19494 void StartKickPetitionMessage::SerializeWithCachedSizes(
19495     ::google::protobuf::io::CodedOutputStream* output) const {
19496   // @@protoc_insertion_point(serialize_start:StartKickPetitionMessage)
19497   // required uint32 gameId = 1;
19498   if (has_gameid()) {
19499     ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->gameid(), output);
19500   }
19501 
19502   // required uint32 petitionId = 2;
19503   if (has_petitionid()) {
19504     ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->petitionid(), output);
19505   }
19506 
19507   // required uint32 proposingPlayerId = 3;
19508   if (has_proposingplayerid()) {
19509     ::google::protobuf::internal::WireFormatLite::WriteUInt32(3, this->proposingplayerid(), output);
19510   }
19511 
19512   // required uint32 kickPlayerId = 4;
19513   if (has_kickplayerid()) {
19514     ::google::protobuf::internal::WireFormatLite::WriteUInt32(4, this->kickplayerid(), output);
19515   }
19516 
19517   // required uint32 kickTimeoutSec = 5;
19518   if (has_kicktimeoutsec()) {
19519     ::google::protobuf::internal::WireFormatLite::WriteUInt32(5, this->kicktimeoutsec(), output);
19520   }
19521 
19522   // required uint32 numVotesNeededToKick = 6;
19523   if (has_numvotesneededtokick()) {
19524     ::google::protobuf::internal::WireFormatLite::WriteUInt32(6, this->numvotesneededtokick(), output);
19525   }
19526 
19527   output->WriteRaw(unknown_fields().data(),
19528                    unknown_fields().size());
19529   // @@protoc_insertion_point(serialize_end:StartKickPetitionMessage)
19530 }
19531 
19532 int StartKickPetitionMessage::ByteSize() const {
19533   int total_size = 0;
19534 
19535   if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
19536     // required uint32 gameId = 1;
19537     if (has_gameid()) {
19538       total_size += 1 +
19539         ::google::protobuf::internal::WireFormatLite::UInt32Size(
19540           this->gameid());
19541     }
19542 
19543     // required uint32 petitionId = 2;
19544     if (has_petitionid()) {
19545       total_size += 1 +
19546         ::google::protobuf::internal::WireFormatLite::UInt32Size(
19547           this->petitionid());
19548     }
19549 
19550     // required uint32 proposingPlayerId = 3;
19551     if (has_proposingplayerid()) {
19552       total_size += 1 +
19553         ::google::protobuf::internal::WireFormatLite::UInt32Size(
19554           this->proposingplayerid());
19555     }
19556 
19557     // required uint32 kickPlayerId = 4;
19558     if (has_kickplayerid()) {
19559       total_size += 1 +
19560         ::google::protobuf::internal::WireFormatLite::UInt32Size(
19561           this->kickplayerid());
19562     }
19563 
19564     // required uint32 kickTimeoutSec = 5;
19565     if (has_kicktimeoutsec()) {
19566       total_size += 1 +
19567         ::google::protobuf::internal::WireFormatLite::UInt32Size(
19568           this->kicktimeoutsec());
19569     }
19570 
19571     // required uint32 numVotesNeededToKick = 6;
19572     if (has_numvotesneededtokick()) {
19573       total_size += 1 +
19574         ::google::protobuf::internal::WireFormatLite::UInt32Size(
19575           this->numvotesneededtokick());
19576     }
19577 
19578   }
19579   total_size += unknown_fields().size();
19580 
19581   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
19582   _cached_size_ = total_size;
19583   GOOGLE_SAFE_CONCURRENT_WRITES_END();
19584   return total_size;
19585 }
19586 
19587 void StartKickPetitionMessage::CheckTypeAndMergeFrom(
19588     const ::google::protobuf::MessageLite& from) {
19589   MergeFrom(*::google::protobuf::down_cast<const StartKickPetitionMessage*>(&from));
19590 }
19591 
19592 void StartKickPetitionMessage::MergeFrom(const StartKickPetitionMessage& from) {
19593   GOOGLE_CHECK_NE(&from, this);
19594   if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
19595     if (from.has_gameid()) {
19596       set_gameid(from.gameid());
19597     }
19598     if (from.has_petitionid()) {
19599       set_petitionid(from.petitionid());
19600     }
19601     if (from.has_proposingplayerid()) {
19602       set_proposingplayerid(from.proposingplayerid());
19603     }
19604     if (from.has_kickplayerid()) {
19605       set_kickplayerid(from.kickplayerid());
19606     }
19607     if (from.has_kicktimeoutsec()) {
19608       set_kicktimeoutsec(from.kicktimeoutsec());
19609     }
19610     if (from.has_numvotesneededtokick()) {
19611       set_numvotesneededtokick(from.numvotesneededtokick());
19612     }
19613   }
19614   mutable_unknown_fields()->append(from.unknown_fields());
19615 }
19616 
19617 void StartKickPetitionMessage::CopyFrom(const StartKickPetitionMessage& from) {
19618   if (&from == this) return;
19619   Clear();
19620   MergeFrom(from);
19621 }
19622 
19623 bool StartKickPetitionMessage::IsInitialized() const {
19624   if ((_has_bits_[0] & 0x0000003f) != 0x0000003f) return false;
19625 
19626   return true;
19627 }
19628 
19629 void StartKickPetitionMessage::Swap(StartKickPetitionMessage* other) {
19630   if (other != this) {
19631     std::swap(gameid_, other->gameid_);
19632     std::swap(petitionid_, other->petitionid_);
19633     std::swap(proposingplayerid_, other->proposingplayerid_);
19634     std::swap(kickplayerid_, other->kickplayerid_);
19635     std::swap(kicktimeoutsec_, other->kicktimeoutsec_);
19636     std::swap(numvotesneededtokick_, other->numvotesneededtokick_);
19637     std::swap(_has_bits_[0], other->_has_bits_[0]);
19638     _unknown_fields_.swap(other->_unknown_fields_);
19639     std::swap(_cached_size_, other->_cached_size_);
19640   }
19641 }
19642 
19643 ::std::string StartKickPetitionMessage::GetTypeName() const {
19644   return "StartKickPetitionMessage";
19645 }
19646 
19647 
19648 // ===================================================================
19649 
19650 #ifndef _MSC_VER
19651 const int VoteKickRequestMessage::kGameIdFieldNumber;
19652 const int VoteKickRequestMessage::kPetitionIdFieldNumber;
19653 const int VoteKickRequestMessage::kVoteKickFieldNumber;
19654 #endif  // !_MSC_VER
19655 
19656 VoteKickRequestMessage::VoteKickRequestMessage()
19657   : ::google::protobuf::MessageLite() {
19658   SharedCtor();
19659   // @@protoc_insertion_point(constructor:VoteKickRequestMessage)
19660 }
19661 
19662 void VoteKickRequestMessage::InitAsDefaultInstance() {
19663 }
19664 
19665 VoteKickRequestMessage::VoteKickRequestMessage(const VoteKickRequestMessage& from)
19666   : ::google::protobuf::MessageLite() {
19667   SharedCtor();
19668   MergeFrom(from);
19669   // @@protoc_insertion_point(copy_constructor:VoteKickRequestMessage)
19670 }
19671 
19672 void VoteKickRequestMessage::SharedCtor() {
19673   _cached_size_ = 0;
19674   gameid_ = 0u;
19675   petitionid_ = 0u;
19676   votekick_ = false;
19677   ::memset(_has_bits_, 0, sizeof(_has_bits_));
19678 }
19679 
19680 VoteKickRequestMessage::~VoteKickRequestMessage() {
19681   // @@protoc_insertion_point(destructor:VoteKickRequestMessage)
19682   SharedDtor();
19683 }
19684 
19685 void VoteKickRequestMessage::SharedDtor() {
19686   #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
19687   if (this != &default_instance()) {
19688   #else
19689   if (this != default_instance_) {
19690   #endif
19691   }
19692 }
19693 
19694 void VoteKickRequestMessage::SetCachedSize(int size) const {
19695   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
19696   _cached_size_ = size;
19697   GOOGLE_SAFE_CONCURRENT_WRITES_END();
19698 }
19699 const VoteKickRequestMessage& VoteKickRequestMessage::default_instance() {
19700 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
19701   protobuf_AddDesc_pokerth_2eproto();
19702 #else
19703   if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto();
19704 #endif
19705   return *default_instance_;
19706 }
19707 
19708 VoteKickRequestMessage* VoteKickRequestMessage::default_instance_ = NULL;
19709 
19710 VoteKickRequestMessage* VoteKickRequestMessage::New() const {
19711   return new VoteKickRequestMessage;
19712 }
19713 
19714 void VoteKickRequestMessage::Clear() {
19715 #define OFFSET_OF_FIELD_(f) (reinterpret_cast<char*>(      \
19716   &reinterpret_cast<VoteKickRequestMessage*>(16)->f) - \
19717    reinterpret_cast<char*>(16))
19718 
19719 #define ZR_(first, last) do {                              \
19720     size_t f = OFFSET_OF_FIELD_(first);                    \
19721     size_t n = OFFSET_OF_FIELD_(last) - f + sizeof(last);  \
19722     ::memset(&first, 0, n);                                \
19723   } while (0)
19724 
19725   ZR_(gameid_, votekick_);
19726 
19727 #undef OFFSET_OF_FIELD_
19728 #undef ZR_
19729 
19730   ::memset(_has_bits_, 0, sizeof(_has_bits_));
19731   mutable_unknown_fields()->clear();
19732 }
19733 
19734 bool VoteKickRequestMessage::MergePartialFromCodedStream(
19735     ::google::protobuf::io::CodedInputStream* input) {
19736 #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
19737   ::google::protobuf::uint32 tag;
19738   ::google::protobuf::io::StringOutputStream unknown_fields_string(
19739       mutable_unknown_fields());
19740   ::google::protobuf::io::CodedOutputStream unknown_fields_stream(
19741       &unknown_fields_string);
19742   // @@protoc_insertion_point(parse_start:VoteKickRequestMessage)
19743   for (;;) {
19744     ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
19745     tag = p.first;
19746     if (!p.second) goto handle_unusual;
19747     switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
19748       // required uint32 gameId = 1;
19749       case 1: {
19750         if (tag == 8) {
19751           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
19752                    ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
19753                  input, &gameid_)));
19754           set_has_gameid();
19755         } else {
19756           goto handle_unusual;
19757         }
19758         if (input->ExpectTag(16)) goto parse_petitionId;
19759         break;
19760       }
19761 
19762       // required uint32 petitionId = 2;
19763       case 2: {
19764         if (tag == 16) {
19765          parse_petitionId:
19766           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
19767                    ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
19768                  input, &petitionid_)));
19769           set_has_petitionid();
19770         } else {
19771           goto handle_unusual;
19772         }
19773         if (input->ExpectTag(24)) goto parse_voteKick;
19774         break;
19775       }
19776 
19777       // required bool voteKick = 3;
19778       case 3: {
19779         if (tag == 24) {
19780          parse_voteKick:
19781           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
19782                    bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(
19783                  input, &votekick_)));
19784           set_has_votekick();
19785         } else {
19786           goto handle_unusual;
19787         }
19788         if (input->ExpectAtEnd()) goto success;
19789         break;
19790       }
19791 
19792       default: {
19793       handle_unusual:
19794         if (tag == 0 ||
19795             ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
19796             ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
19797           goto success;
19798         }
19799         DO_(::google::protobuf::internal::WireFormatLite::SkipField(
19800             input, tag, &unknown_fields_stream));
19801         break;
19802       }
19803     }
19804   }
19805 success:
19806   // @@protoc_insertion_point(parse_success:VoteKickRequestMessage)
19807   return true;
19808 failure:
19809   // @@protoc_insertion_point(parse_failure:VoteKickRequestMessage)
19810   return false;
19811 #undef DO_
19812 }
19813 
19814 void VoteKickRequestMessage::SerializeWithCachedSizes(
19815     ::google::protobuf::io::CodedOutputStream* output) const {
19816   // @@protoc_insertion_point(serialize_start:VoteKickRequestMessage)
19817   // required uint32 gameId = 1;
19818   if (has_gameid()) {
19819     ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->gameid(), output);
19820   }
19821 
19822   // required uint32 petitionId = 2;
19823   if (has_petitionid()) {
19824     ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->petitionid(), output);
19825   }
19826 
19827   // required bool voteKick = 3;
19828   if (has_votekick()) {
19829     ::google::protobuf::internal::WireFormatLite::WriteBool(3, this->votekick(), output);
19830   }
19831 
19832   output->WriteRaw(unknown_fields().data(),
19833                    unknown_fields().size());
19834   // @@protoc_insertion_point(serialize_end:VoteKickRequestMessage)
19835 }
19836 
19837 int VoteKickRequestMessage::ByteSize() const {
19838   int total_size = 0;
19839 
19840   if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
19841     // required uint32 gameId = 1;
19842     if (has_gameid()) {
19843       total_size += 1 +
19844         ::google::protobuf::internal::WireFormatLite::UInt32Size(
19845           this->gameid());
19846     }
19847 
19848     // required uint32 petitionId = 2;
19849     if (has_petitionid()) {
19850       total_size += 1 +
19851         ::google::protobuf::internal::WireFormatLite::UInt32Size(
19852           this->petitionid());
19853     }
19854 
19855     // required bool voteKick = 3;
19856     if (has_votekick()) {
19857       total_size += 1 + 1;
19858     }
19859 
19860   }
19861   total_size += unknown_fields().size();
19862 
19863   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
19864   _cached_size_ = total_size;
19865   GOOGLE_SAFE_CONCURRENT_WRITES_END();
19866   return total_size;
19867 }
19868 
19869 void VoteKickRequestMessage::CheckTypeAndMergeFrom(
19870     const ::google::protobuf::MessageLite& from) {
19871   MergeFrom(*::google::protobuf::down_cast<const VoteKickRequestMessage*>(&from));
19872 }
19873 
19874 void VoteKickRequestMessage::MergeFrom(const VoteKickRequestMessage& from) {
19875   GOOGLE_CHECK_NE(&from, this);
19876   if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
19877     if (from.has_gameid()) {
19878       set_gameid(from.gameid());
19879     }
19880     if (from.has_petitionid()) {
19881       set_petitionid(from.petitionid());
19882     }
19883     if (from.has_votekick()) {
19884       set_votekick(from.votekick());
19885     }
19886   }
19887   mutable_unknown_fields()->append(from.unknown_fields());
19888 }
19889 
19890 void VoteKickRequestMessage::CopyFrom(const VoteKickRequestMessage& from) {
19891   if (&from == this) return;
19892   Clear();
19893   MergeFrom(from);
19894 }
19895 
19896 bool VoteKickRequestMessage::IsInitialized() const {
19897   if ((_has_bits_[0] & 0x00000007) != 0x00000007) return false;
19898 
19899   return true;
19900 }
19901 
19902 void VoteKickRequestMessage::Swap(VoteKickRequestMessage* other) {
19903   if (other != this) {
19904     std::swap(gameid_, other->gameid_);
19905     std::swap(petitionid_, other->petitionid_);
19906     std::swap(votekick_, other->votekick_);
19907     std::swap(_has_bits_[0], other->_has_bits_[0]);
19908     _unknown_fields_.swap(other->_unknown_fields_);
19909     std::swap(_cached_size_, other->_cached_size_);
19910   }
19911 }
19912 
19913 ::std::string VoteKickRequestMessage::GetTypeName() const {
19914   return "VoteKickRequestMessage";
19915 }
19916 
19917 
19918 // ===================================================================
19919 
19920 bool VoteKickReplyMessage_VoteKickReplyType_IsValid(int value) {
19921   switch(value) {
19922     case 0:
19923     case 1:
19924     case 2:
19925       return true;
19926     default:
19927       return false;
19928   }
19929 }
19930 
19931 #ifndef _MSC_VER
19932 const VoteKickReplyMessage_VoteKickReplyType VoteKickReplyMessage::voteKickAck;
19933 const VoteKickReplyMessage_VoteKickReplyType VoteKickReplyMessage::voteKickDeniedInvalid;
19934 const VoteKickReplyMessage_VoteKickReplyType VoteKickReplyMessage::voteKickDeniedAlreadyVoted;
19935 const VoteKickReplyMessage_VoteKickReplyType VoteKickReplyMessage::VoteKickReplyType_MIN;
19936 const VoteKickReplyMessage_VoteKickReplyType VoteKickReplyMessage::VoteKickReplyType_MAX;
19937 const int VoteKickReplyMessage::VoteKickReplyType_ARRAYSIZE;
19938 #endif  // _MSC_VER
19939 #ifndef _MSC_VER
19940 const int VoteKickReplyMessage::kGameIdFieldNumber;
19941 const int VoteKickReplyMessage::kPetitionIdFieldNumber;
19942 const int VoteKickReplyMessage::kVoteKickReplyTypeFieldNumber;
19943 #endif  // !_MSC_VER
19944 
19945 VoteKickReplyMessage::VoteKickReplyMessage()
19946   : ::google::protobuf::MessageLite() {
19947   SharedCtor();
19948   // @@protoc_insertion_point(constructor:VoteKickReplyMessage)
19949 }
19950 
19951 void VoteKickReplyMessage::InitAsDefaultInstance() {
19952 }
19953 
19954 VoteKickReplyMessage::VoteKickReplyMessage(const VoteKickReplyMessage& from)
19955   : ::google::protobuf::MessageLite() {
19956   SharedCtor();
19957   MergeFrom(from);
19958   // @@protoc_insertion_point(copy_constructor:VoteKickReplyMessage)
19959 }
19960 
19961 void VoteKickReplyMessage::SharedCtor() {
19962   _cached_size_ = 0;
19963   gameid_ = 0u;
19964   petitionid_ = 0u;
19965   votekickreplytype_ = 0;
19966   ::memset(_has_bits_, 0, sizeof(_has_bits_));
19967 }
19968 
19969 VoteKickReplyMessage::~VoteKickReplyMessage() {
19970   // @@protoc_insertion_point(destructor:VoteKickReplyMessage)
19971   SharedDtor();
19972 }
19973 
19974 void VoteKickReplyMessage::SharedDtor() {
19975   #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
19976   if (this != &default_instance()) {
19977   #else
19978   if (this != default_instance_) {
19979   #endif
19980   }
19981 }
19982 
19983 void VoteKickReplyMessage::SetCachedSize(int size) const {
19984   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
19985   _cached_size_ = size;
19986   GOOGLE_SAFE_CONCURRENT_WRITES_END();
19987 }
19988 const VoteKickReplyMessage& VoteKickReplyMessage::default_instance() {
19989 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
19990   protobuf_AddDesc_pokerth_2eproto();
19991 #else
19992   if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto();
19993 #endif
19994   return *default_instance_;
19995 }
19996 
19997 VoteKickReplyMessage* VoteKickReplyMessage::default_instance_ = NULL;
19998 
19999 VoteKickReplyMessage* VoteKickReplyMessage::New() const {
20000   return new VoteKickReplyMessage;
20001 }
20002 
20003 void VoteKickReplyMessage::Clear() {
20004 #define OFFSET_OF_FIELD_(f) (reinterpret_cast<char*>(      \
20005   &reinterpret_cast<VoteKickReplyMessage*>(16)->f) - \
20006    reinterpret_cast<char*>(16))
20007 
20008 #define ZR_(first, last) do {                              \
20009     size_t f = OFFSET_OF_FIELD_(first);                    \
20010     size_t n = OFFSET_OF_FIELD_(last) - f + sizeof(last);  \
20011     ::memset(&first, 0, n);                                \
20012   } while (0)
20013 
20014   ZR_(gameid_, votekickreplytype_);
20015 
20016 #undef OFFSET_OF_FIELD_
20017 #undef ZR_
20018 
20019   ::memset(_has_bits_, 0, sizeof(_has_bits_));
20020   mutable_unknown_fields()->clear();
20021 }
20022 
20023 bool VoteKickReplyMessage::MergePartialFromCodedStream(
20024     ::google::protobuf::io::CodedInputStream* input) {
20025 #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
20026   ::google::protobuf::uint32 tag;
20027   ::google::protobuf::io::StringOutputStream unknown_fields_string(
20028       mutable_unknown_fields());
20029   ::google::protobuf::io::CodedOutputStream unknown_fields_stream(
20030       &unknown_fields_string);
20031   // @@protoc_insertion_point(parse_start:VoteKickReplyMessage)
20032   for (;;) {
20033     ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
20034     tag = p.first;
20035     if (!p.second) goto handle_unusual;
20036     switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
20037       // required uint32 gameId = 1;
20038       case 1: {
20039         if (tag == 8) {
20040           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
20041                    ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
20042                  input, &gameid_)));
20043           set_has_gameid();
20044         } else {
20045           goto handle_unusual;
20046         }
20047         if (input->ExpectTag(16)) goto parse_petitionId;
20048         break;
20049       }
20050 
20051       // required uint32 petitionId = 2;
20052       case 2: {
20053         if (tag == 16) {
20054          parse_petitionId:
20055           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
20056                    ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
20057                  input, &petitionid_)));
20058           set_has_petitionid();
20059         } else {
20060           goto handle_unusual;
20061         }
20062         if (input->ExpectTag(24)) goto parse_voteKickReplyType;
20063         break;
20064       }
20065 
20066       // required .VoteKickReplyMessage.VoteKickReplyType voteKickReplyType = 3;
20067       case 3: {
20068         if (tag == 24) {
20069          parse_voteKickReplyType:
20070           int value;
20071           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
20072                    int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
20073                  input, &value)));
20074           if (::VoteKickReplyMessage_VoteKickReplyType_IsValid(value)) {
20075             set_votekickreplytype(static_cast< ::VoteKickReplyMessage_VoteKickReplyType >(value));
20076           } else {
20077             unknown_fields_stream.WriteVarint32(tag);
20078             unknown_fields_stream.WriteVarint32(value);
20079           }
20080         } else {
20081           goto handle_unusual;
20082         }
20083         if (input->ExpectAtEnd()) goto success;
20084         break;
20085       }
20086 
20087       default: {
20088       handle_unusual:
20089         if (tag == 0 ||
20090             ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
20091             ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
20092           goto success;
20093         }
20094         DO_(::google::protobuf::internal::WireFormatLite::SkipField(
20095             input, tag, &unknown_fields_stream));
20096         break;
20097       }
20098     }
20099   }
20100 success:
20101   // @@protoc_insertion_point(parse_success:VoteKickReplyMessage)
20102   return true;
20103 failure:
20104   // @@protoc_insertion_point(parse_failure:VoteKickReplyMessage)
20105   return false;
20106 #undef DO_
20107 }
20108 
20109 void VoteKickReplyMessage::SerializeWithCachedSizes(
20110     ::google::protobuf::io::CodedOutputStream* output) const {
20111   // @@protoc_insertion_point(serialize_start:VoteKickReplyMessage)
20112   // required uint32 gameId = 1;
20113   if (has_gameid()) {
20114     ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->gameid(), output);
20115   }
20116 
20117   // required uint32 petitionId = 2;
20118   if (has_petitionid()) {
20119     ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->petitionid(), output);
20120   }
20121 
20122   // required .VoteKickReplyMessage.VoteKickReplyType voteKickReplyType = 3;
20123   if (has_votekickreplytype()) {
20124     ::google::protobuf::internal::WireFormatLite::WriteEnum(
20125       3, this->votekickreplytype(), output);
20126   }
20127 
20128   output->WriteRaw(unknown_fields().data(),
20129                    unknown_fields().size());
20130   // @@protoc_insertion_point(serialize_end:VoteKickReplyMessage)
20131 }
20132 
20133 int VoteKickReplyMessage::ByteSize() const {
20134   int total_size = 0;
20135 
20136   if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
20137     // required uint32 gameId = 1;
20138     if (has_gameid()) {
20139       total_size += 1 +
20140         ::google::protobuf::internal::WireFormatLite::UInt32Size(
20141           this->gameid());
20142     }
20143 
20144     // required uint32 petitionId = 2;
20145     if (has_petitionid()) {
20146       total_size += 1 +
20147         ::google::protobuf::internal::WireFormatLite::UInt32Size(
20148           this->petitionid());
20149     }
20150 
20151     // required .VoteKickReplyMessage.VoteKickReplyType voteKickReplyType = 3;
20152     if (has_votekickreplytype()) {
20153       total_size += 1 +
20154         ::google::protobuf::internal::WireFormatLite::EnumSize(this->votekickreplytype());
20155     }
20156 
20157   }
20158   total_size += unknown_fields().size();
20159 
20160   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
20161   _cached_size_ = total_size;
20162   GOOGLE_SAFE_CONCURRENT_WRITES_END();
20163   return total_size;
20164 }
20165 
20166 void VoteKickReplyMessage::CheckTypeAndMergeFrom(
20167     const ::google::protobuf::MessageLite& from) {
20168   MergeFrom(*::google::protobuf::down_cast<const VoteKickReplyMessage*>(&from));
20169 }
20170 
20171 void VoteKickReplyMessage::MergeFrom(const VoteKickReplyMessage& from) {
20172   GOOGLE_CHECK_NE(&from, this);
20173   if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
20174     if (from.has_gameid()) {
20175       set_gameid(from.gameid());
20176     }
20177     if (from.has_petitionid()) {
20178       set_petitionid(from.petitionid());
20179     }
20180     if (from.has_votekickreplytype()) {
20181       set_votekickreplytype(from.votekickreplytype());
20182     }
20183   }
20184   mutable_unknown_fields()->append(from.unknown_fields());
20185 }
20186 
20187 void VoteKickReplyMessage::CopyFrom(const VoteKickReplyMessage& from) {
20188   if (&from == this) return;
20189   Clear();
20190   MergeFrom(from);
20191 }
20192 
20193 bool VoteKickReplyMessage::IsInitialized() const {
20194   if ((_has_bits_[0] & 0x00000007) != 0x00000007) return false;
20195 
20196   return true;
20197 }
20198 
20199 void VoteKickReplyMessage::Swap(VoteKickReplyMessage* other) {
20200   if (other != this) {
20201     std::swap(gameid_, other->gameid_);
20202     std::swap(petitionid_, other->petitionid_);
20203     std::swap(votekickreplytype_, other->votekickreplytype_);
20204     std::swap(_has_bits_[0], other->_has_bits_[0]);
20205     _unknown_fields_.swap(other->_unknown_fields_);
20206     std::swap(_cached_size_, other->_cached_size_);
20207   }
20208 }
20209 
20210 ::std::string VoteKickReplyMessage::GetTypeName() const {
20211   return "VoteKickReplyMessage";
20212 }
20213 
20214 
20215 // ===================================================================
20216 
20217 #ifndef _MSC_VER
20218 const int KickPetitionUpdateMessage::kGameIdFieldNumber;
20219 const int KickPetitionUpdateMessage::kPetitionIdFieldNumber;
20220 const int KickPetitionUpdateMessage::kNumVotesAgainstKickingFieldNumber;
20221 const int KickPetitionUpdateMessage::kNumVotesInFavourOfKickingFieldNumber;
20222 const int KickPetitionUpdateMessage::kNumVotesNeededToKickFieldNumber;
20223 #endif  // !_MSC_VER
20224 
20225 KickPetitionUpdateMessage::KickPetitionUpdateMessage()
20226   : ::google::protobuf::MessageLite() {
20227   SharedCtor();
20228   // @@protoc_insertion_point(constructor:KickPetitionUpdateMessage)
20229 }
20230 
20231 void KickPetitionUpdateMessage::InitAsDefaultInstance() {
20232 }
20233 
20234 KickPetitionUpdateMessage::KickPetitionUpdateMessage(const KickPetitionUpdateMessage& from)
20235   : ::google::protobuf::MessageLite() {
20236   SharedCtor();
20237   MergeFrom(from);
20238   // @@protoc_insertion_point(copy_constructor:KickPetitionUpdateMessage)
20239 }
20240 
20241 void KickPetitionUpdateMessage::SharedCtor() {
20242   _cached_size_ = 0;
20243   gameid_ = 0u;
20244   petitionid_ = 0u;
20245   numvotesagainstkicking_ = 0u;
20246   numvotesinfavourofkicking_ = 0u;
20247   numvotesneededtokick_ = 0u;
20248   ::memset(_has_bits_, 0, sizeof(_has_bits_));
20249 }
20250 
20251 KickPetitionUpdateMessage::~KickPetitionUpdateMessage() {
20252   // @@protoc_insertion_point(destructor:KickPetitionUpdateMessage)
20253   SharedDtor();
20254 }
20255 
20256 void KickPetitionUpdateMessage::SharedDtor() {
20257   #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
20258   if (this != &default_instance()) {
20259   #else
20260   if (this != default_instance_) {
20261   #endif
20262   }
20263 }
20264 
20265 void KickPetitionUpdateMessage::SetCachedSize(int size) const {
20266   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
20267   _cached_size_ = size;
20268   GOOGLE_SAFE_CONCURRENT_WRITES_END();
20269 }
20270 const KickPetitionUpdateMessage& KickPetitionUpdateMessage::default_instance() {
20271 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
20272   protobuf_AddDesc_pokerth_2eproto();
20273 #else
20274   if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto();
20275 #endif
20276   return *default_instance_;
20277 }
20278 
20279 KickPetitionUpdateMessage* KickPetitionUpdateMessage::default_instance_ = NULL;
20280 
20281 KickPetitionUpdateMessage* KickPetitionUpdateMessage::New() const {
20282   return new KickPetitionUpdateMessage;
20283 }
20284 
20285 void KickPetitionUpdateMessage::Clear() {
20286 #define OFFSET_OF_FIELD_(f) (reinterpret_cast<char*>(      \
20287   &reinterpret_cast<KickPetitionUpdateMessage*>(16)->f) - \
20288    reinterpret_cast<char*>(16))
20289 
20290 #define ZR_(first, last) do {                              \
20291     size_t f = OFFSET_OF_FIELD_(first);                    \
20292     size_t n = OFFSET_OF_FIELD_(last) - f + sizeof(last);  \
20293     ::memset(&first, 0, n);                                \
20294   } while (0)
20295 
20296   if (_has_bits_[0 / 32] & 31) {
20297     ZR_(gameid_, numvotesneededtokick_);
20298   }
20299 
20300 #undef OFFSET_OF_FIELD_
20301 #undef ZR_
20302 
20303   ::memset(_has_bits_, 0, sizeof(_has_bits_));
20304   mutable_unknown_fields()->clear();
20305 }
20306 
20307 bool KickPetitionUpdateMessage::MergePartialFromCodedStream(
20308     ::google::protobuf::io::CodedInputStream* input) {
20309 #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
20310   ::google::protobuf::uint32 tag;
20311   ::google::protobuf::io::StringOutputStream unknown_fields_string(
20312       mutable_unknown_fields());
20313   ::google::protobuf::io::CodedOutputStream unknown_fields_stream(
20314       &unknown_fields_string);
20315   // @@protoc_insertion_point(parse_start:KickPetitionUpdateMessage)
20316   for (;;) {
20317     ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
20318     tag = p.first;
20319     if (!p.second) goto handle_unusual;
20320     switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
20321       // required uint32 gameId = 1;
20322       case 1: {
20323         if (tag == 8) {
20324           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
20325                    ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
20326                  input, &gameid_)));
20327           set_has_gameid();
20328         } else {
20329           goto handle_unusual;
20330         }
20331         if (input->ExpectTag(16)) goto parse_petitionId;
20332         break;
20333       }
20334 
20335       // required uint32 petitionId = 2;
20336       case 2: {
20337         if (tag == 16) {
20338          parse_petitionId:
20339           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
20340                    ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
20341                  input, &petitionid_)));
20342           set_has_petitionid();
20343         } else {
20344           goto handle_unusual;
20345         }
20346         if (input->ExpectTag(24)) goto parse_numVotesAgainstKicking;
20347         break;
20348       }
20349 
20350       // required uint32 numVotesAgainstKicking = 3;
20351       case 3: {
20352         if (tag == 24) {
20353          parse_numVotesAgainstKicking:
20354           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
20355                    ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
20356                  input, &numvotesagainstkicking_)));
20357           set_has_numvotesagainstkicking();
20358         } else {
20359           goto handle_unusual;
20360         }
20361         if (input->ExpectTag(32)) goto parse_numVotesInFavourOfKicking;
20362         break;
20363       }
20364 
20365       // required uint32 numVotesInFavourOfKicking = 4;
20366       case 4: {
20367         if (tag == 32) {
20368          parse_numVotesInFavourOfKicking:
20369           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
20370                    ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
20371                  input, &numvotesinfavourofkicking_)));
20372           set_has_numvotesinfavourofkicking();
20373         } else {
20374           goto handle_unusual;
20375         }
20376         if (input->ExpectTag(40)) goto parse_numVotesNeededToKick;
20377         break;
20378       }
20379 
20380       // required uint32 numVotesNeededToKick = 5;
20381       case 5: {
20382         if (tag == 40) {
20383          parse_numVotesNeededToKick:
20384           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
20385                    ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
20386                  input, &numvotesneededtokick_)));
20387           set_has_numvotesneededtokick();
20388         } else {
20389           goto handle_unusual;
20390         }
20391         if (input->ExpectAtEnd()) goto success;
20392         break;
20393       }
20394 
20395       default: {
20396       handle_unusual:
20397         if (tag == 0 ||
20398             ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
20399             ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
20400           goto success;
20401         }
20402         DO_(::google::protobuf::internal::WireFormatLite::SkipField(
20403             input, tag, &unknown_fields_stream));
20404         break;
20405       }
20406     }
20407   }
20408 success:
20409   // @@protoc_insertion_point(parse_success:KickPetitionUpdateMessage)
20410   return true;
20411 failure:
20412   // @@protoc_insertion_point(parse_failure:KickPetitionUpdateMessage)
20413   return false;
20414 #undef DO_
20415 }
20416 
20417 void KickPetitionUpdateMessage::SerializeWithCachedSizes(
20418     ::google::protobuf::io::CodedOutputStream* output) const {
20419   // @@protoc_insertion_point(serialize_start:KickPetitionUpdateMessage)
20420   // required uint32 gameId = 1;
20421   if (has_gameid()) {
20422     ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->gameid(), output);
20423   }
20424 
20425   // required uint32 petitionId = 2;
20426   if (has_petitionid()) {
20427     ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->petitionid(), output);
20428   }
20429 
20430   // required uint32 numVotesAgainstKicking = 3;
20431   if (has_numvotesagainstkicking()) {
20432     ::google::protobuf::internal::WireFormatLite::WriteUInt32(3, this->numvotesagainstkicking(), output);
20433   }
20434 
20435   // required uint32 numVotesInFavourOfKicking = 4;
20436   if (has_numvotesinfavourofkicking()) {
20437     ::google::protobuf::internal::WireFormatLite::WriteUInt32(4, this->numvotesinfavourofkicking(), output);
20438   }
20439 
20440   // required uint32 numVotesNeededToKick = 5;
20441   if (has_numvotesneededtokick()) {
20442     ::google::protobuf::internal::WireFormatLite::WriteUInt32(5, this->numvotesneededtokick(), output);
20443   }
20444 
20445   output->WriteRaw(unknown_fields().data(),
20446                    unknown_fields().size());
20447   // @@protoc_insertion_point(serialize_end:KickPetitionUpdateMessage)
20448 }
20449 
20450 int KickPetitionUpdateMessage::ByteSize() const {
20451   int total_size = 0;
20452 
20453   if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
20454     // required uint32 gameId = 1;
20455     if (has_gameid()) {
20456       total_size += 1 +
20457         ::google::protobuf::internal::WireFormatLite::UInt32Size(
20458           this->gameid());
20459     }
20460 
20461     // required uint32 petitionId = 2;
20462     if (has_petitionid()) {
20463       total_size += 1 +
20464         ::google::protobuf::internal::WireFormatLite::UInt32Size(
20465           this->petitionid());
20466     }
20467 
20468     // required uint32 numVotesAgainstKicking = 3;
20469     if (has_numvotesagainstkicking()) {
20470       total_size += 1 +
20471         ::google::protobuf::internal::WireFormatLite::UInt32Size(
20472           this->numvotesagainstkicking());
20473     }
20474 
20475     // required uint32 numVotesInFavourOfKicking = 4;
20476     if (has_numvotesinfavourofkicking()) {
20477       total_size += 1 +
20478         ::google::protobuf::internal::WireFormatLite::UInt32Size(
20479           this->numvotesinfavourofkicking());
20480     }
20481 
20482     // required uint32 numVotesNeededToKick = 5;
20483     if (has_numvotesneededtokick()) {
20484       total_size += 1 +
20485         ::google::protobuf::internal::WireFormatLite::UInt32Size(
20486           this->numvotesneededtokick());
20487     }
20488 
20489   }
20490   total_size += unknown_fields().size();
20491 
20492   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
20493   _cached_size_ = total_size;
20494   GOOGLE_SAFE_CONCURRENT_WRITES_END();
20495   return total_size;
20496 }
20497 
20498 void KickPetitionUpdateMessage::CheckTypeAndMergeFrom(
20499     const ::google::protobuf::MessageLite& from) {
20500   MergeFrom(*::google::protobuf::down_cast<const KickPetitionUpdateMessage*>(&from));
20501 }
20502 
20503 void KickPetitionUpdateMessage::MergeFrom(const KickPetitionUpdateMessage& from) {
20504   GOOGLE_CHECK_NE(&from, this);
20505   if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
20506     if (from.has_gameid()) {
20507       set_gameid(from.gameid());
20508     }
20509     if (from.has_petitionid()) {
20510       set_petitionid(from.petitionid());
20511     }
20512     if (from.has_numvotesagainstkicking()) {
20513       set_numvotesagainstkicking(from.numvotesagainstkicking());
20514     }
20515     if (from.has_numvotesinfavourofkicking()) {
20516       set_numvotesinfavourofkicking(from.numvotesinfavourofkicking());
20517     }
20518     if (from.has_numvotesneededtokick()) {
20519       set_numvotesneededtokick(from.numvotesneededtokick());
20520     }
20521   }
20522   mutable_unknown_fields()->append(from.unknown_fields());
20523 }
20524 
20525 void KickPetitionUpdateMessage::CopyFrom(const KickPetitionUpdateMessage& from) {
20526   if (&from == this) return;
20527   Clear();
20528   MergeFrom(from);
20529 }
20530 
20531 bool KickPetitionUpdateMessage::IsInitialized() const {
20532   if ((_has_bits_[0] & 0x0000001f) != 0x0000001f) return false;
20533 
20534   return true;
20535 }
20536 
20537 void KickPetitionUpdateMessage::Swap(KickPetitionUpdateMessage* other) {
20538   if (other != this) {
20539     std::swap(gameid_, other->gameid_);
20540     std::swap(petitionid_, other->petitionid_);
20541     std::swap(numvotesagainstkicking_, other->numvotesagainstkicking_);
20542     std::swap(numvotesinfavourofkicking_, other->numvotesinfavourofkicking_);
20543     std::swap(numvotesneededtokick_, other->numvotesneededtokick_);
20544     std::swap(_has_bits_[0], other->_has_bits_[0]);
20545     _unknown_fields_.swap(other->_unknown_fields_);
20546     std::swap(_cached_size_, other->_cached_size_);
20547   }
20548 }
20549 
20550 ::std::string KickPetitionUpdateMessage::GetTypeName() const {
20551   return "KickPetitionUpdateMessage";
20552 }
20553 
20554 
20555 // ===================================================================
20556 
20557 bool EndKickPetitionMessage_PetitionEndReason_IsValid(int value) {
20558   switch(value) {
20559     case 0:
20560     case 1:
20561     case 2:
20562     case 3:
20563       return true;
20564     default:
20565       return false;
20566   }
20567 }
20568 
20569 #ifndef _MSC_VER
20570 const EndKickPetitionMessage_PetitionEndReason EndKickPetitionMessage::petitionEndEnoughVotes;
20571 const EndKickPetitionMessage_PetitionEndReason EndKickPetitionMessage::petitionEndTooFewPlayers;
20572 const EndKickPetitionMessage_PetitionEndReason EndKickPetitionMessage::petitionEndPlayerLeft;
20573 const EndKickPetitionMessage_PetitionEndReason EndKickPetitionMessage::petitionEndTimeout;
20574 const EndKickPetitionMessage_PetitionEndReason EndKickPetitionMessage::PetitionEndReason_MIN;
20575 const EndKickPetitionMessage_PetitionEndReason EndKickPetitionMessage::PetitionEndReason_MAX;
20576 const int EndKickPetitionMessage::PetitionEndReason_ARRAYSIZE;
20577 #endif  // _MSC_VER
20578 #ifndef _MSC_VER
20579 const int EndKickPetitionMessage::kGameIdFieldNumber;
20580 const int EndKickPetitionMessage::kPetitionIdFieldNumber;
20581 const int EndKickPetitionMessage::kNumVotesAgainstKickingFieldNumber;
20582 const int EndKickPetitionMessage::kNumVotesInFavourOfKickingFieldNumber;
20583 const int EndKickPetitionMessage::kResultPlayerKickedFieldNumber;
20584 const int EndKickPetitionMessage::kPetitionEndReasonFieldNumber;
20585 #endif  // !_MSC_VER
20586 
20587 EndKickPetitionMessage::EndKickPetitionMessage()
20588   : ::google::protobuf::MessageLite() {
20589   SharedCtor();
20590   // @@protoc_insertion_point(constructor:EndKickPetitionMessage)
20591 }
20592 
20593 void EndKickPetitionMessage::InitAsDefaultInstance() {
20594 }
20595 
20596 EndKickPetitionMessage::EndKickPetitionMessage(const EndKickPetitionMessage& from)
20597   : ::google::protobuf::MessageLite() {
20598   SharedCtor();
20599   MergeFrom(from);
20600   // @@protoc_insertion_point(copy_constructor:EndKickPetitionMessage)
20601 }
20602 
20603 void EndKickPetitionMessage::SharedCtor() {
20604   _cached_size_ = 0;
20605   gameid_ = 0u;
20606   petitionid_ = 0u;
20607   numvotesagainstkicking_ = 0u;
20608   numvotesinfavourofkicking_ = 0u;
20609   resultplayerkicked_ = 0u;
20610   petitionendreason_ = 0;
20611   ::memset(_has_bits_, 0, sizeof(_has_bits_));
20612 }
20613 
20614 EndKickPetitionMessage::~EndKickPetitionMessage() {
20615   // @@protoc_insertion_point(destructor:EndKickPetitionMessage)
20616   SharedDtor();
20617 }
20618 
20619 void EndKickPetitionMessage::SharedDtor() {
20620   #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
20621   if (this != &default_instance()) {
20622   #else
20623   if (this != default_instance_) {
20624   #endif
20625   }
20626 }
20627 
20628 void EndKickPetitionMessage::SetCachedSize(int size) const {
20629   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
20630   _cached_size_ = size;
20631   GOOGLE_SAFE_CONCURRENT_WRITES_END();
20632 }
20633 const EndKickPetitionMessage& EndKickPetitionMessage::default_instance() {
20634 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
20635   protobuf_AddDesc_pokerth_2eproto();
20636 #else
20637   if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto();
20638 #endif
20639   return *default_instance_;
20640 }
20641 
20642 EndKickPetitionMessage* EndKickPetitionMessage::default_instance_ = NULL;
20643 
20644 EndKickPetitionMessage* EndKickPetitionMessage::New() const {
20645   return new EndKickPetitionMessage;
20646 }
20647 
20648 void EndKickPetitionMessage::Clear() {
20649 #define OFFSET_OF_FIELD_(f) (reinterpret_cast<char*>(      \
20650   &reinterpret_cast<EndKickPetitionMessage*>(16)->f) - \
20651    reinterpret_cast<char*>(16))
20652 
20653 #define ZR_(first, last) do {                              \
20654     size_t f = OFFSET_OF_FIELD_(first);                    \
20655     size_t n = OFFSET_OF_FIELD_(last) - f + sizeof(last);  \
20656     ::memset(&first, 0, n);                                \
20657   } while (0)
20658 
20659   if (_has_bits_[0 / 32] & 63) {
20660     ZR_(gameid_, petitionendreason_);
20661   }
20662 
20663 #undef OFFSET_OF_FIELD_
20664 #undef ZR_
20665 
20666   ::memset(_has_bits_, 0, sizeof(_has_bits_));
20667   mutable_unknown_fields()->clear();
20668 }
20669 
20670 bool EndKickPetitionMessage::MergePartialFromCodedStream(
20671     ::google::protobuf::io::CodedInputStream* input) {
20672 #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
20673   ::google::protobuf::uint32 tag;
20674   ::google::protobuf::io::StringOutputStream unknown_fields_string(
20675       mutable_unknown_fields());
20676   ::google::protobuf::io::CodedOutputStream unknown_fields_stream(
20677       &unknown_fields_string);
20678   // @@protoc_insertion_point(parse_start:EndKickPetitionMessage)
20679   for (;;) {
20680     ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
20681     tag = p.first;
20682     if (!p.second) goto handle_unusual;
20683     switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
20684       // required uint32 gameId = 1;
20685       case 1: {
20686         if (tag == 8) {
20687           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
20688                    ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
20689                  input, &gameid_)));
20690           set_has_gameid();
20691         } else {
20692           goto handle_unusual;
20693         }
20694         if (input->ExpectTag(16)) goto parse_petitionId;
20695         break;
20696       }
20697 
20698       // required uint32 petitionId = 2;
20699       case 2: {
20700         if (tag == 16) {
20701          parse_petitionId:
20702           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
20703                    ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
20704                  input, &petitionid_)));
20705           set_has_petitionid();
20706         } else {
20707           goto handle_unusual;
20708         }
20709         if (input->ExpectTag(24)) goto parse_numVotesAgainstKicking;
20710         break;
20711       }
20712 
20713       // required uint32 numVotesAgainstKicking = 3;
20714       case 3: {
20715         if (tag == 24) {
20716          parse_numVotesAgainstKicking:
20717           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
20718                    ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
20719                  input, &numvotesagainstkicking_)));
20720           set_has_numvotesagainstkicking();
20721         } else {
20722           goto handle_unusual;
20723         }
20724         if (input->ExpectTag(32)) goto parse_numVotesInFavourOfKicking;
20725         break;
20726       }
20727 
20728       // required uint32 numVotesInFavourOfKicking = 4;
20729       case 4: {
20730         if (tag == 32) {
20731          parse_numVotesInFavourOfKicking:
20732           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
20733                    ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
20734                  input, &numvotesinfavourofkicking_)));
20735           set_has_numvotesinfavourofkicking();
20736         } else {
20737           goto handle_unusual;
20738         }
20739         if (input->ExpectTag(40)) goto parse_resultPlayerKicked;
20740         break;
20741       }
20742 
20743       // required uint32 resultPlayerKicked = 5;
20744       case 5: {
20745         if (tag == 40) {
20746          parse_resultPlayerKicked:
20747           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
20748                    ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
20749                  input, &resultplayerkicked_)));
20750           set_has_resultplayerkicked();
20751         } else {
20752           goto handle_unusual;
20753         }
20754         if (input->ExpectTag(48)) goto parse_petitionEndReason;
20755         break;
20756       }
20757 
20758       // required .EndKickPetitionMessage.PetitionEndReason petitionEndReason = 6;
20759       case 6: {
20760         if (tag == 48) {
20761          parse_petitionEndReason:
20762           int value;
20763           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
20764                    int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
20765                  input, &value)));
20766           if (::EndKickPetitionMessage_PetitionEndReason_IsValid(value)) {
20767             set_petitionendreason(static_cast< ::EndKickPetitionMessage_PetitionEndReason >(value));
20768           } else {
20769             unknown_fields_stream.WriteVarint32(tag);
20770             unknown_fields_stream.WriteVarint32(value);
20771           }
20772         } else {
20773           goto handle_unusual;
20774         }
20775         if (input->ExpectAtEnd()) goto success;
20776         break;
20777       }
20778 
20779       default: {
20780       handle_unusual:
20781         if (tag == 0 ||
20782             ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
20783             ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
20784           goto success;
20785         }
20786         DO_(::google::protobuf::internal::WireFormatLite::SkipField(
20787             input, tag, &unknown_fields_stream));
20788         break;
20789       }
20790     }
20791   }
20792 success:
20793   // @@protoc_insertion_point(parse_success:EndKickPetitionMessage)
20794   return true;
20795 failure:
20796   // @@protoc_insertion_point(parse_failure:EndKickPetitionMessage)
20797   return false;
20798 #undef DO_
20799 }
20800 
20801 void EndKickPetitionMessage::SerializeWithCachedSizes(
20802     ::google::protobuf::io::CodedOutputStream* output) const {
20803   // @@protoc_insertion_point(serialize_start:EndKickPetitionMessage)
20804   // required uint32 gameId = 1;
20805   if (has_gameid()) {
20806     ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->gameid(), output);
20807   }
20808 
20809   // required uint32 petitionId = 2;
20810   if (has_petitionid()) {
20811     ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->petitionid(), output);
20812   }
20813 
20814   // required uint32 numVotesAgainstKicking = 3;
20815   if (has_numvotesagainstkicking()) {
20816     ::google::protobuf::internal::WireFormatLite::WriteUInt32(3, this->numvotesagainstkicking(), output);
20817   }
20818 
20819   // required uint32 numVotesInFavourOfKicking = 4;
20820   if (has_numvotesinfavourofkicking()) {
20821     ::google::protobuf::internal::WireFormatLite::WriteUInt32(4, this->numvotesinfavourofkicking(), output);
20822   }
20823 
20824   // required uint32 resultPlayerKicked = 5;
20825   if (has_resultplayerkicked()) {
20826     ::google::protobuf::internal::WireFormatLite::WriteUInt32(5, this->resultplayerkicked(), output);
20827   }
20828 
20829   // required .EndKickPetitionMessage.PetitionEndReason petitionEndReason = 6;
20830   if (has_petitionendreason()) {
20831     ::google::protobuf::internal::WireFormatLite::WriteEnum(
20832       6, this->petitionendreason(), output);
20833   }
20834 
20835   output->WriteRaw(unknown_fields().data(),
20836                    unknown_fields().size());
20837   // @@protoc_insertion_point(serialize_end:EndKickPetitionMessage)
20838 }
20839 
20840 int EndKickPetitionMessage::ByteSize() const {
20841   int total_size = 0;
20842 
20843   if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
20844     // required uint32 gameId = 1;
20845     if (has_gameid()) {
20846       total_size += 1 +
20847         ::google::protobuf::internal::WireFormatLite::UInt32Size(
20848           this->gameid());
20849     }
20850 
20851     // required uint32 petitionId = 2;
20852     if (has_petitionid()) {
20853       total_size += 1 +
20854         ::google::protobuf::internal::WireFormatLite::UInt32Size(
20855           this->petitionid());
20856     }
20857 
20858     // required uint32 numVotesAgainstKicking = 3;
20859     if (has_numvotesagainstkicking()) {
20860       total_size += 1 +
20861         ::google::protobuf::internal::WireFormatLite::UInt32Size(
20862           this->numvotesagainstkicking());
20863     }
20864 
20865     // required uint32 numVotesInFavourOfKicking = 4;
20866     if (has_numvotesinfavourofkicking()) {
20867       total_size += 1 +
20868         ::google::protobuf::internal::WireFormatLite::UInt32Size(
20869           this->numvotesinfavourofkicking());
20870     }
20871 
20872     // required uint32 resultPlayerKicked = 5;
20873     if (has_resultplayerkicked()) {
20874       total_size += 1 +
20875         ::google::protobuf::internal::WireFormatLite::UInt32Size(
20876           this->resultplayerkicked());
20877     }
20878 
20879     // required .EndKickPetitionMessage.PetitionEndReason petitionEndReason = 6;
20880     if (has_petitionendreason()) {
20881       total_size += 1 +
20882         ::google::protobuf::internal::WireFormatLite::EnumSize(this->petitionendreason());
20883     }
20884 
20885   }
20886   total_size += unknown_fields().size();
20887 
20888   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
20889   _cached_size_ = total_size;
20890   GOOGLE_SAFE_CONCURRENT_WRITES_END();
20891   return total_size;
20892 }
20893 
20894 void EndKickPetitionMessage::CheckTypeAndMergeFrom(
20895     const ::google::protobuf::MessageLite& from) {
20896   MergeFrom(*::google::protobuf::down_cast<const EndKickPetitionMessage*>(&from));
20897 }
20898 
20899 void EndKickPetitionMessage::MergeFrom(const EndKickPetitionMessage& from) {
20900   GOOGLE_CHECK_NE(&from, this);
20901   if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
20902     if (from.has_gameid()) {
20903       set_gameid(from.gameid());
20904     }
20905     if (from.has_petitionid()) {
20906       set_petitionid(from.petitionid());
20907     }
20908     if (from.has_numvotesagainstkicking()) {
20909       set_numvotesagainstkicking(from.numvotesagainstkicking());
20910     }
20911     if (from.has_numvotesinfavourofkicking()) {
20912       set_numvotesinfavourofkicking(from.numvotesinfavourofkicking());
20913     }
20914     if (from.has_resultplayerkicked()) {
20915       set_resultplayerkicked(from.resultplayerkicked());
20916     }
20917     if (from.has_petitionendreason()) {
20918       set_petitionendreason(from.petitionendreason());
20919     }
20920   }
20921   mutable_unknown_fields()->append(from.unknown_fields());
20922 }
20923 
20924 void EndKickPetitionMessage::CopyFrom(const EndKickPetitionMessage& from) {
20925   if (&from == this) return;
20926   Clear();
20927   MergeFrom(from);
20928 }
20929 
20930 bool EndKickPetitionMessage::IsInitialized() const {
20931   if ((_has_bits_[0] & 0x0000003f) != 0x0000003f) return false;
20932 
20933   return true;
20934 }
20935 
20936 void EndKickPetitionMessage::Swap(EndKickPetitionMessage* other) {
20937   if (other != this) {
20938     std::swap(gameid_, other->gameid_);
20939     std::swap(petitionid_, other->petitionid_);
20940     std::swap(numvotesagainstkicking_, other->numvotesagainstkicking_);
20941     std::swap(numvotesinfavourofkicking_, other->numvotesinfavourofkicking_);
20942     std::swap(resultplayerkicked_, other->resultplayerkicked_);
20943     std::swap(petitionendreason_, other->petitionendreason_);
20944     std::swap(_has_bits_[0], other->_has_bits_[0]);
20945     _unknown_fields_.swap(other->_unknown_fields_);
20946     std::swap(_cached_size_, other->_cached_size_);
20947   }
20948 }
20949 
20950 ::std::string EndKickPetitionMessage::GetTypeName() const {
20951   return "EndKickPetitionMessage";
20952 }
20953 
20954 
20955 // ===================================================================
20956 
20957 bool StatisticsMessage_StatisticsData_StatisticsType_IsValid(int value) {
20958   switch(value) {
20959     case 1:
20960       return true;
20961     default:
20962       return false;
20963   }
20964 }
20965 
20966 #ifndef _MSC_VER
20967 const StatisticsMessage_StatisticsData_StatisticsType StatisticsMessage_StatisticsData::statNumberOfPlayers;
20968 const StatisticsMessage_StatisticsData_StatisticsType StatisticsMessage_StatisticsData::StatisticsType_MIN;
20969 const StatisticsMessage_StatisticsData_StatisticsType StatisticsMessage_StatisticsData::StatisticsType_MAX;
20970 const int StatisticsMessage_StatisticsData::StatisticsType_ARRAYSIZE;
20971 #endif  // _MSC_VER
20972 #ifndef _MSC_VER
20973 const int StatisticsMessage_StatisticsData::kStatisticsTypeFieldNumber;
20974 const int StatisticsMessage_StatisticsData::kStatisticsValueFieldNumber;
20975 #endif  // !_MSC_VER
20976 
20977 StatisticsMessage_StatisticsData::StatisticsMessage_StatisticsData()
20978   : ::google::protobuf::MessageLite() {
20979   SharedCtor();
20980   // @@protoc_insertion_point(constructor:StatisticsMessage.StatisticsData)
20981 }
20982 
20983 void StatisticsMessage_StatisticsData::InitAsDefaultInstance() {
20984 }
20985 
20986 StatisticsMessage_StatisticsData::StatisticsMessage_StatisticsData(const StatisticsMessage_StatisticsData& from)
20987   : ::google::protobuf::MessageLite() {
20988   SharedCtor();
20989   MergeFrom(from);
20990   // @@protoc_insertion_point(copy_constructor:StatisticsMessage.StatisticsData)
20991 }
20992 
20993 void StatisticsMessage_StatisticsData::SharedCtor() {
20994   _cached_size_ = 0;
20995   statisticstype_ = 1;
20996   statisticsvalue_ = 0u;
20997   ::memset(_has_bits_, 0, sizeof(_has_bits_));
20998 }
20999 
21000 StatisticsMessage_StatisticsData::~StatisticsMessage_StatisticsData() {
21001   // @@protoc_insertion_point(destructor:StatisticsMessage.StatisticsData)
21002   SharedDtor();
21003 }
21004 
21005 void StatisticsMessage_StatisticsData::SharedDtor() {
21006   #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
21007   if (this != &default_instance()) {
21008   #else
21009   if (this != default_instance_) {
21010   #endif
21011   }
21012 }
21013 
21014 void StatisticsMessage_StatisticsData::SetCachedSize(int size) const {
21015   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
21016   _cached_size_ = size;
21017   GOOGLE_SAFE_CONCURRENT_WRITES_END();
21018 }
21019 const StatisticsMessage_StatisticsData& StatisticsMessage_StatisticsData::default_instance() {
21020 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
21021   protobuf_AddDesc_pokerth_2eproto();
21022 #else
21023   if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto();
21024 #endif
21025   return *default_instance_;
21026 }
21027 
21028 StatisticsMessage_StatisticsData* StatisticsMessage_StatisticsData::default_instance_ = NULL;
21029 
21030 StatisticsMessage_StatisticsData* StatisticsMessage_StatisticsData::New() const {
21031   return new StatisticsMessage_StatisticsData;
21032 }
21033 
21034 void StatisticsMessage_StatisticsData::Clear() {
21035   if (_has_bits_[0 / 32] & 3) {
21036     statisticstype_ = 1;
21037     statisticsvalue_ = 0u;
21038   }
21039   ::memset(_has_bits_, 0, sizeof(_has_bits_));
21040   mutable_unknown_fields()->clear();
21041 }
21042 
21043 bool StatisticsMessage_StatisticsData::MergePartialFromCodedStream(
21044     ::google::protobuf::io::CodedInputStream* input) {
21045 #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
21046   ::google::protobuf::uint32 tag;
21047   ::google::protobuf::io::StringOutputStream unknown_fields_string(
21048       mutable_unknown_fields());
21049   ::google::protobuf::io::CodedOutputStream unknown_fields_stream(
21050       &unknown_fields_string);
21051   // @@protoc_insertion_point(parse_start:StatisticsMessage.StatisticsData)
21052   for (;;) {
21053     ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
21054     tag = p.first;
21055     if (!p.second) goto handle_unusual;
21056     switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
21057       // required .StatisticsMessage.StatisticsData.StatisticsType statisticsType = 1;
21058       case 1: {
21059         if (tag == 8) {
21060           int value;
21061           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
21062                    int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
21063                  input, &value)));
21064           if (::StatisticsMessage_StatisticsData_StatisticsType_IsValid(value)) {
21065             set_statisticstype(static_cast< ::StatisticsMessage_StatisticsData_StatisticsType >(value));
21066           } else {
21067             unknown_fields_stream.WriteVarint32(tag);
21068             unknown_fields_stream.WriteVarint32(value);
21069           }
21070         } else {
21071           goto handle_unusual;
21072         }
21073         if (input->ExpectTag(16)) goto parse_statisticsValue;
21074         break;
21075       }
21076 
21077       // required uint32 statisticsValue = 2;
21078       case 2: {
21079         if (tag == 16) {
21080          parse_statisticsValue:
21081           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
21082                    ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
21083                  input, &statisticsvalue_)));
21084           set_has_statisticsvalue();
21085         } else {
21086           goto handle_unusual;
21087         }
21088         if (input->ExpectAtEnd()) goto success;
21089         break;
21090       }
21091 
21092       default: {
21093       handle_unusual:
21094         if (tag == 0 ||
21095             ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
21096             ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
21097           goto success;
21098         }
21099         DO_(::google::protobuf::internal::WireFormatLite::SkipField(
21100             input, tag, &unknown_fields_stream));
21101         break;
21102       }
21103     }
21104   }
21105 success:
21106   // @@protoc_insertion_point(parse_success:StatisticsMessage.StatisticsData)
21107   return true;
21108 failure:
21109   // @@protoc_insertion_point(parse_failure:StatisticsMessage.StatisticsData)
21110   return false;
21111 #undef DO_
21112 }
21113 
21114 void StatisticsMessage_StatisticsData::SerializeWithCachedSizes(
21115     ::google::protobuf::io::CodedOutputStream* output) const {
21116   // @@protoc_insertion_point(serialize_start:StatisticsMessage.StatisticsData)
21117   // required .StatisticsMessage.StatisticsData.StatisticsType statisticsType = 1;
21118   if (has_statisticstype()) {
21119     ::google::protobuf::internal::WireFormatLite::WriteEnum(
21120       1, this->statisticstype(), output);
21121   }
21122 
21123   // required uint32 statisticsValue = 2;
21124   if (has_statisticsvalue()) {
21125     ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->statisticsvalue(), output);
21126   }
21127 
21128   output->WriteRaw(unknown_fields().data(),
21129                    unknown_fields().size());
21130   // @@protoc_insertion_point(serialize_end:StatisticsMessage.StatisticsData)
21131 }
21132 
21133 int StatisticsMessage_StatisticsData::ByteSize() const {
21134   int total_size = 0;
21135 
21136   if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
21137     // required .StatisticsMessage.StatisticsData.StatisticsType statisticsType = 1;
21138     if (has_statisticstype()) {
21139       total_size += 1 +
21140         ::google::protobuf::internal::WireFormatLite::EnumSize(this->statisticstype());
21141     }
21142 
21143     // required uint32 statisticsValue = 2;
21144     if (has_statisticsvalue()) {
21145       total_size += 1 +
21146         ::google::protobuf::internal::WireFormatLite::UInt32Size(
21147           this->statisticsvalue());
21148     }
21149 
21150   }
21151   total_size += unknown_fields().size();
21152 
21153   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
21154   _cached_size_ = total_size;
21155   GOOGLE_SAFE_CONCURRENT_WRITES_END();
21156   return total_size;
21157 }
21158 
21159 void StatisticsMessage_StatisticsData::CheckTypeAndMergeFrom(
21160     const ::google::protobuf::MessageLite& from) {
21161   MergeFrom(*::google::protobuf::down_cast<const StatisticsMessage_StatisticsData*>(&from));
21162 }
21163 
21164 void StatisticsMessage_StatisticsData::MergeFrom(const StatisticsMessage_StatisticsData& from) {
21165   GOOGLE_CHECK_NE(&from, this);
21166   if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
21167     if (from.has_statisticstype()) {
21168       set_statisticstype(from.statisticstype());
21169     }
21170     if (from.has_statisticsvalue()) {
21171       set_statisticsvalue(from.statisticsvalue());
21172     }
21173   }
21174   mutable_unknown_fields()->append(from.unknown_fields());
21175 }
21176 
21177 void StatisticsMessage_StatisticsData::CopyFrom(const StatisticsMessage_StatisticsData& from) {
21178   if (&from == this) return;
21179   Clear();
21180   MergeFrom(from);
21181 }
21182 
21183 bool StatisticsMessage_StatisticsData::IsInitialized() const {
21184   if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false;
21185 
21186   return true;
21187 }
21188 
21189 void StatisticsMessage_StatisticsData::Swap(StatisticsMessage_StatisticsData* other) {
21190   if (other != this) {
21191     std::swap(statisticstype_, other->statisticstype_);
21192     std::swap(statisticsvalue_, other->statisticsvalue_);
21193     std::swap(_has_bits_[0], other->_has_bits_[0]);
21194     _unknown_fields_.swap(other->_unknown_fields_);
21195     std::swap(_cached_size_, other->_cached_size_);
21196   }
21197 }
21198 
21199 ::std::string StatisticsMessage_StatisticsData::GetTypeName() const {
21200   return "StatisticsMessage.StatisticsData";
21201 }
21202 
21203 
21204 // -------------------------------------------------------------------
21205 
21206 #ifndef _MSC_VER
21207 const int StatisticsMessage::kStatisticsDataFieldNumber;
21208 #endif  // !_MSC_VER
21209 
21210 StatisticsMessage::StatisticsMessage()
21211   : ::google::protobuf::MessageLite() {
21212   SharedCtor();
21213   // @@protoc_insertion_point(constructor:StatisticsMessage)
21214 }
21215 
21216 void StatisticsMessage::InitAsDefaultInstance() {
21217 }
21218 
21219 StatisticsMessage::StatisticsMessage(const StatisticsMessage& from)
21220   : ::google::protobuf::MessageLite() {
21221   SharedCtor();
21222   MergeFrom(from);
21223   // @@protoc_insertion_point(copy_constructor:StatisticsMessage)
21224 }
21225 
21226 void StatisticsMessage::SharedCtor() {
21227   _cached_size_ = 0;
21228   ::memset(_has_bits_, 0, sizeof(_has_bits_));
21229 }
21230 
21231 StatisticsMessage::~StatisticsMessage() {
21232   // @@protoc_insertion_point(destructor:StatisticsMessage)
21233   SharedDtor();
21234 }
21235 
21236 void StatisticsMessage::SharedDtor() {
21237   #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
21238   if (this != &default_instance()) {
21239   #else
21240   if (this != default_instance_) {
21241   #endif
21242   }
21243 }
21244 
21245 void StatisticsMessage::SetCachedSize(int size) const {
21246   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
21247   _cached_size_ = size;
21248   GOOGLE_SAFE_CONCURRENT_WRITES_END();
21249 }
21250 const StatisticsMessage& StatisticsMessage::default_instance() {
21251 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
21252   protobuf_AddDesc_pokerth_2eproto();
21253 #else
21254   if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto();
21255 #endif
21256   return *default_instance_;
21257 }
21258 
21259 StatisticsMessage* StatisticsMessage::default_instance_ = NULL;
21260 
21261 StatisticsMessage* StatisticsMessage::New() const {
21262   return new StatisticsMessage;
21263 }
21264 
21265 void StatisticsMessage::Clear() {
21266   statisticsdata_.Clear();
21267   ::memset(_has_bits_, 0, sizeof(_has_bits_));
21268   mutable_unknown_fields()->clear();
21269 }
21270 
21271 bool StatisticsMessage::MergePartialFromCodedStream(
21272     ::google::protobuf::io::CodedInputStream* input) {
21273 #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
21274   ::google::protobuf::uint32 tag;
21275   ::google::protobuf::io::StringOutputStream unknown_fields_string(
21276       mutable_unknown_fields());
21277   ::google::protobuf::io::CodedOutputStream unknown_fields_stream(
21278       &unknown_fields_string);
21279   // @@protoc_insertion_point(parse_start:StatisticsMessage)
21280   for (;;) {
21281     ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
21282     tag = p.first;
21283     if (!p.second) goto handle_unusual;
21284     switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
21285       // repeated .StatisticsMessage.StatisticsData statisticsData = 1;
21286       case 1: {
21287         if (tag == 10) {
21288          parse_statisticsData:
21289           DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
21290                 input, add_statisticsdata()));
21291         } else {
21292           goto handle_unusual;
21293         }
21294         if (input->ExpectTag(10)) goto parse_statisticsData;
21295         if (input->ExpectAtEnd()) goto success;
21296         break;
21297       }
21298 
21299       default: {
21300       handle_unusual:
21301         if (tag == 0 ||
21302             ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
21303             ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
21304           goto success;
21305         }
21306         DO_(::google::protobuf::internal::WireFormatLite::SkipField(
21307             input, tag, &unknown_fields_stream));
21308         break;
21309       }
21310     }
21311   }
21312 success:
21313   // @@protoc_insertion_point(parse_success:StatisticsMessage)
21314   return true;
21315 failure:
21316   // @@protoc_insertion_point(parse_failure:StatisticsMessage)
21317   return false;
21318 #undef DO_
21319 }
21320 
21321 void StatisticsMessage::SerializeWithCachedSizes(
21322     ::google::protobuf::io::CodedOutputStream* output) const {
21323   // @@protoc_insertion_point(serialize_start:StatisticsMessage)
21324   // repeated .StatisticsMessage.StatisticsData statisticsData = 1;
21325   for (int i = 0; i < this->statisticsdata_size(); i++) {
21326     ::google::protobuf::internal::WireFormatLite::WriteMessage(
21327       1, this->statisticsdata(i), output);
21328   }
21329 
21330   output->WriteRaw(unknown_fields().data(),
21331                    unknown_fields().size());
21332   // @@protoc_insertion_point(serialize_end:StatisticsMessage)
21333 }
21334 
21335 int StatisticsMessage::ByteSize() const {
21336   int total_size = 0;
21337 
21338   // repeated .StatisticsMessage.StatisticsData statisticsData = 1;
21339   total_size += 1 * this->statisticsdata_size();
21340   for (int i = 0; i < this->statisticsdata_size(); i++) {
21341     total_size +=
21342       ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
21343         this->statisticsdata(i));
21344   }
21345 
21346   total_size += unknown_fields().size();
21347 
21348   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
21349   _cached_size_ = total_size;
21350   GOOGLE_SAFE_CONCURRENT_WRITES_END();
21351   return total_size;
21352 }
21353 
21354 void StatisticsMessage::CheckTypeAndMergeFrom(
21355     const ::google::protobuf::MessageLite& from) {
21356   MergeFrom(*::google::protobuf::down_cast<const StatisticsMessage*>(&from));
21357 }
21358 
21359 void StatisticsMessage::MergeFrom(const StatisticsMessage& from) {
21360   GOOGLE_CHECK_NE(&from, this);
21361   statisticsdata_.MergeFrom(from.statisticsdata_);
21362   mutable_unknown_fields()->append(from.unknown_fields());
21363 }
21364 
21365 void StatisticsMessage::CopyFrom(const StatisticsMessage& from) {
21366   if (&from == this) return;
21367   Clear();
21368   MergeFrom(from);
21369 }
21370 
21371 bool StatisticsMessage::IsInitialized() const {
21372 
21373   if (!::google::protobuf::internal::AllAreInitialized(this->statisticsdata())) return false;
21374   return true;
21375 }
21376 
21377 void StatisticsMessage::Swap(StatisticsMessage* other) {
21378   if (other != this) {
21379     statisticsdata_.Swap(&other->statisticsdata_);
21380     std::swap(_has_bits_[0], other->_has_bits_[0]);
21381     _unknown_fields_.swap(other->_unknown_fields_);
21382     std::swap(_cached_size_, other->_cached_size_);
21383   }
21384 }
21385 
21386 ::std::string StatisticsMessage::GetTypeName() const {
21387   return "StatisticsMessage";
21388 }
21389 
21390 
21391 // ===================================================================
21392 
21393 #ifndef _MSC_VER
21394 const int ChatRequestMessage::kTargetGameIdFieldNumber;
21395 const int ChatRequestMessage::kTargetPlayerIdFieldNumber;
21396 const int ChatRequestMessage::kChatTextFieldNumber;
21397 #endif  // !_MSC_VER
21398 
21399 ChatRequestMessage::ChatRequestMessage()
21400   : ::google::protobuf::MessageLite() {
21401   SharedCtor();
21402   // @@protoc_insertion_point(constructor:ChatRequestMessage)
21403 }
21404 
21405 void ChatRequestMessage::InitAsDefaultInstance() {
21406 }
21407 
21408 ChatRequestMessage::ChatRequestMessage(const ChatRequestMessage& from)
21409   : ::google::protobuf::MessageLite() {
21410   SharedCtor();
21411   MergeFrom(from);
21412   // @@protoc_insertion_point(copy_constructor:ChatRequestMessage)
21413 }
21414 
21415 void ChatRequestMessage::SharedCtor() {
21416   ::google::protobuf::internal::GetEmptyString();
21417   _cached_size_ = 0;
21418   targetgameid_ = 0u;
21419   targetplayerid_ = 0u;
21420   chattext_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
21421   ::memset(_has_bits_, 0, sizeof(_has_bits_));
21422 }
21423 
21424 ChatRequestMessage::~ChatRequestMessage() {
21425   // @@protoc_insertion_point(destructor:ChatRequestMessage)
21426   SharedDtor();
21427 }
21428 
21429 void ChatRequestMessage::SharedDtor() {
21430   if (chattext_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
21431     delete chattext_;
21432   }
21433   #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
21434   if (this != &default_instance()) {
21435   #else
21436   if (this != default_instance_) {
21437   #endif
21438   }
21439 }
21440 
21441 void ChatRequestMessage::SetCachedSize(int size) const {
21442   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
21443   _cached_size_ = size;
21444   GOOGLE_SAFE_CONCURRENT_WRITES_END();
21445 }
21446 const ChatRequestMessage& ChatRequestMessage::default_instance() {
21447 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
21448   protobuf_AddDesc_pokerth_2eproto();
21449 #else
21450   if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto();
21451 #endif
21452   return *default_instance_;
21453 }
21454 
21455 ChatRequestMessage* ChatRequestMessage::default_instance_ = NULL;
21456 
21457 ChatRequestMessage* ChatRequestMessage::New() const {
21458   return new ChatRequestMessage;
21459 }
21460 
21461 void ChatRequestMessage::Clear() {
21462 #define OFFSET_OF_FIELD_(f) (reinterpret_cast<char*>(      \
21463   &reinterpret_cast<ChatRequestMessage*>(16)->f) - \
21464    reinterpret_cast<char*>(16))
21465 
21466 #define ZR_(first, last) do {                              \
21467     size_t f = OFFSET_OF_FIELD_(first);                    \
21468     size_t n = OFFSET_OF_FIELD_(last) - f + sizeof(last);  \
21469     ::memset(&first, 0, n);                                \
21470   } while (0)
21471 
21472   if (_has_bits_[0 / 32] & 7) {
21473     ZR_(targetgameid_, targetplayerid_);
21474     if (has_chattext()) {
21475       if (chattext_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
21476         chattext_->clear();
21477       }
21478     }
21479   }
21480 
21481 #undef OFFSET_OF_FIELD_
21482 #undef ZR_
21483 
21484   ::memset(_has_bits_, 0, sizeof(_has_bits_));
21485   mutable_unknown_fields()->clear();
21486 }
21487 
21488 bool ChatRequestMessage::MergePartialFromCodedStream(
21489     ::google::protobuf::io::CodedInputStream* input) {
21490 #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
21491   ::google::protobuf::uint32 tag;
21492   ::google::protobuf::io::StringOutputStream unknown_fields_string(
21493       mutable_unknown_fields());
21494   ::google::protobuf::io::CodedOutputStream unknown_fields_stream(
21495       &unknown_fields_string);
21496   // @@protoc_insertion_point(parse_start:ChatRequestMessage)
21497   for (;;) {
21498     ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
21499     tag = p.first;
21500     if (!p.second) goto handle_unusual;
21501     switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
21502       // optional uint32 targetGameId = 1;
21503       case 1: {
21504         if (tag == 8) {
21505           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
21506                    ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
21507                  input, &targetgameid_)));
21508           set_has_targetgameid();
21509         } else {
21510           goto handle_unusual;
21511         }
21512         if (input->ExpectTag(16)) goto parse_targetPlayerId;
21513         break;
21514       }
21515 
21516       // optional uint32 targetPlayerId = 2;
21517       case 2: {
21518         if (tag == 16) {
21519          parse_targetPlayerId:
21520           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
21521                    ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
21522                  input, &targetplayerid_)));
21523           set_has_targetplayerid();
21524         } else {
21525           goto handle_unusual;
21526         }
21527         if (input->ExpectTag(26)) goto parse_chatText;
21528         break;
21529       }
21530 
21531       // required string chatText = 3;
21532       case 3: {
21533         if (tag == 26) {
21534          parse_chatText:
21535           DO_(::google::protobuf::internal::WireFormatLite::ReadString(
21536                 input, this->mutable_chattext()));
21537         } else {
21538           goto handle_unusual;
21539         }
21540         if (input->ExpectAtEnd()) goto success;
21541         break;
21542       }
21543 
21544       default: {
21545       handle_unusual:
21546         if (tag == 0 ||
21547             ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
21548             ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
21549           goto success;
21550         }
21551         DO_(::google::protobuf::internal::WireFormatLite::SkipField(
21552             input, tag, &unknown_fields_stream));
21553         break;
21554       }
21555     }
21556   }
21557 success:
21558   // @@protoc_insertion_point(parse_success:ChatRequestMessage)
21559   return true;
21560 failure:
21561   // @@protoc_insertion_point(parse_failure:ChatRequestMessage)
21562   return false;
21563 #undef DO_
21564 }
21565 
21566 void ChatRequestMessage::SerializeWithCachedSizes(
21567     ::google::protobuf::io::CodedOutputStream* output) const {
21568   // @@protoc_insertion_point(serialize_start:ChatRequestMessage)
21569   // optional uint32 targetGameId = 1;
21570   if (has_targetgameid()) {
21571     ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->targetgameid(), output);
21572   }
21573 
21574   // optional uint32 targetPlayerId = 2;
21575   if (has_targetplayerid()) {
21576     ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->targetplayerid(), output);
21577   }
21578 
21579   // required string chatText = 3;
21580   if (has_chattext()) {
21581     ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
21582       3, this->chattext(), output);
21583   }
21584 
21585   output->WriteRaw(unknown_fields().data(),
21586                    unknown_fields().size());
21587   // @@protoc_insertion_point(serialize_end:ChatRequestMessage)
21588 }
21589 
21590 int ChatRequestMessage::ByteSize() const {
21591   int total_size = 0;
21592 
21593   if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
21594     // optional uint32 targetGameId = 1;
21595     if (has_targetgameid()) {
21596       total_size += 1 +
21597         ::google::protobuf::internal::WireFormatLite::UInt32Size(
21598           this->targetgameid());
21599     }
21600 
21601     // optional uint32 targetPlayerId = 2;
21602     if (has_targetplayerid()) {
21603       total_size += 1 +
21604         ::google::protobuf::internal::WireFormatLite::UInt32Size(
21605           this->targetplayerid());
21606     }
21607 
21608     // required string chatText = 3;
21609     if (has_chattext()) {
21610       total_size += 1 +
21611         ::google::protobuf::internal::WireFormatLite::StringSize(
21612           this->chattext());
21613     }
21614 
21615   }
21616   total_size += unknown_fields().size();
21617 
21618   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
21619   _cached_size_ = total_size;
21620   GOOGLE_SAFE_CONCURRENT_WRITES_END();
21621   return total_size;
21622 }
21623 
21624 void ChatRequestMessage::CheckTypeAndMergeFrom(
21625     const ::google::protobuf::MessageLite& from) {
21626   MergeFrom(*::google::protobuf::down_cast<const ChatRequestMessage*>(&from));
21627 }
21628 
21629 void ChatRequestMessage::MergeFrom(const ChatRequestMessage& from) {
21630   GOOGLE_CHECK_NE(&from, this);
21631   if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
21632     if (from.has_targetgameid()) {
21633       set_targetgameid(from.targetgameid());
21634     }
21635     if (from.has_targetplayerid()) {
21636       set_targetplayerid(from.targetplayerid());
21637     }
21638     if (from.has_chattext()) {
21639       set_chattext(from.chattext());
21640     }
21641   }
21642   mutable_unknown_fields()->append(from.unknown_fields());
21643 }
21644 
21645 void ChatRequestMessage::CopyFrom(const ChatRequestMessage& from) {
21646   if (&from == this) return;
21647   Clear();
21648   MergeFrom(from);
21649 }
21650 
21651 bool ChatRequestMessage::IsInitialized() const {
21652   if ((_has_bits_[0] & 0x00000004) != 0x00000004) return false;
21653 
21654   return true;
21655 }
21656 
21657 void ChatRequestMessage::Swap(ChatRequestMessage* other) {
21658   if (other != this) {
21659     std::swap(targetgameid_, other->targetgameid_);
21660     std::swap(targetplayerid_, other->targetplayerid_);
21661     std::swap(chattext_, other->chattext_);
21662     std::swap(_has_bits_[0], other->_has_bits_[0]);
21663     _unknown_fields_.swap(other->_unknown_fields_);
21664     std::swap(_cached_size_, other->_cached_size_);
21665   }
21666 }
21667 
21668 ::std::string ChatRequestMessage::GetTypeName() const {
21669   return "ChatRequestMessage";
21670 }
21671 
21672 
21673 // ===================================================================
21674 
21675 bool ChatMessage_ChatType_IsValid(int value) {
21676   switch(value) {
21677     case 0:
21678     case 1:
21679     case 2:
21680     case 3:
21681     case 4:
21682       return true;
21683     default:
21684       return false;
21685   }
21686 }
21687 
21688 #ifndef _MSC_VER
21689 const ChatMessage_ChatType ChatMessage::chatTypeLobby;
21690 const ChatMessage_ChatType ChatMessage::chatTypeGame;
21691 const ChatMessage_ChatType ChatMessage::chatTypeBot;
21692 const ChatMessage_ChatType ChatMessage::chatTypeBroadcast;
21693 const ChatMessage_ChatType ChatMessage::chatTypePrivate;
21694 const ChatMessage_ChatType ChatMessage::ChatType_MIN;
21695 const ChatMessage_ChatType ChatMessage::ChatType_MAX;
21696 const int ChatMessage::ChatType_ARRAYSIZE;
21697 #endif  // _MSC_VER
21698 #ifndef _MSC_VER
21699 const int ChatMessage::kGameIdFieldNumber;
21700 const int ChatMessage::kPlayerIdFieldNumber;
21701 const int ChatMessage::kChatTypeFieldNumber;
21702 const int ChatMessage::kChatTextFieldNumber;
21703 #endif  // !_MSC_VER
21704 
21705 ChatMessage::ChatMessage()
21706   : ::google::protobuf::MessageLite() {
21707   SharedCtor();
21708   // @@protoc_insertion_point(constructor:ChatMessage)
21709 }
21710 
21711 void ChatMessage::InitAsDefaultInstance() {
21712 }
21713 
21714 ChatMessage::ChatMessage(const ChatMessage& from)
21715   : ::google::protobuf::MessageLite() {
21716   SharedCtor();
21717   MergeFrom(from);
21718   // @@protoc_insertion_point(copy_constructor:ChatMessage)
21719 }
21720 
21721 void ChatMessage::SharedCtor() {
21722   ::google::protobuf::internal::GetEmptyString();
21723   _cached_size_ = 0;
21724   gameid_ = 0u;
21725   playerid_ = 0u;
21726   chattype_ = 0;
21727   chattext_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
21728   ::memset(_has_bits_, 0, sizeof(_has_bits_));
21729 }
21730 
21731 ChatMessage::~ChatMessage() {
21732   // @@protoc_insertion_point(destructor:ChatMessage)
21733   SharedDtor();
21734 }
21735 
21736 void ChatMessage::SharedDtor() {
21737   if (chattext_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
21738     delete chattext_;
21739   }
21740   #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
21741   if (this != &default_instance()) {
21742   #else
21743   if (this != default_instance_) {
21744   #endif
21745   }
21746 }
21747 
21748 void ChatMessage::SetCachedSize(int size) const {
21749   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
21750   _cached_size_ = size;
21751   GOOGLE_SAFE_CONCURRENT_WRITES_END();
21752 }
21753 const ChatMessage& ChatMessage::default_instance() {
21754 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
21755   protobuf_AddDesc_pokerth_2eproto();
21756 #else
21757   if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto();
21758 #endif
21759   return *default_instance_;
21760 }
21761 
21762 ChatMessage* ChatMessage::default_instance_ = NULL;
21763 
21764 ChatMessage* ChatMessage::New() const {
21765   return new ChatMessage;
21766 }
21767 
21768 void ChatMessage::Clear() {
21769 #define OFFSET_OF_FIELD_(f) (reinterpret_cast<char*>(      \
21770   &reinterpret_cast<ChatMessage*>(16)->f) - \
21771    reinterpret_cast<char*>(16))
21772 
21773 #define ZR_(first, last) do {                              \
21774     size_t f = OFFSET_OF_FIELD_(first);                    \
21775     size_t n = OFFSET_OF_FIELD_(last) - f + sizeof(last);  \
21776     ::memset(&first, 0, n);                                \
21777   } while (0)
21778 
21779   if (_has_bits_[0 / 32] & 15) {
21780     ZR_(gameid_, playerid_);
21781     chattype_ = 0;
21782     if (has_chattext()) {
21783       if (chattext_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
21784         chattext_->clear();
21785       }
21786     }
21787   }
21788 
21789 #undef OFFSET_OF_FIELD_
21790 #undef ZR_
21791 
21792   ::memset(_has_bits_, 0, sizeof(_has_bits_));
21793   mutable_unknown_fields()->clear();
21794 }
21795 
21796 bool ChatMessage::MergePartialFromCodedStream(
21797     ::google::protobuf::io::CodedInputStream* input) {
21798 #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
21799   ::google::protobuf::uint32 tag;
21800   ::google::protobuf::io::StringOutputStream unknown_fields_string(
21801       mutable_unknown_fields());
21802   ::google::protobuf::io::CodedOutputStream unknown_fields_stream(
21803       &unknown_fields_string);
21804   // @@protoc_insertion_point(parse_start:ChatMessage)
21805   for (;;) {
21806     ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
21807     tag = p.first;
21808     if (!p.second) goto handle_unusual;
21809     switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
21810       // optional uint32 gameId = 1;
21811       case 1: {
21812         if (tag == 8) {
21813           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
21814                    ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
21815                  input, &gameid_)));
21816           set_has_gameid();
21817         } else {
21818           goto handle_unusual;
21819         }
21820         if (input->ExpectTag(16)) goto parse_playerId;
21821         break;
21822       }
21823 
21824       // optional uint32 playerId = 2;
21825       case 2: {
21826         if (tag == 16) {
21827          parse_playerId:
21828           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
21829                    ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
21830                  input, &playerid_)));
21831           set_has_playerid();
21832         } else {
21833           goto handle_unusual;
21834         }
21835         if (input->ExpectTag(24)) goto parse_chatType;
21836         break;
21837       }
21838 
21839       // required .ChatMessage.ChatType chatType = 3;
21840       case 3: {
21841         if (tag == 24) {
21842          parse_chatType:
21843           int value;
21844           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
21845                    int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
21846                  input, &value)));
21847           if (::ChatMessage_ChatType_IsValid(value)) {
21848             set_chattype(static_cast< ::ChatMessage_ChatType >(value));
21849           } else {
21850             unknown_fields_stream.WriteVarint32(tag);
21851             unknown_fields_stream.WriteVarint32(value);
21852           }
21853         } else {
21854           goto handle_unusual;
21855         }
21856         if (input->ExpectTag(34)) goto parse_chatText;
21857         break;
21858       }
21859 
21860       // required string chatText = 4;
21861       case 4: {
21862         if (tag == 34) {
21863          parse_chatText:
21864           DO_(::google::protobuf::internal::WireFormatLite::ReadString(
21865                 input, this->mutable_chattext()));
21866         } else {
21867           goto handle_unusual;
21868         }
21869         if (input->ExpectAtEnd()) goto success;
21870         break;
21871       }
21872 
21873       default: {
21874       handle_unusual:
21875         if (tag == 0 ||
21876             ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
21877             ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
21878           goto success;
21879         }
21880         DO_(::google::protobuf::internal::WireFormatLite::SkipField(
21881             input, tag, &unknown_fields_stream));
21882         break;
21883       }
21884     }
21885   }
21886 success:
21887   // @@protoc_insertion_point(parse_success:ChatMessage)
21888   return true;
21889 failure:
21890   // @@protoc_insertion_point(parse_failure:ChatMessage)
21891   return false;
21892 #undef DO_
21893 }
21894 
21895 void ChatMessage::SerializeWithCachedSizes(
21896     ::google::protobuf::io::CodedOutputStream* output) const {
21897   // @@protoc_insertion_point(serialize_start:ChatMessage)
21898   // optional uint32 gameId = 1;
21899   if (has_gameid()) {
21900     ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->gameid(), output);
21901   }
21902 
21903   // optional uint32 playerId = 2;
21904   if (has_playerid()) {
21905     ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->playerid(), output);
21906   }
21907 
21908   // required .ChatMessage.ChatType chatType = 3;
21909   if (has_chattype()) {
21910     ::google::protobuf::internal::WireFormatLite::WriteEnum(
21911       3, this->chattype(), output);
21912   }
21913 
21914   // required string chatText = 4;
21915   if (has_chattext()) {
21916     ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
21917       4, this->chattext(), output);
21918   }
21919 
21920   output->WriteRaw(unknown_fields().data(),
21921                    unknown_fields().size());
21922   // @@protoc_insertion_point(serialize_end:ChatMessage)
21923 }
21924 
21925 int ChatMessage::ByteSize() const {
21926   int total_size = 0;
21927 
21928   if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
21929     // optional uint32 gameId = 1;
21930     if (has_gameid()) {
21931       total_size += 1 +
21932         ::google::protobuf::internal::WireFormatLite::UInt32Size(
21933           this->gameid());
21934     }
21935 
21936     // optional uint32 playerId = 2;
21937     if (has_playerid()) {
21938       total_size += 1 +
21939         ::google::protobuf::internal::WireFormatLite::UInt32Size(
21940           this->playerid());
21941     }
21942 
21943     // required .ChatMessage.ChatType chatType = 3;
21944     if (has_chattype()) {
21945       total_size += 1 +
21946         ::google::protobuf::internal::WireFormatLite::EnumSize(this->chattype());
21947     }
21948 
21949     // required string chatText = 4;
21950     if (has_chattext()) {
21951       total_size += 1 +
21952         ::google::protobuf::internal::WireFormatLite::StringSize(
21953           this->chattext());
21954     }
21955 
21956   }
21957   total_size += unknown_fields().size();
21958 
21959   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
21960   _cached_size_ = total_size;
21961   GOOGLE_SAFE_CONCURRENT_WRITES_END();
21962   return total_size;
21963 }
21964 
21965 void ChatMessage::CheckTypeAndMergeFrom(
21966     const ::google::protobuf::MessageLite& from) {
21967   MergeFrom(*::google::protobuf::down_cast<const ChatMessage*>(&from));
21968 }
21969 
21970 void ChatMessage::MergeFrom(const ChatMessage& from) {
21971   GOOGLE_CHECK_NE(&from, this);
21972   if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
21973     if (from.has_gameid()) {
21974       set_gameid(from.gameid());
21975     }
21976     if (from.has_playerid()) {
21977       set_playerid(from.playerid());
21978     }
21979     if (from.has_chattype()) {
21980       set_chattype(from.chattype());
21981     }
21982     if (from.has_chattext()) {
21983       set_chattext(from.chattext());
21984     }
21985   }
21986   mutable_unknown_fields()->append(from.unknown_fields());
21987 }
21988 
21989 void ChatMessage::CopyFrom(const ChatMessage& from) {
21990   if (&from == this) return;
21991   Clear();
21992   MergeFrom(from);
21993 }
21994 
21995 bool ChatMessage::IsInitialized() const {
21996   if ((_has_bits_[0] & 0x0000000c) != 0x0000000c) return false;
21997 
21998   return true;
21999 }
22000 
22001 void ChatMessage::Swap(ChatMessage* other) {
22002   if (other != this) {
22003     std::swap(gameid_, other->gameid_);
22004     std::swap(playerid_, other->playerid_);
22005     std::swap(chattype_, other->chattype_);
22006     std::swap(chattext_, other->chattext_);
22007     std::swap(_has_bits_[0], other->_has_bits_[0]);
22008     _unknown_fields_.swap(other->_unknown_fields_);
22009     std::swap(_cached_size_, other->_cached_size_);
22010   }
22011 }
22012 
22013 ::std::string ChatMessage::GetTypeName() const {
22014   return "ChatMessage";
22015 }
22016 
22017 
22018 // ===================================================================
22019 
22020 #ifndef _MSC_VER
22021 const int ChatRejectMessage::kChatTextFieldNumber;
22022 #endif  // !_MSC_VER
22023 
22024 ChatRejectMessage::ChatRejectMessage()
22025   : ::google::protobuf::MessageLite() {
22026   SharedCtor();
22027   // @@protoc_insertion_point(constructor:ChatRejectMessage)
22028 }
22029 
22030 void ChatRejectMessage::InitAsDefaultInstance() {
22031 }
22032 
22033 ChatRejectMessage::ChatRejectMessage(const ChatRejectMessage& from)
22034   : ::google::protobuf::MessageLite() {
22035   SharedCtor();
22036   MergeFrom(from);
22037   // @@protoc_insertion_point(copy_constructor:ChatRejectMessage)
22038 }
22039 
22040 void ChatRejectMessage::SharedCtor() {
22041   ::google::protobuf::internal::GetEmptyString();
22042   _cached_size_ = 0;
22043   chattext_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
22044   ::memset(_has_bits_, 0, sizeof(_has_bits_));
22045 }
22046 
22047 ChatRejectMessage::~ChatRejectMessage() {
22048   // @@protoc_insertion_point(destructor:ChatRejectMessage)
22049   SharedDtor();
22050 }
22051 
22052 void ChatRejectMessage::SharedDtor() {
22053   if (chattext_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
22054     delete chattext_;
22055   }
22056   #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
22057   if (this != &default_instance()) {
22058   #else
22059   if (this != default_instance_) {
22060   #endif
22061   }
22062 }
22063 
22064 void ChatRejectMessage::SetCachedSize(int size) const {
22065   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
22066   _cached_size_ = size;
22067   GOOGLE_SAFE_CONCURRENT_WRITES_END();
22068 }
22069 const ChatRejectMessage& ChatRejectMessage::default_instance() {
22070 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
22071   protobuf_AddDesc_pokerth_2eproto();
22072 #else
22073   if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto();
22074 #endif
22075   return *default_instance_;
22076 }
22077 
22078 ChatRejectMessage* ChatRejectMessage::default_instance_ = NULL;
22079 
22080 ChatRejectMessage* ChatRejectMessage::New() const {
22081   return new ChatRejectMessage;
22082 }
22083 
22084 void ChatRejectMessage::Clear() {
22085   if (has_chattext()) {
22086     if (chattext_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
22087       chattext_->clear();
22088     }
22089   }
22090   ::memset(_has_bits_, 0, sizeof(_has_bits_));
22091   mutable_unknown_fields()->clear();
22092 }
22093 
22094 bool ChatRejectMessage::MergePartialFromCodedStream(
22095     ::google::protobuf::io::CodedInputStream* input) {
22096 #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
22097   ::google::protobuf::uint32 tag;
22098   ::google::protobuf::io::StringOutputStream unknown_fields_string(
22099       mutable_unknown_fields());
22100   ::google::protobuf::io::CodedOutputStream unknown_fields_stream(
22101       &unknown_fields_string);
22102   // @@protoc_insertion_point(parse_start:ChatRejectMessage)
22103   for (;;) {
22104     ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
22105     tag = p.first;
22106     if (!p.second) goto handle_unusual;
22107     switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
22108       // required string chatText = 1;
22109       case 1: {
22110         if (tag == 10) {
22111           DO_(::google::protobuf::internal::WireFormatLite::ReadString(
22112                 input, this->mutable_chattext()));
22113         } else {
22114           goto handle_unusual;
22115         }
22116         if (input->ExpectAtEnd()) goto success;
22117         break;
22118       }
22119 
22120       default: {
22121       handle_unusual:
22122         if (tag == 0 ||
22123             ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
22124             ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
22125           goto success;
22126         }
22127         DO_(::google::protobuf::internal::WireFormatLite::SkipField(
22128             input, tag, &unknown_fields_stream));
22129         break;
22130       }
22131     }
22132   }
22133 success:
22134   // @@protoc_insertion_point(parse_success:ChatRejectMessage)
22135   return true;
22136 failure:
22137   // @@protoc_insertion_point(parse_failure:ChatRejectMessage)
22138   return false;
22139 #undef DO_
22140 }
22141 
22142 void ChatRejectMessage::SerializeWithCachedSizes(
22143     ::google::protobuf::io::CodedOutputStream* output) const {
22144   // @@protoc_insertion_point(serialize_start:ChatRejectMessage)
22145   // required string chatText = 1;
22146   if (has_chattext()) {
22147     ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
22148       1, this->chattext(), output);
22149   }
22150 
22151   output->WriteRaw(unknown_fields().data(),
22152                    unknown_fields().size());
22153   // @@protoc_insertion_point(serialize_end:ChatRejectMessage)
22154 }
22155 
22156 int ChatRejectMessage::ByteSize() const {
22157   int total_size = 0;
22158 
22159   if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
22160     // required string chatText = 1;
22161     if (has_chattext()) {
22162       total_size += 1 +
22163         ::google::protobuf::internal::WireFormatLite::StringSize(
22164           this->chattext());
22165     }
22166 
22167   }
22168   total_size += unknown_fields().size();
22169 
22170   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
22171   _cached_size_ = total_size;
22172   GOOGLE_SAFE_CONCURRENT_WRITES_END();
22173   return total_size;
22174 }
22175 
22176 void ChatRejectMessage::CheckTypeAndMergeFrom(
22177     const ::google::protobuf::MessageLite& from) {
22178   MergeFrom(*::google::protobuf::down_cast<const ChatRejectMessage*>(&from));
22179 }
22180 
22181 void ChatRejectMessage::MergeFrom(const ChatRejectMessage& from) {
22182   GOOGLE_CHECK_NE(&from, this);
22183   if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
22184     if (from.has_chattext()) {
22185       set_chattext(from.chattext());
22186     }
22187   }
22188   mutable_unknown_fields()->append(from.unknown_fields());
22189 }
22190 
22191 void ChatRejectMessage::CopyFrom(const ChatRejectMessage& from) {
22192   if (&from == this) return;
22193   Clear();
22194   MergeFrom(from);
22195 }
22196 
22197 bool ChatRejectMessage::IsInitialized() const {
22198   if ((_has_bits_[0] & 0x00000001) != 0x00000001) return false;
22199 
22200   return true;
22201 }
22202 
22203 void ChatRejectMessage::Swap(ChatRejectMessage* other) {
22204   if (other != this) {
22205     std::swap(chattext_, other->chattext_);
22206     std::swap(_has_bits_[0], other->_has_bits_[0]);
22207     _unknown_fields_.swap(other->_unknown_fields_);
22208     std::swap(_cached_size_, other->_cached_size_);
22209   }
22210 }
22211 
22212 ::std::string ChatRejectMessage::GetTypeName() const {
22213   return "ChatRejectMessage";
22214 }
22215 
22216 
22217 // ===================================================================
22218 
22219 #ifndef _MSC_VER
22220 const int DialogMessage::kNotificationTextFieldNumber;
22221 #endif  // !_MSC_VER
22222 
22223 DialogMessage::DialogMessage()
22224   : ::google::protobuf::MessageLite() {
22225   SharedCtor();
22226   // @@protoc_insertion_point(constructor:DialogMessage)
22227 }
22228 
22229 void DialogMessage::InitAsDefaultInstance() {
22230 }
22231 
22232 DialogMessage::DialogMessage(const DialogMessage& from)
22233   : ::google::protobuf::MessageLite() {
22234   SharedCtor();
22235   MergeFrom(from);
22236   // @@protoc_insertion_point(copy_constructor:DialogMessage)
22237 }
22238 
22239 void DialogMessage::SharedCtor() {
22240   ::google::protobuf::internal::GetEmptyString();
22241   _cached_size_ = 0;
22242   notificationtext_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
22243   ::memset(_has_bits_, 0, sizeof(_has_bits_));
22244 }
22245 
22246 DialogMessage::~DialogMessage() {
22247   // @@protoc_insertion_point(destructor:DialogMessage)
22248   SharedDtor();
22249 }
22250 
22251 void DialogMessage::SharedDtor() {
22252   if (notificationtext_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
22253     delete notificationtext_;
22254   }
22255   #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
22256   if (this != &default_instance()) {
22257   #else
22258   if (this != default_instance_) {
22259   #endif
22260   }
22261 }
22262 
22263 void DialogMessage::SetCachedSize(int size) const {
22264   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
22265   _cached_size_ = size;
22266   GOOGLE_SAFE_CONCURRENT_WRITES_END();
22267 }
22268 const DialogMessage& DialogMessage::default_instance() {
22269 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
22270   protobuf_AddDesc_pokerth_2eproto();
22271 #else
22272   if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto();
22273 #endif
22274   return *default_instance_;
22275 }
22276 
22277 DialogMessage* DialogMessage::default_instance_ = NULL;
22278 
22279 DialogMessage* DialogMessage::New() const {
22280   return new DialogMessage;
22281 }
22282 
22283 void DialogMessage::Clear() {
22284   if (has_notificationtext()) {
22285     if (notificationtext_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
22286       notificationtext_->clear();
22287     }
22288   }
22289   ::memset(_has_bits_, 0, sizeof(_has_bits_));
22290   mutable_unknown_fields()->clear();
22291 }
22292 
22293 bool DialogMessage::MergePartialFromCodedStream(
22294     ::google::protobuf::io::CodedInputStream* input) {
22295 #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
22296   ::google::protobuf::uint32 tag;
22297   ::google::protobuf::io::StringOutputStream unknown_fields_string(
22298       mutable_unknown_fields());
22299   ::google::protobuf::io::CodedOutputStream unknown_fields_stream(
22300       &unknown_fields_string);
22301   // @@protoc_insertion_point(parse_start:DialogMessage)
22302   for (;;) {
22303     ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
22304     tag = p.first;
22305     if (!p.second) goto handle_unusual;
22306     switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
22307       // required string notificationText = 1;
22308       case 1: {
22309         if (tag == 10) {
22310           DO_(::google::protobuf::internal::WireFormatLite::ReadString(
22311                 input, this->mutable_notificationtext()));
22312         } else {
22313           goto handle_unusual;
22314         }
22315         if (input->ExpectAtEnd()) goto success;
22316         break;
22317       }
22318 
22319       default: {
22320       handle_unusual:
22321         if (tag == 0 ||
22322             ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
22323             ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
22324           goto success;
22325         }
22326         DO_(::google::protobuf::internal::WireFormatLite::SkipField(
22327             input, tag, &unknown_fields_stream));
22328         break;
22329       }
22330     }
22331   }
22332 success:
22333   // @@protoc_insertion_point(parse_success:DialogMessage)
22334   return true;
22335 failure:
22336   // @@protoc_insertion_point(parse_failure:DialogMessage)
22337   return false;
22338 #undef DO_
22339 }
22340 
22341 void DialogMessage::SerializeWithCachedSizes(
22342     ::google::protobuf::io::CodedOutputStream* output) const {
22343   // @@protoc_insertion_point(serialize_start:DialogMessage)
22344   // required string notificationText = 1;
22345   if (has_notificationtext()) {
22346     ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
22347       1, this->notificationtext(), output);
22348   }
22349 
22350   output->WriteRaw(unknown_fields().data(),
22351                    unknown_fields().size());
22352   // @@protoc_insertion_point(serialize_end:DialogMessage)
22353 }
22354 
22355 int DialogMessage::ByteSize() const {
22356   int total_size = 0;
22357 
22358   if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
22359     // required string notificationText = 1;
22360     if (has_notificationtext()) {
22361       total_size += 1 +
22362         ::google::protobuf::internal::WireFormatLite::StringSize(
22363           this->notificationtext());
22364     }
22365 
22366   }
22367   total_size += unknown_fields().size();
22368 
22369   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
22370   _cached_size_ = total_size;
22371   GOOGLE_SAFE_CONCURRENT_WRITES_END();
22372   return total_size;
22373 }
22374 
22375 void DialogMessage::CheckTypeAndMergeFrom(
22376     const ::google::protobuf::MessageLite& from) {
22377   MergeFrom(*::google::protobuf::down_cast<const DialogMessage*>(&from));
22378 }
22379 
22380 void DialogMessage::MergeFrom(const DialogMessage& from) {
22381   GOOGLE_CHECK_NE(&from, this);
22382   if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
22383     if (from.has_notificationtext()) {
22384       set_notificationtext(from.notificationtext());
22385     }
22386   }
22387   mutable_unknown_fields()->append(from.unknown_fields());
22388 }
22389 
22390 void DialogMessage::CopyFrom(const DialogMessage& from) {
22391   if (&from == this) return;
22392   Clear();
22393   MergeFrom(from);
22394 }
22395 
22396 bool DialogMessage::IsInitialized() const {
22397   if ((_has_bits_[0] & 0x00000001) != 0x00000001) return false;
22398 
22399   return true;
22400 }
22401 
22402 void DialogMessage::Swap(DialogMessage* other) {
22403   if (other != this) {
22404     std::swap(notificationtext_, other->notificationtext_);
22405     std::swap(_has_bits_[0], other->_has_bits_[0]);
22406     _unknown_fields_.swap(other->_unknown_fields_);
22407     std::swap(_cached_size_, other->_cached_size_);
22408   }
22409 }
22410 
22411 ::std::string DialogMessage::GetTypeName() const {
22412   return "DialogMessage";
22413 }
22414 
22415 
22416 // ===================================================================
22417 
22418 bool TimeoutWarningMessage_TimeoutReason_IsValid(int value) {
22419   switch(value) {
22420     case 0:
22421     case 1:
22422     case 2:
22423       return true;
22424     default:
22425       return false;
22426   }
22427 }
22428 
22429 #ifndef _MSC_VER
22430 const TimeoutWarningMessage_TimeoutReason TimeoutWarningMessage::timeoutNoDataReceived;
22431 const TimeoutWarningMessage_TimeoutReason TimeoutWarningMessage::timeoutInactiveGame;
22432 const TimeoutWarningMessage_TimeoutReason TimeoutWarningMessage::timeoutKickAfterAutofold;
22433 const TimeoutWarningMessage_TimeoutReason TimeoutWarningMessage::TimeoutReason_MIN;
22434 const TimeoutWarningMessage_TimeoutReason TimeoutWarningMessage::TimeoutReason_MAX;
22435 const int TimeoutWarningMessage::TimeoutReason_ARRAYSIZE;
22436 #endif  // _MSC_VER
22437 #ifndef _MSC_VER
22438 const int TimeoutWarningMessage::kTimeoutReasonFieldNumber;
22439 const int TimeoutWarningMessage::kRemainingSecondsFieldNumber;
22440 #endif  // !_MSC_VER
22441 
22442 TimeoutWarningMessage::TimeoutWarningMessage()
22443   : ::google::protobuf::MessageLite() {
22444   SharedCtor();
22445   // @@protoc_insertion_point(constructor:TimeoutWarningMessage)
22446 }
22447 
22448 void TimeoutWarningMessage::InitAsDefaultInstance() {
22449 }
22450 
22451 TimeoutWarningMessage::TimeoutWarningMessage(const TimeoutWarningMessage& from)
22452   : ::google::protobuf::MessageLite() {
22453   SharedCtor();
22454   MergeFrom(from);
22455   // @@protoc_insertion_point(copy_constructor:TimeoutWarningMessage)
22456 }
22457 
22458 void TimeoutWarningMessage::SharedCtor() {
22459   _cached_size_ = 0;
22460   timeoutreason_ = 0;
22461   remainingseconds_ = 0u;
22462   ::memset(_has_bits_, 0, sizeof(_has_bits_));
22463 }
22464 
22465 TimeoutWarningMessage::~TimeoutWarningMessage() {
22466   // @@protoc_insertion_point(destructor:TimeoutWarningMessage)
22467   SharedDtor();
22468 }
22469 
22470 void TimeoutWarningMessage::SharedDtor() {
22471   #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
22472   if (this != &default_instance()) {
22473   #else
22474   if (this != default_instance_) {
22475   #endif
22476   }
22477 }
22478 
22479 void TimeoutWarningMessage::SetCachedSize(int size) const {
22480   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
22481   _cached_size_ = size;
22482   GOOGLE_SAFE_CONCURRENT_WRITES_END();
22483 }
22484 const TimeoutWarningMessage& TimeoutWarningMessage::default_instance() {
22485 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
22486   protobuf_AddDesc_pokerth_2eproto();
22487 #else
22488   if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto();
22489 #endif
22490   return *default_instance_;
22491 }
22492 
22493 TimeoutWarningMessage* TimeoutWarningMessage::default_instance_ = NULL;
22494 
22495 TimeoutWarningMessage* TimeoutWarningMessage::New() const {
22496   return new TimeoutWarningMessage;
22497 }
22498 
22499 void TimeoutWarningMessage::Clear() {
22500 #define OFFSET_OF_FIELD_(f) (reinterpret_cast<char*>(      \
22501   &reinterpret_cast<TimeoutWarningMessage*>(16)->f) - \
22502    reinterpret_cast<char*>(16))
22503 
22504 #define ZR_(first, last) do {                              \
22505     size_t f = OFFSET_OF_FIELD_(first);                    \
22506     size_t n = OFFSET_OF_FIELD_(last) - f + sizeof(last);  \
22507     ::memset(&first, 0, n);                                \
22508   } while (0)
22509 
22510   ZR_(timeoutreason_, remainingseconds_);
22511 
22512 #undef OFFSET_OF_FIELD_
22513 #undef ZR_
22514 
22515   ::memset(_has_bits_, 0, sizeof(_has_bits_));
22516   mutable_unknown_fields()->clear();
22517 }
22518 
22519 bool TimeoutWarningMessage::MergePartialFromCodedStream(
22520     ::google::protobuf::io::CodedInputStream* input) {
22521 #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
22522   ::google::protobuf::uint32 tag;
22523   ::google::protobuf::io::StringOutputStream unknown_fields_string(
22524       mutable_unknown_fields());
22525   ::google::protobuf::io::CodedOutputStream unknown_fields_stream(
22526       &unknown_fields_string);
22527   // @@protoc_insertion_point(parse_start:TimeoutWarningMessage)
22528   for (;;) {
22529     ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
22530     tag = p.first;
22531     if (!p.second) goto handle_unusual;
22532     switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
22533       // required .TimeoutWarningMessage.TimeoutReason timeoutReason = 1;
22534       case 1: {
22535         if (tag == 8) {
22536           int value;
22537           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
22538                    int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
22539                  input, &value)));
22540           if (::TimeoutWarningMessage_TimeoutReason_IsValid(value)) {
22541             set_timeoutreason(static_cast< ::TimeoutWarningMessage_TimeoutReason >(value));
22542           } else {
22543             unknown_fields_stream.WriteVarint32(tag);
22544             unknown_fields_stream.WriteVarint32(value);
22545           }
22546         } else {
22547           goto handle_unusual;
22548         }
22549         if (input->ExpectTag(16)) goto parse_remainingSeconds;
22550         break;
22551       }
22552 
22553       // required uint32 remainingSeconds = 2;
22554       case 2: {
22555         if (tag == 16) {
22556          parse_remainingSeconds:
22557           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
22558                    ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
22559                  input, &remainingseconds_)));
22560           set_has_remainingseconds();
22561         } else {
22562           goto handle_unusual;
22563         }
22564         if (input->ExpectAtEnd()) goto success;
22565         break;
22566       }
22567 
22568       default: {
22569       handle_unusual:
22570         if (tag == 0 ||
22571             ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
22572             ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
22573           goto success;
22574         }
22575         DO_(::google::protobuf::internal::WireFormatLite::SkipField(
22576             input, tag, &unknown_fields_stream));
22577         break;
22578       }
22579     }
22580   }
22581 success:
22582   // @@protoc_insertion_point(parse_success:TimeoutWarningMessage)
22583   return true;
22584 failure:
22585   // @@protoc_insertion_point(parse_failure:TimeoutWarningMessage)
22586   return false;
22587 #undef DO_
22588 }
22589 
22590 void TimeoutWarningMessage::SerializeWithCachedSizes(
22591     ::google::protobuf::io::CodedOutputStream* output) const {
22592   // @@protoc_insertion_point(serialize_start:TimeoutWarningMessage)
22593   // required .TimeoutWarningMessage.TimeoutReason timeoutReason = 1;
22594   if (has_timeoutreason()) {
22595     ::google::protobuf::internal::WireFormatLite::WriteEnum(
22596       1, this->timeoutreason(), output);
22597   }
22598 
22599   // required uint32 remainingSeconds = 2;
22600   if (has_remainingseconds()) {
22601     ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->remainingseconds(), output);
22602   }
22603 
22604   output->WriteRaw(unknown_fields().data(),
22605                    unknown_fields().size());
22606   // @@protoc_insertion_point(serialize_end:TimeoutWarningMessage)
22607 }
22608 
22609 int TimeoutWarningMessage::ByteSize() const {
22610   int total_size = 0;
22611 
22612   if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
22613     // required .TimeoutWarningMessage.TimeoutReason timeoutReason = 1;
22614     if (has_timeoutreason()) {
22615       total_size += 1 +
22616         ::google::protobuf::internal::WireFormatLite::EnumSize(this->timeoutreason());
22617     }
22618 
22619     // required uint32 remainingSeconds = 2;
22620     if (has_remainingseconds()) {
22621       total_size += 1 +
22622         ::google::protobuf::internal::WireFormatLite::UInt32Size(
22623           this->remainingseconds());
22624     }
22625 
22626   }
22627   total_size += unknown_fields().size();
22628 
22629   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
22630   _cached_size_ = total_size;
22631   GOOGLE_SAFE_CONCURRENT_WRITES_END();
22632   return total_size;
22633 }
22634 
22635 void TimeoutWarningMessage::CheckTypeAndMergeFrom(
22636     const ::google::protobuf::MessageLite& from) {
22637   MergeFrom(*::google::protobuf::down_cast<const TimeoutWarningMessage*>(&from));
22638 }
22639 
22640 void TimeoutWarningMessage::MergeFrom(const TimeoutWarningMessage& from) {
22641   GOOGLE_CHECK_NE(&from, this);
22642   if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
22643     if (from.has_timeoutreason()) {
22644       set_timeoutreason(from.timeoutreason());
22645     }
22646     if (from.has_remainingseconds()) {
22647       set_remainingseconds(from.remainingseconds());
22648     }
22649   }
22650   mutable_unknown_fields()->append(from.unknown_fields());
22651 }
22652 
22653 void TimeoutWarningMessage::CopyFrom(const TimeoutWarningMessage& from) {
22654   if (&from == this) return;
22655   Clear();
22656   MergeFrom(from);
22657 }
22658 
22659 bool TimeoutWarningMessage::IsInitialized() const {
22660   if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false;
22661 
22662   return true;
22663 }
22664 
22665 void TimeoutWarningMessage::Swap(TimeoutWarningMessage* other) {
22666   if (other != this) {
22667     std::swap(timeoutreason_, other->timeoutreason_);
22668     std::swap(remainingseconds_, other->remainingseconds_);
22669     std::swap(_has_bits_[0], other->_has_bits_[0]);
22670     _unknown_fields_.swap(other->_unknown_fields_);
22671     std::swap(_cached_size_, other->_cached_size_);
22672   }
22673 }
22674 
22675 ::std::string TimeoutWarningMessage::GetTypeName() const {
22676   return "TimeoutWarningMessage";
22677 }
22678 
22679 
22680 // ===================================================================
22681 
22682 #ifndef _MSC_VER
22683 #endif  // !_MSC_VER
22684 
22685 ResetTimeoutMessage::ResetTimeoutMessage()
22686   : ::google::protobuf::MessageLite() {
22687   SharedCtor();
22688   // @@protoc_insertion_point(constructor:ResetTimeoutMessage)
22689 }
22690 
22691 void ResetTimeoutMessage::InitAsDefaultInstance() {
22692 }
22693 
22694 ResetTimeoutMessage::ResetTimeoutMessage(const ResetTimeoutMessage& from)
22695   : ::google::protobuf::MessageLite() {
22696   SharedCtor();
22697   MergeFrom(from);
22698   // @@protoc_insertion_point(copy_constructor:ResetTimeoutMessage)
22699 }
22700 
22701 void ResetTimeoutMessage::SharedCtor() {
22702   _cached_size_ = 0;
22703   ::memset(_has_bits_, 0, sizeof(_has_bits_));
22704 }
22705 
22706 ResetTimeoutMessage::~ResetTimeoutMessage() {
22707   // @@protoc_insertion_point(destructor:ResetTimeoutMessage)
22708   SharedDtor();
22709 }
22710 
22711 void ResetTimeoutMessage::SharedDtor() {
22712   #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
22713   if (this != &default_instance()) {
22714   #else
22715   if (this != default_instance_) {
22716   #endif
22717   }
22718 }
22719 
22720 void ResetTimeoutMessage::SetCachedSize(int size) const {
22721   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
22722   _cached_size_ = size;
22723   GOOGLE_SAFE_CONCURRENT_WRITES_END();
22724 }
22725 const ResetTimeoutMessage& ResetTimeoutMessage::default_instance() {
22726 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
22727   protobuf_AddDesc_pokerth_2eproto();
22728 #else
22729   if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto();
22730 #endif
22731   return *default_instance_;
22732 }
22733 
22734 ResetTimeoutMessage* ResetTimeoutMessage::default_instance_ = NULL;
22735 
22736 ResetTimeoutMessage* ResetTimeoutMessage::New() const {
22737   return new ResetTimeoutMessage;
22738 }
22739 
22740 void ResetTimeoutMessage::Clear() {
22741   ::memset(_has_bits_, 0, sizeof(_has_bits_));
22742   mutable_unknown_fields()->clear();
22743 }
22744 
22745 bool ResetTimeoutMessage::MergePartialFromCodedStream(
22746     ::google::protobuf::io::CodedInputStream* input) {
22747 #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
22748   ::google::protobuf::uint32 tag;
22749   ::google::protobuf::io::StringOutputStream unknown_fields_string(
22750       mutable_unknown_fields());
22751   ::google::protobuf::io::CodedOutputStream unknown_fields_stream(
22752       &unknown_fields_string);
22753   // @@protoc_insertion_point(parse_start:ResetTimeoutMessage)
22754   for (;;) {
22755     ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
22756     tag = p.first;
22757     if (!p.second) goto handle_unusual;
22758   handle_unusual:
22759     if (tag == 0 ||
22760         ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
22761         ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
22762       goto success;
22763     }
22764     DO_(::google::protobuf::internal::WireFormatLite::SkipField(
22765         input, tag, &unknown_fields_stream));
22766   }
22767 success:
22768   // @@protoc_insertion_point(parse_success:ResetTimeoutMessage)
22769   return true;
22770 failure:
22771   // @@protoc_insertion_point(parse_failure:ResetTimeoutMessage)
22772   return false;
22773 #undef DO_
22774 }
22775 
22776 void ResetTimeoutMessage::SerializeWithCachedSizes(
22777     ::google::protobuf::io::CodedOutputStream* output) const {
22778   // @@protoc_insertion_point(serialize_start:ResetTimeoutMessage)
22779   output->WriteRaw(unknown_fields().data(),
22780                    unknown_fields().size());
22781   // @@protoc_insertion_point(serialize_end:ResetTimeoutMessage)
22782 }
22783 
22784 int ResetTimeoutMessage::ByteSize() const {
22785   int total_size = 0;
22786 
22787   total_size += unknown_fields().size();
22788 
22789   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
22790   _cached_size_ = total_size;
22791   GOOGLE_SAFE_CONCURRENT_WRITES_END();
22792   return total_size;
22793 }
22794 
22795 void ResetTimeoutMessage::CheckTypeAndMergeFrom(
22796     const ::google::protobuf::MessageLite& from) {
22797   MergeFrom(*::google::protobuf::down_cast<const ResetTimeoutMessage*>(&from));
22798 }
22799 
22800 void ResetTimeoutMessage::MergeFrom(const ResetTimeoutMessage& from) {
22801   GOOGLE_CHECK_NE(&from, this);
22802   mutable_unknown_fields()->append(from.unknown_fields());
22803 }
22804 
22805 void ResetTimeoutMessage::CopyFrom(const ResetTimeoutMessage& from) {
22806   if (&from == this) return;
22807   Clear();
22808   MergeFrom(from);
22809 }
22810 
22811 bool ResetTimeoutMessage::IsInitialized() const {
22812 
22813   return true;
22814 }
22815 
22816 void ResetTimeoutMessage::Swap(ResetTimeoutMessage* other) {
22817   if (other != this) {
22818     _unknown_fields_.swap(other->_unknown_fields_);
22819     std::swap(_cached_size_, other->_cached_size_);
22820   }
22821 }
22822 
22823 ::std::string ResetTimeoutMessage::GetTypeName() const {
22824   return "ResetTimeoutMessage";
22825 }
22826 
22827 
22828 // ===================================================================
22829 
22830 #ifndef _MSC_VER
22831 const int ReportAvatarMessage::kReportedPlayerIdFieldNumber;
22832 const int ReportAvatarMessage::kReportedAvatarHashFieldNumber;
22833 #endif  // !_MSC_VER
22834 
22835 ReportAvatarMessage::ReportAvatarMessage()
22836   : ::google::protobuf::MessageLite() {
22837   SharedCtor();
22838   // @@protoc_insertion_point(constructor:ReportAvatarMessage)
22839 }
22840 
22841 void ReportAvatarMessage::InitAsDefaultInstance() {
22842 }
22843 
22844 ReportAvatarMessage::ReportAvatarMessage(const ReportAvatarMessage& from)
22845   : ::google::protobuf::MessageLite() {
22846   SharedCtor();
22847   MergeFrom(from);
22848   // @@protoc_insertion_point(copy_constructor:ReportAvatarMessage)
22849 }
22850 
22851 void ReportAvatarMessage::SharedCtor() {
22852   ::google::protobuf::internal::GetEmptyString();
22853   _cached_size_ = 0;
22854   reportedplayerid_ = 0u;
22855   reportedavatarhash_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
22856   ::memset(_has_bits_, 0, sizeof(_has_bits_));
22857 }
22858 
22859 ReportAvatarMessage::~ReportAvatarMessage() {
22860   // @@protoc_insertion_point(destructor:ReportAvatarMessage)
22861   SharedDtor();
22862 }
22863 
22864 void ReportAvatarMessage::SharedDtor() {
22865   if (reportedavatarhash_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
22866     delete reportedavatarhash_;
22867   }
22868   #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
22869   if (this != &default_instance()) {
22870   #else
22871   if (this != default_instance_) {
22872   #endif
22873   }
22874 }
22875 
22876 void ReportAvatarMessage::SetCachedSize(int size) const {
22877   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
22878   _cached_size_ = size;
22879   GOOGLE_SAFE_CONCURRENT_WRITES_END();
22880 }
22881 const ReportAvatarMessage& ReportAvatarMessage::default_instance() {
22882 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
22883   protobuf_AddDesc_pokerth_2eproto();
22884 #else
22885   if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto();
22886 #endif
22887   return *default_instance_;
22888 }
22889 
22890 ReportAvatarMessage* ReportAvatarMessage::default_instance_ = NULL;
22891 
22892 ReportAvatarMessage* ReportAvatarMessage::New() const {
22893   return new ReportAvatarMessage;
22894 }
22895 
22896 void ReportAvatarMessage::Clear() {
22897   if (_has_bits_[0 / 32] & 3) {
22898     reportedplayerid_ = 0u;
22899     if (has_reportedavatarhash()) {
22900       if (reportedavatarhash_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
22901         reportedavatarhash_->clear();
22902       }
22903     }
22904   }
22905   ::memset(_has_bits_, 0, sizeof(_has_bits_));
22906   mutable_unknown_fields()->clear();
22907 }
22908 
22909 bool ReportAvatarMessage::MergePartialFromCodedStream(
22910     ::google::protobuf::io::CodedInputStream* input) {
22911 #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
22912   ::google::protobuf::uint32 tag;
22913   ::google::protobuf::io::StringOutputStream unknown_fields_string(
22914       mutable_unknown_fields());
22915   ::google::protobuf::io::CodedOutputStream unknown_fields_stream(
22916       &unknown_fields_string);
22917   // @@protoc_insertion_point(parse_start:ReportAvatarMessage)
22918   for (;;) {
22919     ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
22920     tag = p.first;
22921     if (!p.second) goto handle_unusual;
22922     switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
22923       // required uint32 reportedPlayerId = 1;
22924       case 1: {
22925         if (tag == 8) {
22926           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
22927                    ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
22928                  input, &reportedplayerid_)));
22929           set_has_reportedplayerid();
22930         } else {
22931           goto handle_unusual;
22932         }
22933         if (input->ExpectTag(18)) goto parse_reportedAvatarHash;
22934         break;
22935       }
22936 
22937       // required bytes reportedAvatarHash = 2;
22938       case 2: {
22939         if (tag == 18) {
22940          parse_reportedAvatarHash:
22941           DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
22942                 input, this->mutable_reportedavatarhash()));
22943         } else {
22944           goto handle_unusual;
22945         }
22946         if (input->ExpectAtEnd()) goto success;
22947         break;
22948       }
22949 
22950       default: {
22951       handle_unusual:
22952         if (tag == 0 ||
22953             ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
22954             ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
22955           goto success;
22956         }
22957         DO_(::google::protobuf::internal::WireFormatLite::SkipField(
22958             input, tag, &unknown_fields_stream));
22959         break;
22960       }
22961     }
22962   }
22963 success:
22964   // @@protoc_insertion_point(parse_success:ReportAvatarMessage)
22965   return true;
22966 failure:
22967   // @@protoc_insertion_point(parse_failure:ReportAvatarMessage)
22968   return false;
22969 #undef DO_
22970 }
22971 
22972 void ReportAvatarMessage::SerializeWithCachedSizes(
22973     ::google::protobuf::io::CodedOutputStream* output) const {
22974   // @@protoc_insertion_point(serialize_start:ReportAvatarMessage)
22975   // required uint32 reportedPlayerId = 1;
22976   if (has_reportedplayerid()) {
22977     ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->reportedplayerid(), output);
22978   }
22979 
22980   // required bytes reportedAvatarHash = 2;
22981   if (has_reportedavatarhash()) {
22982     ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased(
22983       2, this->reportedavatarhash(), output);
22984   }
22985 
22986   output->WriteRaw(unknown_fields().data(),
22987                    unknown_fields().size());
22988   // @@protoc_insertion_point(serialize_end:ReportAvatarMessage)
22989 }
22990 
22991 int ReportAvatarMessage::ByteSize() const {
22992   int total_size = 0;
22993 
22994   if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
22995     // required uint32 reportedPlayerId = 1;
22996     if (has_reportedplayerid()) {
22997       total_size += 1 +
22998         ::google::protobuf::internal::WireFormatLite::UInt32Size(
22999           this->reportedplayerid());
23000     }
23001 
23002     // required bytes reportedAvatarHash = 2;
23003     if (has_reportedavatarhash()) {
23004       total_size += 1 +
23005         ::google::protobuf::internal::WireFormatLite::BytesSize(
23006           this->reportedavatarhash());
23007     }
23008 
23009   }
23010   total_size += unknown_fields().size();
23011 
23012   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
23013   _cached_size_ = total_size;
23014   GOOGLE_SAFE_CONCURRENT_WRITES_END();
23015   return total_size;
23016 }
23017 
23018 void ReportAvatarMessage::CheckTypeAndMergeFrom(
23019     const ::google::protobuf::MessageLite& from) {
23020   MergeFrom(*::google::protobuf::down_cast<const ReportAvatarMessage*>(&from));
23021 }
23022 
23023 void ReportAvatarMessage::MergeFrom(const ReportAvatarMessage& from) {
23024   GOOGLE_CHECK_NE(&from, this);
23025   if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
23026     if (from.has_reportedplayerid()) {
23027       set_reportedplayerid(from.reportedplayerid());
23028     }
23029     if (from.has_reportedavatarhash()) {
23030       set_reportedavatarhash(from.reportedavatarhash());
23031     }
23032   }
23033   mutable_unknown_fields()->append(from.unknown_fields());
23034 }
23035 
23036 void ReportAvatarMessage::CopyFrom(const ReportAvatarMessage& from) {
23037   if (&from == this) return;
23038   Clear();
23039   MergeFrom(from);
23040 }
23041 
23042 bool ReportAvatarMessage::IsInitialized() const {
23043   if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false;
23044 
23045   return true;
23046 }
23047 
23048 void ReportAvatarMessage::Swap(ReportAvatarMessage* other) {
23049   if (other != this) {
23050     std::swap(reportedplayerid_, other->reportedplayerid_);
23051     std::swap(reportedavatarhash_, other->reportedavatarhash_);
23052     std::swap(_has_bits_[0], other->_has_bits_[0]);
23053     _unknown_fields_.swap(other->_unknown_fields_);
23054     std::swap(_cached_size_, other->_cached_size_);
23055   }
23056 }
23057 
23058 ::std::string ReportAvatarMessage::GetTypeName() const {
23059   return "ReportAvatarMessage";
23060 }
23061 
23062 
23063 // ===================================================================
23064 
23065 bool ReportAvatarAckMessage_ReportAvatarResult_IsValid(int value) {
23066   switch(value) {
23067     case 0:
23068     case 1:
23069     case 2:
23070       return true;
23071     default:
23072       return false;
23073   }
23074 }
23075 
23076 #ifndef _MSC_VER
23077 const ReportAvatarAckMessage_ReportAvatarResult ReportAvatarAckMessage::avatarReportAccepted;
23078 const ReportAvatarAckMessage_ReportAvatarResult ReportAvatarAckMessage::avatarReportDuplicate;
23079 const ReportAvatarAckMessage_ReportAvatarResult ReportAvatarAckMessage::avatarReportInvalid;
23080 const ReportAvatarAckMessage_ReportAvatarResult ReportAvatarAckMessage::ReportAvatarResult_MIN;
23081 const ReportAvatarAckMessage_ReportAvatarResult ReportAvatarAckMessage::ReportAvatarResult_MAX;
23082 const int ReportAvatarAckMessage::ReportAvatarResult_ARRAYSIZE;
23083 #endif  // _MSC_VER
23084 #ifndef _MSC_VER
23085 const int ReportAvatarAckMessage::kReportedPlayerIdFieldNumber;
23086 const int ReportAvatarAckMessage::kReportAvatarResultFieldNumber;
23087 #endif  // !_MSC_VER
23088 
23089 ReportAvatarAckMessage::ReportAvatarAckMessage()
23090   : ::google::protobuf::MessageLite() {
23091   SharedCtor();
23092   // @@protoc_insertion_point(constructor:ReportAvatarAckMessage)
23093 }
23094 
23095 void ReportAvatarAckMessage::InitAsDefaultInstance() {
23096 }
23097 
23098 ReportAvatarAckMessage::ReportAvatarAckMessage(const ReportAvatarAckMessage& from)
23099   : ::google::protobuf::MessageLite() {
23100   SharedCtor();
23101   MergeFrom(from);
23102   // @@protoc_insertion_point(copy_constructor:ReportAvatarAckMessage)
23103 }
23104 
23105 void ReportAvatarAckMessage::SharedCtor() {
23106   _cached_size_ = 0;
23107   reportedplayerid_ = 0u;
23108   reportavatarresult_ = 0;
23109   ::memset(_has_bits_, 0, sizeof(_has_bits_));
23110 }
23111 
23112 ReportAvatarAckMessage::~ReportAvatarAckMessage() {
23113   // @@protoc_insertion_point(destructor:ReportAvatarAckMessage)
23114   SharedDtor();
23115 }
23116 
23117 void ReportAvatarAckMessage::SharedDtor() {
23118   #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
23119   if (this != &default_instance()) {
23120   #else
23121   if (this != default_instance_) {
23122   #endif
23123   }
23124 }
23125 
23126 void ReportAvatarAckMessage::SetCachedSize(int size) const {
23127   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
23128   _cached_size_ = size;
23129   GOOGLE_SAFE_CONCURRENT_WRITES_END();
23130 }
23131 const ReportAvatarAckMessage& ReportAvatarAckMessage::default_instance() {
23132 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
23133   protobuf_AddDesc_pokerth_2eproto();
23134 #else
23135   if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto();
23136 #endif
23137   return *default_instance_;
23138 }
23139 
23140 ReportAvatarAckMessage* ReportAvatarAckMessage::default_instance_ = NULL;
23141 
23142 ReportAvatarAckMessage* ReportAvatarAckMessage::New() const {
23143   return new ReportAvatarAckMessage;
23144 }
23145 
23146 void ReportAvatarAckMessage::Clear() {
23147 #define OFFSET_OF_FIELD_(f) (reinterpret_cast<char*>(      \
23148   &reinterpret_cast<ReportAvatarAckMessage*>(16)->f) - \
23149    reinterpret_cast<char*>(16))
23150 
23151 #define ZR_(first, last) do {                              \
23152     size_t f = OFFSET_OF_FIELD_(first);                    \
23153     size_t n = OFFSET_OF_FIELD_(last) - f + sizeof(last);  \
23154     ::memset(&first, 0, n);                                \
23155   } while (0)
23156 
23157   ZR_(reportedplayerid_, reportavatarresult_);
23158 
23159 #undef OFFSET_OF_FIELD_
23160 #undef ZR_
23161 
23162   ::memset(_has_bits_, 0, sizeof(_has_bits_));
23163   mutable_unknown_fields()->clear();
23164 }
23165 
23166 bool ReportAvatarAckMessage::MergePartialFromCodedStream(
23167     ::google::protobuf::io::CodedInputStream* input) {
23168 #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
23169   ::google::protobuf::uint32 tag;
23170   ::google::protobuf::io::StringOutputStream unknown_fields_string(
23171       mutable_unknown_fields());
23172   ::google::protobuf::io::CodedOutputStream unknown_fields_stream(
23173       &unknown_fields_string);
23174   // @@protoc_insertion_point(parse_start:ReportAvatarAckMessage)
23175   for (;;) {
23176     ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
23177     tag = p.first;
23178     if (!p.second) goto handle_unusual;
23179     switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
23180       // required uint32 reportedPlayerId = 1;
23181       case 1: {
23182         if (tag == 8) {
23183           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
23184                    ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
23185                  input, &reportedplayerid_)));
23186           set_has_reportedplayerid();
23187         } else {
23188           goto handle_unusual;
23189         }
23190         if (input->ExpectTag(16)) goto parse_reportAvatarResult;
23191         break;
23192       }
23193 
23194       // required .ReportAvatarAckMessage.ReportAvatarResult reportAvatarResult = 2;
23195       case 2: {
23196         if (tag == 16) {
23197          parse_reportAvatarResult:
23198           int value;
23199           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
23200                    int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
23201                  input, &value)));
23202           if (::ReportAvatarAckMessage_ReportAvatarResult_IsValid(value)) {
23203             set_reportavatarresult(static_cast< ::ReportAvatarAckMessage_ReportAvatarResult >(value));
23204           } else {
23205             unknown_fields_stream.WriteVarint32(tag);
23206             unknown_fields_stream.WriteVarint32(value);
23207           }
23208         } else {
23209           goto handle_unusual;
23210         }
23211         if (input->ExpectAtEnd()) goto success;
23212         break;
23213       }
23214 
23215       default: {
23216       handle_unusual:
23217         if (tag == 0 ||
23218             ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
23219             ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
23220           goto success;
23221         }
23222         DO_(::google::protobuf::internal::WireFormatLite::SkipField(
23223             input, tag, &unknown_fields_stream));
23224         break;
23225       }
23226     }
23227   }
23228 success:
23229   // @@protoc_insertion_point(parse_success:ReportAvatarAckMessage)
23230   return true;
23231 failure:
23232   // @@protoc_insertion_point(parse_failure:ReportAvatarAckMessage)
23233   return false;
23234 #undef DO_
23235 }
23236 
23237 void ReportAvatarAckMessage::SerializeWithCachedSizes(
23238     ::google::protobuf::io::CodedOutputStream* output) const {
23239   // @@protoc_insertion_point(serialize_start:ReportAvatarAckMessage)
23240   // required uint32 reportedPlayerId = 1;
23241   if (has_reportedplayerid()) {
23242     ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->reportedplayerid(), output);
23243   }
23244 
23245   // required .ReportAvatarAckMessage.ReportAvatarResult reportAvatarResult = 2;
23246   if (has_reportavatarresult()) {
23247     ::google::protobuf::internal::WireFormatLite::WriteEnum(
23248       2, this->reportavatarresult(), output);
23249   }
23250 
23251   output->WriteRaw(unknown_fields().data(),
23252                    unknown_fields().size());
23253   // @@protoc_insertion_point(serialize_end:ReportAvatarAckMessage)
23254 }
23255 
23256 int ReportAvatarAckMessage::ByteSize() const {
23257   int total_size = 0;
23258 
23259   if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
23260     // required uint32 reportedPlayerId = 1;
23261     if (has_reportedplayerid()) {
23262       total_size += 1 +
23263         ::google::protobuf::internal::WireFormatLite::UInt32Size(
23264           this->reportedplayerid());
23265     }
23266 
23267     // required .ReportAvatarAckMessage.ReportAvatarResult reportAvatarResult = 2;
23268     if (has_reportavatarresult()) {
23269       total_size += 1 +
23270         ::google::protobuf::internal::WireFormatLite::EnumSize(this->reportavatarresult());
23271     }
23272 
23273   }
23274   total_size += unknown_fields().size();
23275 
23276   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
23277   _cached_size_ = total_size;
23278   GOOGLE_SAFE_CONCURRENT_WRITES_END();
23279   return total_size;
23280 }
23281 
23282 void ReportAvatarAckMessage::CheckTypeAndMergeFrom(
23283     const ::google::protobuf::MessageLite& from) {
23284   MergeFrom(*::google::protobuf::down_cast<const ReportAvatarAckMessage*>(&from));
23285 }
23286 
23287 void ReportAvatarAckMessage::MergeFrom(const ReportAvatarAckMessage& from) {
23288   GOOGLE_CHECK_NE(&from, this);
23289   if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
23290     if (from.has_reportedplayerid()) {
23291       set_reportedplayerid(from.reportedplayerid());
23292     }
23293     if (from.has_reportavatarresult()) {
23294       set_reportavatarresult(from.reportavatarresult());
23295     }
23296   }
23297   mutable_unknown_fields()->append(from.unknown_fields());
23298 }
23299 
23300 void ReportAvatarAckMessage::CopyFrom(const ReportAvatarAckMessage& from) {
23301   if (&from == this) return;
23302   Clear();
23303   MergeFrom(from);
23304 }
23305 
23306 bool ReportAvatarAckMessage::IsInitialized() const {
23307   if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false;
23308 
23309   return true;
23310 }
23311 
23312 void ReportAvatarAckMessage::Swap(ReportAvatarAckMessage* other) {
23313   if (other != this) {
23314     std::swap(reportedplayerid_, other->reportedplayerid_);
23315     std::swap(reportavatarresult_, other->reportavatarresult_);
23316     std::swap(_has_bits_[0], other->_has_bits_[0]);
23317     _unknown_fields_.swap(other->_unknown_fields_);
23318     std::swap(_cached_size_, other->_cached_size_);
23319   }
23320 }
23321 
23322 ::std::string ReportAvatarAckMessage::GetTypeName() const {
23323   return "ReportAvatarAckMessage";
23324 }
23325 
23326 
23327 // ===================================================================
23328 
23329 #ifndef _MSC_VER
23330 const int ReportGameMessage::kReportedGameIdFieldNumber;
23331 #endif  // !_MSC_VER
23332 
23333 ReportGameMessage::ReportGameMessage()
23334   : ::google::protobuf::MessageLite() {
23335   SharedCtor();
23336   // @@protoc_insertion_point(constructor:ReportGameMessage)
23337 }
23338 
23339 void ReportGameMessage::InitAsDefaultInstance() {
23340 }
23341 
23342 ReportGameMessage::ReportGameMessage(const ReportGameMessage& from)
23343   : ::google::protobuf::MessageLite() {
23344   SharedCtor();
23345   MergeFrom(from);
23346   // @@protoc_insertion_point(copy_constructor:ReportGameMessage)
23347 }
23348 
23349 void ReportGameMessage::SharedCtor() {
23350   _cached_size_ = 0;
23351   reportedgameid_ = 0u;
23352   ::memset(_has_bits_, 0, sizeof(_has_bits_));
23353 }
23354 
23355 ReportGameMessage::~ReportGameMessage() {
23356   // @@protoc_insertion_point(destructor:ReportGameMessage)
23357   SharedDtor();
23358 }
23359 
23360 void ReportGameMessage::SharedDtor() {
23361   #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
23362   if (this != &default_instance()) {
23363   #else
23364   if (this != default_instance_) {
23365   #endif
23366   }
23367 }
23368 
23369 void ReportGameMessage::SetCachedSize(int size) const {
23370   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
23371   _cached_size_ = size;
23372   GOOGLE_SAFE_CONCURRENT_WRITES_END();
23373 }
23374 const ReportGameMessage& ReportGameMessage::default_instance() {
23375 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
23376   protobuf_AddDesc_pokerth_2eproto();
23377 #else
23378   if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto();
23379 #endif
23380   return *default_instance_;
23381 }
23382 
23383 ReportGameMessage* ReportGameMessage::default_instance_ = NULL;
23384 
23385 ReportGameMessage* ReportGameMessage::New() const {
23386   return new ReportGameMessage;
23387 }
23388 
23389 void ReportGameMessage::Clear() {
23390   reportedgameid_ = 0u;
23391   ::memset(_has_bits_, 0, sizeof(_has_bits_));
23392   mutable_unknown_fields()->clear();
23393 }
23394 
23395 bool ReportGameMessage::MergePartialFromCodedStream(
23396     ::google::protobuf::io::CodedInputStream* input) {
23397 #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
23398   ::google::protobuf::uint32 tag;
23399   ::google::protobuf::io::StringOutputStream unknown_fields_string(
23400       mutable_unknown_fields());
23401   ::google::protobuf::io::CodedOutputStream unknown_fields_stream(
23402       &unknown_fields_string);
23403   // @@protoc_insertion_point(parse_start:ReportGameMessage)
23404   for (;;) {
23405     ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
23406     tag = p.first;
23407     if (!p.second) goto handle_unusual;
23408     switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
23409       // required uint32 reportedGameId = 1;
23410       case 1: {
23411         if (tag == 8) {
23412           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
23413                    ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
23414                  input, &reportedgameid_)));
23415           set_has_reportedgameid();
23416         } else {
23417           goto handle_unusual;
23418         }
23419         if (input->ExpectAtEnd()) goto success;
23420         break;
23421       }
23422 
23423       default: {
23424       handle_unusual:
23425         if (tag == 0 ||
23426             ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
23427             ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
23428           goto success;
23429         }
23430         DO_(::google::protobuf::internal::WireFormatLite::SkipField(
23431             input, tag, &unknown_fields_stream));
23432         break;
23433       }
23434     }
23435   }
23436 success:
23437   // @@protoc_insertion_point(parse_success:ReportGameMessage)
23438   return true;
23439 failure:
23440   // @@protoc_insertion_point(parse_failure:ReportGameMessage)
23441   return false;
23442 #undef DO_
23443 }
23444 
23445 void ReportGameMessage::SerializeWithCachedSizes(
23446     ::google::protobuf::io::CodedOutputStream* output) const {
23447   // @@protoc_insertion_point(serialize_start:ReportGameMessage)
23448   // required uint32 reportedGameId = 1;
23449   if (has_reportedgameid()) {
23450     ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->reportedgameid(), output);
23451   }
23452 
23453   output->WriteRaw(unknown_fields().data(),
23454                    unknown_fields().size());
23455   // @@protoc_insertion_point(serialize_end:ReportGameMessage)
23456 }
23457 
23458 int ReportGameMessage::ByteSize() const {
23459   int total_size = 0;
23460 
23461   if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
23462     // required uint32 reportedGameId = 1;
23463     if (has_reportedgameid()) {
23464       total_size += 1 +
23465         ::google::protobuf::internal::WireFormatLite::UInt32Size(
23466           this->reportedgameid());
23467     }
23468 
23469   }
23470   total_size += unknown_fields().size();
23471 
23472   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
23473   _cached_size_ = total_size;
23474   GOOGLE_SAFE_CONCURRENT_WRITES_END();
23475   return total_size;
23476 }
23477 
23478 void ReportGameMessage::CheckTypeAndMergeFrom(
23479     const ::google::protobuf::MessageLite& from) {
23480   MergeFrom(*::google::protobuf::down_cast<const ReportGameMessage*>(&from));
23481 }
23482 
23483 void ReportGameMessage::MergeFrom(const ReportGameMessage& from) {
23484   GOOGLE_CHECK_NE(&from, this);
23485   if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
23486     if (from.has_reportedgameid()) {
23487       set_reportedgameid(from.reportedgameid());
23488     }
23489   }
23490   mutable_unknown_fields()->append(from.unknown_fields());
23491 }
23492 
23493 void ReportGameMessage::CopyFrom(const ReportGameMessage& from) {
23494   if (&from == this) return;
23495   Clear();
23496   MergeFrom(from);
23497 }
23498 
23499 bool ReportGameMessage::IsInitialized() const {
23500   if ((_has_bits_[0] & 0x00000001) != 0x00000001) return false;
23501 
23502   return true;
23503 }
23504 
23505 void ReportGameMessage::Swap(ReportGameMessage* other) {
23506   if (other != this) {
23507     std::swap(reportedgameid_, other->reportedgameid_);
23508     std::swap(_has_bits_[0], other->_has_bits_[0]);
23509     _unknown_fields_.swap(other->_unknown_fields_);
23510     std::swap(_cached_size_, other->_cached_size_);
23511   }
23512 }
23513 
23514 ::std::string ReportGameMessage::GetTypeName() const {
23515   return "ReportGameMessage";
23516 }
23517 
23518 
23519 // ===================================================================
23520 
23521 bool ReportGameAckMessage_ReportGameResult_IsValid(int value) {
23522   switch(value) {
23523     case 0:
23524     case 1:
23525     case 2:
23526       return true;
23527     default:
23528       return false;
23529   }
23530 }
23531 
23532 #ifndef _MSC_VER
23533 const ReportGameAckMessage_ReportGameResult ReportGameAckMessage::gameReportAccepted;
23534 const ReportGameAckMessage_ReportGameResult ReportGameAckMessage::gameReportDuplicate;
23535 const ReportGameAckMessage_ReportGameResult ReportGameAckMessage::gameReportInvalid;
23536 const ReportGameAckMessage_ReportGameResult ReportGameAckMessage::ReportGameResult_MIN;
23537 const ReportGameAckMessage_ReportGameResult ReportGameAckMessage::ReportGameResult_MAX;
23538 const int ReportGameAckMessage::ReportGameResult_ARRAYSIZE;
23539 #endif  // _MSC_VER
23540 #ifndef _MSC_VER
23541 const int ReportGameAckMessage::kReportedGameIdFieldNumber;
23542 const int ReportGameAckMessage::kReportGameResultFieldNumber;
23543 #endif  // !_MSC_VER
23544 
23545 ReportGameAckMessage::ReportGameAckMessage()
23546   : ::google::protobuf::MessageLite() {
23547   SharedCtor();
23548   // @@protoc_insertion_point(constructor:ReportGameAckMessage)
23549 }
23550 
23551 void ReportGameAckMessage::InitAsDefaultInstance() {
23552 }
23553 
23554 ReportGameAckMessage::ReportGameAckMessage(const ReportGameAckMessage& from)
23555   : ::google::protobuf::MessageLite() {
23556   SharedCtor();
23557   MergeFrom(from);
23558   // @@protoc_insertion_point(copy_constructor:ReportGameAckMessage)
23559 }
23560 
23561 void ReportGameAckMessage::SharedCtor() {
23562   _cached_size_ = 0;
23563   reportedgameid_ = 0u;
23564   reportgameresult_ = 0;
23565   ::memset(_has_bits_, 0, sizeof(_has_bits_));
23566 }
23567 
23568 ReportGameAckMessage::~ReportGameAckMessage() {
23569   // @@protoc_insertion_point(destructor:ReportGameAckMessage)
23570   SharedDtor();
23571 }
23572 
23573 void ReportGameAckMessage::SharedDtor() {
23574   #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
23575   if (this != &default_instance()) {
23576   #else
23577   if (this != default_instance_) {
23578   #endif
23579   }
23580 }
23581 
23582 void ReportGameAckMessage::SetCachedSize(int size) const {
23583   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
23584   _cached_size_ = size;
23585   GOOGLE_SAFE_CONCURRENT_WRITES_END();
23586 }
23587 const ReportGameAckMessage& ReportGameAckMessage::default_instance() {
23588 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
23589   protobuf_AddDesc_pokerth_2eproto();
23590 #else
23591   if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto();
23592 #endif
23593   return *default_instance_;
23594 }
23595 
23596 ReportGameAckMessage* ReportGameAckMessage::default_instance_ = NULL;
23597 
23598 ReportGameAckMessage* ReportGameAckMessage::New() const {
23599   return new ReportGameAckMessage;
23600 }
23601 
23602 void ReportGameAckMessage::Clear() {
23603 #define OFFSET_OF_FIELD_(f) (reinterpret_cast<char*>(      \
23604   &reinterpret_cast<ReportGameAckMessage*>(16)->f) - \
23605    reinterpret_cast<char*>(16))
23606 
23607 #define ZR_(first, last) do {                              \
23608     size_t f = OFFSET_OF_FIELD_(first);                    \
23609     size_t n = OFFSET_OF_FIELD_(last) - f + sizeof(last);  \
23610     ::memset(&first, 0, n);                                \
23611   } while (0)
23612 
23613   ZR_(reportedgameid_, reportgameresult_);
23614 
23615 #undef OFFSET_OF_FIELD_
23616 #undef ZR_
23617 
23618   ::memset(_has_bits_, 0, sizeof(_has_bits_));
23619   mutable_unknown_fields()->clear();
23620 }
23621 
23622 bool ReportGameAckMessage::MergePartialFromCodedStream(
23623     ::google::protobuf::io::CodedInputStream* input) {
23624 #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
23625   ::google::protobuf::uint32 tag;
23626   ::google::protobuf::io::StringOutputStream unknown_fields_string(
23627       mutable_unknown_fields());
23628   ::google::protobuf::io::CodedOutputStream unknown_fields_stream(
23629       &unknown_fields_string);
23630   // @@protoc_insertion_point(parse_start:ReportGameAckMessage)
23631   for (;;) {
23632     ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
23633     tag = p.first;
23634     if (!p.second) goto handle_unusual;
23635     switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
23636       // required uint32 reportedGameId = 1;
23637       case 1: {
23638         if (tag == 8) {
23639           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
23640                    ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
23641                  input, &reportedgameid_)));
23642           set_has_reportedgameid();
23643         } else {
23644           goto handle_unusual;
23645         }
23646         if (input->ExpectTag(16)) goto parse_reportGameResult;
23647         break;
23648       }
23649 
23650       // required .ReportGameAckMessage.ReportGameResult reportGameResult = 2;
23651       case 2: {
23652         if (tag == 16) {
23653          parse_reportGameResult:
23654           int value;
23655           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
23656                    int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
23657                  input, &value)));
23658           if (::ReportGameAckMessage_ReportGameResult_IsValid(value)) {
23659             set_reportgameresult(static_cast< ::ReportGameAckMessage_ReportGameResult >(value));
23660           } else {
23661             unknown_fields_stream.WriteVarint32(tag);
23662             unknown_fields_stream.WriteVarint32(value);
23663           }
23664         } else {
23665           goto handle_unusual;
23666         }
23667         if (input->ExpectAtEnd()) goto success;
23668         break;
23669       }
23670 
23671       default: {
23672       handle_unusual:
23673         if (tag == 0 ||
23674             ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
23675             ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
23676           goto success;
23677         }
23678         DO_(::google::protobuf::internal::WireFormatLite::SkipField(
23679             input, tag, &unknown_fields_stream));
23680         break;
23681       }
23682     }
23683   }
23684 success:
23685   // @@protoc_insertion_point(parse_success:ReportGameAckMessage)
23686   return true;
23687 failure:
23688   // @@protoc_insertion_point(parse_failure:ReportGameAckMessage)
23689   return false;
23690 #undef DO_
23691 }
23692 
23693 void ReportGameAckMessage::SerializeWithCachedSizes(
23694     ::google::protobuf::io::CodedOutputStream* output) const {
23695   // @@protoc_insertion_point(serialize_start:ReportGameAckMessage)
23696   // required uint32 reportedGameId = 1;
23697   if (has_reportedgameid()) {
23698     ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->reportedgameid(), output);
23699   }
23700 
23701   // required .ReportGameAckMessage.ReportGameResult reportGameResult = 2;
23702   if (has_reportgameresult()) {
23703     ::google::protobuf::internal::WireFormatLite::WriteEnum(
23704       2, this->reportgameresult(), output);
23705   }
23706 
23707   output->WriteRaw(unknown_fields().data(),
23708                    unknown_fields().size());
23709   // @@protoc_insertion_point(serialize_end:ReportGameAckMessage)
23710 }
23711 
23712 int ReportGameAckMessage::ByteSize() const {
23713   int total_size = 0;
23714 
23715   if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
23716     // required uint32 reportedGameId = 1;
23717     if (has_reportedgameid()) {
23718       total_size += 1 +
23719         ::google::protobuf::internal::WireFormatLite::UInt32Size(
23720           this->reportedgameid());
23721     }
23722 
23723     // required .ReportGameAckMessage.ReportGameResult reportGameResult = 2;
23724     if (has_reportgameresult()) {
23725       total_size += 1 +
23726         ::google::protobuf::internal::WireFormatLite::EnumSize(this->reportgameresult());
23727     }
23728 
23729   }
23730   total_size += unknown_fields().size();
23731 
23732   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
23733   _cached_size_ = total_size;
23734   GOOGLE_SAFE_CONCURRENT_WRITES_END();
23735   return total_size;
23736 }
23737 
23738 void ReportGameAckMessage::CheckTypeAndMergeFrom(
23739     const ::google::protobuf::MessageLite& from) {
23740   MergeFrom(*::google::protobuf::down_cast<const ReportGameAckMessage*>(&from));
23741 }
23742 
23743 void ReportGameAckMessage::MergeFrom(const ReportGameAckMessage& from) {
23744   GOOGLE_CHECK_NE(&from, this);
23745   if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
23746     if (from.has_reportedgameid()) {
23747       set_reportedgameid(from.reportedgameid());
23748     }
23749     if (from.has_reportgameresult()) {
23750       set_reportgameresult(from.reportgameresult());
23751     }
23752   }
23753   mutable_unknown_fields()->append(from.unknown_fields());
23754 }
23755 
23756 void ReportGameAckMessage::CopyFrom(const ReportGameAckMessage& from) {
23757   if (&from == this) return;
23758   Clear();
23759   MergeFrom(from);
23760 }
23761 
23762 bool ReportGameAckMessage::IsInitialized() const {
23763   if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false;
23764 
23765   return true;
23766 }
23767 
23768 void ReportGameAckMessage::Swap(ReportGameAckMessage* other) {
23769   if (other != this) {
23770     std::swap(reportedgameid_, other->reportedgameid_);
23771     std::swap(reportgameresult_, other->reportgameresult_);
23772     std::swap(_has_bits_[0], other->_has_bits_[0]);
23773     _unknown_fields_.swap(other->_unknown_fields_);
23774     std::swap(_cached_size_, other->_cached_size_);
23775   }
23776 }
23777 
23778 ::std::string ReportGameAckMessage::GetTypeName() const {
23779   return "ReportGameAckMessage";
23780 }
23781 
23782 
23783 // ===================================================================
23784 
23785 bool ErrorMessage_ErrorReason_IsValid(int value) {
23786   switch(value) {
23787     case 0:
23788     case 1:
23789     case 2:
23790     case 3:
23791     case 4:
23792     case 5:
23793     case 6:
23794     case 7:
23795     case 8:
23796     case 9:
23797     case 10:
23798     case 11:
23799     case 12:
23800     case 13:
23801     case 14:
23802       return true;
23803     default:
23804       return false;
23805   }
23806 }
23807 
23808 #ifndef _MSC_VER
23809 const ErrorMessage_ErrorReason ErrorMessage::reserved;
23810 const ErrorMessage_ErrorReason ErrorMessage::initVersionNotSupported;
23811 const ErrorMessage_ErrorReason ErrorMessage::initServerFull;
23812 const ErrorMessage_ErrorReason ErrorMessage::initAuthFailure;
23813 const ErrorMessage_ErrorReason ErrorMessage::initPlayerNameInUse;
23814 const ErrorMessage_ErrorReason ErrorMessage::initInvalidPlayerName;
23815 const ErrorMessage_ErrorReason ErrorMessage::initServerMaintenance;
23816 const ErrorMessage_ErrorReason ErrorMessage::initBlocked;
23817 const ErrorMessage_ErrorReason ErrorMessage::avatarTooLarge;
23818 const ErrorMessage_ErrorReason ErrorMessage::invalidPacket;
23819 const ErrorMessage_ErrorReason ErrorMessage::invalidState;
23820 const ErrorMessage_ErrorReason ErrorMessage::kickedFromServer;
23821 const ErrorMessage_ErrorReason ErrorMessage::bannedFromServer;
23822 const ErrorMessage_ErrorReason ErrorMessage::blockedByServer;
23823 const ErrorMessage_ErrorReason ErrorMessage::sessionTimeout;
23824 const ErrorMessage_ErrorReason ErrorMessage::ErrorReason_MIN;
23825 const ErrorMessage_ErrorReason ErrorMessage::ErrorReason_MAX;
23826 const int ErrorMessage::ErrorReason_ARRAYSIZE;
23827 #endif  // _MSC_VER
23828 #ifndef _MSC_VER
23829 const int ErrorMessage::kErrorReasonFieldNumber;
23830 #endif  // !_MSC_VER
23831 
23832 ErrorMessage::ErrorMessage()
23833   : ::google::protobuf::MessageLite() {
23834   SharedCtor();
23835   // @@protoc_insertion_point(constructor:ErrorMessage)
23836 }
23837 
23838 void ErrorMessage::InitAsDefaultInstance() {
23839 }
23840 
23841 ErrorMessage::ErrorMessage(const ErrorMessage& from)
23842   : ::google::protobuf::MessageLite() {
23843   SharedCtor();
23844   MergeFrom(from);
23845   // @@protoc_insertion_point(copy_constructor:ErrorMessage)
23846 }
23847 
23848 void ErrorMessage::SharedCtor() {
23849   _cached_size_ = 0;
23850   errorreason_ = 0;
23851   ::memset(_has_bits_, 0, sizeof(_has_bits_));
23852 }
23853 
23854 ErrorMessage::~ErrorMessage() {
23855   // @@protoc_insertion_point(destructor:ErrorMessage)
23856   SharedDtor();
23857 }
23858 
23859 void ErrorMessage::SharedDtor() {
23860   #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
23861   if (this != &default_instance()) {
23862   #else
23863   if (this != default_instance_) {
23864   #endif
23865   }
23866 }
23867 
23868 void ErrorMessage::SetCachedSize(int size) const {
23869   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
23870   _cached_size_ = size;
23871   GOOGLE_SAFE_CONCURRENT_WRITES_END();
23872 }
23873 const ErrorMessage& ErrorMessage::default_instance() {
23874 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
23875   protobuf_AddDesc_pokerth_2eproto();
23876 #else
23877   if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto();
23878 #endif
23879   return *default_instance_;
23880 }
23881 
23882 ErrorMessage* ErrorMessage::default_instance_ = NULL;
23883 
23884 ErrorMessage* ErrorMessage::New() const {
23885   return new ErrorMessage;
23886 }
23887 
23888 void ErrorMessage::Clear() {
23889   errorreason_ = 0;
23890   ::memset(_has_bits_, 0, sizeof(_has_bits_));
23891   mutable_unknown_fields()->clear();
23892 }
23893 
23894 bool ErrorMessage::MergePartialFromCodedStream(
23895     ::google::protobuf::io::CodedInputStream* input) {
23896 #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
23897   ::google::protobuf::uint32 tag;
23898   ::google::protobuf::io::StringOutputStream unknown_fields_string(
23899       mutable_unknown_fields());
23900   ::google::protobuf::io::CodedOutputStream unknown_fields_stream(
23901       &unknown_fields_string);
23902   // @@protoc_insertion_point(parse_start:ErrorMessage)
23903   for (;;) {
23904     ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
23905     tag = p.first;
23906     if (!p.second) goto handle_unusual;
23907     switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
23908       // required .ErrorMessage.ErrorReason errorReason = 1;
23909       case 1: {
23910         if (tag == 8) {
23911           int value;
23912           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
23913                    int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
23914                  input, &value)));
23915           if (::ErrorMessage_ErrorReason_IsValid(value)) {
23916             set_errorreason(static_cast< ::ErrorMessage_ErrorReason >(value));
23917           } else {
23918             unknown_fields_stream.WriteVarint32(tag);
23919             unknown_fields_stream.WriteVarint32(value);
23920           }
23921         } else {
23922           goto handle_unusual;
23923         }
23924         if (input->ExpectAtEnd()) goto success;
23925         break;
23926       }
23927 
23928       default: {
23929       handle_unusual:
23930         if (tag == 0 ||
23931             ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
23932             ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
23933           goto success;
23934         }
23935         DO_(::google::protobuf::internal::WireFormatLite::SkipField(
23936             input, tag, &unknown_fields_stream));
23937         break;
23938       }
23939     }
23940   }
23941 success:
23942   // @@protoc_insertion_point(parse_success:ErrorMessage)
23943   return true;
23944 failure:
23945   // @@protoc_insertion_point(parse_failure:ErrorMessage)
23946   return false;
23947 #undef DO_
23948 }
23949 
23950 void ErrorMessage::SerializeWithCachedSizes(
23951     ::google::protobuf::io::CodedOutputStream* output) const {
23952   // @@protoc_insertion_point(serialize_start:ErrorMessage)
23953   // required .ErrorMessage.ErrorReason errorReason = 1;
23954   if (has_errorreason()) {
23955     ::google::protobuf::internal::WireFormatLite::WriteEnum(
23956       1, this->errorreason(), output);
23957   }
23958 
23959   output->WriteRaw(unknown_fields().data(),
23960                    unknown_fields().size());
23961   // @@protoc_insertion_point(serialize_end:ErrorMessage)
23962 }
23963 
23964 int ErrorMessage::ByteSize() const {
23965   int total_size = 0;
23966 
23967   if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
23968     // required .ErrorMessage.ErrorReason errorReason = 1;
23969     if (has_errorreason()) {
23970       total_size += 1 +
23971         ::google::protobuf::internal::WireFormatLite::EnumSize(this->errorreason());
23972     }
23973 
23974   }
23975   total_size += unknown_fields().size();
23976 
23977   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
23978   _cached_size_ = total_size;
23979   GOOGLE_SAFE_CONCURRENT_WRITES_END();
23980   return total_size;
23981 }
23982 
23983 void ErrorMessage::CheckTypeAndMergeFrom(
23984     const ::google::protobuf::MessageLite& from) {
23985   MergeFrom(*::google::protobuf::down_cast<const ErrorMessage*>(&from));
23986 }
23987 
23988 void ErrorMessage::MergeFrom(const ErrorMessage& from) {
23989   GOOGLE_CHECK_NE(&from, this);
23990   if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
23991     if (from.has_errorreason()) {
23992       set_errorreason(from.errorreason());
23993     }
23994   }
23995   mutable_unknown_fields()->append(from.unknown_fields());
23996 }
23997 
23998 void ErrorMessage::CopyFrom(const ErrorMessage& from) {
23999   if (&from == this) return;
24000   Clear();
24001   MergeFrom(from);
24002 }
24003 
24004 bool ErrorMessage::IsInitialized() const {
24005   if ((_has_bits_[0] & 0x00000001) != 0x00000001) return false;
24006 
24007   return true;
24008 }
24009 
24010 void ErrorMessage::Swap(ErrorMessage* other) {
24011   if (other != this) {
24012     std::swap(errorreason_, other->errorreason_);
24013     std::swap(_has_bits_[0], other->_has_bits_[0]);
24014     _unknown_fields_.swap(other->_unknown_fields_);
24015     std::swap(_cached_size_, other->_cached_size_);
24016   }
24017 }
24018 
24019 ::std::string ErrorMessage::GetTypeName() const {
24020   return "ErrorMessage";
24021 }
24022 
24023 
24024 // ===================================================================
24025 
24026 #ifndef _MSC_VER
24027 const int AdminRemoveGameMessage::kRemoveGameIdFieldNumber;
24028 #endif  // !_MSC_VER
24029 
24030 AdminRemoveGameMessage::AdminRemoveGameMessage()
24031   : ::google::protobuf::MessageLite() {
24032   SharedCtor();
24033   // @@protoc_insertion_point(constructor:AdminRemoveGameMessage)
24034 }
24035 
24036 void AdminRemoveGameMessage::InitAsDefaultInstance() {
24037 }
24038 
24039 AdminRemoveGameMessage::AdminRemoveGameMessage(const AdminRemoveGameMessage& from)
24040   : ::google::protobuf::MessageLite() {
24041   SharedCtor();
24042   MergeFrom(from);
24043   // @@protoc_insertion_point(copy_constructor:AdminRemoveGameMessage)
24044 }
24045 
24046 void AdminRemoveGameMessage::SharedCtor() {
24047   _cached_size_ = 0;
24048   removegameid_ = 0u;
24049   ::memset(_has_bits_, 0, sizeof(_has_bits_));
24050 }
24051 
24052 AdminRemoveGameMessage::~AdminRemoveGameMessage() {
24053   // @@protoc_insertion_point(destructor:AdminRemoveGameMessage)
24054   SharedDtor();
24055 }
24056 
24057 void AdminRemoveGameMessage::SharedDtor() {
24058   #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
24059   if (this != &default_instance()) {
24060   #else
24061   if (this != default_instance_) {
24062   #endif
24063   }
24064 }
24065 
24066 void AdminRemoveGameMessage::SetCachedSize(int size) const {
24067   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
24068   _cached_size_ = size;
24069   GOOGLE_SAFE_CONCURRENT_WRITES_END();
24070 }
24071 const AdminRemoveGameMessage& AdminRemoveGameMessage::default_instance() {
24072 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
24073   protobuf_AddDesc_pokerth_2eproto();
24074 #else
24075   if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto();
24076 #endif
24077   return *default_instance_;
24078 }
24079 
24080 AdminRemoveGameMessage* AdminRemoveGameMessage::default_instance_ = NULL;
24081 
24082 AdminRemoveGameMessage* AdminRemoveGameMessage::New() const {
24083   return new AdminRemoveGameMessage;
24084 }
24085 
24086 void AdminRemoveGameMessage::Clear() {
24087   removegameid_ = 0u;
24088   ::memset(_has_bits_, 0, sizeof(_has_bits_));
24089   mutable_unknown_fields()->clear();
24090 }
24091 
24092 bool AdminRemoveGameMessage::MergePartialFromCodedStream(
24093     ::google::protobuf::io::CodedInputStream* input) {
24094 #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
24095   ::google::protobuf::uint32 tag;
24096   ::google::protobuf::io::StringOutputStream unknown_fields_string(
24097       mutable_unknown_fields());
24098   ::google::protobuf::io::CodedOutputStream unknown_fields_stream(
24099       &unknown_fields_string);
24100   // @@protoc_insertion_point(parse_start:AdminRemoveGameMessage)
24101   for (;;) {
24102     ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
24103     tag = p.first;
24104     if (!p.second) goto handle_unusual;
24105     switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
24106       // required uint32 removeGameId = 1;
24107       case 1: {
24108         if (tag == 8) {
24109           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
24110                    ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
24111                  input, &removegameid_)));
24112           set_has_removegameid();
24113         } else {
24114           goto handle_unusual;
24115         }
24116         if (input->ExpectAtEnd()) goto success;
24117         break;
24118       }
24119 
24120       default: {
24121       handle_unusual:
24122         if (tag == 0 ||
24123             ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
24124             ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
24125           goto success;
24126         }
24127         DO_(::google::protobuf::internal::WireFormatLite::SkipField(
24128             input, tag, &unknown_fields_stream));
24129         break;
24130       }
24131     }
24132   }
24133 success:
24134   // @@protoc_insertion_point(parse_success:AdminRemoveGameMessage)
24135   return true;
24136 failure:
24137   // @@protoc_insertion_point(parse_failure:AdminRemoveGameMessage)
24138   return false;
24139 #undef DO_
24140 }
24141 
24142 void AdminRemoveGameMessage::SerializeWithCachedSizes(
24143     ::google::protobuf::io::CodedOutputStream* output) const {
24144   // @@protoc_insertion_point(serialize_start:AdminRemoveGameMessage)
24145   // required uint32 removeGameId = 1;
24146   if (has_removegameid()) {
24147     ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->removegameid(), output);
24148   }
24149 
24150   output->WriteRaw(unknown_fields().data(),
24151                    unknown_fields().size());
24152   // @@protoc_insertion_point(serialize_end:AdminRemoveGameMessage)
24153 }
24154 
24155 int AdminRemoveGameMessage::ByteSize() const {
24156   int total_size = 0;
24157 
24158   if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
24159     // required uint32 removeGameId = 1;
24160     if (has_removegameid()) {
24161       total_size += 1 +
24162         ::google::protobuf::internal::WireFormatLite::UInt32Size(
24163           this->removegameid());
24164     }
24165 
24166   }
24167   total_size += unknown_fields().size();
24168 
24169   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
24170   _cached_size_ = total_size;
24171   GOOGLE_SAFE_CONCURRENT_WRITES_END();
24172   return total_size;
24173 }
24174 
24175 void AdminRemoveGameMessage::CheckTypeAndMergeFrom(
24176     const ::google::protobuf::MessageLite& from) {
24177   MergeFrom(*::google::protobuf::down_cast<const AdminRemoveGameMessage*>(&from));
24178 }
24179 
24180 void AdminRemoveGameMessage::MergeFrom(const AdminRemoveGameMessage& from) {
24181   GOOGLE_CHECK_NE(&from, this);
24182   if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
24183     if (from.has_removegameid()) {
24184       set_removegameid(from.removegameid());
24185     }
24186   }
24187   mutable_unknown_fields()->append(from.unknown_fields());
24188 }
24189 
24190 void AdminRemoveGameMessage::CopyFrom(const AdminRemoveGameMessage& from) {
24191   if (&from == this) return;
24192   Clear();
24193   MergeFrom(from);
24194 }
24195 
24196 bool AdminRemoveGameMessage::IsInitialized() const {
24197   if ((_has_bits_[0] & 0x00000001) != 0x00000001) return false;
24198 
24199   return true;
24200 }
24201 
24202 void AdminRemoveGameMessage::Swap(AdminRemoveGameMessage* other) {
24203   if (other != this) {
24204     std::swap(removegameid_, other->removegameid_);
24205     std::swap(_has_bits_[0], other->_has_bits_[0]);
24206     _unknown_fields_.swap(other->_unknown_fields_);
24207     std::swap(_cached_size_, other->_cached_size_);
24208   }
24209 }
24210 
24211 ::std::string AdminRemoveGameMessage::GetTypeName() const {
24212   return "AdminRemoveGameMessage";
24213 }
24214 
24215 
24216 // ===================================================================
24217 
24218 bool AdminRemoveGameAckMessage_AdminRemoveGameResult_IsValid(int value) {
24219   switch(value) {
24220     case 0:
24221     case 1:
24222       return true;
24223     default:
24224       return false;
24225   }
24226 }
24227 
24228 #ifndef _MSC_VER
24229 const AdminRemoveGameAckMessage_AdminRemoveGameResult AdminRemoveGameAckMessage::gameRemoveAccepted;
24230 const AdminRemoveGameAckMessage_AdminRemoveGameResult AdminRemoveGameAckMessage::gameRemoveInvalid;
24231 const AdminRemoveGameAckMessage_AdminRemoveGameResult AdminRemoveGameAckMessage::AdminRemoveGameResult_MIN;
24232 const AdminRemoveGameAckMessage_AdminRemoveGameResult AdminRemoveGameAckMessage::AdminRemoveGameResult_MAX;
24233 const int AdminRemoveGameAckMessage::AdminRemoveGameResult_ARRAYSIZE;
24234 #endif  // _MSC_VER
24235 #ifndef _MSC_VER
24236 const int AdminRemoveGameAckMessage::kRemoveGameIdFieldNumber;
24237 const int AdminRemoveGameAckMessage::kRemoveGameResultFieldNumber;
24238 #endif  // !_MSC_VER
24239 
24240 AdminRemoveGameAckMessage::AdminRemoveGameAckMessage()
24241   : ::google::protobuf::MessageLite() {
24242   SharedCtor();
24243   // @@protoc_insertion_point(constructor:AdminRemoveGameAckMessage)
24244 }
24245 
24246 void AdminRemoveGameAckMessage::InitAsDefaultInstance() {
24247 }
24248 
24249 AdminRemoveGameAckMessage::AdminRemoveGameAckMessage(const AdminRemoveGameAckMessage& from)
24250   : ::google::protobuf::MessageLite() {
24251   SharedCtor();
24252   MergeFrom(from);
24253   // @@protoc_insertion_point(copy_constructor:AdminRemoveGameAckMessage)
24254 }
24255 
24256 void AdminRemoveGameAckMessage::SharedCtor() {
24257   _cached_size_ = 0;
24258   removegameid_ = 0u;
24259   removegameresult_ = 0;
24260   ::memset(_has_bits_, 0, sizeof(_has_bits_));
24261 }
24262 
24263 AdminRemoveGameAckMessage::~AdminRemoveGameAckMessage() {
24264   // @@protoc_insertion_point(destructor:AdminRemoveGameAckMessage)
24265   SharedDtor();
24266 }
24267 
24268 void AdminRemoveGameAckMessage::SharedDtor() {
24269   #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
24270   if (this != &default_instance()) {
24271   #else
24272   if (this != default_instance_) {
24273   #endif
24274   }
24275 }
24276 
24277 void AdminRemoveGameAckMessage::SetCachedSize(int size) const {
24278   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
24279   _cached_size_ = size;
24280   GOOGLE_SAFE_CONCURRENT_WRITES_END();
24281 }
24282 const AdminRemoveGameAckMessage& AdminRemoveGameAckMessage::default_instance() {
24283 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
24284   protobuf_AddDesc_pokerth_2eproto();
24285 #else
24286   if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto();
24287 #endif
24288   return *default_instance_;
24289 }
24290 
24291 AdminRemoveGameAckMessage* AdminRemoveGameAckMessage::default_instance_ = NULL;
24292 
24293 AdminRemoveGameAckMessage* AdminRemoveGameAckMessage::New() const {
24294   return new AdminRemoveGameAckMessage;
24295 }
24296 
24297 void AdminRemoveGameAckMessage::Clear() {
24298 #define OFFSET_OF_FIELD_(f) (reinterpret_cast<char*>(      \
24299   &reinterpret_cast<AdminRemoveGameAckMessage*>(16)->f) - \
24300    reinterpret_cast<char*>(16))
24301 
24302 #define ZR_(first, last) do {                              \
24303     size_t f = OFFSET_OF_FIELD_(first);                    \
24304     size_t n = OFFSET_OF_FIELD_(last) - f + sizeof(last);  \
24305     ::memset(&first, 0, n);                                \
24306   } while (0)
24307 
24308   ZR_(removegameid_, removegameresult_);
24309 
24310 #undef OFFSET_OF_FIELD_
24311 #undef ZR_
24312 
24313   ::memset(_has_bits_, 0, sizeof(_has_bits_));
24314   mutable_unknown_fields()->clear();
24315 }
24316 
24317 bool AdminRemoveGameAckMessage::MergePartialFromCodedStream(
24318     ::google::protobuf::io::CodedInputStream* input) {
24319 #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
24320   ::google::protobuf::uint32 tag;
24321   ::google::protobuf::io::StringOutputStream unknown_fields_string(
24322       mutable_unknown_fields());
24323   ::google::protobuf::io::CodedOutputStream unknown_fields_stream(
24324       &unknown_fields_string);
24325   // @@protoc_insertion_point(parse_start:AdminRemoveGameAckMessage)
24326   for (;;) {
24327     ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
24328     tag = p.first;
24329     if (!p.second) goto handle_unusual;
24330     switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
24331       // required uint32 removeGameId = 1;
24332       case 1: {
24333         if (tag == 8) {
24334           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
24335                    ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
24336                  input, &removegameid_)));
24337           set_has_removegameid();
24338         } else {
24339           goto handle_unusual;
24340         }
24341         if (input->ExpectTag(16)) goto parse_removeGameResult;
24342         break;
24343       }
24344 
24345       // required .AdminRemoveGameAckMessage.AdminRemoveGameResult removeGameResult = 2;
24346       case 2: {
24347         if (tag == 16) {
24348          parse_removeGameResult:
24349           int value;
24350           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
24351                    int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
24352                  input, &value)));
24353           if (::AdminRemoveGameAckMessage_AdminRemoveGameResult_IsValid(value)) {
24354             set_removegameresult(static_cast< ::AdminRemoveGameAckMessage_AdminRemoveGameResult >(value));
24355           } else {
24356             unknown_fields_stream.WriteVarint32(tag);
24357             unknown_fields_stream.WriteVarint32(value);
24358           }
24359         } else {
24360           goto handle_unusual;
24361         }
24362         if (input->ExpectAtEnd()) goto success;
24363         break;
24364       }
24365 
24366       default: {
24367       handle_unusual:
24368         if (tag == 0 ||
24369             ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
24370             ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
24371           goto success;
24372         }
24373         DO_(::google::protobuf::internal::WireFormatLite::SkipField(
24374             input, tag, &unknown_fields_stream));
24375         break;
24376       }
24377     }
24378   }
24379 success:
24380   // @@protoc_insertion_point(parse_success:AdminRemoveGameAckMessage)
24381   return true;
24382 failure:
24383   // @@protoc_insertion_point(parse_failure:AdminRemoveGameAckMessage)
24384   return false;
24385 #undef DO_
24386 }
24387 
24388 void AdminRemoveGameAckMessage::SerializeWithCachedSizes(
24389     ::google::protobuf::io::CodedOutputStream* output) const {
24390   // @@protoc_insertion_point(serialize_start:AdminRemoveGameAckMessage)
24391   // required uint32 removeGameId = 1;
24392   if (has_removegameid()) {
24393     ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->removegameid(), output);
24394   }
24395 
24396   // required .AdminRemoveGameAckMessage.AdminRemoveGameResult removeGameResult = 2;
24397   if (has_removegameresult()) {
24398     ::google::protobuf::internal::WireFormatLite::WriteEnum(
24399       2, this->removegameresult(), output);
24400   }
24401 
24402   output->WriteRaw(unknown_fields().data(),
24403                    unknown_fields().size());
24404   // @@protoc_insertion_point(serialize_end:AdminRemoveGameAckMessage)
24405 }
24406 
24407 int AdminRemoveGameAckMessage::ByteSize() const {
24408   int total_size = 0;
24409 
24410   if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
24411     // required uint32 removeGameId = 1;
24412     if (has_removegameid()) {
24413       total_size += 1 +
24414         ::google::protobuf::internal::WireFormatLite::UInt32Size(
24415           this->removegameid());
24416     }
24417 
24418     // required .AdminRemoveGameAckMessage.AdminRemoveGameResult removeGameResult = 2;
24419     if (has_removegameresult()) {
24420       total_size += 1 +
24421         ::google::protobuf::internal::WireFormatLite::EnumSize(this->removegameresult());
24422     }
24423 
24424   }
24425   total_size += unknown_fields().size();
24426 
24427   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
24428   _cached_size_ = total_size;
24429   GOOGLE_SAFE_CONCURRENT_WRITES_END();
24430   return total_size;
24431 }
24432 
24433 void AdminRemoveGameAckMessage::CheckTypeAndMergeFrom(
24434     const ::google::protobuf::MessageLite& from) {
24435   MergeFrom(*::google::protobuf::down_cast<const AdminRemoveGameAckMessage*>(&from));
24436 }
24437 
24438 void AdminRemoveGameAckMessage::MergeFrom(const AdminRemoveGameAckMessage& from) {
24439   GOOGLE_CHECK_NE(&from, this);
24440   if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
24441     if (from.has_removegameid()) {
24442       set_removegameid(from.removegameid());
24443     }
24444     if (from.has_removegameresult()) {
24445       set_removegameresult(from.removegameresult());
24446     }
24447   }
24448   mutable_unknown_fields()->append(from.unknown_fields());
24449 }
24450 
24451 void AdminRemoveGameAckMessage::CopyFrom(const AdminRemoveGameAckMessage& from) {
24452   if (&from == this) return;
24453   Clear();
24454   MergeFrom(from);
24455 }
24456 
24457 bool AdminRemoveGameAckMessage::IsInitialized() const {
24458   if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false;
24459 
24460   return true;
24461 }
24462 
24463 void AdminRemoveGameAckMessage::Swap(AdminRemoveGameAckMessage* other) {
24464   if (other != this) {
24465     std::swap(removegameid_, other->removegameid_);
24466     std::swap(removegameresult_, other->removegameresult_);
24467     std::swap(_has_bits_[0], other->_has_bits_[0]);
24468     _unknown_fields_.swap(other->_unknown_fields_);
24469     std::swap(_cached_size_, other->_cached_size_);
24470   }
24471 }
24472 
24473 ::std::string AdminRemoveGameAckMessage::GetTypeName() const {
24474   return "AdminRemoveGameAckMessage";
24475 }
24476 
24477 
24478 // ===================================================================
24479 
24480 #ifndef _MSC_VER
24481 const int AdminBanPlayerMessage::kBanPlayerIdFieldNumber;
24482 #endif  // !_MSC_VER
24483 
24484 AdminBanPlayerMessage::AdminBanPlayerMessage()
24485   : ::google::protobuf::MessageLite() {
24486   SharedCtor();
24487   // @@protoc_insertion_point(constructor:AdminBanPlayerMessage)
24488 }
24489 
24490 void AdminBanPlayerMessage::InitAsDefaultInstance() {
24491 }
24492 
24493 AdminBanPlayerMessage::AdminBanPlayerMessage(const AdminBanPlayerMessage& from)
24494   : ::google::protobuf::MessageLite() {
24495   SharedCtor();
24496   MergeFrom(from);
24497   // @@protoc_insertion_point(copy_constructor:AdminBanPlayerMessage)
24498 }
24499 
24500 void AdminBanPlayerMessage::SharedCtor() {
24501   _cached_size_ = 0;
24502   banplayerid_ = 0u;
24503   ::memset(_has_bits_, 0, sizeof(_has_bits_));
24504 }
24505 
24506 AdminBanPlayerMessage::~AdminBanPlayerMessage() {
24507   // @@protoc_insertion_point(destructor:AdminBanPlayerMessage)
24508   SharedDtor();
24509 }
24510 
24511 void AdminBanPlayerMessage::SharedDtor() {
24512   #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
24513   if (this != &default_instance()) {
24514   #else
24515   if (this != default_instance_) {
24516   #endif
24517   }
24518 }
24519 
24520 void AdminBanPlayerMessage::SetCachedSize(int size) const {
24521   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
24522   _cached_size_ = size;
24523   GOOGLE_SAFE_CONCURRENT_WRITES_END();
24524 }
24525 const AdminBanPlayerMessage& AdminBanPlayerMessage::default_instance() {
24526 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
24527   protobuf_AddDesc_pokerth_2eproto();
24528 #else
24529   if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto();
24530 #endif
24531   return *default_instance_;
24532 }
24533 
24534 AdminBanPlayerMessage* AdminBanPlayerMessage::default_instance_ = NULL;
24535 
24536 AdminBanPlayerMessage* AdminBanPlayerMessage::New() const {
24537   return new AdminBanPlayerMessage;
24538 }
24539 
24540 void AdminBanPlayerMessage::Clear() {
24541   banplayerid_ = 0u;
24542   ::memset(_has_bits_, 0, sizeof(_has_bits_));
24543   mutable_unknown_fields()->clear();
24544 }
24545 
24546 bool AdminBanPlayerMessage::MergePartialFromCodedStream(
24547     ::google::protobuf::io::CodedInputStream* input) {
24548 #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
24549   ::google::protobuf::uint32 tag;
24550   ::google::protobuf::io::StringOutputStream unknown_fields_string(
24551       mutable_unknown_fields());
24552   ::google::protobuf::io::CodedOutputStream unknown_fields_stream(
24553       &unknown_fields_string);
24554   // @@protoc_insertion_point(parse_start:AdminBanPlayerMessage)
24555   for (;;) {
24556     ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
24557     tag = p.first;
24558     if (!p.second) goto handle_unusual;
24559     switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
24560       // required uint32 banPlayerId = 1;
24561       case 1: {
24562         if (tag == 8) {
24563           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
24564                    ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
24565                  input, &banplayerid_)));
24566           set_has_banplayerid();
24567         } else {
24568           goto handle_unusual;
24569         }
24570         if (input->ExpectAtEnd()) goto success;
24571         break;
24572       }
24573 
24574       default: {
24575       handle_unusual:
24576         if (tag == 0 ||
24577             ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
24578             ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
24579           goto success;
24580         }
24581         DO_(::google::protobuf::internal::WireFormatLite::SkipField(
24582             input, tag, &unknown_fields_stream));
24583         break;
24584       }
24585     }
24586   }
24587 success:
24588   // @@protoc_insertion_point(parse_success:AdminBanPlayerMessage)
24589   return true;
24590 failure:
24591   // @@protoc_insertion_point(parse_failure:AdminBanPlayerMessage)
24592   return false;
24593 #undef DO_
24594 }
24595 
24596 void AdminBanPlayerMessage::SerializeWithCachedSizes(
24597     ::google::protobuf::io::CodedOutputStream* output) const {
24598   // @@protoc_insertion_point(serialize_start:AdminBanPlayerMessage)
24599   // required uint32 banPlayerId = 1;
24600   if (has_banplayerid()) {
24601     ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->banplayerid(), output);
24602   }
24603 
24604   output->WriteRaw(unknown_fields().data(),
24605                    unknown_fields().size());
24606   // @@protoc_insertion_point(serialize_end:AdminBanPlayerMessage)
24607 }
24608 
24609 int AdminBanPlayerMessage::ByteSize() const {
24610   int total_size = 0;
24611 
24612   if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
24613     // required uint32 banPlayerId = 1;
24614     if (has_banplayerid()) {
24615       total_size += 1 +
24616         ::google::protobuf::internal::WireFormatLite::UInt32Size(
24617           this->banplayerid());
24618     }
24619 
24620   }
24621   total_size += unknown_fields().size();
24622 
24623   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
24624   _cached_size_ = total_size;
24625   GOOGLE_SAFE_CONCURRENT_WRITES_END();
24626   return total_size;
24627 }
24628 
24629 void AdminBanPlayerMessage::CheckTypeAndMergeFrom(
24630     const ::google::protobuf::MessageLite& from) {
24631   MergeFrom(*::google::protobuf::down_cast<const AdminBanPlayerMessage*>(&from));
24632 }
24633 
24634 void AdminBanPlayerMessage::MergeFrom(const AdminBanPlayerMessage& from) {
24635   GOOGLE_CHECK_NE(&from, this);
24636   if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
24637     if (from.has_banplayerid()) {
24638       set_banplayerid(from.banplayerid());
24639     }
24640   }
24641   mutable_unknown_fields()->append(from.unknown_fields());
24642 }
24643 
24644 void AdminBanPlayerMessage::CopyFrom(const AdminBanPlayerMessage& from) {
24645   if (&from == this) return;
24646   Clear();
24647   MergeFrom(from);
24648 }
24649 
24650 bool AdminBanPlayerMessage::IsInitialized() const {
24651   if ((_has_bits_[0] & 0x00000001) != 0x00000001) return false;
24652 
24653   return true;
24654 }
24655 
24656 void AdminBanPlayerMessage::Swap(AdminBanPlayerMessage* other) {
24657   if (other != this) {
24658     std::swap(banplayerid_, other->banplayerid_);
24659     std::swap(_has_bits_[0], other->_has_bits_[0]);
24660     _unknown_fields_.swap(other->_unknown_fields_);
24661     std::swap(_cached_size_, other->_cached_size_);
24662   }
24663 }
24664 
24665 ::std::string AdminBanPlayerMessage::GetTypeName() const {
24666   return "AdminBanPlayerMessage";
24667 }
24668 
24669 
24670 // ===================================================================
24671 
24672 bool AdminBanPlayerAckMessage_AdminBanPlayerResult_IsValid(int value) {
24673   switch(value) {
24674     case 0:
24675     case 1:
24676     case 2:
24677     case 3:
24678     case 4:
24679       return true;
24680     default:
24681       return false;
24682   }
24683 }
24684 
24685 #ifndef _MSC_VER
24686 const AdminBanPlayerAckMessage_AdminBanPlayerResult AdminBanPlayerAckMessage::banPlayerAccepted;
24687 const AdminBanPlayerAckMessage_AdminBanPlayerResult AdminBanPlayerAckMessage::banPlayerPending;
24688 const AdminBanPlayerAckMessage_AdminBanPlayerResult AdminBanPlayerAckMessage::banPlayerNoDB;
24689 const AdminBanPlayerAckMessage_AdminBanPlayerResult AdminBanPlayerAckMessage::banPlayerDBError;
24690 const AdminBanPlayerAckMessage_AdminBanPlayerResult AdminBanPlayerAckMessage::banPlayerInvalid;
24691 const AdminBanPlayerAckMessage_AdminBanPlayerResult AdminBanPlayerAckMessage::AdminBanPlayerResult_MIN;
24692 const AdminBanPlayerAckMessage_AdminBanPlayerResult AdminBanPlayerAckMessage::AdminBanPlayerResult_MAX;
24693 const int AdminBanPlayerAckMessage::AdminBanPlayerResult_ARRAYSIZE;
24694 #endif  // _MSC_VER
24695 #ifndef _MSC_VER
24696 const int AdminBanPlayerAckMessage::kBanPlayerIdFieldNumber;
24697 const int AdminBanPlayerAckMessage::kBanPlayerResultFieldNumber;
24698 #endif  // !_MSC_VER
24699 
24700 AdminBanPlayerAckMessage::AdminBanPlayerAckMessage()
24701   : ::google::protobuf::MessageLite() {
24702   SharedCtor();
24703   // @@protoc_insertion_point(constructor:AdminBanPlayerAckMessage)
24704 }
24705 
24706 void AdminBanPlayerAckMessage::InitAsDefaultInstance() {
24707 }
24708 
24709 AdminBanPlayerAckMessage::AdminBanPlayerAckMessage(const AdminBanPlayerAckMessage& from)
24710   : ::google::protobuf::MessageLite() {
24711   SharedCtor();
24712   MergeFrom(from);
24713   // @@protoc_insertion_point(copy_constructor:AdminBanPlayerAckMessage)
24714 }
24715 
24716 void AdminBanPlayerAckMessage::SharedCtor() {
24717   _cached_size_ = 0;
24718   banplayerid_ = 0u;
24719   banplayerresult_ = 0;
24720   ::memset(_has_bits_, 0, sizeof(_has_bits_));
24721 }
24722 
24723 AdminBanPlayerAckMessage::~AdminBanPlayerAckMessage() {
24724   // @@protoc_insertion_point(destructor:AdminBanPlayerAckMessage)
24725   SharedDtor();
24726 }
24727 
24728 void AdminBanPlayerAckMessage::SharedDtor() {
24729   #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
24730   if (this != &default_instance()) {
24731   #else
24732   if (this != default_instance_) {
24733   #endif
24734   }
24735 }
24736 
24737 void AdminBanPlayerAckMessage::SetCachedSize(int size) const {
24738   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
24739   _cached_size_ = size;
24740   GOOGLE_SAFE_CONCURRENT_WRITES_END();
24741 }
24742 const AdminBanPlayerAckMessage& AdminBanPlayerAckMessage::default_instance() {
24743 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
24744   protobuf_AddDesc_pokerth_2eproto();
24745 #else
24746   if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto();
24747 #endif
24748   return *default_instance_;
24749 }
24750 
24751 AdminBanPlayerAckMessage* AdminBanPlayerAckMessage::default_instance_ = NULL;
24752 
24753 AdminBanPlayerAckMessage* AdminBanPlayerAckMessage::New() const {
24754   return new AdminBanPlayerAckMessage;
24755 }
24756 
24757 void AdminBanPlayerAckMessage::Clear() {
24758 #define OFFSET_OF_FIELD_(f) (reinterpret_cast<char*>(      \
24759   &reinterpret_cast<AdminBanPlayerAckMessage*>(16)->f) - \
24760    reinterpret_cast<char*>(16))
24761 
24762 #define ZR_(first, last) do {                              \
24763     size_t f = OFFSET_OF_FIELD_(first);                    \
24764     size_t n = OFFSET_OF_FIELD_(last) - f + sizeof(last);  \
24765     ::memset(&first, 0, n);                                \
24766   } while (0)
24767 
24768   ZR_(banplayerid_, banplayerresult_);
24769 
24770 #undef OFFSET_OF_FIELD_
24771 #undef ZR_
24772 
24773   ::memset(_has_bits_, 0, sizeof(_has_bits_));
24774   mutable_unknown_fields()->clear();
24775 }
24776 
24777 bool AdminBanPlayerAckMessage::MergePartialFromCodedStream(
24778     ::google::protobuf::io::CodedInputStream* input) {
24779 #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
24780   ::google::protobuf::uint32 tag;
24781   ::google::protobuf::io::StringOutputStream unknown_fields_string(
24782       mutable_unknown_fields());
24783   ::google::protobuf::io::CodedOutputStream unknown_fields_stream(
24784       &unknown_fields_string);
24785   // @@protoc_insertion_point(parse_start:AdminBanPlayerAckMessage)
24786   for (;;) {
24787     ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
24788     tag = p.first;
24789     if (!p.second) goto handle_unusual;
24790     switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
24791       // required uint32 banPlayerId = 1;
24792       case 1: {
24793         if (tag == 8) {
24794           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
24795                    ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
24796                  input, &banplayerid_)));
24797           set_has_banplayerid();
24798         } else {
24799           goto handle_unusual;
24800         }
24801         if (input->ExpectTag(16)) goto parse_banPlayerResult;
24802         break;
24803       }
24804 
24805       // required .AdminBanPlayerAckMessage.AdminBanPlayerResult banPlayerResult = 2;
24806       case 2: {
24807         if (tag == 16) {
24808          parse_banPlayerResult:
24809           int value;
24810           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
24811                    int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
24812                  input, &value)));
24813           if (::AdminBanPlayerAckMessage_AdminBanPlayerResult_IsValid(value)) {
24814             set_banplayerresult(static_cast< ::AdminBanPlayerAckMessage_AdminBanPlayerResult >(value));
24815           } else {
24816             unknown_fields_stream.WriteVarint32(tag);
24817             unknown_fields_stream.WriteVarint32(value);
24818           }
24819         } else {
24820           goto handle_unusual;
24821         }
24822         if (input->ExpectAtEnd()) goto success;
24823         break;
24824       }
24825 
24826       default: {
24827       handle_unusual:
24828         if (tag == 0 ||
24829             ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
24830             ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
24831           goto success;
24832         }
24833         DO_(::google::protobuf::internal::WireFormatLite::SkipField(
24834             input, tag, &unknown_fields_stream));
24835         break;
24836       }
24837     }
24838   }
24839 success:
24840   // @@protoc_insertion_point(parse_success:AdminBanPlayerAckMessage)
24841   return true;
24842 failure:
24843   // @@protoc_insertion_point(parse_failure:AdminBanPlayerAckMessage)
24844   return false;
24845 #undef DO_
24846 }
24847 
24848 void AdminBanPlayerAckMessage::SerializeWithCachedSizes(
24849     ::google::protobuf::io::CodedOutputStream* output) const {
24850   // @@protoc_insertion_point(serialize_start:AdminBanPlayerAckMessage)
24851   // required uint32 banPlayerId = 1;
24852   if (has_banplayerid()) {
24853     ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->banplayerid(), output);
24854   }
24855 
24856   // required .AdminBanPlayerAckMessage.AdminBanPlayerResult banPlayerResult = 2;
24857   if (has_banplayerresult()) {
24858     ::google::protobuf::internal::WireFormatLite::WriteEnum(
24859       2, this->banplayerresult(), output);
24860   }
24861 
24862   output->WriteRaw(unknown_fields().data(),
24863                    unknown_fields().size());
24864   // @@protoc_insertion_point(serialize_end:AdminBanPlayerAckMessage)
24865 }
24866 
24867 int AdminBanPlayerAckMessage::ByteSize() const {
24868   int total_size = 0;
24869 
24870   if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
24871     // required uint32 banPlayerId = 1;
24872     if (has_banplayerid()) {
24873       total_size += 1 +
24874         ::google::protobuf::internal::WireFormatLite::UInt32Size(
24875           this->banplayerid());
24876     }
24877 
24878     // required .AdminBanPlayerAckMessage.AdminBanPlayerResult banPlayerResult = 2;
24879     if (has_banplayerresult()) {
24880       total_size += 1 +
24881         ::google::protobuf::internal::WireFormatLite::EnumSize(this->banplayerresult());
24882     }
24883 
24884   }
24885   total_size += unknown_fields().size();
24886 
24887   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
24888   _cached_size_ = total_size;
24889   GOOGLE_SAFE_CONCURRENT_WRITES_END();
24890   return total_size;
24891 }
24892 
24893 void AdminBanPlayerAckMessage::CheckTypeAndMergeFrom(
24894     const ::google::protobuf::MessageLite& from) {
24895   MergeFrom(*::google::protobuf::down_cast<const AdminBanPlayerAckMessage*>(&from));
24896 }
24897 
24898 void AdminBanPlayerAckMessage::MergeFrom(const AdminBanPlayerAckMessage& from) {
24899   GOOGLE_CHECK_NE(&from, this);
24900   if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
24901     if (from.has_banplayerid()) {
24902       set_banplayerid(from.banplayerid());
24903     }
24904     if (from.has_banplayerresult()) {
24905       set_banplayerresult(from.banplayerresult());
24906     }
24907   }
24908   mutable_unknown_fields()->append(from.unknown_fields());
24909 }
24910 
24911 void AdminBanPlayerAckMessage::CopyFrom(const AdminBanPlayerAckMessage& from) {
24912   if (&from == this) return;
24913   Clear();
24914   MergeFrom(from);
24915 }
24916 
24917 bool AdminBanPlayerAckMessage::IsInitialized() const {
24918   if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false;
24919 
24920   return true;
24921 }
24922 
24923 void AdminBanPlayerAckMessage::Swap(AdminBanPlayerAckMessage* other) {
24924   if (other != this) {
24925     std::swap(banplayerid_, other->banplayerid_);
24926     std::swap(banplayerresult_, other->banplayerresult_);
24927     std::swap(_has_bits_[0], other->_has_bits_[0]);
24928     _unknown_fields_.swap(other->_unknown_fields_);
24929     std::swap(_cached_size_, other->_cached_size_);
24930   }
24931 }
24932 
24933 ::std::string AdminBanPlayerAckMessage::GetTypeName() const {
24934   return "AdminBanPlayerAckMessage";
24935 }
24936 
24937 
24938 // ===================================================================
24939 
24940 bool PokerTHMessage_PokerTHMessageType_IsValid(int value) {
24941   switch(value) {
24942     case 1:
24943     case 2:
24944     case 3:
24945     case 4:
24946     case 5:
24947     case 6:
24948     case 7:
24949     case 8:
24950     case 9:
24951     case 10:
24952     case 11:
24953     case 12:
24954     case 13:
24955     case 14:
24956     case 15:
24957     case 16:
24958     case 17:
24959     case 18:
24960     case 19:
24961     case 20:
24962     case 21:
24963     case 22:
24964     case 23:
24965     case 24:
24966     case 25:
24967     case 26:
24968     case 27:
24969     case 28:
24970     case 29:
24971     case 30:
24972     case 31:
24973     case 32:
24974     case 33:
24975     case 34:
24976     case 35:
24977     case 36:
24978     case 37:
24979     case 38:
24980     case 39:
24981     case 40:
24982     case 41:
24983     case 42:
24984     case 43:
24985     case 44:
24986     case 45:
24987     case 46:
24988     case 47:
24989     case 48:
24990     case 49:
24991     case 50:
24992     case 51:
24993     case 52:
24994     case 53:
24995     case 54:
24996     case 55:
24997     case 56:
24998     case 57:
24999     case 58:
25000     case 59:
25001     case 60:
25002     case 61:
25003     case 62:
25004     case 63:
25005     case 64:
25006     case 65:
25007     case 66:
25008     case 67:
25009     case 68:
25010     case 69:
25011     case 70:
25012     case 71:
25013     case 72:
25014     case 73:
25015     case 74:
25016     case 75:
25017     case 76:
25018     case 77:
25019     case 78:
25020     case 79:
25021     case 80:
25022     case 81:
25023       return true;
25024     default:
25025       return false;
25026   }
25027 }
25028 
25029 #ifndef _MSC_VER
25030 const PokerTHMessage_PokerTHMessageType PokerTHMessage::Type_AnnounceMessage;
25031 const PokerTHMessage_PokerTHMessageType PokerTHMessage::Type_InitMessage;
25032 const PokerTHMessage_PokerTHMessageType PokerTHMessage::Type_AuthServerChallengeMessage;
25033 const PokerTHMessage_PokerTHMessageType PokerTHMessage::Type_AuthClientResponseMessage;
25034 const PokerTHMessage_PokerTHMessageType PokerTHMessage::Type_AuthServerVerificationMessage;
25035 const PokerTHMessage_PokerTHMessageType PokerTHMessage::Type_InitAckMessage;
25036 const PokerTHMessage_PokerTHMessageType PokerTHMessage::Type_AvatarRequestMessage;
25037 const PokerTHMessage_PokerTHMessageType PokerTHMessage::Type_AvatarHeaderMessage;
25038 const PokerTHMessage_PokerTHMessageType PokerTHMessage::Type_AvatarDataMessage;
25039 const PokerTHMessage_PokerTHMessageType PokerTHMessage::Type_AvatarEndMessage;
25040 const PokerTHMessage_PokerTHMessageType PokerTHMessage::Type_UnknownAvatarMessage;
25041 const PokerTHMessage_PokerTHMessageType PokerTHMessage::Type_PlayerListMessage;
25042 const PokerTHMessage_PokerTHMessageType PokerTHMessage::Type_GameListNewMessage;
25043 const PokerTHMessage_PokerTHMessageType PokerTHMessage::Type_GameListUpdateMessage;
25044 const PokerTHMessage_PokerTHMessageType PokerTHMessage::Type_GameListPlayerJoinedMessage;
25045 const PokerTHMessage_PokerTHMessageType PokerTHMessage::Type_GameListPlayerLeftMessage;
25046 const PokerTHMessage_PokerTHMessageType PokerTHMessage::Type_GameListAdminChangedMessage;
25047 const PokerTHMessage_PokerTHMessageType PokerTHMessage::Type_PlayerInfoRequestMessage;
25048 const PokerTHMessage_PokerTHMessageType PokerTHMessage::Type_PlayerInfoReplyMessage;
25049 const PokerTHMessage_PokerTHMessageType PokerTHMessage::Type_SubscriptionRequestMessage;
25050 const PokerTHMessage_PokerTHMessageType PokerTHMessage::Type_JoinExistingGameMessage;
25051 const PokerTHMessage_PokerTHMessageType PokerTHMessage::Type_JoinNewGameMessage;
25052 const PokerTHMessage_PokerTHMessageType PokerTHMessage::Type_RejoinExistingGameMessage;
25053 const PokerTHMessage_PokerTHMessageType PokerTHMessage::Type_JoinGameAckMessage;
25054 const PokerTHMessage_PokerTHMessageType PokerTHMessage::Type_JoinGameFailedMessage;
25055 const PokerTHMessage_PokerTHMessageType PokerTHMessage::Type_GamePlayerJoinedMessage;
25056 const PokerTHMessage_PokerTHMessageType PokerTHMessage::Type_GamePlayerLeftMessage;
25057 const PokerTHMessage_PokerTHMessageType PokerTHMessage::Type_GameAdminChangedMessage;
25058 const PokerTHMessage_PokerTHMessageType PokerTHMessage::Type_RemovedFromGameMessage;
25059 const PokerTHMessage_PokerTHMessageType PokerTHMessage::Type_KickPlayerRequestMessage;
25060 const PokerTHMessage_PokerTHMessageType PokerTHMessage::Type_LeaveGameRequestMessage;
25061 const PokerTHMessage_PokerTHMessageType PokerTHMessage::Type_InvitePlayerToGameMessage;
25062 const PokerTHMessage_PokerTHMessageType PokerTHMessage::Type_InviteNotifyMessage;
25063 const PokerTHMessage_PokerTHMessageType PokerTHMessage::Type_RejectGameInvitationMessage;
25064 const PokerTHMessage_PokerTHMessageType PokerTHMessage::Type_RejectInvNotifyMessage;
25065 const PokerTHMessage_PokerTHMessageType PokerTHMessage::Type_StartEventMessage;
25066 const PokerTHMessage_PokerTHMessageType PokerTHMessage::Type_StartEventAckMessage;
25067 const PokerTHMessage_PokerTHMessageType PokerTHMessage::Type_GameStartInitialMessage;
25068 const PokerTHMessage_PokerTHMessageType PokerTHMessage::Type_GameStartRejoinMessage;
25069 const PokerTHMessage_PokerTHMessageType PokerTHMessage::Type_HandStartMessage;
25070 const PokerTHMessage_PokerTHMessageType PokerTHMessage::Type_PlayersTurnMessage;
25071 const PokerTHMessage_PokerTHMessageType PokerTHMessage::Type_MyActionRequestMessage;
25072 const PokerTHMessage_PokerTHMessageType PokerTHMessage::Type_YourActionRejectedMessage;
25073 const PokerTHMessage_PokerTHMessageType PokerTHMessage::Type_PlayersActionDoneMessage;
25074 const PokerTHMessage_PokerTHMessageType PokerTHMessage::Type_DealFlopCardsMessage;
25075 const PokerTHMessage_PokerTHMessageType PokerTHMessage::Type_DealTurnCardMessage;
25076 const PokerTHMessage_PokerTHMessageType PokerTHMessage::Type_DealRiverCardMessage;
25077 const PokerTHMessage_PokerTHMessageType PokerTHMessage::Type_AllInShowCardsMessage;
25078 const PokerTHMessage_PokerTHMessageType PokerTHMessage::Type_EndOfHandShowCardsMessage;
25079 const PokerTHMessage_PokerTHMessageType PokerTHMessage::Type_EndOfHandHideCardsMessage;
25080 const PokerTHMessage_PokerTHMessageType PokerTHMessage::Type_ShowMyCardsRequestMessage;
25081 const PokerTHMessage_PokerTHMessageType PokerTHMessage::Type_AfterHandShowCardsMessage;
25082 const PokerTHMessage_PokerTHMessageType PokerTHMessage::Type_EndOfGameMessage;
25083 const PokerTHMessage_PokerTHMessageType PokerTHMessage::Type_PlayerIdChangedMessage;
25084 const PokerTHMessage_PokerTHMessageType PokerTHMessage::Type_AskKickPlayerMessage;
25085 const PokerTHMessage_PokerTHMessageType PokerTHMessage::Type_AskKickDeniedMessage;
25086 const PokerTHMessage_PokerTHMessageType PokerTHMessage::Type_StartKickPetitionMessage;
25087 const PokerTHMessage_PokerTHMessageType PokerTHMessage::Type_VoteKickRequestMessage;
25088 const PokerTHMessage_PokerTHMessageType PokerTHMessage::Type_VoteKickReplyMessage;
25089 const PokerTHMessage_PokerTHMessageType PokerTHMessage::Type_KickPetitionUpdateMessage;
25090 const PokerTHMessage_PokerTHMessageType PokerTHMessage::Type_EndKickPetitionMessage;
25091 const PokerTHMessage_PokerTHMessageType PokerTHMessage::Type_StatisticsMessage;
25092 const PokerTHMessage_PokerTHMessageType PokerTHMessage::Type_ChatRequestMessage;
25093 const PokerTHMessage_PokerTHMessageType PokerTHMessage::Type_ChatMessage;
25094 const PokerTHMessage_PokerTHMessageType PokerTHMessage::Type_ChatRejectMessage;
25095 const PokerTHMessage_PokerTHMessageType PokerTHMessage::Type_DialogMessage;
25096 const PokerTHMessage_PokerTHMessageType PokerTHMessage::Type_TimeoutWarningMessage;
25097 const PokerTHMessage_PokerTHMessageType PokerTHMessage::Type_ResetTimeoutMessage;
25098 const PokerTHMessage_PokerTHMessageType PokerTHMessage::Type_ReportAvatarMessage;
25099 const PokerTHMessage_PokerTHMessageType PokerTHMessage::Type_ReportAvatarAckMessage;
25100 const PokerTHMessage_PokerTHMessageType PokerTHMessage::Type_ReportGameMessage;
25101 const PokerTHMessage_PokerTHMessageType PokerTHMessage::Type_ReportGameAckMessage;
25102 const PokerTHMessage_PokerTHMessageType PokerTHMessage::Type_ErrorMessage;
25103 const PokerTHMessage_PokerTHMessageType PokerTHMessage::Type_AdminRemoveGameMessage;
25104 const PokerTHMessage_PokerTHMessageType PokerTHMessage::Type_AdminRemoveGameAckMessage;
25105 const PokerTHMessage_PokerTHMessageType PokerTHMessage::Type_AdminBanPlayerMessage;
25106 const PokerTHMessage_PokerTHMessageType PokerTHMessage::Type_AdminBanPlayerAckMessage;
25107 const PokerTHMessage_PokerTHMessageType PokerTHMessage::Type_GameListSpectatorJoinedMessage;
25108 const PokerTHMessage_PokerTHMessageType PokerTHMessage::Type_GameListSpectatorLeftMessage;
25109 const PokerTHMessage_PokerTHMessageType PokerTHMessage::Type_GameSpectatorJoinedMessage;
25110 const PokerTHMessage_PokerTHMessageType PokerTHMessage::Type_GameSpectatorLeftMessage;
25111 const PokerTHMessage_PokerTHMessageType PokerTHMessage::PokerTHMessageType_MIN;
25112 const PokerTHMessage_PokerTHMessageType PokerTHMessage::PokerTHMessageType_MAX;
25113 const int PokerTHMessage::PokerTHMessageType_ARRAYSIZE;
25114 #endif  // _MSC_VER
25115 #ifndef _MSC_VER
25116 const int PokerTHMessage::kMessageTypeFieldNumber;
25117 const int PokerTHMessage::kAnnounceMessageFieldNumber;
25118 const int PokerTHMessage::kInitMessageFieldNumber;
25119 const int PokerTHMessage::kAuthServerChallengeMessageFieldNumber;
25120 const int PokerTHMessage::kAuthClientResponseMessageFieldNumber;
25121 const int PokerTHMessage::kAuthServerVerificationMessageFieldNumber;
25122 const int PokerTHMessage::kInitAckMessageFieldNumber;
25123 const int PokerTHMessage::kAvatarRequestMessageFieldNumber;
25124 const int PokerTHMessage::kAvatarHeaderMessageFieldNumber;
25125 const int PokerTHMessage::kAvatarDataMessageFieldNumber;
25126 const int PokerTHMessage::kAvatarEndMessageFieldNumber;
25127 const int PokerTHMessage::kUnknownAvatarMessageFieldNumber;
25128 const int PokerTHMessage::kPlayerListMessageFieldNumber;
25129 const int PokerTHMessage::kGameListNewMessageFieldNumber;
25130 const int PokerTHMessage::kGameListUpdateMessageFieldNumber;
25131 const int PokerTHMessage::kGameListPlayerJoinedMessageFieldNumber;
25132 const int PokerTHMessage::kGameListPlayerLeftMessageFieldNumber;
25133 const int PokerTHMessage::kGameListAdminChangedMessageFieldNumber;
25134 const int PokerTHMessage::kPlayerInfoRequestMessageFieldNumber;
25135 const int PokerTHMessage::kPlayerInfoReplyMessageFieldNumber;
25136 const int PokerTHMessage::kSubscriptionRequestMessageFieldNumber;
25137 const int PokerTHMessage::kJoinExistingGameMessageFieldNumber;
25138 const int PokerTHMessage::kJoinNewGameMessageFieldNumber;
25139 const int PokerTHMessage::kRejoinExistingGameMessageFieldNumber;
25140 const int PokerTHMessage::kJoinGameAckMessageFieldNumber;
25141 const int PokerTHMessage::kJoinGameFailedMessageFieldNumber;
25142 const int PokerTHMessage::kGamePlayerJoinedMessageFieldNumber;
25143 const int PokerTHMessage::kGamePlayerLeftMessageFieldNumber;
25144 const int PokerTHMessage::kGameAdminChangedMessageFieldNumber;
25145 const int PokerTHMessage::kRemovedFromGameMessageFieldNumber;
25146 const int PokerTHMessage::kKickPlayerRequestMessageFieldNumber;
25147 const int PokerTHMessage::kLeaveGameRequestMessageFieldNumber;
25148 const int PokerTHMessage::kInvitePlayerToGameMessageFieldNumber;
25149 const int PokerTHMessage::kInviteNotifyMessageFieldNumber;
25150 const int PokerTHMessage::kRejectGameInvitationMessageFieldNumber;
25151 const int PokerTHMessage::kRejectInvNotifyMessageFieldNumber;
25152 const int PokerTHMessage::kStartEventMessageFieldNumber;
25153 const int PokerTHMessage::kStartEventAckMessageFieldNumber;
25154 const int PokerTHMessage::kGameStartInitialMessageFieldNumber;
25155 const int PokerTHMessage::kGameStartRejoinMessageFieldNumber;
25156 const int PokerTHMessage::kHandStartMessageFieldNumber;
25157 const int PokerTHMessage::kPlayersTurnMessageFieldNumber;
25158 const int PokerTHMessage::kMyActionRequestMessageFieldNumber;
25159 const int PokerTHMessage::kYourActionRejectedMessageFieldNumber;
25160 const int PokerTHMessage::kPlayersActionDoneMessageFieldNumber;
25161 const int PokerTHMessage::kDealFlopCardsMessageFieldNumber;
25162 const int PokerTHMessage::kDealTurnCardMessageFieldNumber;
25163 const int PokerTHMessage::kDealRiverCardMessageFieldNumber;
25164 const int PokerTHMessage::kAllInShowCardsMessageFieldNumber;
25165 const int PokerTHMessage::kEndOfHandShowCardsMessageFieldNumber;
25166 const int PokerTHMessage::kEndOfHandHideCardsMessageFieldNumber;
25167 const int PokerTHMessage::kShowMyCardsRequestMessageFieldNumber;
25168 const int PokerTHMessage::kAfterHandShowCardsMessageFieldNumber;
25169 const int PokerTHMessage::kEndOfGameMessageFieldNumber;
25170 const int PokerTHMessage::kPlayerIdChangedMessageFieldNumber;
25171 const int PokerTHMessage::kAskKickPlayerMessageFieldNumber;
25172 const int PokerTHMessage::kAskKickDeniedMessageFieldNumber;
25173 const int PokerTHMessage::kStartKickPetitionMessageFieldNumber;
25174 const int PokerTHMessage::kVoteKickRequestMessageFieldNumber;
25175 const int PokerTHMessage::kVoteKickReplyMessageFieldNumber;
25176 const int PokerTHMessage::kKickPetitionUpdateMessageFieldNumber;
25177 const int PokerTHMessage::kEndKickPetitionMessageFieldNumber;
25178 const int PokerTHMessage::kStatisticsMessageFieldNumber;
25179 const int PokerTHMessage::kChatRequestMessageFieldNumber;
25180 const int PokerTHMessage::kChatMessageFieldNumber;
25181 const int PokerTHMessage::kChatRejectMessageFieldNumber;
25182 const int PokerTHMessage::kDialogMessageFieldNumber;
25183 const int PokerTHMessage::kTimeoutWarningMessageFieldNumber;
25184 const int PokerTHMessage::kResetTimeoutMessageFieldNumber;
25185 const int PokerTHMessage::kReportAvatarMessageFieldNumber;
25186 const int PokerTHMessage::kReportAvatarAckMessageFieldNumber;
25187 const int PokerTHMessage::kReportGameMessageFieldNumber;
25188 const int PokerTHMessage::kReportGameAckMessageFieldNumber;
25189 const int PokerTHMessage::kErrorMessageFieldNumber;
25190 const int PokerTHMessage::kAdminRemoveGameMessageFieldNumber;
25191 const int PokerTHMessage::kAdminRemoveGameAckMessageFieldNumber;
25192 const int PokerTHMessage::kAdminBanPlayerMessageFieldNumber;
25193 const int PokerTHMessage::kAdminBanPlayerAckMessageFieldNumber;
25194 const int PokerTHMessage::kGameListSpectatorJoinedMessageFieldNumber;
25195 const int PokerTHMessage::kGameListSpectatorLeftMessageFieldNumber;
25196 const int PokerTHMessage::kGameSpectatorJoinedMessageFieldNumber;
25197 const int PokerTHMessage::kGameSpectatorLeftMessageFieldNumber;
25198 #endif  // !_MSC_VER
25199 
25200 PokerTHMessage::PokerTHMessage()
25201   : ::google::protobuf::MessageLite() {
25202   SharedCtor();
25203   // @@protoc_insertion_point(constructor:PokerTHMessage)
25204 }
25205 
25206 void PokerTHMessage::InitAsDefaultInstance() {
25207 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
25208   announcemessage_ = const_cast< ::AnnounceMessage*>(
25209       ::AnnounceMessage::internal_default_instance());
25210 #else
25211   announcemessage_ = const_cast< ::AnnounceMessage*>(&::AnnounceMessage::default_instance());
25212 #endif
25213 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
25214   initmessage_ = const_cast< ::InitMessage*>(
25215       ::InitMessage::internal_default_instance());
25216 #else
25217   initmessage_ = const_cast< ::InitMessage*>(&::InitMessage::default_instance());
25218 #endif
25219 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
25220   authserverchallengemessage_ = const_cast< ::AuthServerChallengeMessage*>(
25221       ::AuthServerChallengeMessage::internal_default_instance());
25222 #else
25223   authserverchallengemessage_ = const_cast< ::AuthServerChallengeMessage*>(&::AuthServerChallengeMessage::default_instance());
25224 #endif
25225 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
25226   authclientresponsemessage_ = const_cast< ::AuthClientResponseMessage*>(
25227       ::AuthClientResponseMessage::internal_default_instance());
25228 #else
25229   authclientresponsemessage_ = const_cast< ::AuthClientResponseMessage*>(&::AuthClientResponseMessage::default_instance());
25230 #endif
25231 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
25232   authserververificationmessage_ = const_cast< ::AuthServerVerificationMessage*>(
25233       ::AuthServerVerificationMessage::internal_default_instance());
25234 #else
25235   authserververificationmessage_ = const_cast< ::AuthServerVerificationMessage*>(&::AuthServerVerificationMessage::default_instance());
25236 #endif
25237 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
25238   initackmessage_ = const_cast< ::InitAckMessage*>(
25239       ::InitAckMessage::internal_default_instance());
25240 #else
25241   initackmessage_ = const_cast< ::InitAckMessage*>(&::InitAckMessage::default_instance());
25242 #endif
25243 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
25244   avatarrequestmessage_ = const_cast< ::AvatarRequestMessage*>(
25245       ::AvatarRequestMessage::internal_default_instance());
25246 #else
25247   avatarrequestmessage_ = const_cast< ::AvatarRequestMessage*>(&::AvatarRequestMessage::default_instance());
25248 #endif
25249 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
25250   avatarheadermessage_ = const_cast< ::AvatarHeaderMessage*>(
25251       ::AvatarHeaderMessage::internal_default_instance());
25252 #else
25253   avatarheadermessage_ = const_cast< ::AvatarHeaderMessage*>(&::AvatarHeaderMessage::default_instance());
25254 #endif
25255 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
25256   avatardatamessage_ = const_cast< ::AvatarDataMessage*>(
25257       ::AvatarDataMessage::internal_default_instance());
25258 #else
25259   avatardatamessage_ = const_cast< ::AvatarDataMessage*>(&::AvatarDataMessage::default_instance());
25260 #endif
25261 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
25262   avatarendmessage_ = const_cast< ::AvatarEndMessage*>(
25263       ::AvatarEndMessage::internal_default_instance());
25264 #else
25265   avatarendmessage_ = const_cast< ::AvatarEndMessage*>(&::AvatarEndMessage::default_instance());
25266 #endif
25267 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
25268   unknownavatarmessage_ = const_cast< ::UnknownAvatarMessage*>(
25269       ::UnknownAvatarMessage::internal_default_instance());
25270 #else
25271   unknownavatarmessage_ = const_cast< ::UnknownAvatarMessage*>(&::UnknownAvatarMessage::default_instance());
25272 #endif
25273 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
25274   playerlistmessage_ = const_cast< ::PlayerListMessage*>(
25275       ::PlayerListMessage::internal_default_instance());
25276 #else
25277   playerlistmessage_ = const_cast< ::PlayerListMessage*>(&::PlayerListMessage::default_instance());
25278 #endif
25279 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
25280   gamelistnewmessage_ = const_cast< ::GameListNewMessage*>(
25281       ::GameListNewMessage::internal_default_instance());
25282 #else
25283   gamelistnewmessage_ = const_cast< ::GameListNewMessage*>(&::GameListNewMessage::default_instance());
25284 #endif
25285 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
25286   gamelistupdatemessage_ = const_cast< ::GameListUpdateMessage*>(
25287       ::GameListUpdateMessage::internal_default_instance());
25288 #else
25289   gamelistupdatemessage_ = const_cast< ::GameListUpdateMessage*>(&::GameListUpdateMessage::default_instance());
25290 #endif
25291 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
25292   gamelistplayerjoinedmessage_ = const_cast< ::GameListPlayerJoinedMessage*>(
25293       ::GameListPlayerJoinedMessage::internal_default_instance());
25294 #else
25295   gamelistplayerjoinedmessage_ = const_cast< ::GameListPlayerJoinedMessage*>(&::GameListPlayerJoinedMessage::default_instance());
25296 #endif
25297 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
25298   gamelistplayerleftmessage_ = const_cast< ::GameListPlayerLeftMessage*>(
25299       ::GameListPlayerLeftMessage::internal_default_instance());
25300 #else
25301   gamelistplayerleftmessage_ = const_cast< ::GameListPlayerLeftMessage*>(&::GameListPlayerLeftMessage::default_instance());
25302 #endif
25303 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
25304   gamelistadminchangedmessage_ = const_cast< ::GameListAdminChangedMessage*>(
25305       ::GameListAdminChangedMessage::internal_default_instance());
25306 #else
25307   gamelistadminchangedmessage_ = const_cast< ::GameListAdminChangedMessage*>(&::GameListAdminChangedMessage::default_instance());
25308 #endif
25309 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
25310   playerinforequestmessage_ = const_cast< ::PlayerInfoRequestMessage*>(
25311       ::PlayerInfoRequestMessage::internal_default_instance());
25312 #else
25313   playerinforequestmessage_ = const_cast< ::PlayerInfoRequestMessage*>(&::PlayerInfoRequestMessage::default_instance());
25314 #endif
25315 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
25316   playerinforeplymessage_ = const_cast< ::PlayerInfoReplyMessage*>(
25317       ::PlayerInfoReplyMessage::internal_default_instance());
25318 #else
25319   playerinforeplymessage_ = const_cast< ::PlayerInfoReplyMessage*>(&::PlayerInfoReplyMessage::default_instance());
25320 #endif
25321 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
25322   subscriptionrequestmessage_ = const_cast< ::SubscriptionRequestMessage*>(
25323       ::SubscriptionRequestMessage::internal_default_instance());
25324 #else
25325   subscriptionrequestmessage_ = const_cast< ::SubscriptionRequestMessage*>(&::SubscriptionRequestMessage::default_instance());
25326 #endif
25327 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
25328   joinexistinggamemessage_ = const_cast< ::JoinExistingGameMessage*>(
25329       ::JoinExistingGameMessage::internal_default_instance());
25330 #else
25331   joinexistinggamemessage_ = const_cast< ::JoinExistingGameMessage*>(&::JoinExistingGameMessage::default_instance());
25332 #endif
25333 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
25334   joinnewgamemessage_ = const_cast< ::JoinNewGameMessage*>(
25335       ::JoinNewGameMessage::internal_default_instance());
25336 #else
25337   joinnewgamemessage_ = const_cast< ::JoinNewGameMessage*>(&::JoinNewGameMessage::default_instance());
25338 #endif
25339 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
25340   rejoinexistinggamemessage_ = const_cast< ::RejoinExistingGameMessage*>(
25341       ::RejoinExistingGameMessage::internal_default_instance());
25342 #else
25343   rejoinexistinggamemessage_ = const_cast< ::RejoinExistingGameMessage*>(&::RejoinExistingGameMessage::default_instance());
25344 #endif
25345 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
25346   joingameackmessage_ = const_cast< ::JoinGameAckMessage*>(
25347       ::JoinGameAckMessage::internal_default_instance());
25348 #else
25349   joingameackmessage_ = const_cast< ::JoinGameAckMessage*>(&::JoinGameAckMessage::default_instance());
25350 #endif
25351 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
25352   joingamefailedmessage_ = const_cast< ::JoinGameFailedMessage*>(
25353       ::JoinGameFailedMessage::internal_default_instance());
25354 #else
25355   joingamefailedmessage_ = const_cast< ::JoinGameFailedMessage*>(&::JoinGameFailedMessage::default_instance());
25356 #endif
25357 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
25358   gameplayerjoinedmessage_ = const_cast< ::GamePlayerJoinedMessage*>(
25359       ::GamePlayerJoinedMessage::internal_default_instance());
25360 #else
25361   gameplayerjoinedmessage_ = const_cast< ::GamePlayerJoinedMessage*>(&::GamePlayerJoinedMessage::default_instance());
25362 #endif
25363 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
25364   gameplayerleftmessage_ = const_cast< ::GamePlayerLeftMessage*>(
25365       ::GamePlayerLeftMessage::internal_default_instance());
25366 #else
25367   gameplayerleftmessage_ = const_cast< ::GamePlayerLeftMessage*>(&::GamePlayerLeftMessage::default_instance());
25368 #endif
25369 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
25370   gameadminchangedmessage_ = const_cast< ::GameAdminChangedMessage*>(
25371       ::GameAdminChangedMessage::internal_default_instance());
25372 #else
25373   gameadminchangedmessage_ = const_cast< ::GameAdminChangedMessage*>(&::GameAdminChangedMessage::default_instance());
25374 #endif
25375 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
25376   removedfromgamemessage_ = const_cast< ::RemovedFromGameMessage*>(
25377       ::RemovedFromGameMessage::internal_default_instance());
25378 #else
25379   removedfromgamemessage_ = const_cast< ::RemovedFromGameMessage*>(&::RemovedFromGameMessage::default_instance());
25380 #endif
25381 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
25382   kickplayerrequestmessage_ = const_cast< ::KickPlayerRequestMessage*>(
25383       ::KickPlayerRequestMessage::internal_default_instance());
25384 #else
25385   kickplayerrequestmessage_ = const_cast< ::KickPlayerRequestMessage*>(&::KickPlayerRequestMessage::default_instance());
25386 #endif
25387 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
25388   leavegamerequestmessage_ = const_cast< ::LeaveGameRequestMessage*>(
25389       ::LeaveGameRequestMessage::internal_default_instance());
25390 #else
25391   leavegamerequestmessage_ = const_cast< ::LeaveGameRequestMessage*>(&::LeaveGameRequestMessage::default_instance());
25392 #endif
25393 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
25394   inviteplayertogamemessage_ = const_cast< ::InvitePlayerToGameMessage*>(
25395       ::InvitePlayerToGameMessage::internal_default_instance());
25396 #else
25397   inviteplayertogamemessage_ = const_cast< ::InvitePlayerToGameMessage*>(&::InvitePlayerToGameMessage::default_instance());
25398 #endif
25399 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
25400   invitenotifymessage_ = const_cast< ::InviteNotifyMessage*>(
25401       ::InviteNotifyMessage::internal_default_instance());
25402 #else
25403   invitenotifymessage_ = const_cast< ::InviteNotifyMessage*>(&::InviteNotifyMessage::default_instance());
25404 #endif
25405 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
25406   rejectgameinvitationmessage_ = const_cast< ::RejectGameInvitationMessage*>(
25407       ::RejectGameInvitationMessage::internal_default_instance());
25408 #else
25409   rejectgameinvitationmessage_ = const_cast< ::RejectGameInvitationMessage*>(&::RejectGameInvitationMessage::default_instance());
25410 #endif
25411 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
25412   rejectinvnotifymessage_ = const_cast< ::RejectInvNotifyMessage*>(
25413       ::RejectInvNotifyMessage::internal_default_instance());
25414 #else
25415   rejectinvnotifymessage_ = const_cast< ::RejectInvNotifyMessage*>(&::RejectInvNotifyMessage::default_instance());
25416 #endif
25417 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
25418   starteventmessage_ = const_cast< ::StartEventMessage*>(
25419       ::StartEventMessage::internal_default_instance());
25420 #else
25421   starteventmessage_ = const_cast< ::StartEventMessage*>(&::StartEventMessage::default_instance());
25422 #endif
25423 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
25424   starteventackmessage_ = const_cast< ::StartEventAckMessage*>(
25425       ::StartEventAckMessage::internal_default_instance());
25426 #else
25427   starteventackmessage_ = const_cast< ::StartEventAckMessage*>(&::StartEventAckMessage::default_instance());
25428 #endif
25429 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
25430   gamestartinitialmessage_ = const_cast< ::GameStartInitialMessage*>(
25431       ::GameStartInitialMessage::internal_default_instance());
25432 #else
25433   gamestartinitialmessage_ = const_cast< ::GameStartInitialMessage*>(&::GameStartInitialMessage::default_instance());
25434 #endif
25435 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
25436   gamestartrejoinmessage_ = const_cast< ::GameStartRejoinMessage*>(
25437       ::GameStartRejoinMessage::internal_default_instance());
25438 #else
25439   gamestartrejoinmessage_ = const_cast< ::GameStartRejoinMessage*>(&::GameStartRejoinMessage::default_instance());
25440 #endif
25441 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
25442   handstartmessage_ = const_cast< ::HandStartMessage*>(
25443       ::HandStartMessage::internal_default_instance());
25444 #else
25445   handstartmessage_ = const_cast< ::HandStartMessage*>(&::HandStartMessage::default_instance());
25446 #endif
25447 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
25448   playersturnmessage_ = const_cast< ::PlayersTurnMessage*>(
25449       ::PlayersTurnMessage::internal_default_instance());
25450 #else
25451   playersturnmessage_ = const_cast< ::PlayersTurnMessage*>(&::PlayersTurnMessage::default_instance());
25452 #endif
25453 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
25454   myactionrequestmessage_ = const_cast< ::MyActionRequestMessage*>(
25455       ::MyActionRequestMessage::internal_default_instance());
25456 #else
25457   myactionrequestmessage_ = const_cast< ::MyActionRequestMessage*>(&::MyActionRequestMessage::default_instance());
25458 #endif
25459 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
25460   youractionrejectedmessage_ = const_cast< ::YourActionRejectedMessage*>(
25461       ::YourActionRejectedMessage::internal_default_instance());
25462 #else
25463   youractionrejectedmessage_ = const_cast< ::YourActionRejectedMessage*>(&::YourActionRejectedMessage::default_instance());
25464 #endif
25465 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
25466   playersactiondonemessage_ = const_cast< ::PlayersActionDoneMessage*>(
25467       ::PlayersActionDoneMessage::internal_default_instance());
25468 #else
25469   playersactiondonemessage_ = const_cast< ::PlayersActionDoneMessage*>(&::PlayersActionDoneMessage::default_instance());
25470 #endif
25471 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
25472   dealflopcardsmessage_ = const_cast< ::DealFlopCardsMessage*>(
25473       ::DealFlopCardsMessage::internal_default_instance());
25474 #else
25475   dealflopcardsmessage_ = const_cast< ::DealFlopCardsMessage*>(&::DealFlopCardsMessage::default_instance());
25476 #endif
25477 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
25478   dealturncardmessage_ = const_cast< ::DealTurnCardMessage*>(
25479       ::DealTurnCardMessage::internal_default_instance());
25480 #else
25481   dealturncardmessage_ = const_cast< ::DealTurnCardMessage*>(&::DealTurnCardMessage::default_instance());
25482 #endif
25483 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
25484   dealrivercardmessage_ = const_cast< ::DealRiverCardMessage*>(
25485       ::DealRiverCardMessage::internal_default_instance());
25486 #else
25487   dealrivercardmessage_ = const_cast< ::DealRiverCardMessage*>(&::DealRiverCardMessage::default_instance());
25488 #endif
25489 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
25490   allinshowcardsmessage_ = const_cast< ::AllInShowCardsMessage*>(
25491       ::AllInShowCardsMessage::internal_default_instance());
25492 #else
25493   allinshowcardsmessage_ = const_cast< ::AllInShowCardsMessage*>(&::AllInShowCardsMessage::default_instance());
25494 #endif
25495 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
25496   endofhandshowcardsmessage_ = const_cast< ::EndOfHandShowCardsMessage*>(
25497       ::EndOfHandShowCardsMessage::internal_default_instance());
25498 #else
25499   endofhandshowcardsmessage_ = const_cast< ::EndOfHandShowCardsMessage*>(&::EndOfHandShowCardsMessage::default_instance());
25500 #endif
25501 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
25502   endofhandhidecardsmessage_ = const_cast< ::EndOfHandHideCardsMessage*>(
25503       ::EndOfHandHideCardsMessage::internal_default_instance());
25504 #else
25505   endofhandhidecardsmessage_ = const_cast< ::EndOfHandHideCardsMessage*>(&::EndOfHandHideCardsMessage::default_instance());
25506 #endif
25507 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
25508   showmycardsrequestmessage_ = const_cast< ::ShowMyCardsRequestMessage*>(
25509       ::ShowMyCardsRequestMessage::internal_default_instance());
25510 #else
25511   showmycardsrequestmessage_ = const_cast< ::ShowMyCardsRequestMessage*>(&::ShowMyCardsRequestMessage::default_instance());
25512 #endif
25513 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
25514   afterhandshowcardsmessage_ = const_cast< ::AfterHandShowCardsMessage*>(
25515       ::AfterHandShowCardsMessage::internal_default_instance());
25516 #else
25517   afterhandshowcardsmessage_ = const_cast< ::AfterHandShowCardsMessage*>(&::AfterHandShowCardsMessage::default_instance());
25518 #endif
25519 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
25520   endofgamemessage_ = const_cast< ::EndOfGameMessage*>(
25521       ::EndOfGameMessage::internal_default_instance());
25522 #else
25523   endofgamemessage_ = const_cast< ::EndOfGameMessage*>(&::EndOfGameMessage::default_instance());
25524 #endif
25525 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
25526   playeridchangedmessage_ = const_cast< ::PlayerIdChangedMessage*>(
25527       ::PlayerIdChangedMessage::internal_default_instance());
25528 #else
25529   playeridchangedmessage_ = const_cast< ::PlayerIdChangedMessage*>(&::PlayerIdChangedMessage::default_instance());
25530 #endif
25531 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
25532   askkickplayermessage_ = const_cast< ::AskKickPlayerMessage*>(
25533       ::AskKickPlayerMessage::internal_default_instance());
25534 #else
25535   askkickplayermessage_ = const_cast< ::AskKickPlayerMessage*>(&::AskKickPlayerMessage::default_instance());
25536 #endif
25537 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
25538   askkickdeniedmessage_ = const_cast< ::AskKickDeniedMessage*>(
25539       ::AskKickDeniedMessage::internal_default_instance());
25540 #else
25541   askkickdeniedmessage_ = const_cast< ::AskKickDeniedMessage*>(&::AskKickDeniedMessage::default_instance());
25542 #endif
25543 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
25544   startkickpetitionmessage_ = const_cast< ::StartKickPetitionMessage*>(
25545       ::StartKickPetitionMessage::internal_default_instance());
25546 #else
25547   startkickpetitionmessage_ = const_cast< ::StartKickPetitionMessage*>(&::StartKickPetitionMessage::default_instance());
25548 #endif
25549 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
25550   votekickrequestmessage_ = const_cast< ::VoteKickRequestMessage*>(
25551       ::VoteKickRequestMessage::internal_default_instance());
25552 #else
25553   votekickrequestmessage_ = const_cast< ::VoteKickRequestMessage*>(&::VoteKickRequestMessage::default_instance());
25554 #endif
25555 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
25556   votekickreplymessage_ = const_cast< ::VoteKickReplyMessage*>(
25557       ::VoteKickReplyMessage::internal_default_instance());
25558 #else
25559   votekickreplymessage_ = const_cast< ::VoteKickReplyMessage*>(&::VoteKickReplyMessage::default_instance());
25560 #endif
25561 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
25562   kickpetitionupdatemessage_ = const_cast< ::KickPetitionUpdateMessage*>(
25563       ::KickPetitionUpdateMessage::internal_default_instance());
25564 #else
25565   kickpetitionupdatemessage_ = const_cast< ::KickPetitionUpdateMessage*>(&::KickPetitionUpdateMessage::default_instance());
25566 #endif
25567 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
25568   endkickpetitionmessage_ = const_cast< ::EndKickPetitionMessage*>(
25569       ::EndKickPetitionMessage::internal_default_instance());
25570 #else
25571   endkickpetitionmessage_ = const_cast< ::EndKickPetitionMessage*>(&::EndKickPetitionMessage::default_instance());
25572 #endif
25573 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
25574   statisticsmessage_ = const_cast< ::StatisticsMessage*>(
25575       ::StatisticsMessage::internal_default_instance());
25576 #else
25577   statisticsmessage_ = const_cast< ::StatisticsMessage*>(&::StatisticsMessage::default_instance());
25578 #endif
25579 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
25580   chatrequestmessage_ = const_cast< ::ChatRequestMessage*>(
25581       ::ChatRequestMessage::internal_default_instance());
25582 #else
25583   chatrequestmessage_ = const_cast< ::ChatRequestMessage*>(&::ChatRequestMessage::default_instance());
25584 #endif
25585 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
25586   chatmessage_ = const_cast< ::ChatMessage*>(
25587       ::ChatMessage::internal_default_instance());
25588 #else
25589   chatmessage_ = const_cast< ::ChatMessage*>(&::ChatMessage::default_instance());
25590 #endif
25591 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
25592   chatrejectmessage_ = const_cast< ::ChatRejectMessage*>(
25593       ::ChatRejectMessage::internal_default_instance());
25594 #else
25595   chatrejectmessage_ = const_cast< ::ChatRejectMessage*>(&::ChatRejectMessage::default_instance());
25596 #endif
25597 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
25598   dialogmessage_ = const_cast< ::DialogMessage*>(
25599       ::DialogMessage::internal_default_instance());
25600 #else
25601   dialogmessage_ = const_cast< ::DialogMessage*>(&::DialogMessage::default_instance());
25602 #endif
25603 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
25604   timeoutwarningmessage_ = const_cast< ::TimeoutWarningMessage*>(
25605       ::TimeoutWarningMessage::internal_default_instance());
25606 #else
25607   timeoutwarningmessage_ = const_cast< ::TimeoutWarningMessage*>(&::TimeoutWarningMessage::default_instance());
25608 #endif
25609 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
25610   resettimeoutmessage_ = const_cast< ::ResetTimeoutMessage*>(
25611       ::ResetTimeoutMessage::internal_default_instance());
25612 #else
25613   resettimeoutmessage_ = const_cast< ::ResetTimeoutMessage*>(&::ResetTimeoutMessage::default_instance());
25614 #endif
25615 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
25616   reportavatarmessage_ = const_cast< ::ReportAvatarMessage*>(
25617       ::ReportAvatarMessage::internal_default_instance());
25618 #else
25619   reportavatarmessage_ = const_cast< ::ReportAvatarMessage*>(&::ReportAvatarMessage::default_instance());
25620 #endif
25621 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
25622   reportavatarackmessage_ = const_cast< ::ReportAvatarAckMessage*>(
25623       ::ReportAvatarAckMessage::internal_default_instance());
25624 #else
25625   reportavatarackmessage_ = const_cast< ::ReportAvatarAckMessage*>(&::ReportAvatarAckMessage::default_instance());
25626 #endif
25627 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
25628   reportgamemessage_ = const_cast< ::ReportGameMessage*>(
25629       ::ReportGameMessage::internal_default_instance());
25630 #else
25631   reportgamemessage_ = const_cast< ::ReportGameMessage*>(&::ReportGameMessage::default_instance());
25632 #endif
25633 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
25634   reportgameackmessage_ = const_cast< ::ReportGameAckMessage*>(
25635       ::ReportGameAckMessage::internal_default_instance());
25636 #else
25637   reportgameackmessage_ = const_cast< ::ReportGameAckMessage*>(&::ReportGameAckMessage::default_instance());
25638 #endif
25639 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
25640   errormessage_ = const_cast< ::ErrorMessage*>(
25641       ::ErrorMessage::internal_default_instance());
25642 #else
25643   errormessage_ = const_cast< ::ErrorMessage*>(&::ErrorMessage::default_instance());
25644 #endif
25645 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
25646   adminremovegamemessage_ = const_cast< ::AdminRemoveGameMessage*>(
25647       ::AdminRemoveGameMessage::internal_default_instance());
25648 #else
25649   adminremovegamemessage_ = const_cast< ::AdminRemoveGameMessage*>(&::AdminRemoveGameMessage::default_instance());
25650 #endif
25651 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
25652   adminremovegameackmessage_ = const_cast< ::AdminRemoveGameAckMessage*>(
25653       ::AdminRemoveGameAckMessage::internal_default_instance());
25654 #else
25655   adminremovegameackmessage_ = const_cast< ::AdminRemoveGameAckMessage*>(&::AdminRemoveGameAckMessage::default_instance());
25656 #endif
25657 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
25658   adminbanplayermessage_ = const_cast< ::AdminBanPlayerMessage*>(
25659       ::AdminBanPlayerMessage::internal_default_instance());
25660 #else
25661   adminbanplayermessage_ = const_cast< ::AdminBanPlayerMessage*>(&::AdminBanPlayerMessage::default_instance());
25662 #endif
25663 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
25664   adminbanplayerackmessage_ = const_cast< ::AdminBanPlayerAckMessage*>(
25665       ::AdminBanPlayerAckMessage::internal_default_instance());
25666 #else
25667   adminbanplayerackmessage_ = const_cast< ::AdminBanPlayerAckMessage*>(&::AdminBanPlayerAckMessage::default_instance());
25668 #endif
25669 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
25670   gamelistspectatorjoinedmessage_ = const_cast< ::GameListSpectatorJoinedMessage*>(
25671       ::GameListSpectatorJoinedMessage::internal_default_instance());
25672 #else
25673   gamelistspectatorjoinedmessage_ = const_cast< ::GameListSpectatorJoinedMessage*>(&::GameListSpectatorJoinedMessage::default_instance());
25674 #endif
25675 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
25676   gamelistspectatorleftmessage_ = const_cast< ::GameListSpectatorLeftMessage*>(
25677       ::GameListSpectatorLeftMessage::internal_default_instance());
25678 #else
25679   gamelistspectatorleftmessage_ = const_cast< ::GameListSpectatorLeftMessage*>(&::GameListSpectatorLeftMessage::default_instance());
25680 #endif
25681 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
25682   gamespectatorjoinedmessage_ = const_cast< ::GameSpectatorJoinedMessage*>(
25683       ::GameSpectatorJoinedMessage::internal_default_instance());
25684 #else
25685   gamespectatorjoinedmessage_ = const_cast< ::GameSpectatorJoinedMessage*>(&::GameSpectatorJoinedMessage::default_instance());
25686 #endif
25687 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
25688   gamespectatorleftmessage_ = const_cast< ::GameSpectatorLeftMessage*>(
25689       ::GameSpectatorLeftMessage::internal_default_instance());
25690 #else
25691   gamespectatorleftmessage_ = const_cast< ::GameSpectatorLeftMessage*>(&::GameSpectatorLeftMessage::default_instance());
25692 #endif
25693 }
25694 
25695 PokerTHMessage::PokerTHMessage(const PokerTHMessage& from)
25696   : ::google::protobuf::MessageLite() {
25697   SharedCtor();
25698   MergeFrom(from);
25699   // @@protoc_insertion_point(copy_constructor:PokerTHMessage)
25700 }
25701 
25702 void PokerTHMessage::SharedCtor() {
25703   _cached_size_ = 0;
25704   messagetype_ = 1;
25705   announcemessage_ = NULL;
25706   initmessage_ = NULL;
25707   authserverchallengemessage_ = NULL;
25708   authclientresponsemessage_ = NULL;
25709   authserververificationmessage_ = NULL;
25710   initackmessage_ = NULL;
25711   avatarrequestmessage_ = NULL;
25712   avatarheadermessage_ = NULL;
25713   avatardatamessage_ = NULL;
25714   avatarendmessage_ = NULL;
25715   unknownavatarmessage_ = NULL;
25716   playerlistmessage_ = NULL;
25717   gamelistnewmessage_ = NULL;
25718   gamelistupdatemessage_ = NULL;
25719   gamelistplayerjoinedmessage_ = NULL;
25720   gamelistplayerleftmessage_ = NULL;
25721   gamelistadminchangedmessage_ = NULL;
25722   playerinforequestmessage_ = NULL;
25723   playerinforeplymessage_ = NULL;
25724   subscriptionrequestmessage_ = NULL;
25725   joinexistinggamemessage_ = NULL;
25726   joinnewgamemessage_ = NULL;
25727   rejoinexistinggamemessage_ = NULL;
25728   joingameackmessage_ = NULL;
25729   joingamefailedmessage_ = NULL;
25730   gameplayerjoinedmessage_ = NULL;
25731   gameplayerleftmessage_ = NULL;
25732   gameadminchangedmessage_ = NULL;
25733   removedfromgamemessage_ = NULL;
25734   kickplayerrequestmessage_ = NULL;
25735   leavegamerequestmessage_ = NULL;
25736   inviteplayertogamemessage_ = NULL;
25737   invitenotifymessage_ = NULL;
25738   rejectgameinvitationmessage_ = NULL;
25739   rejectinvnotifymessage_ = NULL;
25740   starteventmessage_ = NULL;
25741   starteventackmessage_ = NULL;
25742   gamestartinitialmessage_ = NULL;
25743   gamestartrejoinmessage_ = NULL;
25744   handstartmessage_ = NULL;
25745   playersturnmessage_ = NULL;
25746   myactionrequestmessage_ = NULL;
25747   youractionrejectedmessage_ = NULL;
25748   playersactiondonemessage_ = NULL;
25749   dealflopcardsmessage_ = NULL;
25750   dealturncardmessage_ = NULL;
25751   dealrivercardmessage_ = NULL;
25752   allinshowcardsmessage_ = NULL;
25753   endofhandshowcardsmessage_ = NULL;
25754   endofhandhidecardsmessage_ = NULL;
25755   showmycardsrequestmessage_ = NULL;
25756   afterhandshowcardsmessage_ = NULL;
25757   endofgamemessage_ = NULL;
25758   playeridchangedmessage_ = NULL;
25759   askkickplayermessage_ = NULL;
25760   askkickdeniedmessage_ = NULL;
25761   startkickpetitionmessage_ = NULL;
25762   votekickrequestmessage_ = NULL;
25763   votekickreplymessage_ = NULL;
25764   kickpetitionupdatemessage_ = NULL;
25765   endkickpetitionmessage_ = NULL;
25766   statisticsmessage_ = NULL;
25767   chatrequestmessage_ = NULL;
25768   chatmessage_ = NULL;
25769   chatrejectmessage_ = NULL;
25770   dialogmessage_ = NULL;
25771   timeoutwarningmessage_ = NULL;
25772   resettimeoutmessage_ = NULL;
25773   reportavatarmessage_ = NULL;
25774   reportavatarackmessage_ = NULL;
25775   reportgamemessage_ = NULL;
25776   reportgameackmessage_ = NULL;
25777   errormessage_ = NULL;
25778   adminremovegamemessage_ = NULL;
25779   adminremovegameackmessage_ = NULL;
25780   adminbanplayermessage_ = NULL;
25781   adminbanplayerackmessage_ = NULL;
25782   gamelistspectatorjoinedmessage_ = NULL;
25783   gamelistspectatorleftmessage_ = NULL;
25784   gamespectatorjoinedmessage_ = NULL;
25785   gamespectatorleftmessage_ = NULL;
25786   ::memset(_has_bits_, 0, sizeof(_has_bits_));
25787 }
25788 
25789 PokerTHMessage::~PokerTHMessage() {
25790   // @@protoc_insertion_point(destructor:PokerTHMessage)
25791   SharedDtor();
25792 }
25793 
25794 void PokerTHMessage::SharedDtor() {
25795   #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
25796   if (this != &default_instance()) {
25797   #else
25798   if (this != default_instance_) {
25799   #endif
25800     delete announcemessage_;
25801     delete initmessage_;
25802     delete authserverchallengemessage_;
25803     delete authclientresponsemessage_;
25804     delete authserververificationmessage_;
25805     delete initackmessage_;
25806     delete avatarrequestmessage_;
25807     delete avatarheadermessage_;
25808     delete avatardatamessage_;
25809     delete avatarendmessage_;
25810     delete unknownavatarmessage_;
25811     delete playerlistmessage_;
25812     delete gamelistnewmessage_;
25813     delete gamelistupdatemessage_;
25814     delete gamelistplayerjoinedmessage_;
25815     delete gamelistplayerleftmessage_;
25816     delete gamelistadminchangedmessage_;
25817     delete playerinforequestmessage_;
25818     delete playerinforeplymessage_;
25819     delete subscriptionrequestmessage_;
25820     delete joinexistinggamemessage_;
25821     delete joinnewgamemessage_;
25822     delete rejoinexistinggamemessage_;
25823     delete joingameackmessage_;
25824     delete joingamefailedmessage_;
25825     delete gameplayerjoinedmessage_;
25826     delete gameplayerleftmessage_;
25827     delete gameadminchangedmessage_;
25828     delete removedfromgamemessage_;
25829     delete kickplayerrequestmessage_;
25830     delete leavegamerequestmessage_;
25831     delete inviteplayertogamemessage_;
25832     delete invitenotifymessage_;
25833     delete rejectgameinvitationmessage_;
25834     delete rejectinvnotifymessage_;
25835     delete starteventmessage_;
25836     delete starteventackmessage_;
25837     delete gamestartinitialmessage_;
25838     delete gamestartrejoinmessage_;
25839     delete handstartmessage_;
25840     delete playersturnmessage_;
25841     delete myactionrequestmessage_;
25842     delete youractionrejectedmessage_;
25843     delete playersactiondonemessage_;
25844     delete dealflopcardsmessage_;
25845     delete dealturncardmessage_;
25846     delete dealrivercardmessage_;
25847     delete allinshowcardsmessage_;
25848     delete endofhandshowcardsmessage_;
25849     delete endofhandhidecardsmessage_;
25850     delete showmycardsrequestmessage_;
25851     delete afterhandshowcardsmessage_;
25852     delete endofgamemessage_;
25853     delete playeridchangedmessage_;
25854     delete askkickplayermessage_;
25855     delete askkickdeniedmessage_;
25856     delete startkickpetitionmessage_;
25857     delete votekickrequestmessage_;
25858     delete votekickreplymessage_;
25859     delete kickpetitionupdatemessage_;
25860     delete endkickpetitionmessage_;
25861     delete statisticsmessage_;
25862     delete chatrequestmessage_;
25863     delete chatmessage_;
25864     delete chatrejectmessage_;
25865     delete dialogmessage_;
25866     delete timeoutwarningmessage_;
25867     delete resettimeoutmessage_;
25868     delete reportavatarmessage_;
25869     delete reportavatarackmessage_;
25870     delete reportgamemessage_;
25871     delete reportgameackmessage_;
25872     delete errormessage_;
25873     delete adminremovegamemessage_;
25874     delete adminremovegameackmessage_;
25875     delete adminbanplayermessage_;
25876     delete adminbanplayerackmessage_;
25877     delete gamelistspectatorjoinedmessage_;
25878     delete gamelistspectatorleftmessage_;
25879     delete gamespectatorjoinedmessage_;
25880     delete gamespectatorleftmessage_;
25881   }
25882 }
25883 
25884 void PokerTHMessage::SetCachedSize(int size) const {
25885   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
25886   _cached_size_ = size;
25887   GOOGLE_SAFE_CONCURRENT_WRITES_END();
25888 }
25889 const PokerTHMessage& PokerTHMessage::default_instance() {
25890 #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
25891   protobuf_AddDesc_pokerth_2eproto();
25892 #else
25893   if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto();
25894 #endif
25895   return *default_instance_;
25896 }
25897 
25898 PokerTHMessage* PokerTHMessage::default_instance_ = NULL;
25899 
25900 PokerTHMessage* PokerTHMessage::New() const {
25901   return new PokerTHMessage;
25902 }
25903 
25904 void PokerTHMessage::Clear() {
25905   if (_has_bits_[0 / 32] & 255) {
25906     messagetype_ = 1;
25907     if (has_announcemessage()) {
25908       if (announcemessage_ != NULL) announcemessage_->::AnnounceMessage::Clear();
25909     }
25910     if (has_initmessage()) {
25911       if (initmessage_ != NULL) initmessage_->::InitMessage::Clear();
25912     }
25913     if (has_authserverchallengemessage()) {
25914       if (authserverchallengemessage_ != NULL) authserverchallengemessage_->::AuthServerChallengeMessage::Clear();
25915     }
25916     if (has_authclientresponsemessage()) {
25917       if (authclientresponsemessage_ != NULL) authclientresponsemessage_->::AuthClientResponseMessage::Clear();
25918     }
25919     if (has_authserververificationmessage()) {
25920       if (authserververificationmessage_ != NULL) authserververificationmessage_->::AuthServerVerificationMessage::Clear();
25921     }
25922     if (has_initackmessage()) {
25923       if (initackmessage_ != NULL) initackmessage_->::InitAckMessage::Clear();
25924     }
25925     if (has_avatarrequestmessage()) {
25926       if (avatarrequestmessage_ != NULL) avatarrequestmessage_->::AvatarRequestMessage::Clear();
25927     }
25928   }
25929   if (_has_bits_[8 / 32] & 65280) {
25930     if (has_avatarheadermessage()) {
25931       if (avatarheadermessage_ != NULL) avatarheadermessage_->::AvatarHeaderMessage::Clear();
25932     }
25933     if (has_avatardatamessage()) {
25934       if (avatardatamessage_ != NULL) avatardatamessage_->::AvatarDataMessage::Clear();
25935     }
25936     if (has_avatarendmessage()) {
25937       if (avatarendmessage_ != NULL) avatarendmessage_->::AvatarEndMessage::Clear();
25938     }
25939     if (has_unknownavatarmessage()) {
25940       if (unknownavatarmessage_ != NULL) unknownavatarmessage_->::UnknownAvatarMessage::Clear();
25941     }
25942     if (has_playerlistmessage()) {
25943       if (playerlistmessage_ != NULL) playerlistmessage_->::PlayerListMessage::Clear();
25944     }
25945     if (has_gamelistnewmessage()) {
25946       if (gamelistnewmessage_ != NULL) gamelistnewmessage_->::GameListNewMessage::Clear();
25947     }
25948     if (has_gamelistupdatemessage()) {
25949       if (gamelistupdatemessage_ != NULL) gamelistupdatemessage_->::GameListUpdateMessage::Clear();
25950     }
25951     if (has_gamelistplayerjoinedmessage()) {
25952       if (gamelistplayerjoinedmessage_ != NULL) gamelistplayerjoinedmessage_->::GameListPlayerJoinedMessage::Clear();
25953     }
25954   }
25955   if (_has_bits_[16 / 32] & 16711680) {
25956     if (has_gamelistplayerleftmessage()) {
25957       if (gamelistplayerleftmessage_ != NULL) gamelistplayerleftmessage_->::GameListPlayerLeftMessage::Clear();
25958     }
25959     if (has_gamelistadminchangedmessage()) {
25960       if (gamelistadminchangedmessage_ != NULL) gamelistadminchangedmessage_->::GameListAdminChangedMessage::Clear();
25961     }
25962     if (has_playerinforequestmessage()) {
25963       if (playerinforequestmessage_ != NULL) playerinforequestmessage_->::PlayerInfoRequestMessage::Clear();
25964     }
25965     if (has_playerinforeplymessage()) {
25966       if (playerinforeplymessage_ != NULL) playerinforeplymessage_->::PlayerInfoReplyMessage::Clear();
25967     }
25968     if (has_subscriptionrequestmessage()) {
25969       if (subscriptionrequestmessage_ != NULL) subscriptionrequestmessage_->::SubscriptionRequestMessage::Clear();
25970     }
25971     if (has_joinexistinggamemessage()) {
25972       if (joinexistinggamemessage_ != NULL) joinexistinggamemessage_->::JoinExistingGameMessage::Clear();
25973     }
25974     if (has_joinnewgamemessage()) {
25975       if (joinnewgamemessage_ != NULL) joinnewgamemessage_->::JoinNewGameMessage::Clear();
25976     }
25977     if (has_rejoinexistinggamemessage()) {
25978       if (rejoinexistinggamemessage_ != NULL) rejoinexistinggamemessage_->::RejoinExistingGameMessage::Clear();
25979     }
25980   }
25981   if (_has_bits_[24 / 32] & 4278190080) {
25982     if (has_joingameackmessage()) {
25983       if (joingameackmessage_ != NULL) joingameackmessage_->::JoinGameAckMessage::Clear();
25984     }
25985     if (has_joingamefailedmessage()) {
25986       if (joingamefailedmessage_ != NULL) joingamefailedmessage_->::JoinGameFailedMessage::Clear();
25987     }
25988     if (has_gameplayerjoinedmessage()) {
25989       if (gameplayerjoinedmessage_ != NULL) gameplayerjoinedmessage_->::GamePlayerJoinedMessage::Clear();
25990     }
25991     if (has_gameplayerleftmessage()) {
25992       if (gameplayerleftmessage_ != NULL) gameplayerleftmessage_->::GamePlayerLeftMessage::Clear();
25993     }
25994     if (has_gameadminchangedmessage()) {
25995       if (gameadminchangedmessage_ != NULL) gameadminchangedmessage_->::GameAdminChangedMessage::Clear();
25996     }
25997     if (has_removedfromgamemessage()) {
25998       if (removedfromgamemessage_ != NULL) removedfromgamemessage_->::RemovedFromGameMessage::Clear();
25999     }
26000     if (has_kickplayerrequestmessage()) {
26001       if (kickplayerrequestmessage_ != NULL) kickplayerrequestmessage_->::KickPlayerRequestMessage::Clear();
26002     }
26003     if (has_leavegamerequestmessage()) {
26004       if (leavegamerequestmessage_ != NULL) leavegamerequestmessage_->::LeaveGameRequestMessage::Clear();
26005     }
26006   }
26007   if (_has_bits_[32 / 32] & 255) {
26008     if (has_inviteplayertogamemessage()) {
26009       if (inviteplayertogamemessage_ != NULL) inviteplayertogamemessage_->::InvitePlayerToGameMessage::Clear();
26010     }
26011     if (has_invitenotifymessage()) {
26012       if (invitenotifymessage_ != NULL) invitenotifymessage_->::InviteNotifyMessage::Clear();
26013     }
26014     if (has_rejectgameinvitationmessage()) {
26015       if (rejectgameinvitationmessage_ != NULL) rejectgameinvitationmessage_->::RejectGameInvitationMessage::Clear();
26016     }
26017     if (has_rejectinvnotifymessage()) {
26018       if (rejectinvnotifymessage_ != NULL) rejectinvnotifymessage_->::RejectInvNotifyMessage::Clear();
26019     }
26020     if (has_starteventmessage()) {
26021       if (starteventmessage_ != NULL) starteventmessage_->::StartEventMessage::Clear();
26022     }
26023     if (has_starteventackmessage()) {
26024       if (starteventackmessage_ != NULL) starteventackmessage_->::StartEventAckMessage::Clear();
26025     }
26026     if (has_gamestartinitialmessage()) {
26027       if (gamestartinitialmessage_ != NULL) gamestartinitialmessage_->::GameStartInitialMessage::Clear();
26028     }
26029     if (has_gamestartrejoinmessage()) {
26030       if (gamestartrejoinmessage_ != NULL) gamestartrejoinmessage_->::GameStartRejoinMessage::Clear();
26031     }
26032   }
26033   if (_has_bits_[40 / 32] & 65280) {
26034     if (has_handstartmessage()) {
26035       if (handstartmessage_ != NULL) handstartmessage_->::HandStartMessage::Clear();
26036     }
26037     if (has_playersturnmessage()) {
26038       if (playersturnmessage_ != NULL) playersturnmessage_->::PlayersTurnMessage::Clear();
26039     }
26040     if (has_myactionrequestmessage()) {
26041       if (myactionrequestmessage_ != NULL) myactionrequestmessage_->::MyActionRequestMessage::Clear();
26042     }
26043     if (has_youractionrejectedmessage()) {
26044       if (youractionrejectedmessage_ != NULL) youractionrejectedmessage_->::YourActionRejectedMessage::Clear();
26045     }
26046     if (has_playersactiondonemessage()) {
26047       if (playersactiondonemessage_ != NULL) playersactiondonemessage_->::PlayersActionDoneMessage::Clear();
26048     }
26049     if (has_dealflopcardsmessage()) {
26050       if (dealflopcardsmessage_ != NULL) dealflopcardsmessage_->::DealFlopCardsMessage::Clear();
26051     }
26052     if (has_dealturncardmessage()) {
26053       if (dealturncardmessage_ != NULL) dealturncardmessage_->::DealTurnCardMessage::Clear();
26054     }
26055     if (has_dealrivercardmessage()) {
26056       if (dealrivercardmessage_ != NULL) dealrivercardmessage_->::DealRiverCardMessage::Clear();
26057     }
26058   }
26059   if (_has_bits_[48 / 32] & 16711680) {
26060     if (has_allinshowcardsmessage()) {
26061       if (allinshowcardsmessage_ != NULL) allinshowcardsmessage_->::AllInShowCardsMessage::Clear();
26062     }
26063     if (has_endofhandshowcardsmessage()) {
26064       if (endofhandshowcardsmessage_ != NULL) endofhandshowcardsmessage_->::EndOfHandShowCardsMessage::Clear();
26065     }
26066     if (has_endofhandhidecardsmessage()) {
26067       if (endofhandhidecardsmessage_ != NULL) endofhandhidecardsmessage_->::EndOfHandHideCardsMessage::Clear();
26068     }
26069     if (has_showmycardsrequestmessage()) {
26070       if (showmycardsrequestmessage_ != NULL) showmycardsrequestmessage_->::ShowMyCardsRequestMessage::Clear();
26071     }
26072     if (has_afterhandshowcardsmessage()) {
26073       if (afterhandshowcardsmessage_ != NULL) afterhandshowcardsmessage_->::AfterHandShowCardsMessage::Clear();
26074     }
26075     if (has_endofgamemessage()) {
26076       if (endofgamemessage_ != NULL) endofgamemessage_->::EndOfGameMessage::Clear();
26077     }
26078     if (has_playeridchangedmessage()) {
26079       if (playeridchangedmessage_ != NULL) playeridchangedmessage_->::PlayerIdChangedMessage::Clear();
26080     }
26081     if (has_askkickplayermessage()) {
26082       if (askkickplayermessage_ != NULL) askkickplayermessage_->::AskKickPlayerMessage::Clear();
26083     }
26084   }
26085   if (_has_bits_[56 / 32] & 4278190080) {
26086     if (has_askkickdeniedmessage()) {
26087       if (askkickdeniedmessage_ != NULL) askkickdeniedmessage_->::AskKickDeniedMessage::Clear();
26088     }
26089     if (has_startkickpetitionmessage()) {
26090       if (startkickpetitionmessage_ != NULL) startkickpetitionmessage_->::StartKickPetitionMessage::Clear();
26091     }
26092     if (has_votekickrequestmessage()) {
26093       if (votekickrequestmessage_ != NULL) votekickrequestmessage_->::VoteKickRequestMessage::Clear();
26094     }
26095     if (has_votekickreplymessage()) {
26096       if (votekickreplymessage_ != NULL) votekickreplymessage_->::VoteKickReplyMessage::Clear();
26097     }
26098     if (has_kickpetitionupdatemessage()) {
26099       if (kickpetitionupdatemessage_ != NULL) kickpetitionupdatemessage_->::KickPetitionUpdateMessage::Clear();
26100     }
26101     if (has_endkickpetitionmessage()) {
26102       if (endkickpetitionmessage_ != NULL) endkickpetitionmessage_->::EndKickPetitionMessage::Clear();
26103     }
26104     if (has_statisticsmessage()) {
26105       if (statisticsmessage_ != NULL) statisticsmessage_->::StatisticsMessage::Clear();
26106     }
26107     if (has_chatrequestmessage()) {
26108       if (chatrequestmessage_ != NULL) chatrequestmessage_->::ChatRequestMessage::Clear();
26109     }
26110   }
26111   if (_has_bits_[64 / 32] & 255) {
26112     if (has_chatmessage()) {
26113       if (chatmessage_ != NULL) chatmessage_->::ChatMessage::Clear();
26114     }
26115     if (has_chatrejectmessage()) {
26116       if (chatrejectmessage_ != NULL) chatrejectmessage_->::ChatRejectMessage::Clear();
26117     }
26118     if (has_dialogmessage()) {
26119       if (dialogmessage_ != NULL) dialogmessage_->::DialogMessage::Clear();
26120     }
26121     if (has_timeoutwarningmessage()) {
26122       if (timeoutwarningmessage_ != NULL) timeoutwarningmessage_->::TimeoutWarningMessage::Clear();
26123     }
26124     if (has_resettimeoutmessage()) {
26125       if (resettimeoutmessage_ != NULL) resettimeoutmessage_->::ResetTimeoutMessage::Clear();
26126     }
26127     if (has_reportavatarmessage()) {
26128       if (reportavatarmessage_ != NULL) reportavatarmessage_->::ReportAvatarMessage::Clear();
26129     }
26130     if (has_reportavatarackmessage()) {
26131       if (reportavatarackmessage_ != NULL) reportavatarackmessage_->::ReportAvatarAckMessage::Clear();
26132     }
26133     if (has_reportgamemessage()) {
26134       if (reportgamemessage_ != NULL) reportgamemessage_->::ReportGameMessage::Clear();
26135     }
26136   }
26137   if (_has_bits_[72 / 32] & 65280) {
26138     if (has_reportgameackmessage()) {
26139       if (reportgameackmessage_ != NULL) reportgameackmessage_->::ReportGameAckMessage::Clear();
26140     }
26141     if (has_errormessage()) {
26142       if (errormessage_ != NULL) errormessage_->::ErrorMessage::Clear();
26143     }
26144     if (has_adminremovegamemessage()) {
26145       if (adminremovegamemessage_ != NULL) adminremovegamemessage_->::AdminRemoveGameMessage::Clear();
26146     }
26147     if (has_adminremovegameackmessage()) {
26148       if (adminremovegameackmessage_ != NULL) adminremovegameackmessage_->::AdminRemoveGameAckMessage::Clear();
26149     }
26150     if (has_adminbanplayermessage()) {
26151       if (adminbanplayermessage_ != NULL) adminbanplayermessage_->::AdminBanPlayerMessage::Clear();
26152     }
26153     if (has_adminbanplayerackmessage()) {
26154       if (adminbanplayerackmessage_ != NULL) adminbanplayerackmessage_->::AdminBanPlayerAckMessage::Clear();
26155     }
26156     if (has_gamelistspectatorjoinedmessage()) {
26157       if (gamelistspectatorjoinedmessage_ != NULL) gamelistspectatorjoinedmessage_->::GameListSpectatorJoinedMessage::Clear();
26158     }
26159     if (has_gamelistspectatorleftmessage()) {
26160       if (gamelistspectatorleftmessage_ != NULL) gamelistspectatorleftmessage_->::GameListSpectatorLeftMessage::Clear();
26161     }
26162   }
26163   if (_has_bits_[80 / 32] & 196608) {
26164     if (has_gamespectatorjoinedmessage()) {
26165       if (gamespectatorjoinedmessage_ != NULL) gamespectatorjoinedmessage_->::GameSpectatorJoinedMessage::Clear();
26166     }
26167     if (has_gamespectatorleftmessage()) {
26168       if (gamespectatorleftmessage_ != NULL) gamespectatorleftmessage_->::GameSpectatorLeftMessage::Clear();
26169     }
26170   }
26171   ::memset(_has_bits_, 0, sizeof(_has_bits_));
26172   mutable_unknown_fields()->clear();
26173 }
26174 
26175 bool PokerTHMessage::MergePartialFromCodedStream(
26176     ::google::protobuf::io::CodedInputStream* input) {
26177 #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
26178   ::google::protobuf::uint32 tag;
26179   ::google::protobuf::io::StringOutputStream unknown_fields_string(
26180       mutable_unknown_fields());
26181   ::google::protobuf::io::CodedOutputStream unknown_fields_stream(
26182       &unknown_fields_string);
26183   // @@protoc_insertion_point(parse_start:PokerTHMessage)
26184   for (;;) {
26185     ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(16383);
26186     tag = p.first;
26187     if (!p.second) goto handle_unusual;
26188     switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
26189       // required .PokerTHMessage.PokerTHMessageType messageType = 1;
26190       case 1: {
26191         if (tag == 8) {
26192           int value;
26193           DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
26194                    int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
26195                  input, &value)));
26196           if (::PokerTHMessage_PokerTHMessageType_IsValid(value)) {
26197             set_messagetype(static_cast< ::PokerTHMessage_PokerTHMessageType >(value));
26198           } else {
26199             unknown_fields_stream.WriteVarint32(tag);
26200             unknown_fields_stream.WriteVarint32(value);
26201           }
26202         } else {
26203           goto handle_unusual;
26204         }
26205         if (input->ExpectTag(18)) goto parse_announceMessage;
26206         break;
26207       }
26208 
26209       // optional .AnnounceMessage announceMessage = 2;
26210       case 2: {
26211         if (tag == 18) {
26212          parse_announceMessage:
26213           DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
26214                input, mutable_announcemessage()));
26215         } else {
26216           goto handle_unusual;
26217         }
26218         if (input->ExpectTag(26)) goto parse_initMessage;
26219         break;
26220       }
26221 
26222       // optional .InitMessage initMessage = 3;
26223       case 3: {
26224         if (tag == 26) {
26225          parse_initMessage:
26226           DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
26227                input, mutable_initmessage()));
26228         } else {
26229           goto handle_unusual;
26230         }
26231         if (input->ExpectTag(34)) goto parse_authServerChallengeMessage;
26232         break;
26233       }
26234 
26235       // optional .AuthServerChallengeMessage authServerChallengeMessage = 4;
26236       case 4: {
26237         if (tag == 34) {
26238          parse_authServerChallengeMessage:
26239           DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
26240                input, mutable_authserverchallengemessage()));
26241         } else {
26242           goto handle_unusual;
26243         }
26244         if (input->ExpectTag(42)) goto parse_authClientResponseMessage;
26245         break;
26246       }
26247 
26248       // optional .AuthClientResponseMessage authClientResponseMessage = 5;
26249       case 5: {
26250         if (tag == 42) {
26251          parse_authClientResponseMessage:
26252           DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
26253                input, mutable_authclientresponsemessage()));
26254         } else {
26255           goto handle_unusual;
26256         }
26257         if (input->ExpectTag(50)) goto parse_authServerVerificationMessage;
26258         break;
26259       }
26260 
26261       // optional .AuthServerVerificationMessage authServerVerificationMessage = 6;
26262       case 6: {
26263         if (tag == 50) {
26264          parse_authServerVerificationMessage:
26265           DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
26266                input, mutable_authserververificationmessage()));
26267         } else {
26268           goto handle_unusual;
26269         }
26270         if (input->ExpectTag(58)) goto parse_initAckMessage;
26271         break;
26272       }
26273 
26274       // optional .InitAckMessage initAckMessage = 7;
26275       case 7: {
26276         if (tag == 58) {
26277          parse_initAckMessage:
26278           DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
26279                input, mutable_initackmessage()));
26280         } else {
26281           goto handle_unusual;
26282         }
26283         if (input->ExpectTag(66)) goto parse_avatarRequestMessage;
26284         break;
26285       }
26286 
26287       // optional .AvatarRequestMessage avatarRequestMessage = 8;
26288       case 8: {
26289         if (tag == 66) {
26290          parse_avatarRequestMessage:
26291           DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
26292                input, mutable_avatarrequestmessage()));
26293         } else {
26294           goto handle_unusual;
26295         }
26296         if (input->ExpectTag(74)) goto parse_avatarHeaderMessage;
26297         break;
26298       }
26299 
26300       // optional .AvatarHeaderMessage avatarHeaderMessage = 9;
26301       case 9: {
26302         if (tag == 74) {
26303          parse_avatarHeaderMessage:
26304           DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
26305                input, mutable_avatarheadermessage()));
26306         } else {
26307           goto handle_unusual;
26308         }
26309         if (input->ExpectTag(82)) goto parse_avatarDataMessage;
26310         break;
26311       }
26312 
26313       // optional .AvatarDataMessage avatarDataMessage = 10;
26314       case 10: {
26315         if (tag == 82) {
26316          parse_avatarDataMessage:
26317           DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
26318                input, mutable_avatardatamessage()));
26319         } else {
26320           goto handle_unusual;
26321         }
26322         if (input->ExpectTag(90)) goto parse_avatarEndMessage;
26323         break;
26324       }
26325 
26326       // optional .AvatarEndMessage avatarEndMessage = 11;
26327       case 11: {
26328         if (tag == 90) {
26329          parse_avatarEndMessage:
26330           DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
26331                input, mutable_avatarendmessage()));
26332         } else {
26333           goto handle_unusual;
26334         }
26335         if (input->ExpectTag(98)) goto parse_unknownAvatarMessage;
26336         break;
26337       }
26338 
26339       // optional .UnknownAvatarMessage unknownAvatarMessage = 12;
26340       case 12: {
26341         if (tag == 98) {
26342          parse_unknownAvatarMessage:
26343           DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
26344                input, mutable_unknownavatarmessage()));
26345         } else {
26346           goto handle_unusual;
26347         }
26348         if (input->ExpectTag(106)) goto parse_playerListMessage;
26349         break;
26350       }
26351 
26352       // optional .PlayerListMessage playerListMessage = 13;
26353       case 13: {
26354         if (tag == 106) {
26355          parse_playerListMessage:
26356           DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
26357                input, mutable_playerlistmessage()));
26358         } else {
26359           goto handle_unusual;
26360         }
26361         if (input->ExpectTag(114)) goto parse_gameListNewMessage;
26362         break;
26363       }
26364 
26365       // optional .GameListNewMessage gameListNewMessage = 14;
26366       case 14: {
26367         if (tag == 114) {
26368          parse_gameListNewMessage:
26369           DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
26370                input, mutable_gamelistnewmessage()));
26371         } else {
26372           goto handle_unusual;
26373         }
26374         if (input->ExpectTag(122)) goto parse_gameListUpdateMessage;
26375         break;
26376       }
26377 
26378       // optional .GameListUpdateMessage gameListUpdateMessage = 15;
26379       case 15: {
26380         if (tag == 122) {
26381          parse_gameListUpdateMessage:
26382           DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
26383                input, mutable_gamelistupdatemessage()));
26384         } else {
26385           goto handle_unusual;
26386         }
26387         if (input->ExpectTag(130)) goto parse_gameListPlayerJoinedMessage;
26388         break;
26389       }
26390 
26391       // optional .GameListPlayerJoinedMessage gameListPlayerJoinedMessage = 16;
26392       case 16: {
26393         if (tag == 130) {
26394          parse_gameListPlayerJoinedMessage:
26395           DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
26396                input, mutable_gamelistplayerjoinedmessage()));
26397         } else {
26398           goto handle_unusual;
26399         }
26400         if (input->ExpectTag(138)) goto parse_gameListPlayerLeftMessage;
26401         break;
26402       }
26403 
26404       // optional .GameListPlayerLeftMessage gameListPlayerLeftMessage = 17;
26405       case 17: {
26406         if (tag == 138) {
26407          parse_gameListPlayerLeftMessage:
26408           DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
26409                input, mutable_gamelistplayerleftmessage()));
26410         } else {
26411           goto handle_unusual;
26412         }
26413         if (input->ExpectTag(146)) goto parse_gameListAdminChangedMessage;
26414         break;
26415       }
26416 
26417       // optional .GameListAdminChangedMessage gameListAdminChangedMessage = 18;
26418       case 18: {
26419         if (tag == 146) {
26420          parse_gameListAdminChangedMessage:
26421           DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
26422                input, mutable_gamelistadminchangedmessage()));
26423         } else {
26424           goto handle_unusual;
26425         }
26426         if (input->ExpectTag(154)) goto parse_playerInfoRequestMessage;
26427         break;
26428       }
26429 
26430       // optional .PlayerInfoRequestMessage playerInfoRequestMessage = 19;
26431       case 19: {
26432         if (tag == 154) {
26433          parse_playerInfoRequestMessage:
26434           DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
26435                input, mutable_playerinforequestmessage()));
26436         } else {
26437           goto handle_unusual;
26438         }
26439         if (input->ExpectTag(162)) goto parse_playerInfoReplyMessage;
26440         break;
26441       }
26442 
26443       // optional .PlayerInfoReplyMessage playerInfoReplyMessage = 20;
26444       case 20: {
26445         if (tag == 162) {
26446          parse_playerInfoReplyMessage:
26447           DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
26448                input, mutable_playerinforeplymessage()));
26449         } else {
26450           goto handle_unusual;
26451         }
26452         if (input->ExpectTag(170)) goto parse_subscriptionRequestMessage;
26453         break;
26454       }
26455 
26456       // optional .SubscriptionRequestMessage subscriptionRequestMessage = 21;
26457       case 21: {
26458         if (tag == 170) {
26459          parse_subscriptionRequestMessage:
26460           DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
26461                input, mutable_subscriptionrequestmessage()));
26462         } else {
26463           goto handle_unusual;
26464         }
26465         if (input->ExpectTag(178)) goto parse_joinExistingGameMessage;
26466         break;
26467       }
26468 
26469       // optional .JoinExistingGameMessage joinExistingGameMessage = 22;
26470       case 22: {
26471         if (tag == 178) {
26472          parse_joinExistingGameMessage:
26473           DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
26474                input, mutable_joinexistinggamemessage()));
26475         } else {
26476           goto handle_unusual;
26477         }
26478         if (input->ExpectTag(186)) goto parse_joinNewGameMessage;
26479         break;
26480       }
26481 
26482       // optional .JoinNewGameMessage joinNewGameMessage = 23;
26483       case 23: {
26484         if (tag == 186) {
26485          parse_joinNewGameMessage:
26486           DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
26487                input, mutable_joinnewgamemessage()));
26488         } else {
26489           goto handle_unusual;
26490         }
26491         if (input->ExpectTag(194)) goto parse_rejoinExistingGameMessage;
26492         break;
26493       }
26494 
26495       // optional .RejoinExistingGameMessage rejoinExistingGameMessage = 24;
26496       case 24: {
26497         if (tag == 194) {
26498          parse_rejoinExistingGameMessage:
26499           DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
26500                input, mutable_rejoinexistinggamemessage()));
26501         } else {
26502           goto handle_unusual;
26503         }
26504         if (input->ExpectTag(202)) goto parse_joinGameAckMessage;
26505         break;
26506       }
26507 
26508       // optional .JoinGameAckMessage joinGameAckMessage = 25;
26509       case 25: {
26510         if (tag == 202) {
26511          parse_joinGameAckMessage:
26512           DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
26513                input, mutable_joingameackmessage()));
26514         } else {
26515           goto handle_unusual;
26516         }
26517         if (input->ExpectTag(210)) goto parse_joinGameFailedMessage;
26518         break;
26519       }
26520 
26521       // optional .JoinGameFailedMessage joinGameFailedMessage = 26;
26522       case 26: {
26523         if (tag == 210) {
26524          parse_joinGameFailedMessage:
26525           DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
26526                input, mutable_joingamefailedmessage()));
26527         } else {
26528           goto handle_unusual;
26529         }
26530         if (input->ExpectTag(218)) goto parse_gamePlayerJoinedMessage;
26531         break;
26532       }
26533 
26534       // optional .GamePlayerJoinedMessage gamePlayerJoinedMessage = 27;
26535       case 27: {
26536         if (tag == 218) {
26537          parse_gamePlayerJoinedMessage:
26538           DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
26539                input, mutable_gameplayerjoinedmessage()));
26540         } else {
26541           goto handle_unusual;
26542         }
26543         if (input->ExpectTag(226)) goto parse_gamePlayerLeftMessage;
26544         break;
26545       }
26546 
26547       // optional .GamePlayerLeftMessage gamePlayerLeftMessage = 28;
26548       case 28: {
26549         if (tag == 226) {
26550          parse_gamePlayerLeftMessage:
26551           DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
26552                input, mutable_gameplayerleftmessage()));
26553         } else {
26554           goto handle_unusual;
26555         }
26556         if (input->ExpectTag(234)) goto parse_gameAdminChangedMessage;
26557         break;
26558       }
26559 
26560       // optional .GameAdminChangedMessage gameAdminChangedMessage = 29;
26561       case 29: {
26562         if (tag == 234) {
26563          parse_gameAdminChangedMessage:
26564           DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
26565                input, mutable_gameadminchangedmessage()));
26566         } else {
26567           goto handle_unusual;
26568         }
26569         if (input->ExpectTag(242)) goto parse_removedFromGameMessage;
26570         break;
26571       }
26572 
26573       // optional .RemovedFromGameMessage removedFromGameMessage = 30;
26574       case 30: {
26575         if (tag == 242) {
26576          parse_removedFromGameMessage:
26577           DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
26578                input, mutable_removedfromgamemessage()));
26579         } else {
26580           goto handle_unusual;
26581         }
26582         if (input->ExpectTag(250)) goto parse_kickPlayerRequestMessage;
26583         break;
26584       }
26585 
26586       // optional .KickPlayerRequestMessage kickPlayerRequestMessage = 31;
26587       case 31: {
26588         if (tag == 250) {
26589          parse_kickPlayerRequestMessage:
26590           DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
26591                input, mutable_kickplayerrequestmessage()));
26592         } else {
26593           goto handle_unusual;
26594         }
26595         if (input->ExpectTag(258)) goto parse_leaveGameRequestMessage;
26596         break;
26597       }
26598 
26599       // optional .LeaveGameRequestMessage leaveGameRequestMessage = 32;
26600       case 32: {
26601         if (tag == 258) {
26602          parse_leaveGameRequestMessage:
26603           DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
26604                input, mutable_leavegamerequestmessage()));
26605         } else {
26606           goto handle_unusual;
26607         }
26608         if (input->ExpectTag(266)) goto parse_invitePlayerToGameMessage;
26609         break;
26610       }
26611 
26612       // optional .InvitePlayerToGameMessage invitePlayerToGameMessage = 33;
26613       case 33: {
26614         if (tag == 266) {
26615          parse_invitePlayerToGameMessage:
26616           DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
26617                input, mutable_inviteplayertogamemessage()));
26618         } else {
26619           goto handle_unusual;
26620         }
26621         if (input->ExpectTag(274)) goto parse_inviteNotifyMessage;
26622         break;
26623       }
26624 
26625       // optional .InviteNotifyMessage inviteNotifyMessage = 34;
26626       case 34: {
26627         if (tag == 274) {
26628          parse_inviteNotifyMessage:
26629           DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
26630                input, mutable_invitenotifymessage()));
26631         } else {
26632           goto handle_unusual;
26633         }
26634         if (input->ExpectTag(282)) goto parse_rejectGameInvitationMessage;
26635         break;
26636       }
26637 
26638       // optional .RejectGameInvitationMessage rejectGameInvitationMessage = 35;
26639       case 35: {
26640         if (tag == 282) {
26641          parse_rejectGameInvitationMessage:
26642           DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
26643                input, mutable_rejectgameinvitationmessage()));
26644         } else {
26645           goto handle_unusual;
26646         }
26647         if (input->ExpectTag(290)) goto parse_rejectInvNotifyMessage;
26648         break;
26649       }
26650 
26651       // optional .RejectInvNotifyMessage rejectInvNotifyMessage = 36;
26652       case 36: {
26653         if (tag == 290) {
26654          parse_rejectInvNotifyMessage:
26655           DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
26656                input, mutable_rejectinvnotifymessage()));
26657         } else {
26658           goto handle_unusual;
26659         }
26660         if (input->ExpectTag(298)) goto parse_startEventMessage;
26661         break;
26662       }
26663 
26664       // optional .StartEventMessage startEventMessage = 37;
26665       case 37: {
26666         if (tag == 298) {
26667          parse_startEventMessage:
26668           DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
26669                input, mutable_starteventmessage()));
26670         } else {
26671           goto handle_unusual;
26672         }
26673         if (input->ExpectTag(306)) goto parse_startEventAckMessage;
26674         break;
26675       }
26676 
26677       // optional .StartEventAckMessage startEventAckMessage = 38;
26678       case 38: {
26679         if (tag == 306) {
26680          parse_startEventAckMessage:
26681           DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
26682                input, mutable_starteventackmessage()));
26683         } else {
26684           goto handle_unusual;
26685         }
26686         if (input->ExpectTag(314)) goto parse_gameStartInitialMessage;
26687         break;
26688       }
26689 
26690       // optional .GameStartInitialMessage gameStartInitialMessage = 39;
26691       case 39: {
26692         if (tag == 314) {
26693          parse_gameStartInitialMessage:
26694           DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
26695                input, mutable_gamestartinitialmessage()));
26696         } else {
26697           goto handle_unusual;
26698         }
26699         if (input->ExpectTag(322)) goto parse_gameStartRejoinMessage;
26700         break;
26701       }
26702 
26703       // optional .GameStartRejoinMessage gameStartRejoinMessage = 40;
26704       case 40: {
26705         if (tag == 322) {
26706          parse_gameStartRejoinMessage:
26707           DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
26708                input, mutable_gamestartrejoinmessage()));
26709         } else {
26710           goto handle_unusual;
26711         }
26712         if (input->ExpectTag(330)) goto parse_handStartMessage;
26713         break;
26714       }
26715 
26716       // optional .HandStartMessage handStartMessage = 41;
26717       case 41: {
26718         if (tag == 330) {
26719          parse_handStartMessage:
26720           DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
26721                input, mutable_handstartmessage()));
26722         } else {
26723           goto handle_unusual;
26724         }
26725         if (input->ExpectTag(338)) goto parse_playersTurnMessage;
26726         break;
26727       }
26728 
26729       // optional .PlayersTurnMessage playersTurnMessage = 42;
26730       case 42: {
26731         if (tag == 338) {
26732          parse_playersTurnMessage:
26733           DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
26734                input, mutable_playersturnmessage()));
26735         } else {
26736           goto handle_unusual;
26737         }
26738         if (input->ExpectTag(346)) goto parse_myActionRequestMessage;
26739         break;
26740       }
26741 
26742       // optional .MyActionRequestMessage myActionRequestMessage = 43;
26743       case 43: {
26744         if (tag == 346) {
26745          parse_myActionRequestMessage:
26746           DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
26747                input, mutable_myactionrequestmessage()));
26748         } else {
26749           goto handle_unusual;
26750         }
26751         if (input->ExpectTag(354)) goto parse_yourActionRejectedMessage;
26752         break;
26753       }
26754 
26755       // optional .YourActionRejectedMessage yourActionRejectedMessage = 44;
26756       case 44: {
26757         if (tag == 354) {
26758          parse_yourActionRejectedMessage:
26759           DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
26760                input, mutable_youractionrejectedmessage()));
26761         } else {
26762           goto handle_unusual;
26763         }
26764         if (input->ExpectTag(362)) goto parse_playersActionDoneMessage;
26765         break;
26766       }
26767 
26768       // optional .PlayersActionDoneMessage playersActionDoneMessage = 45;
26769       case 45: {
26770         if (tag == 362) {
26771          parse_playersActionDoneMessage:
26772           DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
26773                input, mutable_playersactiondonemessage()));
26774         } else {
26775           goto handle_unusual;
26776         }
26777         if (input->ExpectTag(370)) goto parse_dealFlopCardsMessage;
26778         break;
26779       }
26780 
26781       // optional .DealFlopCardsMessage dealFlopCardsMessage = 46;
26782       case 46: {
26783         if (tag == 370) {
26784          parse_dealFlopCardsMessage:
26785           DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
26786                input, mutable_dealflopcardsmessage()));
26787         } else {
26788           goto handle_unusual;
26789         }
26790         if (input->ExpectTag(378)) goto parse_dealTurnCardMessage;
26791         break;
26792       }
26793 
26794       // optional .DealTurnCardMessage dealTurnCardMessage = 47;
26795       case 47: {
26796         if (tag == 378) {
26797          parse_dealTurnCardMessage:
26798           DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
26799                input, mutable_dealturncardmessage()));
26800         } else {
26801           goto handle_unusual;
26802         }
26803         if (input->ExpectTag(386)) goto parse_dealRiverCardMessage;
26804         break;
26805       }
26806 
26807       // optional .DealRiverCardMessage dealRiverCardMessage = 48;
26808       case 48: {
26809         if (tag == 386) {
26810          parse_dealRiverCardMessage:
26811           DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
26812                input, mutable_dealrivercardmessage()));
26813         } else {
26814           goto handle_unusual;
26815         }
26816         if (input->ExpectTag(394)) goto parse_allInShowCardsMessage;
26817         break;
26818       }
26819 
26820       // optional .AllInShowCardsMessage allInShowCardsMessage = 49;
26821       case 49: {
26822         if (tag == 394) {
26823          parse_allInShowCardsMessage:
26824           DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
26825                input, mutable_allinshowcardsmessage()));
26826         } else {
26827           goto handle_unusual;
26828         }
26829         if (input->ExpectTag(402)) goto parse_endOfHandShowCardsMessage;
26830         break;
26831       }
26832 
26833       // optional .EndOfHandShowCardsMessage endOfHandShowCardsMessage = 50;
26834       case 50: {
26835         if (tag == 402) {
26836          parse_endOfHandShowCardsMessage:
26837           DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
26838                input, mutable_endofhandshowcardsmessage()));
26839         } else {
26840           goto handle_unusual;
26841         }
26842         if (input->ExpectTag(410)) goto parse_endOfHandHideCardsMessage;
26843         break;
26844       }
26845 
26846       // optional .EndOfHandHideCardsMessage endOfHandHideCardsMessage = 51;
26847       case 51: {
26848         if (tag == 410) {
26849          parse_endOfHandHideCardsMessage:
26850           DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
26851                input, mutable_endofhandhidecardsmessage()));
26852         } else {
26853           goto handle_unusual;
26854         }
26855         if (input->ExpectTag(418)) goto parse_showMyCardsRequestMessage;
26856         break;
26857       }
26858 
26859       // optional .ShowMyCardsRequestMessage showMyCardsRequestMessage = 52;
26860       case 52: {
26861         if (tag == 418) {
26862          parse_showMyCardsRequestMessage:
26863           DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
26864                input, mutable_showmycardsrequestmessage()));
26865         } else {
26866           goto handle_unusual;
26867         }
26868         if (input->ExpectTag(426)) goto parse_afterHandShowCardsMessage;
26869         break;
26870       }
26871 
26872       // optional .AfterHandShowCardsMessage afterHandShowCardsMessage = 53;
26873       case 53: {
26874         if (tag == 426) {
26875          parse_afterHandShowCardsMessage:
26876           DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
26877                input, mutable_afterhandshowcardsmessage()));
26878         } else {
26879           goto handle_unusual;
26880         }
26881         if (input->ExpectTag(434)) goto parse_endOfGameMessage;
26882         break;
26883       }
26884 
26885       // optional .EndOfGameMessage endOfGameMessage = 54;
26886       case 54: {
26887         if (tag == 434) {
26888          parse_endOfGameMessage:
26889           DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
26890                input, mutable_endofgamemessage()));
26891         } else {
26892           goto handle_unusual;
26893         }
26894         if (input->ExpectTag(442)) goto parse_playerIdChangedMessage;
26895         break;
26896       }
26897 
26898       // optional .PlayerIdChangedMessage playerIdChangedMessage = 55;
26899       case 55: {
26900         if (tag == 442) {
26901          parse_playerIdChangedMessage:
26902           DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
26903                input, mutable_playeridchangedmessage()));
26904         } else {
26905           goto handle_unusual;
26906         }
26907         if (input->ExpectTag(450)) goto parse_askKickPlayerMessage;
26908         break;
26909       }
26910 
26911       // optional .AskKickPlayerMessage askKickPlayerMessage = 56;
26912       case 56: {
26913         if (tag == 450) {
26914          parse_askKickPlayerMessage:
26915           DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
26916                input, mutable_askkickplayermessage()));
26917         } else {
26918           goto handle_unusual;
26919         }
26920         if (input->ExpectTag(458)) goto parse_askKickDeniedMessage;
26921         break;
26922       }
26923 
26924       // optional .AskKickDeniedMessage askKickDeniedMessage = 57;
26925       case 57: {
26926         if (tag == 458) {
26927          parse_askKickDeniedMessage:
26928           DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
26929                input, mutable_askkickdeniedmessage()));
26930         } else {
26931           goto handle_unusual;
26932         }
26933         if (input->ExpectTag(466)) goto parse_startKickPetitionMessage;
26934         break;
26935       }
26936 
26937       // optional .StartKickPetitionMessage startKickPetitionMessage = 58;
26938       case 58: {
26939         if (tag == 466) {
26940          parse_startKickPetitionMessage:
26941           DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
26942                input, mutable_startkickpetitionmessage()));
26943         } else {
26944           goto handle_unusual;
26945         }
26946         if (input->ExpectTag(474)) goto parse_voteKickRequestMessage;
26947         break;
26948       }
26949 
26950       // optional .VoteKickRequestMessage voteKickRequestMessage = 59;
26951       case 59: {
26952         if (tag == 474) {
26953          parse_voteKickRequestMessage:
26954           DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
26955                input, mutable_votekickrequestmessage()));
26956         } else {
26957           goto handle_unusual;
26958         }
26959         if (input->ExpectTag(482)) goto parse_voteKickReplyMessage;
26960         break;
26961       }
26962 
26963       // optional .VoteKickReplyMessage voteKickReplyMessage = 60;
26964       case 60: {
26965         if (tag == 482) {
26966          parse_voteKickReplyMessage:
26967           DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
26968                input, mutable_votekickreplymessage()));
26969         } else {
26970           goto handle_unusual;
26971         }
26972         if (input->ExpectTag(490)) goto parse_kickPetitionUpdateMessage;
26973         break;
26974       }
26975 
26976       // optional .KickPetitionUpdateMessage kickPetitionUpdateMessage = 61;
26977       case 61: {
26978         if (tag == 490) {
26979          parse_kickPetitionUpdateMessage:
26980           DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
26981                input, mutable_kickpetitionupdatemessage()));
26982         } else {
26983           goto handle_unusual;
26984         }
26985         if (input->ExpectTag(498)) goto parse_endKickPetitionMessage;
26986         break;
26987       }
26988 
26989       // optional .EndKickPetitionMessage endKickPetitionMessage = 62;
26990       case 62: {
26991         if (tag == 498) {
26992          parse_endKickPetitionMessage:
26993           DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
26994                input, mutable_endkickpetitionmessage()));
26995         } else {
26996           goto handle_unusual;
26997         }
26998         if (input->ExpectTag(506)) goto parse_statisticsMessage;
26999         break;
27000       }
27001 
27002       // optional .StatisticsMessage statisticsMessage = 63;
27003       case 63: {
27004         if (tag == 506) {
27005          parse_statisticsMessage:
27006           DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
27007                input, mutable_statisticsmessage()));
27008         } else {
27009           goto handle_unusual;
27010         }
27011         if (input->ExpectTag(514)) goto parse_chatRequestMessage;
27012         break;
27013       }
27014 
27015       // optional .ChatRequestMessage chatRequestMessage = 64;
27016       case 64: {
27017         if (tag == 514) {
27018          parse_chatRequestMessage:
27019           DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
27020                input, mutable_chatrequestmessage()));
27021         } else {
27022           goto handle_unusual;
27023         }
27024         if (input->ExpectTag(522)) goto parse_chatMessage;
27025         break;
27026       }
27027 
27028       // optional .ChatMessage chatMessage = 65;
27029       case 65: {
27030         if (tag == 522) {
27031          parse_chatMessage:
27032           DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
27033                input, mutable_chatmessage()));
27034         } else {
27035           goto handle_unusual;
27036         }
27037         if (input->ExpectTag(530)) goto parse_chatRejectMessage;
27038         break;
27039       }
27040 
27041       // optional .ChatRejectMessage chatRejectMessage = 66;
27042       case 66: {
27043         if (tag == 530) {
27044          parse_chatRejectMessage:
27045           DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
27046                input, mutable_chatrejectmessage()));
27047         } else {
27048           goto handle_unusual;
27049         }
27050         if (input->ExpectTag(538)) goto parse_dialogMessage;
27051         break;
27052       }
27053 
27054       // optional .DialogMessage dialogMessage = 67;
27055       case 67: {
27056         if (tag == 538) {
27057          parse_dialogMessage:
27058           DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
27059                input, mutable_dialogmessage()));
27060         } else {
27061           goto handle_unusual;
27062         }
27063         if (input->ExpectTag(546)) goto parse_timeoutWarningMessage;
27064         break;
27065       }
27066 
27067       // optional .TimeoutWarningMessage timeoutWarningMessage = 68;
27068       case 68: {
27069         if (tag == 546) {
27070          parse_timeoutWarningMessage:
27071           DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
27072                input, mutable_timeoutwarningmessage()));
27073         } else {
27074           goto handle_unusual;
27075         }
27076         if (input->ExpectTag(554)) goto parse_resetTimeoutMessage;
27077         break;
27078       }
27079 
27080       // optional .ResetTimeoutMessage resetTimeoutMessage = 69;
27081       case 69: {
27082         if (tag == 554) {
27083          parse_resetTimeoutMessage:
27084           DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
27085                input, mutable_resettimeoutmessage()));
27086         } else {
27087           goto handle_unusual;
27088         }
27089         if (input->ExpectTag(562)) goto parse_reportAvatarMessage;
27090         break;
27091       }
27092 
27093       // optional .ReportAvatarMessage reportAvatarMessage = 70;
27094       case 70: {
27095         if (tag == 562) {
27096          parse_reportAvatarMessage:
27097           DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
27098                input, mutable_reportavatarmessage()));
27099         } else {
27100           goto handle_unusual;
27101         }
27102         if (input->ExpectTag(570)) goto parse_reportAvatarAckMessage;
27103         break;
27104       }
27105 
27106       // optional .ReportAvatarAckMessage reportAvatarAckMessage = 71;
27107       case 71: {
27108         if (tag == 570) {
27109          parse_reportAvatarAckMessage:
27110           DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
27111                input, mutable_reportavatarackmessage()));
27112         } else {
27113           goto handle_unusual;
27114         }
27115         if (input->ExpectTag(578)) goto parse_reportGameMessage;
27116         break;
27117       }
27118 
27119       // optional .ReportGameMessage reportGameMessage = 72;
27120       case 72: {
27121         if (tag == 578) {
27122          parse_reportGameMessage:
27123           DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
27124                input, mutable_reportgamemessage()));
27125         } else {
27126           goto handle_unusual;
27127         }
27128         if (input->ExpectTag(586)) goto parse_reportGameAckMessage;
27129         break;
27130       }
27131 
27132       // optional .ReportGameAckMessage reportGameAckMessage = 73;
27133       case 73: {
27134         if (tag == 586) {
27135          parse_reportGameAckMessage:
27136           DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
27137                input, mutable_reportgameackmessage()));
27138         } else {
27139           goto handle_unusual;
27140         }
27141         if (input->ExpectTag(594)) goto parse_errorMessage;
27142         break;
27143       }
27144 
27145       // optional .ErrorMessage errorMessage = 74;
27146       case 74: {
27147         if (tag == 594) {
27148          parse_errorMessage:
27149           DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
27150                input, mutable_errormessage()));
27151         } else {
27152           goto handle_unusual;
27153         }
27154         if (input->ExpectTag(602)) goto parse_adminRemoveGameMessage;
27155         break;
27156       }
27157 
27158       // optional .AdminRemoveGameMessage adminRemoveGameMessage = 75;
27159       case 75: {
27160         if (tag == 602) {
27161          parse_adminRemoveGameMessage:
27162           DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
27163                input, mutable_adminremovegamemessage()));
27164         } else {
27165           goto handle_unusual;
27166         }
27167         if (input->ExpectTag(610)) goto parse_adminRemoveGameAckMessage;
27168         break;
27169       }
27170 
27171       // optional .AdminRemoveGameAckMessage adminRemoveGameAckMessage = 76;
27172       case 76: {
27173         if (tag == 610) {
27174          parse_adminRemoveGameAckMessage:
27175           DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
27176                input, mutable_adminremovegameackmessage()));
27177         } else {
27178           goto handle_unusual;
27179         }
27180         if (input->ExpectTag(618)) goto parse_adminBanPlayerMessage;
27181         break;
27182       }
27183 
27184       // optional .AdminBanPlayerMessage adminBanPlayerMessage = 77;
27185       case 77: {
27186         if (tag == 618) {
27187          parse_adminBanPlayerMessage:
27188           DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
27189                input, mutable_adminbanplayermessage()));
27190         } else {
27191           goto handle_unusual;
27192         }
27193         if (input->ExpectTag(626)) goto parse_adminBanPlayerAckMessage;
27194         break;
27195       }
27196 
27197       // optional .AdminBanPlayerAckMessage adminBanPlayerAckMessage = 78;
27198       case 78: {
27199         if (tag == 626) {
27200          parse_adminBanPlayerAckMessage:
27201           DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
27202                input, mutable_adminbanplayerackmessage()));
27203         } else {
27204           goto handle_unusual;
27205         }
27206         if (input->ExpectTag(634)) goto parse_gameListSpectatorJoinedMessage;
27207         break;
27208       }
27209 
27210       // optional .GameListSpectatorJoinedMessage gameListSpectatorJoinedMessage = 79;
27211       case 79: {
27212         if (tag == 634) {
27213          parse_gameListSpectatorJoinedMessage:
27214           DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
27215                input, mutable_gamelistspectatorjoinedmessage()));
27216         } else {
27217           goto handle_unusual;
27218         }
27219         if (input->ExpectTag(642)) goto parse_gameListSpectatorLeftMessage;
27220         break;
27221       }
27222 
27223       // optional .GameListSpectatorLeftMessage gameListSpectatorLeftMessage = 80;
27224       case 80: {
27225         if (tag == 642) {
27226          parse_gameListSpectatorLeftMessage:
27227           DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
27228                input, mutable_gamelistspectatorleftmessage()));
27229         } else {
27230           goto handle_unusual;
27231         }
27232         if (input->ExpectTag(650)) goto parse_gameSpectatorJoinedMessage;
27233         break;
27234       }
27235 
27236       // optional .GameSpectatorJoinedMessage gameSpectatorJoinedMessage = 81;
27237       case 81: {
27238         if (tag == 650) {
27239          parse_gameSpectatorJoinedMessage:
27240           DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
27241                input, mutable_gamespectatorjoinedmessage()));
27242         } else {
27243           goto handle_unusual;
27244         }
27245         if (input->ExpectTag(658)) goto parse_gameSpectatorLeftMessage;
27246         break;
27247       }
27248 
27249       // optional .GameSpectatorLeftMessage gameSpectatorLeftMessage = 82;
27250       case 82: {
27251         if (tag == 658) {
27252          parse_gameSpectatorLeftMessage:
27253           DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
27254                input, mutable_gamespectatorleftmessage()));
27255         } else {
27256           goto handle_unusual;
27257         }
27258         if (input->ExpectAtEnd()) goto success;
27259         break;
27260       }
27261 
27262       default: {
27263       handle_unusual:
27264         if (tag == 0 ||
27265             ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
27266             ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
27267           goto success;
27268         }
27269         DO_(::google::protobuf::internal::WireFormatLite::SkipField(
27270             input, tag, &unknown_fields_stream));
27271         break;
27272       }
27273     }
27274   }
27275 success:
27276   // @@protoc_insertion_point(parse_success:PokerTHMessage)
27277   return true;
27278 failure:
27279   // @@protoc_insertion_point(parse_failure:PokerTHMessage)
27280   return false;
27281 #undef DO_
27282 }
27283 
27284 void PokerTHMessage::SerializeWithCachedSizes(
27285     ::google::protobuf::io::CodedOutputStream* output) const {
27286   // @@protoc_insertion_point(serialize_start:PokerTHMessage)
27287   // required .PokerTHMessage.PokerTHMessageType messageType = 1;
27288   if (has_messagetype()) {
27289     ::google::protobuf::internal::WireFormatLite::WriteEnum(
27290       1, this->messagetype(), output);
27291   }
27292 
27293   // optional .AnnounceMessage announceMessage = 2;
27294   if (has_announcemessage()) {
27295     ::google::protobuf::internal::WireFormatLite::WriteMessage(
27296       2, this->announcemessage(), output);
27297   }
27298 
27299   // optional .InitMessage initMessage = 3;
27300   if (has_initmessage()) {
27301     ::google::protobuf::internal::WireFormatLite::WriteMessage(
27302       3, this->initmessage(), output);
27303   }
27304 
27305   // optional .AuthServerChallengeMessage authServerChallengeMessage = 4;
27306   if (has_authserverchallengemessage()) {
27307     ::google::protobuf::internal::WireFormatLite::WriteMessage(
27308       4, this->authserverchallengemessage(), output);
27309   }
27310 
27311   // optional .AuthClientResponseMessage authClientResponseMessage = 5;
27312   if (has_authclientresponsemessage()) {
27313     ::google::protobuf::internal::WireFormatLite::WriteMessage(
27314       5, this->authclientresponsemessage(), output);
27315   }
27316 
27317   // optional .AuthServerVerificationMessage authServerVerificationMessage = 6;
27318   if (has_authserververificationmessage()) {
27319     ::google::protobuf::internal::WireFormatLite::WriteMessage(
27320       6, this->authserververificationmessage(), output);
27321   }
27322 
27323   // optional .InitAckMessage initAckMessage = 7;
27324   if (has_initackmessage()) {
27325     ::google::protobuf::internal::WireFormatLite::WriteMessage(
27326       7, this->initackmessage(), output);
27327   }
27328 
27329   // optional .AvatarRequestMessage avatarRequestMessage = 8;
27330   if (has_avatarrequestmessage()) {
27331     ::google::protobuf::internal::WireFormatLite::WriteMessage(
27332       8, this->avatarrequestmessage(), output);
27333   }
27334 
27335   // optional .AvatarHeaderMessage avatarHeaderMessage = 9;
27336   if (has_avatarheadermessage()) {
27337     ::google::protobuf::internal::WireFormatLite::WriteMessage(
27338       9, this->avatarheadermessage(), output);
27339   }
27340 
27341   // optional .AvatarDataMessage avatarDataMessage = 10;
27342   if (has_avatardatamessage()) {
27343     ::google::protobuf::internal::WireFormatLite::WriteMessage(
27344       10, this->avatardatamessage(), output);
27345   }
27346 
27347   // optional .AvatarEndMessage avatarEndMessage = 11;
27348   if (has_avatarendmessage()) {
27349     ::google::protobuf::internal::WireFormatLite::WriteMessage(
27350       11, this->avatarendmessage(), output);
27351   }
27352 
27353   // optional .UnknownAvatarMessage unknownAvatarMessage = 12;
27354   if (has_unknownavatarmessage()) {
27355     ::google::protobuf::internal::WireFormatLite::WriteMessage(
27356       12, this->unknownavatarmessage(), output);
27357   }
27358 
27359   // optional .PlayerListMessage playerListMessage = 13;
27360   if (has_playerlistmessage()) {
27361     ::google::protobuf::internal::WireFormatLite::WriteMessage(
27362       13, this->playerlistmessage(), output);
27363   }
27364 
27365   // optional .GameListNewMessage gameListNewMessage = 14;
27366   if (has_gamelistnewmessage()) {
27367     ::google::protobuf::internal::WireFormatLite::WriteMessage(
27368       14, this->gamelistnewmessage(), output);
27369   }
27370 
27371   // optional .GameListUpdateMessage gameListUpdateMessage = 15;
27372   if (has_gamelistupdatemessage()) {
27373     ::google::protobuf::internal::WireFormatLite::WriteMessage(
27374       15, this->gamelistupdatemessage(), output);
27375   }
27376 
27377   // optional .GameListPlayerJoinedMessage gameListPlayerJoinedMessage = 16;
27378   if (has_gamelistplayerjoinedmessage()) {
27379     ::google::protobuf::internal::WireFormatLite::WriteMessage(
27380       16, this->gamelistplayerjoinedmessage(), output);
27381   }
27382 
27383   // optional .GameListPlayerLeftMessage gameListPlayerLeftMessage = 17;
27384   if (has_gamelistplayerleftmessage()) {
27385     ::google::protobuf::internal::WireFormatLite::WriteMessage(
27386       17, this->gamelistplayerleftmessage(), output);
27387   }
27388 
27389   // optional .GameListAdminChangedMessage gameListAdminChangedMessage = 18;
27390   if (has_gamelistadminchangedmessage()) {
27391     ::google::protobuf::internal::WireFormatLite::WriteMessage(
27392       18, this->gamelistadminchangedmessage(), output);
27393   }
27394 
27395   // optional .PlayerInfoRequestMessage playerInfoRequestMessage = 19;
27396   if (has_playerinforequestmessage()) {
27397     ::google::protobuf::internal::WireFormatLite::WriteMessage(
27398       19, this->playerinforequestmessage(), output);
27399   }
27400 
27401   // optional .PlayerInfoReplyMessage playerInfoReplyMessage = 20;
27402   if (has_playerinforeplymessage()) {
27403     ::google::protobuf::internal::WireFormatLite::WriteMessage(
27404       20, this->playerinforeplymessage(), output);
27405   }
27406 
27407   // optional .SubscriptionRequestMessage subscriptionRequestMessage = 21;
27408   if (has_subscriptionrequestmessage()) {
27409     ::google::protobuf::internal::WireFormatLite::WriteMessage(
27410       21, this->subscriptionrequestmessage(), output);
27411   }
27412 
27413   // optional .JoinExistingGameMessage joinExistingGameMessage = 22;
27414   if (has_joinexistinggamemessage()) {
27415     ::google::protobuf::internal::WireFormatLite::WriteMessage(
27416       22, this->joinexistinggamemessage(), output);
27417   }
27418 
27419   // optional .JoinNewGameMessage joinNewGameMessage = 23;
27420   if (has_joinnewgamemessage()) {
27421     ::google::protobuf::internal::WireFormatLite::WriteMessage(
27422       23, this->joinnewgamemessage(), output);
27423   }
27424 
27425   // optional .RejoinExistingGameMessage rejoinExistingGameMessage = 24;
27426   if (has_rejoinexistinggamemessage()) {
27427     ::google::protobuf::internal::WireFormatLite::WriteMessage(
27428       24, this->rejoinexistinggamemessage(), output);
27429   }
27430 
27431   // optional .JoinGameAckMessage joinGameAckMessage = 25;
27432   if (has_joingameackmessage()) {
27433     ::google::protobuf::internal::WireFormatLite::WriteMessage(
27434       25, this->joingameackmessage(), output);
27435   }
27436 
27437   // optional .JoinGameFailedMessage joinGameFailedMessage = 26;
27438   if (has_joingamefailedmessage()) {
27439     ::google::protobuf::internal::WireFormatLite::WriteMessage(
27440       26, this->joingamefailedmessage(), output);
27441   }
27442 
27443   // optional .GamePlayerJoinedMessage gamePlayerJoinedMessage = 27;
27444   if (has_gameplayerjoinedmessage()) {
27445     ::google::protobuf::internal::WireFormatLite::WriteMessage(
27446       27, this->gameplayerjoinedmessage(), output);
27447   }
27448 
27449   // optional .GamePlayerLeftMessage gamePlayerLeftMessage = 28;
27450   if (has_gameplayerleftmessage()) {
27451     ::google::protobuf::internal::WireFormatLite::WriteMessage(
27452       28, this->gameplayerleftmessage(), output);
27453   }
27454 
27455   // optional .GameAdminChangedMessage gameAdminChangedMessage = 29;
27456   if (has_gameadminchangedmessage()) {
27457     ::google::protobuf::internal::WireFormatLite::WriteMessage(
27458       29, this->gameadminchangedmessage(), output);
27459   }
27460 
27461   // optional .RemovedFromGameMessage removedFromGameMessage = 30;
27462   if (has_removedfromgamemessage()) {
27463     ::google::protobuf::internal::WireFormatLite::WriteMessage(
27464       30, this->removedfromgamemessage(), output);
27465   }
27466 
27467   // optional .KickPlayerRequestMessage kickPlayerRequestMessage = 31;
27468   if (has_kickplayerrequestmessage()) {
27469     ::google::protobuf::internal::WireFormatLite::WriteMessage(
27470       31, this->kickplayerrequestmessage(), output);
27471   }
27472 
27473   // optional .LeaveGameRequestMessage leaveGameRequestMessage = 32;
27474   if (has_leavegamerequestmessage()) {
27475     ::google::protobuf::internal::WireFormatLite::WriteMessage(
27476       32, this->leavegamerequestmessage(), output);
27477   }
27478 
27479   // optional .InvitePlayerToGameMessage invitePlayerToGameMessage = 33;
27480   if (has_inviteplayertogamemessage()) {
27481     ::google::protobuf::internal::WireFormatLite::WriteMessage(
27482       33, this->inviteplayertogamemessage(), output);
27483   }
27484 
27485   // optional .InviteNotifyMessage inviteNotifyMessage = 34;
27486   if (has_invitenotifymessage()) {
27487     ::google::protobuf::internal::WireFormatLite::WriteMessage(
27488       34, this->invitenotifymessage(), output);
27489   }
27490 
27491   // optional .RejectGameInvitationMessage rejectGameInvitationMessage = 35;
27492   if (has_rejectgameinvitationmessage()) {
27493     ::google::protobuf::internal::WireFormatLite::WriteMessage(
27494       35, this->rejectgameinvitationmessage(), output);
27495   }
27496 
27497   // optional .RejectInvNotifyMessage rejectInvNotifyMessage = 36;
27498   if (has_rejectinvnotifymessage()) {
27499     ::google::protobuf::internal::WireFormatLite::WriteMessage(
27500       36, this->rejectinvnotifymessage(), output);
27501   }
27502 
27503   // optional .StartEventMessage startEventMessage = 37;
27504   if (has_starteventmessage()) {
27505     ::google::protobuf::internal::WireFormatLite::WriteMessage(
27506       37, this->starteventmessage(), output);
27507   }
27508 
27509   // optional .StartEventAckMessage startEventAckMessage = 38;
27510   if (has_starteventackmessage()) {
27511     ::google::protobuf::internal::WireFormatLite::WriteMessage(
27512       38, this->starteventackmessage(), output);
27513   }
27514 
27515   // optional .GameStartInitialMessage gameStartInitialMessage = 39;
27516   if (has_gamestartinitialmessage()) {
27517     ::google::protobuf::internal::WireFormatLite::WriteMessage(
27518       39, this->gamestartinitialmessage(), output);
27519   }
27520 
27521   // optional .GameStartRejoinMessage gameStartRejoinMessage = 40;
27522   if (has_gamestartrejoinmessage()) {
27523     ::google::protobuf::internal::WireFormatLite::WriteMessage(
27524       40, this->gamestartrejoinmessage(), output);
27525   }
27526 
27527   // optional .HandStartMessage handStartMessage = 41;
27528   if (has_handstartmessage()) {
27529     ::google::protobuf::internal::WireFormatLite::WriteMessage(
27530       41, this->handstartmessage(), output);
27531   }
27532 
27533   // optional .PlayersTurnMessage playersTurnMessage = 42;
27534   if (has_playersturnmessage()) {
27535     ::google::protobuf::internal::WireFormatLite::WriteMessage(
27536       42, this->playersturnmessage(), output);
27537   }
27538 
27539   // optional .MyActionRequestMessage myActionRequestMessage = 43;
27540   if (has_myactionrequestmessage()) {
27541     ::google::protobuf::internal::WireFormatLite::WriteMessage(
27542       43, this->myactionrequestmessage(), output);
27543   }
27544 
27545   // optional .YourActionRejectedMessage yourActionRejectedMessage = 44;
27546   if (has_youractionrejectedmessage()) {
27547     ::google::protobuf::internal::WireFormatLite::WriteMessage(
27548       44, this->youractionrejectedmessage(), output);
27549   }
27550 
27551   // optional .PlayersActionDoneMessage playersActionDoneMessage = 45;
27552   if (has_playersactiondonemessage()) {
27553     ::google::protobuf::internal::WireFormatLite::WriteMessage(
27554       45, this->playersactiondonemessage(), output);
27555   }
27556 
27557   // optional .DealFlopCardsMessage dealFlopCardsMessage = 46;
27558   if (has_dealflopcardsmessage()) {
27559     ::google::protobuf::internal::WireFormatLite::WriteMessage(
27560       46, this->dealflopcardsmessage(), output);
27561   }
27562 
27563   // optional .DealTurnCardMessage dealTurnCardMessage = 47;
27564   if (has_dealturncardmessage()) {
27565     ::google::protobuf::internal::WireFormatLite::WriteMessage(
27566       47, this->dealturncardmessage(), output);
27567   }
27568 
27569   // optional .DealRiverCardMessage dealRiverCardMessage = 48;
27570   if (has_dealrivercardmessage()) {
27571     ::google::protobuf::internal::WireFormatLite::WriteMessage(
27572       48, this->dealrivercardmessage(), output);
27573   }
27574 
27575   // optional .AllInShowCardsMessage allInShowCardsMessage = 49;
27576   if (has_allinshowcardsmessage()) {
27577     ::google::protobuf::internal::WireFormatLite::WriteMessage(
27578       49, this->allinshowcardsmessage(), output);
27579   }
27580 
27581   // optional .EndOfHandShowCardsMessage endOfHandShowCardsMessage = 50;
27582   if (has_endofhandshowcardsmessage()) {
27583     ::google::protobuf::internal::WireFormatLite::WriteMessage(
27584       50, this->endofhandshowcardsmessage(), output);
27585   }
27586 
27587   // optional .EndOfHandHideCardsMessage endOfHandHideCardsMessage = 51;
27588   if (has_endofhandhidecardsmessage()) {
27589     ::google::protobuf::internal::WireFormatLite::WriteMessage(
27590       51, this->endofhandhidecardsmessage(), output);
27591   }
27592 
27593   // optional .ShowMyCardsRequestMessage showMyCardsRequestMessage = 52;
27594   if (has_showmycardsrequestmessage()) {
27595     ::google::protobuf::internal::WireFormatLite::WriteMessage(
27596       52, this->showmycardsrequestmessage(), output);
27597   }
27598 
27599   // optional .AfterHandShowCardsMessage afterHandShowCardsMessage = 53;
27600   if (has_afterhandshowcardsmessage()) {
27601     ::google::protobuf::internal::WireFormatLite::WriteMessage(
27602       53, this->afterhandshowcardsmessage(), output);
27603   }
27604 
27605   // optional .EndOfGameMessage endOfGameMessage = 54;
27606   if (has_endofgamemessage()) {
27607     ::google::protobuf::internal::WireFormatLite::WriteMessage(
27608       54, this->endofgamemessage(), output);
27609   }
27610 
27611   // optional .PlayerIdChangedMessage playerIdChangedMessage = 55;
27612   if (has_playeridchangedmessage()) {
27613     ::google::protobuf::internal::WireFormatLite::WriteMessage(
27614       55, this->playeridchangedmessage(), output);
27615   }
27616 
27617   // optional .AskKickPlayerMessage askKickPlayerMessage = 56;
27618   if (has_askkickplayermessage()) {
27619     ::google::protobuf::internal::WireFormatLite::WriteMessage(
27620       56, this->askkickplayermessage(), output);
27621   }
27622 
27623   // optional .AskKickDeniedMessage askKickDeniedMessage = 57;
27624   if (has_askkickdeniedmessage()) {
27625     ::google::protobuf::internal::WireFormatLite::WriteMessage(
27626       57, this->askkickdeniedmessage(), output);
27627   }
27628 
27629   // optional .StartKickPetitionMessage startKickPetitionMessage = 58;
27630   if (has_startkickpetitionmessage()) {
27631     ::google::protobuf::internal::WireFormatLite::WriteMessage(
27632       58, this->startkickpetitionmessage(), output);
27633   }
27634 
27635   // optional .VoteKickRequestMessage voteKickRequestMessage = 59;
27636   if (has_votekickrequestmessage()) {
27637     ::google::protobuf::internal::WireFormatLite::WriteMessage(
27638       59, this->votekickrequestmessage(), output);
27639   }
27640 
27641   // optional .VoteKickReplyMessage voteKickReplyMessage = 60;
27642   if (has_votekickreplymessage()) {
27643     ::google::protobuf::internal::WireFormatLite::WriteMessage(
27644       60, this->votekickreplymessage(), output);
27645   }
27646 
27647   // optional .KickPetitionUpdateMessage kickPetitionUpdateMessage = 61;
27648   if (has_kickpetitionupdatemessage()) {
27649     ::google::protobuf::internal::WireFormatLite::WriteMessage(
27650       61, this->kickpetitionupdatemessage(), output);
27651   }
27652 
27653   // optional .EndKickPetitionMessage endKickPetitionMessage = 62;
27654   if (has_endkickpetitionmessage()) {
27655     ::google::protobuf::internal::WireFormatLite::WriteMessage(
27656       62, this->endkickpetitionmessage(), output);
27657   }
27658 
27659   // optional .StatisticsMessage statisticsMessage = 63;
27660   if (has_statisticsmessage()) {
27661     ::google::protobuf::internal::WireFormatLite::WriteMessage(
27662       63, this->statisticsmessage(), output);
27663   }
27664 
27665   // optional .ChatRequestMessage chatRequestMessage = 64;
27666   if (has_chatrequestmessage()) {
27667     ::google::protobuf::internal::WireFormatLite::WriteMessage(
27668       64, this->chatrequestmessage(), output);
27669   }
27670 
27671   // optional .ChatMessage chatMessage = 65;
27672   if (has_chatmessage()) {
27673     ::google::protobuf::internal::WireFormatLite::WriteMessage(
27674       65, this->chatmessage(), output);
27675   }
27676 
27677   // optional .ChatRejectMessage chatRejectMessage = 66;
27678   if (has_chatrejectmessage()) {
27679     ::google::protobuf::internal::WireFormatLite::WriteMessage(
27680       66, this->chatrejectmessage(), output);
27681   }
27682 
27683   // optional .DialogMessage dialogMessage = 67;
27684   if (has_dialogmessage()) {
27685     ::google::protobuf::internal::WireFormatLite::WriteMessage(
27686       67, this->dialogmessage(), output);
27687   }
27688 
27689   // optional .TimeoutWarningMessage timeoutWarningMessage = 68;
27690   if (has_timeoutwarningmessage()) {
27691     ::google::protobuf::internal::WireFormatLite::WriteMessage(
27692       68, this->timeoutwarningmessage(), output);
27693   }
27694 
27695   // optional .ResetTimeoutMessage resetTimeoutMessage = 69;
27696   if (has_resettimeoutmessage()) {
27697     ::google::protobuf::internal::WireFormatLite::WriteMessage(
27698       69, this->resettimeoutmessage(), output);
27699   }
27700 
27701   // optional .ReportAvatarMessage reportAvatarMessage = 70;
27702   if (has_reportavatarmessage()) {
27703     ::google::protobuf::internal::WireFormatLite::WriteMessage(
27704       70, this->reportavatarmessage(), output);
27705   }
27706 
27707   // optional .ReportAvatarAckMessage reportAvatarAckMessage = 71;
27708   if (has_reportavatarackmessage()) {
27709     ::google::protobuf::internal::WireFormatLite::WriteMessage(
27710       71, this->reportavatarackmessage(), output);
27711   }
27712 
27713   // optional .ReportGameMessage reportGameMessage = 72;
27714   if (has_reportgamemessage()) {
27715     ::google::protobuf::internal::WireFormatLite::WriteMessage(
27716       72, this->reportgamemessage(), output);
27717   }
27718 
27719   // optional .ReportGameAckMessage reportGameAckMessage = 73;
27720   if (has_reportgameackmessage()) {
27721     ::google::protobuf::internal::WireFormatLite::WriteMessage(
27722       73, this->reportgameackmessage(), output);
27723   }
27724 
27725   // optional .ErrorMessage errorMessage = 74;
27726   if (has_errormessage()) {
27727     ::google::protobuf::internal::WireFormatLite::WriteMessage(
27728       74, this->errormessage(), output);
27729   }
27730 
27731   // optional .AdminRemoveGameMessage adminRemoveGameMessage = 75;
27732   if (has_adminremovegamemessage()) {
27733     ::google::protobuf::internal::WireFormatLite::WriteMessage(
27734       75, this->adminremovegamemessage(), output);
27735   }
27736 
27737   // optional .AdminRemoveGameAckMessage adminRemoveGameAckMessage = 76;
27738   if (has_adminremovegameackmessage()) {
27739     ::google::protobuf::internal::WireFormatLite::WriteMessage(
27740       76, this->adminremovegameackmessage(), output);
27741   }
27742 
27743   // optional .AdminBanPlayerMessage adminBanPlayerMessage = 77;
27744   if (has_adminbanplayermessage()) {
27745     ::google::protobuf::internal::WireFormatLite::WriteMessage(
27746       77, this->adminbanplayermessage(), output);
27747   }
27748 
27749   // optional .AdminBanPlayerAckMessage adminBanPlayerAckMessage = 78;
27750   if (has_adminbanplayerackmessage()) {
27751     ::google::protobuf::internal::WireFormatLite::WriteMessage(
27752       78, this->adminbanplayerackmessage(), output);
27753   }
27754 
27755   // optional .GameListSpectatorJoinedMessage gameListSpectatorJoinedMessage = 79;
27756   if (has_gamelistspectatorjoinedmessage()) {
27757     ::google::protobuf::internal::WireFormatLite::WriteMessage(
27758       79, this->gamelistspectatorjoinedmessage(), output);
27759   }
27760 
27761   // optional .GameListSpectatorLeftMessage gameListSpectatorLeftMessage = 80;
27762   if (has_gamelistspectatorleftmessage()) {
27763     ::google::protobuf::internal::WireFormatLite::WriteMessage(
27764       80, this->gamelistspectatorleftmessage(), output);
27765   }
27766 
27767   // optional .GameSpectatorJoinedMessage gameSpectatorJoinedMessage = 81;
27768   if (has_gamespectatorjoinedmessage()) {
27769     ::google::protobuf::internal::WireFormatLite::WriteMessage(
27770       81, this->gamespectatorjoinedmessage(), output);
27771   }
27772 
27773   // optional .GameSpectatorLeftMessage gameSpectatorLeftMessage = 82;
27774   if (has_gamespectatorleftmessage()) {
27775     ::google::protobuf::internal::WireFormatLite::WriteMessage(
27776       82, this->gamespectatorleftmessage(), output);
27777   }
27778 
27779   output->WriteRaw(unknown_fields().data(),
27780                    unknown_fields().size());
27781   // @@protoc_insertion_point(serialize_end:PokerTHMessage)
27782 }
27783 
27784 int PokerTHMessage::ByteSize() const {
27785   int total_size = 0;
27786 
27787   if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
27788     // required .PokerTHMessage.PokerTHMessageType messageType = 1;
27789     if (has_messagetype()) {
27790       total_size += 1 +
27791         ::google::protobuf::internal::WireFormatLite::EnumSize(this->messagetype());
27792     }
27793 
27794     // optional .AnnounceMessage announceMessage = 2;
27795     if (has_announcemessage()) {
27796       total_size += 1 +
27797         ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
27798           this->announcemessage());
27799     }
27800 
27801     // optional .InitMessage initMessage = 3;
27802     if (has_initmessage()) {
27803       total_size += 1 +
27804         ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
27805           this->initmessage());
27806     }
27807 
27808     // optional .AuthServerChallengeMessage authServerChallengeMessage = 4;
27809     if (has_authserverchallengemessage()) {
27810       total_size += 1 +
27811         ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
27812           this->authserverchallengemessage());
27813     }
27814 
27815     // optional .AuthClientResponseMessage authClientResponseMessage = 5;
27816     if (has_authclientresponsemessage()) {
27817       total_size += 1 +
27818         ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
27819           this->authclientresponsemessage());
27820     }
27821 
27822     // optional .AuthServerVerificationMessage authServerVerificationMessage = 6;
27823     if (has_authserververificationmessage()) {
27824       total_size += 1 +
27825         ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
27826           this->authserververificationmessage());
27827     }
27828 
27829     // optional .InitAckMessage initAckMessage = 7;
27830     if (has_initackmessage()) {
27831       total_size += 1 +
27832         ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
27833           this->initackmessage());
27834     }
27835 
27836     // optional .AvatarRequestMessage avatarRequestMessage = 8;
27837     if (has_avatarrequestmessage()) {
27838       total_size += 1 +
27839         ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
27840           this->avatarrequestmessage());
27841     }
27842 
27843   }
27844   if (_has_bits_[8 / 32] & (0xffu << (8 % 32))) {
27845     // optional .AvatarHeaderMessage avatarHeaderMessage = 9;
27846     if (has_avatarheadermessage()) {
27847       total_size += 1 +
27848         ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
27849           this->avatarheadermessage());
27850     }
27851 
27852     // optional .AvatarDataMessage avatarDataMessage = 10;
27853     if (has_avatardatamessage()) {
27854       total_size += 1 +
27855         ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
27856           this->avatardatamessage());
27857     }
27858 
27859     // optional .AvatarEndMessage avatarEndMessage = 11;
27860     if (has_avatarendmessage()) {
27861       total_size += 1 +
27862         ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
27863           this->avatarendmessage());
27864     }
27865 
27866     // optional .UnknownAvatarMessage unknownAvatarMessage = 12;
27867     if (has_unknownavatarmessage()) {
27868       total_size += 1 +
27869         ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
27870           this->unknownavatarmessage());
27871     }
27872 
27873     // optional .PlayerListMessage playerListMessage = 13;
27874     if (has_playerlistmessage()) {
27875       total_size += 1 +
27876         ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
27877           this->playerlistmessage());
27878     }
27879 
27880     // optional .GameListNewMessage gameListNewMessage = 14;
27881     if (has_gamelistnewmessage()) {
27882       total_size += 1 +
27883         ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
27884           this->gamelistnewmessage());
27885     }
27886 
27887     // optional .GameListUpdateMessage gameListUpdateMessage = 15;
27888     if (has_gamelistupdatemessage()) {
27889       total_size += 1 +
27890         ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
27891           this->gamelistupdatemessage());
27892     }
27893 
27894     // optional .GameListPlayerJoinedMessage gameListPlayerJoinedMessage = 16;
27895     if (has_gamelistplayerjoinedmessage()) {
27896       total_size += 2 +
27897         ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
27898           this->gamelistplayerjoinedmessage());
27899     }
27900 
27901   }
27902   if (_has_bits_[16 / 32] & (0xffu << (16 % 32))) {
27903     // optional .GameListPlayerLeftMessage gameListPlayerLeftMessage = 17;
27904     if (has_gamelistplayerleftmessage()) {
27905       total_size += 2 +
27906         ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
27907           this->gamelistplayerleftmessage());
27908     }
27909 
27910     // optional .GameListAdminChangedMessage gameListAdminChangedMessage = 18;
27911     if (has_gamelistadminchangedmessage()) {
27912       total_size += 2 +
27913         ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
27914           this->gamelistadminchangedmessage());
27915     }
27916 
27917     // optional .PlayerInfoRequestMessage playerInfoRequestMessage = 19;
27918     if (has_playerinforequestmessage()) {
27919       total_size += 2 +
27920         ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
27921           this->playerinforequestmessage());
27922     }
27923 
27924     // optional .PlayerInfoReplyMessage playerInfoReplyMessage = 20;
27925     if (has_playerinforeplymessage()) {
27926       total_size += 2 +
27927         ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
27928           this->playerinforeplymessage());
27929     }
27930 
27931     // optional .SubscriptionRequestMessage subscriptionRequestMessage = 21;
27932     if (has_subscriptionrequestmessage()) {
27933       total_size += 2 +
27934         ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
27935           this->subscriptionrequestmessage());
27936     }
27937 
27938     // optional .JoinExistingGameMessage joinExistingGameMessage = 22;
27939     if (has_joinexistinggamemessage()) {
27940       total_size += 2 +
27941         ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
27942           this->joinexistinggamemessage());
27943     }
27944 
27945     // optional .JoinNewGameMessage joinNewGameMessage = 23;
27946     if (has_joinnewgamemessage()) {
27947       total_size += 2 +
27948         ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
27949           this->joinnewgamemessage());
27950     }
27951 
27952     // optional .RejoinExistingGameMessage rejoinExistingGameMessage = 24;
27953     if (has_rejoinexistinggamemessage()) {
27954       total_size += 2 +
27955         ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
27956           this->rejoinexistinggamemessage());
27957     }
27958 
27959   }
27960   if (_has_bits_[24 / 32] & (0xffu << (24 % 32))) {
27961     // optional .JoinGameAckMessage joinGameAckMessage = 25;
27962     if (has_joingameackmessage()) {
27963       total_size += 2 +
27964         ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
27965           this->joingameackmessage());
27966     }
27967 
27968     // optional .JoinGameFailedMessage joinGameFailedMessage = 26;
27969     if (has_joingamefailedmessage()) {
27970       total_size += 2 +
27971         ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
27972           this->joingamefailedmessage());
27973     }
27974 
27975     // optional .GamePlayerJoinedMessage gamePlayerJoinedMessage = 27;
27976     if (has_gameplayerjoinedmessage()) {
27977       total_size += 2 +
27978         ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
27979           this->gameplayerjoinedmessage());
27980     }
27981 
27982     // optional .GamePlayerLeftMessage gamePlayerLeftMessage = 28;
27983     if (has_gameplayerleftmessage()) {
27984       total_size += 2 +
27985         ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
27986           this->gameplayerleftmessage());
27987     }
27988 
27989     // optional .GameAdminChangedMessage gameAdminChangedMessage = 29;
27990     if (has_gameadminchangedmessage()) {
27991       total_size += 2 +
27992         ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
27993           this->gameadminchangedmessage());
27994     }
27995 
27996     // optional .RemovedFromGameMessage removedFromGameMessage = 30;
27997     if (has_removedfromgamemessage()) {
27998       total_size += 2 +
27999         ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
28000           this->removedfromgamemessage());
28001     }
28002 
28003     // optional .KickPlayerRequestMessage kickPlayerRequestMessage = 31;
28004     if (has_kickplayerrequestmessage()) {
28005       total_size += 2 +
28006         ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
28007           this->kickplayerrequestmessage());
28008     }
28009 
28010     // optional .LeaveGameRequestMessage leaveGameRequestMessage = 32;
28011     if (has_leavegamerequestmessage()) {
28012       total_size += 2 +
28013         ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
28014           this->leavegamerequestmessage());
28015     }
28016 
28017   }
28018   if (_has_bits_[32 / 32] & (0xffu << (32 % 32))) {
28019     // optional .InvitePlayerToGameMessage invitePlayerToGameMessage = 33;
28020     if (has_inviteplayertogamemessage()) {
28021       total_size += 2 +
28022         ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
28023           this->inviteplayertogamemessage());
28024     }
28025 
28026     // optional .InviteNotifyMessage inviteNotifyMessage = 34;
28027     if (has_invitenotifymessage()) {
28028       total_size += 2 +
28029         ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
28030           this->invitenotifymessage());
28031     }
28032 
28033     // optional .RejectGameInvitationMessage rejectGameInvitationMessage = 35;
28034     if (has_rejectgameinvitationmessage()) {
28035       total_size += 2 +
28036         ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
28037           this->rejectgameinvitationmessage());
28038     }
28039 
28040     // optional .RejectInvNotifyMessage rejectInvNotifyMessage = 36;
28041     if (has_rejectinvnotifymessage()) {
28042       total_size += 2 +
28043         ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
28044           this->rejectinvnotifymessage());
28045     }
28046 
28047     // optional .StartEventMessage startEventMessage = 37;
28048     if (has_starteventmessage()) {
28049       total_size += 2 +
28050         ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
28051           this->starteventmessage());
28052     }
28053 
28054     // optional .StartEventAckMessage startEventAckMessage = 38;
28055     if (has_starteventackmessage()) {
28056       total_size += 2 +
28057         ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
28058           this->starteventackmessage());
28059     }
28060 
28061     // optional .GameStartInitialMessage gameStartInitialMessage = 39;
28062     if (has_gamestartinitialmessage()) {
28063       total_size += 2 +
28064         ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
28065           this->gamestartinitialmessage());
28066     }
28067 
28068     // optional .GameStartRejoinMessage gameStartRejoinMessage = 40;
28069     if (has_gamestartrejoinmessage()) {
28070       total_size += 2 +
28071         ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
28072           this->gamestartrejoinmessage());
28073     }
28074 
28075   }
28076   if (_has_bits_[40 / 32] & (0xffu << (40 % 32))) {
28077     // optional .HandStartMessage handStartMessage = 41;
28078     if (has_handstartmessage()) {
28079       total_size += 2 +
28080         ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
28081           this->handstartmessage());
28082     }
28083 
28084     // optional .PlayersTurnMessage playersTurnMessage = 42;
28085     if (has_playersturnmessage()) {
28086       total_size += 2 +
28087         ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
28088           this->playersturnmessage());
28089     }
28090 
28091     // optional .MyActionRequestMessage myActionRequestMessage = 43;
28092     if (has_myactionrequestmessage()) {
28093       total_size += 2 +
28094         ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
28095           this->myactionrequestmessage());
28096     }
28097 
28098     // optional .YourActionRejectedMessage yourActionRejectedMessage = 44;
28099     if (has_youractionrejectedmessage()) {
28100       total_size += 2 +
28101         ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
28102           this->youractionrejectedmessage());
28103     }
28104 
28105     // optional .PlayersActionDoneMessage playersActionDoneMessage = 45;
28106     if (has_playersactiondonemessage()) {
28107       total_size += 2 +
28108         ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
28109           this->playersactiondonemessage());
28110     }
28111 
28112     // optional .DealFlopCardsMessage dealFlopCardsMessage = 46;
28113     if (has_dealflopcardsmessage()) {
28114       total_size += 2 +
28115         ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
28116           this->dealflopcardsmessage());
28117     }
28118 
28119     // optional .DealTurnCardMessage dealTurnCardMessage = 47;
28120     if (has_dealturncardmessage()) {
28121       total_size += 2 +
28122         ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
28123           this->dealturncardmessage());
28124     }
28125 
28126     // optional .DealRiverCardMessage dealRiverCardMessage = 48;
28127     if (has_dealrivercardmessage()) {
28128       total_size += 2 +
28129         ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
28130           this->dealrivercardmessage());
28131     }
28132 
28133   }
28134   if (_has_bits_[48 / 32] & (0xffu << (48 % 32))) {
28135     // optional .AllInShowCardsMessage allInShowCardsMessage = 49;
28136     if (has_allinshowcardsmessage()) {
28137       total_size += 2 +
28138         ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
28139           this->allinshowcardsmessage());
28140     }
28141 
28142     // optional .EndOfHandShowCardsMessage endOfHandShowCardsMessage = 50;
28143     if (has_endofhandshowcardsmessage()) {
28144       total_size += 2 +
28145         ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
28146           this->endofhandshowcardsmessage());
28147     }
28148 
28149     // optional .EndOfHandHideCardsMessage endOfHandHideCardsMessage = 51;
28150     if (has_endofhandhidecardsmessage()) {
28151       total_size += 2 +
28152         ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
28153           this->endofhandhidecardsmessage());
28154     }
28155 
28156     // optional .ShowMyCardsRequestMessage showMyCardsRequestMessage = 52;
28157     if (has_showmycardsrequestmessage()) {
28158       total_size += 2 +
28159         ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
28160           this->showmycardsrequestmessage());
28161     }
28162 
28163     // optional .AfterHandShowCardsMessage afterHandShowCardsMessage = 53;
28164     if (has_afterhandshowcardsmessage()) {
28165       total_size += 2 +
28166         ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
28167           this->afterhandshowcardsmessage());
28168     }
28169 
28170     // optional .EndOfGameMessage endOfGameMessage = 54;
28171     if (has_endofgamemessage()) {
28172       total_size += 2 +
28173         ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
28174           this->endofgamemessage());
28175     }
28176 
28177     // optional .PlayerIdChangedMessage playerIdChangedMessage = 55;
28178     if (has_playeridchangedmessage()) {
28179       total_size += 2 +
28180         ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
28181           this->playeridchangedmessage());
28182     }
28183 
28184     // optional .AskKickPlayerMessage askKickPlayerMessage = 56;
28185     if (has_askkickplayermessage()) {
28186       total_size += 2 +
28187         ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
28188           this->askkickplayermessage());
28189     }
28190 
28191   }
28192   if (_has_bits_[56 / 32] & (0xffu << (56 % 32))) {
28193     // optional .AskKickDeniedMessage askKickDeniedMessage = 57;
28194     if (has_askkickdeniedmessage()) {
28195       total_size += 2 +
28196         ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
28197           this->askkickdeniedmessage());
28198     }
28199 
28200     // optional .StartKickPetitionMessage startKickPetitionMessage = 58;
28201     if (has_startkickpetitionmessage()) {
28202       total_size += 2 +
28203         ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
28204           this->startkickpetitionmessage());
28205     }
28206 
28207     // optional .VoteKickRequestMessage voteKickRequestMessage = 59;
28208     if (has_votekickrequestmessage()) {
28209       total_size += 2 +
28210         ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
28211           this->votekickrequestmessage());
28212     }
28213 
28214     // optional .VoteKickReplyMessage voteKickReplyMessage = 60;
28215     if (has_votekickreplymessage()) {
28216       total_size += 2 +
28217         ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
28218           this->votekickreplymessage());
28219     }
28220 
28221     // optional .KickPetitionUpdateMessage kickPetitionUpdateMessage = 61;
28222     if (has_kickpetitionupdatemessage()) {
28223       total_size += 2 +
28224         ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
28225           this->kickpetitionupdatemessage());
28226     }
28227 
28228     // optional .EndKickPetitionMessage endKickPetitionMessage = 62;
28229     if (has_endkickpetitionmessage()) {
28230       total_size += 2 +
28231         ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
28232           this->endkickpetitionmessage());
28233     }
28234 
28235     // optional .StatisticsMessage statisticsMessage = 63;
28236     if (has_statisticsmessage()) {
28237       total_size += 2 +
28238         ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
28239           this->statisticsmessage());
28240     }
28241 
28242     // optional .ChatRequestMessage chatRequestMessage = 64;
28243     if (has_chatrequestmessage()) {
28244       total_size += 2 +
28245         ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
28246           this->chatrequestmessage());
28247     }
28248 
28249   }
28250   if (_has_bits_[64 / 32] & (0xffu << (64 % 32))) {
28251     // optional .ChatMessage chatMessage = 65;
28252     if (has_chatmessage()) {
28253       total_size += 2 +
28254         ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
28255           this->chatmessage());
28256     }
28257 
28258     // optional .ChatRejectMessage chatRejectMessage = 66;
28259     if (has_chatrejectmessage()) {
28260       total_size += 2 +
28261         ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
28262           this->chatrejectmessage());
28263     }
28264 
28265     // optional .DialogMessage dialogMessage = 67;
28266     if (has_dialogmessage()) {
28267       total_size += 2 +
28268         ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
28269           this->dialogmessage());
28270     }
28271 
28272     // optional .TimeoutWarningMessage timeoutWarningMessage = 68;
28273     if (has_timeoutwarningmessage()) {
28274       total_size += 2 +
28275         ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
28276           this->timeoutwarningmessage());
28277     }
28278 
28279     // optional .ResetTimeoutMessage resetTimeoutMessage = 69;
28280     if (has_resettimeoutmessage()) {
28281       total_size += 2 +
28282         ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
28283           this->resettimeoutmessage());
28284     }
28285 
28286     // optional .ReportAvatarMessage reportAvatarMessage = 70;
28287     if (has_reportavatarmessage()) {
28288       total_size += 2 +
28289         ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
28290           this->reportavatarmessage());
28291     }
28292 
28293     // optional .ReportAvatarAckMessage reportAvatarAckMessage = 71;
28294     if (has_reportavatarackmessage()) {
28295       total_size += 2 +
28296         ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
28297           this->reportavatarackmessage());
28298     }
28299 
28300     // optional .ReportGameMessage reportGameMessage = 72;
28301     if (has_reportgamemessage()) {
28302       total_size += 2 +
28303         ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
28304           this->reportgamemessage());
28305     }
28306 
28307   }
28308   if (_has_bits_[72 / 32] & (0xffu << (72 % 32))) {
28309     // optional .ReportGameAckMessage reportGameAckMessage = 73;
28310     if (has_reportgameackmessage()) {
28311       total_size += 2 +
28312         ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
28313           this->reportgameackmessage());
28314     }
28315 
28316     // optional .ErrorMessage errorMessage = 74;
28317     if (has_errormessage()) {
28318       total_size += 2 +
28319         ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
28320           this->errormessage());
28321     }
28322 
28323     // optional .AdminRemoveGameMessage adminRemoveGameMessage = 75;
28324     if (has_adminremovegamemessage()) {
28325       total_size += 2 +
28326         ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
28327           this->adminremovegamemessage());
28328     }
28329 
28330     // optional .AdminRemoveGameAckMessage adminRemoveGameAckMessage = 76;
28331     if (has_adminremovegameackmessage()) {
28332       total_size += 2 +
28333         ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
28334           this->adminremovegameackmessage());
28335     }
28336 
28337     // optional .AdminBanPlayerMessage adminBanPlayerMessage = 77;
28338     if (has_adminbanplayermessage()) {
28339       total_size += 2 +
28340         ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
28341           this->adminbanplayermessage());
28342     }
28343 
28344     // optional .AdminBanPlayerAckMessage adminBanPlayerAckMessage = 78;
28345     if (has_adminbanplayerackmessage()) {
28346       total_size += 2 +
28347         ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
28348           this->adminbanplayerackmessage());
28349     }
28350 
28351     // optional .GameListSpectatorJoinedMessage gameListSpectatorJoinedMessage = 79;
28352     if (has_gamelistspectatorjoinedmessage()) {
28353       total_size += 2 +
28354         ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
28355           this->gamelistspectatorjoinedmessage());
28356     }
28357 
28358     // optional .GameListSpectatorLeftMessage gameListSpectatorLeftMessage = 80;
28359     if (has_gamelistspectatorleftmessage()) {
28360       total_size += 2 +
28361         ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
28362           this->gamelistspectatorleftmessage());
28363     }
28364 
28365   }
28366   if (_has_bits_[80 / 32] & (0xffu << (80 % 32))) {
28367     // optional .GameSpectatorJoinedMessage gameSpectatorJoinedMessage = 81;
28368     if (has_gamespectatorjoinedmessage()) {
28369       total_size += 2 +
28370         ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
28371           this->gamespectatorjoinedmessage());
28372     }
28373 
28374     // optional .GameSpectatorLeftMessage gameSpectatorLeftMessage = 82;
28375     if (has_gamespectatorleftmessage()) {
28376       total_size += 2 +
28377         ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
28378           this->gamespectatorleftmessage());
28379     }
28380 
28381   }
28382   total_size += unknown_fields().size();
28383 
28384   GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
28385   _cached_size_ = total_size;
28386   GOOGLE_SAFE_CONCURRENT_WRITES_END();
28387   return total_size;
28388 }
28389 
28390 void PokerTHMessage::CheckTypeAndMergeFrom(
28391     const ::google::protobuf::MessageLite& from) {
28392   MergeFrom(*::google::protobuf::down_cast<const PokerTHMessage*>(&from));
28393 }
28394 
28395 void PokerTHMessage::MergeFrom(const PokerTHMessage& from) {
28396   GOOGLE_CHECK_NE(&from, this);
28397   if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
28398     if (from.has_messagetype()) {
28399       set_messagetype(from.messagetype());
28400     }
28401     if (from.has_announcemessage()) {
28402       mutable_announcemessage()->::AnnounceMessage::MergeFrom(from.announcemessage());
28403     }
28404     if (from.has_initmessage()) {
28405       mutable_initmessage()->::InitMessage::MergeFrom(from.initmessage());
28406     }
28407     if (from.has_authserverchallengemessage()) {
28408       mutable_authserverchallengemessage()->::AuthServerChallengeMessage::MergeFrom(from.authserverchallengemessage());
28409     }
28410     if (from.has_authclientresponsemessage()) {
28411       mutable_authclientresponsemessage()->::AuthClientResponseMessage::MergeFrom(from.authclientresponsemessage());
28412     }
28413     if (from.has_authserververificationmessage()) {
28414       mutable_authserververificationmessage()->::AuthServerVerificationMessage::MergeFrom(from.authserververificationmessage());
28415     }
28416     if (from.has_initackmessage()) {
28417       mutable_initackmessage()->::InitAckMessage::MergeFrom(from.initackmessage());
28418     }
28419     if (from.has_avatarrequestmessage()) {
28420       mutable_avatarrequestmessage()->::AvatarRequestMessage::MergeFrom(from.avatarrequestmessage());
28421     }
28422   }
28423   if (from._has_bits_[8 / 32] & (0xffu << (8 % 32))) {
28424     if (from.has_avatarheadermessage()) {
28425       mutable_avatarheadermessage()->::AvatarHeaderMessage::MergeFrom(from.avatarheadermessage());
28426     }
28427     if (from.has_avatardatamessage()) {
28428       mutable_avatardatamessage()->::AvatarDataMessage::MergeFrom(from.avatardatamessage());
28429     }
28430     if (from.has_avatarendmessage()) {
28431       mutable_avatarendmessage()->::AvatarEndMessage::MergeFrom(from.avatarendmessage());
28432     }
28433     if (from.has_unknownavatarmessage()) {
28434       mutable_unknownavatarmessage()->::UnknownAvatarMessage::MergeFrom(from.unknownavatarmessage());
28435     }
28436     if (from.has_playerlistmessage()) {
28437       mutable_playerlistmessage()->::PlayerListMessage::MergeFrom(from.playerlistmessage());
28438     }
28439     if (from.has_gamelistnewmessage()) {
28440       mutable_gamelistnewmessage()->::GameListNewMessage::MergeFrom(from.gamelistnewmessage());
28441     }
28442     if (from.has_gamelistupdatemessage()) {
28443       mutable_gamelistupdatemessage()->::GameListUpdateMessage::MergeFrom(from.gamelistupdatemessage());
28444     }
28445     if (from.has_gamelistplayerjoinedmessage()) {
28446       mutable_gamelistplayerjoinedmessage()->::GameListPlayerJoinedMessage::MergeFrom(from.gamelistplayerjoinedmessage());
28447     }
28448   }
28449   if (from._has_bits_[16 / 32] & (0xffu << (16 % 32))) {
28450     if (from.has_gamelistplayerleftmessage()) {
28451       mutable_gamelistplayerleftmessage()->::GameListPlayerLeftMessage::MergeFrom(from.gamelistplayerleftmessage());
28452     }
28453     if (from.has_gamelistadminchangedmessage()) {
28454       mutable_gamelistadminchangedmessage()->::GameListAdminChangedMessage::MergeFrom(from.gamelistadminchangedmessage());
28455     }
28456     if (from.has_playerinforequestmessage()) {
28457       mutable_playerinforequestmessage()->::PlayerInfoRequestMessage::MergeFrom(from.playerinforequestmessage());
28458     }
28459     if (from.has_playerinforeplymessage()) {
28460       mutable_playerinforeplymessage()->::PlayerInfoReplyMessage::MergeFrom(from.playerinforeplymessage());
28461     }
28462     if (from.has_subscriptionrequestmessage()) {
28463       mutable_subscriptionrequestmessage()->::SubscriptionRequestMessage::MergeFrom(from.subscriptionrequestmessage());
28464     }
28465     if (from.has_joinexistinggamemessage()) {
28466       mutable_joinexistinggamemessage()->::JoinExistingGameMessage::MergeFrom(from.joinexistinggamemessage());
28467     }
28468     if (from.has_joinnewgamemessage()) {
28469       mutable_joinnewgamemessage()->::JoinNewGameMessage::MergeFrom(from.joinnewgamemessage());
28470     }
28471     if (from.has_rejoinexistinggamemessage()) {
28472       mutable_rejoinexistinggamemessage()->::RejoinExistingGameMessage::MergeFrom(from.rejoinexistinggamemessage());
28473     }
28474   }
28475   if (from._has_bits_[24 / 32] & (0xffu << (24 % 32))) {
28476     if (from.has_joingameackmessage()) {
28477       mutable_joingameackmessage()->::JoinGameAckMessage::MergeFrom(from.joingameackmessage());
28478     }
28479     if (from.has_joingamefailedmessage()) {
28480       mutable_joingamefailedmessage()->::JoinGameFailedMessage::MergeFrom(from.joingamefailedmessage());
28481     }
28482     if (from.has_gameplayerjoinedmessage()) {
28483       mutable_gameplayerjoinedmessage()->::GamePlayerJoinedMessage::MergeFrom(from.gameplayerjoinedmessage());
28484     }
28485     if (from.has_gameplayerleftmessage()) {
28486       mutable_gameplayerleftmessage()->::GamePlayerLeftMessage::MergeFrom(from.gameplayerleftmessage());
28487     }
28488     if (from.has_gameadminchangedmessage()) {
28489       mutable_gameadminchangedmessage()->::GameAdminChangedMessage::MergeFrom(from.gameadminchangedmessage());
28490     }
28491     if (from.has_removedfromgamemessage()) {
28492       mutable_removedfromgamemessage()->::RemovedFromGameMessage::MergeFrom(from.removedfromgamemessage());
28493     }
28494     if (from.has_kickplayerrequestmessage()) {
28495       mutable_kickplayerrequestmessage()->::KickPlayerRequestMessage::MergeFrom(from.kickplayerrequestmessage());
28496     }
28497     if (from.has_leavegamerequestmessage()) {
28498       mutable_leavegamerequestmessage()->::LeaveGameRequestMessage::MergeFrom(from.leavegamerequestmessage());
28499     }
28500   }
28501   if (from._has_bits_[32 / 32] & (0xffu << (32 % 32))) {
28502     if (from.has_inviteplayertogamemessage()) {
28503       mutable_inviteplayertogamemessage()->::InvitePlayerToGameMessage::MergeFrom(from.inviteplayertogamemessage());
28504     }
28505     if (from.has_invitenotifymessage()) {
28506       mutable_invitenotifymessage()->::InviteNotifyMessage::MergeFrom(from.invitenotifymessage());
28507     }
28508     if (from.has_rejectgameinvitationmessage()) {
28509       mutable_rejectgameinvitationmessage()->::RejectGameInvitationMessage::MergeFrom(from.rejectgameinvitationmessage());
28510     }
28511     if (from.has_rejectinvnotifymessage()) {
28512       mutable_rejectinvnotifymessage()->::RejectInvNotifyMessage::MergeFrom(from.rejectinvnotifymessage());
28513     }
28514     if (from.has_starteventmessage()) {
28515       mutable_starteventmessage()->::StartEventMessage::MergeFrom(from.starteventmessage());
28516     }
28517     if (from.has_starteventackmessage()) {
28518       mutable_starteventackmessage()->::StartEventAckMessage::MergeFrom(from.starteventackmessage());
28519     }
28520     if (from.has_gamestartinitialmessage()) {
28521       mutable_gamestartinitialmessage()->::GameStartInitialMessage::MergeFrom(from.gamestartinitialmessage());
28522     }
28523     if (from.has_gamestartrejoinmessage()) {
28524       mutable_gamestartrejoinmessage()->::GameStartRejoinMessage::MergeFrom(from.gamestartrejoinmessage());
28525     }
28526   }
28527   if (from._has_bits_[40 / 32] & (0xffu << (40 % 32))) {
28528     if (from.has_handstartmessage()) {
28529       mutable_handstartmessage()->::HandStartMessage::MergeFrom(from.handstartmessage());
28530     }
28531     if (from.has_playersturnmessage()) {
28532       mutable_playersturnmessage()->::PlayersTurnMessage::MergeFrom(from.playersturnmessage());
28533     }
28534     if (from.has_myactionrequestmessage()) {
28535       mutable_myactionrequestmessage()->::MyActionRequestMessage::MergeFrom(from.myactionrequestmessage());
28536     }
28537     if (from.has_youractionrejectedmessage()) {
28538       mutable_youractionrejectedmessage()->::YourActionRejectedMessage::MergeFrom(from.youractionrejectedmessage());
28539     }
28540     if (from.has_playersactiondonemessage()) {
28541       mutable_playersactiondonemessage()->::PlayersActionDoneMessage::MergeFrom(from.playersactiondonemessage());
28542     }
28543     if (from.has_dealflopcardsmessage()) {
28544       mutable_dealflopcardsmessage()->::DealFlopCardsMessage::MergeFrom(from.dealflopcardsmessage());
28545     }
28546     if (from.has_dealturncardmessage()) {
28547       mutable_dealturncardmessage()->::DealTurnCardMessage::MergeFrom(from.dealturncardmessage());
28548     }
28549     if (from.has_dealrivercardmessage()) {
28550       mutable_dealrivercardmessage()->::DealRiverCardMessage::MergeFrom(from.dealrivercardmessage());
28551     }
28552   }
28553   if (from._has_bits_[48 / 32] & (0xffu << (48 % 32))) {
28554     if (from.has_allinshowcardsmessage()) {
28555       mutable_allinshowcardsmessage()->::AllInShowCardsMessage::MergeFrom(from.allinshowcardsmessage());
28556     }
28557     if (from.has_endofhandshowcardsmessage()) {
28558       mutable_endofhandshowcardsmessage()->::EndOfHandShowCardsMessage::MergeFrom(from.endofhandshowcardsmessage());
28559     }
28560     if (from.has_endofhandhidecardsmessage()) {
28561       mutable_endofhandhidecardsmessage()->::EndOfHandHideCardsMessage::MergeFrom(from.endofhandhidecardsmessage());
28562     }
28563     if (from.has_showmycardsrequestmessage()) {
28564       mutable_showmycardsrequestmessage()->::ShowMyCardsRequestMessage::MergeFrom(from.showmycardsrequestmessage());
28565     }
28566     if (from.has_afterhandshowcardsmessage()) {
28567       mutable_afterhandshowcardsmessage()->::AfterHandShowCardsMessage::MergeFrom(from.afterhandshowcardsmessage());
28568     }
28569     if (from.has_endofgamemessage()) {
28570       mutable_endofgamemessage()->::EndOfGameMessage::MergeFrom(from.endofgamemessage());
28571     }
28572     if (from.has_playeridchangedmessage()) {
28573       mutable_playeridchangedmessage()->::PlayerIdChangedMessage::MergeFrom(from.playeridchangedmessage());
28574     }
28575     if (from.has_askkickplayermessage()) {
28576       mutable_askkickplayermessage()->::AskKickPlayerMessage::MergeFrom(from.askkickplayermessage());
28577     }
28578   }
28579   if (from._has_bits_[56 / 32] & (0xffu << (56 % 32))) {
28580     if (from.has_askkickdeniedmessage()) {
28581       mutable_askkickdeniedmessage()->::AskKickDeniedMessage::MergeFrom(from.askkickdeniedmessage());
28582     }
28583     if (from.has_startkickpetitionmessage()) {
28584       mutable_startkickpetitionmessage()->::StartKickPetitionMessage::MergeFrom(from.startkickpetitionmessage());
28585     }
28586     if (from.has_votekickrequestmessage()) {
28587       mutable_votekickrequestmessage()->::VoteKickRequestMessage::MergeFrom(from.votekickrequestmessage());
28588     }
28589     if (from.has_votekickreplymessage()) {
28590       mutable_votekickreplymessage()->::VoteKickReplyMessage::MergeFrom(from.votekickreplymessage());
28591     }
28592     if (from.has_kickpetitionupdatemessage()) {
28593       mutable_kickpetitionupdatemessage()->::KickPetitionUpdateMessage::MergeFrom(from.kickpetitionupdatemessage());
28594     }
28595     if (from.has_endkickpetitionmessage()) {
28596       mutable_endkickpetitionmessage()->::EndKickPetitionMessage::MergeFrom(from.endkickpetitionmessage());
28597     }
28598     if (from.has_statisticsmessage()) {
28599       mutable_statisticsmessage()->::StatisticsMessage::MergeFrom(from.statisticsmessage());
28600     }
28601     if (from.has_chatrequestmessage()) {
28602       mutable_chatrequestmessage()->::ChatRequestMessage::MergeFrom(from.chatrequestmessage());
28603     }
28604   }
28605   if (from._has_bits_[64 / 32] & (0xffu << (64 % 32))) {
28606     if (from.has_chatmessage()) {
28607       mutable_chatmessage()->::ChatMessage::MergeFrom(from.chatmessage());
28608     }
28609     if (from.has_chatrejectmessage()) {
28610       mutable_chatrejectmessage()->::ChatRejectMessage::MergeFrom(from.chatrejectmessage());
28611     }
28612     if (from.has_dialogmessage()) {
28613       mutable_dialogmessage()->::DialogMessage::MergeFrom(from.dialogmessage());
28614     }
28615     if (from.has_timeoutwarningmessage()) {
28616       mutable_timeoutwarningmessage()->::TimeoutWarningMessage::MergeFrom(from.timeoutwarningmessage());
28617     }
28618     if (from.has_resettimeoutmessage()) {
28619       mutable_resettimeoutmessage()->::ResetTimeoutMessage::MergeFrom(from.resettimeoutmessage());
28620     }
28621     if (from.has_reportavatarmessage()) {
28622       mutable_reportavatarmessage()->::ReportAvatarMessage::MergeFrom(from.reportavatarmessage());
28623     }
28624     if (from.has_reportavatarackmessage()) {
28625       mutable_reportavatarackmessage()->::ReportAvatarAckMessage::MergeFrom(from.reportavatarackmessage());
28626     }
28627     if (from.has_reportgamemessage()) {
28628       mutable_reportgamemessage()->::ReportGameMessage::MergeFrom(from.reportgamemessage());
28629     }
28630   }
28631   if (from._has_bits_[72 / 32] & (0xffu << (72 % 32))) {
28632     if (from.has_reportgameackmessage()) {
28633       mutable_reportgameackmessage()->::ReportGameAckMessage::MergeFrom(from.reportgameackmessage());
28634     }
28635     if (from.has_errormessage()) {
28636       mutable_errormessage()->::ErrorMessage::MergeFrom(from.errormessage());
28637     }
28638     if (from.has_adminremovegamemessage()) {
28639       mutable_adminremovegamemessage()->::AdminRemoveGameMessage::MergeFrom(from.adminremovegamemessage());
28640     }
28641     if (from.has_adminremovegameackmessage()) {
28642       mutable_adminremovegameackmessage()->::AdminRemoveGameAckMessage::MergeFrom(from.adminremovegameackmessage());
28643     }
28644     if (from.has_adminbanplayermessage()) {
28645       mutable_adminbanplayermessage()->::AdminBanPlayerMessage::MergeFrom(from.adminbanplayermessage());
28646     }
28647     if (from.has_adminbanplayerackmessage()) {
28648       mutable_adminbanplayerackmessage()->::AdminBanPlayerAckMessage::MergeFrom(from.adminbanplayerackmessage());
28649     }
28650     if (from.has_gamelistspectatorjoinedmessage()) {
28651       mutable_gamelistspectatorjoinedmessage()->::GameListSpectatorJoinedMessage::MergeFrom(from.gamelistspectatorjoinedmessage());
28652     }
28653     if (from.has_gamelistspectatorleftmessage()) {
28654       mutable_gamelistspectatorleftmessage()->::GameListSpectatorLeftMessage::MergeFrom(from.gamelistspectatorleftmessage());
28655     }
28656   }
28657   if (from._has_bits_[80 / 32] & (0xffu << (80 % 32))) {
28658     if (from.has_gamespectatorjoinedmessage()) {
28659       mutable_gamespectatorjoinedmessage()->::GameSpectatorJoinedMessage::MergeFrom(from.gamespectatorjoinedmessage());
28660     }
28661     if (from.has_gamespectatorleftmessage()) {
28662       mutable_gamespectatorleftmessage()->::GameSpectatorLeftMessage::MergeFrom(from.gamespectatorleftmessage());
28663     }
28664   }
28665   mutable_unknown_fields()->append(from.unknown_fields());
28666 }
28667 
28668 void PokerTHMessage::CopyFrom(const PokerTHMessage& from) {
28669   if (&from == this) return;
28670   Clear();
28671   MergeFrom(from);
28672 }
28673 
28674 bool PokerTHMessage::IsInitialized() const {
28675   if ((_has_bits_[0] & 0x00000001) != 0x00000001) return false;
28676 
28677   if (has_announcemessage()) {
28678     if (!this->announcemessage().IsInitialized()) return false;
28679   }
28680   if (has_initmessage()) {
28681     if (!this->initmessage().IsInitialized()) return false;
28682   }
28683   if (has_authserverchallengemessage()) {
28684     if (!this->authserverchallengemessage().IsInitialized()) return false;
28685   }
28686   if (has_authclientresponsemessage()) {
28687     if (!this->authclientresponsemessage().IsInitialized()) return false;
28688   }
28689   if (has_authserververificationmessage()) {
28690     if (!this->authserververificationmessage().IsInitialized()) return false;
28691   }
28692   if (has_initackmessage()) {
28693     if (!this->initackmessage().IsInitialized()) return false;
28694   }
28695   if (has_avatarrequestmessage()) {
28696     if (!this->avatarrequestmessage().IsInitialized()) return false;
28697   }
28698   if (has_avatarheadermessage()) {
28699     if (!this->avatarheadermessage().IsInitialized()) return false;
28700   }
28701   if (has_avatardatamessage()) {
28702     if (!this->avatardatamessage().IsInitialized()) return false;
28703   }
28704   if (has_avatarendmessage()) {
28705     if (!this->avatarendmessage().IsInitialized()) return false;
28706   }
28707   if (has_unknownavatarmessage()) {
28708     if (!this->unknownavatarmessage().IsInitialized()) return false;
28709   }
28710   if (has_playerlistmessage()) {
28711     if (!this->playerlistmessage().IsInitialized()) return false;
28712   }
28713   if (has_gamelistnewmessage()) {
28714     if (!this->gamelistnewmessage().IsInitialized()) return false;
28715   }
28716   if (has_gamelistupdatemessage()) {
28717     if (!this->gamelistupdatemessage().IsInitialized()) return false;
28718   }
28719   if (has_gamelistplayerjoinedmessage()) {
28720     if (!this->gamelistplayerjoinedmessage().IsInitialized()) return false;
28721   }
28722   if (has_gamelistplayerleftmessage()) {
28723     if (!this->gamelistplayerleftmessage().IsInitialized()) return false;
28724   }
28725   if (has_gamelistadminchangedmessage()) {
28726     if (!this->gamelistadminchangedmessage().IsInitialized()) return false;
28727   }
28728   if (has_playerinforeplymessage()) {
28729     if (!this->playerinforeplymessage().IsInitialized()) return false;
28730   }
28731   if (has_subscriptionrequestmessage()) {
28732     if (!this->subscriptionrequestmessage().IsInitialized()) return false;
28733   }
28734   if (has_joinexistinggamemessage()) {
28735     if (!this->joinexistinggamemessage().IsInitialized()) return false;
28736   }
28737   if (has_joinnewgamemessage()) {
28738     if (!this->joinnewgamemessage().IsInitialized()) return false;
28739   }
28740   if (has_rejoinexistinggamemessage()) {
28741     if (!this->rejoinexistinggamemessage().IsInitialized()) return false;
28742   }
28743   if (has_joingameackmessage()) {
28744     if (!this->joingameackmessage().IsInitialized()) return false;
28745   }
28746   if (has_joingamefailedmessage()) {
28747     if (!this->joingamefailedmessage().IsInitialized()) return false;
28748   }
28749   if (has_gameplayerjoinedmessage()) {
28750     if (!this->gameplayerjoinedmessage().IsInitialized()) return false;
28751   }
28752   if (has_gameplayerleftmessage()) {
28753     if (!this->gameplayerleftmessage().IsInitialized()) return false;
28754   }
28755   if (has_gameadminchangedmessage()) {
28756     if (!this->gameadminchangedmessage().IsInitialized()) return false;
28757   }
28758   if (has_removedfromgamemessage()) {
28759     if (!this->removedfromgamemessage().IsInitialized()) return false;
28760   }
28761   if (has_kickplayerrequestmessage()) {
28762     if (!this->kickplayerrequestmessage().IsInitialized()) return false;
28763   }
28764   if (has_leavegamerequestmessage()) {
28765     if (!this->leavegamerequestmessage().IsInitialized()) return false;
28766   }
28767   if (has_inviteplayertogamemessage()) {
28768     if (!this->inviteplayertogamemessage().IsInitialized()) return false;
28769   }
28770   if (has_invitenotifymessage()) {
28771     if (!this->invitenotifymessage().IsInitialized()) return false;
28772   }
28773   if (has_rejectgameinvitationmessage()) {
28774     if (!this->rejectgameinvitationmessage().IsInitialized()) return false;
28775   }
28776   if (has_rejectinvnotifymessage()) {
28777     if (!this->rejectinvnotifymessage().IsInitialized()) return false;
28778   }
28779   if (has_starteventmessage()) {
28780     if (!this->starteventmessage().IsInitialized()) return false;
28781   }
28782   if (has_starteventackmessage()) {
28783     if (!this->starteventackmessage().IsInitialized()) return false;
28784   }
28785   if (has_gamestartinitialmessage()) {
28786     if (!this->gamestartinitialmessage().IsInitialized()) return false;
28787   }
28788   if (has_gamestartrejoinmessage()) {
28789     if (!this->gamestartrejoinmessage().IsInitialized()) return false;
28790   }
28791   if (has_handstartmessage()) {
28792     if (!this->handstartmessage().IsInitialized()) return false;
28793   }
28794   if (has_playersturnmessage()) {
28795     if (!this->playersturnmessage().IsInitialized()) return false;
28796   }
28797   if (has_myactionrequestmessage()) {
28798     if (!this->myactionrequestmessage().IsInitialized()) return false;
28799   }
28800   if (has_youractionrejectedmessage()) {
28801     if (!this->youractionrejectedmessage().IsInitialized()) return false;
28802   }
28803   if (has_playersactiondonemessage()) {
28804     if (!this->playersactiondonemessage().IsInitialized()) return false;
28805   }
28806   if (has_dealflopcardsmessage()) {
28807     if (!this->dealflopcardsmessage().IsInitialized()) return false;
28808   }
28809   if (has_dealturncardmessage()) {
28810     if (!this->dealturncardmessage().IsInitialized()) return false;
28811   }
28812   if (has_dealrivercardmessage()) {
28813     if (!this->dealrivercardmessage().IsInitialized()) return false;
28814   }
28815   if (has_allinshowcardsmessage()) {
28816     if (!this->allinshowcardsmessage().IsInitialized()) return false;
28817   }
28818   if (has_endofhandshowcardsmessage()) {
28819     if (!this->endofhandshowcardsmessage().IsInitialized()) return false;
28820   }
28821   if (has_endofhandhidecardsmessage()) {
28822     if (!this->endofhandhidecardsmessage().IsInitialized()) return false;
28823   }
28824   if (has_afterhandshowcardsmessage()) {
28825     if (!this->afterhandshowcardsmessage().IsInitialized()) return false;
28826   }
28827   if (has_endofgamemessage()) {
28828     if (!this->endofgamemessage().IsInitialized()) return false;
28829   }
28830   if (has_playeridchangedmessage()) {
28831     if (!this->playeridchangedmessage().IsInitialized()) return false;
28832   }
28833   if (has_askkickplayermessage()) {
28834     if (!this->askkickplayermessage().IsInitialized()) return false;
28835   }
28836   if (has_askkickdeniedmessage()) {
28837     if (!this->askkickdeniedmessage().IsInitialized()) return false;
28838   }
28839   if (has_startkickpetitionmessage()) {
28840     if (!this->startkickpetitionmessage().IsInitialized()) return false;
28841   }
28842   if (has_votekickrequestmessage()) {
28843     if (!this->votekickrequestmessage().IsInitialized()) return false;
28844   }
28845   if (has_votekickreplymessage()) {
28846     if (!this->votekickreplymessage().IsInitialized()) return false;
28847   }
28848   if (has_kickpetitionupdatemessage()) {
28849     if (!this->kickpetitionupdatemessage().IsInitialized()) return false;
28850   }
28851   if (has_endkickpetitionmessage()) {
28852     if (!this->endkickpetitionmessage().IsInitialized()) return false;
28853   }
28854   if (has_statisticsmessage()) {
28855     if (!this->statisticsmessage().IsInitialized()) return false;
28856   }
28857   if (has_chatrequestmessage()) {
28858     if (!this->chatrequestmessage().IsInitialized()) return false;
28859   }
28860   if (has_chatmessage()) {
28861     if (!this->chatmessage().IsInitialized()) return false;
28862   }
28863   if (has_chatrejectmessage()) {
28864     if (!this->chatrejectmessage().IsInitialized()) return false;
28865   }
28866   if (has_dialogmessage()) {
28867     if (!this->dialogmessage().IsInitialized()) return false;
28868   }
28869   if (has_timeoutwarningmessage()) {
28870     if (!this->timeoutwarningmessage().IsInitialized()) return false;
28871   }
28872   if (has_reportavatarmessage()) {
28873     if (!this->reportavatarmessage().IsInitialized()) return false;
28874   }
28875   if (has_reportavatarackmessage()) {
28876     if (!this->reportavatarackmessage().IsInitialized()) return false;
28877   }
28878   if (has_reportgamemessage()) {
28879     if (!this->reportgamemessage().IsInitialized()) return false;
28880   }
28881   if (has_reportgameackmessage()) {
28882     if (!this->reportgameackmessage().IsInitialized()) return false;
28883   }
28884   if (has_errormessage()) {
28885     if (!this->errormessage().IsInitialized()) return false;
28886   }
28887   if (has_adminremovegamemessage()) {
28888     if (!this->adminremovegamemessage().IsInitialized()) return false;
28889   }
28890   if (has_adminremovegameackmessage()) {
28891     if (!this->adminremovegameackmessage().IsInitialized()) return false;
28892   }
28893   if (has_adminbanplayermessage()) {
28894     if (!this->adminbanplayermessage().IsInitialized()) return false;
28895   }
28896   if (has_adminbanplayerackmessage()) {
28897     if (!this->adminbanplayerackmessage().IsInitialized()) return false;
28898   }
28899   if (has_gamelistspectatorjoinedmessage()) {
28900     if (!this->gamelistspectatorjoinedmessage().IsInitialized()) return false;
28901   }
28902   if (has_gamelistspectatorleftmessage()) {
28903     if (!this->gamelistspectatorleftmessage().IsInitialized()) return false;
28904   }
28905   if (has_gamespectatorjoinedmessage()) {
28906     if (!this->gamespectatorjoinedmessage().IsInitialized()) return false;
28907   }
28908   if (has_gamespectatorleftmessage()) {
28909     if (!this->gamespectatorleftmessage().IsInitialized()) return false;
28910   }
28911   return true;
28912 }
28913 
28914 void PokerTHMessage::Swap(PokerTHMessage* other) {
28915   if (other != this) {
28916     std::swap(messagetype_, other->messagetype_);
28917     std::swap(announcemessage_, other->announcemessage_);
28918     std::swap(initmessage_, other->initmessage_);
28919     std::swap(authserverchallengemessage_, other->authserverchallengemessage_);
28920     std::swap(authclientresponsemessage_, other->authclientresponsemessage_);
28921     std::swap(authserververificationmessage_, other->authserververificationmessage_);
28922     std::swap(initackmessage_, other->initackmessage_);
28923     std::swap(avatarrequestmessage_, other->avatarrequestmessage_);
28924     std::swap(avatarheadermessage_, other->avatarheadermessage_);
28925     std::swap(avatardatamessage_, other->avatardatamessage_);
28926     std::swap(avatarendmessage_, other->avatarendmessage_);
28927     std::swap(unknownavatarmessage_, other->unknownavatarmessage_);
28928     std::swap(playerlistmessage_, other->playerlistmessage_);
28929     std::swap(gamelistnewmessage_, other->gamelistnewmessage_);
28930     std::swap(gamelistupdatemessage_, other->gamelistupdatemessage_);
28931     std::swap(gamelistplayerjoinedmessage_, other->gamelistplayerjoinedmessage_);
28932     std::swap(gamelistplayerleftmessage_, other->gamelistplayerleftmessage_);
28933     std::swap(gamelistadminchangedmessage_, other->gamelistadminchangedmessage_);
28934     std::swap(playerinforequestmessage_, other->playerinforequestmessage_);
28935     std::swap(playerinforeplymessage_, other->playerinforeplymessage_);
28936     std::swap(subscriptionrequestmessage_, other->subscriptionrequestmessage_);
28937     std::swap(joinexistinggamemessage_, other->joinexistinggamemessage_);
28938     std::swap(joinnewgamemessage_, other->joinnewgamemessage_);
28939     std::swap(rejoinexistinggamemessage_, other->rejoinexistinggamemessage_);
28940     std::swap(joingameackmessage_, other->joingameackmessage_);
28941     std::swap(joingamefailedmessage_, other->joingamefailedmessage_);
28942     std::swap(gameplayerjoinedmessage_, other->gameplayerjoinedmessage_);
28943     std::swap(gameplayerleftmessage_, other->gameplayerleftmessage_);
28944     std::swap(gameadminchangedmessage_, other->gameadminchangedmessage_);
28945     std::swap(removedfromgamemessage_, other->removedfromgamemessage_);
28946     std::swap(kickplayerrequestmessage_, other->kickplayerrequestmessage_);
28947     std::swap(leavegamerequestmessage_, other->leavegamerequestmessage_);
28948     std::swap(inviteplayertogamemessage_, other->inviteplayertogamemessage_);
28949     std::swap(invitenotifymessage_, other->invitenotifymessage_);
28950     std::swap(rejectgameinvitationmessage_, other->rejectgameinvitationmessage_);
28951     std::swap(rejectinvnotifymessage_, other->rejectinvnotifymessage_);
28952     std::swap(starteventmessage_, other->starteventmessage_);
28953     std::swap(starteventackmessage_, other->starteventackmessage_);
28954     std::swap(gamestartinitialmessage_, other->gamestartinitialmessage_);
28955     std::swap(gamestartrejoinmessage_, other->gamestartrejoinmessage_);
28956     std::swap(handstartmessage_, other->handstartmessage_);
28957     std::swap(playersturnmessage_, other->playersturnmessage_);
28958     std::swap(myactionrequestmessage_, other->myactionrequestmessage_);
28959     std::swap(youractionrejectedmessage_, other->youractionrejectedmessage_);
28960     std::swap(playersactiondonemessage_, other->playersactiondonemessage_);
28961     std::swap(dealflopcardsmessage_, other->dealflopcardsmessage_);
28962     std::swap(dealturncardmessage_, other->dealturncardmessage_);
28963     std::swap(dealrivercardmessage_, other->dealrivercardmessage_);
28964     std::swap(allinshowcardsmessage_, other->allinshowcardsmessage_);
28965     std::swap(endofhandshowcardsmessage_, other->endofhandshowcardsmessage_);
28966     std::swap(endofhandhidecardsmessage_, other->endofhandhidecardsmessage_);
28967     std::swap(showmycardsrequestmessage_, other->showmycardsrequestmessage_);
28968     std::swap(afterhandshowcardsmessage_, other->afterhandshowcardsmessage_);
28969     std::swap(endofgamemessage_, other->endofgamemessage_);
28970     std::swap(playeridchangedmessage_, other->playeridchangedmessage_);
28971     std::swap(askkickplayermessage_, other->askkickplayermessage_);
28972     std::swap(askkickdeniedmessage_, other->askkickdeniedmessage_);
28973     std::swap(startkickpetitionmessage_, other->startkickpetitionmessage_);
28974     std::swap(votekickrequestmessage_, other->votekickrequestmessage_);
28975     std::swap(votekickreplymessage_, other->votekickreplymessage_);
28976     std::swap(kickpetitionupdatemessage_, other->kickpetitionupdatemessage_);
28977     std::swap(endkickpetitionmessage_, other->endkickpetitionmessage_);
28978     std::swap(statisticsmessage_, other->statisticsmessage_);
28979     std::swap(chatrequestmessage_, other->chatrequestmessage_);
28980     std::swap(chatmessage_, other->chatmessage_);
28981     std::swap(chatrejectmessage_, other->chatrejectmessage_);
28982     std::swap(dialogmessage_, other->dialogmessage_);
28983     std::swap(timeoutwarningmessage_, other->timeoutwarningmessage_);
28984     std::swap(resettimeoutmessage_, other->resettimeoutmessage_);
28985     std::swap(reportavatarmessage_, other->reportavatarmessage_);
28986     std::swap(reportavatarackmessage_, other->reportavatarackmessage_);
28987     std::swap(reportgamemessage_, other->reportgamemessage_);
28988     std::swap(reportgameackmessage_, other->reportgameackmessage_);
28989     std::swap(errormessage_, other->errormessage_);
28990     std::swap(adminremovegamemessage_, other->adminremovegamemessage_);
28991     std::swap(adminremovegameackmessage_, other->adminremovegameackmessage_);
28992     std::swap(adminbanplayermessage_, other->adminbanplayermessage_);
28993     std::swap(adminbanplayerackmessage_, other->adminbanplayerackmessage_);
28994     std::swap(gamelistspectatorjoinedmessage_, other->gamelistspectatorjoinedmessage_);
28995     std::swap(gamelistspectatorleftmessage_, other->gamelistspectatorleftmessage_);
28996     std::swap(gamespectatorjoinedmessage_, other->gamespectatorjoinedmessage_);
28997     std::swap(gamespectatorleftmessage_, other->gamespectatorleftmessage_);
28998     std::swap(_has_bits_[0], other->_has_bits_[0]);
28999     std::swap(_has_bits_[1], other->_has_bits_[1]);
29000     std::swap(_has_bits_[2], other->_has_bits_[2]);
29001     _unknown_fields_.swap(other->_unknown_fields_);
29002     std::swap(_cached_size_, other->_cached_size_);
29003   }
29004 }
29005 
29006 ::std::string PokerTHMessage::GetTypeName() const {
29007   return "PokerTHMessage";
29008 }
29009 
29010 
29011 // @@protoc_insertion_point(namespace_scope)
29012 
29013 // @@protoc_insertion_point(global_scope)
29014