From f739c20cc5b04ccc24af185a2b70ed86d5479841 Mon Sep 17 00:00:00 2001 From: lotodore Date: Sat, 8 Jun 2013 19:36:04 +0200 Subject: [PATCH] Updating to newer release of protobuf. --- src/third_party/protobuf/pokerth.pb.cc | 3869 +- src/third_party/protobuf/pokerth.pb.h | 6531 +- tests/src/de/pokerth/protocol/ProtoBuf.java | 56828 +++++++++++------- 3 files changed, 42385 insertions(+), 24843 deletions(-) diff --git a/src/third_party/protobuf/pokerth.pb.cc b/src/third_party/protobuf/pokerth.pb.cc index 4a32f390..43921e79 100644 --- a/src/third_party/protobuf/pokerth.pb.cc +++ b/src/third_party/protobuf/pokerth.pb.cc @@ -1,10 +1,12 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! +// source: pokerth.proto #define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION #include "pokerth.pb.h" #include +#include #include #include #include @@ -104,12 +106,18 @@ void protobuf_ShutdownFile_pokerth_2eproto() { delete PokerTHMessage::default_instance_; } +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER +void protobuf_AddDesc_pokerth_2eproto_impl() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + +#else void protobuf_AddDesc_pokerth_2eproto() { static bool already_here = false; if (already_here) return; already_here = true; GOOGLE_PROTOBUF_VERIFY_VERSION; +#endif NetGameInfo::default_instance_ = new NetGameInfo(); PlayerResult::default_instance_ = new PlayerResult(); AnnounceMessage::default_instance_ = new AnnounceMessage(); @@ -295,13 +303,20 @@ void protobuf_AddDesc_pokerth_2eproto() { ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_pokerth_2eproto); } +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER +GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AddDesc_pokerth_2eproto_once_); +void protobuf_AddDesc_pokerth_2eproto() { + ::google::protobuf::::google::protobuf::GoogleOnceInit(&protobuf_AddDesc_pokerth_2eproto_once_, + &protobuf_AddDesc_pokerth_2eproto_impl); +} +#else // Force AddDescriptors() to be called at static initialization time. struct StaticDescriptorInitializer_pokerth_2eproto { StaticDescriptorInitializer_pokerth_2eproto() { protobuf_AddDesc_pokerth_2eproto(); } } static_descriptor_initializer_pokerth_2eproto_; - +#endif bool NetGameMode_IsValid(int value) { switch(value) { case 1: @@ -492,7 +507,11 @@ void NetGameInfo::SharedDtor() { if (gamename_ != &::google::protobuf::internal::kEmptyString) { delete gamename_; } + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + if (this != &default_instance()) { + #else if (this != default_instance_) { + #endif } } @@ -502,7 +521,12 @@ void NetGameInfo::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const NetGameInfo& NetGameInfo::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); return *default_instance_; +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + protobuf_AddDesc_pokerth_2eproto(); +#else + if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); +#endif + return *default_instance_; } NetGameInfo* NetGameInfo::default_instance_ = NULL; @@ -555,7 +579,7 @@ bool NetGameInfo::MergePartialFromCodedStream( if (input->ExpectTag(16)) goto parse_netGameType; break; } - + // required .NetGameInfo.NetGameType netGameType = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -574,7 +598,7 @@ bool NetGameInfo::MergePartialFromCodedStream( if (input->ExpectTag(24)) goto parse_maxNumPlayers; break; } - + // required uint32 maxNumPlayers = 3; case 3: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -590,7 +614,7 @@ bool NetGameInfo::MergePartialFromCodedStream( if (input->ExpectTag(32)) goto parse_raiseIntervalMode; break; } - + // required .NetGameInfo.RaiseIntervalMode raiseIntervalMode = 4; case 4: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -609,7 +633,7 @@ bool NetGameInfo::MergePartialFromCodedStream( if (input->ExpectTag(40)) goto parse_raiseEveryHands; break; } - + // optional uint32 raiseEveryHands = 5; case 5: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -625,7 +649,7 @@ bool NetGameInfo::MergePartialFromCodedStream( if (input->ExpectTag(48)) goto parse_raiseEveryMinutes; break; } - + // optional uint32 raiseEveryMinutes = 6; case 6: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -641,7 +665,7 @@ bool NetGameInfo::MergePartialFromCodedStream( if (input->ExpectTag(56)) goto parse_endRaiseMode; break; } - + // required .NetGameInfo.EndRaiseMode endRaiseMode = 7; case 7: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -660,7 +684,7 @@ bool NetGameInfo::MergePartialFromCodedStream( if (input->ExpectTag(64)) goto parse_endRaiseSmallBlindValue; break; } - + // optional uint32 endRaiseSmallBlindValue = 8; case 8: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -676,7 +700,7 @@ bool NetGameInfo::MergePartialFromCodedStream( if (input->ExpectTag(72)) goto parse_proposedGuiSpeed; break; } - + // required uint32 proposedGuiSpeed = 9; case 9: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -692,7 +716,7 @@ bool NetGameInfo::MergePartialFromCodedStream( if (input->ExpectTag(80)) goto parse_delayBetweenHands; break; } - + // required uint32 delayBetweenHands = 10; case 10: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -708,7 +732,7 @@ bool NetGameInfo::MergePartialFromCodedStream( if (input->ExpectTag(88)) goto parse_playerActionTimeout; break; } - + // required uint32 playerActionTimeout = 11; case 11: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -724,7 +748,7 @@ bool NetGameInfo::MergePartialFromCodedStream( if (input->ExpectTag(96)) goto parse_firstSmallBlind; break; } - + // required uint32 firstSmallBlind = 12; case 12: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -740,7 +764,7 @@ bool NetGameInfo::MergePartialFromCodedStream( if (input->ExpectTag(104)) goto parse_startMoney; break; } - + // required uint32 startMoney = 13; case 13: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -756,7 +780,7 @@ bool NetGameInfo::MergePartialFromCodedStream( if (input->ExpectTag(114)) goto parse_manualBlinds; break; } - + // repeated uint32 manualBlinds = 14 [packed = true]; case 14: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -777,7 +801,7 @@ bool NetGameInfo::MergePartialFromCodedStream( if (input->ExpectAtEnd()) return true; break; } - + default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -800,70 +824,70 @@ void NetGameInfo::SerializeWithCachedSizes( ::google::protobuf::internal::WireFormatLite::WriteString( 1, this->gamename(), output); } - + // required .NetGameInfo.NetGameType netGameType = 2; if (has_netgametype()) { ::google::protobuf::internal::WireFormatLite::WriteEnum( 2, this->netgametype(), output); } - + // required uint32 maxNumPlayers = 3; if (has_maxnumplayers()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(3, this->maxnumplayers(), output); } - + // required .NetGameInfo.RaiseIntervalMode raiseIntervalMode = 4; if (has_raiseintervalmode()) { ::google::protobuf::internal::WireFormatLite::WriteEnum( 4, this->raiseintervalmode(), output); } - + // optional uint32 raiseEveryHands = 5; if (has_raiseeveryhands()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(5, this->raiseeveryhands(), output); } - + // optional uint32 raiseEveryMinutes = 6; if (has_raiseeveryminutes()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(6, this->raiseeveryminutes(), output); } - + // required .NetGameInfo.EndRaiseMode endRaiseMode = 7; if (has_endraisemode()) { ::google::protobuf::internal::WireFormatLite::WriteEnum( 7, this->endraisemode(), output); } - + // optional uint32 endRaiseSmallBlindValue = 8; if (has_endraisesmallblindvalue()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(8, this->endraisesmallblindvalue(), output); } - + // required uint32 proposedGuiSpeed = 9; if (has_proposedguispeed()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(9, this->proposedguispeed(), output); } - + // required uint32 delayBetweenHands = 10; if (has_delaybetweenhands()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(10, this->delaybetweenhands(), output); } - + // required uint32 playerActionTimeout = 11; if (has_playeractiontimeout()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(11, this->playeractiontimeout(), output); } - + // required uint32 firstSmallBlind = 12; if (has_firstsmallblind()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(12, this->firstsmallblind(), output); } - + // required uint32 startMoney = 13; if (has_startmoney()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(13, this->startmoney(), output); } - + // repeated uint32 manualBlinds = 14 [packed = true]; if (this->manualblinds_size() > 0) { ::google::protobuf::internal::WireFormatLite::WriteTag(14, ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED, output); @@ -873,12 +897,12 @@ void NetGameInfo::SerializeWithCachedSizes( ::google::protobuf::internal::WireFormatLite::WriteUInt32NoTag( this->manualblinds(i), output); } - + } int NetGameInfo::ByteSize() const { int total_size = 0; - + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // required string gameName = 1; if (has_gamename()) { @@ -886,53 +910,53 @@ int NetGameInfo::ByteSize() const { ::google::protobuf::internal::WireFormatLite::StringSize( this->gamename()); } - + // required .NetGameInfo.NetGameType netGameType = 2; if (has_netgametype()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::EnumSize(this->netgametype()); } - + // required uint32 maxNumPlayers = 3; if (has_maxnumplayers()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::UInt32Size( this->maxnumplayers()); } - + // required .NetGameInfo.RaiseIntervalMode raiseIntervalMode = 4; if (has_raiseintervalmode()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::EnumSize(this->raiseintervalmode()); } - + // optional uint32 raiseEveryHands = 5; if (has_raiseeveryhands()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::UInt32Size( this->raiseeveryhands()); } - + // optional uint32 raiseEveryMinutes = 6; if (has_raiseeveryminutes()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::UInt32Size( this->raiseeveryminutes()); } - + // required .NetGameInfo.EndRaiseMode endRaiseMode = 7; if (has_endraisemode()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::EnumSize(this->endraisemode()); } - + // optional uint32 endRaiseSmallBlindValue = 8; if (has_endraisesmallblindvalue()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::UInt32Size( this->endraisesmallblindvalue()); } - + } if (_has_bits_[8 / 32] & (0xffu << (8 % 32))) { // required uint32 proposedGuiSpeed = 9; @@ -941,35 +965,35 @@ int NetGameInfo::ByteSize() const { ::google::protobuf::internal::WireFormatLite::UInt32Size( this->proposedguispeed()); } - + // required uint32 delayBetweenHands = 10; if (has_delaybetweenhands()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::UInt32Size( this->delaybetweenhands()); } - + // required uint32 playerActionTimeout = 11; if (has_playeractiontimeout()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::UInt32Size( this->playeractiontimeout()); } - + // required uint32 firstSmallBlind = 12; if (has_firstsmallblind()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::UInt32Size( this->firstsmallblind()); } - + // required uint32 startMoney = 13; if (has_startmoney()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::UInt32Size( this->startmoney()); } - + } // repeated uint32 manualBlinds = 14 [packed = true]; { @@ -982,10 +1006,12 @@ int NetGameInfo::ByteSize() const { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size(data_size); } + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _manualblinds_cached_byte_size_ = data_size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); total_size += data_size; } - + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); @@ -1053,7 +1079,7 @@ void NetGameInfo::CopyFrom(const NetGameInfo& from) { bool NetGameInfo::IsInitialized() const { if ((_has_bits_[0] & 0x00001f4f) != 0x00001f4f) return false; - + return true; } @@ -1125,7 +1151,11 @@ PlayerResult::~PlayerResult() { } void PlayerResult::SharedDtor() { + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + if (this != &default_instance()) { + #else if (this != default_instance_) { + #endif } } @@ -1135,7 +1165,12 @@ void PlayerResult::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const PlayerResult& PlayerResult::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); return *default_instance_; +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + protobuf_AddDesc_pokerth_2eproto(); +#else + if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); +#endif + return *default_instance_; } PlayerResult* PlayerResult::default_instance_ = NULL; @@ -1177,7 +1212,7 @@ bool PlayerResult::MergePartialFromCodedStream( if (input->ExpectTag(16)) goto parse_resultCard1; break; } - + // required uint32 resultCard1 = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -1193,7 +1228,7 @@ bool PlayerResult::MergePartialFromCodedStream( if (input->ExpectTag(24)) goto parse_resultCard2; break; } - + // required uint32 resultCard2 = 3; case 3: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -1209,7 +1244,7 @@ bool PlayerResult::MergePartialFromCodedStream( if (input->ExpectTag(34)) goto parse_bestHandPosition; break; } - + // repeated uint32 bestHandPosition = 4 [packed = true]; case 4: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -1230,7 +1265,7 @@ bool PlayerResult::MergePartialFromCodedStream( if (input->ExpectTag(40)) goto parse_moneyWon; break; } - + // required uint32 moneyWon = 5; case 5: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -1246,7 +1281,7 @@ bool PlayerResult::MergePartialFromCodedStream( if (input->ExpectTag(48)) goto parse_playerMoney; break; } - + // required uint32 playerMoney = 6; case 6: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -1262,7 +1297,7 @@ bool PlayerResult::MergePartialFromCodedStream( if (input->ExpectTag(56)) goto parse_cardsValue; break; } - + // optional uint32 cardsValue = 7; case 7: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -1278,7 +1313,7 @@ bool PlayerResult::MergePartialFromCodedStream( if (input->ExpectAtEnd()) return true; break; } - + default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -1300,17 +1335,17 @@ void PlayerResult::SerializeWithCachedSizes( if (has_playerid()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->playerid(), output); } - + // required uint32 resultCard1 = 2; if (has_resultcard1()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->resultcard1(), output); } - + // required uint32 resultCard2 = 3; if (has_resultcard2()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(3, this->resultcard2(), output); } - + // repeated uint32 bestHandPosition = 4 [packed = true]; if (this->besthandposition_size() > 0) { ::google::protobuf::internal::WireFormatLite::WriteTag(4, ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED, output); @@ -1320,27 +1355,27 @@ void PlayerResult::SerializeWithCachedSizes( ::google::protobuf::internal::WireFormatLite::WriteUInt32NoTag( this->besthandposition(i), output); } - + // required uint32 moneyWon = 5; if (has_moneywon()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(5, this->moneywon(), output); } - + // required uint32 playerMoney = 6; if (has_playermoney()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(6, this->playermoney(), output); } - + // optional uint32 cardsValue = 7; if (has_cardsvalue()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(7, this->cardsvalue(), output); } - + } int PlayerResult::ByteSize() const { int total_size = 0; - + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // required uint32 playerId = 1; if (has_playerid()) { @@ -1348,42 +1383,42 @@ int PlayerResult::ByteSize() const { ::google::protobuf::internal::WireFormatLite::UInt32Size( this->playerid()); } - + // required uint32 resultCard1 = 2; if (has_resultcard1()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::UInt32Size( this->resultcard1()); } - + // required uint32 resultCard2 = 3; if (has_resultcard2()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::UInt32Size( this->resultcard2()); } - + // required uint32 moneyWon = 5; if (has_moneywon()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::UInt32Size( this->moneywon()); } - + // required uint32 playerMoney = 6; if (has_playermoney()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::UInt32Size( this->playermoney()); } - + // optional uint32 cardsValue = 7; if (has_cardsvalue()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::UInt32Size( this->cardsvalue()); } - + } // repeated uint32 bestHandPosition = 4 [packed = true]; { @@ -1396,10 +1431,12 @@ int PlayerResult::ByteSize() const { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size(data_size); } + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _besthandposition_cached_byte_size_ = data_size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); total_size += data_size; } - + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); @@ -1444,7 +1481,7 @@ void PlayerResult::CopyFrom(const PlayerResult& from) { bool PlayerResult::IsInitialized() const { if ((_has_bits_[0] & 0x00000037) != 0x00000037) return false; - + return true; } @@ -1519,7 +1556,11 @@ AnnounceMessage_Version::~AnnounceMessage_Version() { } void AnnounceMessage_Version::SharedDtor() { + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + if (this != &default_instance()) { + #else if (this != default_instance_) { + #endif } } @@ -1529,7 +1570,12 @@ void AnnounceMessage_Version::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const AnnounceMessage_Version& AnnounceMessage_Version::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); return *default_instance_; +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + protobuf_AddDesc_pokerth_2eproto(); +#else + if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); +#endif + return *default_instance_; } AnnounceMessage_Version* AnnounceMessage_Version::default_instance_ = NULL; @@ -1566,7 +1612,7 @@ bool AnnounceMessage_Version::MergePartialFromCodedStream( if (input->ExpectTag(16)) goto parse_minorVersion; break; } - + // required uint32 minorVersion = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -1582,7 +1628,7 @@ bool AnnounceMessage_Version::MergePartialFromCodedStream( if (input->ExpectAtEnd()) return true; break; } - + default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -1604,17 +1650,17 @@ void AnnounceMessage_Version::SerializeWithCachedSizes( if (has_majorversion()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->majorversion(), output); } - + // required uint32 minorVersion = 2; if (has_minorversion()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->minorversion(), output); } - + } int AnnounceMessage_Version::ByteSize() const { int total_size = 0; - + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // required uint32 majorVersion = 1; if (has_majorversion()) { @@ -1622,14 +1668,14 @@ int AnnounceMessage_Version::ByteSize() const { ::google::protobuf::internal::WireFormatLite::UInt32Size( this->majorversion()); } - + // required uint32 minorVersion = 2; if (has_minorversion()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::UInt32Size( this->minorversion()); } - + } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; @@ -1662,7 +1708,7 @@ void AnnounceMessage_Version::CopyFrom(const AnnounceMessage_Version& from) { bool AnnounceMessage_Version::IsInitialized() const { if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false; - + return true; } @@ -1696,8 +1742,18 @@ AnnounceMessage::AnnounceMessage() } void AnnounceMessage::InitAsDefaultInstance() { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + protocolversion_ = const_cast< ::AnnounceMessage_Version*>( + ::AnnounceMessage_Version::internal_default_instance()); +#else protocolversion_ = const_cast< ::AnnounceMessage_Version*>(&::AnnounceMessage_Version::default_instance()); +#endif +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + latestgameversion_ = const_cast< ::AnnounceMessage_Version*>( + ::AnnounceMessage_Version::internal_default_instance()); +#else latestgameversion_ = const_cast< ::AnnounceMessage_Version*>(&::AnnounceMessage_Version::default_instance()); +#endif } AnnounceMessage::AnnounceMessage(const AnnounceMessage& from) @@ -1721,7 +1777,11 @@ AnnounceMessage::~AnnounceMessage() { } void AnnounceMessage::SharedDtor() { + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + if (this != &default_instance()) { + #else if (this != default_instance_) { + #endif delete protocolversion_; delete latestgameversion_; } @@ -1733,7 +1793,12 @@ void AnnounceMessage::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const AnnounceMessage& AnnounceMessage::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); return *default_instance_; +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + protobuf_AddDesc_pokerth_2eproto(); +#else + if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); +#endif + return *default_instance_; } AnnounceMessage* AnnounceMessage::default_instance_ = NULL; @@ -1775,7 +1840,7 @@ bool AnnounceMessage::MergePartialFromCodedStream( if (input->ExpectTag(18)) goto parse_latestGameVersion; break; } - + // required .AnnounceMessage.Version latestGameVersion = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -1789,7 +1854,7 @@ bool AnnounceMessage::MergePartialFromCodedStream( if (input->ExpectTag(24)) goto parse_latestBetaRevision; break; } - + // required uint32 latestBetaRevision = 3; case 3: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -1805,7 +1870,7 @@ bool AnnounceMessage::MergePartialFromCodedStream( if (input->ExpectTag(32)) goto parse_serverType; break; } - + // required .AnnounceMessage.ServerType serverType = 4; case 4: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -1824,7 +1889,7 @@ bool AnnounceMessage::MergePartialFromCodedStream( if (input->ExpectTag(40)) goto parse_numPlayersOnServer; break; } - + // required uint32 numPlayersOnServer = 5; case 5: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -1840,7 +1905,7 @@ bool AnnounceMessage::MergePartialFromCodedStream( if (input->ExpectAtEnd()) return true; break; } - + default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -1863,34 +1928,34 @@ void AnnounceMessage::SerializeWithCachedSizes( ::google::protobuf::internal::WireFormatLite::WriteMessage( 1, this->protocolversion(), output); } - + // required .AnnounceMessage.Version latestGameVersion = 2; if (has_latestgameversion()) { ::google::protobuf::internal::WireFormatLite::WriteMessage( 2, this->latestgameversion(), output); } - + // required uint32 latestBetaRevision = 3; if (has_latestbetarevision()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(3, this->latestbetarevision(), output); } - + // required .AnnounceMessage.ServerType serverType = 4; if (has_servertype()) { ::google::protobuf::internal::WireFormatLite::WriteEnum( 4, this->servertype(), output); } - + // required uint32 numPlayersOnServer = 5; if (has_numplayersonserver()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(5, this->numplayersonserver(), output); } - + } int AnnounceMessage::ByteSize() const { int total_size = 0; - + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // required .AnnounceMessage.Version protocolVersion = 1; if (has_protocolversion()) { @@ -1898,34 +1963,34 @@ int AnnounceMessage::ByteSize() const { ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( this->protocolversion()); } - + // required .AnnounceMessage.Version latestGameVersion = 2; if (has_latestgameversion()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( this->latestgameversion()); } - + // required uint32 latestBetaRevision = 3; if (has_latestbetarevision()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::UInt32Size( this->latestbetarevision()); } - + // required .AnnounceMessage.ServerType serverType = 4; if (has_servertype()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::EnumSize(this->servertype()); } - + // required uint32 numPlayersOnServer = 5; if (has_numplayersonserver()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::UInt32Size( this->numplayersonserver()); } - + } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; @@ -1967,7 +2032,7 @@ void AnnounceMessage::CopyFrom(const AnnounceMessage& from) { bool AnnounceMessage::IsInitialized() const { if ((_has_bits_[0] & 0x0000001f) != 0x0000001f) return false; - + if (has_protocolversion()) { if (!this->protocolversion().IsInitialized()) return false; } @@ -2032,7 +2097,12 @@ InitMessage::InitMessage() } void InitMessage::InitAsDefaultInstance() { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + requestedversion_ = const_cast< ::AnnounceMessage_Version*>( + ::AnnounceMessage_Version::internal_default_instance()); +#else requestedversion_ = const_cast< ::AnnounceMessage_Version*>(&::AnnounceMessage_Version::default_instance()); +#endif } InitMessage::InitMessage(const InitMessage& from) @@ -2074,7 +2144,11 @@ void InitMessage::SharedDtor() { if (avatarhash_ != &::google::protobuf::internal::kEmptyString) { delete avatarhash_; } + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + if (this != &default_instance()) { + #else if (this != default_instance_) { + #endif delete requestedversion_; } } @@ -2085,7 +2159,12 @@ void InitMessage::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const InitMessage& InitMessage::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); return *default_instance_; +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + protobuf_AddDesc_pokerth_2eproto(); +#else + if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); +#endif + return *default_instance_; } InitMessage* InitMessage::default_instance_ = NULL; @@ -2148,7 +2227,7 @@ bool InitMessage::MergePartialFromCodedStream( if (input->ExpectTag(16)) goto parse_buildId; break; } - + // required uint32 buildId = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -2164,7 +2243,7 @@ bool InitMessage::MergePartialFromCodedStream( if (input->ExpectTag(26)) goto parse_myLastSessionId; break; } - + // optional bytes myLastSessionId = 3; case 3: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -2178,7 +2257,7 @@ bool InitMessage::MergePartialFromCodedStream( if (input->ExpectTag(34)) goto parse_authServerPassword; break; } - + // optional string authServerPassword = 4; case 4: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -2192,7 +2271,7 @@ bool InitMessage::MergePartialFromCodedStream( if (input->ExpectTag(40)) goto parse_login; break; } - + // required .InitMessage.LoginType login = 5; case 5: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -2211,7 +2290,7 @@ bool InitMessage::MergePartialFromCodedStream( if (input->ExpectTag(50)) goto parse_nickName; break; } - + // optional string nickName = 6; case 6: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -2225,7 +2304,7 @@ bool InitMessage::MergePartialFromCodedStream( if (input->ExpectTag(58)) goto parse_clientUserData; break; } - + // optional bytes clientUserData = 7; case 7: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -2239,7 +2318,7 @@ bool InitMessage::MergePartialFromCodedStream( if (input->ExpectTag(66)) goto parse_avatarHash; break; } - + // optional bytes avatarHash = 8; case 8: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -2253,7 +2332,7 @@ bool InitMessage::MergePartialFromCodedStream( if (input->ExpectAtEnd()) return true; break; } - + default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -2276,53 +2355,53 @@ void InitMessage::SerializeWithCachedSizes( ::google::protobuf::internal::WireFormatLite::WriteMessage( 1, this->requestedversion(), output); } - + // required uint32 buildId = 2; if (has_buildid()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->buildid(), output); } - + // optional bytes myLastSessionId = 3; if (has_mylastsessionid()) { ::google::protobuf::internal::WireFormatLite::WriteBytes( 3, this->mylastsessionid(), output); } - + // optional string authServerPassword = 4; if (has_authserverpassword()) { ::google::protobuf::internal::WireFormatLite::WriteString( 4, this->authserverpassword(), output); } - + // required .InitMessage.LoginType login = 5; if (has_login()) { ::google::protobuf::internal::WireFormatLite::WriteEnum( 5, this->login(), output); } - + // optional string nickName = 6; if (has_nickname()) { ::google::protobuf::internal::WireFormatLite::WriteString( 6, this->nickname(), output); } - + // optional bytes clientUserData = 7; if (has_clientuserdata()) { ::google::protobuf::internal::WireFormatLite::WriteBytes( 7, this->clientuserdata(), output); } - + // optional bytes avatarHash = 8; if (has_avatarhash()) { ::google::protobuf::internal::WireFormatLite::WriteBytes( 8, this->avatarhash(), output); } - + } int InitMessage::ByteSize() const { int total_size = 0; - + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // required .AnnounceMessage.Version requestedVersion = 1; if (has_requestedversion()) { @@ -2330,55 +2409,55 @@ int InitMessage::ByteSize() const { ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( this->requestedversion()); } - + // required uint32 buildId = 2; if (has_buildid()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::UInt32Size( this->buildid()); } - + // optional bytes myLastSessionId = 3; if (has_mylastsessionid()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::BytesSize( this->mylastsessionid()); } - + // optional string authServerPassword = 4; if (has_authserverpassword()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( this->authserverpassword()); } - + // required .InitMessage.LoginType login = 5; if (has_login()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::EnumSize(this->login()); } - + // optional string nickName = 6; if (has_nickname()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( this->nickname()); } - + // optional bytes clientUserData = 7; if (has_clientuserdata()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::BytesSize( this->clientuserdata()); } - + // optional bytes avatarHash = 8; if (has_avatarhash()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::BytesSize( this->avatarhash()); } - + } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; @@ -2429,7 +2508,7 @@ void InitMessage::CopyFrom(const InitMessage& from) { bool InitMessage::IsInitialized() const { if ((_has_bits_[0] & 0x00000013) != 0x00000013) return false; - + if (has_requestedversion()) { if (!this->requestedversion().IsInitialized()) return false; } @@ -2490,7 +2569,11 @@ void AuthServerChallengeMessage::SharedDtor() { if (serverchallenge_ != &::google::protobuf::internal::kEmptyString) { delete serverchallenge_; } + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + if (this != &default_instance()) { + #else if (this != default_instance_) { + #endif } } @@ -2500,7 +2583,12 @@ void AuthServerChallengeMessage::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const AuthServerChallengeMessage& AuthServerChallengeMessage::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); return *default_instance_; +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + protobuf_AddDesc_pokerth_2eproto(); +#else + if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); +#endif + return *default_instance_; } AuthServerChallengeMessage* AuthServerChallengeMessage::default_instance_ = NULL; @@ -2538,7 +2626,7 @@ bool AuthServerChallengeMessage::MergePartialFromCodedStream( if (input->ExpectAtEnd()) return true; break; } - + default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -2561,12 +2649,12 @@ void AuthServerChallengeMessage::SerializeWithCachedSizes( ::google::protobuf::internal::WireFormatLite::WriteBytes( 1, this->serverchallenge(), output); } - + } int AuthServerChallengeMessage::ByteSize() const { int total_size = 0; - + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // required bytes serverChallenge = 1; if (has_serverchallenge()) { @@ -2574,7 +2662,7 @@ int AuthServerChallengeMessage::ByteSize() const { ::google::protobuf::internal::WireFormatLite::BytesSize( this->serverchallenge()); } - + } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; @@ -2604,7 +2692,7 @@ void AuthServerChallengeMessage::CopyFrom(const AuthServerChallengeMessage& from bool AuthServerChallengeMessage::IsInitialized() const { if ((_has_bits_[0] & 0x00000001) != 0x00000001) return false; - + return true; } @@ -2655,7 +2743,11 @@ void AuthClientResponseMessage::SharedDtor() { if (clientresponse_ != &::google::protobuf::internal::kEmptyString) { delete clientresponse_; } + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + if (this != &default_instance()) { + #else if (this != default_instance_) { + #endif } } @@ -2665,7 +2757,12 @@ void AuthClientResponseMessage::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const AuthClientResponseMessage& AuthClientResponseMessage::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); return *default_instance_; +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + protobuf_AddDesc_pokerth_2eproto(); +#else + if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); +#endif + return *default_instance_; } AuthClientResponseMessage* AuthClientResponseMessage::default_instance_ = NULL; @@ -2703,7 +2800,7 @@ bool AuthClientResponseMessage::MergePartialFromCodedStream( if (input->ExpectAtEnd()) return true; break; } - + default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -2726,12 +2823,12 @@ void AuthClientResponseMessage::SerializeWithCachedSizes( ::google::protobuf::internal::WireFormatLite::WriteBytes( 1, this->clientresponse(), output); } - + } int AuthClientResponseMessage::ByteSize() const { int total_size = 0; - + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // required bytes clientResponse = 1; if (has_clientresponse()) { @@ -2739,7 +2836,7 @@ int AuthClientResponseMessage::ByteSize() const { ::google::protobuf::internal::WireFormatLite::BytesSize( this->clientresponse()); } - + } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; @@ -2769,7 +2866,7 @@ void AuthClientResponseMessage::CopyFrom(const AuthClientResponseMessage& from) bool AuthClientResponseMessage::IsInitialized() const { if ((_has_bits_[0] & 0x00000001) != 0x00000001) return false; - + return true; } @@ -2820,7 +2917,11 @@ void AuthServerVerificationMessage::SharedDtor() { if (serververification_ != &::google::protobuf::internal::kEmptyString) { delete serververification_; } + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + if (this != &default_instance()) { + #else if (this != default_instance_) { + #endif } } @@ -2830,7 +2931,12 @@ void AuthServerVerificationMessage::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const AuthServerVerificationMessage& AuthServerVerificationMessage::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); return *default_instance_; +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + protobuf_AddDesc_pokerth_2eproto(); +#else + if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); +#endif + return *default_instance_; } AuthServerVerificationMessage* AuthServerVerificationMessage::default_instance_ = NULL; @@ -2868,7 +2974,7 @@ bool AuthServerVerificationMessage::MergePartialFromCodedStream( if (input->ExpectAtEnd()) return true; break; } - + default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -2891,12 +2997,12 @@ void AuthServerVerificationMessage::SerializeWithCachedSizes( ::google::protobuf::internal::WireFormatLite::WriteBytes( 1, this->serververification(), output); } - + } int AuthServerVerificationMessage::ByteSize() const { int total_size = 0; - + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // required bytes serverVerification = 1; if (has_serververification()) { @@ -2904,7 +3010,7 @@ int AuthServerVerificationMessage::ByteSize() const { ::google::protobuf::internal::WireFormatLite::BytesSize( this->serververification()); } - + } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; @@ -2934,7 +3040,7 @@ void AuthServerVerificationMessage::CopyFrom(const AuthServerVerificationMessage bool AuthServerVerificationMessage::IsInitialized() const { if ((_has_bits_[0] & 0x00000001) != 0x00000001) return false; - + return true; } @@ -2994,7 +3100,11 @@ void InitAckMessage::SharedDtor() { if (youravatarhash_ != &::google::protobuf::internal::kEmptyString) { delete youravatarhash_; } + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + if (this != &default_instance()) { + #else if (this != default_instance_) { + #endif } } @@ -3004,7 +3114,12 @@ void InitAckMessage::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const InitAckMessage& InitAckMessage::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); return *default_instance_; +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + protobuf_AddDesc_pokerth_2eproto(); +#else + if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); +#endif + return *default_instance_; } InitAckMessage* InitAckMessage::default_instance_ = NULL; @@ -3049,7 +3164,7 @@ bool InitAckMessage::MergePartialFromCodedStream( if (input->ExpectTag(16)) goto parse_yourPlayerId; break; } - + // required uint32 yourPlayerId = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -3065,7 +3180,7 @@ bool InitAckMessage::MergePartialFromCodedStream( if (input->ExpectTag(26)) goto parse_yourAvatarHash; break; } - + // optional bytes yourAvatarHash = 3; case 3: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -3079,7 +3194,7 @@ bool InitAckMessage::MergePartialFromCodedStream( if (input->ExpectTag(32)) goto parse_rejoinGameId; break; } - + // optional uint32 rejoinGameId = 4; case 4: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -3095,7 +3210,7 @@ bool InitAckMessage::MergePartialFromCodedStream( if (input->ExpectAtEnd()) return true; break; } - + default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -3118,28 +3233,28 @@ void InitAckMessage::SerializeWithCachedSizes( ::google::protobuf::internal::WireFormatLite::WriteBytes( 1, this->yoursessionid(), output); } - + // required uint32 yourPlayerId = 2; if (has_yourplayerid()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->yourplayerid(), output); } - + // optional bytes yourAvatarHash = 3; if (has_youravatarhash()) { ::google::protobuf::internal::WireFormatLite::WriteBytes( 3, this->youravatarhash(), output); } - + // optional uint32 rejoinGameId = 4; if (has_rejoingameid()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(4, this->rejoingameid(), output); } - + } int InitAckMessage::ByteSize() const { int total_size = 0; - + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // required bytes yourSessionId = 1; if (has_yoursessionid()) { @@ -3147,28 +3262,28 @@ int InitAckMessage::ByteSize() const { ::google::protobuf::internal::WireFormatLite::BytesSize( this->yoursessionid()); } - + // required uint32 yourPlayerId = 2; if (has_yourplayerid()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::UInt32Size( this->yourplayerid()); } - + // optional bytes yourAvatarHash = 3; if (has_youravatarhash()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::BytesSize( this->youravatarhash()); } - + // optional uint32 rejoinGameId = 4; if (has_rejoingameid()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::UInt32Size( this->rejoingameid()); } - + } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; @@ -3207,7 +3322,7 @@ void InitAckMessage::CopyFrom(const InitAckMessage& from) { bool InitAckMessage::IsInitialized() const { if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false; - + return true; } @@ -3263,7 +3378,11 @@ void AvatarRequestMessage::SharedDtor() { if (avatarhash_ != &::google::protobuf::internal::kEmptyString) { delete avatarhash_; } + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + if (this != &default_instance()) { + #else if (this != default_instance_) { + #endif } } @@ -3273,7 +3392,12 @@ void AvatarRequestMessage::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const AvatarRequestMessage& AvatarRequestMessage::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); return *default_instance_; +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + protobuf_AddDesc_pokerth_2eproto(); +#else + if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); +#endif + return *default_instance_; } AvatarRequestMessage* AvatarRequestMessage::default_instance_ = NULL; @@ -3314,7 +3438,7 @@ bool AvatarRequestMessage::MergePartialFromCodedStream( if (input->ExpectTag(18)) goto parse_avatarHash; break; } - + // required bytes avatarHash = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -3328,7 +3452,7 @@ bool AvatarRequestMessage::MergePartialFromCodedStream( if (input->ExpectAtEnd()) return true; break; } - + default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -3350,18 +3474,18 @@ void AvatarRequestMessage::SerializeWithCachedSizes( if (has_requestid()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->requestid(), output); } - + // required bytes avatarHash = 2; if (has_avatarhash()) { ::google::protobuf::internal::WireFormatLite::WriteBytes( 2, this->avatarhash(), output); } - + } int AvatarRequestMessage::ByteSize() const { int total_size = 0; - + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // required uint32 requestId = 1; if (has_requestid()) { @@ -3369,14 +3493,14 @@ int AvatarRequestMessage::ByteSize() const { ::google::protobuf::internal::WireFormatLite::UInt32Size( this->requestid()); } - + // required bytes avatarHash = 2; if (has_avatarhash()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::BytesSize( this->avatarhash()); } - + } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; @@ -3409,7 +3533,7 @@ void AvatarRequestMessage::CopyFrom(const AvatarRequestMessage& from) { bool AvatarRequestMessage::IsInitialized() const { if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false; - + return true; } @@ -3462,7 +3586,11 @@ AvatarHeaderMessage::~AvatarHeaderMessage() { } void AvatarHeaderMessage::SharedDtor() { + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + if (this != &default_instance()) { + #else if (this != default_instance_) { + #endif } } @@ -3472,7 +3600,12 @@ void AvatarHeaderMessage::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const AvatarHeaderMessage& AvatarHeaderMessage::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); return *default_instance_; +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + protobuf_AddDesc_pokerth_2eproto(); +#else + if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); +#endif + return *default_instance_; } AvatarHeaderMessage* AvatarHeaderMessage::default_instance_ = NULL; @@ -3510,7 +3643,7 @@ bool AvatarHeaderMessage::MergePartialFromCodedStream( if (input->ExpectTag(16)) goto parse_avatarType; break; } - + // required .NetAvatarType avatarType = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -3520,8 +3653,8 @@ bool AvatarHeaderMessage::MergePartialFromCodedStream( DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( input, &value))); - if (NetAvatarType_IsValid(value)) { - set_avatartype(static_cast< NetAvatarType >(value)); + if (::NetAvatarType_IsValid(value)) { + set_avatartype(static_cast< ::NetAvatarType >(value)); } } else { goto handle_uninterpreted; @@ -3529,7 +3662,7 @@ bool AvatarHeaderMessage::MergePartialFromCodedStream( if (input->ExpectTag(24)) goto parse_avatarSize; break; } - + // required uint32 avatarSize = 3; case 3: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -3545,7 +3678,7 @@ bool AvatarHeaderMessage::MergePartialFromCodedStream( if (input->ExpectAtEnd()) return true; break; } - + default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -3567,23 +3700,23 @@ void AvatarHeaderMessage::SerializeWithCachedSizes( if (has_requestid()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->requestid(), output); } - + // required .NetAvatarType avatarType = 2; if (has_avatartype()) { ::google::protobuf::internal::WireFormatLite::WriteEnum( 2, this->avatartype(), output); } - + // required uint32 avatarSize = 3; if (has_avatarsize()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(3, this->avatarsize(), output); } - + } int AvatarHeaderMessage::ByteSize() const { int total_size = 0; - + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // required uint32 requestId = 1; if (has_requestid()) { @@ -3591,20 +3724,20 @@ int AvatarHeaderMessage::ByteSize() const { ::google::protobuf::internal::WireFormatLite::UInt32Size( this->requestid()); } - + // required .NetAvatarType avatarType = 2; if (has_avatartype()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::EnumSize(this->avatartype()); } - + // required uint32 avatarSize = 3; if (has_avatarsize()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::UInt32Size( this->avatarsize()); } - + } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; @@ -3640,7 +3773,7 @@ void AvatarHeaderMessage::CopyFrom(const AvatarHeaderMessage& from) { bool AvatarHeaderMessage::IsInitialized() const { if ((_has_bits_[0] & 0x00000007) != 0x00000007) return false; - + return true; } @@ -3695,7 +3828,11 @@ void AvatarDataMessage::SharedDtor() { if (avatarblock_ != &::google::protobuf::internal::kEmptyString) { delete avatarblock_; } + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + if (this != &default_instance()) { + #else if (this != default_instance_) { + #endif } } @@ -3705,7 +3842,12 @@ void AvatarDataMessage::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const AvatarDataMessage& AvatarDataMessage::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); return *default_instance_; +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + protobuf_AddDesc_pokerth_2eproto(); +#else + if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); +#endif + return *default_instance_; } AvatarDataMessage* AvatarDataMessage::default_instance_ = NULL; @@ -3746,7 +3888,7 @@ bool AvatarDataMessage::MergePartialFromCodedStream( if (input->ExpectTag(18)) goto parse_avatarBlock; break; } - + // required bytes avatarBlock = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -3760,7 +3902,7 @@ bool AvatarDataMessage::MergePartialFromCodedStream( if (input->ExpectAtEnd()) return true; break; } - + default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -3782,18 +3924,18 @@ void AvatarDataMessage::SerializeWithCachedSizes( if (has_requestid()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->requestid(), output); } - + // required bytes avatarBlock = 2; if (has_avatarblock()) { ::google::protobuf::internal::WireFormatLite::WriteBytes( 2, this->avatarblock(), output); } - + } int AvatarDataMessage::ByteSize() const { int total_size = 0; - + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // required uint32 requestId = 1; if (has_requestid()) { @@ -3801,14 +3943,14 @@ int AvatarDataMessage::ByteSize() const { ::google::protobuf::internal::WireFormatLite::UInt32Size( this->requestid()); } - + // required bytes avatarBlock = 2; if (has_avatarblock()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::BytesSize( this->avatarblock()); } - + } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; @@ -3841,7 +3983,7 @@ void AvatarDataMessage::CopyFrom(const AvatarDataMessage& from) { bool AvatarDataMessage::IsInitialized() const { if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false; - + return true; } @@ -3890,7 +4032,11 @@ AvatarEndMessage::~AvatarEndMessage() { } void AvatarEndMessage::SharedDtor() { + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + if (this != &default_instance()) { + #else if (this != default_instance_) { + #endif } } @@ -3900,7 +4046,12 @@ void AvatarEndMessage::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const AvatarEndMessage& AvatarEndMessage::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); return *default_instance_; +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + protobuf_AddDesc_pokerth_2eproto(); +#else + if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); +#endif + return *default_instance_; } AvatarEndMessage* AvatarEndMessage::default_instance_ = NULL; @@ -3936,7 +4087,7 @@ bool AvatarEndMessage::MergePartialFromCodedStream( if (input->ExpectAtEnd()) return true; break; } - + default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -3958,12 +4109,12 @@ void AvatarEndMessage::SerializeWithCachedSizes( if (has_requestid()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->requestid(), output); } - + } int AvatarEndMessage::ByteSize() const { int total_size = 0; - + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // required uint32 requestId = 1; if (has_requestid()) { @@ -3971,7 +4122,7 @@ int AvatarEndMessage::ByteSize() const { ::google::protobuf::internal::WireFormatLite::UInt32Size( this->requestid()); } - + } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; @@ -4001,7 +4152,7 @@ void AvatarEndMessage::CopyFrom(const AvatarEndMessage& from) { bool AvatarEndMessage::IsInitialized() const { if ((_has_bits_[0] & 0x00000001) != 0x00000001) return false; - + return true; } @@ -4049,7 +4200,11 @@ UnknownAvatarMessage::~UnknownAvatarMessage() { } void UnknownAvatarMessage::SharedDtor() { + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + if (this != &default_instance()) { + #else if (this != default_instance_) { + #endif } } @@ -4059,7 +4214,12 @@ void UnknownAvatarMessage::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const UnknownAvatarMessage& UnknownAvatarMessage::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); return *default_instance_; +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + protobuf_AddDesc_pokerth_2eproto(); +#else + if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); +#endif + return *default_instance_; } UnknownAvatarMessage* UnknownAvatarMessage::default_instance_ = NULL; @@ -4095,7 +4255,7 @@ bool UnknownAvatarMessage::MergePartialFromCodedStream( if (input->ExpectAtEnd()) return true; break; } - + default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -4117,12 +4277,12 @@ void UnknownAvatarMessage::SerializeWithCachedSizes( if (has_requestid()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->requestid(), output); } - + } int UnknownAvatarMessage::ByteSize() const { int total_size = 0; - + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // required uint32 requestId = 1; if (has_requestid()) { @@ -4130,7 +4290,7 @@ int UnknownAvatarMessage::ByteSize() const { ::google::protobuf::internal::WireFormatLite::UInt32Size( this->requestid()); } - + } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; @@ -4160,7 +4320,7 @@ void UnknownAvatarMessage::CopyFrom(const UnknownAvatarMessage& from) { bool UnknownAvatarMessage::IsInitialized() const { if ((_has_bits_[0] & 0x00000001) != 0x00000001) return false; - + return true; } @@ -4227,7 +4387,11 @@ PlayerListMessage::~PlayerListMessage() { } void PlayerListMessage::SharedDtor() { + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + if (this != &default_instance()) { + #else if (this != default_instance_) { + #endif } } @@ -4237,7 +4401,12 @@ void PlayerListMessage::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const PlayerListMessage& PlayerListMessage::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); return *default_instance_; +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + protobuf_AddDesc_pokerth_2eproto(); +#else + if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); +#endif + return *default_instance_; } PlayerListMessage* PlayerListMessage::default_instance_ = NULL; @@ -4274,7 +4443,7 @@ bool PlayerListMessage::MergePartialFromCodedStream( if (input->ExpectTag(16)) goto parse_playerListNotification; break; } - + // required .PlayerListMessage.PlayerListNotification playerListNotification = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -4293,7 +4462,7 @@ bool PlayerListMessage::MergePartialFromCodedStream( if (input->ExpectAtEnd()) return true; break; } - + default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -4315,18 +4484,18 @@ void PlayerListMessage::SerializeWithCachedSizes( if (has_playerid()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->playerid(), output); } - + // required .PlayerListMessage.PlayerListNotification playerListNotification = 2; if (has_playerlistnotification()) { ::google::protobuf::internal::WireFormatLite::WriteEnum( 2, this->playerlistnotification(), output); } - + } int PlayerListMessage::ByteSize() const { int total_size = 0; - + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // required uint32 playerId = 1; if (has_playerid()) { @@ -4334,13 +4503,13 @@ int PlayerListMessage::ByteSize() const { ::google::protobuf::internal::WireFormatLite::UInt32Size( this->playerid()); } - + // required .PlayerListMessage.PlayerListNotification playerListNotification = 2; if (has_playerlistnotification()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::EnumSize(this->playerlistnotification()); } - + } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; @@ -4373,7 +4542,7 @@ void PlayerListMessage::CopyFrom(const PlayerListMessage& from) { bool PlayerListMessage::IsInitialized() const { if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false; - + return true; } @@ -4408,7 +4577,12 @@ GameListNewMessage::GameListNewMessage() } void GameListNewMessage::InitAsDefaultInstance() { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + gameinfo_ = const_cast< ::NetGameInfo*>( + ::NetGameInfo::internal_default_instance()); +#else gameinfo_ = const_cast< ::NetGameInfo*>(&::NetGameInfo::default_instance()); +#endif } GameListNewMessage::GameListNewMessage(const GameListNewMessage& from) @@ -4432,7 +4606,11 @@ GameListNewMessage::~GameListNewMessage() { } void GameListNewMessage::SharedDtor() { + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + if (this != &default_instance()) { + #else if (this != default_instance_) { + #endif delete gameinfo_; } } @@ -4443,7 +4621,12 @@ void GameListNewMessage::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const GameListNewMessage& GameListNewMessage::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); return *default_instance_; +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + protobuf_AddDesc_pokerth_2eproto(); +#else + if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); +#endif + return *default_instance_; } GameListNewMessage* GameListNewMessage::default_instance_ = NULL; @@ -4486,7 +4669,7 @@ bool GameListNewMessage::MergePartialFromCodedStream( if (input->ExpectTag(16)) goto parse_gameMode; break; } - + // required .NetGameMode gameMode = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -4496,8 +4679,8 @@ bool GameListNewMessage::MergePartialFromCodedStream( DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( input, &value))); - if (NetGameMode_IsValid(value)) { - set_gamemode(static_cast< NetGameMode >(value)); + if (::NetGameMode_IsValid(value)) { + set_gamemode(static_cast< ::NetGameMode >(value)); } } else { goto handle_uninterpreted; @@ -4505,7 +4688,7 @@ bool GameListNewMessage::MergePartialFromCodedStream( if (input->ExpectTag(24)) goto parse_isPrivate; break; } - + // required bool isPrivate = 3; case 3: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -4521,7 +4704,7 @@ bool GameListNewMessage::MergePartialFromCodedStream( if (input->ExpectTag(34)) goto parse_playerIds; break; } - + // repeated uint32 playerIds = 4 [packed = true]; case 4: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -4542,7 +4725,7 @@ bool GameListNewMessage::MergePartialFromCodedStream( if (input->ExpectTag(40)) goto parse_adminPlayerId; break; } - + // required uint32 adminPlayerId = 5; case 5: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -4558,7 +4741,7 @@ bool GameListNewMessage::MergePartialFromCodedStream( if (input->ExpectTag(50)) goto parse_gameInfo; break; } - + // required .NetGameInfo gameInfo = 6; case 6: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -4572,7 +4755,7 @@ bool GameListNewMessage::MergePartialFromCodedStream( if (input->ExpectAtEnd()) return true; break; } - + default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -4594,18 +4777,18 @@ void GameListNewMessage::SerializeWithCachedSizes( if (has_gameid()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->gameid(), output); } - + // required .NetGameMode gameMode = 2; if (has_gamemode()) { ::google::protobuf::internal::WireFormatLite::WriteEnum( 2, this->gamemode(), output); } - + // required bool isPrivate = 3; if (has_isprivate()) { ::google::protobuf::internal::WireFormatLite::WriteBool(3, this->isprivate(), output); } - + // repeated uint32 playerIds = 4 [packed = true]; if (this->playerids_size() > 0) { ::google::protobuf::internal::WireFormatLite::WriteTag(4, ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED, output); @@ -4615,23 +4798,23 @@ void GameListNewMessage::SerializeWithCachedSizes( ::google::protobuf::internal::WireFormatLite::WriteUInt32NoTag( this->playerids(i), output); } - + // required uint32 adminPlayerId = 5; if (has_adminplayerid()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(5, this->adminplayerid(), output); } - + // required .NetGameInfo gameInfo = 6; if (has_gameinfo()) { ::google::protobuf::internal::WireFormatLite::WriteMessage( 6, this->gameinfo(), output); } - + } int GameListNewMessage::ByteSize() const { int total_size = 0; - + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // required uint32 gameId = 1; if (has_gameid()) { @@ -4639,32 +4822,32 @@ int GameListNewMessage::ByteSize() const { ::google::protobuf::internal::WireFormatLite::UInt32Size( this->gameid()); } - + // required .NetGameMode gameMode = 2; if (has_gamemode()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::EnumSize(this->gamemode()); } - + // required bool isPrivate = 3; if (has_isprivate()) { total_size += 1 + 1; } - + // required uint32 adminPlayerId = 5; if (has_adminplayerid()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::UInt32Size( this->adminplayerid()); } - + // required .NetGameInfo gameInfo = 6; if (has_gameinfo()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( this->gameinfo()); } - + } // repeated uint32 playerIds = 4 [packed = true]; { @@ -4677,10 +4860,12 @@ int GameListNewMessage::ByteSize() const { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size(data_size); } + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _playerids_cached_byte_size_ = data_size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); total_size += data_size; } - + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); @@ -4722,7 +4907,7 @@ void GameListNewMessage::CopyFrom(const GameListNewMessage& from) { bool GameListNewMessage::IsInitialized() const { if ((_has_bits_[0] & 0x00000037) != 0x00000037) return false; - + if (has_gameinfo()) { if (!this->gameinfo().IsInitialized()) return false; } @@ -4780,7 +4965,11 @@ GameListUpdateMessage::~GameListUpdateMessage() { } void GameListUpdateMessage::SharedDtor() { + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + if (this != &default_instance()) { + #else if (this != default_instance_) { + #endif } } @@ -4790,7 +4979,12 @@ void GameListUpdateMessage::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const GameListUpdateMessage& GameListUpdateMessage::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); return *default_instance_; +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + protobuf_AddDesc_pokerth_2eproto(); +#else + if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); +#endif + return *default_instance_; } GameListUpdateMessage* GameListUpdateMessage::default_instance_ = NULL; @@ -4827,7 +5021,7 @@ bool GameListUpdateMessage::MergePartialFromCodedStream( if (input->ExpectTag(16)) goto parse_gameMode; break; } - + // required .NetGameMode gameMode = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -4837,8 +5031,8 @@ bool GameListUpdateMessage::MergePartialFromCodedStream( DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( input, &value))); - if (NetGameMode_IsValid(value)) { - set_gamemode(static_cast< NetGameMode >(value)); + if (::NetGameMode_IsValid(value)) { + set_gamemode(static_cast< ::NetGameMode >(value)); } } else { goto handle_uninterpreted; @@ -4846,7 +5040,7 @@ bool GameListUpdateMessage::MergePartialFromCodedStream( if (input->ExpectAtEnd()) return true; break; } - + default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -4868,18 +5062,18 @@ void GameListUpdateMessage::SerializeWithCachedSizes( if (has_gameid()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->gameid(), output); } - + // required .NetGameMode gameMode = 2; if (has_gamemode()) { ::google::protobuf::internal::WireFormatLite::WriteEnum( 2, this->gamemode(), output); } - + } int GameListUpdateMessage::ByteSize() const { int total_size = 0; - + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // required uint32 gameId = 1; if (has_gameid()) { @@ -4887,13 +5081,13 @@ int GameListUpdateMessage::ByteSize() const { ::google::protobuf::internal::WireFormatLite::UInt32Size( this->gameid()); } - + // required .NetGameMode gameMode = 2; if (has_gamemode()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::EnumSize(this->gamemode()); } - + } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; @@ -4926,7 +5120,7 @@ void GameListUpdateMessage::CopyFrom(const GameListUpdateMessage& from) { bool GameListUpdateMessage::IsInitialized() const { if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false; - + return true; } @@ -4977,7 +5171,11 @@ GameListPlayerJoinedMessage::~GameListPlayerJoinedMessage() { } void GameListPlayerJoinedMessage::SharedDtor() { + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + if (this != &default_instance()) { + #else if (this != default_instance_) { + #endif } } @@ -4987,7 +5185,12 @@ void GameListPlayerJoinedMessage::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const GameListPlayerJoinedMessage& GameListPlayerJoinedMessage::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); return *default_instance_; +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + protobuf_AddDesc_pokerth_2eproto(); +#else + if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); +#endif + return *default_instance_; } GameListPlayerJoinedMessage* GameListPlayerJoinedMessage::default_instance_ = NULL; @@ -5024,7 +5227,7 @@ bool GameListPlayerJoinedMessage::MergePartialFromCodedStream( if (input->ExpectTag(16)) goto parse_playerId; break; } - + // required uint32 playerId = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -5040,7 +5243,7 @@ bool GameListPlayerJoinedMessage::MergePartialFromCodedStream( if (input->ExpectAtEnd()) return true; break; } - + default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -5062,17 +5265,17 @@ void GameListPlayerJoinedMessage::SerializeWithCachedSizes( if (has_gameid()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->gameid(), output); } - + // required uint32 playerId = 2; if (has_playerid()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->playerid(), output); } - + } int GameListPlayerJoinedMessage::ByteSize() const { int total_size = 0; - + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // required uint32 gameId = 1; if (has_gameid()) { @@ -5080,14 +5283,14 @@ int GameListPlayerJoinedMessage::ByteSize() const { ::google::protobuf::internal::WireFormatLite::UInt32Size( this->gameid()); } - + // required uint32 playerId = 2; if (has_playerid()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::UInt32Size( this->playerid()); } - + } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; @@ -5120,7 +5323,7 @@ void GameListPlayerJoinedMessage::CopyFrom(const GameListPlayerJoinedMessage& fr bool GameListPlayerJoinedMessage::IsInitialized() const { if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false; - + return true; } @@ -5171,7 +5374,11 @@ GameListPlayerLeftMessage::~GameListPlayerLeftMessage() { } void GameListPlayerLeftMessage::SharedDtor() { + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + if (this != &default_instance()) { + #else if (this != default_instance_) { + #endif } } @@ -5181,7 +5388,12 @@ void GameListPlayerLeftMessage::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const GameListPlayerLeftMessage& GameListPlayerLeftMessage::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); return *default_instance_; +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + protobuf_AddDesc_pokerth_2eproto(); +#else + if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); +#endif + return *default_instance_; } GameListPlayerLeftMessage* GameListPlayerLeftMessage::default_instance_ = NULL; @@ -5218,7 +5430,7 @@ bool GameListPlayerLeftMessage::MergePartialFromCodedStream( if (input->ExpectTag(16)) goto parse_playerId; break; } - + // required uint32 playerId = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -5234,7 +5446,7 @@ bool GameListPlayerLeftMessage::MergePartialFromCodedStream( if (input->ExpectAtEnd()) return true; break; } - + default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -5256,17 +5468,17 @@ void GameListPlayerLeftMessage::SerializeWithCachedSizes( if (has_gameid()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->gameid(), output); } - + // required uint32 playerId = 2; if (has_playerid()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->playerid(), output); } - + } int GameListPlayerLeftMessage::ByteSize() const { int total_size = 0; - + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // required uint32 gameId = 1; if (has_gameid()) { @@ -5274,14 +5486,14 @@ int GameListPlayerLeftMessage::ByteSize() const { ::google::protobuf::internal::WireFormatLite::UInt32Size( this->gameid()); } - + // required uint32 playerId = 2; if (has_playerid()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::UInt32Size( this->playerid()); } - + } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; @@ -5314,7 +5526,7 @@ void GameListPlayerLeftMessage::CopyFrom(const GameListPlayerLeftMessage& from) bool GameListPlayerLeftMessage::IsInitialized() const { if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false; - + return true; } @@ -5365,7 +5577,11 @@ GameListSpectatorJoinedMessage::~GameListSpectatorJoinedMessage() { } void GameListSpectatorJoinedMessage::SharedDtor() { + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + if (this != &default_instance()) { + #else if (this != default_instance_) { + #endif } } @@ -5375,7 +5591,12 @@ void GameListSpectatorJoinedMessage::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const GameListSpectatorJoinedMessage& GameListSpectatorJoinedMessage::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); return *default_instance_; +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + protobuf_AddDesc_pokerth_2eproto(); +#else + if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); +#endif + return *default_instance_; } GameListSpectatorJoinedMessage* GameListSpectatorJoinedMessage::default_instance_ = NULL; @@ -5412,7 +5633,7 @@ bool GameListSpectatorJoinedMessage::MergePartialFromCodedStream( if (input->ExpectTag(16)) goto parse_playerId; break; } - + // required uint32 playerId = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -5428,7 +5649,7 @@ bool GameListSpectatorJoinedMessage::MergePartialFromCodedStream( if (input->ExpectAtEnd()) return true; break; } - + default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -5450,17 +5671,17 @@ void GameListSpectatorJoinedMessage::SerializeWithCachedSizes( if (has_gameid()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->gameid(), output); } - + // required uint32 playerId = 2; if (has_playerid()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->playerid(), output); } - + } int GameListSpectatorJoinedMessage::ByteSize() const { int total_size = 0; - + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // required uint32 gameId = 1; if (has_gameid()) { @@ -5468,14 +5689,14 @@ int GameListSpectatorJoinedMessage::ByteSize() const { ::google::protobuf::internal::WireFormatLite::UInt32Size( this->gameid()); } - + // required uint32 playerId = 2; if (has_playerid()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::UInt32Size( this->playerid()); } - + } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; @@ -5508,7 +5729,7 @@ void GameListSpectatorJoinedMessage::CopyFrom(const GameListSpectatorJoinedMessa bool GameListSpectatorJoinedMessage::IsInitialized() const { if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false; - + return true; } @@ -5559,7 +5780,11 @@ GameListSpectatorLeftMessage::~GameListSpectatorLeftMessage() { } void GameListSpectatorLeftMessage::SharedDtor() { + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + if (this != &default_instance()) { + #else if (this != default_instance_) { + #endif } } @@ -5569,7 +5794,12 @@ void GameListSpectatorLeftMessage::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const GameListSpectatorLeftMessage& GameListSpectatorLeftMessage::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); return *default_instance_; +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + protobuf_AddDesc_pokerth_2eproto(); +#else + if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); +#endif + return *default_instance_; } GameListSpectatorLeftMessage* GameListSpectatorLeftMessage::default_instance_ = NULL; @@ -5606,7 +5836,7 @@ bool GameListSpectatorLeftMessage::MergePartialFromCodedStream( if (input->ExpectTag(16)) goto parse_playerId; break; } - + // required uint32 playerId = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -5622,7 +5852,7 @@ bool GameListSpectatorLeftMessage::MergePartialFromCodedStream( if (input->ExpectAtEnd()) return true; break; } - + default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -5644,17 +5874,17 @@ void GameListSpectatorLeftMessage::SerializeWithCachedSizes( if (has_gameid()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->gameid(), output); } - + // required uint32 playerId = 2; if (has_playerid()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->playerid(), output); } - + } int GameListSpectatorLeftMessage::ByteSize() const { int total_size = 0; - + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // required uint32 gameId = 1; if (has_gameid()) { @@ -5662,14 +5892,14 @@ int GameListSpectatorLeftMessage::ByteSize() const { ::google::protobuf::internal::WireFormatLite::UInt32Size( this->gameid()); } - + // required uint32 playerId = 2; if (has_playerid()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::UInt32Size( this->playerid()); } - + } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; @@ -5702,7 +5932,7 @@ void GameListSpectatorLeftMessage::CopyFrom(const GameListSpectatorLeftMessage& bool GameListSpectatorLeftMessage::IsInitialized() const { if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false; - + return true; } @@ -5753,7 +5983,11 @@ GameListAdminChangedMessage::~GameListAdminChangedMessage() { } void GameListAdminChangedMessage::SharedDtor() { + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + if (this != &default_instance()) { + #else if (this != default_instance_) { + #endif } } @@ -5763,7 +5997,12 @@ void GameListAdminChangedMessage::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const GameListAdminChangedMessage& GameListAdminChangedMessage::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); return *default_instance_; +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + protobuf_AddDesc_pokerth_2eproto(); +#else + if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); +#endif + return *default_instance_; } GameListAdminChangedMessage* GameListAdminChangedMessage::default_instance_ = NULL; @@ -5800,7 +6039,7 @@ bool GameListAdminChangedMessage::MergePartialFromCodedStream( if (input->ExpectTag(16)) goto parse_newAdminPlayerId; break; } - + // required uint32 newAdminPlayerId = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -5816,7 +6055,7 @@ bool GameListAdminChangedMessage::MergePartialFromCodedStream( if (input->ExpectAtEnd()) return true; break; } - + default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -5838,17 +6077,17 @@ void GameListAdminChangedMessage::SerializeWithCachedSizes( if (has_gameid()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->gameid(), output); } - + // required uint32 newAdminPlayerId = 2; if (has_newadminplayerid()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->newadminplayerid(), output); } - + } int GameListAdminChangedMessage::ByteSize() const { int total_size = 0; - + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // required uint32 gameId = 1; if (has_gameid()) { @@ -5856,14 +6095,14 @@ int GameListAdminChangedMessage::ByteSize() const { ::google::protobuf::internal::WireFormatLite::UInt32Size( this->gameid()); } - + // required uint32 newAdminPlayerId = 2; if (has_newadminplayerid()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::UInt32Size( this->newadminplayerid()); } - + } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; @@ -5896,7 +6135,7 @@ void GameListAdminChangedMessage::CopyFrom(const GameListAdminChangedMessage& fr bool GameListAdminChangedMessage::IsInitialized() const { if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false; - + return true; } @@ -5944,7 +6183,11 @@ PlayerInfoRequestMessage::~PlayerInfoRequestMessage() { } void PlayerInfoRequestMessage::SharedDtor() { + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + if (this != &default_instance()) { + #else if (this != default_instance_) { + #endif } } @@ -5954,7 +6197,12 @@ void PlayerInfoRequestMessage::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const PlayerInfoRequestMessage& PlayerInfoRequestMessage::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); return *default_instance_; +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + protobuf_AddDesc_pokerth_2eproto(); +#else + if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); +#endif + return *default_instance_; } PlayerInfoRequestMessage* PlayerInfoRequestMessage::default_instance_ = NULL; @@ -5993,7 +6241,7 @@ bool PlayerInfoRequestMessage::MergePartialFromCodedStream( if (input->ExpectAtEnd()) return true; break; } - + default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -6020,12 +6268,12 @@ void PlayerInfoRequestMessage::SerializeWithCachedSizes( ::google::protobuf::internal::WireFormatLite::WriteUInt32NoTag( this->playerid(i), output); } - + } int PlayerInfoRequestMessage::ByteSize() const { int total_size = 0; - + // repeated uint32 playerId = 1 [packed = true]; { int data_size = 0; @@ -6037,10 +6285,12 @@ int PlayerInfoRequestMessage::ByteSize() const { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size(data_size); } + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _playerid_cached_byte_size_ = data_size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); total_size += data_size; } - + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); @@ -6064,7 +6314,7 @@ void PlayerInfoRequestMessage::CopyFrom(const PlayerInfoRequestMessage& from) { } bool PlayerInfoRequestMessage::IsInitialized() const { - + return true; } @@ -6117,7 +6367,11 @@ void PlayerInfoReplyMessage_PlayerInfoData_AvatarData::SharedDtor() { if (avatarhash_ != &::google::protobuf::internal::kEmptyString) { delete avatarhash_; } + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + if (this != &default_instance()) { + #else if (this != default_instance_) { + #endif } } @@ -6127,7 +6381,12 @@ void PlayerInfoReplyMessage_PlayerInfoData_AvatarData::SetCachedSize(int size) c GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const PlayerInfoReplyMessage_PlayerInfoData_AvatarData& PlayerInfoReplyMessage_PlayerInfoData_AvatarData::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); return *default_instance_; +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + protobuf_AddDesc_pokerth_2eproto(); +#else + if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); +#endif + return *default_instance_; } PlayerInfoReplyMessage_PlayerInfoData_AvatarData* PlayerInfoReplyMessage_PlayerInfoData_AvatarData::default_instance_ = NULL; @@ -6162,8 +6421,8 @@ bool PlayerInfoReplyMessage_PlayerInfoData_AvatarData::MergePartialFromCodedStre DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( input, &value))); - if (NetAvatarType_IsValid(value)) { - set_avatartype(static_cast< NetAvatarType >(value)); + if (::NetAvatarType_IsValid(value)) { + set_avatartype(static_cast< ::NetAvatarType >(value)); } } else { goto handle_uninterpreted; @@ -6171,7 +6430,7 @@ bool PlayerInfoReplyMessage_PlayerInfoData_AvatarData::MergePartialFromCodedStre if (input->ExpectTag(18)) goto parse_avatarHash; break; } - + // required bytes avatarHash = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -6185,7 +6444,7 @@ bool PlayerInfoReplyMessage_PlayerInfoData_AvatarData::MergePartialFromCodedStre if (input->ExpectAtEnd()) return true; break; } - + default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -6208,32 +6467,32 @@ void PlayerInfoReplyMessage_PlayerInfoData_AvatarData::SerializeWithCachedSizes( ::google::protobuf::internal::WireFormatLite::WriteEnum( 1, this->avatartype(), output); } - + // required bytes avatarHash = 2; if (has_avatarhash()) { ::google::protobuf::internal::WireFormatLite::WriteBytes( 2, this->avatarhash(), output); } - + } int PlayerInfoReplyMessage_PlayerInfoData_AvatarData::ByteSize() const { int total_size = 0; - + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // required .NetAvatarType avatarType = 1; if (has_avatartype()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::EnumSize(this->avatartype()); } - + // required bytes avatarHash = 2; if (has_avatarhash()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::BytesSize( this->avatarhash()); } - + } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; @@ -6266,7 +6525,7 @@ void PlayerInfoReplyMessage_PlayerInfoData_AvatarData::CopyFrom(const PlayerInfo bool PlayerInfoReplyMessage_PlayerInfoData_AvatarData::IsInitialized() const { if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false; - + return true; } @@ -6300,7 +6559,12 @@ PlayerInfoReplyMessage_PlayerInfoData::PlayerInfoReplyMessage_PlayerInfoData() } void PlayerInfoReplyMessage_PlayerInfoData::InitAsDefaultInstance() { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + avatardata_ = const_cast< ::PlayerInfoReplyMessage_PlayerInfoData_AvatarData*>( + ::PlayerInfoReplyMessage_PlayerInfoData_AvatarData::internal_default_instance()); +#else avatardata_ = const_cast< ::PlayerInfoReplyMessage_PlayerInfoData_AvatarData*>(&::PlayerInfoReplyMessage_PlayerInfoData_AvatarData::default_instance()); +#endif } PlayerInfoReplyMessage_PlayerInfoData::PlayerInfoReplyMessage_PlayerInfoData(const PlayerInfoReplyMessage_PlayerInfoData& from) @@ -6330,7 +6594,11 @@ void PlayerInfoReplyMessage_PlayerInfoData::SharedDtor() { if (countrycode_ != &::google::protobuf::internal::kEmptyString) { delete countrycode_; } + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + if (this != &default_instance()) { + #else if (this != default_instance_) { + #endif delete avatardata_; } } @@ -6341,7 +6609,12 @@ void PlayerInfoReplyMessage_PlayerInfoData::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const PlayerInfoReplyMessage_PlayerInfoData& PlayerInfoReplyMessage_PlayerInfoData::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); return *default_instance_; +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + protobuf_AddDesc_pokerth_2eproto(); +#else + if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); +#endif + return *default_instance_; } PlayerInfoReplyMessage_PlayerInfoData* PlayerInfoReplyMessage_PlayerInfoData::default_instance_ = NULL; @@ -6389,7 +6662,7 @@ bool PlayerInfoReplyMessage_PlayerInfoData::MergePartialFromCodedStream( if (input->ExpectTag(16)) goto parse_isHuman; break; } - + // required bool isHuman = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -6405,7 +6678,7 @@ bool PlayerInfoReplyMessage_PlayerInfoData::MergePartialFromCodedStream( if (input->ExpectTag(24)) goto parse_playerRights; break; } - + // required .NetPlayerInfoRights playerRights = 3; case 3: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -6415,8 +6688,8 @@ bool PlayerInfoReplyMessage_PlayerInfoData::MergePartialFromCodedStream( DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( input, &value))); - if (NetPlayerInfoRights_IsValid(value)) { - set_playerrights(static_cast< NetPlayerInfoRights >(value)); + if (::NetPlayerInfoRights_IsValid(value)) { + set_playerrights(static_cast< ::NetPlayerInfoRights >(value)); } } else { goto handle_uninterpreted; @@ -6424,7 +6697,7 @@ bool PlayerInfoReplyMessage_PlayerInfoData::MergePartialFromCodedStream( if (input->ExpectTag(34)) goto parse_countryCode; break; } - + // optional string countryCode = 4; case 4: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -6438,7 +6711,7 @@ bool PlayerInfoReplyMessage_PlayerInfoData::MergePartialFromCodedStream( if (input->ExpectTag(42)) goto parse_avatarData; break; } - + // optional .PlayerInfoReplyMessage.PlayerInfoData.AvatarData avatarData = 5; case 5: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -6452,7 +6725,7 @@ bool PlayerInfoReplyMessage_PlayerInfoData::MergePartialFromCodedStream( if (input->ExpectAtEnd()) return true; break; } - + default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -6475,35 +6748,35 @@ void PlayerInfoReplyMessage_PlayerInfoData::SerializeWithCachedSizes( ::google::protobuf::internal::WireFormatLite::WriteString( 1, this->playername(), output); } - + // required bool isHuman = 2; if (has_ishuman()) { ::google::protobuf::internal::WireFormatLite::WriteBool(2, this->ishuman(), output); } - + // required .NetPlayerInfoRights playerRights = 3; if (has_playerrights()) { ::google::protobuf::internal::WireFormatLite::WriteEnum( 3, this->playerrights(), output); } - + // optional string countryCode = 4; if (has_countrycode()) { ::google::protobuf::internal::WireFormatLite::WriteString( 4, this->countrycode(), output); } - + // optional .PlayerInfoReplyMessage.PlayerInfoData.AvatarData avatarData = 5; if (has_avatardata()) { ::google::protobuf::internal::WireFormatLite::WriteMessage( 5, this->avatardata(), output); } - + } int PlayerInfoReplyMessage_PlayerInfoData::ByteSize() const { int total_size = 0; - + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // required string playerName = 1; if (has_playername()) { @@ -6511,32 +6784,32 @@ int PlayerInfoReplyMessage_PlayerInfoData::ByteSize() const { ::google::protobuf::internal::WireFormatLite::StringSize( this->playername()); } - + // required bool isHuman = 2; if (has_ishuman()) { total_size += 1 + 1; } - + // required .NetPlayerInfoRights playerRights = 3; if (has_playerrights()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::EnumSize(this->playerrights()); } - + // optional string countryCode = 4; if (has_countrycode()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( this->countrycode()); } - + // optional .PlayerInfoReplyMessage.PlayerInfoData.AvatarData avatarData = 5; if (has_avatardata()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( this->avatardata()); } - + } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; @@ -6578,7 +6851,7 @@ void PlayerInfoReplyMessage_PlayerInfoData::CopyFrom(const PlayerInfoReplyMessag bool PlayerInfoReplyMessage_PlayerInfoData::IsInitialized() const { if ((_has_bits_[0] & 0x00000007) != 0x00000007) return false; - + if (has_avatardata()) { if (!this->avatardata().IsInitialized()) return false; } @@ -6615,7 +6888,12 @@ PlayerInfoReplyMessage::PlayerInfoReplyMessage() } void PlayerInfoReplyMessage::InitAsDefaultInstance() { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + playerinfodata_ = const_cast< ::PlayerInfoReplyMessage_PlayerInfoData*>( + ::PlayerInfoReplyMessage_PlayerInfoData::internal_default_instance()); +#else playerinfodata_ = const_cast< ::PlayerInfoReplyMessage_PlayerInfoData*>(&::PlayerInfoReplyMessage_PlayerInfoData::default_instance()); +#endif } PlayerInfoReplyMessage::PlayerInfoReplyMessage(const PlayerInfoReplyMessage& from) @@ -6636,7 +6914,11 @@ PlayerInfoReplyMessage::~PlayerInfoReplyMessage() { } void PlayerInfoReplyMessage::SharedDtor() { + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + if (this != &default_instance()) { + #else if (this != default_instance_) { + #endif delete playerinfodata_; } } @@ -6647,7 +6929,12 @@ void PlayerInfoReplyMessage::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const PlayerInfoReplyMessage& PlayerInfoReplyMessage::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); return *default_instance_; +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + protobuf_AddDesc_pokerth_2eproto(); +#else + if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); +#endif + return *default_instance_; } PlayerInfoReplyMessage* PlayerInfoReplyMessage::default_instance_ = NULL; @@ -6686,7 +6973,7 @@ bool PlayerInfoReplyMessage::MergePartialFromCodedStream( if (input->ExpectTag(18)) goto parse_playerInfoData; break; } - + // optional .PlayerInfoReplyMessage.PlayerInfoData playerInfoData = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -6700,7 +6987,7 @@ bool PlayerInfoReplyMessage::MergePartialFromCodedStream( if (input->ExpectAtEnd()) return true; break; } - + default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -6722,18 +7009,18 @@ void PlayerInfoReplyMessage::SerializeWithCachedSizes( if (has_playerid()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->playerid(), output); } - + // optional .PlayerInfoReplyMessage.PlayerInfoData playerInfoData = 2; if (has_playerinfodata()) { ::google::protobuf::internal::WireFormatLite::WriteMessage( 2, this->playerinfodata(), output); } - + } int PlayerInfoReplyMessage::ByteSize() const { int total_size = 0; - + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // required uint32 playerId = 1; if (has_playerid()) { @@ -6741,14 +7028,14 @@ int PlayerInfoReplyMessage::ByteSize() const { ::google::protobuf::internal::WireFormatLite::UInt32Size( this->playerid()); } - + // optional .PlayerInfoReplyMessage.PlayerInfoData playerInfoData = 2; if (has_playerinfodata()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( this->playerinfodata()); } - + } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; @@ -6781,7 +7068,7 @@ void PlayerInfoReplyMessage::CopyFrom(const PlayerInfoReplyMessage& from) { bool PlayerInfoReplyMessage::IsInitialized() const { if ((_has_bits_[0] & 0x00000001) != 0x00000001) return false; - + if (has_playerinfodata()) { if (!this->playerinfodata().IsInitialized()) return false; } @@ -6850,7 +7137,11 @@ SubscriptionRequestMessage::~SubscriptionRequestMessage() { } void SubscriptionRequestMessage::SharedDtor() { + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + if (this != &default_instance()) { + #else if (this != default_instance_) { + #endif } } @@ -6860,7 +7151,12 @@ void SubscriptionRequestMessage::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const SubscriptionRequestMessage& SubscriptionRequestMessage::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); return *default_instance_; +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + protobuf_AddDesc_pokerth_2eproto(); +#else + if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); +#endif + return *default_instance_; } SubscriptionRequestMessage* SubscriptionRequestMessage::default_instance_ = NULL; @@ -6899,7 +7195,7 @@ bool SubscriptionRequestMessage::MergePartialFromCodedStream( if (input->ExpectAtEnd()) return true; break; } - + default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -6922,19 +7218,19 @@ void SubscriptionRequestMessage::SerializeWithCachedSizes( ::google::protobuf::internal::WireFormatLite::WriteEnum( 1, this->subscriptionaction(), output); } - + } int SubscriptionRequestMessage::ByteSize() const { int total_size = 0; - + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // required .SubscriptionRequestMessage.SubscriptionAction subscriptionAction = 1; if (has_subscriptionaction()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::EnumSize(this->subscriptionaction()); } - + } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; @@ -6964,7 +7260,7 @@ void SubscriptionRequestMessage::CopyFrom(const SubscriptionRequestMessage& from bool SubscriptionRequestMessage::IsInitialized() const { if ((_has_bits_[0] & 0x00000001) != 0x00000001) return false; - + return true; } @@ -7021,7 +7317,11 @@ void JoinExistingGameMessage::SharedDtor() { if (password_ != &::google::protobuf::internal::kEmptyString) { delete password_; } + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + if (this != &default_instance()) { + #else if (this != default_instance_) { + #endif } } @@ -7031,7 +7331,12 @@ void JoinExistingGameMessage::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const JoinExistingGameMessage& JoinExistingGameMessage::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); return *default_instance_; +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + protobuf_AddDesc_pokerth_2eproto(); +#else + if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); +#endif + return *default_instance_; } JoinExistingGameMessage* JoinExistingGameMessage::default_instance_ = NULL; @@ -7074,7 +7379,7 @@ bool JoinExistingGameMessage::MergePartialFromCodedStream( if (input->ExpectTag(18)) goto parse_password; break; } - + // optional string password = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -7088,7 +7393,7 @@ bool JoinExistingGameMessage::MergePartialFromCodedStream( if (input->ExpectTag(24)) goto parse_autoLeave; break; } - + // optional bool autoLeave = 3; case 3: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -7104,7 +7409,7 @@ bool JoinExistingGameMessage::MergePartialFromCodedStream( if (input->ExpectTag(32)) goto parse_spectateOnly; break; } - + // optional bool spectateOnly = 4; case 4: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -7120,7 +7425,7 @@ bool JoinExistingGameMessage::MergePartialFromCodedStream( if (input->ExpectAtEnd()) return true; break; } - + default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -7142,28 +7447,28 @@ void JoinExistingGameMessage::SerializeWithCachedSizes( if (has_gameid()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->gameid(), output); } - + // optional string password = 2; if (has_password()) { ::google::protobuf::internal::WireFormatLite::WriteString( 2, this->password(), output); } - + // optional bool autoLeave = 3; if (has_autoleave()) { ::google::protobuf::internal::WireFormatLite::WriteBool(3, this->autoleave(), output); } - + // optional bool spectateOnly = 4; if (has_spectateonly()) { ::google::protobuf::internal::WireFormatLite::WriteBool(4, this->spectateonly(), output); } - + } int JoinExistingGameMessage::ByteSize() const { int total_size = 0; - + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // required uint32 gameId = 1; if (has_gameid()) { @@ -7171,24 +7476,24 @@ int JoinExistingGameMessage::ByteSize() const { ::google::protobuf::internal::WireFormatLite::UInt32Size( this->gameid()); } - + // optional string password = 2; if (has_password()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( this->password()); } - + // optional bool autoLeave = 3; if (has_autoleave()) { total_size += 1 + 1; } - + // optional bool spectateOnly = 4; if (has_spectateonly()) { total_size += 1 + 1; } - + } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; @@ -7227,7 +7532,7 @@ void JoinExistingGameMessage::CopyFrom(const JoinExistingGameMessage& from) { bool JoinExistingGameMessage::IsInitialized() const { if ((_has_bits_[0] & 0x00000001) != 0x00000001) return false; - + return true; } @@ -7261,7 +7566,12 @@ JoinNewGameMessage::JoinNewGameMessage() } void JoinNewGameMessage::InitAsDefaultInstance() { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + gameinfo_ = const_cast< ::NetGameInfo*>( + ::NetGameInfo::internal_default_instance()); +#else gameinfo_ = const_cast< ::NetGameInfo*>(&::NetGameInfo::default_instance()); +#endif } JoinNewGameMessage::JoinNewGameMessage(const JoinNewGameMessage& from) @@ -7286,7 +7596,11 @@ void JoinNewGameMessage::SharedDtor() { if (password_ != &::google::protobuf::internal::kEmptyString) { delete password_; } + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + if (this != &default_instance()) { + #else if (this != default_instance_) { + #endif delete gameinfo_; } } @@ -7297,7 +7611,12 @@ void JoinNewGameMessage::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const JoinNewGameMessage& JoinNewGameMessage::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); return *default_instance_; +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + protobuf_AddDesc_pokerth_2eproto(); +#else + if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); +#endif + return *default_instance_; } JoinNewGameMessage* JoinNewGameMessage::default_instance_ = NULL; @@ -7339,7 +7658,7 @@ bool JoinNewGameMessage::MergePartialFromCodedStream( if (input->ExpectTag(18)) goto parse_password; break; } - + // optional string password = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -7353,7 +7672,7 @@ bool JoinNewGameMessage::MergePartialFromCodedStream( if (input->ExpectTag(24)) goto parse_autoLeave; break; } - + // optional bool autoLeave = 3; case 3: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -7369,7 +7688,7 @@ bool JoinNewGameMessage::MergePartialFromCodedStream( if (input->ExpectAtEnd()) return true; break; } - + default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -7392,23 +7711,23 @@ void JoinNewGameMessage::SerializeWithCachedSizes( ::google::protobuf::internal::WireFormatLite::WriteMessage( 1, this->gameinfo(), output); } - + // optional string password = 2; if (has_password()) { ::google::protobuf::internal::WireFormatLite::WriteString( 2, this->password(), output); } - + // optional bool autoLeave = 3; if (has_autoleave()) { ::google::protobuf::internal::WireFormatLite::WriteBool(3, this->autoleave(), output); } - + } int JoinNewGameMessage::ByteSize() const { int total_size = 0; - + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // required .NetGameInfo gameInfo = 1; if (has_gameinfo()) { @@ -7416,19 +7735,19 @@ int JoinNewGameMessage::ByteSize() const { ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( this->gameinfo()); } - + // optional string password = 2; if (has_password()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( this->password()); } - + // optional bool autoLeave = 3; if (has_autoleave()) { total_size += 1 + 1; } - + } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; @@ -7464,7 +7783,7 @@ void JoinNewGameMessage::CopyFrom(const JoinNewGameMessage& from) { bool JoinNewGameMessage::IsInitialized() const { if ((_has_bits_[0] & 0x00000001) != 0x00000001) return false; - + if (has_gameinfo()) { if (!this->gameinfo().IsInitialized()) return false; } @@ -7519,7 +7838,11 @@ RejoinExistingGameMessage::~RejoinExistingGameMessage() { } void RejoinExistingGameMessage::SharedDtor() { + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + if (this != &default_instance()) { + #else if (this != default_instance_) { + #endif } } @@ -7529,7 +7852,12 @@ void RejoinExistingGameMessage::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const RejoinExistingGameMessage& RejoinExistingGameMessage::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); return *default_instance_; +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + protobuf_AddDesc_pokerth_2eproto(); +#else + if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); +#endif + return *default_instance_; } RejoinExistingGameMessage* RejoinExistingGameMessage::default_instance_ = NULL; @@ -7566,7 +7894,7 @@ bool RejoinExistingGameMessage::MergePartialFromCodedStream( if (input->ExpectTag(16)) goto parse_autoLeave; break; } - + // optional bool autoLeave = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -7582,7 +7910,7 @@ bool RejoinExistingGameMessage::MergePartialFromCodedStream( if (input->ExpectAtEnd()) return true; break; } - + default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -7604,17 +7932,17 @@ void RejoinExistingGameMessage::SerializeWithCachedSizes( if (has_gameid()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->gameid(), output); } - + // optional bool autoLeave = 2; if (has_autoleave()) { ::google::protobuf::internal::WireFormatLite::WriteBool(2, this->autoleave(), output); } - + } int RejoinExistingGameMessage::ByteSize() const { int total_size = 0; - + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // required uint32 gameId = 1; if (has_gameid()) { @@ -7622,12 +7950,12 @@ int RejoinExistingGameMessage::ByteSize() const { ::google::protobuf::internal::WireFormatLite::UInt32Size( this->gameid()); } - + // optional bool autoLeave = 2; if (has_autoleave()) { total_size += 1 + 1; } - + } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; @@ -7660,7 +7988,7 @@ void RejoinExistingGameMessage::CopyFrom(const RejoinExistingGameMessage& from) bool RejoinExistingGameMessage::IsInitialized() const { if ((_has_bits_[0] & 0x00000001) != 0x00000001) return false; - + return true; } @@ -7692,7 +8020,12 @@ JoinGameAckMessage::JoinGameAckMessage() } void JoinGameAckMessage::InitAsDefaultInstance() { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + gameinfo_ = const_cast< ::NetGameInfo*>( + ::NetGameInfo::internal_default_instance()); +#else gameinfo_ = const_cast< ::NetGameInfo*>(&::NetGameInfo::default_instance()); +#endif } JoinGameAckMessage::JoinGameAckMessage(const JoinGameAckMessage& from) @@ -7714,7 +8047,11 @@ JoinGameAckMessage::~JoinGameAckMessage() { } void JoinGameAckMessage::SharedDtor() { + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + if (this != &default_instance()) { + #else if (this != default_instance_) { + #endif delete gameinfo_; } } @@ -7725,7 +8062,12 @@ void JoinGameAckMessage::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const JoinGameAckMessage& JoinGameAckMessage::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); return *default_instance_; +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + protobuf_AddDesc_pokerth_2eproto(); +#else + if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); +#endif + return *default_instance_; } JoinGameAckMessage* JoinGameAckMessage::default_instance_ = NULL; @@ -7765,7 +8107,7 @@ bool JoinGameAckMessage::MergePartialFromCodedStream( if (input->ExpectTag(16)) goto parse_areYouGameAdmin; break; } - + // required bool areYouGameAdmin = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -7781,7 +8123,7 @@ bool JoinGameAckMessage::MergePartialFromCodedStream( if (input->ExpectTag(26)) goto parse_gameInfo; break; } - + // required .NetGameInfo gameInfo = 3; case 3: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -7795,7 +8137,7 @@ bool JoinGameAckMessage::MergePartialFromCodedStream( if (input->ExpectAtEnd()) return true; break; } - + default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -7817,23 +8159,23 @@ void JoinGameAckMessage::SerializeWithCachedSizes( if (has_gameid()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->gameid(), output); } - + // required bool areYouGameAdmin = 2; if (has_areyougameadmin()) { ::google::protobuf::internal::WireFormatLite::WriteBool(2, this->areyougameadmin(), output); } - + // required .NetGameInfo gameInfo = 3; if (has_gameinfo()) { ::google::protobuf::internal::WireFormatLite::WriteMessage( 3, this->gameinfo(), output); } - + } int JoinGameAckMessage::ByteSize() const { int total_size = 0; - + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // required uint32 gameId = 1; if (has_gameid()) { @@ -7841,19 +8183,19 @@ int JoinGameAckMessage::ByteSize() const { ::google::protobuf::internal::WireFormatLite::UInt32Size( this->gameid()); } - + // required bool areYouGameAdmin = 2; if (has_areyougameadmin()) { total_size += 1 + 1; } - + // required .NetGameInfo gameInfo = 3; if (has_gameinfo()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( this->gameinfo()); } - + } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; @@ -7889,7 +8231,7 @@ void JoinGameAckMessage::CopyFrom(const JoinGameAckMessage& from) { bool JoinGameAckMessage::IsInitialized() const { if ((_has_bits_[0] & 0x00000007) != 0x00000007) return false; - + if (has_gameinfo()) { if (!this->gameinfo().IsInitialized()) return false; } @@ -7979,7 +8321,11 @@ JoinGameFailedMessage::~JoinGameFailedMessage() { } void JoinGameFailedMessage::SharedDtor() { + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + if (this != &default_instance()) { + #else if (this != default_instance_) { + #endif } } @@ -7989,7 +8335,12 @@ void JoinGameFailedMessage::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const JoinGameFailedMessage& JoinGameFailedMessage::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); return *default_instance_; +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + protobuf_AddDesc_pokerth_2eproto(); +#else + if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); +#endif + return *default_instance_; } JoinGameFailedMessage* JoinGameFailedMessage::default_instance_ = NULL; @@ -8026,7 +8377,7 @@ bool JoinGameFailedMessage::MergePartialFromCodedStream( if (input->ExpectTag(16)) goto parse_joinGameFailureReason; break; } - + // required .JoinGameFailedMessage.JoinGameFailureReason joinGameFailureReason = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -8045,7 +8396,7 @@ bool JoinGameFailedMessage::MergePartialFromCodedStream( if (input->ExpectAtEnd()) return true; break; } - + default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -8067,18 +8418,18 @@ void JoinGameFailedMessage::SerializeWithCachedSizes( if (has_gameid()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->gameid(), output); } - + // required .JoinGameFailedMessage.JoinGameFailureReason joinGameFailureReason = 2; if (has_joingamefailurereason()) { ::google::protobuf::internal::WireFormatLite::WriteEnum( 2, this->joingamefailurereason(), output); } - + } int JoinGameFailedMessage::ByteSize() const { int total_size = 0; - + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // required uint32 gameId = 1; if (has_gameid()) { @@ -8086,13 +8437,13 @@ int JoinGameFailedMessage::ByteSize() const { ::google::protobuf::internal::WireFormatLite::UInt32Size( this->gameid()); } - + // required .JoinGameFailedMessage.JoinGameFailureReason joinGameFailureReason = 2; if (has_joingamefailurereason()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::EnumSize(this->joingamefailurereason()); } - + } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; @@ -8125,7 +8476,7 @@ void JoinGameFailedMessage::CopyFrom(const JoinGameFailedMessage& from) { bool JoinGameFailedMessage::IsInitialized() const { if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false; - + return true; } @@ -8178,7 +8529,11 @@ GamePlayerJoinedMessage::~GamePlayerJoinedMessage() { } void GamePlayerJoinedMessage::SharedDtor() { + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + if (this != &default_instance()) { + #else if (this != default_instance_) { + #endif } } @@ -8188,7 +8543,12 @@ void GamePlayerJoinedMessage::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const GamePlayerJoinedMessage& GamePlayerJoinedMessage::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); return *default_instance_; +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + protobuf_AddDesc_pokerth_2eproto(); +#else + if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); +#endif + return *default_instance_; } GamePlayerJoinedMessage* GamePlayerJoinedMessage::default_instance_ = NULL; @@ -8226,7 +8586,7 @@ bool GamePlayerJoinedMessage::MergePartialFromCodedStream( if (input->ExpectTag(16)) goto parse_playerId; break; } - + // required uint32 playerId = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -8242,7 +8602,7 @@ bool GamePlayerJoinedMessage::MergePartialFromCodedStream( if (input->ExpectTag(24)) goto parse_isGameAdmin; break; } - + // required bool isGameAdmin = 3; case 3: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -8258,7 +8618,7 @@ bool GamePlayerJoinedMessage::MergePartialFromCodedStream( if (input->ExpectAtEnd()) return true; break; } - + default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -8280,22 +8640,22 @@ void GamePlayerJoinedMessage::SerializeWithCachedSizes( if (has_gameid()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->gameid(), output); } - + // required uint32 playerId = 2; if (has_playerid()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->playerid(), output); } - + // required bool isGameAdmin = 3; if (has_isgameadmin()) { ::google::protobuf::internal::WireFormatLite::WriteBool(3, this->isgameadmin(), output); } - + } int GamePlayerJoinedMessage::ByteSize() const { int total_size = 0; - + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // required uint32 gameId = 1; if (has_gameid()) { @@ -8303,19 +8663,19 @@ int GamePlayerJoinedMessage::ByteSize() const { ::google::protobuf::internal::WireFormatLite::UInt32Size( this->gameid()); } - + // required uint32 playerId = 2; if (has_playerid()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::UInt32Size( this->playerid()); } - + // required bool isGameAdmin = 3; if (has_isgameadmin()) { total_size += 1 + 1; } - + } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; @@ -8351,7 +8711,7 @@ void GamePlayerJoinedMessage::CopyFrom(const GamePlayerJoinedMessage& from) { bool GamePlayerJoinedMessage::IsInitialized() const { if ((_has_bits_[0] & 0x00000007) != 0x00000007) return false; - + return true; } @@ -8424,7 +8784,11 @@ GamePlayerLeftMessage::~GamePlayerLeftMessage() { } void GamePlayerLeftMessage::SharedDtor() { + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + if (this != &default_instance()) { + #else if (this != default_instance_) { + #endif } } @@ -8434,7 +8798,12 @@ void GamePlayerLeftMessage::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const GamePlayerLeftMessage& GamePlayerLeftMessage::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); return *default_instance_; +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + protobuf_AddDesc_pokerth_2eproto(); +#else + if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); +#endif + return *default_instance_; } GamePlayerLeftMessage* GamePlayerLeftMessage::default_instance_ = NULL; @@ -8472,7 +8841,7 @@ bool GamePlayerLeftMessage::MergePartialFromCodedStream( if (input->ExpectTag(16)) goto parse_playerId; break; } - + // required uint32 playerId = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -8488,7 +8857,7 @@ bool GamePlayerLeftMessage::MergePartialFromCodedStream( if (input->ExpectTag(24)) goto parse_gamePlayerLeftReason; break; } - + // required .GamePlayerLeftMessage.GamePlayerLeftReason gamePlayerLeftReason = 3; case 3: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -8507,7 +8876,7 @@ bool GamePlayerLeftMessage::MergePartialFromCodedStream( if (input->ExpectAtEnd()) return true; break; } - + default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -8529,23 +8898,23 @@ void GamePlayerLeftMessage::SerializeWithCachedSizes( if (has_gameid()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->gameid(), output); } - + // required uint32 playerId = 2; if (has_playerid()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->playerid(), output); } - + // required .GamePlayerLeftMessage.GamePlayerLeftReason gamePlayerLeftReason = 3; if (has_gameplayerleftreason()) { ::google::protobuf::internal::WireFormatLite::WriteEnum( 3, this->gameplayerleftreason(), output); } - + } int GamePlayerLeftMessage::ByteSize() const { int total_size = 0; - + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // required uint32 gameId = 1; if (has_gameid()) { @@ -8553,20 +8922,20 @@ int GamePlayerLeftMessage::ByteSize() const { ::google::protobuf::internal::WireFormatLite::UInt32Size( this->gameid()); } - + // required uint32 playerId = 2; if (has_playerid()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::UInt32Size( this->playerid()); } - + // required .GamePlayerLeftMessage.GamePlayerLeftReason gamePlayerLeftReason = 3; if (has_gameplayerleftreason()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::EnumSize(this->gameplayerleftreason()); } - + } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; @@ -8602,7 +8971,7 @@ void GamePlayerLeftMessage::CopyFrom(const GamePlayerLeftMessage& from) { bool GamePlayerLeftMessage::IsInitialized() const { if ((_has_bits_[0] & 0x00000007) != 0x00000007) return false; - + return true; } @@ -8654,7 +9023,11 @@ GameSpectatorJoinedMessage::~GameSpectatorJoinedMessage() { } void GameSpectatorJoinedMessage::SharedDtor() { + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + if (this != &default_instance()) { + #else if (this != default_instance_) { + #endif } } @@ -8664,7 +9037,12 @@ void GameSpectatorJoinedMessage::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const GameSpectatorJoinedMessage& GameSpectatorJoinedMessage::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); return *default_instance_; +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + protobuf_AddDesc_pokerth_2eproto(); +#else + if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); +#endif + return *default_instance_; } GameSpectatorJoinedMessage* GameSpectatorJoinedMessage::default_instance_ = NULL; @@ -8701,7 +9079,7 @@ bool GameSpectatorJoinedMessage::MergePartialFromCodedStream( if (input->ExpectTag(16)) goto parse_playerId; break; } - + // required uint32 playerId = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -8717,7 +9095,7 @@ bool GameSpectatorJoinedMessage::MergePartialFromCodedStream( if (input->ExpectAtEnd()) return true; break; } - + default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -8739,17 +9117,17 @@ void GameSpectatorJoinedMessage::SerializeWithCachedSizes( if (has_gameid()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->gameid(), output); } - + // required uint32 playerId = 2; if (has_playerid()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->playerid(), output); } - + } int GameSpectatorJoinedMessage::ByteSize() const { int total_size = 0; - + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // required uint32 gameId = 1; if (has_gameid()) { @@ -8757,14 +9135,14 @@ int GameSpectatorJoinedMessage::ByteSize() const { ::google::protobuf::internal::WireFormatLite::UInt32Size( this->gameid()); } - + // required uint32 playerId = 2; if (has_playerid()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::UInt32Size( this->playerid()); } - + } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; @@ -8797,7 +9175,7 @@ void GameSpectatorJoinedMessage::CopyFrom(const GameSpectatorJoinedMessage& from bool GameSpectatorJoinedMessage::IsInitialized() const { if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false; - + return true; } @@ -8850,7 +9228,11 @@ GameSpectatorLeftMessage::~GameSpectatorLeftMessage() { } void GameSpectatorLeftMessage::SharedDtor() { + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + if (this != &default_instance()) { + #else if (this != default_instance_) { + #endif } } @@ -8860,7 +9242,12 @@ void GameSpectatorLeftMessage::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const GameSpectatorLeftMessage& GameSpectatorLeftMessage::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); return *default_instance_; +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + protobuf_AddDesc_pokerth_2eproto(); +#else + if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); +#endif + return *default_instance_; } GameSpectatorLeftMessage* GameSpectatorLeftMessage::default_instance_ = NULL; @@ -8898,7 +9285,7 @@ bool GameSpectatorLeftMessage::MergePartialFromCodedStream( if (input->ExpectTag(16)) goto parse_playerId; break; } - + // required uint32 playerId = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -8914,7 +9301,7 @@ bool GameSpectatorLeftMessage::MergePartialFromCodedStream( if (input->ExpectTag(24)) goto parse_gameSpectatorLeftReason; break; } - + // required .GamePlayerLeftMessage.GamePlayerLeftReason gameSpectatorLeftReason = 3; case 3: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -8933,7 +9320,7 @@ bool GameSpectatorLeftMessage::MergePartialFromCodedStream( if (input->ExpectAtEnd()) return true; break; } - + default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -8955,23 +9342,23 @@ void GameSpectatorLeftMessage::SerializeWithCachedSizes( if (has_gameid()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->gameid(), output); } - + // required uint32 playerId = 2; if (has_playerid()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->playerid(), output); } - + // required .GamePlayerLeftMessage.GamePlayerLeftReason gameSpectatorLeftReason = 3; if (has_gamespectatorleftreason()) { ::google::protobuf::internal::WireFormatLite::WriteEnum( 3, this->gamespectatorleftreason(), output); } - + } int GameSpectatorLeftMessage::ByteSize() const { int total_size = 0; - + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // required uint32 gameId = 1; if (has_gameid()) { @@ -8979,20 +9366,20 @@ int GameSpectatorLeftMessage::ByteSize() const { ::google::protobuf::internal::WireFormatLite::UInt32Size( this->gameid()); } - + // required uint32 playerId = 2; if (has_playerid()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::UInt32Size( this->playerid()); } - + // required .GamePlayerLeftMessage.GamePlayerLeftReason gameSpectatorLeftReason = 3; if (has_gamespectatorleftreason()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::EnumSize(this->gamespectatorleftreason()); } - + } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; @@ -9028,7 +9415,7 @@ void GameSpectatorLeftMessage::CopyFrom(const GameSpectatorLeftMessage& from) { bool GameSpectatorLeftMessage::IsInitialized() const { if ((_has_bits_[0] & 0x00000007) != 0x00000007) return false; - + return true; } @@ -9080,7 +9467,11 @@ GameAdminChangedMessage::~GameAdminChangedMessage() { } void GameAdminChangedMessage::SharedDtor() { + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + if (this != &default_instance()) { + #else if (this != default_instance_) { + #endif } } @@ -9090,7 +9481,12 @@ void GameAdminChangedMessage::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const GameAdminChangedMessage& GameAdminChangedMessage::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); return *default_instance_; +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + protobuf_AddDesc_pokerth_2eproto(); +#else + if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); +#endif + return *default_instance_; } GameAdminChangedMessage* GameAdminChangedMessage::default_instance_ = NULL; @@ -9127,7 +9523,7 @@ bool GameAdminChangedMessage::MergePartialFromCodedStream( if (input->ExpectTag(16)) goto parse_newAdminPlayerId; break; } - + // required uint32 newAdminPlayerId = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -9143,7 +9539,7 @@ bool GameAdminChangedMessage::MergePartialFromCodedStream( if (input->ExpectAtEnd()) return true; break; } - + default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -9165,17 +9561,17 @@ void GameAdminChangedMessage::SerializeWithCachedSizes( if (has_gameid()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->gameid(), output); } - + // required uint32 newAdminPlayerId = 2; if (has_newadminplayerid()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->newadminplayerid(), output); } - + } int GameAdminChangedMessage::ByteSize() const { int total_size = 0; - + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // required uint32 gameId = 1; if (has_gameid()) { @@ -9183,14 +9579,14 @@ int GameAdminChangedMessage::ByteSize() const { ::google::protobuf::internal::WireFormatLite::UInt32Size( this->gameid()); } - + // required uint32 newAdminPlayerId = 2; if (has_newadminplayerid()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::UInt32Size( this->newadminplayerid()); } - + } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; @@ -9223,7 +9619,7 @@ void GameAdminChangedMessage::CopyFrom(const GameAdminChangedMessage& from) { bool GameAdminChangedMessage::IsInitialized() const { if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false; - + return true; } @@ -9299,7 +9695,11 @@ RemovedFromGameMessage::~RemovedFromGameMessage() { } void RemovedFromGameMessage::SharedDtor() { + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + if (this != &default_instance()) { + #else if (this != default_instance_) { + #endif } } @@ -9309,7 +9709,12 @@ void RemovedFromGameMessage::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const RemovedFromGameMessage& RemovedFromGameMessage::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); return *default_instance_; +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + protobuf_AddDesc_pokerth_2eproto(); +#else + if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); +#endif + return *default_instance_; } RemovedFromGameMessage* RemovedFromGameMessage::default_instance_ = NULL; @@ -9346,7 +9751,7 @@ bool RemovedFromGameMessage::MergePartialFromCodedStream( if (input->ExpectTag(16)) goto parse_removedFromGameReason; break; } - + // required .RemovedFromGameMessage.RemovedFromGameReason removedFromGameReason = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -9365,7 +9770,7 @@ bool RemovedFromGameMessage::MergePartialFromCodedStream( if (input->ExpectAtEnd()) return true; break; } - + default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -9387,18 +9792,18 @@ void RemovedFromGameMessage::SerializeWithCachedSizes( if (has_gameid()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->gameid(), output); } - + // required .RemovedFromGameMessage.RemovedFromGameReason removedFromGameReason = 2; if (has_removedfromgamereason()) { ::google::protobuf::internal::WireFormatLite::WriteEnum( 2, this->removedfromgamereason(), output); } - + } int RemovedFromGameMessage::ByteSize() const { int total_size = 0; - + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // required uint32 gameId = 1; if (has_gameid()) { @@ -9406,13 +9811,13 @@ int RemovedFromGameMessage::ByteSize() const { ::google::protobuf::internal::WireFormatLite::UInt32Size( this->gameid()); } - + // required .RemovedFromGameMessage.RemovedFromGameReason removedFromGameReason = 2; if (has_removedfromgamereason()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::EnumSize(this->removedfromgamereason()); } - + } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; @@ -9445,7 +9850,7 @@ void RemovedFromGameMessage::CopyFrom(const RemovedFromGameMessage& from) { bool RemovedFromGameMessage::IsInitialized() const { if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false; - + return true; } @@ -9496,7 +9901,11 @@ KickPlayerRequestMessage::~KickPlayerRequestMessage() { } void KickPlayerRequestMessage::SharedDtor() { + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + if (this != &default_instance()) { + #else if (this != default_instance_) { + #endif } } @@ -9506,7 +9915,12 @@ void KickPlayerRequestMessage::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const KickPlayerRequestMessage& KickPlayerRequestMessage::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); return *default_instance_; +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + protobuf_AddDesc_pokerth_2eproto(); +#else + if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); +#endif + return *default_instance_; } KickPlayerRequestMessage* KickPlayerRequestMessage::default_instance_ = NULL; @@ -9543,7 +9957,7 @@ bool KickPlayerRequestMessage::MergePartialFromCodedStream( if (input->ExpectTag(16)) goto parse_playerId; break; } - + // required uint32 playerId = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -9559,7 +9973,7 @@ bool KickPlayerRequestMessage::MergePartialFromCodedStream( if (input->ExpectAtEnd()) return true; break; } - + default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -9581,17 +9995,17 @@ void KickPlayerRequestMessage::SerializeWithCachedSizes( if (has_gameid()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->gameid(), output); } - + // required uint32 playerId = 2; if (has_playerid()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->playerid(), output); } - + } int KickPlayerRequestMessage::ByteSize() const { int total_size = 0; - + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // required uint32 gameId = 1; if (has_gameid()) { @@ -9599,14 +10013,14 @@ int KickPlayerRequestMessage::ByteSize() const { ::google::protobuf::internal::WireFormatLite::UInt32Size( this->gameid()); } - + // required uint32 playerId = 2; if (has_playerid()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::UInt32Size( this->playerid()); } - + } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; @@ -9639,7 +10053,7 @@ void KickPlayerRequestMessage::CopyFrom(const KickPlayerRequestMessage& from) { bool KickPlayerRequestMessage::IsInitialized() const { if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false; - + return true; } @@ -9688,7 +10102,11 @@ LeaveGameRequestMessage::~LeaveGameRequestMessage() { } void LeaveGameRequestMessage::SharedDtor() { + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + if (this != &default_instance()) { + #else if (this != default_instance_) { + #endif } } @@ -9698,7 +10116,12 @@ void LeaveGameRequestMessage::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const LeaveGameRequestMessage& LeaveGameRequestMessage::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); return *default_instance_; +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + protobuf_AddDesc_pokerth_2eproto(); +#else + if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); +#endif + return *default_instance_; } LeaveGameRequestMessage* LeaveGameRequestMessage::default_instance_ = NULL; @@ -9734,7 +10157,7 @@ bool LeaveGameRequestMessage::MergePartialFromCodedStream( if (input->ExpectAtEnd()) return true; break; } - + default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -9756,12 +10179,12 @@ void LeaveGameRequestMessage::SerializeWithCachedSizes( if (has_gameid()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->gameid(), output); } - + } int LeaveGameRequestMessage::ByteSize() const { int total_size = 0; - + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // required uint32 gameId = 1; if (has_gameid()) { @@ -9769,7 +10192,7 @@ int LeaveGameRequestMessage::ByteSize() const { ::google::protobuf::internal::WireFormatLite::UInt32Size( this->gameid()); } - + } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; @@ -9799,7 +10222,7 @@ void LeaveGameRequestMessage::CopyFrom(const LeaveGameRequestMessage& from) { bool LeaveGameRequestMessage::IsInitialized() const { if ((_has_bits_[0] & 0x00000001) != 0x00000001) return false; - + return true; } @@ -9849,7 +10272,11 @@ InvitePlayerToGameMessage::~InvitePlayerToGameMessage() { } void InvitePlayerToGameMessage::SharedDtor() { + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + if (this != &default_instance()) { + #else if (this != default_instance_) { + #endif } } @@ -9859,7 +10286,12 @@ void InvitePlayerToGameMessage::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const InvitePlayerToGameMessage& InvitePlayerToGameMessage::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); return *default_instance_; +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + protobuf_AddDesc_pokerth_2eproto(); +#else + if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); +#endif + return *default_instance_; } InvitePlayerToGameMessage* InvitePlayerToGameMessage::default_instance_ = NULL; @@ -9896,7 +10328,7 @@ bool InvitePlayerToGameMessage::MergePartialFromCodedStream( if (input->ExpectTag(16)) goto parse_playerId; break; } - + // required uint32 playerId = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -9912,7 +10344,7 @@ bool InvitePlayerToGameMessage::MergePartialFromCodedStream( if (input->ExpectAtEnd()) return true; break; } - + default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -9934,17 +10366,17 @@ void InvitePlayerToGameMessage::SerializeWithCachedSizes( if (has_gameid()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->gameid(), output); } - + // required uint32 playerId = 2; if (has_playerid()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->playerid(), output); } - + } int InvitePlayerToGameMessage::ByteSize() const { int total_size = 0; - + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // required uint32 gameId = 1; if (has_gameid()) { @@ -9952,14 +10384,14 @@ int InvitePlayerToGameMessage::ByteSize() const { ::google::protobuf::internal::WireFormatLite::UInt32Size( this->gameid()); } - + // required uint32 playerId = 2; if (has_playerid()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::UInt32Size( this->playerid()); } - + } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; @@ -9992,7 +10424,7 @@ void InvitePlayerToGameMessage::CopyFrom(const InvitePlayerToGameMessage& from) bool InvitePlayerToGameMessage::IsInitialized() const { if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false; - + return true; } @@ -10045,7 +10477,11 @@ InviteNotifyMessage::~InviteNotifyMessage() { } void InviteNotifyMessage::SharedDtor() { + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + if (this != &default_instance()) { + #else if (this != default_instance_) { + #endif } } @@ -10055,7 +10491,12 @@ void InviteNotifyMessage::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const InviteNotifyMessage& InviteNotifyMessage::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); return *default_instance_; +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + protobuf_AddDesc_pokerth_2eproto(); +#else + if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); +#endif + return *default_instance_; } InviteNotifyMessage* InviteNotifyMessage::default_instance_ = NULL; @@ -10093,7 +10534,7 @@ bool InviteNotifyMessage::MergePartialFromCodedStream( if (input->ExpectTag(16)) goto parse_playerIdWho; break; } - + // required uint32 playerIdWho = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -10109,7 +10550,7 @@ bool InviteNotifyMessage::MergePartialFromCodedStream( if (input->ExpectTag(24)) goto parse_playerIdByWhom; break; } - + // required uint32 playerIdByWhom = 3; case 3: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -10125,7 +10566,7 @@ bool InviteNotifyMessage::MergePartialFromCodedStream( if (input->ExpectAtEnd()) return true; break; } - + default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -10147,22 +10588,22 @@ void InviteNotifyMessage::SerializeWithCachedSizes( if (has_gameid()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->gameid(), output); } - + // required uint32 playerIdWho = 2; if (has_playeridwho()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->playeridwho(), output); } - + // required uint32 playerIdByWhom = 3; if (has_playeridbywhom()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(3, this->playeridbywhom(), output); } - + } int InviteNotifyMessage::ByteSize() const { int total_size = 0; - + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // required uint32 gameId = 1; if (has_gameid()) { @@ -10170,21 +10611,21 @@ int InviteNotifyMessage::ByteSize() const { ::google::protobuf::internal::WireFormatLite::UInt32Size( this->gameid()); } - + // required uint32 playerIdWho = 2; if (has_playeridwho()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::UInt32Size( this->playeridwho()); } - + // required uint32 playerIdByWhom = 3; if (has_playeridbywhom()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::UInt32Size( this->playeridbywhom()); } - + } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; @@ -10220,7 +10661,7 @@ void InviteNotifyMessage::CopyFrom(const InviteNotifyMessage& from) { bool InviteNotifyMessage::IsInitialized() const { if ((_has_bits_[0] & 0x00000007) != 0x00000007) return false; - + return true; } @@ -10289,7 +10730,11 @@ RejectGameInvitationMessage::~RejectGameInvitationMessage() { } void RejectGameInvitationMessage::SharedDtor() { + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + if (this != &default_instance()) { + #else if (this != default_instance_) { + #endif } } @@ -10299,7 +10744,12 @@ void RejectGameInvitationMessage::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const RejectGameInvitationMessage& RejectGameInvitationMessage::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); return *default_instance_; +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + protobuf_AddDesc_pokerth_2eproto(); +#else + if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); +#endif + return *default_instance_; } RejectGameInvitationMessage* RejectGameInvitationMessage::default_instance_ = NULL; @@ -10336,7 +10786,7 @@ bool RejectGameInvitationMessage::MergePartialFromCodedStream( if (input->ExpectTag(16)) goto parse_myRejectReason; break; } - + // required .RejectGameInvitationMessage.RejectGameInvReason myRejectReason = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -10355,7 +10805,7 @@ bool RejectGameInvitationMessage::MergePartialFromCodedStream( if (input->ExpectAtEnd()) return true; break; } - + default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -10377,18 +10827,18 @@ void RejectGameInvitationMessage::SerializeWithCachedSizes( if (has_gameid()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->gameid(), output); } - + // required .RejectGameInvitationMessage.RejectGameInvReason myRejectReason = 2; if (has_myrejectreason()) { ::google::protobuf::internal::WireFormatLite::WriteEnum( 2, this->myrejectreason(), output); } - + } int RejectGameInvitationMessage::ByteSize() const { int total_size = 0; - + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // required uint32 gameId = 1; if (has_gameid()) { @@ -10396,13 +10846,13 @@ int RejectGameInvitationMessage::ByteSize() const { ::google::protobuf::internal::WireFormatLite::UInt32Size( this->gameid()); } - + // required .RejectGameInvitationMessage.RejectGameInvReason myRejectReason = 2; if (has_myrejectreason()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::EnumSize(this->myrejectreason()); } - + } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; @@ -10435,7 +10885,7 @@ void RejectGameInvitationMessage::CopyFrom(const RejectGameInvitationMessage& fr bool RejectGameInvitationMessage::IsInitialized() const { if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false; - + return true; } @@ -10488,7 +10938,11 @@ RejectInvNotifyMessage::~RejectInvNotifyMessage() { } void RejectInvNotifyMessage::SharedDtor() { + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + if (this != &default_instance()) { + #else if (this != default_instance_) { + #endif } } @@ -10498,7 +10952,12 @@ void RejectInvNotifyMessage::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const RejectInvNotifyMessage& RejectInvNotifyMessage::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); return *default_instance_; +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + protobuf_AddDesc_pokerth_2eproto(); +#else + if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); +#endif + return *default_instance_; } RejectInvNotifyMessage* RejectInvNotifyMessage::default_instance_ = NULL; @@ -10536,7 +10995,7 @@ bool RejectInvNotifyMessage::MergePartialFromCodedStream( if (input->ExpectTag(16)) goto parse_playerId; break; } - + // required uint32 playerId = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -10552,7 +11011,7 @@ bool RejectInvNotifyMessage::MergePartialFromCodedStream( if (input->ExpectTag(24)) goto parse_playerRejectReason; break; } - + // required .RejectGameInvitationMessage.RejectGameInvReason playerRejectReason = 3; case 3: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -10571,7 +11030,7 @@ bool RejectInvNotifyMessage::MergePartialFromCodedStream( if (input->ExpectAtEnd()) return true; break; } - + default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -10593,23 +11052,23 @@ void RejectInvNotifyMessage::SerializeWithCachedSizes( if (has_gameid()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->gameid(), output); } - + // required uint32 playerId = 2; if (has_playerid()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->playerid(), output); } - + // required .RejectGameInvitationMessage.RejectGameInvReason playerRejectReason = 3; if (has_playerrejectreason()) { ::google::protobuf::internal::WireFormatLite::WriteEnum( 3, this->playerrejectreason(), output); } - + } int RejectInvNotifyMessage::ByteSize() const { int total_size = 0; - + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // required uint32 gameId = 1; if (has_gameid()) { @@ -10617,20 +11076,20 @@ int RejectInvNotifyMessage::ByteSize() const { ::google::protobuf::internal::WireFormatLite::UInt32Size( this->gameid()); } - + // required uint32 playerId = 2; if (has_playerid()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::UInt32Size( this->playerid()); } - + // required .RejectGameInvitationMessage.RejectGameInvReason playerRejectReason = 3; if (has_playerrejectreason()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::EnumSize(this->playerrejectreason()); } - + } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; @@ -10666,7 +11125,7 @@ void RejectInvNotifyMessage::CopyFrom(const RejectInvNotifyMessage& from) { bool RejectInvNotifyMessage::IsInitialized() const { if ((_has_bits_[0] & 0x00000007) != 0x00000007) return false; - + return true; } @@ -10737,7 +11196,11 @@ StartEventMessage::~StartEventMessage() { } void StartEventMessage::SharedDtor() { + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + if (this != &default_instance()) { + #else if (this != default_instance_) { + #endif } } @@ -10747,7 +11210,12 @@ void StartEventMessage::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const StartEventMessage& StartEventMessage::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); return *default_instance_; +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + protobuf_AddDesc_pokerth_2eproto(); +#else + if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); +#endif + return *default_instance_; } StartEventMessage* StartEventMessage::default_instance_ = NULL; @@ -10785,7 +11253,7 @@ bool StartEventMessage::MergePartialFromCodedStream( if (input->ExpectTag(16)) goto parse_startEventType; break; } - + // required .StartEventMessage.StartEventType startEventType = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -10804,7 +11272,7 @@ bool StartEventMessage::MergePartialFromCodedStream( if (input->ExpectTag(24)) goto parse_fillWithComputerPlayers; break; } - + // optional bool fillWithComputerPlayers = 3; case 3: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -10820,7 +11288,7 @@ bool StartEventMessage::MergePartialFromCodedStream( if (input->ExpectAtEnd()) return true; break; } - + default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -10842,23 +11310,23 @@ void StartEventMessage::SerializeWithCachedSizes( if (has_gameid()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->gameid(), output); } - + // required .StartEventMessage.StartEventType startEventType = 2; if (has_starteventtype()) { ::google::protobuf::internal::WireFormatLite::WriteEnum( 2, this->starteventtype(), output); } - + // optional bool fillWithComputerPlayers = 3; if (has_fillwithcomputerplayers()) { ::google::protobuf::internal::WireFormatLite::WriteBool(3, this->fillwithcomputerplayers(), output); } - + } int StartEventMessage::ByteSize() const { int total_size = 0; - + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // required uint32 gameId = 1; if (has_gameid()) { @@ -10866,18 +11334,18 @@ int StartEventMessage::ByteSize() const { ::google::protobuf::internal::WireFormatLite::UInt32Size( this->gameid()); } - + // required .StartEventMessage.StartEventType startEventType = 2; if (has_starteventtype()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::EnumSize(this->starteventtype()); } - + // optional bool fillWithComputerPlayers = 3; if (has_fillwithcomputerplayers()) { total_size += 1 + 1; } - + } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; @@ -10913,7 +11381,7 @@ void StartEventMessage::CopyFrom(const StartEventMessage& from) { bool StartEventMessage::IsInitialized() const { if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false; - + return true; } @@ -10963,7 +11431,11 @@ StartEventAckMessage::~StartEventAckMessage() { } void StartEventAckMessage::SharedDtor() { + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + if (this != &default_instance()) { + #else if (this != default_instance_) { + #endif } } @@ -10973,7 +11445,12 @@ void StartEventAckMessage::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const StartEventAckMessage& StartEventAckMessage::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); return *default_instance_; +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + protobuf_AddDesc_pokerth_2eproto(); +#else + if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); +#endif + return *default_instance_; } StartEventAckMessage* StartEventAckMessage::default_instance_ = NULL; @@ -11009,7 +11486,7 @@ bool StartEventAckMessage::MergePartialFromCodedStream( if (input->ExpectAtEnd()) return true; break; } - + default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -11031,12 +11508,12 @@ void StartEventAckMessage::SerializeWithCachedSizes( if (has_gameid()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->gameid(), output); } - + } int StartEventAckMessage::ByteSize() const { int total_size = 0; - + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // required uint32 gameId = 1; if (has_gameid()) { @@ -11044,7 +11521,7 @@ int StartEventAckMessage::ByteSize() const { ::google::protobuf::internal::WireFormatLite::UInt32Size( this->gameid()); } - + } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; @@ -11074,7 +11551,7 @@ void StartEventAckMessage::CopyFrom(const StartEventAckMessage& from) { bool StartEventAckMessage::IsInitialized() const { if ((_has_bits_[0] & 0x00000001) != 0x00000001) return false; - + return true; } @@ -11125,7 +11602,11 @@ GameStartInitialMessage::~GameStartInitialMessage() { } void GameStartInitialMessage::SharedDtor() { + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + if (this != &default_instance()) { + #else if (this != default_instance_) { + #endif } } @@ -11135,7 +11616,12 @@ void GameStartInitialMessage::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const GameStartInitialMessage& GameStartInitialMessage::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); return *default_instance_; +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + protobuf_AddDesc_pokerth_2eproto(); +#else + if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); +#endif + return *default_instance_; } GameStartInitialMessage* GameStartInitialMessage::default_instance_ = NULL; @@ -11173,7 +11659,7 @@ bool GameStartInitialMessage::MergePartialFromCodedStream( if (input->ExpectTag(16)) goto parse_startDealerPlayerId; break; } - + // required uint32 startDealerPlayerId = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -11189,7 +11675,7 @@ bool GameStartInitialMessage::MergePartialFromCodedStream( if (input->ExpectTag(26)) goto parse_playerSeats; break; } - + // repeated uint32 playerSeats = 3 [packed = true]; case 3: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -11210,7 +11696,7 @@ bool GameStartInitialMessage::MergePartialFromCodedStream( if (input->ExpectAtEnd()) return true; break; } - + default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -11232,12 +11718,12 @@ void GameStartInitialMessage::SerializeWithCachedSizes( if (has_gameid()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->gameid(), output); } - + // required uint32 startDealerPlayerId = 2; if (has_startdealerplayerid()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->startdealerplayerid(), output); } - + // repeated uint32 playerSeats = 3 [packed = true]; if (this->playerseats_size() > 0) { ::google::protobuf::internal::WireFormatLite::WriteTag(3, ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED, output); @@ -11247,12 +11733,12 @@ void GameStartInitialMessage::SerializeWithCachedSizes( ::google::protobuf::internal::WireFormatLite::WriteUInt32NoTag( this->playerseats(i), output); } - + } int GameStartInitialMessage::ByteSize() const { int total_size = 0; - + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // required uint32 gameId = 1; if (has_gameid()) { @@ -11260,14 +11746,14 @@ int GameStartInitialMessage::ByteSize() const { ::google::protobuf::internal::WireFormatLite::UInt32Size( this->gameid()); } - + // required uint32 startDealerPlayerId = 2; if (has_startdealerplayerid()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::UInt32Size( this->startdealerplayerid()); } - + } // repeated uint32 playerSeats = 3 [packed = true]; { @@ -11280,10 +11766,12 @@ int GameStartInitialMessage::ByteSize() const { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size(data_size); } + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _playerseats_cached_byte_size_ = data_size; + GOOGLE_SAFE_CONCURRENT_WRITES_END(); total_size += data_size; } - + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); @@ -11316,7 +11804,7 @@ void GameStartInitialMessage::CopyFrom(const GameStartInitialMessage& from) { bool GameStartInitialMessage::IsInitialized() const { if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false; - + return true; } @@ -11368,7 +11856,11 @@ GameStartRejoinMessage_RejoinPlayerData::~GameStartRejoinMessage_RejoinPlayerDat } void GameStartRejoinMessage_RejoinPlayerData::SharedDtor() { + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + if (this != &default_instance()) { + #else if (this != default_instance_) { + #endif } } @@ -11378,7 +11870,12 @@ void GameStartRejoinMessage_RejoinPlayerData::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const GameStartRejoinMessage_RejoinPlayerData& GameStartRejoinMessage_RejoinPlayerData::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); return *default_instance_; +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + protobuf_AddDesc_pokerth_2eproto(); +#else + if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); +#endif + return *default_instance_; } GameStartRejoinMessage_RejoinPlayerData* GameStartRejoinMessage_RejoinPlayerData::default_instance_ = NULL; @@ -11415,7 +11912,7 @@ bool GameStartRejoinMessage_RejoinPlayerData::MergePartialFromCodedStream( if (input->ExpectTag(16)) goto parse_playerMoney; break; } - + // required uint32 playerMoney = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -11431,7 +11928,7 @@ bool GameStartRejoinMessage_RejoinPlayerData::MergePartialFromCodedStream( if (input->ExpectAtEnd()) return true; break; } - + default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -11453,17 +11950,17 @@ void GameStartRejoinMessage_RejoinPlayerData::SerializeWithCachedSizes( if (has_playerid()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->playerid(), output); } - + // required uint32 playerMoney = 2; if (has_playermoney()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->playermoney(), output); } - + } int GameStartRejoinMessage_RejoinPlayerData::ByteSize() const { int total_size = 0; - + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // required uint32 playerId = 1; if (has_playerid()) { @@ -11471,14 +11968,14 @@ int GameStartRejoinMessage_RejoinPlayerData::ByteSize() const { ::google::protobuf::internal::WireFormatLite::UInt32Size( this->playerid()); } - + // required uint32 playerMoney = 2; if (has_playermoney()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::UInt32Size( this->playermoney()); } - + } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; @@ -11511,7 +12008,7 @@ void GameStartRejoinMessage_RejoinPlayerData::CopyFrom(const GameStartRejoinMess bool GameStartRejoinMessage_RejoinPlayerData::IsInitialized() const { if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false; - + return true; } @@ -11565,7 +12062,11 @@ GameStartRejoinMessage::~GameStartRejoinMessage() { } void GameStartRejoinMessage::SharedDtor() { + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + if (this != &default_instance()) { + #else if (this != default_instance_) { + #endif } } @@ -11575,7 +12076,12 @@ void GameStartRejoinMessage::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const GameStartRejoinMessage& GameStartRejoinMessage::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); return *default_instance_; +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + protobuf_AddDesc_pokerth_2eproto(); +#else + if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); +#endif + return *default_instance_; } GameStartRejoinMessage* GameStartRejoinMessage::default_instance_ = NULL; @@ -11614,7 +12120,7 @@ bool GameStartRejoinMessage::MergePartialFromCodedStream( if (input->ExpectTag(16)) goto parse_startDealerPlayerId; break; } - + // required uint32 startDealerPlayerId = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -11630,7 +12136,7 @@ bool GameStartRejoinMessage::MergePartialFromCodedStream( if (input->ExpectTag(24)) goto parse_handNum; break; } - + // required uint32 handNum = 3; case 3: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -11646,7 +12152,7 @@ bool GameStartRejoinMessage::MergePartialFromCodedStream( if (input->ExpectTag(34)) goto parse_rejoinPlayerData; break; } - + // repeated .GameStartRejoinMessage.RejoinPlayerData rejoinPlayerData = 4; case 4: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -11661,7 +12167,7 @@ bool GameStartRejoinMessage::MergePartialFromCodedStream( if (input->ExpectAtEnd()) return true; break; } - + default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -11683,28 +12189,28 @@ void GameStartRejoinMessage::SerializeWithCachedSizes( if (has_gameid()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->gameid(), output); } - + // required uint32 startDealerPlayerId = 2; if (has_startdealerplayerid()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->startdealerplayerid(), output); } - + // required uint32 handNum = 3; if (has_handnum()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(3, this->handnum(), output); } - + // repeated .GameStartRejoinMessage.RejoinPlayerData rejoinPlayerData = 4; for (int i = 0; i < this->rejoinplayerdata_size(); i++) { ::google::protobuf::internal::WireFormatLite::WriteMessage( 4, this->rejoinplayerdata(i), output); } - + } int GameStartRejoinMessage::ByteSize() const { int total_size = 0; - + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // required uint32 gameId = 1; if (has_gameid()) { @@ -11712,21 +12218,21 @@ int GameStartRejoinMessage::ByteSize() const { ::google::protobuf::internal::WireFormatLite::UInt32Size( this->gameid()); } - + // required uint32 startDealerPlayerId = 2; if (has_startdealerplayerid()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::UInt32Size( this->startdealerplayerid()); } - + // required uint32 handNum = 3; if (has_handnum()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::UInt32Size( this->handnum()); } - + } // repeated .GameStartRejoinMessage.RejoinPlayerData rejoinPlayerData = 4; total_size += 1 * this->rejoinplayerdata_size(); @@ -11735,7 +12241,7 @@ int GameStartRejoinMessage::ByteSize() const { ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( this->rejoinplayerdata(i)); } - + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); @@ -11771,7 +12277,7 @@ void GameStartRejoinMessage::CopyFrom(const GameStartRejoinMessage& from) { bool GameStartRejoinMessage::IsInitialized() const { if ((_has_bits_[0] & 0x00000007) != 0x00000007) return false; - + for (int i = 0; i < rejoinplayerdata_size(); i++) { if (!this->rejoinplayerdata(i).IsInitialized()) return false; } @@ -11827,7 +12333,11 @@ HandStartMessage_PlainCards::~HandStartMessage_PlainCards() { } void HandStartMessage_PlainCards::SharedDtor() { + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + if (this != &default_instance()) { + #else if (this != default_instance_) { + #endif } } @@ -11837,7 +12347,12 @@ void HandStartMessage_PlainCards::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const HandStartMessage_PlainCards& HandStartMessage_PlainCards::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); return *default_instance_; +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + protobuf_AddDesc_pokerth_2eproto(); +#else + if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); +#endif + return *default_instance_; } HandStartMessage_PlainCards* HandStartMessage_PlainCards::default_instance_ = NULL; @@ -11874,7 +12389,7 @@ bool HandStartMessage_PlainCards::MergePartialFromCodedStream( if (input->ExpectTag(16)) goto parse_plainCard2; break; } - + // required uint32 plainCard2 = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -11890,7 +12405,7 @@ bool HandStartMessage_PlainCards::MergePartialFromCodedStream( if (input->ExpectAtEnd()) return true; break; } - + default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -11912,17 +12427,17 @@ void HandStartMessage_PlainCards::SerializeWithCachedSizes( if (has_plaincard1()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->plaincard1(), output); } - + // required uint32 plainCard2 = 2; if (has_plaincard2()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->plaincard2(), output); } - + } int HandStartMessage_PlainCards::ByteSize() const { int total_size = 0; - + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // required uint32 plainCard1 = 1; if (has_plaincard1()) { @@ -11930,14 +12445,14 @@ int HandStartMessage_PlainCards::ByteSize() const { ::google::protobuf::internal::WireFormatLite::UInt32Size( this->plaincard1()); } - + // required uint32 plainCard2 = 2; if (has_plaincard2()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::UInt32Size( this->plaincard2()); } - + } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; @@ -11970,7 +12485,7 @@ void HandStartMessage_PlainCards::CopyFrom(const HandStartMessage_PlainCards& fr bool HandStartMessage_PlainCards::IsInitialized() const { if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false; - + return true; } @@ -12004,7 +12519,12 @@ HandStartMessage::HandStartMessage() } void HandStartMessage::InitAsDefaultInstance() { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + plaincards_ = const_cast< ::HandStartMessage_PlainCards*>( + ::HandStartMessage_PlainCards::internal_default_instance()); +#else plaincards_ = const_cast< ::HandStartMessage_PlainCards*>(&::HandStartMessage_PlainCards::default_instance()); +#endif } HandStartMessage::HandStartMessage(const HandStartMessage& from) @@ -12030,7 +12550,11 @@ void HandStartMessage::SharedDtor() { if (encryptedcards_ != &::google::protobuf::internal::kEmptyString) { delete encryptedcards_; } + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + if (this != &default_instance()) { + #else if (this != default_instance_) { + #endif delete plaincards_; } } @@ -12041,7 +12565,12 @@ void HandStartMessage::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const HandStartMessage& HandStartMessage::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); return *default_instance_; +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + protobuf_AddDesc_pokerth_2eproto(); +#else + if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); +#endif + return *default_instance_; } HandStartMessage* HandStartMessage::default_instance_ = NULL; @@ -12087,7 +12616,7 @@ bool HandStartMessage::MergePartialFromCodedStream( if (input->ExpectTag(18)) goto parse_plainCards; break; } - + // optional .HandStartMessage.PlainCards plainCards = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -12101,7 +12630,7 @@ bool HandStartMessage::MergePartialFromCodedStream( if (input->ExpectTag(26)) goto parse_encryptedCards; break; } - + // optional bytes encryptedCards = 3; case 3: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -12115,7 +12644,7 @@ bool HandStartMessage::MergePartialFromCodedStream( if (input->ExpectTag(32)) goto parse_smallBlind; break; } - + // required uint32 smallBlind = 4; case 4: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -12131,7 +12660,7 @@ bool HandStartMessage::MergePartialFromCodedStream( if (input->ExpectTag(40)) goto parse_seatStates; break; } - + // repeated .NetPlayerState seatStates = 5; case 5: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -12141,15 +12670,15 @@ bool HandStartMessage::MergePartialFromCodedStream( DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( input, &value))); - if (NetPlayerState_IsValid(value)) { - add_seatstates(static_cast< NetPlayerState >(value)); + if (::NetPlayerState_IsValid(value)) { + add_seatstates(static_cast< ::NetPlayerState >(value)); } } else if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite:: WIRETYPE_LENGTH_DELIMITED) { DO_((::google::protobuf::internal::WireFormatLite::ReadPackedEnumNoInline( input, - &NetPlayerState_IsValid, + &::NetPlayerState_IsValid, this->mutable_seatstates()))); } else { goto handle_uninterpreted; @@ -12158,7 +12687,7 @@ bool HandStartMessage::MergePartialFromCodedStream( if (input->ExpectAtEnd()) return true; break; } - + default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -12180,35 +12709,35 @@ void HandStartMessage::SerializeWithCachedSizes( if (has_gameid()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->gameid(), output); } - + // optional .HandStartMessage.PlainCards plainCards = 2; if (has_plaincards()) { ::google::protobuf::internal::WireFormatLite::WriteMessage( 2, this->plaincards(), output); } - + // optional bytes encryptedCards = 3; if (has_encryptedcards()) { ::google::protobuf::internal::WireFormatLite::WriteBytes( 3, this->encryptedcards(), output); } - + // required uint32 smallBlind = 4; if (has_smallblind()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(4, this->smallblind(), output); } - + // repeated .NetPlayerState seatStates = 5; for (int i = 0; i < this->seatstates_size(); i++) { ::google::protobuf::internal::WireFormatLite::WriteEnum( 5, this->seatstates(i), output); } - + } int HandStartMessage::ByteSize() const { int total_size = 0; - + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // required uint32 gameId = 1; if (has_gameid()) { @@ -12216,28 +12745,28 @@ int HandStartMessage::ByteSize() const { ::google::protobuf::internal::WireFormatLite::UInt32Size( this->gameid()); } - + // optional .HandStartMessage.PlainCards plainCards = 2; if (has_plaincards()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( this->plaincards()); } - + // optional bytes encryptedCards = 3; if (has_encryptedcards()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::BytesSize( this->encryptedcards()); } - + // required uint32 smallBlind = 4; if (has_smallblind()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::UInt32Size( this->smallblind()); } - + } // repeated .NetPlayerState seatStates = 5; { @@ -12248,7 +12777,7 @@ int HandStartMessage::ByteSize() const { } total_size += 1 * this->seatstates_size() + data_size; } - + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); @@ -12287,7 +12816,7 @@ void HandStartMessage::CopyFrom(const HandStartMessage& from) { bool HandStartMessage::IsInitialized() const { if ((_has_bits_[0] & 0x00000009) != 0x00000009) return false; - + if (has_plaincards()) { if (!this->plaincards().IsInitialized()) return false; } @@ -12346,7 +12875,11 @@ PlayersTurnMessage::~PlayersTurnMessage() { } void PlayersTurnMessage::SharedDtor() { + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + if (this != &default_instance()) { + #else if (this != default_instance_) { + #endif } } @@ -12356,7 +12889,12 @@ void PlayersTurnMessage::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const PlayersTurnMessage& PlayersTurnMessage::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); return *default_instance_; +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + protobuf_AddDesc_pokerth_2eproto(); +#else + if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); +#endif + return *default_instance_; } PlayersTurnMessage* PlayersTurnMessage::default_instance_ = NULL; @@ -12394,7 +12932,7 @@ bool PlayersTurnMessage::MergePartialFromCodedStream( if (input->ExpectTag(16)) goto parse_playerId; break; } - + // required uint32 playerId = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -12410,7 +12948,7 @@ bool PlayersTurnMessage::MergePartialFromCodedStream( if (input->ExpectTag(24)) goto parse_gameState; break; } - + // required .NetGameState gameState = 3; case 3: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -12420,8 +12958,8 @@ bool PlayersTurnMessage::MergePartialFromCodedStream( DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( input, &value))); - if (NetGameState_IsValid(value)) { - set_gamestate(static_cast< NetGameState >(value)); + if (::NetGameState_IsValid(value)) { + set_gamestate(static_cast< ::NetGameState >(value)); } } else { goto handle_uninterpreted; @@ -12429,7 +12967,7 @@ bool PlayersTurnMessage::MergePartialFromCodedStream( if (input->ExpectAtEnd()) return true; break; } - + default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -12451,23 +12989,23 @@ void PlayersTurnMessage::SerializeWithCachedSizes( if (has_gameid()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->gameid(), output); } - + // required uint32 playerId = 2; if (has_playerid()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->playerid(), output); } - + // required .NetGameState gameState = 3; if (has_gamestate()) { ::google::protobuf::internal::WireFormatLite::WriteEnum( 3, this->gamestate(), output); } - + } int PlayersTurnMessage::ByteSize() const { int total_size = 0; - + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // required uint32 gameId = 1; if (has_gameid()) { @@ -12475,20 +13013,20 @@ int PlayersTurnMessage::ByteSize() const { ::google::protobuf::internal::WireFormatLite::UInt32Size( this->gameid()); } - + // required uint32 playerId = 2; if (has_playerid()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::UInt32Size( this->playerid()); } - + // required .NetGameState gameState = 3; if (has_gamestate()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::EnumSize(this->gamestate()); } - + } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; @@ -12524,7 +13062,7 @@ void PlayersTurnMessage::CopyFrom(const PlayersTurnMessage& from) { bool PlayersTurnMessage::IsInitialized() const { if ((_has_bits_[0] & 0x00000007) != 0x00000007) return false; - + return true; } @@ -12582,7 +13120,11 @@ MyActionRequestMessage::~MyActionRequestMessage() { } void MyActionRequestMessage::SharedDtor() { + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + if (this != &default_instance()) { + #else if (this != default_instance_) { + #endif } } @@ -12592,7 +13134,12 @@ void MyActionRequestMessage::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const MyActionRequestMessage& MyActionRequestMessage::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); return *default_instance_; +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + protobuf_AddDesc_pokerth_2eproto(); +#else + if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); +#endif + return *default_instance_; } MyActionRequestMessage* MyActionRequestMessage::default_instance_ = NULL; @@ -12632,7 +13179,7 @@ bool MyActionRequestMessage::MergePartialFromCodedStream( if (input->ExpectTag(16)) goto parse_handNum; break; } - + // required uint32 handNum = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -12648,7 +13195,7 @@ bool MyActionRequestMessage::MergePartialFromCodedStream( if (input->ExpectTag(24)) goto parse_gameState; break; } - + // required .NetGameState gameState = 3; case 3: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -12658,8 +13205,8 @@ bool MyActionRequestMessage::MergePartialFromCodedStream( DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( input, &value))); - if (NetGameState_IsValid(value)) { - set_gamestate(static_cast< NetGameState >(value)); + if (::NetGameState_IsValid(value)) { + set_gamestate(static_cast< ::NetGameState >(value)); } } else { goto handle_uninterpreted; @@ -12667,7 +13214,7 @@ bool MyActionRequestMessage::MergePartialFromCodedStream( if (input->ExpectTag(32)) goto parse_myAction; break; } - + // required .NetPlayerAction myAction = 4; case 4: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -12677,8 +13224,8 @@ bool MyActionRequestMessage::MergePartialFromCodedStream( DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( input, &value))); - if (NetPlayerAction_IsValid(value)) { - set_myaction(static_cast< NetPlayerAction >(value)); + if (::NetPlayerAction_IsValid(value)) { + set_myaction(static_cast< ::NetPlayerAction >(value)); } } else { goto handle_uninterpreted; @@ -12686,7 +13233,7 @@ bool MyActionRequestMessage::MergePartialFromCodedStream( if (input->ExpectTag(40)) goto parse_myRelativeBet; break; } - + // required uint32 myRelativeBet = 5; case 5: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -12702,7 +13249,7 @@ bool MyActionRequestMessage::MergePartialFromCodedStream( if (input->ExpectAtEnd()) return true; break; } - + default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -12724,34 +13271,34 @@ void MyActionRequestMessage::SerializeWithCachedSizes( if (has_gameid()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->gameid(), output); } - + // required uint32 handNum = 2; if (has_handnum()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->handnum(), output); } - + // required .NetGameState gameState = 3; if (has_gamestate()) { ::google::protobuf::internal::WireFormatLite::WriteEnum( 3, this->gamestate(), output); } - + // required .NetPlayerAction myAction = 4; if (has_myaction()) { ::google::protobuf::internal::WireFormatLite::WriteEnum( 4, this->myaction(), output); } - + // required uint32 myRelativeBet = 5; if (has_myrelativebet()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(5, this->myrelativebet(), output); } - + } int MyActionRequestMessage::ByteSize() const { int total_size = 0; - + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // required uint32 gameId = 1; if (has_gameid()) { @@ -12759,33 +13306,33 @@ int MyActionRequestMessage::ByteSize() const { ::google::protobuf::internal::WireFormatLite::UInt32Size( this->gameid()); } - + // required uint32 handNum = 2; if (has_handnum()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::UInt32Size( this->handnum()); } - + // required .NetGameState gameState = 3; if (has_gamestate()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::EnumSize(this->gamestate()); } - + // required .NetPlayerAction myAction = 4; if (has_myaction()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::EnumSize(this->myaction()); } - + // required uint32 myRelativeBet = 5; if (has_myrelativebet()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::UInt32Size( this->myrelativebet()); } - + } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; @@ -12827,7 +13374,7 @@ void MyActionRequestMessage::CopyFrom(const MyActionRequestMessage& from) { bool MyActionRequestMessage::IsInitialized() const { if ((_has_bits_[0] & 0x0000001f) != 0x0000001f) return false; - + return true; } @@ -12906,7 +13453,11 @@ YourActionRejectedMessage::~YourActionRejectedMessage() { } void YourActionRejectedMessage::SharedDtor() { + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + if (this != &default_instance()) { + #else if (this != default_instance_) { + #endif } } @@ -12916,7 +13467,12 @@ void YourActionRejectedMessage::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const YourActionRejectedMessage& YourActionRejectedMessage::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); return *default_instance_; +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + protobuf_AddDesc_pokerth_2eproto(); +#else + if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); +#endif + return *default_instance_; } YourActionRejectedMessage* YourActionRejectedMessage::default_instance_ = NULL; @@ -12956,7 +13512,7 @@ bool YourActionRejectedMessage::MergePartialFromCodedStream( if (input->ExpectTag(16)) goto parse_gameState; break; } - + // required .NetGameState gameState = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -12966,8 +13522,8 @@ bool YourActionRejectedMessage::MergePartialFromCodedStream( DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( input, &value))); - if (NetGameState_IsValid(value)) { - set_gamestate(static_cast< NetGameState >(value)); + if (::NetGameState_IsValid(value)) { + set_gamestate(static_cast< ::NetGameState >(value)); } } else { goto handle_uninterpreted; @@ -12975,7 +13531,7 @@ bool YourActionRejectedMessage::MergePartialFromCodedStream( if (input->ExpectTag(24)) goto parse_yourAction; break; } - + // required .NetPlayerAction yourAction = 3; case 3: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -12985,8 +13541,8 @@ bool YourActionRejectedMessage::MergePartialFromCodedStream( DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( input, &value))); - if (NetPlayerAction_IsValid(value)) { - set_youraction(static_cast< NetPlayerAction >(value)); + if (::NetPlayerAction_IsValid(value)) { + set_youraction(static_cast< ::NetPlayerAction >(value)); } } else { goto handle_uninterpreted; @@ -12994,7 +13550,7 @@ bool YourActionRejectedMessage::MergePartialFromCodedStream( if (input->ExpectTag(32)) goto parse_yourRelativeBet; break; } - + // required uint32 yourRelativeBet = 4; case 4: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -13010,7 +13566,7 @@ bool YourActionRejectedMessage::MergePartialFromCodedStream( if (input->ExpectTag(40)) goto parse_rejectionReason; break; } - + // required .YourActionRejectedMessage.RejectionReason rejectionReason = 5; case 5: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -13029,7 +13585,7 @@ bool YourActionRejectedMessage::MergePartialFromCodedStream( if (input->ExpectAtEnd()) return true; break; } - + default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -13051,35 +13607,35 @@ void YourActionRejectedMessage::SerializeWithCachedSizes( if (has_gameid()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->gameid(), output); } - + // required .NetGameState gameState = 2; if (has_gamestate()) { ::google::protobuf::internal::WireFormatLite::WriteEnum( 2, this->gamestate(), output); } - + // required .NetPlayerAction yourAction = 3; if (has_youraction()) { ::google::protobuf::internal::WireFormatLite::WriteEnum( 3, this->youraction(), output); } - + // required uint32 yourRelativeBet = 4; if (has_yourrelativebet()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(4, this->yourrelativebet(), output); } - + // required .YourActionRejectedMessage.RejectionReason rejectionReason = 5; if (has_rejectionreason()) { ::google::protobuf::internal::WireFormatLite::WriteEnum( 5, this->rejectionreason(), output); } - + } int YourActionRejectedMessage::ByteSize() const { int total_size = 0; - + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // required uint32 gameId = 1; if (has_gameid()) { @@ -13087,32 +13643,32 @@ int YourActionRejectedMessage::ByteSize() const { ::google::protobuf::internal::WireFormatLite::UInt32Size( this->gameid()); } - + // required .NetGameState gameState = 2; if (has_gamestate()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::EnumSize(this->gamestate()); } - + // required .NetPlayerAction yourAction = 3; if (has_youraction()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::EnumSize(this->youraction()); } - + // required uint32 yourRelativeBet = 4; if (has_yourrelativebet()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::UInt32Size( this->yourrelativebet()); } - + // required .YourActionRejectedMessage.RejectionReason rejectionReason = 5; if (has_rejectionreason()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::EnumSize(this->rejectionreason()); } - + } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; @@ -13154,7 +13710,7 @@ void YourActionRejectedMessage::CopyFrom(const YourActionRejectedMessage& from) bool YourActionRejectedMessage::IsInitialized() const { if ((_has_bits_[0] & 0x0000001f) != 0x0000001f) return false; - + return true; } @@ -13220,7 +13776,11 @@ PlayersActionDoneMessage::~PlayersActionDoneMessage() { } void PlayersActionDoneMessage::SharedDtor() { + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + if (this != &default_instance()) { + #else if (this != default_instance_) { + #endif } } @@ -13230,7 +13790,12 @@ void PlayersActionDoneMessage::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const PlayersActionDoneMessage& PlayersActionDoneMessage::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); return *default_instance_; +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + protobuf_AddDesc_pokerth_2eproto(); +#else + if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); +#endif + return *default_instance_; } PlayersActionDoneMessage* PlayersActionDoneMessage::default_instance_ = NULL; @@ -13273,7 +13838,7 @@ bool PlayersActionDoneMessage::MergePartialFromCodedStream( if (input->ExpectTag(16)) goto parse_playerId; break; } - + // required uint32 playerId = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -13289,7 +13854,7 @@ bool PlayersActionDoneMessage::MergePartialFromCodedStream( if (input->ExpectTag(24)) goto parse_gameState; break; } - + // required .NetGameState gameState = 3; case 3: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -13299,8 +13864,8 @@ bool PlayersActionDoneMessage::MergePartialFromCodedStream( DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( input, &value))); - if (NetGameState_IsValid(value)) { - set_gamestate(static_cast< NetGameState >(value)); + if (::NetGameState_IsValid(value)) { + set_gamestate(static_cast< ::NetGameState >(value)); } } else { goto handle_uninterpreted; @@ -13308,7 +13873,7 @@ bool PlayersActionDoneMessage::MergePartialFromCodedStream( if (input->ExpectTag(32)) goto parse_playerAction; break; } - + // required .NetPlayerAction playerAction = 4; case 4: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -13318,8 +13883,8 @@ bool PlayersActionDoneMessage::MergePartialFromCodedStream( DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( input, &value))); - if (NetPlayerAction_IsValid(value)) { - set_playeraction(static_cast< NetPlayerAction >(value)); + if (::NetPlayerAction_IsValid(value)) { + set_playeraction(static_cast< ::NetPlayerAction >(value)); } } else { goto handle_uninterpreted; @@ -13327,7 +13892,7 @@ bool PlayersActionDoneMessage::MergePartialFromCodedStream( if (input->ExpectTag(40)) goto parse_totalPlayerBet; break; } - + // required uint32 totalPlayerBet = 5; case 5: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -13343,7 +13908,7 @@ bool PlayersActionDoneMessage::MergePartialFromCodedStream( if (input->ExpectTag(48)) goto parse_playerMoney; break; } - + // required uint32 playerMoney = 6; case 6: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -13359,7 +13924,7 @@ bool PlayersActionDoneMessage::MergePartialFromCodedStream( if (input->ExpectTag(56)) goto parse_highestSet; break; } - + // required uint32 highestSet = 7; case 7: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -13375,7 +13940,7 @@ bool PlayersActionDoneMessage::MergePartialFromCodedStream( if (input->ExpectTag(64)) goto parse_minimumRaise; break; } - + // required uint32 minimumRaise = 8; case 8: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -13391,7 +13956,7 @@ bool PlayersActionDoneMessage::MergePartialFromCodedStream( if (input->ExpectAtEnd()) return true; break; } - + default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -13413,49 +13978,49 @@ void PlayersActionDoneMessage::SerializeWithCachedSizes( if (has_gameid()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->gameid(), output); } - + // required uint32 playerId = 2; if (has_playerid()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->playerid(), output); } - + // required .NetGameState gameState = 3; if (has_gamestate()) { ::google::protobuf::internal::WireFormatLite::WriteEnum( 3, this->gamestate(), output); } - + // required .NetPlayerAction playerAction = 4; if (has_playeraction()) { ::google::protobuf::internal::WireFormatLite::WriteEnum( 4, this->playeraction(), output); } - + // required uint32 totalPlayerBet = 5; if (has_totalplayerbet()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(5, this->totalplayerbet(), output); } - + // required uint32 playerMoney = 6; if (has_playermoney()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(6, this->playermoney(), output); } - + // required uint32 highestSet = 7; if (has_highestset()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(7, this->highestset(), output); } - + // required uint32 minimumRaise = 8; if (has_minimumraise()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(8, this->minimumraise(), output); } - + } int PlayersActionDoneMessage::ByteSize() const { int total_size = 0; - + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // required uint32 gameId = 1; if (has_gameid()) { @@ -13463,54 +14028,54 @@ int PlayersActionDoneMessage::ByteSize() const { ::google::protobuf::internal::WireFormatLite::UInt32Size( this->gameid()); } - + // required uint32 playerId = 2; if (has_playerid()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::UInt32Size( this->playerid()); } - + // required .NetGameState gameState = 3; if (has_gamestate()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::EnumSize(this->gamestate()); } - + // required .NetPlayerAction playerAction = 4; if (has_playeraction()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::EnumSize(this->playeraction()); } - + // required uint32 totalPlayerBet = 5; if (has_totalplayerbet()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::UInt32Size( this->totalplayerbet()); } - + // required uint32 playerMoney = 6; if (has_playermoney()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::UInt32Size( this->playermoney()); } - + // required uint32 highestSet = 7; if (has_highestset()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::UInt32Size( this->highestset()); } - + // required uint32 minimumRaise = 8; if (has_minimumraise()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::UInt32Size( this->minimumraise()); } - + } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; @@ -13561,7 +14126,7 @@ void PlayersActionDoneMessage::CopyFrom(const PlayersActionDoneMessage& from) { bool PlayersActionDoneMessage::IsInitialized() const { if ((_has_bits_[0] & 0x000000ff) != 0x000000ff) return false; - + return true; } @@ -13622,7 +14187,11 @@ DealFlopCardsMessage::~DealFlopCardsMessage() { } void DealFlopCardsMessage::SharedDtor() { + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + if (this != &default_instance()) { + #else if (this != default_instance_) { + #endif } } @@ -13632,7 +14201,12 @@ void DealFlopCardsMessage::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const DealFlopCardsMessage& DealFlopCardsMessage::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); return *default_instance_; +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + protobuf_AddDesc_pokerth_2eproto(); +#else + if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); +#endif + return *default_instance_; } DealFlopCardsMessage* DealFlopCardsMessage::default_instance_ = NULL; @@ -13671,7 +14245,7 @@ bool DealFlopCardsMessage::MergePartialFromCodedStream( if (input->ExpectTag(16)) goto parse_flopCard1; break; } - + // required uint32 flopCard1 = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -13687,7 +14261,7 @@ bool DealFlopCardsMessage::MergePartialFromCodedStream( if (input->ExpectTag(24)) goto parse_flopCard2; break; } - + // required uint32 flopCard2 = 3; case 3: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -13703,7 +14277,7 @@ bool DealFlopCardsMessage::MergePartialFromCodedStream( if (input->ExpectTag(32)) goto parse_flopCard3; break; } - + // required uint32 flopCard3 = 4; case 4: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -13719,7 +14293,7 @@ bool DealFlopCardsMessage::MergePartialFromCodedStream( if (input->ExpectAtEnd()) return true; break; } - + default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -13741,27 +14315,27 @@ void DealFlopCardsMessage::SerializeWithCachedSizes( if (has_gameid()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->gameid(), output); } - + // required uint32 flopCard1 = 2; if (has_flopcard1()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->flopcard1(), output); } - + // required uint32 flopCard2 = 3; if (has_flopcard2()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(3, this->flopcard2(), output); } - + // required uint32 flopCard3 = 4; if (has_flopcard3()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(4, this->flopcard3(), output); } - + } int DealFlopCardsMessage::ByteSize() const { int total_size = 0; - + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // required uint32 gameId = 1; if (has_gameid()) { @@ -13769,28 +14343,28 @@ int DealFlopCardsMessage::ByteSize() const { ::google::protobuf::internal::WireFormatLite::UInt32Size( this->gameid()); } - + // required uint32 flopCard1 = 2; if (has_flopcard1()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::UInt32Size( this->flopcard1()); } - + // required uint32 flopCard2 = 3; if (has_flopcard2()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::UInt32Size( this->flopcard2()); } - + // required uint32 flopCard3 = 4; if (has_flopcard3()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::UInt32Size( this->flopcard3()); } - + } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; @@ -13829,7 +14403,7 @@ void DealFlopCardsMessage::CopyFrom(const DealFlopCardsMessage& from) { bool DealFlopCardsMessage::IsInitialized() const { if ((_has_bits_[0] & 0x0000000f) != 0x0000000f) return false; - + return true; } @@ -13882,7 +14456,11 @@ DealTurnCardMessage::~DealTurnCardMessage() { } void DealTurnCardMessage::SharedDtor() { + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + if (this != &default_instance()) { + #else if (this != default_instance_) { + #endif } } @@ -13892,7 +14470,12 @@ void DealTurnCardMessage::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const DealTurnCardMessage& DealTurnCardMessage::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); return *default_instance_; +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + protobuf_AddDesc_pokerth_2eproto(); +#else + if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); +#endif + return *default_instance_; } DealTurnCardMessage* DealTurnCardMessage::default_instance_ = NULL; @@ -13929,7 +14512,7 @@ bool DealTurnCardMessage::MergePartialFromCodedStream( if (input->ExpectTag(16)) goto parse_turnCard; break; } - + // required uint32 turnCard = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -13945,7 +14528,7 @@ bool DealTurnCardMessage::MergePartialFromCodedStream( if (input->ExpectAtEnd()) return true; break; } - + default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -13967,17 +14550,17 @@ void DealTurnCardMessage::SerializeWithCachedSizes( if (has_gameid()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->gameid(), output); } - + // required uint32 turnCard = 2; if (has_turncard()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->turncard(), output); } - + } int DealTurnCardMessage::ByteSize() const { int total_size = 0; - + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // required uint32 gameId = 1; if (has_gameid()) { @@ -13985,14 +14568,14 @@ int DealTurnCardMessage::ByteSize() const { ::google::protobuf::internal::WireFormatLite::UInt32Size( this->gameid()); } - + // required uint32 turnCard = 2; if (has_turncard()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::UInt32Size( this->turncard()); } - + } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; @@ -14025,7 +14608,7 @@ void DealTurnCardMessage::CopyFrom(const DealTurnCardMessage& from) { bool DealTurnCardMessage::IsInitialized() const { if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false; - + return true; } @@ -14076,7 +14659,11 @@ DealRiverCardMessage::~DealRiverCardMessage() { } void DealRiverCardMessage::SharedDtor() { + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + if (this != &default_instance()) { + #else if (this != default_instance_) { + #endif } } @@ -14086,7 +14673,12 @@ void DealRiverCardMessage::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const DealRiverCardMessage& DealRiverCardMessage::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); return *default_instance_; +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + protobuf_AddDesc_pokerth_2eproto(); +#else + if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); +#endif + return *default_instance_; } DealRiverCardMessage* DealRiverCardMessage::default_instance_ = NULL; @@ -14123,7 +14715,7 @@ bool DealRiverCardMessage::MergePartialFromCodedStream( if (input->ExpectTag(16)) goto parse_riverCard; break; } - + // required uint32 riverCard = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -14139,7 +14731,7 @@ bool DealRiverCardMessage::MergePartialFromCodedStream( if (input->ExpectAtEnd()) return true; break; } - + default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -14161,17 +14753,17 @@ void DealRiverCardMessage::SerializeWithCachedSizes( if (has_gameid()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->gameid(), output); } - + // required uint32 riverCard = 2; if (has_rivercard()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->rivercard(), output); } - + } int DealRiverCardMessage::ByteSize() const { int total_size = 0; - + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // required uint32 gameId = 1; if (has_gameid()) { @@ -14179,14 +14771,14 @@ int DealRiverCardMessage::ByteSize() const { ::google::protobuf::internal::WireFormatLite::UInt32Size( this->gameid()); } - + // required uint32 riverCard = 2; if (has_rivercard()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::UInt32Size( this->rivercard()); } - + } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; @@ -14219,7 +14811,7 @@ void DealRiverCardMessage::CopyFrom(const DealRiverCardMessage& from) { bool DealRiverCardMessage::IsInitialized() const { if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false; - + return true; } @@ -14272,7 +14864,11 @@ AllInShowCardsMessage_PlayerAllIn::~AllInShowCardsMessage_PlayerAllIn() { } void AllInShowCardsMessage_PlayerAllIn::SharedDtor() { + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + if (this != &default_instance()) { + #else if (this != default_instance_) { + #endif } } @@ -14282,7 +14878,12 @@ void AllInShowCardsMessage_PlayerAllIn::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const AllInShowCardsMessage_PlayerAllIn& AllInShowCardsMessage_PlayerAllIn::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); return *default_instance_; +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + protobuf_AddDesc_pokerth_2eproto(); +#else + if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); +#endif + return *default_instance_; } AllInShowCardsMessage_PlayerAllIn* AllInShowCardsMessage_PlayerAllIn::default_instance_ = NULL; @@ -14320,7 +14921,7 @@ bool AllInShowCardsMessage_PlayerAllIn::MergePartialFromCodedStream( if (input->ExpectTag(16)) goto parse_allInCard1; break; } - + // required uint32 allInCard1 = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -14336,7 +14937,7 @@ bool AllInShowCardsMessage_PlayerAllIn::MergePartialFromCodedStream( if (input->ExpectTag(24)) goto parse_allInCard2; break; } - + // required uint32 allInCard2 = 3; case 3: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -14352,7 +14953,7 @@ bool AllInShowCardsMessage_PlayerAllIn::MergePartialFromCodedStream( if (input->ExpectAtEnd()) return true; break; } - + default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -14374,22 +14975,22 @@ void AllInShowCardsMessage_PlayerAllIn::SerializeWithCachedSizes( if (has_playerid()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->playerid(), output); } - + // required uint32 allInCard1 = 2; if (has_allincard1()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->allincard1(), output); } - + // required uint32 allInCard2 = 3; if (has_allincard2()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(3, this->allincard2(), output); } - + } int AllInShowCardsMessage_PlayerAllIn::ByteSize() const { int total_size = 0; - + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // required uint32 playerId = 1; if (has_playerid()) { @@ -14397,21 +14998,21 @@ int AllInShowCardsMessage_PlayerAllIn::ByteSize() const { ::google::protobuf::internal::WireFormatLite::UInt32Size( this->playerid()); } - + // required uint32 allInCard1 = 2; if (has_allincard1()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::UInt32Size( this->allincard1()); } - + // required uint32 allInCard2 = 3; if (has_allincard2()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::UInt32Size( this->allincard2()); } - + } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; @@ -14447,7 +15048,7 @@ void AllInShowCardsMessage_PlayerAllIn::CopyFrom(const AllInShowCardsMessage_Pla bool AllInShowCardsMessage_PlayerAllIn::IsInitialized() const { if ((_has_bits_[0] & 0x00000007) != 0x00000007) return false; - + return true; } @@ -14498,7 +15099,11 @@ AllInShowCardsMessage::~AllInShowCardsMessage() { } void AllInShowCardsMessage::SharedDtor() { + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + if (this != &default_instance()) { + #else if (this != default_instance_) { + #endif } } @@ -14508,7 +15113,12 @@ void AllInShowCardsMessage::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const AllInShowCardsMessage& AllInShowCardsMessage::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); return *default_instance_; +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + protobuf_AddDesc_pokerth_2eproto(); +#else + if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); +#endif + return *default_instance_; } AllInShowCardsMessage* AllInShowCardsMessage::default_instance_ = NULL; @@ -14545,7 +15155,7 @@ bool AllInShowCardsMessage::MergePartialFromCodedStream( if (input->ExpectTag(18)) goto parse_playersAllIn; break; } - + // repeated .AllInShowCardsMessage.PlayerAllIn playersAllIn = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -14560,7 +15170,7 @@ bool AllInShowCardsMessage::MergePartialFromCodedStream( if (input->ExpectAtEnd()) return true; break; } - + default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -14582,18 +15192,18 @@ void AllInShowCardsMessage::SerializeWithCachedSizes( if (has_gameid()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->gameid(), output); } - + // repeated .AllInShowCardsMessage.PlayerAllIn playersAllIn = 2; for (int i = 0; i < this->playersallin_size(); i++) { ::google::protobuf::internal::WireFormatLite::WriteMessage( 2, this->playersallin(i), output); } - + } int AllInShowCardsMessage::ByteSize() const { int total_size = 0; - + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // required uint32 gameId = 1; if (has_gameid()) { @@ -14601,7 +15211,7 @@ int AllInShowCardsMessage::ByteSize() const { ::google::protobuf::internal::WireFormatLite::UInt32Size( this->gameid()); } - + } // repeated .AllInShowCardsMessage.PlayerAllIn playersAllIn = 2; total_size += 1 * this->playersallin_size(); @@ -14610,7 +15220,7 @@ int AllInShowCardsMessage::ByteSize() const { ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( this->playersallin(i)); } - + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); @@ -14640,7 +15250,7 @@ void AllInShowCardsMessage::CopyFrom(const AllInShowCardsMessage& from) { bool AllInShowCardsMessage::IsInitialized() const { if ((_has_bits_[0] & 0x00000001) != 0x00000001) return false; - + for (int i = 0; i < playersallin_size(); i++) { if (!this->playersallin(i).IsInitialized()) return false; } @@ -14693,7 +15303,11 @@ EndOfHandShowCardsMessage::~EndOfHandShowCardsMessage() { } void EndOfHandShowCardsMessage::SharedDtor() { + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + if (this != &default_instance()) { + #else if (this != default_instance_) { + #endif } } @@ -14703,7 +15317,12 @@ void EndOfHandShowCardsMessage::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const EndOfHandShowCardsMessage& EndOfHandShowCardsMessage::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); return *default_instance_; +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + protobuf_AddDesc_pokerth_2eproto(); +#else + if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); +#endif + return *default_instance_; } EndOfHandShowCardsMessage* EndOfHandShowCardsMessage::default_instance_ = NULL; @@ -14740,7 +15359,7 @@ bool EndOfHandShowCardsMessage::MergePartialFromCodedStream( if (input->ExpectTag(18)) goto parse_playerResults; break; } - + // repeated .PlayerResult playerResults = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -14755,7 +15374,7 @@ bool EndOfHandShowCardsMessage::MergePartialFromCodedStream( if (input->ExpectAtEnd()) return true; break; } - + default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -14777,18 +15396,18 @@ void EndOfHandShowCardsMessage::SerializeWithCachedSizes( if (has_gameid()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->gameid(), output); } - + // repeated .PlayerResult playerResults = 2; for (int i = 0; i < this->playerresults_size(); i++) { ::google::protobuf::internal::WireFormatLite::WriteMessage( 2, this->playerresults(i), output); } - + } int EndOfHandShowCardsMessage::ByteSize() const { int total_size = 0; - + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // required uint32 gameId = 1; if (has_gameid()) { @@ -14796,7 +15415,7 @@ int EndOfHandShowCardsMessage::ByteSize() const { ::google::protobuf::internal::WireFormatLite::UInt32Size( this->gameid()); } - + } // repeated .PlayerResult playerResults = 2; total_size += 1 * this->playerresults_size(); @@ -14805,7 +15424,7 @@ int EndOfHandShowCardsMessage::ByteSize() const { ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( this->playerresults(i)); } - + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); @@ -14835,7 +15454,7 @@ void EndOfHandShowCardsMessage::CopyFrom(const EndOfHandShowCardsMessage& from) bool EndOfHandShowCardsMessage::IsInitialized() const { if ((_has_bits_[0] & 0x00000001) != 0x00000001) return false; - + for (int i = 0; i < playerresults_size(); i++) { if (!this->playerresults(i).IsInitialized()) return false; } @@ -14893,7 +15512,11 @@ EndOfHandHideCardsMessage::~EndOfHandHideCardsMessage() { } void EndOfHandHideCardsMessage::SharedDtor() { + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + if (this != &default_instance()) { + #else if (this != default_instance_) { + #endif } } @@ -14903,7 +15526,12 @@ void EndOfHandHideCardsMessage::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const EndOfHandHideCardsMessage& EndOfHandHideCardsMessage::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); return *default_instance_; +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + protobuf_AddDesc_pokerth_2eproto(); +#else + if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); +#endif + return *default_instance_; } EndOfHandHideCardsMessage* EndOfHandHideCardsMessage::default_instance_ = NULL; @@ -14942,7 +15570,7 @@ bool EndOfHandHideCardsMessage::MergePartialFromCodedStream( if (input->ExpectTag(16)) goto parse_playerId; break; } - + // required uint32 playerId = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -14958,7 +15586,7 @@ bool EndOfHandHideCardsMessage::MergePartialFromCodedStream( if (input->ExpectTag(24)) goto parse_moneyWon; break; } - + // required uint32 moneyWon = 3; case 3: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -14974,7 +15602,7 @@ bool EndOfHandHideCardsMessage::MergePartialFromCodedStream( if (input->ExpectTag(32)) goto parse_playerMoney; break; } - + // required uint32 playerMoney = 4; case 4: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -14990,7 +15618,7 @@ bool EndOfHandHideCardsMessage::MergePartialFromCodedStream( if (input->ExpectAtEnd()) return true; break; } - + default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -15012,27 +15640,27 @@ void EndOfHandHideCardsMessage::SerializeWithCachedSizes( if (has_gameid()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->gameid(), output); } - + // required uint32 playerId = 2; if (has_playerid()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->playerid(), output); } - + // required uint32 moneyWon = 3; if (has_moneywon()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(3, this->moneywon(), output); } - + // required uint32 playerMoney = 4; if (has_playermoney()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(4, this->playermoney(), output); } - + } int EndOfHandHideCardsMessage::ByteSize() const { int total_size = 0; - + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // required uint32 gameId = 1; if (has_gameid()) { @@ -15040,28 +15668,28 @@ int EndOfHandHideCardsMessage::ByteSize() const { ::google::protobuf::internal::WireFormatLite::UInt32Size( this->gameid()); } - + // required uint32 playerId = 2; if (has_playerid()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::UInt32Size( this->playerid()); } - + // required uint32 moneyWon = 3; if (has_moneywon()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::UInt32Size( this->moneywon()); } - + // required uint32 playerMoney = 4; if (has_playermoney()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::UInt32Size( this->playermoney()); } - + } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; @@ -15100,7 +15728,7 @@ void EndOfHandHideCardsMessage::CopyFrom(const EndOfHandHideCardsMessage& from) bool EndOfHandHideCardsMessage::IsInitialized() const { if ((_has_bits_[0] & 0x0000000f) != 0x0000000f) return false; - + return true; } @@ -15149,7 +15777,11 @@ ShowMyCardsRequestMessage::~ShowMyCardsRequestMessage() { } void ShowMyCardsRequestMessage::SharedDtor() { + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + if (this != &default_instance()) { + #else if (this != default_instance_) { + #endif } } @@ -15159,7 +15791,12 @@ void ShowMyCardsRequestMessage::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ShowMyCardsRequestMessage& ShowMyCardsRequestMessage::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); return *default_instance_; +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + protobuf_AddDesc_pokerth_2eproto(); +#else + if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); +#endif + return *default_instance_; } ShowMyCardsRequestMessage* ShowMyCardsRequestMessage::default_instance_ = NULL; @@ -15193,7 +15830,7 @@ void ShowMyCardsRequestMessage::SerializeWithCachedSizes( int ShowMyCardsRequestMessage::ByteSize() const { int total_size = 0; - + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); @@ -15216,7 +15853,7 @@ void ShowMyCardsRequestMessage::CopyFrom(const ShowMyCardsRequestMessage& from) } bool ShowMyCardsRequestMessage::IsInitialized() const { - + return true; } @@ -15243,7 +15880,12 @@ AfterHandShowCardsMessage::AfterHandShowCardsMessage() } void AfterHandShowCardsMessage::InitAsDefaultInstance() { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + playerresult_ = const_cast< ::PlayerResult*>( + ::PlayerResult::internal_default_instance()); +#else playerresult_ = const_cast< ::PlayerResult*>(&::PlayerResult::default_instance()); +#endif } AfterHandShowCardsMessage::AfterHandShowCardsMessage(const AfterHandShowCardsMessage& from) @@ -15263,7 +15905,11 @@ AfterHandShowCardsMessage::~AfterHandShowCardsMessage() { } void AfterHandShowCardsMessage::SharedDtor() { + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + if (this != &default_instance()) { + #else if (this != default_instance_) { + #endif delete playerresult_; } } @@ -15274,7 +15920,12 @@ void AfterHandShowCardsMessage::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const AfterHandShowCardsMessage& AfterHandShowCardsMessage::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); return *default_instance_; +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + protobuf_AddDesc_pokerth_2eproto(); +#else + if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); +#endif + return *default_instance_; } AfterHandShowCardsMessage* AfterHandShowCardsMessage::default_instance_ = NULL; @@ -15310,7 +15961,7 @@ bool AfterHandShowCardsMessage::MergePartialFromCodedStream( if (input->ExpectAtEnd()) return true; break; } - + default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -15333,12 +15984,12 @@ void AfterHandShowCardsMessage::SerializeWithCachedSizes( ::google::protobuf::internal::WireFormatLite::WriteMessage( 1, this->playerresult(), output); } - + } int AfterHandShowCardsMessage::ByteSize() const { int total_size = 0; - + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // required .PlayerResult playerResult = 1; if (has_playerresult()) { @@ -15346,7 +15997,7 @@ int AfterHandShowCardsMessage::ByteSize() const { ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( this->playerresult()); } - + } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; @@ -15376,7 +16027,7 @@ void AfterHandShowCardsMessage::CopyFrom(const AfterHandShowCardsMessage& from) bool AfterHandShowCardsMessage::IsInitialized() const { if ((_has_bits_[0] & 0x00000001) != 0x00000001) return false; - + if (has_playerresult()) { if (!this->playerresult().IsInitialized()) return false; } @@ -15429,7 +16080,11 @@ EndOfGameMessage::~EndOfGameMessage() { } void EndOfGameMessage::SharedDtor() { + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + if (this != &default_instance()) { + #else if (this != default_instance_) { + #endif } } @@ -15439,7 +16094,12 @@ void EndOfGameMessage::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const EndOfGameMessage& EndOfGameMessage::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); return *default_instance_; +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + protobuf_AddDesc_pokerth_2eproto(); +#else + if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); +#endif + return *default_instance_; } EndOfGameMessage* EndOfGameMessage::default_instance_ = NULL; @@ -15476,7 +16136,7 @@ bool EndOfGameMessage::MergePartialFromCodedStream( if (input->ExpectTag(16)) goto parse_winnerPlayerId; break; } - + // required uint32 winnerPlayerId = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -15492,7 +16152,7 @@ bool EndOfGameMessage::MergePartialFromCodedStream( if (input->ExpectAtEnd()) return true; break; } - + default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -15514,17 +16174,17 @@ void EndOfGameMessage::SerializeWithCachedSizes( if (has_gameid()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->gameid(), output); } - + // required uint32 winnerPlayerId = 2; if (has_winnerplayerid()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->winnerplayerid(), output); } - + } int EndOfGameMessage::ByteSize() const { int total_size = 0; - + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // required uint32 gameId = 1; if (has_gameid()) { @@ -15532,14 +16192,14 @@ int EndOfGameMessage::ByteSize() const { ::google::protobuf::internal::WireFormatLite::UInt32Size( this->gameid()); } - + // required uint32 winnerPlayerId = 2; if (has_winnerplayerid()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::UInt32Size( this->winnerplayerid()); } - + } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; @@ -15572,7 +16232,7 @@ void EndOfGameMessage::CopyFrom(const EndOfGameMessage& from) { bool EndOfGameMessage::IsInitialized() const { if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false; - + return true; } @@ -15623,7 +16283,11 @@ PlayerIdChangedMessage::~PlayerIdChangedMessage() { } void PlayerIdChangedMessage::SharedDtor() { + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + if (this != &default_instance()) { + #else if (this != default_instance_) { + #endif } } @@ -15633,7 +16297,12 @@ void PlayerIdChangedMessage::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const PlayerIdChangedMessage& PlayerIdChangedMessage::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); return *default_instance_; +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + protobuf_AddDesc_pokerth_2eproto(); +#else + if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); +#endif + return *default_instance_; } PlayerIdChangedMessage* PlayerIdChangedMessage::default_instance_ = NULL; @@ -15670,7 +16339,7 @@ bool PlayerIdChangedMessage::MergePartialFromCodedStream( if (input->ExpectTag(16)) goto parse_newPlayerId; break; } - + // required uint32 newPlayerId = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -15686,7 +16355,7 @@ bool PlayerIdChangedMessage::MergePartialFromCodedStream( if (input->ExpectAtEnd()) return true; break; } - + default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -15708,17 +16377,17 @@ void PlayerIdChangedMessage::SerializeWithCachedSizes( if (has_oldplayerid()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->oldplayerid(), output); } - + // required uint32 newPlayerId = 2; if (has_newplayerid()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->newplayerid(), output); } - + } int PlayerIdChangedMessage::ByteSize() const { int total_size = 0; - + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // required uint32 oldPlayerId = 1; if (has_oldplayerid()) { @@ -15726,14 +16395,14 @@ int PlayerIdChangedMessage::ByteSize() const { ::google::protobuf::internal::WireFormatLite::UInt32Size( this->oldplayerid()); } - + // required uint32 newPlayerId = 2; if (has_newplayerid()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::UInt32Size( this->newplayerid()); } - + } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; @@ -15766,7 +16435,7 @@ void PlayerIdChangedMessage::CopyFrom(const PlayerIdChangedMessage& from) { bool PlayerIdChangedMessage::IsInitialized() const { if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false; - + return true; } @@ -15817,7 +16486,11 @@ AskKickPlayerMessage::~AskKickPlayerMessage() { } void AskKickPlayerMessage::SharedDtor() { + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + if (this != &default_instance()) { + #else if (this != default_instance_) { + #endif } } @@ -15827,7 +16500,12 @@ void AskKickPlayerMessage::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const AskKickPlayerMessage& AskKickPlayerMessage::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); return *default_instance_; +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + protobuf_AddDesc_pokerth_2eproto(); +#else + if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); +#endif + return *default_instance_; } AskKickPlayerMessage* AskKickPlayerMessage::default_instance_ = NULL; @@ -15864,7 +16542,7 @@ bool AskKickPlayerMessage::MergePartialFromCodedStream( if (input->ExpectTag(16)) goto parse_playerId; break; } - + // required uint32 playerId = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -15880,7 +16558,7 @@ bool AskKickPlayerMessage::MergePartialFromCodedStream( if (input->ExpectAtEnd()) return true; break; } - + default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -15902,17 +16580,17 @@ void AskKickPlayerMessage::SerializeWithCachedSizes( if (has_gameid()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->gameid(), output); } - + // required uint32 playerId = 2; if (has_playerid()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->playerid(), output); } - + } int AskKickPlayerMessage::ByteSize() const { int total_size = 0; - + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // required uint32 gameId = 1; if (has_gameid()) { @@ -15920,14 +16598,14 @@ int AskKickPlayerMessage::ByteSize() const { ::google::protobuf::internal::WireFormatLite::UInt32Size( this->gameid()); } - + // required uint32 playerId = 2; if (has_playerid()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::UInt32Size( this->playerid()); } - + } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; @@ -15960,7 +16638,7 @@ void AskKickPlayerMessage::CopyFrom(const AskKickPlayerMessage& from) { bool AskKickPlayerMessage::IsInitialized() const { if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false; - + return true; } @@ -16036,7 +16714,11 @@ AskKickDeniedMessage::~AskKickDeniedMessage() { } void AskKickDeniedMessage::SharedDtor() { + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + if (this != &default_instance()) { + #else if (this != default_instance_) { + #endif } } @@ -16046,7 +16728,12 @@ void AskKickDeniedMessage::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const AskKickDeniedMessage& AskKickDeniedMessage::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); return *default_instance_; +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + protobuf_AddDesc_pokerth_2eproto(); +#else + if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); +#endif + return *default_instance_; } AskKickDeniedMessage* AskKickDeniedMessage::default_instance_ = NULL; @@ -16084,7 +16771,7 @@ bool AskKickDeniedMessage::MergePartialFromCodedStream( if (input->ExpectTag(16)) goto parse_playerId; break; } - + // required uint32 playerId = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -16100,7 +16787,7 @@ bool AskKickDeniedMessage::MergePartialFromCodedStream( if (input->ExpectTag(24)) goto parse_kickDeniedReason; break; } - + // required .AskKickDeniedMessage.KickDeniedReason kickDeniedReason = 3; case 3: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -16119,7 +16806,7 @@ bool AskKickDeniedMessage::MergePartialFromCodedStream( if (input->ExpectAtEnd()) return true; break; } - + default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -16141,23 +16828,23 @@ void AskKickDeniedMessage::SerializeWithCachedSizes( if (has_gameid()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->gameid(), output); } - + // required uint32 playerId = 2; if (has_playerid()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->playerid(), output); } - + // required .AskKickDeniedMessage.KickDeniedReason kickDeniedReason = 3; if (has_kickdeniedreason()) { ::google::protobuf::internal::WireFormatLite::WriteEnum( 3, this->kickdeniedreason(), output); } - + } int AskKickDeniedMessage::ByteSize() const { int total_size = 0; - + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // required uint32 gameId = 1; if (has_gameid()) { @@ -16165,20 +16852,20 @@ int AskKickDeniedMessage::ByteSize() const { ::google::protobuf::internal::WireFormatLite::UInt32Size( this->gameid()); } - + // required uint32 playerId = 2; if (has_playerid()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::UInt32Size( this->playerid()); } - + // required .AskKickDeniedMessage.KickDeniedReason kickDeniedReason = 3; if (has_kickdeniedreason()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::EnumSize(this->kickdeniedreason()); } - + } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; @@ -16214,7 +16901,7 @@ void AskKickDeniedMessage::CopyFrom(const AskKickDeniedMessage& from) { bool AskKickDeniedMessage::IsInitialized() const { if ((_has_bits_[0] & 0x00000007) != 0x00000007) return false; - + return true; } @@ -16274,7 +16961,11 @@ StartKickPetitionMessage::~StartKickPetitionMessage() { } void StartKickPetitionMessage::SharedDtor() { + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + if (this != &default_instance()) { + #else if (this != default_instance_) { + #endif } } @@ -16284,7 +16975,12 @@ void StartKickPetitionMessage::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const StartKickPetitionMessage& StartKickPetitionMessage::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); return *default_instance_; +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + protobuf_AddDesc_pokerth_2eproto(); +#else + if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); +#endif + return *default_instance_; } StartKickPetitionMessage* StartKickPetitionMessage::default_instance_ = NULL; @@ -16325,7 +17021,7 @@ bool StartKickPetitionMessage::MergePartialFromCodedStream( if (input->ExpectTag(16)) goto parse_petitionId; break; } - + // required uint32 petitionId = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -16341,7 +17037,7 @@ bool StartKickPetitionMessage::MergePartialFromCodedStream( if (input->ExpectTag(24)) goto parse_proposingPlayerId; break; } - + // required uint32 proposingPlayerId = 3; case 3: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -16357,7 +17053,7 @@ bool StartKickPetitionMessage::MergePartialFromCodedStream( if (input->ExpectTag(32)) goto parse_kickPlayerId; break; } - + // required uint32 kickPlayerId = 4; case 4: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -16373,7 +17069,7 @@ bool StartKickPetitionMessage::MergePartialFromCodedStream( if (input->ExpectTag(40)) goto parse_kickTimeoutSec; break; } - + // required uint32 kickTimeoutSec = 5; case 5: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -16389,7 +17085,7 @@ bool StartKickPetitionMessage::MergePartialFromCodedStream( if (input->ExpectTag(48)) goto parse_numVotesNeededToKick; break; } - + // required uint32 numVotesNeededToKick = 6; case 6: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -16405,7 +17101,7 @@ bool StartKickPetitionMessage::MergePartialFromCodedStream( if (input->ExpectAtEnd()) return true; break; } - + default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -16427,37 +17123,37 @@ void StartKickPetitionMessage::SerializeWithCachedSizes( if (has_gameid()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->gameid(), output); } - + // required uint32 petitionId = 2; if (has_petitionid()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->petitionid(), output); } - + // required uint32 proposingPlayerId = 3; if (has_proposingplayerid()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(3, this->proposingplayerid(), output); } - + // required uint32 kickPlayerId = 4; if (has_kickplayerid()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(4, this->kickplayerid(), output); } - + // required uint32 kickTimeoutSec = 5; if (has_kicktimeoutsec()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(5, this->kicktimeoutsec(), output); } - + // required uint32 numVotesNeededToKick = 6; if (has_numvotesneededtokick()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(6, this->numvotesneededtokick(), output); } - + } int StartKickPetitionMessage::ByteSize() const { int total_size = 0; - + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // required uint32 gameId = 1; if (has_gameid()) { @@ -16465,42 +17161,42 @@ int StartKickPetitionMessage::ByteSize() const { ::google::protobuf::internal::WireFormatLite::UInt32Size( this->gameid()); } - + // required uint32 petitionId = 2; if (has_petitionid()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::UInt32Size( this->petitionid()); } - + // required uint32 proposingPlayerId = 3; if (has_proposingplayerid()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::UInt32Size( this->proposingplayerid()); } - + // required uint32 kickPlayerId = 4; if (has_kickplayerid()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::UInt32Size( this->kickplayerid()); } - + // required uint32 kickTimeoutSec = 5; if (has_kicktimeoutsec()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::UInt32Size( this->kicktimeoutsec()); } - + // required uint32 numVotesNeededToKick = 6; if (has_numvotesneededtokick()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::UInt32Size( this->numvotesneededtokick()); } - + } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; @@ -16545,7 +17241,7 @@ void StartKickPetitionMessage::CopyFrom(const StartKickPetitionMessage& from) { bool StartKickPetitionMessage::IsInitialized() const { if ((_has_bits_[0] & 0x0000003f) != 0x0000003f) return false; - + return true; } @@ -16602,7 +17298,11 @@ VoteKickRequestMessage::~VoteKickRequestMessage() { } void VoteKickRequestMessage::SharedDtor() { + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + if (this != &default_instance()) { + #else if (this != default_instance_) { + #endif } } @@ -16612,7 +17312,12 @@ void VoteKickRequestMessage::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const VoteKickRequestMessage& VoteKickRequestMessage::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); return *default_instance_; +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + protobuf_AddDesc_pokerth_2eproto(); +#else + if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); +#endif + return *default_instance_; } VoteKickRequestMessage* VoteKickRequestMessage::default_instance_ = NULL; @@ -16650,7 +17355,7 @@ bool VoteKickRequestMessage::MergePartialFromCodedStream( if (input->ExpectTag(16)) goto parse_petitionId; break; } - + // required uint32 petitionId = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -16666,7 +17371,7 @@ bool VoteKickRequestMessage::MergePartialFromCodedStream( if (input->ExpectTag(24)) goto parse_voteKick; break; } - + // required bool voteKick = 3; case 3: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -16682,7 +17387,7 @@ bool VoteKickRequestMessage::MergePartialFromCodedStream( if (input->ExpectAtEnd()) return true; break; } - + default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -16704,22 +17409,22 @@ void VoteKickRequestMessage::SerializeWithCachedSizes( if (has_gameid()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->gameid(), output); } - + // required uint32 petitionId = 2; if (has_petitionid()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->petitionid(), output); } - + // required bool voteKick = 3; if (has_votekick()) { ::google::protobuf::internal::WireFormatLite::WriteBool(3, this->votekick(), output); } - + } int VoteKickRequestMessage::ByteSize() const { int total_size = 0; - + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // required uint32 gameId = 1; if (has_gameid()) { @@ -16727,19 +17432,19 @@ int VoteKickRequestMessage::ByteSize() const { ::google::protobuf::internal::WireFormatLite::UInt32Size( this->gameid()); } - + // required uint32 petitionId = 2; if (has_petitionid()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::UInt32Size( this->petitionid()); } - + // required bool voteKick = 3; if (has_votekick()) { total_size += 1 + 1; } - + } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; @@ -16775,7 +17480,7 @@ void VoteKickRequestMessage::CopyFrom(const VoteKickRequestMessage& from) { bool VoteKickRequestMessage::IsInitialized() const { if ((_has_bits_[0] & 0x00000007) != 0x00000007) return false; - + return true; } @@ -16848,7 +17553,11 @@ VoteKickReplyMessage::~VoteKickReplyMessage() { } void VoteKickReplyMessage::SharedDtor() { + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + if (this != &default_instance()) { + #else if (this != default_instance_) { + #endif } } @@ -16858,7 +17567,12 @@ void VoteKickReplyMessage::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const VoteKickReplyMessage& VoteKickReplyMessage::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); return *default_instance_; +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + protobuf_AddDesc_pokerth_2eproto(); +#else + if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); +#endif + return *default_instance_; } VoteKickReplyMessage* VoteKickReplyMessage::default_instance_ = NULL; @@ -16896,7 +17610,7 @@ bool VoteKickReplyMessage::MergePartialFromCodedStream( if (input->ExpectTag(16)) goto parse_petitionId; break; } - + // required uint32 petitionId = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -16912,7 +17626,7 @@ bool VoteKickReplyMessage::MergePartialFromCodedStream( if (input->ExpectTag(24)) goto parse_voteKickReplyType; break; } - + // required .VoteKickReplyMessage.VoteKickReplyType voteKickReplyType = 3; case 3: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -16931,7 +17645,7 @@ bool VoteKickReplyMessage::MergePartialFromCodedStream( if (input->ExpectAtEnd()) return true; break; } - + default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -16953,23 +17667,23 @@ void VoteKickReplyMessage::SerializeWithCachedSizes( if (has_gameid()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->gameid(), output); } - + // required uint32 petitionId = 2; if (has_petitionid()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->petitionid(), output); } - + // required .VoteKickReplyMessage.VoteKickReplyType voteKickReplyType = 3; if (has_votekickreplytype()) { ::google::protobuf::internal::WireFormatLite::WriteEnum( 3, this->votekickreplytype(), output); } - + } int VoteKickReplyMessage::ByteSize() const { int total_size = 0; - + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // required uint32 gameId = 1; if (has_gameid()) { @@ -16977,20 +17691,20 @@ int VoteKickReplyMessage::ByteSize() const { ::google::protobuf::internal::WireFormatLite::UInt32Size( this->gameid()); } - + // required uint32 petitionId = 2; if (has_petitionid()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::UInt32Size( this->petitionid()); } - + // required .VoteKickReplyMessage.VoteKickReplyType voteKickReplyType = 3; if (has_votekickreplytype()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::EnumSize(this->votekickreplytype()); } - + } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; @@ -17026,7 +17740,7 @@ void VoteKickReplyMessage::CopyFrom(const VoteKickReplyMessage& from) { bool VoteKickReplyMessage::IsInitialized() const { if ((_has_bits_[0] & 0x00000007) != 0x00000007) return false; - + return true; } @@ -17084,7 +17798,11 @@ KickPetitionUpdateMessage::~KickPetitionUpdateMessage() { } void KickPetitionUpdateMessage::SharedDtor() { + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + if (this != &default_instance()) { + #else if (this != default_instance_) { + #endif } } @@ -17094,7 +17812,12 @@ void KickPetitionUpdateMessage::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const KickPetitionUpdateMessage& KickPetitionUpdateMessage::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); return *default_instance_; +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + protobuf_AddDesc_pokerth_2eproto(); +#else + if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); +#endif + return *default_instance_; } KickPetitionUpdateMessage* KickPetitionUpdateMessage::default_instance_ = NULL; @@ -17134,7 +17857,7 @@ bool KickPetitionUpdateMessage::MergePartialFromCodedStream( if (input->ExpectTag(16)) goto parse_petitionId; break; } - + // required uint32 petitionId = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -17150,7 +17873,7 @@ bool KickPetitionUpdateMessage::MergePartialFromCodedStream( if (input->ExpectTag(24)) goto parse_numVotesAgainstKicking; break; } - + // required uint32 numVotesAgainstKicking = 3; case 3: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -17166,7 +17889,7 @@ bool KickPetitionUpdateMessage::MergePartialFromCodedStream( if (input->ExpectTag(32)) goto parse_numVotesInFavourOfKicking; break; } - + // required uint32 numVotesInFavourOfKicking = 4; case 4: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -17182,7 +17905,7 @@ bool KickPetitionUpdateMessage::MergePartialFromCodedStream( if (input->ExpectTag(40)) goto parse_numVotesNeededToKick; break; } - + // required uint32 numVotesNeededToKick = 5; case 5: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -17198,7 +17921,7 @@ bool KickPetitionUpdateMessage::MergePartialFromCodedStream( if (input->ExpectAtEnd()) return true; break; } - + default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -17220,32 +17943,32 @@ void KickPetitionUpdateMessage::SerializeWithCachedSizes( if (has_gameid()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->gameid(), output); } - + // required uint32 petitionId = 2; if (has_petitionid()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->petitionid(), output); } - + // required uint32 numVotesAgainstKicking = 3; if (has_numvotesagainstkicking()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(3, this->numvotesagainstkicking(), output); } - + // required uint32 numVotesInFavourOfKicking = 4; if (has_numvotesinfavourofkicking()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(4, this->numvotesinfavourofkicking(), output); } - + // required uint32 numVotesNeededToKick = 5; if (has_numvotesneededtokick()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(5, this->numvotesneededtokick(), output); } - + } int KickPetitionUpdateMessage::ByteSize() const { int total_size = 0; - + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // required uint32 gameId = 1; if (has_gameid()) { @@ -17253,35 +17976,35 @@ int KickPetitionUpdateMessage::ByteSize() const { ::google::protobuf::internal::WireFormatLite::UInt32Size( this->gameid()); } - + // required uint32 petitionId = 2; if (has_petitionid()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::UInt32Size( this->petitionid()); } - + // required uint32 numVotesAgainstKicking = 3; if (has_numvotesagainstkicking()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::UInt32Size( this->numvotesagainstkicking()); } - + // required uint32 numVotesInFavourOfKicking = 4; if (has_numvotesinfavourofkicking()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::UInt32Size( this->numvotesinfavourofkicking()); } - + // required uint32 numVotesNeededToKick = 5; if (has_numvotesneededtokick()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::UInt32Size( this->numvotesneededtokick()); } - + } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; @@ -17323,7 +18046,7 @@ void KickPetitionUpdateMessage::CopyFrom(const KickPetitionUpdateMessage& from) bool KickPetitionUpdateMessage::IsInitialized() const { if ((_has_bits_[0] & 0x0000001f) != 0x0000001f) return false; - + return true; } @@ -17406,7 +18129,11 @@ EndKickPetitionMessage::~EndKickPetitionMessage() { } void EndKickPetitionMessage::SharedDtor() { + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + if (this != &default_instance()) { + #else if (this != default_instance_) { + #endif } } @@ -17416,7 +18143,12 @@ void EndKickPetitionMessage::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const EndKickPetitionMessage& EndKickPetitionMessage::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); return *default_instance_; +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + protobuf_AddDesc_pokerth_2eproto(); +#else + if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); +#endif + return *default_instance_; } EndKickPetitionMessage* EndKickPetitionMessage::default_instance_ = NULL; @@ -17457,7 +18189,7 @@ bool EndKickPetitionMessage::MergePartialFromCodedStream( if (input->ExpectTag(16)) goto parse_petitionId; break; } - + // required uint32 petitionId = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -17473,7 +18205,7 @@ bool EndKickPetitionMessage::MergePartialFromCodedStream( if (input->ExpectTag(24)) goto parse_numVotesAgainstKicking; break; } - + // required uint32 numVotesAgainstKicking = 3; case 3: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -17489,7 +18221,7 @@ bool EndKickPetitionMessage::MergePartialFromCodedStream( if (input->ExpectTag(32)) goto parse_numVotesInFavourOfKicking; break; } - + // required uint32 numVotesInFavourOfKicking = 4; case 4: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -17505,7 +18237,7 @@ bool EndKickPetitionMessage::MergePartialFromCodedStream( if (input->ExpectTag(40)) goto parse_resultPlayerKicked; break; } - + // required uint32 resultPlayerKicked = 5; case 5: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -17521,7 +18253,7 @@ bool EndKickPetitionMessage::MergePartialFromCodedStream( if (input->ExpectTag(48)) goto parse_petitionEndReason; break; } - + // required .EndKickPetitionMessage.PetitionEndReason petitionEndReason = 6; case 6: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -17540,7 +18272,7 @@ bool EndKickPetitionMessage::MergePartialFromCodedStream( if (input->ExpectAtEnd()) return true; break; } - + default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -17562,38 +18294,38 @@ void EndKickPetitionMessage::SerializeWithCachedSizes( if (has_gameid()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->gameid(), output); } - + // required uint32 petitionId = 2; if (has_petitionid()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->petitionid(), output); } - + // required uint32 numVotesAgainstKicking = 3; if (has_numvotesagainstkicking()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(3, this->numvotesagainstkicking(), output); } - + // required uint32 numVotesInFavourOfKicking = 4; if (has_numvotesinfavourofkicking()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(4, this->numvotesinfavourofkicking(), output); } - + // required uint32 resultPlayerKicked = 5; if (has_resultplayerkicked()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(5, this->resultplayerkicked(), output); } - + // required .EndKickPetitionMessage.PetitionEndReason petitionEndReason = 6; if (has_petitionendreason()) { ::google::protobuf::internal::WireFormatLite::WriteEnum( 6, this->petitionendreason(), output); } - + } int EndKickPetitionMessage::ByteSize() const { int total_size = 0; - + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // required uint32 gameId = 1; if (has_gameid()) { @@ -17601,41 +18333,41 @@ int EndKickPetitionMessage::ByteSize() const { ::google::protobuf::internal::WireFormatLite::UInt32Size( this->gameid()); } - + // required uint32 petitionId = 2; if (has_petitionid()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::UInt32Size( this->petitionid()); } - + // required uint32 numVotesAgainstKicking = 3; if (has_numvotesagainstkicking()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::UInt32Size( this->numvotesagainstkicking()); } - + // required uint32 numVotesInFavourOfKicking = 4; if (has_numvotesinfavourofkicking()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::UInt32Size( this->numvotesinfavourofkicking()); } - + // required uint32 resultPlayerKicked = 5; if (has_resultplayerkicked()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::UInt32Size( this->resultplayerkicked()); } - + // required .EndKickPetitionMessage.PetitionEndReason petitionEndReason = 6; if (has_petitionendreason()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::EnumSize(this->petitionendreason()); } - + } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; @@ -17680,7 +18412,7 @@ void EndKickPetitionMessage::CopyFrom(const EndKickPetitionMessage& from) { bool EndKickPetitionMessage::IsInitialized() const { if ((_has_bits_[0] & 0x0000003f) != 0x0000003f) return false; - + return true; } @@ -17750,7 +18482,11 @@ StatisticsMessage_StatisticsData::~StatisticsMessage_StatisticsData() { } void StatisticsMessage_StatisticsData::SharedDtor() { + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + if (this != &default_instance()) { + #else if (this != default_instance_) { + #endif } } @@ -17760,7 +18496,12 @@ void StatisticsMessage_StatisticsData::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const StatisticsMessage_StatisticsData& StatisticsMessage_StatisticsData::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); return *default_instance_; +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + protobuf_AddDesc_pokerth_2eproto(); +#else + if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); +#endif + return *default_instance_; } StatisticsMessage_StatisticsData* StatisticsMessage_StatisticsData::default_instance_ = NULL; @@ -17800,7 +18541,7 @@ bool StatisticsMessage_StatisticsData::MergePartialFromCodedStream( if (input->ExpectTag(16)) goto parse_statisticsValue; break; } - + // required uint32 statisticsValue = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -17816,7 +18557,7 @@ bool StatisticsMessage_StatisticsData::MergePartialFromCodedStream( if (input->ExpectAtEnd()) return true; break; } - + default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -17839,31 +18580,31 @@ void StatisticsMessage_StatisticsData::SerializeWithCachedSizes( ::google::protobuf::internal::WireFormatLite::WriteEnum( 1, this->statisticstype(), output); } - + // required uint32 statisticsValue = 2; if (has_statisticsvalue()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->statisticsvalue(), output); } - + } int StatisticsMessage_StatisticsData::ByteSize() const { int total_size = 0; - + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // required .StatisticsMessage.StatisticsData.StatisticsType statisticsType = 1; if (has_statisticstype()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::EnumSize(this->statisticstype()); } - + // required uint32 statisticsValue = 2; if (has_statisticsvalue()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::UInt32Size( this->statisticsvalue()); } - + } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; @@ -17896,7 +18637,7 @@ void StatisticsMessage_StatisticsData::CopyFrom(const StatisticsMessage_Statisti bool StatisticsMessage_StatisticsData::IsInitialized() const { if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false; - + return true; } @@ -17944,7 +18685,11 @@ StatisticsMessage::~StatisticsMessage() { } void StatisticsMessage::SharedDtor() { + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + if (this != &default_instance()) { + #else if (this != default_instance_) { + #endif } } @@ -17954,7 +18699,12 @@ void StatisticsMessage::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const StatisticsMessage& StatisticsMessage::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); return *default_instance_; +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + protobuf_AddDesc_pokerth_2eproto(); +#else + if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); +#endif + return *default_instance_; } StatisticsMessage* StatisticsMessage::default_instance_ = NULL; @@ -17988,7 +18738,7 @@ bool StatisticsMessage::MergePartialFromCodedStream( if (input->ExpectAtEnd()) return true; break; } - + default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -18011,12 +18761,12 @@ void StatisticsMessage::SerializeWithCachedSizes( ::google::protobuf::internal::WireFormatLite::WriteMessage( 1, this->statisticsdata(i), output); } - + } int StatisticsMessage::ByteSize() const { int total_size = 0; - + // repeated .StatisticsMessage.StatisticsData statisticsData = 1; total_size += 1 * this->statisticsdata_size(); for (int i = 0; i < this->statisticsdata_size(); i++) { @@ -18024,7 +18774,7 @@ int StatisticsMessage::ByteSize() const { ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( this->statisticsdata(i)); } - + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); @@ -18048,7 +18798,7 @@ void StatisticsMessage::CopyFrom(const StatisticsMessage& from) { } bool StatisticsMessage::IsInitialized() const { - + for (int i = 0; i < statisticsdata_size(); i++) { if (!this->statisticsdata(i).IsInitialized()) return false; } @@ -18106,7 +18856,11 @@ void ChatRequestMessage::SharedDtor() { if (chattext_ != &::google::protobuf::internal::kEmptyString) { delete chattext_; } + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + if (this != &default_instance()) { + #else if (this != default_instance_) { + #endif } } @@ -18116,7 +18870,12 @@ void ChatRequestMessage::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ChatRequestMessage& ChatRequestMessage::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); return *default_instance_; +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + protobuf_AddDesc_pokerth_2eproto(); +#else + if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); +#endif + return *default_instance_; } ChatRequestMessage* ChatRequestMessage::default_instance_ = NULL; @@ -18158,7 +18917,7 @@ bool ChatRequestMessage::MergePartialFromCodedStream( if (input->ExpectTag(16)) goto parse_targetPlayerId; break; } - + // optional uint32 targetPlayerId = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -18174,7 +18933,7 @@ bool ChatRequestMessage::MergePartialFromCodedStream( if (input->ExpectTag(26)) goto parse_chatText; break; } - + // required string chatText = 3; case 3: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -18188,7 +18947,7 @@ bool ChatRequestMessage::MergePartialFromCodedStream( if (input->ExpectAtEnd()) return true; break; } - + default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -18210,23 +18969,23 @@ void ChatRequestMessage::SerializeWithCachedSizes( if (has_targetgameid()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->targetgameid(), output); } - + // optional uint32 targetPlayerId = 2; if (has_targetplayerid()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->targetplayerid(), output); } - + // required string chatText = 3; if (has_chattext()) { ::google::protobuf::internal::WireFormatLite::WriteString( 3, this->chattext(), output); } - + } int ChatRequestMessage::ByteSize() const { int total_size = 0; - + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // optional uint32 targetGameId = 1; if (has_targetgameid()) { @@ -18234,21 +18993,21 @@ int ChatRequestMessage::ByteSize() const { ::google::protobuf::internal::WireFormatLite::UInt32Size( this->targetgameid()); } - + // optional uint32 targetPlayerId = 2; if (has_targetplayerid()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::UInt32Size( this->targetplayerid()); } - + // required string chatText = 3; if (has_chattext()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( this->chattext()); } - + } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; @@ -18284,7 +19043,7 @@ void ChatRequestMessage::CopyFrom(const ChatRequestMessage& from) { bool ChatRequestMessage::IsInitialized() const { if ((_has_bits_[0] & 0x00000004) != 0x00000004) return false; - + return true; } @@ -18366,7 +19125,11 @@ void ChatMessage::SharedDtor() { if (chattext_ != &::google::protobuf::internal::kEmptyString) { delete chattext_; } + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + if (this != &default_instance()) { + #else if (this != default_instance_) { + #endif } } @@ -18376,7 +19139,12 @@ void ChatMessage::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ChatMessage& ChatMessage::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); return *default_instance_; +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + protobuf_AddDesc_pokerth_2eproto(); +#else + if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); +#endif + return *default_instance_; } ChatMessage* ChatMessage::default_instance_ = NULL; @@ -18419,7 +19187,7 @@ bool ChatMessage::MergePartialFromCodedStream( if (input->ExpectTag(16)) goto parse_playerId; break; } - + // optional uint32 playerId = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -18435,7 +19203,7 @@ bool ChatMessage::MergePartialFromCodedStream( if (input->ExpectTag(24)) goto parse_chatType; break; } - + // required .ChatMessage.ChatType chatType = 3; case 3: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -18454,7 +19222,7 @@ bool ChatMessage::MergePartialFromCodedStream( if (input->ExpectTag(34)) goto parse_chatText; break; } - + // required string chatText = 4; case 4: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -18468,7 +19236,7 @@ bool ChatMessage::MergePartialFromCodedStream( if (input->ExpectAtEnd()) return true; break; } - + default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -18490,29 +19258,29 @@ void ChatMessage::SerializeWithCachedSizes( if (has_gameid()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->gameid(), output); } - + // optional uint32 playerId = 2; if (has_playerid()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->playerid(), output); } - + // required .ChatMessage.ChatType chatType = 3; if (has_chattype()) { ::google::protobuf::internal::WireFormatLite::WriteEnum( 3, this->chattype(), output); } - + // required string chatText = 4; if (has_chattext()) { ::google::protobuf::internal::WireFormatLite::WriteString( 4, this->chattext(), output); } - + } int ChatMessage::ByteSize() const { int total_size = 0; - + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // optional uint32 gameId = 1; if (has_gameid()) { @@ -18520,27 +19288,27 @@ int ChatMessage::ByteSize() const { ::google::protobuf::internal::WireFormatLite::UInt32Size( this->gameid()); } - + // optional uint32 playerId = 2; if (has_playerid()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::UInt32Size( this->playerid()); } - + // required .ChatMessage.ChatType chatType = 3; if (has_chattype()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::EnumSize(this->chattype()); } - + // required string chatText = 4; if (has_chattext()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( this->chattext()); } - + } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; @@ -18579,7 +19347,7 @@ void ChatMessage::CopyFrom(const ChatMessage& from) { bool ChatMessage::IsInitialized() const { if ((_has_bits_[0] & 0x0000000c) != 0x0000000c) return false; - + return true; } @@ -18633,7 +19401,11 @@ void ChatRejectMessage::SharedDtor() { if (chattext_ != &::google::protobuf::internal::kEmptyString) { delete chattext_; } + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + if (this != &default_instance()) { + #else if (this != default_instance_) { + #endif } } @@ -18643,7 +19415,12 @@ void ChatRejectMessage::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ChatRejectMessage& ChatRejectMessage::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); return *default_instance_; +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + protobuf_AddDesc_pokerth_2eproto(); +#else + if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); +#endif + return *default_instance_; } ChatRejectMessage* ChatRejectMessage::default_instance_ = NULL; @@ -18681,7 +19458,7 @@ bool ChatRejectMessage::MergePartialFromCodedStream( if (input->ExpectAtEnd()) return true; break; } - + default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -18704,12 +19481,12 @@ void ChatRejectMessage::SerializeWithCachedSizes( ::google::protobuf::internal::WireFormatLite::WriteString( 1, this->chattext(), output); } - + } int ChatRejectMessage::ByteSize() const { int total_size = 0; - + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // required string chatText = 1; if (has_chattext()) { @@ -18717,7 +19494,7 @@ int ChatRejectMessage::ByteSize() const { ::google::protobuf::internal::WireFormatLite::StringSize( this->chattext()); } - + } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; @@ -18747,7 +19524,7 @@ void ChatRejectMessage::CopyFrom(const ChatRejectMessage& from) { bool ChatRejectMessage::IsInitialized() const { if ((_has_bits_[0] & 0x00000001) != 0x00000001) return false; - + return true; } @@ -18798,7 +19575,11 @@ void DialogMessage::SharedDtor() { if (notificationtext_ != &::google::protobuf::internal::kEmptyString) { delete notificationtext_; } + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + if (this != &default_instance()) { + #else if (this != default_instance_) { + #endif } } @@ -18808,7 +19589,12 @@ void DialogMessage::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const DialogMessage& DialogMessage::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); return *default_instance_; +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + protobuf_AddDesc_pokerth_2eproto(); +#else + if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); +#endif + return *default_instance_; } DialogMessage* DialogMessage::default_instance_ = NULL; @@ -18846,7 +19632,7 @@ bool DialogMessage::MergePartialFromCodedStream( if (input->ExpectAtEnd()) return true; break; } - + default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -18869,12 +19655,12 @@ void DialogMessage::SerializeWithCachedSizes( ::google::protobuf::internal::WireFormatLite::WriteString( 1, this->notificationtext(), output); } - + } int DialogMessage::ByteSize() const { int total_size = 0; - + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // required string notificationText = 1; if (has_notificationtext()) { @@ -18882,7 +19668,7 @@ int DialogMessage::ByteSize() const { ::google::protobuf::internal::WireFormatLite::StringSize( this->notificationtext()); } - + } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; @@ -18912,7 +19698,7 @@ void DialogMessage::CopyFrom(const DialogMessage& from) { bool DialogMessage::IsInitialized() const { if ((_has_bits_[0] & 0x00000001) != 0x00000001) return false; - + return true; } @@ -18981,7 +19767,11 @@ TimeoutWarningMessage::~TimeoutWarningMessage() { } void TimeoutWarningMessage::SharedDtor() { + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + if (this != &default_instance()) { + #else if (this != default_instance_) { + #endif } } @@ -18991,7 +19781,12 @@ void TimeoutWarningMessage::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const TimeoutWarningMessage& TimeoutWarningMessage::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); return *default_instance_; +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + protobuf_AddDesc_pokerth_2eproto(); +#else + if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); +#endif + return *default_instance_; } TimeoutWarningMessage* TimeoutWarningMessage::default_instance_ = NULL; @@ -19031,7 +19826,7 @@ bool TimeoutWarningMessage::MergePartialFromCodedStream( if (input->ExpectTag(16)) goto parse_remainingSeconds; break; } - + // required uint32 remainingSeconds = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -19047,7 +19842,7 @@ bool TimeoutWarningMessage::MergePartialFromCodedStream( if (input->ExpectAtEnd()) return true; break; } - + default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -19070,31 +19865,31 @@ void TimeoutWarningMessage::SerializeWithCachedSizes( ::google::protobuf::internal::WireFormatLite::WriteEnum( 1, this->timeoutreason(), output); } - + // required uint32 remainingSeconds = 2; if (has_remainingseconds()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(2, this->remainingseconds(), output); } - + } int TimeoutWarningMessage::ByteSize() const { int total_size = 0; - + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // required .TimeoutWarningMessage.TimeoutReason timeoutReason = 1; if (has_timeoutreason()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::EnumSize(this->timeoutreason()); } - + // required uint32 remainingSeconds = 2; if (has_remainingseconds()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::UInt32Size( this->remainingseconds()); } - + } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; @@ -19127,7 +19922,7 @@ void TimeoutWarningMessage::CopyFrom(const TimeoutWarningMessage& from) { bool TimeoutWarningMessage::IsInitialized() const { if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false; - + return true; } @@ -19174,7 +19969,11 @@ ResetTimeoutMessage::~ResetTimeoutMessage() { } void ResetTimeoutMessage::SharedDtor() { + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + if (this != &default_instance()) { + #else if (this != default_instance_) { + #endif } } @@ -19184,7 +19983,12 @@ void ResetTimeoutMessage::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ResetTimeoutMessage& ResetTimeoutMessage::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); return *default_instance_; +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + protobuf_AddDesc_pokerth_2eproto(); +#else + if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); +#endif + return *default_instance_; } ResetTimeoutMessage* ResetTimeoutMessage::default_instance_ = NULL; @@ -19218,7 +20022,7 @@ void ResetTimeoutMessage::SerializeWithCachedSizes( int ResetTimeoutMessage::ByteSize() const { int total_size = 0; - + GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); @@ -19241,7 +20045,7 @@ void ResetTimeoutMessage::CopyFrom(const ResetTimeoutMessage& from) { } bool ResetTimeoutMessage::IsInitialized() const { - + return true; } @@ -19292,7 +20096,11 @@ void ReportAvatarMessage::SharedDtor() { if (reportedavatarhash_ != &::google::protobuf::internal::kEmptyString) { delete reportedavatarhash_; } + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + if (this != &default_instance()) { + #else if (this != default_instance_) { + #endif } } @@ -19302,7 +20110,12 @@ void ReportAvatarMessage::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ReportAvatarMessage& ReportAvatarMessage::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); return *default_instance_; +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + protobuf_AddDesc_pokerth_2eproto(); +#else + if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); +#endif + return *default_instance_; } ReportAvatarMessage* ReportAvatarMessage::default_instance_ = NULL; @@ -19343,7 +20156,7 @@ bool ReportAvatarMessage::MergePartialFromCodedStream( if (input->ExpectTag(18)) goto parse_reportedAvatarHash; break; } - + // required bytes reportedAvatarHash = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -19357,7 +20170,7 @@ bool ReportAvatarMessage::MergePartialFromCodedStream( if (input->ExpectAtEnd()) return true; break; } - + default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -19379,18 +20192,18 @@ void ReportAvatarMessage::SerializeWithCachedSizes( if (has_reportedplayerid()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->reportedplayerid(), output); } - + // required bytes reportedAvatarHash = 2; if (has_reportedavatarhash()) { ::google::protobuf::internal::WireFormatLite::WriteBytes( 2, this->reportedavatarhash(), output); } - + } int ReportAvatarMessage::ByteSize() const { int total_size = 0; - + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // required uint32 reportedPlayerId = 1; if (has_reportedplayerid()) { @@ -19398,14 +20211,14 @@ int ReportAvatarMessage::ByteSize() const { ::google::protobuf::internal::WireFormatLite::UInt32Size( this->reportedplayerid()); } - + // required bytes reportedAvatarHash = 2; if (has_reportedavatarhash()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::BytesSize( this->reportedavatarhash()); } - + } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; @@ -19438,7 +20251,7 @@ void ReportAvatarMessage::CopyFrom(const ReportAvatarMessage& from) { bool ReportAvatarMessage::IsInitialized() const { if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false; - + return true; } @@ -19508,7 +20321,11 @@ ReportAvatarAckMessage::~ReportAvatarAckMessage() { } void ReportAvatarAckMessage::SharedDtor() { + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + if (this != &default_instance()) { + #else if (this != default_instance_) { + #endif } } @@ -19518,7 +20335,12 @@ void ReportAvatarAckMessage::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ReportAvatarAckMessage& ReportAvatarAckMessage::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); return *default_instance_; +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + protobuf_AddDesc_pokerth_2eproto(); +#else + if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); +#endif + return *default_instance_; } ReportAvatarAckMessage* ReportAvatarAckMessage::default_instance_ = NULL; @@ -19555,7 +20377,7 @@ bool ReportAvatarAckMessage::MergePartialFromCodedStream( if (input->ExpectTag(16)) goto parse_reportAvatarResult; break; } - + // required .ReportAvatarAckMessage.ReportAvatarResult reportAvatarResult = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -19574,7 +20396,7 @@ bool ReportAvatarAckMessage::MergePartialFromCodedStream( if (input->ExpectAtEnd()) return true; break; } - + default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -19596,18 +20418,18 @@ void ReportAvatarAckMessage::SerializeWithCachedSizes( if (has_reportedplayerid()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->reportedplayerid(), output); } - + // required .ReportAvatarAckMessage.ReportAvatarResult reportAvatarResult = 2; if (has_reportavatarresult()) { ::google::protobuf::internal::WireFormatLite::WriteEnum( 2, this->reportavatarresult(), output); } - + } int ReportAvatarAckMessage::ByteSize() const { int total_size = 0; - + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // required uint32 reportedPlayerId = 1; if (has_reportedplayerid()) { @@ -19615,13 +20437,13 @@ int ReportAvatarAckMessage::ByteSize() const { ::google::protobuf::internal::WireFormatLite::UInt32Size( this->reportedplayerid()); } - + // required .ReportAvatarAckMessage.ReportAvatarResult reportAvatarResult = 2; if (has_reportavatarresult()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::EnumSize(this->reportavatarresult()); } - + } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; @@ -19654,7 +20476,7 @@ void ReportAvatarAckMessage::CopyFrom(const ReportAvatarAckMessage& from) { bool ReportAvatarAckMessage::IsInitialized() const { if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false; - + return true; } @@ -19703,7 +20525,11 @@ ReportGameMessage::~ReportGameMessage() { } void ReportGameMessage::SharedDtor() { + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + if (this != &default_instance()) { + #else if (this != default_instance_) { + #endif } } @@ -19713,7 +20539,12 @@ void ReportGameMessage::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ReportGameMessage& ReportGameMessage::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); return *default_instance_; +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + protobuf_AddDesc_pokerth_2eproto(); +#else + if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); +#endif + return *default_instance_; } ReportGameMessage* ReportGameMessage::default_instance_ = NULL; @@ -19749,7 +20580,7 @@ bool ReportGameMessage::MergePartialFromCodedStream( if (input->ExpectAtEnd()) return true; break; } - + default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -19771,12 +20602,12 @@ void ReportGameMessage::SerializeWithCachedSizes( if (has_reportedgameid()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->reportedgameid(), output); } - + } int ReportGameMessage::ByteSize() const { int total_size = 0; - + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // required uint32 reportedGameId = 1; if (has_reportedgameid()) { @@ -19784,7 +20615,7 @@ int ReportGameMessage::ByteSize() const { ::google::protobuf::internal::WireFormatLite::UInt32Size( this->reportedgameid()); } - + } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; @@ -19814,7 +20645,7 @@ void ReportGameMessage::CopyFrom(const ReportGameMessage& from) { bool ReportGameMessage::IsInitialized() const { if ((_has_bits_[0] & 0x00000001) != 0x00000001) return false; - + return true; } @@ -19883,7 +20714,11 @@ ReportGameAckMessage::~ReportGameAckMessage() { } void ReportGameAckMessage::SharedDtor() { + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + if (this != &default_instance()) { + #else if (this != default_instance_) { + #endif } } @@ -19893,7 +20728,12 @@ void ReportGameAckMessage::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ReportGameAckMessage& ReportGameAckMessage::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); return *default_instance_; +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + protobuf_AddDesc_pokerth_2eproto(); +#else + if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); +#endif + return *default_instance_; } ReportGameAckMessage* ReportGameAckMessage::default_instance_ = NULL; @@ -19930,7 +20770,7 @@ bool ReportGameAckMessage::MergePartialFromCodedStream( if (input->ExpectTag(16)) goto parse_reportGameResult; break; } - + // required .ReportGameAckMessage.ReportGameResult reportGameResult = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -19949,7 +20789,7 @@ bool ReportGameAckMessage::MergePartialFromCodedStream( if (input->ExpectAtEnd()) return true; break; } - + default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -19971,18 +20811,18 @@ void ReportGameAckMessage::SerializeWithCachedSizes( if (has_reportedgameid()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->reportedgameid(), output); } - + // required .ReportGameAckMessage.ReportGameResult reportGameResult = 2; if (has_reportgameresult()) { ::google::protobuf::internal::WireFormatLite::WriteEnum( 2, this->reportgameresult(), output); } - + } int ReportGameAckMessage::ByteSize() const { int total_size = 0; - + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // required uint32 reportedGameId = 1; if (has_reportedgameid()) { @@ -19990,13 +20830,13 @@ int ReportGameAckMessage::ByteSize() const { ::google::protobuf::internal::WireFormatLite::UInt32Size( this->reportedgameid()); } - + // required .ReportGameAckMessage.ReportGameResult reportGameResult = 2; if (has_reportgameresult()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::EnumSize(this->reportgameresult()); } - + } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; @@ -20029,7 +20869,7 @@ void ReportGameAckMessage::CopyFrom(const ReportGameAckMessage& from) { bool ReportGameAckMessage::IsInitialized() const { if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false; - + return true; } @@ -20121,7 +20961,11 @@ ErrorMessage::~ErrorMessage() { } void ErrorMessage::SharedDtor() { + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + if (this != &default_instance()) { + #else if (this != default_instance_) { + #endif } } @@ -20131,7 +20975,12 @@ void ErrorMessage::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ErrorMessage& ErrorMessage::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); return *default_instance_; +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + protobuf_AddDesc_pokerth_2eproto(); +#else + if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); +#endif + return *default_instance_; } ErrorMessage* ErrorMessage::default_instance_ = NULL; @@ -20170,7 +21019,7 @@ bool ErrorMessage::MergePartialFromCodedStream( if (input->ExpectAtEnd()) return true; break; } - + default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -20193,19 +21042,19 @@ void ErrorMessage::SerializeWithCachedSizes( ::google::protobuf::internal::WireFormatLite::WriteEnum( 1, this->errorreason(), output); } - + } int ErrorMessage::ByteSize() const { int total_size = 0; - + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // required .ErrorMessage.ErrorReason errorReason = 1; if (has_errorreason()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::EnumSize(this->errorreason()); } - + } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; @@ -20235,7 +21084,7 @@ void ErrorMessage::CopyFrom(const ErrorMessage& from) { bool ErrorMessage::IsInitialized() const { if ((_has_bits_[0] & 0x00000001) != 0x00000001) return false; - + return true; } @@ -20283,7 +21132,11 @@ AdminRemoveGameMessage::~AdminRemoveGameMessage() { } void AdminRemoveGameMessage::SharedDtor() { + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + if (this != &default_instance()) { + #else if (this != default_instance_) { + #endif } } @@ -20293,7 +21146,12 @@ void AdminRemoveGameMessage::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const AdminRemoveGameMessage& AdminRemoveGameMessage::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); return *default_instance_; +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + protobuf_AddDesc_pokerth_2eproto(); +#else + if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); +#endif + return *default_instance_; } AdminRemoveGameMessage* AdminRemoveGameMessage::default_instance_ = NULL; @@ -20329,7 +21187,7 @@ bool AdminRemoveGameMessage::MergePartialFromCodedStream( if (input->ExpectAtEnd()) return true; break; } - + default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -20351,12 +21209,12 @@ void AdminRemoveGameMessage::SerializeWithCachedSizes( if (has_removegameid()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->removegameid(), output); } - + } int AdminRemoveGameMessage::ByteSize() const { int total_size = 0; - + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // required uint32 removeGameId = 1; if (has_removegameid()) { @@ -20364,7 +21222,7 @@ int AdminRemoveGameMessage::ByteSize() const { ::google::protobuf::internal::WireFormatLite::UInt32Size( this->removegameid()); } - + } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; @@ -20394,7 +21252,7 @@ void AdminRemoveGameMessage::CopyFrom(const AdminRemoveGameMessage& from) { bool AdminRemoveGameMessage::IsInitialized() const { if ((_has_bits_[0] & 0x00000001) != 0x00000001) return false; - + return true; } @@ -20461,7 +21319,11 @@ AdminRemoveGameAckMessage::~AdminRemoveGameAckMessage() { } void AdminRemoveGameAckMessage::SharedDtor() { + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + if (this != &default_instance()) { + #else if (this != default_instance_) { + #endif } } @@ -20471,7 +21333,12 @@ void AdminRemoveGameAckMessage::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const AdminRemoveGameAckMessage& AdminRemoveGameAckMessage::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); return *default_instance_; +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + protobuf_AddDesc_pokerth_2eproto(); +#else + if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); +#endif + return *default_instance_; } AdminRemoveGameAckMessage* AdminRemoveGameAckMessage::default_instance_ = NULL; @@ -20508,7 +21375,7 @@ bool AdminRemoveGameAckMessage::MergePartialFromCodedStream( if (input->ExpectTag(16)) goto parse_removeGameResult; break; } - + // required .AdminRemoveGameAckMessage.AdminRemoveGameResult removeGameResult = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -20527,7 +21394,7 @@ bool AdminRemoveGameAckMessage::MergePartialFromCodedStream( if (input->ExpectAtEnd()) return true; break; } - + default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -20549,18 +21416,18 @@ void AdminRemoveGameAckMessage::SerializeWithCachedSizes( if (has_removegameid()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->removegameid(), output); } - + // required .AdminRemoveGameAckMessage.AdminRemoveGameResult removeGameResult = 2; if (has_removegameresult()) { ::google::protobuf::internal::WireFormatLite::WriteEnum( 2, this->removegameresult(), output); } - + } int AdminRemoveGameAckMessage::ByteSize() const { int total_size = 0; - + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // required uint32 removeGameId = 1; if (has_removegameid()) { @@ -20568,13 +21435,13 @@ int AdminRemoveGameAckMessage::ByteSize() const { ::google::protobuf::internal::WireFormatLite::UInt32Size( this->removegameid()); } - + // required .AdminRemoveGameAckMessage.AdminRemoveGameResult removeGameResult = 2; if (has_removegameresult()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::EnumSize(this->removegameresult()); } - + } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; @@ -20607,7 +21474,7 @@ void AdminRemoveGameAckMessage::CopyFrom(const AdminRemoveGameAckMessage& from) bool AdminRemoveGameAckMessage::IsInitialized() const { if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false; - + return true; } @@ -20656,7 +21523,11 @@ AdminBanPlayerMessage::~AdminBanPlayerMessage() { } void AdminBanPlayerMessage::SharedDtor() { + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + if (this != &default_instance()) { + #else if (this != default_instance_) { + #endif } } @@ -20666,7 +21537,12 @@ void AdminBanPlayerMessage::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const AdminBanPlayerMessage& AdminBanPlayerMessage::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); return *default_instance_; +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + protobuf_AddDesc_pokerth_2eproto(); +#else + if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); +#endif + return *default_instance_; } AdminBanPlayerMessage* AdminBanPlayerMessage::default_instance_ = NULL; @@ -20702,7 +21578,7 @@ bool AdminBanPlayerMessage::MergePartialFromCodedStream( if (input->ExpectAtEnd()) return true; break; } - + default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -20724,12 +21600,12 @@ void AdminBanPlayerMessage::SerializeWithCachedSizes( if (has_banplayerid()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->banplayerid(), output); } - + } int AdminBanPlayerMessage::ByteSize() const { int total_size = 0; - + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // required uint32 banPlayerId = 1; if (has_banplayerid()) { @@ -20737,7 +21613,7 @@ int AdminBanPlayerMessage::ByteSize() const { ::google::protobuf::internal::WireFormatLite::UInt32Size( this->banplayerid()); } - + } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; @@ -20767,7 +21643,7 @@ void AdminBanPlayerMessage::CopyFrom(const AdminBanPlayerMessage& from) { bool AdminBanPlayerMessage::IsInitialized() const { if ((_has_bits_[0] & 0x00000001) != 0x00000001) return false; - + return true; } @@ -20840,7 +21716,11 @@ AdminBanPlayerAckMessage::~AdminBanPlayerAckMessage() { } void AdminBanPlayerAckMessage::SharedDtor() { + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + if (this != &default_instance()) { + #else if (this != default_instance_) { + #endif } } @@ -20850,7 +21730,12 @@ void AdminBanPlayerAckMessage::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const AdminBanPlayerAckMessage& AdminBanPlayerAckMessage::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); return *default_instance_; +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + protobuf_AddDesc_pokerth_2eproto(); +#else + if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); +#endif + return *default_instance_; } AdminBanPlayerAckMessage* AdminBanPlayerAckMessage::default_instance_ = NULL; @@ -20887,7 +21772,7 @@ bool AdminBanPlayerAckMessage::MergePartialFromCodedStream( if (input->ExpectTag(16)) goto parse_banPlayerResult; break; } - + // required .AdminBanPlayerAckMessage.AdminBanPlayerResult banPlayerResult = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -20906,7 +21791,7 @@ bool AdminBanPlayerAckMessage::MergePartialFromCodedStream( if (input->ExpectAtEnd()) return true; break; } - + default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -20928,18 +21813,18 @@ void AdminBanPlayerAckMessage::SerializeWithCachedSizes( if (has_banplayerid()) { ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->banplayerid(), output); } - + // required .AdminBanPlayerAckMessage.AdminBanPlayerResult banPlayerResult = 2; if (has_banplayerresult()) { ::google::protobuf::internal::WireFormatLite::WriteEnum( 2, this->banplayerresult(), output); } - + } int AdminBanPlayerAckMessage::ByteSize() const { int total_size = 0; - + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // required uint32 banPlayerId = 1; if (has_banplayerid()) { @@ -20947,13 +21832,13 @@ int AdminBanPlayerAckMessage::ByteSize() const { ::google::protobuf::internal::WireFormatLite::UInt32Size( this->banplayerid()); } - + // required .AdminBanPlayerAckMessage.AdminBanPlayerResult banPlayerResult = 2; if (has_banplayerresult()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::EnumSize(this->banplayerresult()); } - + } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; @@ -20986,7 +21871,7 @@ void AdminBanPlayerAckMessage::CopyFrom(const AdminBanPlayerAckMessage& from) { bool AdminBanPlayerAckMessage::IsInitialized() const { if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false; - + return true; } @@ -21272,87 +22157,492 @@ PokerTHMessage::PokerTHMessage() } void PokerTHMessage::InitAsDefaultInstance() { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + announcemessage_ = const_cast< ::AnnounceMessage*>( + ::AnnounceMessage::internal_default_instance()); +#else announcemessage_ = const_cast< ::AnnounceMessage*>(&::AnnounceMessage::default_instance()); +#endif +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + initmessage_ = const_cast< ::InitMessage*>( + ::InitMessage::internal_default_instance()); +#else initmessage_ = const_cast< ::InitMessage*>(&::InitMessage::default_instance()); +#endif +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + authserverchallengemessage_ = const_cast< ::AuthServerChallengeMessage*>( + ::AuthServerChallengeMessage::internal_default_instance()); +#else authserverchallengemessage_ = const_cast< ::AuthServerChallengeMessage*>(&::AuthServerChallengeMessage::default_instance()); +#endif +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + authclientresponsemessage_ = const_cast< ::AuthClientResponseMessage*>( + ::AuthClientResponseMessage::internal_default_instance()); +#else authclientresponsemessage_ = const_cast< ::AuthClientResponseMessage*>(&::AuthClientResponseMessage::default_instance()); +#endif +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + authserververificationmessage_ = const_cast< ::AuthServerVerificationMessage*>( + ::AuthServerVerificationMessage::internal_default_instance()); +#else authserververificationmessage_ = const_cast< ::AuthServerVerificationMessage*>(&::AuthServerVerificationMessage::default_instance()); +#endif +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + initackmessage_ = const_cast< ::InitAckMessage*>( + ::InitAckMessage::internal_default_instance()); +#else initackmessage_ = const_cast< ::InitAckMessage*>(&::InitAckMessage::default_instance()); +#endif +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + avatarrequestmessage_ = const_cast< ::AvatarRequestMessage*>( + ::AvatarRequestMessage::internal_default_instance()); +#else avatarrequestmessage_ = const_cast< ::AvatarRequestMessage*>(&::AvatarRequestMessage::default_instance()); +#endif +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + avatarheadermessage_ = const_cast< ::AvatarHeaderMessage*>( + ::AvatarHeaderMessage::internal_default_instance()); +#else avatarheadermessage_ = const_cast< ::AvatarHeaderMessage*>(&::AvatarHeaderMessage::default_instance()); +#endif +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + avatardatamessage_ = const_cast< ::AvatarDataMessage*>( + ::AvatarDataMessage::internal_default_instance()); +#else avatardatamessage_ = const_cast< ::AvatarDataMessage*>(&::AvatarDataMessage::default_instance()); +#endif +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + avatarendmessage_ = const_cast< ::AvatarEndMessage*>( + ::AvatarEndMessage::internal_default_instance()); +#else avatarendmessage_ = const_cast< ::AvatarEndMessage*>(&::AvatarEndMessage::default_instance()); +#endif +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + unknownavatarmessage_ = const_cast< ::UnknownAvatarMessage*>( + ::UnknownAvatarMessage::internal_default_instance()); +#else unknownavatarmessage_ = const_cast< ::UnknownAvatarMessage*>(&::UnknownAvatarMessage::default_instance()); +#endif +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + playerlistmessage_ = const_cast< ::PlayerListMessage*>( + ::PlayerListMessage::internal_default_instance()); +#else playerlistmessage_ = const_cast< ::PlayerListMessage*>(&::PlayerListMessage::default_instance()); +#endif +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + gamelistnewmessage_ = const_cast< ::GameListNewMessage*>( + ::GameListNewMessage::internal_default_instance()); +#else gamelistnewmessage_ = const_cast< ::GameListNewMessage*>(&::GameListNewMessage::default_instance()); +#endif +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + gamelistupdatemessage_ = const_cast< ::GameListUpdateMessage*>( + ::GameListUpdateMessage::internal_default_instance()); +#else gamelistupdatemessage_ = const_cast< ::GameListUpdateMessage*>(&::GameListUpdateMessage::default_instance()); +#endif +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + gamelistplayerjoinedmessage_ = const_cast< ::GameListPlayerJoinedMessage*>( + ::GameListPlayerJoinedMessage::internal_default_instance()); +#else gamelistplayerjoinedmessage_ = const_cast< ::GameListPlayerJoinedMessage*>(&::GameListPlayerJoinedMessage::default_instance()); +#endif +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + gamelistplayerleftmessage_ = const_cast< ::GameListPlayerLeftMessage*>( + ::GameListPlayerLeftMessage::internal_default_instance()); +#else gamelistplayerleftmessage_ = const_cast< ::GameListPlayerLeftMessage*>(&::GameListPlayerLeftMessage::default_instance()); +#endif +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + gamelistadminchangedmessage_ = const_cast< ::GameListAdminChangedMessage*>( + ::GameListAdminChangedMessage::internal_default_instance()); +#else gamelistadminchangedmessage_ = const_cast< ::GameListAdminChangedMessage*>(&::GameListAdminChangedMessage::default_instance()); +#endif +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + playerinforequestmessage_ = const_cast< ::PlayerInfoRequestMessage*>( + ::PlayerInfoRequestMessage::internal_default_instance()); +#else playerinforequestmessage_ = const_cast< ::PlayerInfoRequestMessage*>(&::PlayerInfoRequestMessage::default_instance()); +#endif +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + playerinforeplymessage_ = const_cast< ::PlayerInfoReplyMessage*>( + ::PlayerInfoReplyMessage::internal_default_instance()); +#else playerinforeplymessage_ = const_cast< ::PlayerInfoReplyMessage*>(&::PlayerInfoReplyMessage::default_instance()); +#endif +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + subscriptionrequestmessage_ = const_cast< ::SubscriptionRequestMessage*>( + ::SubscriptionRequestMessage::internal_default_instance()); +#else subscriptionrequestmessage_ = const_cast< ::SubscriptionRequestMessage*>(&::SubscriptionRequestMessage::default_instance()); +#endif +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + joinexistinggamemessage_ = const_cast< ::JoinExistingGameMessage*>( + ::JoinExistingGameMessage::internal_default_instance()); +#else joinexistinggamemessage_ = const_cast< ::JoinExistingGameMessage*>(&::JoinExistingGameMessage::default_instance()); +#endif +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + joinnewgamemessage_ = const_cast< ::JoinNewGameMessage*>( + ::JoinNewGameMessage::internal_default_instance()); +#else joinnewgamemessage_ = const_cast< ::JoinNewGameMessage*>(&::JoinNewGameMessage::default_instance()); +#endif +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + rejoinexistinggamemessage_ = const_cast< ::RejoinExistingGameMessage*>( + ::RejoinExistingGameMessage::internal_default_instance()); +#else rejoinexistinggamemessage_ = const_cast< ::RejoinExistingGameMessage*>(&::RejoinExistingGameMessage::default_instance()); +#endif +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + joingameackmessage_ = const_cast< ::JoinGameAckMessage*>( + ::JoinGameAckMessage::internal_default_instance()); +#else joingameackmessage_ = const_cast< ::JoinGameAckMessage*>(&::JoinGameAckMessage::default_instance()); +#endif +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + joingamefailedmessage_ = const_cast< ::JoinGameFailedMessage*>( + ::JoinGameFailedMessage::internal_default_instance()); +#else joingamefailedmessage_ = const_cast< ::JoinGameFailedMessage*>(&::JoinGameFailedMessage::default_instance()); +#endif +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + gameplayerjoinedmessage_ = const_cast< ::GamePlayerJoinedMessage*>( + ::GamePlayerJoinedMessage::internal_default_instance()); +#else gameplayerjoinedmessage_ = const_cast< ::GamePlayerJoinedMessage*>(&::GamePlayerJoinedMessage::default_instance()); +#endif +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + gameplayerleftmessage_ = const_cast< ::GamePlayerLeftMessage*>( + ::GamePlayerLeftMessage::internal_default_instance()); +#else gameplayerleftmessage_ = const_cast< ::GamePlayerLeftMessage*>(&::GamePlayerLeftMessage::default_instance()); +#endif +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + gameadminchangedmessage_ = const_cast< ::GameAdminChangedMessage*>( + ::GameAdminChangedMessage::internal_default_instance()); +#else gameadminchangedmessage_ = const_cast< ::GameAdminChangedMessage*>(&::GameAdminChangedMessage::default_instance()); +#endif +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + removedfromgamemessage_ = const_cast< ::RemovedFromGameMessage*>( + ::RemovedFromGameMessage::internal_default_instance()); +#else removedfromgamemessage_ = const_cast< ::RemovedFromGameMessage*>(&::RemovedFromGameMessage::default_instance()); +#endif +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + kickplayerrequestmessage_ = const_cast< ::KickPlayerRequestMessage*>( + ::KickPlayerRequestMessage::internal_default_instance()); +#else kickplayerrequestmessage_ = const_cast< ::KickPlayerRequestMessage*>(&::KickPlayerRequestMessage::default_instance()); +#endif +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + leavegamerequestmessage_ = const_cast< ::LeaveGameRequestMessage*>( + ::LeaveGameRequestMessage::internal_default_instance()); +#else leavegamerequestmessage_ = const_cast< ::LeaveGameRequestMessage*>(&::LeaveGameRequestMessage::default_instance()); +#endif +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + inviteplayertogamemessage_ = const_cast< ::InvitePlayerToGameMessage*>( + ::InvitePlayerToGameMessage::internal_default_instance()); +#else inviteplayertogamemessage_ = const_cast< ::InvitePlayerToGameMessage*>(&::InvitePlayerToGameMessage::default_instance()); +#endif +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + invitenotifymessage_ = const_cast< ::InviteNotifyMessage*>( + ::InviteNotifyMessage::internal_default_instance()); +#else invitenotifymessage_ = const_cast< ::InviteNotifyMessage*>(&::InviteNotifyMessage::default_instance()); +#endif +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + rejectgameinvitationmessage_ = const_cast< ::RejectGameInvitationMessage*>( + ::RejectGameInvitationMessage::internal_default_instance()); +#else rejectgameinvitationmessage_ = const_cast< ::RejectGameInvitationMessage*>(&::RejectGameInvitationMessage::default_instance()); +#endif +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + rejectinvnotifymessage_ = const_cast< ::RejectInvNotifyMessage*>( + ::RejectInvNotifyMessage::internal_default_instance()); +#else rejectinvnotifymessage_ = const_cast< ::RejectInvNotifyMessage*>(&::RejectInvNotifyMessage::default_instance()); +#endif +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + starteventmessage_ = const_cast< ::StartEventMessage*>( + ::StartEventMessage::internal_default_instance()); +#else starteventmessage_ = const_cast< ::StartEventMessage*>(&::StartEventMessage::default_instance()); +#endif +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + starteventackmessage_ = const_cast< ::StartEventAckMessage*>( + ::StartEventAckMessage::internal_default_instance()); +#else starteventackmessage_ = const_cast< ::StartEventAckMessage*>(&::StartEventAckMessage::default_instance()); +#endif +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + gamestartinitialmessage_ = const_cast< ::GameStartInitialMessage*>( + ::GameStartInitialMessage::internal_default_instance()); +#else gamestartinitialmessage_ = const_cast< ::GameStartInitialMessage*>(&::GameStartInitialMessage::default_instance()); +#endif +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + gamestartrejoinmessage_ = const_cast< ::GameStartRejoinMessage*>( + ::GameStartRejoinMessage::internal_default_instance()); +#else gamestartrejoinmessage_ = const_cast< ::GameStartRejoinMessage*>(&::GameStartRejoinMessage::default_instance()); +#endif +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + handstartmessage_ = const_cast< ::HandStartMessage*>( + ::HandStartMessage::internal_default_instance()); +#else handstartmessage_ = const_cast< ::HandStartMessage*>(&::HandStartMessage::default_instance()); +#endif +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + playersturnmessage_ = const_cast< ::PlayersTurnMessage*>( + ::PlayersTurnMessage::internal_default_instance()); +#else playersturnmessage_ = const_cast< ::PlayersTurnMessage*>(&::PlayersTurnMessage::default_instance()); +#endif +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + myactionrequestmessage_ = const_cast< ::MyActionRequestMessage*>( + ::MyActionRequestMessage::internal_default_instance()); +#else myactionrequestmessage_ = const_cast< ::MyActionRequestMessage*>(&::MyActionRequestMessage::default_instance()); +#endif +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + youractionrejectedmessage_ = const_cast< ::YourActionRejectedMessage*>( + ::YourActionRejectedMessage::internal_default_instance()); +#else youractionrejectedmessage_ = const_cast< ::YourActionRejectedMessage*>(&::YourActionRejectedMessage::default_instance()); +#endif +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + playersactiondonemessage_ = const_cast< ::PlayersActionDoneMessage*>( + ::PlayersActionDoneMessage::internal_default_instance()); +#else playersactiondonemessage_ = const_cast< ::PlayersActionDoneMessage*>(&::PlayersActionDoneMessage::default_instance()); +#endif +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + dealflopcardsmessage_ = const_cast< ::DealFlopCardsMessage*>( + ::DealFlopCardsMessage::internal_default_instance()); +#else dealflopcardsmessage_ = const_cast< ::DealFlopCardsMessage*>(&::DealFlopCardsMessage::default_instance()); +#endif +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + dealturncardmessage_ = const_cast< ::DealTurnCardMessage*>( + ::DealTurnCardMessage::internal_default_instance()); +#else dealturncardmessage_ = const_cast< ::DealTurnCardMessage*>(&::DealTurnCardMessage::default_instance()); +#endif +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + dealrivercardmessage_ = const_cast< ::DealRiverCardMessage*>( + ::DealRiverCardMessage::internal_default_instance()); +#else dealrivercardmessage_ = const_cast< ::DealRiverCardMessage*>(&::DealRiverCardMessage::default_instance()); +#endif +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + allinshowcardsmessage_ = const_cast< ::AllInShowCardsMessage*>( + ::AllInShowCardsMessage::internal_default_instance()); +#else allinshowcardsmessage_ = const_cast< ::AllInShowCardsMessage*>(&::AllInShowCardsMessage::default_instance()); +#endif +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + endofhandshowcardsmessage_ = const_cast< ::EndOfHandShowCardsMessage*>( + ::EndOfHandShowCardsMessage::internal_default_instance()); +#else endofhandshowcardsmessage_ = const_cast< ::EndOfHandShowCardsMessage*>(&::EndOfHandShowCardsMessage::default_instance()); +#endif +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + endofhandhidecardsmessage_ = const_cast< ::EndOfHandHideCardsMessage*>( + ::EndOfHandHideCardsMessage::internal_default_instance()); +#else endofhandhidecardsmessage_ = const_cast< ::EndOfHandHideCardsMessage*>(&::EndOfHandHideCardsMessage::default_instance()); +#endif +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + showmycardsrequestmessage_ = const_cast< ::ShowMyCardsRequestMessage*>( + ::ShowMyCardsRequestMessage::internal_default_instance()); +#else showmycardsrequestmessage_ = const_cast< ::ShowMyCardsRequestMessage*>(&::ShowMyCardsRequestMessage::default_instance()); +#endif +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + afterhandshowcardsmessage_ = const_cast< ::AfterHandShowCardsMessage*>( + ::AfterHandShowCardsMessage::internal_default_instance()); +#else afterhandshowcardsmessage_ = const_cast< ::AfterHandShowCardsMessage*>(&::AfterHandShowCardsMessage::default_instance()); +#endif +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + endofgamemessage_ = const_cast< ::EndOfGameMessage*>( + ::EndOfGameMessage::internal_default_instance()); +#else endofgamemessage_ = const_cast< ::EndOfGameMessage*>(&::EndOfGameMessage::default_instance()); +#endif +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + playeridchangedmessage_ = const_cast< ::PlayerIdChangedMessage*>( + ::PlayerIdChangedMessage::internal_default_instance()); +#else playeridchangedmessage_ = const_cast< ::PlayerIdChangedMessage*>(&::PlayerIdChangedMessage::default_instance()); +#endif +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + askkickplayermessage_ = const_cast< ::AskKickPlayerMessage*>( + ::AskKickPlayerMessage::internal_default_instance()); +#else askkickplayermessage_ = const_cast< ::AskKickPlayerMessage*>(&::AskKickPlayerMessage::default_instance()); +#endif +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + askkickdeniedmessage_ = const_cast< ::AskKickDeniedMessage*>( + ::AskKickDeniedMessage::internal_default_instance()); +#else askkickdeniedmessage_ = const_cast< ::AskKickDeniedMessage*>(&::AskKickDeniedMessage::default_instance()); +#endif +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + startkickpetitionmessage_ = const_cast< ::StartKickPetitionMessage*>( + ::StartKickPetitionMessage::internal_default_instance()); +#else startkickpetitionmessage_ = const_cast< ::StartKickPetitionMessage*>(&::StartKickPetitionMessage::default_instance()); +#endif +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + votekickrequestmessage_ = const_cast< ::VoteKickRequestMessage*>( + ::VoteKickRequestMessage::internal_default_instance()); +#else votekickrequestmessage_ = const_cast< ::VoteKickRequestMessage*>(&::VoteKickRequestMessage::default_instance()); +#endif +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + votekickreplymessage_ = const_cast< ::VoteKickReplyMessage*>( + ::VoteKickReplyMessage::internal_default_instance()); +#else votekickreplymessage_ = const_cast< ::VoteKickReplyMessage*>(&::VoteKickReplyMessage::default_instance()); +#endif +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + kickpetitionupdatemessage_ = const_cast< ::KickPetitionUpdateMessage*>( + ::KickPetitionUpdateMessage::internal_default_instance()); +#else kickpetitionupdatemessage_ = const_cast< ::KickPetitionUpdateMessage*>(&::KickPetitionUpdateMessage::default_instance()); +#endif +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + endkickpetitionmessage_ = const_cast< ::EndKickPetitionMessage*>( + ::EndKickPetitionMessage::internal_default_instance()); +#else endkickpetitionmessage_ = const_cast< ::EndKickPetitionMessage*>(&::EndKickPetitionMessage::default_instance()); +#endif +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + statisticsmessage_ = const_cast< ::StatisticsMessage*>( + ::StatisticsMessage::internal_default_instance()); +#else statisticsmessage_ = const_cast< ::StatisticsMessage*>(&::StatisticsMessage::default_instance()); +#endif +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + chatrequestmessage_ = const_cast< ::ChatRequestMessage*>( + ::ChatRequestMessage::internal_default_instance()); +#else chatrequestmessage_ = const_cast< ::ChatRequestMessage*>(&::ChatRequestMessage::default_instance()); +#endif +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + chatmessage_ = const_cast< ::ChatMessage*>( + ::ChatMessage::internal_default_instance()); +#else chatmessage_ = const_cast< ::ChatMessage*>(&::ChatMessage::default_instance()); +#endif +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + chatrejectmessage_ = const_cast< ::ChatRejectMessage*>( + ::ChatRejectMessage::internal_default_instance()); +#else chatrejectmessage_ = const_cast< ::ChatRejectMessage*>(&::ChatRejectMessage::default_instance()); +#endif +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + dialogmessage_ = const_cast< ::DialogMessage*>( + ::DialogMessage::internal_default_instance()); +#else dialogmessage_ = const_cast< ::DialogMessage*>(&::DialogMessage::default_instance()); +#endif +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + timeoutwarningmessage_ = const_cast< ::TimeoutWarningMessage*>( + ::TimeoutWarningMessage::internal_default_instance()); +#else timeoutwarningmessage_ = const_cast< ::TimeoutWarningMessage*>(&::TimeoutWarningMessage::default_instance()); +#endif +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + resettimeoutmessage_ = const_cast< ::ResetTimeoutMessage*>( + ::ResetTimeoutMessage::internal_default_instance()); +#else resettimeoutmessage_ = const_cast< ::ResetTimeoutMessage*>(&::ResetTimeoutMessage::default_instance()); +#endif +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + reportavatarmessage_ = const_cast< ::ReportAvatarMessage*>( + ::ReportAvatarMessage::internal_default_instance()); +#else reportavatarmessage_ = const_cast< ::ReportAvatarMessage*>(&::ReportAvatarMessage::default_instance()); +#endif +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + reportavatarackmessage_ = const_cast< ::ReportAvatarAckMessage*>( + ::ReportAvatarAckMessage::internal_default_instance()); +#else reportavatarackmessage_ = const_cast< ::ReportAvatarAckMessage*>(&::ReportAvatarAckMessage::default_instance()); +#endif +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + reportgamemessage_ = const_cast< ::ReportGameMessage*>( + ::ReportGameMessage::internal_default_instance()); +#else reportgamemessage_ = const_cast< ::ReportGameMessage*>(&::ReportGameMessage::default_instance()); +#endif +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + reportgameackmessage_ = const_cast< ::ReportGameAckMessage*>( + ::ReportGameAckMessage::internal_default_instance()); +#else reportgameackmessage_ = const_cast< ::ReportGameAckMessage*>(&::ReportGameAckMessage::default_instance()); +#endif +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + errormessage_ = const_cast< ::ErrorMessage*>( + ::ErrorMessage::internal_default_instance()); +#else errormessage_ = const_cast< ::ErrorMessage*>(&::ErrorMessage::default_instance()); +#endif +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + adminremovegamemessage_ = const_cast< ::AdminRemoveGameMessage*>( + ::AdminRemoveGameMessage::internal_default_instance()); +#else adminremovegamemessage_ = const_cast< ::AdminRemoveGameMessage*>(&::AdminRemoveGameMessage::default_instance()); +#endif +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + adminremovegameackmessage_ = const_cast< ::AdminRemoveGameAckMessage*>( + ::AdminRemoveGameAckMessage::internal_default_instance()); +#else adminremovegameackmessage_ = const_cast< ::AdminRemoveGameAckMessage*>(&::AdminRemoveGameAckMessage::default_instance()); +#endif +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + adminbanplayermessage_ = const_cast< ::AdminBanPlayerMessage*>( + ::AdminBanPlayerMessage::internal_default_instance()); +#else adminbanplayermessage_ = const_cast< ::AdminBanPlayerMessage*>(&::AdminBanPlayerMessage::default_instance()); +#endif +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + adminbanplayerackmessage_ = const_cast< ::AdminBanPlayerAckMessage*>( + ::AdminBanPlayerAckMessage::internal_default_instance()); +#else adminbanplayerackmessage_ = const_cast< ::AdminBanPlayerAckMessage*>(&::AdminBanPlayerAckMessage::default_instance()); +#endif +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + gamelistspectatorjoinedmessage_ = const_cast< ::GameListSpectatorJoinedMessage*>( + ::GameListSpectatorJoinedMessage::internal_default_instance()); +#else gamelistspectatorjoinedmessage_ = const_cast< ::GameListSpectatorJoinedMessage*>(&::GameListSpectatorJoinedMessage::default_instance()); +#endif +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + gamelistspectatorleftmessage_ = const_cast< ::GameListSpectatorLeftMessage*>( + ::GameListSpectatorLeftMessage::internal_default_instance()); +#else gamelistspectatorleftmessage_ = const_cast< ::GameListSpectatorLeftMessage*>(&::GameListSpectatorLeftMessage::default_instance()); +#endif +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + gamespectatorjoinedmessage_ = const_cast< ::GameSpectatorJoinedMessage*>( + ::GameSpectatorJoinedMessage::internal_default_instance()); +#else gamespectatorjoinedmessage_ = const_cast< ::GameSpectatorJoinedMessage*>(&::GameSpectatorJoinedMessage::default_instance()); +#endif +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + gamespectatorleftmessage_ = const_cast< ::GameSpectatorLeftMessage*>( + ::GameSpectatorLeftMessage::internal_default_instance()); +#else gamespectatorleftmessage_ = const_cast< ::GameSpectatorLeftMessage*>(&::GameSpectatorLeftMessage::default_instance()); +#endif } PokerTHMessage::PokerTHMessage(const PokerTHMessage& from) @@ -21453,7 +22743,11 @@ PokerTHMessage::~PokerTHMessage() { } void PokerTHMessage::SharedDtor() { + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + if (this != &default_instance()) { + #else if (this != default_instance_) { + #endif delete announcemessage_; delete initmessage_; delete authserverchallengemessage_; @@ -21544,7 +22838,12 @@ void PokerTHMessage::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const PokerTHMessage& PokerTHMessage::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); return *default_instance_; +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + protobuf_AddDesc_pokerth_2eproto(); +#else + if (default_instance_ == NULL) protobuf_AddDesc_pokerth_2eproto(); +#endif + return *default_instance_; } PokerTHMessage* PokerTHMessage::default_instance_ = NULL; @@ -21846,7 +23145,7 @@ bool PokerTHMessage::MergePartialFromCodedStream( if (input->ExpectTag(18)) goto parse_announceMessage; break; } - + // optional .AnnounceMessage announceMessage = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -21860,7 +23159,7 @@ bool PokerTHMessage::MergePartialFromCodedStream( if (input->ExpectTag(26)) goto parse_initMessage; break; } - + // optional .InitMessage initMessage = 3; case 3: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -21874,7 +23173,7 @@ bool PokerTHMessage::MergePartialFromCodedStream( if (input->ExpectTag(34)) goto parse_authServerChallengeMessage; break; } - + // optional .AuthServerChallengeMessage authServerChallengeMessage = 4; case 4: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -21888,7 +23187,7 @@ bool PokerTHMessage::MergePartialFromCodedStream( if (input->ExpectTag(42)) goto parse_authClientResponseMessage; break; } - + // optional .AuthClientResponseMessage authClientResponseMessage = 5; case 5: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -21902,7 +23201,7 @@ bool PokerTHMessage::MergePartialFromCodedStream( if (input->ExpectTag(50)) goto parse_authServerVerificationMessage; break; } - + // optional .AuthServerVerificationMessage authServerVerificationMessage = 6; case 6: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -21916,7 +23215,7 @@ bool PokerTHMessage::MergePartialFromCodedStream( if (input->ExpectTag(58)) goto parse_initAckMessage; break; } - + // optional .InitAckMessage initAckMessage = 7; case 7: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -21930,7 +23229,7 @@ bool PokerTHMessage::MergePartialFromCodedStream( if (input->ExpectTag(66)) goto parse_avatarRequestMessage; break; } - + // optional .AvatarRequestMessage avatarRequestMessage = 8; case 8: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -21944,7 +23243,7 @@ bool PokerTHMessage::MergePartialFromCodedStream( if (input->ExpectTag(74)) goto parse_avatarHeaderMessage; break; } - + // optional .AvatarHeaderMessage avatarHeaderMessage = 9; case 9: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -21958,7 +23257,7 @@ bool PokerTHMessage::MergePartialFromCodedStream( if (input->ExpectTag(82)) goto parse_avatarDataMessage; break; } - + // optional .AvatarDataMessage avatarDataMessage = 10; case 10: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -21972,7 +23271,7 @@ bool PokerTHMessage::MergePartialFromCodedStream( if (input->ExpectTag(90)) goto parse_avatarEndMessage; break; } - + // optional .AvatarEndMessage avatarEndMessage = 11; case 11: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -21986,7 +23285,7 @@ bool PokerTHMessage::MergePartialFromCodedStream( if (input->ExpectTag(98)) goto parse_unknownAvatarMessage; break; } - + // optional .UnknownAvatarMessage unknownAvatarMessage = 12; case 12: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -22000,7 +23299,7 @@ bool PokerTHMessage::MergePartialFromCodedStream( if (input->ExpectTag(106)) goto parse_playerListMessage; break; } - + // optional .PlayerListMessage playerListMessage = 13; case 13: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -22014,7 +23313,7 @@ bool PokerTHMessage::MergePartialFromCodedStream( if (input->ExpectTag(114)) goto parse_gameListNewMessage; break; } - + // optional .GameListNewMessage gameListNewMessage = 14; case 14: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -22028,7 +23327,7 @@ bool PokerTHMessage::MergePartialFromCodedStream( if (input->ExpectTag(122)) goto parse_gameListUpdateMessage; break; } - + // optional .GameListUpdateMessage gameListUpdateMessage = 15; case 15: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -22042,7 +23341,7 @@ bool PokerTHMessage::MergePartialFromCodedStream( if (input->ExpectTag(130)) goto parse_gameListPlayerJoinedMessage; break; } - + // optional .GameListPlayerJoinedMessage gameListPlayerJoinedMessage = 16; case 16: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -22056,7 +23355,7 @@ bool PokerTHMessage::MergePartialFromCodedStream( if (input->ExpectTag(138)) goto parse_gameListPlayerLeftMessage; break; } - + // optional .GameListPlayerLeftMessage gameListPlayerLeftMessage = 17; case 17: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -22070,7 +23369,7 @@ bool PokerTHMessage::MergePartialFromCodedStream( if (input->ExpectTag(146)) goto parse_gameListAdminChangedMessage; break; } - + // optional .GameListAdminChangedMessage gameListAdminChangedMessage = 18; case 18: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -22084,7 +23383,7 @@ bool PokerTHMessage::MergePartialFromCodedStream( if (input->ExpectTag(154)) goto parse_playerInfoRequestMessage; break; } - + // optional .PlayerInfoRequestMessage playerInfoRequestMessage = 19; case 19: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -22098,7 +23397,7 @@ bool PokerTHMessage::MergePartialFromCodedStream( if (input->ExpectTag(162)) goto parse_playerInfoReplyMessage; break; } - + // optional .PlayerInfoReplyMessage playerInfoReplyMessage = 20; case 20: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -22112,7 +23411,7 @@ bool PokerTHMessage::MergePartialFromCodedStream( if (input->ExpectTag(170)) goto parse_subscriptionRequestMessage; break; } - + // optional .SubscriptionRequestMessage subscriptionRequestMessage = 21; case 21: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -22126,7 +23425,7 @@ bool PokerTHMessage::MergePartialFromCodedStream( if (input->ExpectTag(178)) goto parse_joinExistingGameMessage; break; } - + // optional .JoinExistingGameMessage joinExistingGameMessage = 22; case 22: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -22140,7 +23439,7 @@ bool PokerTHMessage::MergePartialFromCodedStream( if (input->ExpectTag(186)) goto parse_joinNewGameMessage; break; } - + // optional .JoinNewGameMessage joinNewGameMessage = 23; case 23: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -22154,7 +23453,7 @@ bool PokerTHMessage::MergePartialFromCodedStream( if (input->ExpectTag(194)) goto parse_rejoinExistingGameMessage; break; } - + // optional .RejoinExistingGameMessage rejoinExistingGameMessage = 24; case 24: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -22168,7 +23467,7 @@ bool PokerTHMessage::MergePartialFromCodedStream( if (input->ExpectTag(202)) goto parse_joinGameAckMessage; break; } - + // optional .JoinGameAckMessage joinGameAckMessage = 25; case 25: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -22182,7 +23481,7 @@ bool PokerTHMessage::MergePartialFromCodedStream( if (input->ExpectTag(210)) goto parse_joinGameFailedMessage; break; } - + // optional .JoinGameFailedMessage joinGameFailedMessage = 26; case 26: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -22196,7 +23495,7 @@ bool PokerTHMessage::MergePartialFromCodedStream( if (input->ExpectTag(218)) goto parse_gamePlayerJoinedMessage; break; } - + // optional .GamePlayerJoinedMessage gamePlayerJoinedMessage = 27; case 27: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -22210,7 +23509,7 @@ bool PokerTHMessage::MergePartialFromCodedStream( if (input->ExpectTag(226)) goto parse_gamePlayerLeftMessage; break; } - + // optional .GamePlayerLeftMessage gamePlayerLeftMessage = 28; case 28: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -22224,7 +23523,7 @@ bool PokerTHMessage::MergePartialFromCodedStream( if (input->ExpectTag(234)) goto parse_gameAdminChangedMessage; break; } - + // optional .GameAdminChangedMessage gameAdminChangedMessage = 29; case 29: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -22238,7 +23537,7 @@ bool PokerTHMessage::MergePartialFromCodedStream( if (input->ExpectTag(242)) goto parse_removedFromGameMessage; break; } - + // optional .RemovedFromGameMessage removedFromGameMessage = 30; case 30: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -22252,7 +23551,7 @@ bool PokerTHMessage::MergePartialFromCodedStream( if (input->ExpectTag(250)) goto parse_kickPlayerRequestMessage; break; } - + // optional .KickPlayerRequestMessage kickPlayerRequestMessage = 31; case 31: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -22266,7 +23565,7 @@ bool PokerTHMessage::MergePartialFromCodedStream( if (input->ExpectTag(258)) goto parse_leaveGameRequestMessage; break; } - + // optional .LeaveGameRequestMessage leaveGameRequestMessage = 32; case 32: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -22280,7 +23579,7 @@ bool PokerTHMessage::MergePartialFromCodedStream( if (input->ExpectTag(266)) goto parse_invitePlayerToGameMessage; break; } - + // optional .InvitePlayerToGameMessage invitePlayerToGameMessage = 33; case 33: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -22294,7 +23593,7 @@ bool PokerTHMessage::MergePartialFromCodedStream( if (input->ExpectTag(274)) goto parse_inviteNotifyMessage; break; } - + // optional .InviteNotifyMessage inviteNotifyMessage = 34; case 34: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -22308,7 +23607,7 @@ bool PokerTHMessage::MergePartialFromCodedStream( if (input->ExpectTag(282)) goto parse_rejectGameInvitationMessage; break; } - + // optional .RejectGameInvitationMessage rejectGameInvitationMessage = 35; case 35: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -22322,7 +23621,7 @@ bool PokerTHMessage::MergePartialFromCodedStream( if (input->ExpectTag(290)) goto parse_rejectInvNotifyMessage; break; } - + // optional .RejectInvNotifyMessage rejectInvNotifyMessage = 36; case 36: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -22336,7 +23635,7 @@ bool PokerTHMessage::MergePartialFromCodedStream( if (input->ExpectTag(298)) goto parse_startEventMessage; break; } - + // optional .StartEventMessage startEventMessage = 37; case 37: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -22350,7 +23649,7 @@ bool PokerTHMessage::MergePartialFromCodedStream( if (input->ExpectTag(306)) goto parse_startEventAckMessage; break; } - + // optional .StartEventAckMessage startEventAckMessage = 38; case 38: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -22364,7 +23663,7 @@ bool PokerTHMessage::MergePartialFromCodedStream( if (input->ExpectTag(314)) goto parse_gameStartInitialMessage; break; } - + // optional .GameStartInitialMessage gameStartInitialMessage = 39; case 39: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -22378,7 +23677,7 @@ bool PokerTHMessage::MergePartialFromCodedStream( if (input->ExpectTag(322)) goto parse_gameStartRejoinMessage; break; } - + // optional .GameStartRejoinMessage gameStartRejoinMessage = 40; case 40: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -22392,7 +23691,7 @@ bool PokerTHMessage::MergePartialFromCodedStream( if (input->ExpectTag(330)) goto parse_handStartMessage; break; } - + // optional .HandStartMessage handStartMessage = 41; case 41: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -22406,7 +23705,7 @@ bool PokerTHMessage::MergePartialFromCodedStream( if (input->ExpectTag(338)) goto parse_playersTurnMessage; break; } - + // optional .PlayersTurnMessage playersTurnMessage = 42; case 42: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -22420,7 +23719,7 @@ bool PokerTHMessage::MergePartialFromCodedStream( if (input->ExpectTag(346)) goto parse_myActionRequestMessage; break; } - + // optional .MyActionRequestMessage myActionRequestMessage = 43; case 43: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -22434,7 +23733,7 @@ bool PokerTHMessage::MergePartialFromCodedStream( if (input->ExpectTag(354)) goto parse_yourActionRejectedMessage; break; } - + // optional .YourActionRejectedMessage yourActionRejectedMessage = 44; case 44: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -22448,7 +23747,7 @@ bool PokerTHMessage::MergePartialFromCodedStream( if (input->ExpectTag(362)) goto parse_playersActionDoneMessage; break; } - + // optional .PlayersActionDoneMessage playersActionDoneMessage = 45; case 45: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -22462,7 +23761,7 @@ bool PokerTHMessage::MergePartialFromCodedStream( if (input->ExpectTag(370)) goto parse_dealFlopCardsMessage; break; } - + // optional .DealFlopCardsMessage dealFlopCardsMessage = 46; case 46: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -22476,7 +23775,7 @@ bool PokerTHMessage::MergePartialFromCodedStream( if (input->ExpectTag(378)) goto parse_dealTurnCardMessage; break; } - + // optional .DealTurnCardMessage dealTurnCardMessage = 47; case 47: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -22490,7 +23789,7 @@ bool PokerTHMessage::MergePartialFromCodedStream( if (input->ExpectTag(386)) goto parse_dealRiverCardMessage; break; } - + // optional .DealRiverCardMessage dealRiverCardMessage = 48; case 48: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -22504,7 +23803,7 @@ bool PokerTHMessage::MergePartialFromCodedStream( if (input->ExpectTag(394)) goto parse_allInShowCardsMessage; break; } - + // optional .AllInShowCardsMessage allInShowCardsMessage = 49; case 49: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -22518,7 +23817,7 @@ bool PokerTHMessage::MergePartialFromCodedStream( if (input->ExpectTag(402)) goto parse_endOfHandShowCardsMessage; break; } - + // optional .EndOfHandShowCardsMessage endOfHandShowCardsMessage = 50; case 50: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -22532,7 +23831,7 @@ bool PokerTHMessage::MergePartialFromCodedStream( if (input->ExpectTag(410)) goto parse_endOfHandHideCardsMessage; break; } - + // optional .EndOfHandHideCardsMessage endOfHandHideCardsMessage = 51; case 51: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -22546,7 +23845,7 @@ bool PokerTHMessage::MergePartialFromCodedStream( if (input->ExpectTag(418)) goto parse_showMyCardsRequestMessage; break; } - + // optional .ShowMyCardsRequestMessage showMyCardsRequestMessage = 52; case 52: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -22560,7 +23859,7 @@ bool PokerTHMessage::MergePartialFromCodedStream( if (input->ExpectTag(426)) goto parse_afterHandShowCardsMessage; break; } - + // optional .AfterHandShowCardsMessage afterHandShowCardsMessage = 53; case 53: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -22574,7 +23873,7 @@ bool PokerTHMessage::MergePartialFromCodedStream( if (input->ExpectTag(434)) goto parse_endOfGameMessage; break; } - + // optional .EndOfGameMessage endOfGameMessage = 54; case 54: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -22588,7 +23887,7 @@ bool PokerTHMessage::MergePartialFromCodedStream( if (input->ExpectTag(442)) goto parse_playerIdChangedMessage; break; } - + // optional .PlayerIdChangedMessage playerIdChangedMessage = 55; case 55: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -22602,7 +23901,7 @@ bool PokerTHMessage::MergePartialFromCodedStream( if (input->ExpectTag(450)) goto parse_askKickPlayerMessage; break; } - + // optional .AskKickPlayerMessage askKickPlayerMessage = 56; case 56: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -22616,7 +23915,7 @@ bool PokerTHMessage::MergePartialFromCodedStream( if (input->ExpectTag(458)) goto parse_askKickDeniedMessage; break; } - + // optional .AskKickDeniedMessage askKickDeniedMessage = 57; case 57: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -22630,7 +23929,7 @@ bool PokerTHMessage::MergePartialFromCodedStream( if (input->ExpectTag(466)) goto parse_startKickPetitionMessage; break; } - + // optional .StartKickPetitionMessage startKickPetitionMessage = 58; case 58: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -22644,7 +23943,7 @@ bool PokerTHMessage::MergePartialFromCodedStream( if (input->ExpectTag(474)) goto parse_voteKickRequestMessage; break; } - + // optional .VoteKickRequestMessage voteKickRequestMessage = 59; case 59: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -22658,7 +23957,7 @@ bool PokerTHMessage::MergePartialFromCodedStream( if (input->ExpectTag(482)) goto parse_voteKickReplyMessage; break; } - + // optional .VoteKickReplyMessage voteKickReplyMessage = 60; case 60: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -22672,7 +23971,7 @@ bool PokerTHMessage::MergePartialFromCodedStream( if (input->ExpectTag(490)) goto parse_kickPetitionUpdateMessage; break; } - + // optional .KickPetitionUpdateMessage kickPetitionUpdateMessage = 61; case 61: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -22686,7 +23985,7 @@ bool PokerTHMessage::MergePartialFromCodedStream( if (input->ExpectTag(498)) goto parse_endKickPetitionMessage; break; } - + // optional .EndKickPetitionMessage endKickPetitionMessage = 62; case 62: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -22700,7 +23999,7 @@ bool PokerTHMessage::MergePartialFromCodedStream( if (input->ExpectTag(506)) goto parse_statisticsMessage; break; } - + // optional .StatisticsMessage statisticsMessage = 63; case 63: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -22714,7 +24013,7 @@ bool PokerTHMessage::MergePartialFromCodedStream( if (input->ExpectTag(514)) goto parse_chatRequestMessage; break; } - + // optional .ChatRequestMessage chatRequestMessage = 64; case 64: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -22728,7 +24027,7 @@ bool PokerTHMessage::MergePartialFromCodedStream( if (input->ExpectTag(522)) goto parse_chatMessage; break; } - + // optional .ChatMessage chatMessage = 65; case 65: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -22742,7 +24041,7 @@ bool PokerTHMessage::MergePartialFromCodedStream( if (input->ExpectTag(530)) goto parse_chatRejectMessage; break; } - + // optional .ChatRejectMessage chatRejectMessage = 66; case 66: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -22756,7 +24055,7 @@ bool PokerTHMessage::MergePartialFromCodedStream( if (input->ExpectTag(538)) goto parse_dialogMessage; break; } - + // optional .DialogMessage dialogMessage = 67; case 67: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -22770,7 +24069,7 @@ bool PokerTHMessage::MergePartialFromCodedStream( if (input->ExpectTag(546)) goto parse_timeoutWarningMessage; break; } - + // optional .TimeoutWarningMessage timeoutWarningMessage = 68; case 68: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -22784,7 +24083,7 @@ bool PokerTHMessage::MergePartialFromCodedStream( if (input->ExpectTag(554)) goto parse_resetTimeoutMessage; break; } - + // optional .ResetTimeoutMessage resetTimeoutMessage = 69; case 69: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -22798,7 +24097,7 @@ bool PokerTHMessage::MergePartialFromCodedStream( if (input->ExpectTag(562)) goto parse_reportAvatarMessage; break; } - + // optional .ReportAvatarMessage reportAvatarMessage = 70; case 70: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -22812,7 +24111,7 @@ bool PokerTHMessage::MergePartialFromCodedStream( if (input->ExpectTag(570)) goto parse_reportAvatarAckMessage; break; } - + // optional .ReportAvatarAckMessage reportAvatarAckMessage = 71; case 71: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -22826,7 +24125,7 @@ bool PokerTHMessage::MergePartialFromCodedStream( if (input->ExpectTag(578)) goto parse_reportGameMessage; break; } - + // optional .ReportGameMessage reportGameMessage = 72; case 72: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -22840,7 +24139,7 @@ bool PokerTHMessage::MergePartialFromCodedStream( if (input->ExpectTag(586)) goto parse_reportGameAckMessage; break; } - + // optional .ReportGameAckMessage reportGameAckMessage = 73; case 73: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -22854,7 +24153,7 @@ bool PokerTHMessage::MergePartialFromCodedStream( if (input->ExpectTag(594)) goto parse_errorMessage; break; } - + // optional .ErrorMessage errorMessage = 74; case 74: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -22868,7 +24167,7 @@ bool PokerTHMessage::MergePartialFromCodedStream( if (input->ExpectTag(602)) goto parse_adminRemoveGameMessage; break; } - + // optional .AdminRemoveGameMessage adminRemoveGameMessage = 75; case 75: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -22882,7 +24181,7 @@ bool PokerTHMessage::MergePartialFromCodedStream( if (input->ExpectTag(610)) goto parse_adminRemoveGameAckMessage; break; } - + // optional .AdminRemoveGameAckMessage adminRemoveGameAckMessage = 76; case 76: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -22896,7 +24195,7 @@ bool PokerTHMessage::MergePartialFromCodedStream( if (input->ExpectTag(618)) goto parse_adminBanPlayerMessage; break; } - + // optional .AdminBanPlayerMessage adminBanPlayerMessage = 77; case 77: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -22910,7 +24209,7 @@ bool PokerTHMessage::MergePartialFromCodedStream( if (input->ExpectTag(626)) goto parse_adminBanPlayerAckMessage; break; } - + // optional .AdminBanPlayerAckMessage adminBanPlayerAckMessage = 78; case 78: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -22924,7 +24223,7 @@ bool PokerTHMessage::MergePartialFromCodedStream( if (input->ExpectTag(634)) goto parse_gameListSpectatorJoinedMessage; break; } - + // optional .GameListSpectatorJoinedMessage gameListSpectatorJoinedMessage = 79; case 79: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -22938,7 +24237,7 @@ bool PokerTHMessage::MergePartialFromCodedStream( if (input->ExpectTag(642)) goto parse_gameListSpectatorLeftMessage; break; } - + // optional .GameListSpectatorLeftMessage gameListSpectatorLeftMessage = 80; case 80: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -22952,7 +24251,7 @@ bool PokerTHMessage::MergePartialFromCodedStream( if (input->ExpectTag(650)) goto parse_gameSpectatorJoinedMessage; break; } - + // optional .GameSpectatorJoinedMessage gameSpectatorJoinedMessage = 81; case 81: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -22966,7 +24265,7 @@ bool PokerTHMessage::MergePartialFromCodedStream( if (input->ExpectTag(658)) goto parse_gameSpectatorLeftMessage; break; } - + // optional .GameSpectatorLeftMessage gameSpectatorLeftMessage = 82; case 82: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -22980,7 +24279,7 @@ bool PokerTHMessage::MergePartialFromCodedStream( if (input->ExpectAtEnd()) return true; break; } - + default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == @@ -23003,554 +24302,554 @@ void PokerTHMessage::SerializeWithCachedSizes( ::google::protobuf::internal::WireFormatLite::WriteEnum( 1, this->messagetype(), output); } - + // optional .AnnounceMessage announceMessage = 2; if (has_announcemessage()) { ::google::protobuf::internal::WireFormatLite::WriteMessage( 2, this->announcemessage(), output); } - + // optional .InitMessage initMessage = 3; if (has_initmessage()) { ::google::protobuf::internal::WireFormatLite::WriteMessage( 3, this->initmessage(), output); } - + // optional .AuthServerChallengeMessage authServerChallengeMessage = 4; if (has_authserverchallengemessage()) { ::google::protobuf::internal::WireFormatLite::WriteMessage( 4, this->authserverchallengemessage(), output); } - + // optional .AuthClientResponseMessage authClientResponseMessage = 5; if (has_authclientresponsemessage()) { ::google::protobuf::internal::WireFormatLite::WriteMessage( 5, this->authclientresponsemessage(), output); } - + // optional .AuthServerVerificationMessage authServerVerificationMessage = 6; if (has_authserververificationmessage()) { ::google::protobuf::internal::WireFormatLite::WriteMessage( 6, this->authserververificationmessage(), output); } - + // optional .InitAckMessage initAckMessage = 7; if (has_initackmessage()) { ::google::protobuf::internal::WireFormatLite::WriteMessage( 7, this->initackmessage(), output); } - + // optional .AvatarRequestMessage avatarRequestMessage = 8; if (has_avatarrequestmessage()) { ::google::protobuf::internal::WireFormatLite::WriteMessage( 8, this->avatarrequestmessage(), output); } - + // optional .AvatarHeaderMessage avatarHeaderMessage = 9; if (has_avatarheadermessage()) { ::google::protobuf::internal::WireFormatLite::WriteMessage( 9, this->avatarheadermessage(), output); } - + // optional .AvatarDataMessage avatarDataMessage = 10; if (has_avatardatamessage()) { ::google::protobuf::internal::WireFormatLite::WriteMessage( 10, this->avatardatamessage(), output); } - + // optional .AvatarEndMessage avatarEndMessage = 11; if (has_avatarendmessage()) { ::google::protobuf::internal::WireFormatLite::WriteMessage( 11, this->avatarendmessage(), output); } - + // optional .UnknownAvatarMessage unknownAvatarMessage = 12; if (has_unknownavatarmessage()) { ::google::protobuf::internal::WireFormatLite::WriteMessage( 12, this->unknownavatarmessage(), output); } - + // optional .PlayerListMessage playerListMessage = 13; if (has_playerlistmessage()) { ::google::protobuf::internal::WireFormatLite::WriteMessage( 13, this->playerlistmessage(), output); } - + // optional .GameListNewMessage gameListNewMessage = 14; if (has_gamelistnewmessage()) { ::google::protobuf::internal::WireFormatLite::WriteMessage( 14, this->gamelistnewmessage(), output); } - + // optional .GameListUpdateMessage gameListUpdateMessage = 15; if (has_gamelistupdatemessage()) { ::google::protobuf::internal::WireFormatLite::WriteMessage( 15, this->gamelistupdatemessage(), output); } - + // optional .GameListPlayerJoinedMessage gameListPlayerJoinedMessage = 16; if (has_gamelistplayerjoinedmessage()) { ::google::protobuf::internal::WireFormatLite::WriteMessage( 16, this->gamelistplayerjoinedmessage(), output); } - + // optional .GameListPlayerLeftMessage gameListPlayerLeftMessage = 17; if (has_gamelistplayerleftmessage()) { ::google::protobuf::internal::WireFormatLite::WriteMessage( 17, this->gamelistplayerleftmessage(), output); } - + // optional .GameListAdminChangedMessage gameListAdminChangedMessage = 18; if (has_gamelistadminchangedmessage()) { ::google::protobuf::internal::WireFormatLite::WriteMessage( 18, this->gamelistadminchangedmessage(), output); } - + // optional .PlayerInfoRequestMessage playerInfoRequestMessage = 19; if (has_playerinforequestmessage()) { ::google::protobuf::internal::WireFormatLite::WriteMessage( 19, this->playerinforequestmessage(), output); } - + // optional .PlayerInfoReplyMessage playerInfoReplyMessage = 20; if (has_playerinforeplymessage()) { ::google::protobuf::internal::WireFormatLite::WriteMessage( 20, this->playerinforeplymessage(), output); } - + // optional .SubscriptionRequestMessage subscriptionRequestMessage = 21; if (has_subscriptionrequestmessage()) { ::google::protobuf::internal::WireFormatLite::WriteMessage( 21, this->subscriptionrequestmessage(), output); } - + // optional .JoinExistingGameMessage joinExistingGameMessage = 22; if (has_joinexistinggamemessage()) { ::google::protobuf::internal::WireFormatLite::WriteMessage( 22, this->joinexistinggamemessage(), output); } - + // optional .JoinNewGameMessage joinNewGameMessage = 23; if (has_joinnewgamemessage()) { ::google::protobuf::internal::WireFormatLite::WriteMessage( 23, this->joinnewgamemessage(), output); } - + // optional .RejoinExistingGameMessage rejoinExistingGameMessage = 24; if (has_rejoinexistinggamemessage()) { ::google::protobuf::internal::WireFormatLite::WriteMessage( 24, this->rejoinexistinggamemessage(), output); } - + // optional .JoinGameAckMessage joinGameAckMessage = 25; if (has_joingameackmessage()) { ::google::protobuf::internal::WireFormatLite::WriteMessage( 25, this->joingameackmessage(), output); } - + // optional .JoinGameFailedMessage joinGameFailedMessage = 26; if (has_joingamefailedmessage()) { ::google::protobuf::internal::WireFormatLite::WriteMessage( 26, this->joingamefailedmessage(), output); } - + // optional .GamePlayerJoinedMessage gamePlayerJoinedMessage = 27; if (has_gameplayerjoinedmessage()) { ::google::protobuf::internal::WireFormatLite::WriteMessage( 27, this->gameplayerjoinedmessage(), output); } - + // optional .GamePlayerLeftMessage gamePlayerLeftMessage = 28; if (has_gameplayerleftmessage()) { ::google::protobuf::internal::WireFormatLite::WriteMessage( 28, this->gameplayerleftmessage(), output); } - + // optional .GameAdminChangedMessage gameAdminChangedMessage = 29; if (has_gameadminchangedmessage()) { ::google::protobuf::internal::WireFormatLite::WriteMessage( 29, this->gameadminchangedmessage(), output); } - + // optional .RemovedFromGameMessage removedFromGameMessage = 30; if (has_removedfromgamemessage()) { ::google::protobuf::internal::WireFormatLite::WriteMessage( 30, this->removedfromgamemessage(), output); } - + // optional .KickPlayerRequestMessage kickPlayerRequestMessage = 31; if (has_kickplayerrequestmessage()) { ::google::protobuf::internal::WireFormatLite::WriteMessage( 31, this->kickplayerrequestmessage(), output); } - + // optional .LeaveGameRequestMessage leaveGameRequestMessage = 32; if (has_leavegamerequestmessage()) { ::google::protobuf::internal::WireFormatLite::WriteMessage( 32, this->leavegamerequestmessage(), output); } - + // optional .InvitePlayerToGameMessage invitePlayerToGameMessage = 33; if (has_inviteplayertogamemessage()) { ::google::protobuf::internal::WireFormatLite::WriteMessage( 33, this->inviteplayertogamemessage(), output); } - + // optional .InviteNotifyMessage inviteNotifyMessage = 34; if (has_invitenotifymessage()) { ::google::protobuf::internal::WireFormatLite::WriteMessage( 34, this->invitenotifymessage(), output); } - + // optional .RejectGameInvitationMessage rejectGameInvitationMessage = 35; if (has_rejectgameinvitationmessage()) { ::google::protobuf::internal::WireFormatLite::WriteMessage( 35, this->rejectgameinvitationmessage(), output); } - + // optional .RejectInvNotifyMessage rejectInvNotifyMessage = 36; if (has_rejectinvnotifymessage()) { ::google::protobuf::internal::WireFormatLite::WriteMessage( 36, this->rejectinvnotifymessage(), output); } - + // optional .StartEventMessage startEventMessage = 37; if (has_starteventmessage()) { ::google::protobuf::internal::WireFormatLite::WriteMessage( 37, this->starteventmessage(), output); } - + // optional .StartEventAckMessage startEventAckMessage = 38; if (has_starteventackmessage()) { ::google::protobuf::internal::WireFormatLite::WriteMessage( 38, this->starteventackmessage(), output); } - + // optional .GameStartInitialMessage gameStartInitialMessage = 39; if (has_gamestartinitialmessage()) { ::google::protobuf::internal::WireFormatLite::WriteMessage( 39, this->gamestartinitialmessage(), output); } - + // optional .GameStartRejoinMessage gameStartRejoinMessage = 40; if (has_gamestartrejoinmessage()) { ::google::protobuf::internal::WireFormatLite::WriteMessage( 40, this->gamestartrejoinmessage(), output); } - + // optional .HandStartMessage handStartMessage = 41; if (has_handstartmessage()) { ::google::protobuf::internal::WireFormatLite::WriteMessage( 41, this->handstartmessage(), output); } - + // optional .PlayersTurnMessage playersTurnMessage = 42; if (has_playersturnmessage()) { ::google::protobuf::internal::WireFormatLite::WriteMessage( 42, this->playersturnmessage(), output); } - + // optional .MyActionRequestMessage myActionRequestMessage = 43; if (has_myactionrequestmessage()) { ::google::protobuf::internal::WireFormatLite::WriteMessage( 43, this->myactionrequestmessage(), output); } - + // optional .YourActionRejectedMessage yourActionRejectedMessage = 44; if (has_youractionrejectedmessage()) { ::google::protobuf::internal::WireFormatLite::WriteMessage( 44, this->youractionrejectedmessage(), output); } - + // optional .PlayersActionDoneMessage playersActionDoneMessage = 45; if (has_playersactiondonemessage()) { ::google::protobuf::internal::WireFormatLite::WriteMessage( 45, this->playersactiondonemessage(), output); } - + // optional .DealFlopCardsMessage dealFlopCardsMessage = 46; if (has_dealflopcardsmessage()) { ::google::protobuf::internal::WireFormatLite::WriteMessage( 46, this->dealflopcardsmessage(), output); } - + // optional .DealTurnCardMessage dealTurnCardMessage = 47; if (has_dealturncardmessage()) { ::google::protobuf::internal::WireFormatLite::WriteMessage( 47, this->dealturncardmessage(), output); } - + // optional .DealRiverCardMessage dealRiverCardMessage = 48; if (has_dealrivercardmessage()) { ::google::protobuf::internal::WireFormatLite::WriteMessage( 48, this->dealrivercardmessage(), output); } - + // optional .AllInShowCardsMessage allInShowCardsMessage = 49; if (has_allinshowcardsmessage()) { ::google::protobuf::internal::WireFormatLite::WriteMessage( 49, this->allinshowcardsmessage(), output); } - + // optional .EndOfHandShowCardsMessage endOfHandShowCardsMessage = 50; if (has_endofhandshowcardsmessage()) { ::google::protobuf::internal::WireFormatLite::WriteMessage( 50, this->endofhandshowcardsmessage(), output); } - + // optional .EndOfHandHideCardsMessage endOfHandHideCardsMessage = 51; if (has_endofhandhidecardsmessage()) { ::google::protobuf::internal::WireFormatLite::WriteMessage( 51, this->endofhandhidecardsmessage(), output); } - + // optional .ShowMyCardsRequestMessage showMyCardsRequestMessage = 52; if (has_showmycardsrequestmessage()) { ::google::protobuf::internal::WireFormatLite::WriteMessage( 52, this->showmycardsrequestmessage(), output); } - + // optional .AfterHandShowCardsMessage afterHandShowCardsMessage = 53; if (has_afterhandshowcardsmessage()) { ::google::protobuf::internal::WireFormatLite::WriteMessage( 53, this->afterhandshowcardsmessage(), output); } - + // optional .EndOfGameMessage endOfGameMessage = 54; if (has_endofgamemessage()) { ::google::protobuf::internal::WireFormatLite::WriteMessage( 54, this->endofgamemessage(), output); } - + // optional .PlayerIdChangedMessage playerIdChangedMessage = 55; if (has_playeridchangedmessage()) { ::google::protobuf::internal::WireFormatLite::WriteMessage( 55, this->playeridchangedmessage(), output); } - + // optional .AskKickPlayerMessage askKickPlayerMessage = 56; if (has_askkickplayermessage()) { ::google::protobuf::internal::WireFormatLite::WriteMessage( 56, this->askkickplayermessage(), output); } - + // optional .AskKickDeniedMessage askKickDeniedMessage = 57; if (has_askkickdeniedmessage()) { ::google::protobuf::internal::WireFormatLite::WriteMessage( 57, this->askkickdeniedmessage(), output); } - + // optional .StartKickPetitionMessage startKickPetitionMessage = 58; if (has_startkickpetitionmessage()) { ::google::protobuf::internal::WireFormatLite::WriteMessage( 58, this->startkickpetitionmessage(), output); } - + // optional .VoteKickRequestMessage voteKickRequestMessage = 59; if (has_votekickrequestmessage()) { ::google::protobuf::internal::WireFormatLite::WriteMessage( 59, this->votekickrequestmessage(), output); } - + // optional .VoteKickReplyMessage voteKickReplyMessage = 60; if (has_votekickreplymessage()) { ::google::protobuf::internal::WireFormatLite::WriteMessage( 60, this->votekickreplymessage(), output); } - + // optional .KickPetitionUpdateMessage kickPetitionUpdateMessage = 61; if (has_kickpetitionupdatemessage()) { ::google::protobuf::internal::WireFormatLite::WriteMessage( 61, this->kickpetitionupdatemessage(), output); } - + // optional .EndKickPetitionMessage endKickPetitionMessage = 62; if (has_endkickpetitionmessage()) { ::google::protobuf::internal::WireFormatLite::WriteMessage( 62, this->endkickpetitionmessage(), output); } - + // optional .StatisticsMessage statisticsMessage = 63; if (has_statisticsmessage()) { ::google::protobuf::internal::WireFormatLite::WriteMessage( 63, this->statisticsmessage(), output); } - + // optional .ChatRequestMessage chatRequestMessage = 64; if (has_chatrequestmessage()) { ::google::protobuf::internal::WireFormatLite::WriteMessage( 64, this->chatrequestmessage(), output); } - + // optional .ChatMessage chatMessage = 65; if (has_chatmessage()) { ::google::protobuf::internal::WireFormatLite::WriteMessage( 65, this->chatmessage(), output); } - + // optional .ChatRejectMessage chatRejectMessage = 66; if (has_chatrejectmessage()) { ::google::protobuf::internal::WireFormatLite::WriteMessage( 66, this->chatrejectmessage(), output); } - + // optional .DialogMessage dialogMessage = 67; if (has_dialogmessage()) { ::google::protobuf::internal::WireFormatLite::WriteMessage( 67, this->dialogmessage(), output); } - + // optional .TimeoutWarningMessage timeoutWarningMessage = 68; if (has_timeoutwarningmessage()) { ::google::protobuf::internal::WireFormatLite::WriteMessage( 68, this->timeoutwarningmessage(), output); } - + // optional .ResetTimeoutMessage resetTimeoutMessage = 69; if (has_resettimeoutmessage()) { ::google::protobuf::internal::WireFormatLite::WriteMessage( 69, this->resettimeoutmessage(), output); } - + // optional .ReportAvatarMessage reportAvatarMessage = 70; if (has_reportavatarmessage()) { ::google::protobuf::internal::WireFormatLite::WriteMessage( 70, this->reportavatarmessage(), output); } - + // optional .ReportAvatarAckMessage reportAvatarAckMessage = 71; if (has_reportavatarackmessage()) { ::google::protobuf::internal::WireFormatLite::WriteMessage( 71, this->reportavatarackmessage(), output); } - + // optional .ReportGameMessage reportGameMessage = 72; if (has_reportgamemessage()) { ::google::protobuf::internal::WireFormatLite::WriteMessage( 72, this->reportgamemessage(), output); } - + // optional .ReportGameAckMessage reportGameAckMessage = 73; if (has_reportgameackmessage()) { ::google::protobuf::internal::WireFormatLite::WriteMessage( 73, this->reportgameackmessage(), output); } - + // optional .ErrorMessage errorMessage = 74; if (has_errormessage()) { ::google::protobuf::internal::WireFormatLite::WriteMessage( 74, this->errormessage(), output); } - + // optional .AdminRemoveGameMessage adminRemoveGameMessage = 75; if (has_adminremovegamemessage()) { ::google::protobuf::internal::WireFormatLite::WriteMessage( 75, this->adminremovegamemessage(), output); } - + // optional .AdminRemoveGameAckMessage adminRemoveGameAckMessage = 76; if (has_adminremovegameackmessage()) { ::google::protobuf::internal::WireFormatLite::WriteMessage( 76, this->adminremovegameackmessage(), output); } - + // optional .AdminBanPlayerMessage adminBanPlayerMessage = 77; if (has_adminbanplayermessage()) { ::google::protobuf::internal::WireFormatLite::WriteMessage( 77, this->adminbanplayermessage(), output); } - + // optional .AdminBanPlayerAckMessage adminBanPlayerAckMessage = 78; if (has_adminbanplayerackmessage()) { ::google::protobuf::internal::WireFormatLite::WriteMessage( 78, this->adminbanplayerackmessage(), output); } - + // optional .GameListSpectatorJoinedMessage gameListSpectatorJoinedMessage = 79; if (has_gamelistspectatorjoinedmessage()) { ::google::protobuf::internal::WireFormatLite::WriteMessage( 79, this->gamelistspectatorjoinedmessage(), output); } - + // optional .GameListSpectatorLeftMessage gameListSpectatorLeftMessage = 80; if (has_gamelistspectatorleftmessage()) { ::google::protobuf::internal::WireFormatLite::WriteMessage( 80, this->gamelistspectatorleftmessage(), output); } - + // optional .GameSpectatorJoinedMessage gameSpectatorJoinedMessage = 81; if (has_gamespectatorjoinedmessage()) { ::google::protobuf::internal::WireFormatLite::WriteMessage( 81, this->gamespectatorjoinedmessage(), output); } - + // optional .GameSpectatorLeftMessage gameSpectatorLeftMessage = 82; if (has_gamespectatorleftmessage()) { ::google::protobuf::internal::WireFormatLite::WriteMessage( 82, this->gamespectatorleftmessage(), output); } - + } int PokerTHMessage::ByteSize() const { int total_size = 0; - + if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // required .PokerTHMessage.PokerTHMessageType messageType = 1; if (has_messagetype()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::EnumSize(this->messagetype()); } - + // optional .AnnounceMessage announceMessage = 2; if (has_announcemessage()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( this->announcemessage()); } - + // optional .InitMessage initMessage = 3; if (has_initmessage()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( this->initmessage()); } - + // optional .AuthServerChallengeMessage authServerChallengeMessage = 4; if (has_authserverchallengemessage()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( this->authserverchallengemessage()); } - + // optional .AuthClientResponseMessage authClientResponseMessage = 5; if (has_authclientresponsemessage()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( this->authclientresponsemessage()); } - + // optional .AuthServerVerificationMessage authServerVerificationMessage = 6; if (has_authserververificationmessage()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( this->authserververificationmessage()); } - + // optional .InitAckMessage initAckMessage = 7; if (has_initackmessage()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( this->initackmessage()); } - + // optional .AvatarRequestMessage avatarRequestMessage = 8; if (has_avatarrequestmessage()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( this->avatarrequestmessage()); } - + } if (_has_bits_[8 / 32] & (0xffu << (8 % 32))) { // optional .AvatarHeaderMessage avatarHeaderMessage = 9; @@ -23559,56 +24858,56 @@ int PokerTHMessage::ByteSize() const { ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( this->avatarheadermessage()); } - + // optional .AvatarDataMessage avatarDataMessage = 10; if (has_avatardatamessage()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( this->avatardatamessage()); } - + // optional .AvatarEndMessage avatarEndMessage = 11; if (has_avatarendmessage()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( this->avatarendmessage()); } - + // optional .UnknownAvatarMessage unknownAvatarMessage = 12; if (has_unknownavatarmessage()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( this->unknownavatarmessage()); } - + // optional .PlayerListMessage playerListMessage = 13; if (has_playerlistmessage()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( this->playerlistmessage()); } - + // optional .GameListNewMessage gameListNewMessage = 14; if (has_gamelistnewmessage()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( this->gamelistnewmessage()); } - + // optional .GameListUpdateMessage gameListUpdateMessage = 15; if (has_gamelistupdatemessage()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( this->gamelistupdatemessage()); } - + // optional .GameListPlayerJoinedMessage gameListPlayerJoinedMessage = 16; if (has_gamelistplayerjoinedmessage()) { total_size += 2 + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( this->gamelistplayerjoinedmessage()); } - + } if (_has_bits_[16 / 32] & (0xffu << (16 % 32))) { // optional .GameListPlayerLeftMessage gameListPlayerLeftMessage = 17; @@ -23617,56 +24916,56 @@ int PokerTHMessage::ByteSize() const { ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( this->gamelistplayerleftmessage()); } - + // optional .GameListAdminChangedMessage gameListAdminChangedMessage = 18; if (has_gamelistadminchangedmessage()) { total_size += 2 + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( this->gamelistadminchangedmessage()); } - + // optional .PlayerInfoRequestMessage playerInfoRequestMessage = 19; if (has_playerinforequestmessage()) { total_size += 2 + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( this->playerinforequestmessage()); } - + // optional .PlayerInfoReplyMessage playerInfoReplyMessage = 20; if (has_playerinforeplymessage()) { total_size += 2 + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( this->playerinforeplymessage()); } - + // optional .SubscriptionRequestMessage subscriptionRequestMessage = 21; if (has_subscriptionrequestmessage()) { total_size += 2 + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( this->subscriptionrequestmessage()); } - + // optional .JoinExistingGameMessage joinExistingGameMessage = 22; if (has_joinexistinggamemessage()) { total_size += 2 + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( this->joinexistinggamemessage()); } - + // optional .JoinNewGameMessage joinNewGameMessage = 23; if (has_joinnewgamemessage()) { total_size += 2 + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( this->joinnewgamemessage()); } - + // optional .RejoinExistingGameMessage rejoinExistingGameMessage = 24; if (has_rejoinexistinggamemessage()) { total_size += 2 + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( this->rejoinexistinggamemessage()); } - + } if (_has_bits_[24 / 32] & (0xffu << (24 % 32))) { // optional .JoinGameAckMessage joinGameAckMessage = 25; @@ -23675,56 +24974,56 @@ int PokerTHMessage::ByteSize() const { ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( this->joingameackmessage()); } - + // optional .JoinGameFailedMessage joinGameFailedMessage = 26; if (has_joingamefailedmessage()) { total_size += 2 + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( this->joingamefailedmessage()); } - + // optional .GamePlayerJoinedMessage gamePlayerJoinedMessage = 27; if (has_gameplayerjoinedmessage()) { total_size += 2 + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( this->gameplayerjoinedmessage()); } - + // optional .GamePlayerLeftMessage gamePlayerLeftMessage = 28; if (has_gameplayerleftmessage()) { total_size += 2 + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( this->gameplayerleftmessage()); } - + // optional .GameAdminChangedMessage gameAdminChangedMessage = 29; if (has_gameadminchangedmessage()) { total_size += 2 + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( this->gameadminchangedmessage()); } - + // optional .RemovedFromGameMessage removedFromGameMessage = 30; if (has_removedfromgamemessage()) { total_size += 2 + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( this->removedfromgamemessage()); } - + // optional .KickPlayerRequestMessage kickPlayerRequestMessage = 31; if (has_kickplayerrequestmessage()) { total_size += 2 + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( this->kickplayerrequestmessage()); } - + // optional .LeaveGameRequestMessage leaveGameRequestMessage = 32; if (has_leavegamerequestmessage()) { total_size += 2 + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( this->leavegamerequestmessage()); } - + } if (_has_bits_[32 / 32] & (0xffu << (32 % 32))) { // optional .InvitePlayerToGameMessage invitePlayerToGameMessage = 33; @@ -23733,56 +25032,56 @@ int PokerTHMessage::ByteSize() const { ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( this->inviteplayertogamemessage()); } - + // optional .InviteNotifyMessage inviteNotifyMessage = 34; if (has_invitenotifymessage()) { total_size += 2 + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( this->invitenotifymessage()); } - + // optional .RejectGameInvitationMessage rejectGameInvitationMessage = 35; if (has_rejectgameinvitationmessage()) { total_size += 2 + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( this->rejectgameinvitationmessage()); } - + // optional .RejectInvNotifyMessage rejectInvNotifyMessage = 36; if (has_rejectinvnotifymessage()) { total_size += 2 + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( this->rejectinvnotifymessage()); } - + // optional .StartEventMessage startEventMessage = 37; if (has_starteventmessage()) { total_size += 2 + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( this->starteventmessage()); } - + // optional .StartEventAckMessage startEventAckMessage = 38; if (has_starteventackmessage()) { total_size += 2 + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( this->starteventackmessage()); } - + // optional .GameStartInitialMessage gameStartInitialMessage = 39; if (has_gamestartinitialmessage()) { total_size += 2 + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( this->gamestartinitialmessage()); } - + // optional .GameStartRejoinMessage gameStartRejoinMessage = 40; if (has_gamestartrejoinmessage()) { total_size += 2 + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( this->gamestartrejoinmessage()); } - + } if (_has_bits_[40 / 32] & (0xffu << (40 % 32))) { // optional .HandStartMessage handStartMessage = 41; @@ -23791,56 +25090,56 @@ int PokerTHMessage::ByteSize() const { ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( this->handstartmessage()); } - + // optional .PlayersTurnMessage playersTurnMessage = 42; if (has_playersturnmessage()) { total_size += 2 + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( this->playersturnmessage()); } - + // optional .MyActionRequestMessage myActionRequestMessage = 43; if (has_myactionrequestmessage()) { total_size += 2 + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( this->myactionrequestmessage()); } - + // optional .YourActionRejectedMessage yourActionRejectedMessage = 44; if (has_youractionrejectedmessage()) { total_size += 2 + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( this->youractionrejectedmessage()); } - + // optional .PlayersActionDoneMessage playersActionDoneMessage = 45; if (has_playersactiondonemessage()) { total_size += 2 + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( this->playersactiondonemessage()); } - + // optional .DealFlopCardsMessage dealFlopCardsMessage = 46; if (has_dealflopcardsmessage()) { total_size += 2 + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( this->dealflopcardsmessage()); } - + // optional .DealTurnCardMessage dealTurnCardMessage = 47; if (has_dealturncardmessage()) { total_size += 2 + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( this->dealturncardmessage()); } - + // optional .DealRiverCardMessage dealRiverCardMessage = 48; if (has_dealrivercardmessage()) { total_size += 2 + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( this->dealrivercardmessage()); } - + } if (_has_bits_[48 / 32] & (0xffu << (48 % 32))) { // optional .AllInShowCardsMessage allInShowCardsMessage = 49; @@ -23849,56 +25148,56 @@ int PokerTHMessage::ByteSize() const { ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( this->allinshowcardsmessage()); } - + // optional .EndOfHandShowCardsMessage endOfHandShowCardsMessage = 50; if (has_endofhandshowcardsmessage()) { total_size += 2 + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( this->endofhandshowcardsmessage()); } - + // optional .EndOfHandHideCardsMessage endOfHandHideCardsMessage = 51; if (has_endofhandhidecardsmessage()) { total_size += 2 + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( this->endofhandhidecardsmessage()); } - + // optional .ShowMyCardsRequestMessage showMyCardsRequestMessage = 52; if (has_showmycardsrequestmessage()) { total_size += 2 + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( this->showmycardsrequestmessage()); } - + // optional .AfterHandShowCardsMessage afterHandShowCardsMessage = 53; if (has_afterhandshowcardsmessage()) { total_size += 2 + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( this->afterhandshowcardsmessage()); } - + // optional .EndOfGameMessage endOfGameMessage = 54; if (has_endofgamemessage()) { total_size += 2 + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( this->endofgamemessage()); } - + // optional .PlayerIdChangedMessage playerIdChangedMessage = 55; if (has_playeridchangedmessage()) { total_size += 2 + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( this->playeridchangedmessage()); } - + // optional .AskKickPlayerMessage askKickPlayerMessage = 56; if (has_askkickplayermessage()) { total_size += 2 + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( this->askkickplayermessage()); } - + } if (_has_bits_[56 / 32] & (0xffu << (56 % 32))) { // optional .AskKickDeniedMessage askKickDeniedMessage = 57; @@ -23907,56 +25206,56 @@ int PokerTHMessage::ByteSize() const { ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( this->askkickdeniedmessage()); } - + // optional .StartKickPetitionMessage startKickPetitionMessage = 58; if (has_startkickpetitionmessage()) { total_size += 2 + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( this->startkickpetitionmessage()); } - + // optional .VoteKickRequestMessage voteKickRequestMessage = 59; if (has_votekickrequestmessage()) { total_size += 2 + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( this->votekickrequestmessage()); } - + // optional .VoteKickReplyMessage voteKickReplyMessage = 60; if (has_votekickreplymessage()) { total_size += 2 + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( this->votekickreplymessage()); } - + // optional .KickPetitionUpdateMessage kickPetitionUpdateMessage = 61; if (has_kickpetitionupdatemessage()) { total_size += 2 + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( this->kickpetitionupdatemessage()); } - + // optional .EndKickPetitionMessage endKickPetitionMessage = 62; if (has_endkickpetitionmessage()) { total_size += 2 + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( this->endkickpetitionmessage()); } - + // optional .StatisticsMessage statisticsMessage = 63; if (has_statisticsmessage()) { total_size += 2 + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( this->statisticsmessage()); } - + // optional .ChatRequestMessage chatRequestMessage = 64; if (has_chatrequestmessage()) { total_size += 2 + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( this->chatrequestmessage()); } - + } if (_has_bits_[64 / 32] & (0xffu << (64 % 32))) { // optional .ChatMessage chatMessage = 65; @@ -23965,56 +25264,56 @@ int PokerTHMessage::ByteSize() const { ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( this->chatmessage()); } - + // optional .ChatRejectMessage chatRejectMessage = 66; if (has_chatrejectmessage()) { total_size += 2 + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( this->chatrejectmessage()); } - + // optional .DialogMessage dialogMessage = 67; if (has_dialogmessage()) { total_size += 2 + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( this->dialogmessage()); } - + // optional .TimeoutWarningMessage timeoutWarningMessage = 68; if (has_timeoutwarningmessage()) { total_size += 2 + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( this->timeoutwarningmessage()); } - + // optional .ResetTimeoutMessage resetTimeoutMessage = 69; if (has_resettimeoutmessage()) { total_size += 2 + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( this->resettimeoutmessage()); } - + // optional .ReportAvatarMessage reportAvatarMessage = 70; if (has_reportavatarmessage()) { total_size += 2 + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( this->reportavatarmessage()); } - + // optional .ReportAvatarAckMessage reportAvatarAckMessage = 71; if (has_reportavatarackmessage()) { total_size += 2 + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( this->reportavatarackmessage()); } - + // optional .ReportGameMessage reportGameMessage = 72; if (has_reportgamemessage()) { total_size += 2 + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( this->reportgamemessage()); } - + } if (_has_bits_[72 / 32] & (0xffu << (72 % 32))) { // optional .ReportGameAckMessage reportGameAckMessage = 73; @@ -24023,56 +25322,56 @@ int PokerTHMessage::ByteSize() const { ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( this->reportgameackmessage()); } - + // optional .ErrorMessage errorMessage = 74; if (has_errormessage()) { total_size += 2 + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( this->errormessage()); } - + // optional .AdminRemoveGameMessage adminRemoveGameMessage = 75; if (has_adminremovegamemessage()) { total_size += 2 + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( this->adminremovegamemessage()); } - + // optional .AdminRemoveGameAckMessage adminRemoveGameAckMessage = 76; if (has_adminremovegameackmessage()) { total_size += 2 + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( this->adminremovegameackmessage()); } - + // optional .AdminBanPlayerMessage adminBanPlayerMessage = 77; if (has_adminbanplayermessage()) { total_size += 2 + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( this->adminbanplayermessage()); } - + // optional .AdminBanPlayerAckMessage adminBanPlayerAckMessage = 78; if (has_adminbanplayerackmessage()) { total_size += 2 + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( this->adminbanplayerackmessage()); } - + // optional .GameListSpectatorJoinedMessage gameListSpectatorJoinedMessage = 79; if (has_gamelistspectatorjoinedmessage()) { total_size += 2 + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( this->gamelistspectatorjoinedmessage()); } - + // optional .GameListSpectatorLeftMessage gameListSpectatorLeftMessage = 80; if (has_gamelistspectatorleftmessage()) { total_size += 2 + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( this->gamelistspectatorleftmessage()); } - + } if (_has_bits_[80 / 32] & (0xffu << (80 % 32))) { // optional .GameSpectatorJoinedMessage gameSpectatorJoinedMessage = 81; @@ -24081,14 +25380,14 @@ int PokerTHMessage::ByteSize() const { ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( this->gamespectatorjoinedmessage()); } - + // optional .GameSpectatorLeftMessage gameSpectatorLeftMessage = 82; if (has_gamespectatorleftmessage()) { total_size += 2 + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( this->gamespectatorleftmessage()); } - + } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; @@ -24381,7 +25680,7 @@ void PokerTHMessage::CopyFrom(const PokerTHMessage& from) { bool PokerTHMessage::IsInitialized() const { if ((_has_bits_[0] & 0x00000001) != 0x00000001) return false; - + if (has_announcemessage()) { if (!this->announcemessage().IsInitialized()) return false; } diff --git a/src/third_party/protobuf/pokerth.pb.h b/src/third_party/protobuf/pokerth.pb.h index feb0c9a9..c8e237b3 100644 --- a/src/third_party/protobuf/pokerth.pb.h +++ b/src/third_party/protobuf/pokerth.pb.h @@ -8,18 +8,19 @@ #include -#if GOOGLE_PROTOBUF_VERSION < 2004000 +#if GOOGLE_PROTOBUF_VERSION < 2005000 #error This file was generated by a newer version of protoc which is #error incompatible with your Protocol Buffer headers. Please update #error your headers. #endif -#if 2004001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION +#if 2005000 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION #error This file was generated by an older version of protoc which is #error incompatible with your Protocol Buffer headers. Please #error regenerate this file with a newer version of protoc. #endif #include +#include #include #include // @@protoc_insertion_point(includes) @@ -545,27 +546,37 @@ class NetGameInfo : public ::google::protobuf::MessageLite { public: NetGameInfo(); virtual ~NetGameInfo(); - + NetGameInfo(const NetGameInfo& from); - + inline NetGameInfo& operator=(const NetGameInfo& from) { CopyFrom(from); return *this; } - + static const NetGameInfo& default_instance(); - + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + // Returns the internal default instance pointer. This function can + // return NULL thus should not be used by the user. This is intended + // for Protobuf internal code. Please use default_instance() declared + // above instead. + static inline const NetGameInfo* internal_default_instance() { + return default_instance_; + } + #endif + void Swap(NetGameInfo* other); - + // implements Message ---------------------------------------------- - + NetGameInfo* New() const; void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from); void CopyFrom(const NetGameInfo& from); void MergeFrom(const NetGameInfo& from); void Clear(); bool IsInitialized() const; - + int ByteSize() const; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input); @@ -577,11 +588,11 @@ class NetGameInfo : public ::google::protobuf::MessageLite { void SharedDtor(); void SetCachedSize(int size) const; public: - + ::std::string GetTypeName() const; - + // nested types ---------------------------------------------------- - + typedef NetGameInfo_NetGameType NetGameType; static const NetGameType normalGame = NetGameInfo_NetGameType_normalGame; static const NetGameType registeredOnlyGame = NetGameInfo_NetGameType_registeredOnlyGame; @@ -596,7 +607,7 @@ class NetGameInfo : public ::google::protobuf::MessageLite { NetGameInfo_NetGameType_NetGameType_MAX; static const int NetGameType_ARRAYSIZE = NetGameInfo_NetGameType_NetGameType_ARRAYSIZE; - + typedef NetGameInfo_RaiseIntervalMode RaiseIntervalMode; static const RaiseIntervalMode raiseOnHandNum = NetGameInfo_RaiseIntervalMode_raiseOnHandNum; static const RaiseIntervalMode raiseOnMinutes = NetGameInfo_RaiseIntervalMode_raiseOnMinutes; @@ -609,7 +620,7 @@ class NetGameInfo : public ::google::protobuf::MessageLite { NetGameInfo_RaiseIntervalMode_RaiseIntervalMode_MAX; static const int RaiseIntervalMode_ARRAYSIZE = NetGameInfo_RaiseIntervalMode_RaiseIntervalMode_ARRAYSIZE; - + typedef NetGameInfo_EndRaiseMode EndRaiseMode; static const EndRaiseMode doubleBlinds = NetGameInfo_EndRaiseMode_doubleBlinds; static const EndRaiseMode raiseByEndValue = NetGameInfo_EndRaiseMode_raiseByEndValue; @@ -623,9 +634,9 @@ class NetGameInfo : public ::google::protobuf::MessageLite { NetGameInfo_EndRaiseMode_EndRaiseMode_MAX; static const int EndRaiseMode_ARRAYSIZE = NetGameInfo_EndRaiseMode_EndRaiseMode_ARRAYSIZE; - + // accessors ------------------------------------------------------- - + // required string gameName = 1; inline bool has_gamename() const; inline void clear_gamename(); @@ -636,91 +647,92 @@ class NetGameInfo : public ::google::protobuf::MessageLite { inline void set_gamename(const char* value, size_t size); inline ::std::string* mutable_gamename(); inline ::std::string* release_gamename(); - + inline void set_allocated_gamename(::std::string* gamename); + // required .NetGameInfo.NetGameType netGameType = 2; inline bool has_netgametype() const; inline void clear_netgametype(); static const int kNetGameTypeFieldNumber = 2; inline ::NetGameInfo_NetGameType netgametype() const; inline void set_netgametype(::NetGameInfo_NetGameType value); - + // required uint32 maxNumPlayers = 3; inline bool has_maxnumplayers() const; inline void clear_maxnumplayers(); static const int kMaxNumPlayersFieldNumber = 3; inline ::google::protobuf::uint32 maxnumplayers() const; inline void set_maxnumplayers(::google::protobuf::uint32 value); - + // required .NetGameInfo.RaiseIntervalMode raiseIntervalMode = 4; inline bool has_raiseintervalmode() const; inline void clear_raiseintervalmode(); static const int kRaiseIntervalModeFieldNumber = 4; inline ::NetGameInfo_RaiseIntervalMode raiseintervalmode() const; inline void set_raiseintervalmode(::NetGameInfo_RaiseIntervalMode value); - + // optional uint32 raiseEveryHands = 5; inline bool has_raiseeveryhands() const; inline void clear_raiseeveryhands(); static const int kRaiseEveryHandsFieldNumber = 5; inline ::google::protobuf::uint32 raiseeveryhands() const; inline void set_raiseeveryhands(::google::protobuf::uint32 value); - + // optional uint32 raiseEveryMinutes = 6; inline bool has_raiseeveryminutes() const; inline void clear_raiseeveryminutes(); static const int kRaiseEveryMinutesFieldNumber = 6; inline ::google::protobuf::uint32 raiseeveryminutes() const; inline void set_raiseeveryminutes(::google::protobuf::uint32 value); - + // required .NetGameInfo.EndRaiseMode endRaiseMode = 7; inline bool has_endraisemode() const; inline void clear_endraisemode(); static const int kEndRaiseModeFieldNumber = 7; inline ::NetGameInfo_EndRaiseMode endraisemode() const; inline void set_endraisemode(::NetGameInfo_EndRaiseMode value); - + // optional uint32 endRaiseSmallBlindValue = 8; inline bool has_endraisesmallblindvalue() const; inline void clear_endraisesmallblindvalue(); static const int kEndRaiseSmallBlindValueFieldNumber = 8; inline ::google::protobuf::uint32 endraisesmallblindvalue() const; inline void set_endraisesmallblindvalue(::google::protobuf::uint32 value); - + // required uint32 proposedGuiSpeed = 9; inline bool has_proposedguispeed() const; inline void clear_proposedguispeed(); static const int kProposedGuiSpeedFieldNumber = 9; inline ::google::protobuf::uint32 proposedguispeed() const; inline void set_proposedguispeed(::google::protobuf::uint32 value); - + // required uint32 delayBetweenHands = 10; inline bool has_delaybetweenhands() const; inline void clear_delaybetweenhands(); static const int kDelayBetweenHandsFieldNumber = 10; inline ::google::protobuf::uint32 delaybetweenhands() const; inline void set_delaybetweenhands(::google::protobuf::uint32 value); - + // required uint32 playerActionTimeout = 11; inline bool has_playeractiontimeout() const; inline void clear_playeractiontimeout(); static const int kPlayerActionTimeoutFieldNumber = 11; inline ::google::protobuf::uint32 playeractiontimeout() const; inline void set_playeractiontimeout(::google::protobuf::uint32 value); - + // required uint32 firstSmallBlind = 12; inline bool has_firstsmallblind() const; inline void clear_firstsmallblind(); static const int kFirstSmallBlindFieldNumber = 12; inline ::google::protobuf::uint32 firstsmallblind() const; inline void set_firstsmallblind(::google::protobuf::uint32 value); - + // required uint32 startMoney = 13; inline bool has_startmoney() const; inline void clear_startmoney(); static const int kStartMoneyFieldNumber = 13; inline ::google::protobuf::uint32 startmoney() const; inline void set_startmoney(::google::protobuf::uint32 value); - + // repeated uint32 manualBlinds = 14 [packed = true]; inline int manualblinds_size() const; inline void clear_manualblinds(); @@ -732,7 +744,7 @@ class NetGameInfo : public ::google::protobuf::MessageLite { manualblinds() const; inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >* mutable_manualblinds(); - + // @@protoc_insertion_point(class_scope:NetGameInfo) private: inline void set_has_gamename(); @@ -761,7 +773,7 @@ class NetGameInfo : public ::google::protobuf::MessageLite { inline void clear_has_firstsmallblind(); inline void set_has_startmoney(); inline void clear_has_startmoney(); - + ::std::string* gamename_; int netgametype_; ::google::protobuf::uint32 maxnumplayers_; @@ -777,14 +789,18 @@ class NetGameInfo : public ::google::protobuf::MessageLite { ::google::protobuf::uint32 startmoney_; ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > manualblinds_; mutable int _manualblinds_cached_byte_size_; - + mutable int _cached_size_; ::google::protobuf::uint32 _has_bits_[(14 + 31) / 32]; - + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + friend void protobuf_AddDesc_pokerth_2eproto_impl(); + #else friend void protobuf_AddDesc_pokerth_2eproto(); + #endif friend void protobuf_AssignDesc_pokerth_2eproto(); friend void protobuf_ShutdownFile_pokerth_2eproto(); - + void InitAsDefaultInstance(); static NetGameInfo* default_instance_; }; @@ -794,27 +810,37 @@ class PlayerResult : public ::google::protobuf::MessageLite { public: PlayerResult(); virtual ~PlayerResult(); - + PlayerResult(const PlayerResult& from); - + inline PlayerResult& operator=(const PlayerResult& from) { CopyFrom(from); return *this; } - + static const PlayerResult& default_instance(); - + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + // Returns the internal default instance pointer. This function can + // return NULL thus should not be used by the user. This is intended + // for Protobuf internal code. Please use default_instance() declared + // above instead. + static inline const PlayerResult* internal_default_instance() { + return default_instance_; + } + #endif + void Swap(PlayerResult* other); - + // implements Message ---------------------------------------------- - + PlayerResult* New() const; void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from); void CopyFrom(const PlayerResult& from); void MergeFrom(const PlayerResult& from); void Clear(); bool IsInitialized() const; - + int ByteSize() const; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input); @@ -826,34 +852,34 @@ class PlayerResult : public ::google::protobuf::MessageLite { void SharedDtor(); void SetCachedSize(int size) const; public: - + ::std::string GetTypeName() const; - + // nested types ---------------------------------------------------- - + // accessors ------------------------------------------------------- - + // required uint32 playerId = 1; inline bool has_playerid() const; inline void clear_playerid(); static const int kPlayerIdFieldNumber = 1; inline ::google::protobuf::uint32 playerid() const; inline void set_playerid(::google::protobuf::uint32 value); - + // required uint32 resultCard1 = 2; inline bool has_resultcard1() const; inline void clear_resultcard1(); static const int kResultCard1FieldNumber = 2; inline ::google::protobuf::uint32 resultcard1() const; inline void set_resultcard1(::google::protobuf::uint32 value); - + // required uint32 resultCard2 = 3; inline bool has_resultcard2() const; inline void clear_resultcard2(); static const int kResultCard2FieldNumber = 3; inline ::google::protobuf::uint32 resultcard2() const; inline void set_resultcard2(::google::protobuf::uint32 value); - + // repeated uint32 bestHandPosition = 4 [packed = true]; inline int besthandposition_size() const; inline void clear_besthandposition(); @@ -865,28 +891,28 @@ class PlayerResult : public ::google::protobuf::MessageLite { besthandposition() const; inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >* mutable_besthandposition(); - + // required uint32 moneyWon = 5; inline bool has_moneywon() const; inline void clear_moneywon(); static const int kMoneyWonFieldNumber = 5; inline ::google::protobuf::uint32 moneywon() const; inline void set_moneywon(::google::protobuf::uint32 value); - + // required uint32 playerMoney = 6; inline bool has_playermoney() const; inline void clear_playermoney(); static const int kPlayerMoneyFieldNumber = 6; inline ::google::protobuf::uint32 playermoney() const; inline void set_playermoney(::google::protobuf::uint32 value); - + // optional uint32 cardsValue = 7; inline bool has_cardsvalue() const; inline void clear_cardsvalue(); static const int kCardsValueFieldNumber = 7; inline ::google::protobuf::uint32 cardsvalue() const; inline void set_cardsvalue(::google::protobuf::uint32 value); - + // @@protoc_insertion_point(class_scope:PlayerResult) private: inline void set_has_playerid(); @@ -901,7 +927,7 @@ class PlayerResult : public ::google::protobuf::MessageLite { inline void clear_has_playermoney(); inline void set_has_cardsvalue(); inline void clear_has_cardsvalue(); - + ::google::protobuf::uint32 playerid_; ::google::protobuf::uint32 resultcard1_; ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > besthandposition_; @@ -910,14 +936,18 @@ class PlayerResult : public ::google::protobuf::MessageLite { ::google::protobuf::uint32 moneywon_; ::google::protobuf::uint32 playermoney_; ::google::protobuf::uint32 cardsvalue_; - + mutable int _cached_size_; ::google::protobuf::uint32 _has_bits_[(7 + 31) / 32]; - + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + friend void protobuf_AddDesc_pokerth_2eproto_impl(); + #else friend void protobuf_AddDesc_pokerth_2eproto(); + #endif friend void protobuf_AssignDesc_pokerth_2eproto(); friend void protobuf_ShutdownFile_pokerth_2eproto(); - + void InitAsDefaultInstance(); static PlayerResult* default_instance_; }; @@ -927,27 +957,37 @@ class AnnounceMessage_Version : public ::google::protobuf::MessageLite { public: AnnounceMessage_Version(); virtual ~AnnounceMessage_Version(); - + AnnounceMessage_Version(const AnnounceMessage_Version& from); - + inline AnnounceMessage_Version& operator=(const AnnounceMessage_Version& from) { CopyFrom(from); return *this; } - + static const AnnounceMessage_Version& default_instance(); - + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + // Returns the internal default instance pointer. This function can + // return NULL thus should not be used by the user. This is intended + // for Protobuf internal code. Please use default_instance() declared + // above instead. + static inline const AnnounceMessage_Version* internal_default_instance() { + return default_instance_; + } + #endif + void Swap(AnnounceMessage_Version* other); - + // implements Message ---------------------------------------------- - + AnnounceMessage_Version* New() const; void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from); void CopyFrom(const AnnounceMessage_Version& from); void MergeFrom(const AnnounceMessage_Version& from); void Clear(); bool IsInitialized() const; - + int ByteSize() const; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input); @@ -959,44 +999,48 @@ class AnnounceMessage_Version : public ::google::protobuf::MessageLite { void SharedDtor(); void SetCachedSize(int size) const; public: - + ::std::string GetTypeName() const; - + // nested types ---------------------------------------------------- - + // accessors ------------------------------------------------------- - + // required uint32 majorVersion = 1; inline bool has_majorversion() const; inline void clear_majorversion(); static const int kMajorVersionFieldNumber = 1; inline ::google::protobuf::uint32 majorversion() const; inline void set_majorversion(::google::protobuf::uint32 value); - + // required uint32 minorVersion = 2; inline bool has_minorversion() const; inline void clear_minorversion(); static const int kMinorVersionFieldNumber = 2; inline ::google::protobuf::uint32 minorversion() const; inline void set_minorversion(::google::protobuf::uint32 value); - + // @@protoc_insertion_point(class_scope:AnnounceMessage.Version) private: inline void set_has_majorversion(); inline void clear_has_majorversion(); inline void set_has_minorversion(); inline void clear_has_minorversion(); - + ::google::protobuf::uint32 majorversion_; ::google::protobuf::uint32 minorversion_; - + mutable int _cached_size_; ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32]; - + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + friend void protobuf_AddDesc_pokerth_2eproto_impl(); + #else friend void protobuf_AddDesc_pokerth_2eproto(); + #endif friend void protobuf_AssignDesc_pokerth_2eproto(); friend void protobuf_ShutdownFile_pokerth_2eproto(); - + void InitAsDefaultInstance(); static AnnounceMessage_Version* default_instance_; }; @@ -1006,27 +1050,37 @@ class AnnounceMessage : public ::google::protobuf::MessageLite { public: AnnounceMessage(); virtual ~AnnounceMessage(); - + AnnounceMessage(const AnnounceMessage& from); - + inline AnnounceMessage& operator=(const AnnounceMessage& from) { CopyFrom(from); return *this; } - + static const AnnounceMessage& default_instance(); - + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + // Returns the internal default instance pointer. This function can + // return NULL thus should not be used by the user. This is intended + // for Protobuf internal code. Please use default_instance() declared + // above instead. + static inline const AnnounceMessage* internal_default_instance() { + return default_instance_; + } + #endif + void Swap(AnnounceMessage* other); - + // implements Message ---------------------------------------------- - + AnnounceMessage* New() const; void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from); void CopyFrom(const AnnounceMessage& from); void MergeFrom(const AnnounceMessage& from); void Clear(); bool IsInitialized() const; - + int ByteSize() const; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input); @@ -1038,13 +1092,13 @@ class AnnounceMessage : public ::google::protobuf::MessageLite { void SharedDtor(); void SetCachedSize(int size) const; public: - + ::std::string GetTypeName() const; - + // nested types ---------------------------------------------------- - + typedef AnnounceMessage_Version Version; - + typedef AnnounceMessage_ServerType ServerType; static const ServerType serverTypeLAN = AnnounceMessage_ServerType_serverTypeLAN; static const ServerType serverTypeInternetNoAuth = AnnounceMessage_ServerType_serverTypeInternetNoAuth; @@ -1058,9 +1112,9 @@ class AnnounceMessage : public ::google::protobuf::MessageLite { AnnounceMessage_ServerType_ServerType_MAX; static const int ServerType_ARRAYSIZE = AnnounceMessage_ServerType_ServerType_ARRAYSIZE; - + // accessors ------------------------------------------------------- - + // required .AnnounceMessage.Version protocolVersion = 1; inline bool has_protocolversion() const; inline void clear_protocolversion(); @@ -1068,7 +1122,8 @@ class AnnounceMessage : public ::google::protobuf::MessageLite { inline const ::AnnounceMessage_Version& protocolversion() const; inline ::AnnounceMessage_Version* mutable_protocolversion(); inline ::AnnounceMessage_Version* release_protocolversion(); - + inline void set_allocated_protocolversion(::AnnounceMessage_Version* protocolversion); + // required .AnnounceMessage.Version latestGameVersion = 2; inline bool has_latestgameversion() const; inline void clear_latestgameversion(); @@ -1076,28 +1131,29 @@ class AnnounceMessage : public ::google::protobuf::MessageLite { inline const ::AnnounceMessage_Version& latestgameversion() const; inline ::AnnounceMessage_Version* mutable_latestgameversion(); inline ::AnnounceMessage_Version* release_latestgameversion(); - + inline void set_allocated_latestgameversion(::AnnounceMessage_Version* latestgameversion); + // required uint32 latestBetaRevision = 3; inline bool has_latestbetarevision() const; inline void clear_latestbetarevision(); static const int kLatestBetaRevisionFieldNumber = 3; inline ::google::protobuf::uint32 latestbetarevision() const; inline void set_latestbetarevision(::google::protobuf::uint32 value); - + // required .AnnounceMessage.ServerType serverType = 4; inline bool has_servertype() const; inline void clear_servertype(); static const int kServerTypeFieldNumber = 4; inline ::AnnounceMessage_ServerType servertype() const; inline void set_servertype(::AnnounceMessage_ServerType value); - + // required uint32 numPlayersOnServer = 5; inline bool has_numplayersonserver() const; inline void clear_numplayersonserver(); static const int kNumPlayersOnServerFieldNumber = 5; inline ::google::protobuf::uint32 numplayersonserver() const; inline void set_numplayersonserver(::google::protobuf::uint32 value); - + // @@protoc_insertion_point(class_scope:AnnounceMessage) private: inline void set_has_protocolversion(); @@ -1110,20 +1166,24 @@ class AnnounceMessage : public ::google::protobuf::MessageLite { inline void clear_has_servertype(); inline void set_has_numplayersonserver(); inline void clear_has_numplayersonserver(); - + ::AnnounceMessage_Version* protocolversion_; ::AnnounceMessage_Version* latestgameversion_; ::google::protobuf::uint32 latestbetarevision_; int servertype_; ::google::protobuf::uint32 numplayersonserver_; - + mutable int _cached_size_; ::google::protobuf::uint32 _has_bits_[(5 + 31) / 32]; - + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + friend void protobuf_AddDesc_pokerth_2eproto_impl(); + #else friend void protobuf_AddDesc_pokerth_2eproto(); + #endif friend void protobuf_AssignDesc_pokerth_2eproto(); friend void protobuf_ShutdownFile_pokerth_2eproto(); - + void InitAsDefaultInstance(); static AnnounceMessage* default_instance_; }; @@ -1133,27 +1193,37 @@ class InitMessage : public ::google::protobuf::MessageLite { public: InitMessage(); virtual ~InitMessage(); - + InitMessage(const InitMessage& from); - + inline InitMessage& operator=(const InitMessage& from) { CopyFrom(from); return *this; } - + static const InitMessage& default_instance(); - + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + // Returns the internal default instance pointer. This function can + // return NULL thus should not be used by the user. This is intended + // for Protobuf internal code. Please use default_instance() declared + // above instead. + static inline const InitMessage* internal_default_instance() { + return default_instance_; + } + #endif + void Swap(InitMessage* other); - + // implements Message ---------------------------------------------- - + InitMessage* New() const; void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from); void CopyFrom(const InitMessage& from); void MergeFrom(const InitMessage& from); void Clear(); bool IsInitialized() const; - + int ByteSize() const; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input); @@ -1165,11 +1235,11 @@ class InitMessage : public ::google::protobuf::MessageLite { void SharedDtor(); void SetCachedSize(int size) const; public: - + ::std::string GetTypeName() const; - + // nested types ---------------------------------------------------- - + typedef InitMessage_LoginType LoginType; static const LoginType guestLogin = InitMessage_LoginType_guestLogin; static const LoginType authenticatedLogin = InitMessage_LoginType_authenticatedLogin; @@ -1183,9 +1253,9 @@ class InitMessage : public ::google::protobuf::MessageLite { InitMessage_LoginType_LoginType_MAX; static const int LoginType_ARRAYSIZE = InitMessage_LoginType_LoginType_ARRAYSIZE; - + // accessors ------------------------------------------------------- - + // required .AnnounceMessage.Version requestedVersion = 1; inline bool has_requestedversion() const; inline void clear_requestedversion(); @@ -1193,14 +1263,15 @@ class InitMessage : public ::google::protobuf::MessageLite { inline const ::AnnounceMessage_Version& requestedversion() const; inline ::AnnounceMessage_Version* mutable_requestedversion(); inline ::AnnounceMessage_Version* release_requestedversion(); - + inline void set_allocated_requestedversion(::AnnounceMessage_Version* requestedversion); + // required uint32 buildId = 2; inline bool has_buildid() const; inline void clear_buildid(); static const int kBuildIdFieldNumber = 2; inline ::google::protobuf::uint32 buildid() const; inline void set_buildid(::google::protobuf::uint32 value); - + // optional bytes myLastSessionId = 3; inline bool has_mylastsessionid() const; inline void clear_mylastsessionid(); @@ -1211,7 +1282,8 @@ class InitMessage : public ::google::protobuf::MessageLite { inline void set_mylastsessionid(const void* value, size_t size); inline ::std::string* mutable_mylastsessionid(); inline ::std::string* release_mylastsessionid(); - + inline void set_allocated_mylastsessionid(::std::string* mylastsessionid); + // optional string authServerPassword = 4; inline bool has_authserverpassword() const; inline void clear_authserverpassword(); @@ -1222,14 +1294,15 @@ class InitMessage : public ::google::protobuf::MessageLite { inline void set_authserverpassword(const char* value, size_t size); inline ::std::string* mutable_authserverpassword(); inline ::std::string* release_authserverpassword(); - + inline void set_allocated_authserverpassword(::std::string* authserverpassword); + // required .InitMessage.LoginType login = 5; inline bool has_login() const; inline void clear_login(); static const int kLoginFieldNumber = 5; inline ::InitMessage_LoginType login() const; inline void set_login(::InitMessage_LoginType value); - + // optional string nickName = 6; inline bool has_nickname() const; inline void clear_nickname(); @@ -1240,7 +1313,8 @@ class InitMessage : public ::google::protobuf::MessageLite { inline void set_nickname(const char* value, size_t size); inline ::std::string* mutable_nickname(); inline ::std::string* release_nickname(); - + inline void set_allocated_nickname(::std::string* nickname); + // optional bytes clientUserData = 7; inline bool has_clientuserdata() const; inline void clear_clientuserdata(); @@ -1251,7 +1325,8 @@ class InitMessage : public ::google::protobuf::MessageLite { inline void set_clientuserdata(const void* value, size_t size); inline ::std::string* mutable_clientuserdata(); inline ::std::string* release_clientuserdata(); - + inline void set_allocated_clientuserdata(::std::string* clientuserdata); + // optional bytes avatarHash = 8; inline bool has_avatarhash() const; inline void clear_avatarhash(); @@ -1262,7 +1337,8 @@ class InitMessage : public ::google::protobuf::MessageLite { inline void set_avatarhash(const void* value, size_t size); inline ::std::string* mutable_avatarhash(); inline ::std::string* release_avatarhash(); - + inline void set_allocated_avatarhash(::std::string* avatarhash); + // @@protoc_insertion_point(class_scope:InitMessage) private: inline void set_has_requestedversion(); @@ -1281,7 +1357,7 @@ class InitMessage : public ::google::protobuf::MessageLite { inline void clear_has_clientuserdata(); inline void set_has_avatarhash(); inline void clear_has_avatarhash(); - + ::AnnounceMessage_Version* requestedversion_; ::std::string* mylastsessionid_; ::google::protobuf::uint32 buildid_; @@ -1290,14 +1366,18 @@ class InitMessage : public ::google::protobuf::MessageLite { ::std::string* nickname_; ::std::string* clientuserdata_; ::std::string* avatarhash_; - + mutable int _cached_size_; ::google::protobuf::uint32 _has_bits_[(8 + 31) / 32]; - + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + friend void protobuf_AddDesc_pokerth_2eproto_impl(); + #else friend void protobuf_AddDesc_pokerth_2eproto(); + #endif friend void protobuf_AssignDesc_pokerth_2eproto(); friend void protobuf_ShutdownFile_pokerth_2eproto(); - + void InitAsDefaultInstance(); static InitMessage* default_instance_; }; @@ -1307,27 +1387,37 @@ class AuthServerChallengeMessage : public ::google::protobuf::MessageLite { public: AuthServerChallengeMessage(); virtual ~AuthServerChallengeMessage(); - + AuthServerChallengeMessage(const AuthServerChallengeMessage& from); - + inline AuthServerChallengeMessage& operator=(const AuthServerChallengeMessage& from) { CopyFrom(from); return *this; } - + static const AuthServerChallengeMessage& default_instance(); - + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + // Returns the internal default instance pointer. This function can + // return NULL thus should not be used by the user. This is intended + // for Protobuf internal code. Please use default_instance() declared + // above instead. + static inline const AuthServerChallengeMessage* internal_default_instance() { + return default_instance_; + } + #endif + void Swap(AuthServerChallengeMessage* other); - + // implements Message ---------------------------------------------- - + AuthServerChallengeMessage* New() const; void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from); void CopyFrom(const AuthServerChallengeMessage& from); void MergeFrom(const AuthServerChallengeMessage& from); void Clear(); bool IsInitialized() const; - + int ByteSize() const; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input); @@ -1339,13 +1429,13 @@ class AuthServerChallengeMessage : public ::google::protobuf::MessageLite { void SharedDtor(); void SetCachedSize(int size) const; public: - + ::std::string GetTypeName() const; - + // nested types ---------------------------------------------------- - + // accessors ------------------------------------------------------- - + // required bytes serverChallenge = 1; inline bool has_serverchallenge() const; inline void clear_serverchallenge(); @@ -1356,21 +1446,26 @@ class AuthServerChallengeMessage : public ::google::protobuf::MessageLite { inline void set_serverchallenge(const void* value, size_t size); inline ::std::string* mutable_serverchallenge(); inline ::std::string* release_serverchallenge(); - + inline void set_allocated_serverchallenge(::std::string* serverchallenge); + // @@protoc_insertion_point(class_scope:AuthServerChallengeMessage) private: inline void set_has_serverchallenge(); inline void clear_has_serverchallenge(); - + ::std::string* serverchallenge_; - + mutable int _cached_size_; ::google::protobuf::uint32 _has_bits_[(1 + 31) / 32]; - + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + friend void protobuf_AddDesc_pokerth_2eproto_impl(); + #else friend void protobuf_AddDesc_pokerth_2eproto(); + #endif friend void protobuf_AssignDesc_pokerth_2eproto(); friend void protobuf_ShutdownFile_pokerth_2eproto(); - + void InitAsDefaultInstance(); static AuthServerChallengeMessage* default_instance_; }; @@ -1380,27 +1475,37 @@ class AuthClientResponseMessage : public ::google::protobuf::MessageLite { public: AuthClientResponseMessage(); virtual ~AuthClientResponseMessage(); - + AuthClientResponseMessage(const AuthClientResponseMessage& from); - + inline AuthClientResponseMessage& operator=(const AuthClientResponseMessage& from) { CopyFrom(from); return *this; } - + static const AuthClientResponseMessage& default_instance(); - + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + // Returns the internal default instance pointer. This function can + // return NULL thus should not be used by the user. This is intended + // for Protobuf internal code. Please use default_instance() declared + // above instead. + static inline const AuthClientResponseMessage* internal_default_instance() { + return default_instance_; + } + #endif + void Swap(AuthClientResponseMessage* other); - + // implements Message ---------------------------------------------- - + AuthClientResponseMessage* New() const; void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from); void CopyFrom(const AuthClientResponseMessage& from); void MergeFrom(const AuthClientResponseMessage& from); void Clear(); bool IsInitialized() const; - + int ByteSize() const; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input); @@ -1412,13 +1517,13 @@ class AuthClientResponseMessage : public ::google::protobuf::MessageLite { void SharedDtor(); void SetCachedSize(int size) const; public: - + ::std::string GetTypeName() const; - + // nested types ---------------------------------------------------- - + // accessors ------------------------------------------------------- - + // required bytes clientResponse = 1; inline bool has_clientresponse() const; inline void clear_clientresponse(); @@ -1429,21 +1534,26 @@ class AuthClientResponseMessage : public ::google::protobuf::MessageLite { inline void set_clientresponse(const void* value, size_t size); inline ::std::string* mutable_clientresponse(); inline ::std::string* release_clientresponse(); - + inline void set_allocated_clientresponse(::std::string* clientresponse); + // @@protoc_insertion_point(class_scope:AuthClientResponseMessage) private: inline void set_has_clientresponse(); inline void clear_has_clientresponse(); - + ::std::string* clientresponse_; - + mutable int _cached_size_; ::google::protobuf::uint32 _has_bits_[(1 + 31) / 32]; - + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + friend void protobuf_AddDesc_pokerth_2eproto_impl(); + #else friend void protobuf_AddDesc_pokerth_2eproto(); + #endif friend void protobuf_AssignDesc_pokerth_2eproto(); friend void protobuf_ShutdownFile_pokerth_2eproto(); - + void InitAsDefaultInstance(); static AuthClientResponseMessage* default_instance_; }; @@ -1453,27 +1563,37 @@ class AuthServerVerificationMessage : public ::google::protobuf::MessageLite { public: AuthServerVerificationMessage(); virtual ~AuthServerVerificationMessage(); - + AuthServerVerificationMessage(const AuthServerVerificationMessage& from); - + inline AuthServerVerificationMessage& operator=(const AuthServerVerificationMessage& from) { CopyFrom(from); return *this; } - + static const AuthServerVerificationMessage& default_instance(); - + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + // Returns the internal default instance pointer. This function can + // return NULL thus should not be used by the user. This is intended + // for Protobuf internal code. Please use default_instance() declared + // above instead. + static inline const AuthServerVerificationMessage* internal_default_instance() { + return default_instance_; + } + #endif + void Swap(AuthServerVerificationMessage* other); - + // implements Message ---------------------------------------------- - + AuthServerVerificationMessage* New() const; void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from); void CopyFrom(const AuthServerVerificationMessage& from); void MergeFrom(const AuthServerVerificationMessage& from); void Clear(); bool IsInitialized() const; - + int ByteSize() const; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input); @@ -1485,13 +1605,13 @@ class AuthServerVerificationMessage : public ::google::protobuf::MessageLite { void SharedDtor(); void SetCachedSize(int size) const; public: - + ::std::string GetTypeName() const; - + // nested types ---------------------------------------------------- - + // accessors ------------------------------------------------------- - + // required bytes serverVerification = 1; inline bool has_serververification() const; inline void clear_serververification(); @@ -1502,21 +1622,26 @@ class AuthServerVerificationMessage : public ::google::protobuf::MessageLite { inline void set_serververification(const void* value, size_t size); inline ::std::string* mutable_serververification(); inline ::std::string* release_serververification(); - + inline void set_allocated_serververification(::std::string* serververification); + // @@protoc_insertion_point(class_scope:AuthServerVerificationMessage) private: inline void set_has_serververification(); inline void clear_has_serververification(); - + ::std::string* serververification_; - + mutable int _cached_size_; ::google::protobuf::uint32 _has_bits_[(1 + 31) / 32]; - + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + friend void protobuf_AddDesc_pokerth_2eproto_impl(); + #else friend void protobuf_AddDesc_pokerth_2eproto(); + #endif friend void protobuf_AssignDesc_pokerth_2eproto(); friend void protobuf_ShutdownFile_pokerth_2eproto(); - + void InitAsDefaultInstance(); static AuthServerVerificationMessage* default_instance_; }; @@ -1526,27 +1651,37 @@ class InitAckMessage : public ::google::protobuf::MessageLite { public: InitAckMessage(); virtual ~InitAckMessage(); - + InitAckMessage(const InitAckMessage& from); - + inline InitAckMessage& operator=(const InitAckMessage& from) { CopyFrom(from); return *this; } - + static const InitAckMessage& default_instance(); - + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + // Returns the internal default instance pointer. This function can + // return NULL thus should not be used by the user. This is intended + // for Protobuf internal code. Please use default_instance() declared + // above instead. + static inline const InitAckMessage* internal_default_instance() { + return default_instance_; + } + #endif + void Swap(InitAckMessage* other); - + // implements Message ---------------------------------------------- - + InitAckMessage* New() const; void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from); void CopyFrom(const InitAckMessage& from); void MergeFrom(const InitAckMessage& from); void Clear(); bool IsInitialized() const; - + int ByteSize() const; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input); @@ -1558,13 +1693,13 @@ class InitAckMessage : public ::google::protobuf::MessageLite { void SharedDtor(); void SetCachedSize(int size) const; public: - + ::std::string GetTypeName() const; - + // nested types ---------------------------------------------------- - + // accessors ------------------------------------------------------- - + // required bytes yourSessionId = 1; inline bool has_yoursessionid() const; inline void clear_yoursessionid(); @@ -1575,14 +1710,15 @@ class InitAckMessage : public ::google::protobuf::MessageLite { inline void set_yoursessionid(const void* value, size_t size); inline ::std::string* mutable_yoursessionid(); inline ::std::string* release_yoursessionid(); - + inline void set_allocated_yoursessionid(::std::string* yoursessionid); + // required uint32 yourPlayerId = 2; inline bool has_yourplayerid() const; inline void clear_yourplayerid(); static const int kYourPlayerIdFieldNumber = 2; inline ::google::protobuf::uint32 yourplayerid() const; inline void set_yourplayerid(::google::protobuf::uint32 value); - + // optional bytes yourAvatarHash = 3; inline bool has_youravatarhash() const; inline void clear_youravatarhash(); @@ -1593,14 +1729,15 @@ class InitAckMessage : public ::google::protobuf::MessageLite { inline void set_youravatarhash(const void* value, size_t size); inline ::std::string* mutable_youravatarhash(); inline ::std::string* release_youravatarhash(); - + inline void set_allocated_youravatarhash(::std::string* youravatarhash); + // optional uint32 rejoinGameId = 4; inline bool has_rejoingameid() const; inline void clear_rejoingameid(); static const int kRejoinGameIdFieldNumber = 4; inline ::google::protobuf::uint32 rejoingameid() const; inline void set_rejoingameid(::google::protobuf::uint32 value); - + // @@protoc_insertion_point(class_scope:InitAckMessage) private: inline void set_has_yoursessionid(); @@ -1611,19 +1748,23 @@ class InitAckMessage : public ::google::protobuf::MessageLite { inline void clear_has_youravatarhash(); inline void set_has_rejoingameid(); inline void clear_has_rejoingameid(); - + ::std::string* yoursessionid_; ::std::string* youravatarhash_; ::google::protobuf::uint32 yourplayerid_; ::google::protobuf::uint32 rejoingameid_; - + mutable int _cached_size_; ::google::protobuf::uint32 _has_bits_[(4 + 31) / 32]; - + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + friend void protobuf_AddDesc_pokerth_2eproto_impl(); + #else friend void protobuf_AddDesc_pokerth_2eproto(); + #endif friend void protobuf_AssignDesc_pokerth_2eproto(); friend void protobuf_ShutdownFile_pokerth_2eproto(); - + void InitAsDefaultInstance(); static InitAckMessage* default_instance_; }; @@ -1633,27 +1774,37 @@ class AvatarRequestMessage : public ::google::protobuf::MessageLite { public: AvatarRequestMessage(); virtual ~AvatarRequestMessage(); - + AvatarRequestMessage(const AvatarRequestMessage& from); - + inline AvatarRequestMessage& operator=(const AvatarRequestMessage& from) { CopyFrom(from); return *this; } - + static const AvatarRequestMessage& default_instance(); - + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + // Returns the internal default instance pointer. This function can + // return NULL thus should not be used by the user. This is intended + // for Protobuf internal code. Please use default_instance() declared + // above instead. + static inline const AvatarRequestMessage* internal_default_instance() { + return default_instance_; + } + #endif + void Swap(AvatarRequestMessage* other); - + // implements Message ---------------------------------------------- - + AvatarRequestMessage* New() const; void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from); void CopyFrom(const AvatarRequestMessage& from); void MergeFrom(const AvatarRequestMessage& from); void Clear(); bool IsInitialized() const; - + int ByteSize() const; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input); @@ -1665,20 +1816,20 @@ class AvatarRequestMessage : public ::google::protobuf::MessageLite { void SharedDtor(); void SetCachedSize(int size) const; public: - + ::std::string GetTypeName() const; - + // nested types ---------------------------------------------------- - + // accessors ------------------------------------------------------- - + // required uint32 requestId = 1; inline bool has_requestid() const; inline void clear_requestid(); static const int kRequestIdFieldNumber = 1; inline ::google::protobuf::uint32 requestid() const; inline void set_requestid(::google::protobuf::uint32 value); - + // required bytes avatarHash = 2; inline bool has_avatarhash() const; inline void clear_avatarhash(); @@ -1689,24 +1840,29 @@ class AvatarRequestMessage : public ::google::protobuf::MessageLite { inline void set_avatarhash(const void* value, size_t size); inline ::std::string* mutable_avatarhash(); inline ::std::string* release_avatarhash(); - + inline void set_allocated_avatarhash(::std::string* avatarhash); + // @@protoc_insertion_point(class_scope:AvatarRequestMessage) private: inline void set_has_requestid(); inline void clear_has_requestid(); inline void set_has_avatarhash(); inline void clear_has_avatarhash(); - + ::std::string* avatarhash_; ::google::protobuf::uint32 requestid_; - + mutable int _cached_size_; ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32]; - + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + friend void protobuf_AddDesc_pokerth_2eproto_impl(); + #else friend void protobuf_AddDesc_pokerth_2eproto(); + #endif friend void protobuf_AssignDesc_pokerth_2eproto(); friend void protobuf_ShutdownFile_pokerth_2eproto(); - + void InitAsDefaultInstance(); static AvatarRequestMessage* default_instance_; }; @@ -1716,27 +1872,37 @@ class AvatarHeaderMessage : public ::google::protobuf::MessageLite { public: AvatarHeaderMessage(); virtual ~AvatarHeaderMessage(); - + AvatarHeaderMessage(const AvatarHeaderMessage& from); - + inline AvatarHeaderMessage& operator=(const AvatarHeaderMessage& from) { CopyFrom(from); return *this; } - + static const AvatarHeaderMessage& default_instance(); - + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + // Returns the internal default instance pointer. This function can + // return NULL thus should not be used by the user. This is intended + // for Protobuf internal code. Please use default_instance() declared + // above instead. + static inline const AvatarHeaderMessage* internal_default_instance() { + return default_instance_; + } + #endif + void Swap(AvatarHeaderMessage* other); - + // implements Message ---------------------------------------------- - + AvatarHeaderMessage* New() const; void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from); void CopyFrom(const AvatarHeaderMessage& from); void MergeFrom(const AvatarHeaderMessage& from); void Clear(); bool IsInitialized() const; - + int ByteSize() const; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input); @@ -1748,34 +1914,34 @@ class AvatarHeaderMessage : public ::google::protobuf::MessageLite { void SharedDtor(); void SetCachedSize(int size) const; public: - + ::std::string GetTypeName() const; - + // nested types ---------------------------------------------------- - + // accessors ------------------------------------------------------- - + // required uint32 requestId = 1; inline bool has_requestid() const; inline void clear_requestid(); static const int kRequestIdFieldNumber = 1; inline ::google::protobuf::uint32 requestid() const; inline void set_requestid(::google::protobuf::uint32 value); - + // required .NetAvatarType avatarType = 2; inline bool has_avatartype() const; inline void clear_avatartype(); static const int kAvatarTypeFieldNumber = 2; - inline NetAvatarType avatartype() const; - inline void set_avatartype(NetAvatarType value); - + inline ::NetAvatarType avatartype() const; + inline void set_avatartype(::NetAvatarType value); + // required uint32 avatarSize = 3; inline bool has_avatarsize() const; inline void clear_avatarsize(); static const int kAvatarSizeFieldNumber = 3; inline ::google::protobuf::uint32 avatarsize() const; inline void set_avatarsize(::google::protobuf::uint32 value); - + // @@protoc_insertion_point(class_scope:AvatarHeaderMessage) private: inline void set_has_requestid(); @@ -1784,18 +1950,22 @@ class AvatarHeaderMessage : public ::google::protobuf::MessageLite { inline void clear_has_avatartype(); inline void set_has_avatarsize(); inline void clear_has_avatarsize(); - + ::google::protobuf::uint32 requestid_; int avatartype_; ::google::protobuf::uint32 avatarsize_; - + mutable int _cached_size_; ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32]; - + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + friend void protobuf_AddDesc_pokerth_2eproto_impl(); + #else friend void protobuf_AddDesc_pokerth_2eproto(); + #endif friend void protobuf_AssignDesc_pokerth_2eproto(); friend void protobuf_ShutdownFile_pokerth_2eproto(); - + void InitAsDefaultInstance(); static AvatarHeaderMessage* default_instance_; }; @@ -1805,27 +1975,37 @@ class AvatarDataMessage : public ::google::protobuf::MessageLite { public: AvatarDataMessage(); virtual ~AvatarDataMessage(); - + AvatarDataMessage(const AvatarDataMessage& from); - + inline AvatarDataMessage& operator=(const AvatarDataMessage& from) { CopyFrom(from); return *this; } - + static const AvatarDataMessage& default_instance(); - + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + // Returns the internal default instance pointer. This function can + // return NULL thus should not be used by the user. This is intended + // for Protobuf internal code. Please use default_instance() declared + // above instead. + static inline const AvatarDataMessage* internal_default_instance() { + return default_instance_; + } + #endif + void Swap(AvatarDataMessage* other); - + // implements Message ---------------------------------------------- - + AvatarDataMessage* New() const; void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from); void CopyFrom(const AvatarDataMessage& from); void MergeFrom(const AvatarDataMessage& from); void Clear(); bool IsInitialized() const; - + int ByteSize() const; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input); @@ -1837,20 +2017,20 @@ class AvatarDataMessage : public ::google::protobuf::MessageLite { void SharedDtor(); void SetCachedSize(int size) const; public: - + ::std::string GetTypeName() const; - + // nested types ---------------------------------------------------- - + // accessors ------------------------------------------------------- - + // required uint32 requestId = 1; inline bool has_requestid() const; inline void clear_requestid(); static const int kRequestIdFieldNumber = 1; inline ::google::protobuf::uint32 requestid() const; inline void set_requestid(::google::protobuf::uint32 value); - + // required bytes avatarBlock = 2; inline bool has_avatarblock() const; inline void clear_avatarblock(); @@ -1861,24 +2041,29 @@ class AvatarDataMessage : public ::google::protobuf::MessageLite { inline void set_avatarblock(const void* value, size_t size); inline ::std::string* mutable_avatarblock(); inline ::std::string* release_avatarblock(); - + inline void set_allocated_avatarblock(::std::string* avatarblock); + // @@protoc_insertion_point(class_scope:AvatarDataMessage) private: inline void set_has_requestid(); inline void clear_has_requestid(); inline void set_has_avatarblock(); inline void clear_has_avatarblock(); - + ::std::string* avatarblock_; ::google::protobuf::uint32 requestid_; - + mutable int _cached_size_; ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32]; - + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + friend void protobuf_AddDesc_pokerth_2eproto_impl(); + #else friend void protobuf_AddDesc_pokerth_2eproto(); + #endif friend void protobuf_AssignDesc_pokerth_2eproto(); friend void protobuf_ShutdownFile_pokerth_2eproto(); - + void InitAsDefaultInstance(); static AvatarDataMessage* default_instance_; }; @@ -1888,27 +2073,37 @@ class AvatarEndMessage : public ::google::protobuf::MessageLite { public: AvatarEndMessage(); virtual ~AvatarEndMessage(); - + AvatarEndMessage(const AvatarEndMessage& from); - + inline AvatarEndMessage& operator=(const AvatarEndMessage& from) { CopyFrom(from); return *this; } - + static const AvatarEndMessage& default_instance(); - + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + // Returns the internal default instance pointer. This function can + // return NULL thus should not be used by the user. This is intended + // for Protobuf internal code. Please use default_instance() declared + // above instead. + static inline const AvatarEndMessage* internal_default_instance() { + return default_instance_; + } + #endif + void Swap(AvatarEndMessage* other); - + // implements Message ---------------------------------------------- - + AvatarEndMessage* New() const; void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from); void CopyFrom(const AvatarEndMessage& from); void MergeFrom(const AvatarEndMessage& from); void Clear(); bool IsInitialized() const; - + int ByteSize() const; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input); @@ -1920,34 +2115,38 @@ class AvatarEndMessage : public ::google::protobuf::MessageLite { void SharedDtor(); void SetCachedSize(int size) const; public: - + ::std::string GetTypeName() const; - + // nested types ---------------------------------------------------- - + // accessors ------------------------------------------------------- - + // required uint32 requestId = 1; inline bool has_requestid() const; inline void clear_requestid(); static const int kRequestIdFieldNumber = 1; inline ::google::protobuf::uint32 requestid() const; inline void set_requestid(::google::protobuf::uint32 value); - + // @@protoc_insertion_point(class_scope:AvatarEndMessage) private: inline void set_has_requestid(); inline void clear_has_requestid(); - + ::google::protobuf::uint32 requestid_; - + mutable int _cached_size_; ::google::protobuf::uint32 _has_bits_[(1 + 31) / 32]; - + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + friend void protobuf_AddDesc_pokerth_2eproto_impl(); + #else friend void protobuf_AddDesc_pokerth_2eproto(); + #endif friend void protobuf_AssignDesc_pokerth_2eproto(); friend void protobuf_ShutdownFile_pokerth_2eproto(); - + void InitAsDefaultInstance(); static AvatarEndMessage* default_instance_; }; @@ -1957,27 +2156,37 @@ class UnknownAvatarMessage : public ::google::protobuf::MessageLite { public: UnknownAvatarMessage(); virtual ~UnknownAvatarMessage(); - + UnknownAvatarMessage(const UnknownAvatarMessage& from); - + inline UnknownAvatarMessage& operator=(const UnknownAvatarMessage& from) { CopyFrom(from); return *this; } - + static const UnknownAvatarMessage& default_instance(); - + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + // Returns the internal default instance pointer. This function can + // return NULL thus should not be used by the user. This is intended + // for Protobuf internal code. Please use default_instance() declared + // above instead. + static inline const UnknownAvatarMessage* internal_default_instance() { + return default_instance_; + } + #endif + void Swap(UnknownAvatarMessage* other); - + // implements Message ---------------------------------------------- - + UnknownAvatarMessage* New() const; void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from); void CopyFrom(const UnknownAvatarMessage& from); void MergeFrom(const UnknownAvatarMessage& from); void Clear(); bool IsInitialized() const; - + int ByteSize() const; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input); @@ -1989,34 +2198,38 @@ class UnknownAvatarMessage : public ::google::protobuf::MessageLite { void SharedDtor(); void SetCachedSize(int size) const; public: - + ::std::string GetTypeName() const; - + // nested types ---------------------------------------------------- - + // accessors ------------------------------------------------------- - + // required uint32 requestId = 1; inline bool has_requestid() const; inline void clear_requestid(); static const int kRequestIdFieldNumber = 1; inline ::google::protobuf::uint32 requestid() const; inline void set_requestid(::google::protobuf::uint32 value); - + // @@protoc_insertion_point(class_scope:UnknownAvatarMessage) private: inline void set_has_requestid(); inline void clear_has_requestid(); - + ::google::protobuf::uint32 requestid_; - + mutable int _cached_size_; ::google::protobuf::uint32 _has_bits_[(1 + 31) / 32]; - + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + friend void protobuf_AddDesc_pokerth_2eproto_impl(); + #else friend void protobuf_AddDesc_pokerth_2eproto(); + #endif friend void protobuf_AssignDesc_pokerth_2eproto(); friend void protobuf_ShutdownFile_pokerth_2eproto(); - + void InitAsDefaultInstance(); static UnknownAvatarMessage* default_instance_; }; @@ -2026,27 +2239,37 @@ class PlayerListMessage : public ::google::protobuf::MessageLite { public: PlayerListMessage(); virtual ~PlayerListMessage(); - + PlayerListMessage(const PlayerListMessage& from); - + inline PlayerListMessage& operator=(const PlayerListMessage& from) { CopyFrom(from); return *this; } - + static const PlayerListMessage& default_instance(); - + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + // Returns the internal default instance pointer. This function can + // return NULL thus should not be used by the user. This is intended + // for Protobuf internal code. Please use default_instance() declared + // above instead. + static inline const PlayerListMessage* internal_default_instance() { + return default_instance_; + } + #endif + void Swap(PlayerListMessage* other); - + // implements Message ---------------------------------------------- - + PlayerListMessage* New() const; void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from); void CopyFrom(const PlayerListMessage& from); void MergeFrom(const PlayerListMessage& from); void Clear(); bool IsInitialized() const; - + int ByteSize() const; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input); @@ -2058,11 +2281,11 @@ class PlayerListMessage : public ::google::protobuf::MessageLite { void SharedDtor(); void SetCachedSize(int size) const; public: - + ::std::string GetTypeName() const; - + // nested types ---------------------------------------------------- - + typedef PlayerListMessage_PlayerListNotification PlayerListNotification; static const PlayerListNotification playerListNew = PlayerListMessage_PlayerListNotification_playerListNew; static const PlayerListNotification playerListLeft = PlayerListMessage_PlayerListNotification_playerListLeft; @@ -2075,40 +2298,44 @@ class PlayerListMessage : public ::google::protobuf::MessageLite { PlayerListMessage_PlayerListNotification_PlayerListNotification_MAX; static const int PlayerListNotification_ARRAYSIZE = PlayerListMessage_PlayerListNotification_PlayerListNotification_ARRAYSIZE; - + // accessors ------------------------------------------------------- - + // required uint32 playerId = 1; inline bool has_playerid() const; inline void clear_playerid(); static const int kPlayerIdFieldNumber = 1; inline ::google::protobuf::uint32 playerid() const; inline void set_playerid(::google::protobuf::uint32 value); - + // required .PlayerListMessage.PlayerListNotification playerListNotification = 2; inline bool has_playerlistnotification() const; inline void clear_playerlistnotification(); static const int kPlayerListNotificationFieldNumber = 2; inline ::PlayerListMessage_PlayerListNotification playerlistnotification() const; inline void set_playerlistnotification(::PlayerListMessage_PlayerListNotification value); - + // @@protoc_insertion_point(class_scope:PlayerListMessage) private: inline void set_has_playerid(); inline void clear_has_playerid(); inline void set_has_playerlistnotification(); inline void clear_has_playerlistnotification(); - + ::google::protobuf::uint32 playerid_; int playerlistnotification_; - + mutable int _cached_size_; ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32]; - + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + friend void protobuf_AddDesc_pokerth_2eproto_impl(); + #else friend void protobuf_AddDesc_pokerth_2eproto(); + #endif friend void protobuf_AssignDesc_pokerth_2eproto(); friend void protobuf_ShutdownFile_pokerth_2eproto(); - + void InitAsDefaultInstance(); static PlayerListMessage* default_instance_; }; @@ -2118,27 +2345,37 @@ class GameListNewMessage : public ::google::protobuf::MessageLite { public: GameListNewMessage(); virtual ~GameListNewMessage(); - + GameListNewMessage(const GameListNewMessage& from); - + inline GameListNewMessage& operator=(const GameListNewMessage& from) { CopyFrom(from); return *this; } - + static const GameListNewMessage& default_instance(); - + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + // Returns the internal default instance pointer. This function can + // return NULL thus should not be used by the user. This is intended + // for Protobuf internal code. Please use default_instance() declared + // above instead. + static inline const GameListNewMessage* internal_default_instance() { + return default_instance_; + } + #endif + void Swap(GameListNewMessage* other); - + // implements Message ---------------------------------------------- - + GameListNewMessage* New() const; void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from); void CopyFrom(const GameListNewMessage& from); void MergeFrom(const GameListNewMessage& from); void Clear(); bool IsInitialized() const; - + int ByteSize() const; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input); @@ -2150,34 +2387,34 @@ class GameListNewMessage : public ::google::protobuf::MessageLite { void SharedDtor(); void SetCachedSize(int size) const; public: - + ::std::string GetTypeName() const; - + // nested types ---------------------------------------------------- - + // accessors ------------------------------------------------------- - + // required uint32 gameId = 1; inline bool has_gameid() const; inline void clear_gameid(); static const int kGameIdFieldNumber = 1; inline ::google::protobuf::uint32 gameid() const; inline void set_gameid(::google::protobuf::uint32 value); - + // required .NetGameMode gameMode = 2; inline bool has_gamemode() const; inline void clear_gamemode(); static const int kGameModeFieldNumber = 2; - inline NetGameMode gamemode() const; - inline void set_gamemode(NetGameMode value); - + inline ::NetGameMode gamemode() const; + inline void set_gamemode(::NetGameMode value); + // required bool isPrivate = 3; inline bool has_isprivate() const; inline void clear_isprivate(); static const int kIsPrivateFieldNumber = 3; inline bool isprivate() const; inline void set_isprivate(bool value); - + // repeated uint32 playerIds = 4 [packed = true]; inline int playerids_size() const; inline void clear_playerids(); @@ -2189,14 +2426,14 @@ class GameListNewMessage : public ::google::protobuf::MessageLite { playerids() const; inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >* mutable_playerids(); - + // required uint32 adminPlayerId = 5; inline bool has_adminplayerid() const; inline void clear_adminplayerid(); static const int kAdminPlayerIdFieldNumber = 5; inline ::google::protobuf::uint32 adminplayerid() const; inline void set_adminplayerid(::google::protobuf::uint32 value); - + // required .NetGameInfo gameInfo = 6; inline bool has_gameinfo() const; inline void clear_gameinfo(); @@ -2204,7 +2441,8 @@ class GameListNewMessage : public ::google::protobuf::MessageLite { inline const ::NetGameInfo& gameinfo() const; inline ::NetGameInfo* mutable_gameinfo(); inline ::NetGameInfo* release_gameinfo(); - + inline void set_allocated_gameinfo(::NetGameInfo* gameinfo); + // @@protoc_insertion_point(class_scope:GameListNewMessage) private: inline void set_has_gameid(); @@ -2217,7 +2455,7 @@ class GameListNewMessage : public ::google::protobuf::MessageLite { inline void clear_has_adminplayerid(); inline void set_has_gameinfo(); inline void clear_has_gameinfo(); - + ::google::protobuf::uint32 gameid_; int gamemode_; ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > playerids_; @@ -2225,14 +2463,18 @@ class GameListNewMessage : public ::google::protobuf::MessageLite { bool isprivate_; ::google::protobuf::uint32 adminplayerid_; ::NetGameInfo* gameinfo_; - + mutable int _cached_size_; ::google::protobuf::uint32 _has_bits_[(6 + 31) / 32]; - + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + friend void protobuf_AddDesc_pokerth_2eproto_impl(); + #else friend void protobuf_AddDesc_pokerth_2eproto(); + #endif friend void protobuf_AssignDesc_pokerth_2eproto(); friend void protobuf_ShutdownFile_pokerth_2eproto(); - + void InitAsDefaultInstance(); static GameListNewMessage* default_instance_; }; @@ -2242,27 +2484,37 @@ class GameListUpdateMessage : public ::google::protobuf::MessageLite { public: GameListUpdateMessage(); virtual ~GameListUpdateMessage(); - + GameListUpdateMessage(const GameListUpdateMessage& from); - + inline GameListUpdateMessage& operator=(const GameListUpdateMessage& from) { CopyFrom(from); return *this; } - + static const GameListUpdateMessage& default_instance(); - + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + // Returns the internal default instance pointer. This function can + // return NULL thus should not be used by the user. This is intended + // for Protobuf internal code. Please use default_instance() declared + // above instead. + static inline const GameListUpdateMessage* internal_default_instance() { + return default_instance_; + } + #endif + void Swap(GameListUpdateMessage* other); - + // implements Message ---------------------------------------------- - + GameListUpdateMessage* New() const; void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from); void CopyFrom(const GameListUpdateMessage& from); void MergeFrom(const GameListUpdateMessage& from); void Clear(); bool IsInitialized() const; - + int ByteSize() const; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input); @@ -2274,44 +2526,48 @@ class GameListUpdateMessage : public ::google::protobuf::MessageLite { void SharedDtor(); void SetCachedSize(int size) const; public: - + ::std::string GetTypeName() const; - + // nested types ---------------------------------------------------- - + // accessors ------------------------------------------------------- - + // required uint32 gameId = 1; inline bool has_gameid() const; inline void clear_gameid(); static const int kGameIdFieldNumber = 1; inline ::google::protobuf::uint32 gameid() const; inline void set_gameid(::google::protobuf::uint32 value); - + // required .NetGameMode gameMode = 2; inline bool has_gamemode() const; inline void clear_gamemode(); static const int kGameModeFieldNumber = 2; - inline NetGameMode gamemode() const; - inline void set_gamemode(NetGameMode value); - + inline ::NetGameMode gamemode() const; + inline void set_gamemode(::NetGameMode value); + // @@protoc_insertion_point(class_scope:GameListUpdateMessage) private: inline void set_has_gameid(); inline void clear_has_gameid(); inline void set_has_gamemode(); inline void clear_has_gamemode(); - + ::google::protobuf::uint32 gameid_; int gamemode_; - + mutable int _cached_size_; ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32]; - + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + friend void protobuf_AddDesc_pokerth_2eproto_impl(); + #else friend void protobuf_AddDesc_pokerth_2eproto(); + #endif friend void protobuf_AssignDesc_pokerth_2eproto(); friend void protobuf_ShutdownFile_pokerth_2eproto(); - + void InitAsDefaultInstance(); static GameListUpdateMessage* default_instance_; }; @@ -2321,27 +2577,37 @@ class GameListPlayerJoinedMessage : public ::google::protobuf::MessageLite { public: GameListPlayerJoinedMessage(); virtual ~GameListPlayerJoinedMessage(); - + GameListPlayerJoinedMessage(const GameListPlayerJoinedMessage& from); - + inline GameListPlayerJoinedMessage& operator=(const GameListPlayerJoinedMessage& from) { CopyFrom(from); return *this; } - + static const GameListPlayerJoinedMessage& default_instance(); - + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + // Returns the internal default instance pointer. This function can + // return NULL thus should not be used by the user. This is intended + // for Protobuf internal code. Please use default_instance() declared + // above instead. + static inline const GameListPlayerJoinedMessage* internal_default_instance() { + return default_instance_; + } + #endif + void Swap(GameListPlayerJoinedMessage* other); - + // implements Message ---------------------------------------------- - + GameListPlayerJoinedMessage* New() const; void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from); void CopyFrom(const GameListPlayerJoinedMessage& from); void MergeFrom(const GameListPlayerJoinedMessage& from); void Clear(); bool IsInitialized() const; - + int ByteSize() const; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input); @@ -2353,44 +2619,48 @@ class GameListPlayerJoinedMessage : public ::google::protobuf::MessageLite { void SharedDtor(); void SetCachedSize(int size) const; public: - + ::std::string GetTypeName() const; - + // nested types ---------------------------------------------------- - + // accessors ------------------------------------------------------- - + // required uint32 gameId = 1; inline bool has_gameid() const; inline void clear_gameid(); static const int kGameIdFieldNumber = 1; inline ::google::protobuf::uint32 gameid() const; inline void set_gameid(::google::protobuf::uint32 value); - + // required uint32 playerId = 2; inline bool has_playerid() const; inline void clear_playerid(); static const int kPlayerIdFieldNumber = 2; inline ::google::protobuf::uint32 playerid() const; inline void set_playerid(::google::protobuf::uint32 value); - + // @@protoc_insertion_point(class_scope:GameListPlayerJoinedMessage) private: inline void set_has_gameid(); inline void clear_has_gameid(); inline void set_has_playerid(); inline void clear_has_playerid(); - + ::google::protobuf::uint32 gameid_; ::google::protobuf::uint32 playerid_; - + mutable int _cached_size_; ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32]; - + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + friend void protobuf_AddDesc_pokerth_2eproto_impl(); + #else friend void protobuf_AddDesc_pokerth_2eproto(); + #endif friend void protobuf_AssignDesc_pokerth_2eproto(); friend void protobuf_ShutdownFile_pokerth_2eproto(); - + void InitAsDefaultInstance(); static GameListPlayerJoinedMessage* default_instance_; }; @@ -2400,27 +2670,37 @@ class GameListPlayerLeftMessage : public ::google::protobuf::MessageLite { public: GameListPlayerLeftMessage(); virtual ~GameListPlayerLeftMessage(); - + GameListPlayerLeftMessage(const GameListPlayerLeftMessage& from); - + inline GameListPlayerLeftMessage& operator=(const GameListPlayerLeftMessage& from) { CopyFrom(from); return *this; } - + static const GameListPlayerLeftMessage& default_instance(); - + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + // Returns the internal default instance pointer. This function can + // return NULL thus should not be used by the user. This is intended + // for Protobuf internal code. Please use default_instance() declared + // above instead. + static inline const GameListPlayerLeftMessage* internal_default_instance() { + return default_instance_; + } + #endif + void Swap(GameListPlayerLeftMessage* other); - + // implements Message ---------------------------------------------- - + GameListPlayerLeftMessage* New() const; void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from); void CopyFrom(const GameListPlayerLeftMessage& from); void MergeFrom(const GameListPlayerLeftMessage& from); void Clear(); bool IsInitialized() const; - + int ByteSize() const; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input); @@ -2432,44 +2712,48 @@ class GameListPlayerLeftMessage : public ::google::protobuf::MessageLite { void SharedDtor(); void SetCachedSize(int size) const; public: - + ::std::string GetTypeName() const; - + // nested types ---------------------------------------------------- - + // accessors ------------------------------------------------------- - + // required uint32 gameId = 1; inline bool has_gameid() const; inline void clear_gameid(); static const int kGameIdFieldNumber = 1; inline ::google::protobuf::uint32 gameid() const; inline void set_gameid(::google::protobuf::uint32 value); - + // required uint32 playerId = 2; inline bool has_playerid() const; inline void clear_playerid(); static const int kPlayerIdFieldNumber = 2; inline ::google::protobuf::uint32 playerid() const; inline void set_playerid(::google::protobuf::uint32 value); - + // @@protoc_insertion_point(class_scope:GameListPlayerLeftMessage) private: inline void set_has_gameid(); inline void clear_has_gameid(); inline void set_has_playerid(); inline void clear_has_playerid(); - + ::google::protobuf::uint32 gameid_; ::google::protobuf::uint32 playerid_; - + mutable int _cached_size_; ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32]; - + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + friend void protobuf_AddDesc_pokerth_2eproto_impl(); + #else friend void protobuf_AddDesc_pokerth_2eproto(); + #endif friend void protobuf_AssignDesc_pokerth_2eproto(); friend void protobuf_ShutdownFile_pokerth_2eproto(); - + void InitAsDefaultInstance(); static GameListPlayerLeftMessage* default_instance_; }; @@ -2479,27 +2763,37 @@ class GameListSpectatorJoinedMessage : public ::google::protobuf::MessageLite { public: GameListSpectatorJoinedMessage(); virtual ~GameListSpectatorJoinedMessage(); - + GameListSpectatorJoinedMessage(const GameListSpectatorJoinedMessage& from); - + inline GameListSpectatorJoinedMessage& operator=(const GameListSpectatorJoinedMessage& from) { CopyFrom(from); return *this; } - + static const GameListSpectatorJoinedMessage& default_instance(); - + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + // Returns the internal default instance pointer. This function can + // return NULL thus should not be used by the user. This is intended + // for Protobuf internal code. Please use default_instance() declared + // above instead. + static inline const GameListSpectatorJoinedMessage* internal_default_instance() { + return default_instance_; + } + #endif + void Swap(GameListSpectatorJoinedMessage* other); - + // implements Message ---------------------------------------------- - + GameListSpectatorJoinedMessage* New() const; void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from); void CopyFrom(const GameListSpectatorJoinedMessage& from); void MergeFrom(const GameListSpectatorJoinedMessage& from); void Clear(); bool IsInitialized() const; - + int ByteSize() const; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input); @@ -2511,44 +2805,48 @@ class GameListSpectatorJoinedMessage : public ::google::protobuf::MessageLite { void SharedDtor(); void SetCachedSize(int size) const; public: - + ::std::string GetTypeName() const; - + // nested types ---------------------------------------------------- - + // accessors ------------------------------------------------------- - + // required uint32 gameId = 1; inline bool has_gameid() const; inline void clear_gameid(); static const int kGameIdFieldNumber = 1; inline ::google::protobuf::uint32 gameid() const; inline void set_gameid(::google::protobuf::uint32 value); - + // required uint32 playerId = 2; inline bool has_playerid() const; inline void clear_playerid(); static const int kPlayerIdFieldNumber = 2; inline ::google::protobuf::uint32 playerid() const; inline void set_playerid(::google::protobuf::uint32 value); - + // @@protoc_insertion_point(class_scope:GameListSpectatorJoinedMessage) private: inline void set_has_gameid(); inline void clear_has_gameid(); inline void set_has_playerid(); inline void clear_has_playerid(); - + ::google::protobuf::uint32 gameid_; ::google::protobuf::uint32 playerid_; - + mutable int _cached_size_; ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32]; - + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + friend void protobuf_AddDesc_pokerth_2eproto_impl(); + #else friend void protobuf_AddDesc_pokerth_2eproto(); + #endif friend void protobuf_AssignDesc_pokerth_2eproto(); friend void protobuf_ShutdownFile_pokerth_2eproto(); - + void InitAsDefaultInstance(); static GameListSpectatorJoinedMessage* default_instance_; }; @@ -2558,27 +2856,37 @@ class GameListSpectatorLeftMessage : public ::google::protobuf::MessageLite { public: GameListSpectatorLeftMessage(); virtual ~GameListSpectatorLeftMessage(); - + GameListSpectatorLeftMessage(const GameListSpectatorLeftMessage& from); - + inline GameListSpectatorLeftMessage& operator=(const GameListSpectatorLeftMessage& from) { CopyFrom(from); return *this; } - + static const GameListSpectatorLeftMessage& default_instance(); - + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + // Returns the internal default instance pointer. This function can + // return NULL thus should not be used by the user. This is intended + // for Protobuf internal code. Please use default_instance() declared + // above instead. + static inline const GameListSpectatorLeftMessage* internal_default_instance() { + return default_instance_; + } + #endif + void Swap(GameListSpectatorLeftMessage* other); - + // implements Message ---------------------------------------------- - + GameListSpectatorLeftMessage* New() const; void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from); void CopyFrom(const GameListSpectatorLeftMessage& from); void MergeFrom(const GameListSpectatorLeftMessage& from); void Clear(); bool IsInitialized() const; - + int ByteSize() const; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input); @@ -2590,44 +2898,48 @@ class GameListSpectatorLeftMessage : public ::google::protobuf::MessageLite { void SharedDtor(); void SetCachedSize(int size) const; public: - + ::std::string GetTypeName() const; - + // nested types ---------------------------------------------------- - + // accessors ------------------------------------------------------- - + // required uint32 gameId = 1; inline bool has_gameid() const; inline void clear_gameid(); static const int kGameIdFieldNumber = 1; inline ::google::protobuf::uint32 gameid() const; inline void set_gameid(::google::protobuf::uint32 value); - + // required uint32 playerId = 2; inline bool has_playerid() const; inline void clear_playerid(); static const int kPlayerIdFieldNumber = 2; inline ::google::protobuf::uint32 playerid() const; inline void set_playerid(::google::protobuf::uint32 value); - + // @@protoc_insertion_point(class_scope:GameListSpectatorLeftMessage) private: inline void set_has_gameid(); inline void clear_has_gameid(); inline void set_has_playerid(); inline void clear_has_playerid(); - + ::google::protobuf::uint32 gameid_; ::google::protobuf::uint32 playerid_; - + mutable int _cached_size_; ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32]; - + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + friend void protobuf_AddDesc_pokerth_2eproto_impl(); + #else friend void protobuf_AddDesc_pokerth_2eproto(); + #endif friend void protobuf_AssignDesc_pokerth_2eproto(); friend void protobuf_ShutdownFile_pokerth_2eproto(); - + void InitAsDefaultInstance(); static GameListSpectatorLeftMessage* default_instance_; }; @@ -2637,27 +2949,37 @@ class GameListAdminChangedMessage : public ::google::protobuf::MessageLite { public: GameListAdminChangedMessage(); virtual ~GameListAdminChangedMessage(); - + GameListAdminChangedMessage(const GameListAdminChangedMessage& from); - + inline GameListAdminChangedMessage& operator=(const GameListAdminChangedMessage& from) { CopyFrom(from); return *this; } - + static const GameListAdminChangedMessage& default_instance(); - + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + // Returns the internal default instance pointer. This function can + // return NULL thus should not be used by the user. This is intended + // for Protobuf internal code. Please use default_instance() declared + // above instead. + static inline const GameListAdminChangedMessage* internal_default_instance() { + return default_instance_; + } + #endif + void Swap(GameListAdminChangedMessage* other); - + // implements Message ---------------------------------------------- - + GameListAdminChangedMessage* New() const; void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from); void CopyFrom(const GameListAdminChangedMessage& from); void MergeFrom(const GameListAdminChangedMessage& from); void Clear(); bool IsInitialized() const; - + int ByteSize() const; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input); @@ -2669,44 +2991,48 @@ class GameListAdminChangedMessage : public ::google::protobuf::MessageLite { void SharedDtor(); void SetCachedSize(int size) const; public: - + ::std::string GetTypeName() const; - + // nested types ---------------------------------------------------- - + // accessors ------------------------------------------------------- - + // required uint32 gameId = 1; inline bool has_gameid() const; inline void clear_gameid(); static const int kGameIdFieldNumber = 1; inline ::google::protobuf::uint32 gameid() const; inline void set_gameid(::google::protobuf::uint32 value); - + // required uint32 newAdminPlayerId = 2; inline bool has_newadminplayerid() const; inline void clear_newadminplayerid(); static const int kNewAdminPlayerIdFieldNumber = 2; inline ::google::protobuf::uint32 newadminplayerid() const; inline void set_newadminplayerid(::google::protobuf::uint32 value); - + // @@protoc_insertion_point(class_scope:GameListAdminChangedMessage) private: inline void set_has_gameid(); inline void clear_has_gameid(); inline void set_has_newadminplayerid(); inline void clear_has_newadminplayerid(); - + ::google::protobuf::uint32 gameid_; ::google::protobuf::uint32 newadminplayerid_; - + mutable int _cached_size_; ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32]; - + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + friend void protobuf_AddDesc_pokerth_2eproto_impl(); + #else friend void protobuf_AddDesc_pokerth_2eproto(); + #endif friend void protobuf_AssignDesc_pokerth_2eproto(); friend void protobuf_ShutdownFile_pokerth_2eproto(); - + void InitAsDefaultInstance(); static GameListAdminChangedMessage* default_instance_; }; @@ -2716,27 +3042,37 @@ class PlayerInfoRequestMessage : public ::google::protobuf::MessageLite { public: PlayerInfoRequestMessage(); virtual ~PlayerInfoRequestMessage(); - + PlayerInfoRequestMessage(const PlayerInfoRequestMessage& from); - + inline PlayerInfoRequestMessage& operator=(const PlayerInfoRequestMessage& from) { CopyFrom(from); return *this; } - + static const PlayerInfoRequestMessage& default_instance(); - + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + // Returns the internal default instance pointer. This function can + // return NULL thus should not be used by the user. This is intended + // for Protobuf internal code. Please use default_instance() declared + // above instead. + static inline const PlayerInfoRequestMessage* internal_default_instance() { + return default_instance_; + } + #endif + void Swap(PlayerInfoRequestMessage* other); - + // implements Message ---------------------------------------------- - + PlayerInfoRequestMessage* New() const; void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from); void CopyFrom(const PlayerInfoRequestMessage& from); void MergeFrom(const PlayerInfoRequestMessage& from); void Clear(); bool IsInitialized() const; - + int ByteSize() const; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input); @@ -2748,13 +3084,13 @@ class PlayerInfoRequestMessage : public ::google::protobuf::MessageLite { void SharedDtor(); void SetCachedSize(int size) const; public: - + ::std::string GetTypeName() const; - + // nested types ---------------------------------------------------- - + // accessors ------------------------------------------------------- - + // repeated uint32 playerId = 1 [packed = true]; inline int playerid_size() const; inline void clear_playerid(); @@ -2766,20 +3102,24 @@ class PlayerInfoRequestMessage : public ::google::protobuf::MessageLite { playerid() const; inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >* mutable_playerid(); - + // @@protoc_insertion_point(class_scope:PlayerInfoRequestMessage) private: - + ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > playerid_; mutable int _playerid_cached_byte_size_; - + mutable int _cached_size_; ::google::protobuf::uint32 _has_bits_[(1 + 31) / 32]; - + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + friend void protobuf_AddDesc_pokerth_2eproto_impl(); + #else friend void protobuf_AddDesc_pokerth_2eproto(); + #endif friend void protobuf_AssignDesc_pokerth_2eproto(); friend void protobuf_ShutdownFile_pokerth_2eproto(); - + void InitAsDefaultInstance(); static PlayerInfoRequestMessage* default_instance_; }; @@ -2789,27 +3129,37 @@ class PlayerInfoReplyMessage_PlayerInfoData_AvatarData : public ::google::protob public: PlayerInfoReplyMessage_PlayerInfoData_AvatarData(); virtual ~PlayerInfoReplyMessage_PlayerInfoData_AvatarData(); - + PlayerInfoReplyMessage_PlayerInfoData_AvatarData(const PlayerInfoReplyMessage_PlayerInfoData_AvatarData& from); - + inline PlayerInfoReplyMessage_PlayerInfoData_AvatarData& operator=(const PlayerInfoReplyMessage_PlayerInfoData_AvatarData& from) { CopyFrom(from); return *this; } - + static const PlayerInfoReplyMessage_PlayerInfoData_AvatarData& default_instance(); - + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + // Returns the internal default instance pointer. This function can + // return NULL thus should not be used by the user. This is intended + // for Protobuf internal code. Please use default_instance() declared + // above instead. + static inline const PlayerInfoReplyMessage_PlayerInfoData_AvatarData* internal_default_instance() { + return default_instance_; + } + #endif + void Swap(PlayerInfoReplyMessage_PlayerInfoData_AvatarData* other); - + // implements Message ---------------------------------------------- - + PlayerInfoReplyMessage_PlayerInfoData_AvatarData* New() const; void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from); void CopyFrom(const PlayerInfoReplyMessage_PlayerInfoData_AvatarData& from); void MergeFrom(const PlayerInfoReplyMessage_PlayerInfoData_AvatarData& from); void Clear(); bool IsInitialized() const; - + int ByteSize() const; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input); @@ -2821,20 +3171,20 @@ class PlayerInfoReplyMessage_PlayerInfoData_AvatarData : public ::google::protob void SharedDtor(); void SetCachedSize(int size) const; public: - + ::std::string GetTypeName() const; - + // nested types ---------------------------------------------------- - + // accessors ------------------------------------------------------- - + // required .NetAvatarType avatarType = 1; inline bool has_avatartype() const; inline void clear_avatartype(); static const int kAvatarTypeFieldNumber = 1; - inline NetAvatarType avatartype() const; - inline void set_avatartype(NetAvatarType value); - + inline ::NetAvatarType avatartype() const; + inline void set_avatartype(::NetAvatarType value); + // required bytes avatarHash = 2; inline bool has_avatarhash() const; inline void clear_avatarhash(); @@ -2845,24 +3195,29 @@ class PlayerInfoReplyMessage_PlayerInfoData_AvatarData : public ::google::protob inline void set_avatarhash(const void* value, size_t size); inline ::std::string* mutable_avatarhash(); inline ::std::string* release_avatarhash(); - + inline void set_allocated_avatarhash(::std::string* avatarhash); + // @@protoc_insertion_point(class_scope:PlayerInfoReplyMessage.PlayerInfoData.AvatarData) private: inline void set_has_avatartype(); inline void clear_has_avatartype(); inline void set_has_avatarhash(); inline void clear_has_avatarhash(); - + ::std::string* avatarhash_; int avatartype_; - + mutable int _cached_size_; ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32]; - + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + friend void protobuf_AddDesc_pokerth_2eproto_impl(); + #else friend void protobuf_AddDesc_pokerth_2eproto(); + #endif friend void protobuf_AssignDesc_pokerth_2eproto(); friend void protobuf_ShutdownFile_pokerth_2eproto(); - + void InitAsDefaultInstance(); static PlayerInfoReplyMessage_PlayerInfoData_AvatarData* default_instance_; }; @@ -2872,27 +3227,37 @@ class PlayerInfoReplyMessage_PlayerInfoData : public ::google::protobuf::Message public: PlayerInfoReplyMessage_PlayerInfoData(); virtual ~PlayerInfoReplyMessage_PlayerInfoData(); - + PlayerInfoReplyMessage_PlayerInfoData(const PlayerInfoReplyMessage_PlayerInfoData& from); - + inline PlayerInfoReplyMessage_PlayerInfoData& operator=(const PlayerInfoReplyMessage_PlayerInfoData& from) { CopyFrom(from); return *this; } - + static const PlayerInfoReplyMessage_PlayerInfoData& default_instance(); - + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + // Returns the internal default instance pointer. This function can + // return NULL thus should not be used by the user. This is intended + // for Protobuf internal code. Please use default_instance() declared + // above instead. + static inline const PlayerInfoReplyMessage_PlayerInfoData* internal_default_instance() { + return default_instance_; + } + #endif + void Swap(PlayerInfoReplyMessage_PlayerInfoData* other); - + // implements Message ---------------------------------------------- - + PlayerInfoReplyMessage_PlayerInfoData* New() const; void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from); void CopyFrom(const PlayerInfoReplyMessage_PlayerInfoData& from); void MergeFrom(const PlayerInfoReplyMessage_PlayerInfoData& from); void Clear(); bool IsInitialized() const; - + int ByteSize() const; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input); @@ -2904,15 +3269,15 @@ class PlayerInfoReplyMessage_PlayerInfoData : public ::google::protobuf::Message void SharedDtor(); void SetCachedSize(int size) const; public: - + ::std::string GetTypeName() const; - + // nested types ---------------------------------------------------- - + typedef PlayerInfoReplyMessage_PlayerInfoData_AvatarData AvatarData; - + // accessors ------------------------------------------------------- - + // required string playerName = 1; inline bool has_playername() const; inline void clear_playername(); @@ -2923,21 +3288,22 @@ class PlayerInfoReplyMessage_PlayerInfoData : public ::google::protobuf::Message inline void set_playername(const char* value, size_t size); inline ::std::string* mutable_playername(); inline ::std::string* release_playername(); - + inline void set_allocated_playername(::std::string* playername); + // required bool isHuman = 2; inline bool has_ishuman() const; inline void clear_ishuman(); static const int kIsHumanFieldNumber = 2; inline bool ishuman() const; inline void set_ishuman(bool value); - + // required .NetPlayerInfoRights playerRights = 3; inline bool has_playerrights() const; inline void clear_playerrights(); static const int kPlayerRightsFieldNumber = 3; - inline NetPlayerInfoRights playerrights() const; - inline void set_playerrights(NetPlayerInfoRights value); - + inline ::NetPlayerInfoRights playerrights() const; + inline void set_playerrights(::NetPlayerInfoRights value); + // optional string countryCode = 4; inline bool has_countrycode() const; inline void clear_countrycode(); @@ -2948,7 +3314,8 @@ class PlayerInfoReplyMessage_PlayerInfoData : public ::google::protobuf::Message inline void set_countrycode(const char* value, size_t size); inline ::std::string* mutable_countrycode(); inline ::std::string* release_countrycode(); - + inline void set_allocated_countrycode(::std::string* countrycode); + // optional .PlayerInfoReplyMessage.PlayerInfoData.AvatarData avatarData = 5; inline bool has_avatardata() const; inline void clear_avatardata(); @@ -2956,7 +3323,8 @@ class PlayerInfoReplyMessage_PlayerInfoData : public ::google::protobuf::Message inline const ::PlayerInfoReplyMessage_PlayerInfoData_AvatarData& avatardata() const; inline ::PlayerInfoReplyMessage_PlayerInfoData_AvatarData* mutable_avatardata(); inline ::PlayerInfoReplyMessage_PlayerInfoData_AvatarData* release_avatardata(); - + inline void set_allocated_avatardata(::PlayerInfoReplyMessage_PlayerInfoData_AvatarData* avatardata); + // @@protoc_insertion_point(class_scope:PlayerInfoReplyMessage.PlayerInfoData) private: inline void set_has_playername(); @@ -2969,20 +3337,24 @@ class PlayerInfoReplyMessage_PlayerInfoData : public ::google::protobuf::Message inline void clear_has_countrycode(); inline void set_has_avatardata(); inline void clear_has_avatardata(); - + ::std::string* playername_; bool ishuman_; int playerrights_; ::std::string* countrycode_; ::PlayerInfoReplyMessage_PlayerInfoData_AvatarData* avatardata_; - + mutable int _cached_size_; ::google::protobuf::uint32 _has_bits_[(5 + 31) / 32]; - + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + friend void protobuf_AddDesc_pokerth_2eproto_impl(); + #else friend void protobuf_AddDesc_pokerth_2eproto(); + #endif friend void protobuf_AssignDesc_pokerth_2eproto(); friend void protobuf_ShutdownFile_pokerth_2eproto(); - + void InitAsDefaultInstance(); static PlayerInfoReplyMessage_PlayerInfoData* default_instance_; }; @@ -2992,27 +3364,37 @@ class PlayerInfoReplyMessage : public ::google::protobuf::MessageLite { public: PlayerInfoReplyMessage(); virtual ~PlayerInfoReplyMessage(); - + PlayerInfoReplyMessage(const PlayerInfoReplyMessage& from); - + inline PlayerInfoReplyMessage& operator=(const PlayerInfoReplyMessage& from) { CopyFrom(from); return *this; } - + static const PlayerInfoReplyMessage& default_instance(); - + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + // Returns the internal default instance pointer. This function can + // return NULL thus should not be used by the user. This is intended + // for Protobuf internal code. Please use default_instance() declared + // above instead. + static inline const PlayerInfoReplyMessage* internal_default_instance() { + return default_instance_; + } + #endif + void Swap(PlayerInfoReplyMessage* other); - + // implements Message ---------------------------------------------- - + PlayerInfoReplyMessage* New() const; void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from); void CopyFrom(const PlayerInfoReplyMessage& from); void MergeFrom(const PlayerInfoReplyMessage& from); void Clear(); bool IsInitialized() const; - + int ByteSize() const; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input); @@ -3024,22 +3406,22 @@ class PlayerInfoReplyMessage : public ::google::protobuf::MessageLite { void SharedDtor(); void SetCachedSize(int size) const; public: - + ::std::string GetTypeName() const; - + // nested types ---------------------------------------------------- - + typedef PlayerInfoReplyMessage_PlayerInfoData PlayerInfoData; - + // accessors ------------------------------------------------------- - + // required uint32 playerId = 1; inline bool has_playerid() const; inline void clear_playerid(); static const int kPlayerIdFieldNumber = 1; inline ::google::protobuf::uint32 playerid() const; inline void set_playerid(::google::protobuf::uint32 value); - + // optional .PlayerInfoReplyMessage.PlayerInfoData playerInfoData = 2; inline bool has_playerinfodata() const; inline void clear_playerinfodata(); @@ -3047,24 +3429,29 @@ class PlayerInfoReplyMessage : public ::google::protobuf::MessageLite { inline const ::PlayerInfoReplyMessage_PlayerInfoData& playerinfodata() const; inline ::PlayerInfoReplyMessage_PlayerInfoData* mutable_playerinfodata(); inline ::PlayerInfoReplyMessage_PlayerInfoData* release_playerinfodata(); - + inline void set_allocated_playerinfodata(::PlayerInfoReplyMessage_PlayerInfoData* playerinfodata); + // @@protoc_insertion_point(class_scope:PlayerInfoReplyMessage) private: inline void set_has_playerid(); inline void clear_has_playerid(); inline void set_has_playerinfodata(); inline void clear_has_playerinfodata(); - + ::PlayerInfoReplyMessage_PlayerInfoData* playerinfodata_; ::google::protobuf::uint32 playerid_; - + mutable int _cached_size_; ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32]; - + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + friend void protobuf_AddDesc_pokerth_2eproto_impl(); + #else friend void protobuf_AddDesc_pokerth_2eproto(); + #endif friend void protobuf_AssignDesc_pokerth_2eproto(); friend void protobuf_ShutdownFile_pokerth_2eproto(); - + void InitAsDefaultInstance(); static PlayerInfoReplyMessage* default_instance_; }; @@ -3074,27 +3461,37 @@ class SubscriptionRequestMessage : public ::google::protobuf::MessageLite { public: SubscriptionRequestMessage(); virtual ~SubscriptionRequestMessage(); - + SubscriptionRequestMessage(const SubscriptionRequestMessage& from); - + inline SubscriptionRequestMessage& operator=(const SubscriptionRequestMessage& from) { CopyFrom(from); return *this; } - + static const SubscriptionRequestMessage& default_instance(); - + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + // Returns the internal default instance pointer. This function can + // return NULL thus should not be used by the user. This is intended + // for Protobuf internal code. Please use default_instance() declared + // above instead. + static inline const SubscriptionRequestMessage* internal_default_instance() { + return default_instance_; + } + #endif + void Swap(SubscriptionRequestMessage* other); - + // implements Message ---------------------------------------------- - + SubscriptionRequestMessage* New() const; void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from); void CopyFrom(const SubscriptionRequestMessage& from); void MergeFrom(const SubscriptionRequestMessage& from); void Clear(); bool IsInitialized() const; - + int ByteSize() const; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input); @@ -3106,11 +3503,11 @@ class SubscriptionRequestMessage : public ::google::protobuf::MessageLite { void SharedDtor(); void SetCachedSize(int size) const; public: - + ::std::string GetTypeName() const; - + // nested types ---------------------------------------------------- - + typedef SubscriptionRequestMessage_SubscriptionAction SubscriptionAction; static const SubscriptionAction unsubscribeGameList = SubscriptionRequestMessage_SubscriptionAction_unsubscribeGameList; static const SubscriptionAction resubscribeGameList = SubscriptionRequestMessage_SubscriptionAction_resubscribeGameList; @@ -3123,30 +3520,34 @@ class SubscriptionRequestMessage : public ::google::protobuf::MessageLite { SubscriptionRequestMessage_SubscriptionAction_SubscriptionAction_MAX; static const int SubscriptionAction_ARRAYSIZE = SubscriptionRequestMessage_SubscriptionAction_SubscriptionAction_ARRAYSIZE; - + // accessors ------------------------------------------------------- - + // required .SubscriptionRequestMessage.SubscriptionAction subscriptionAction = 1; inline bool has_subscriptionaction() const; inline void clear_subscriptionaction(); static const int kSubscriptionActionFieldNumber = 1; inline ::SubscriptionRequestMessage_SubscriptionAction subscriptionaction() const; inline void set_subscriptionaction(::SubscriptionRequestMessage_SubscriptionAction value); - + // @@protoc_insertion_point(class_scope:SubscriptionRequestMessage) private: inline void set_has_subscriptionaction(); inline void clear_has_subscriptionaction(); - + int subscriptionaction_; - + mutable int _cached_size_; ::google::protobuf::uint32 _has_bits_[(1 + 31) / 32]; - + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + friend void protobuf_AddDesc_pokerth_2eproto_impl(); + #else friend void protobuf_AddDesc_pokerth_2eproto(); + #endif friend void protobuf_AssignDesc_pokerth_2eproto(); friend void protobuf_ShutdownFile_pokerth_2eproto(); - + void InitAsDefaultInstance(); static SubscriptionRequestMessage* default_instance_; }; @@ -3156,27 +3557,37 @@ class JoinExistingGameMessage : public ::google::protobuf::MessageLite { public: JoinExistingGameMessage(); virtual ~JoinExistingGameMessage(); - + JoinExistingGameMessage(const JoinExistingGameMessage& from); - + inline JoinExistingGameMessage& operator=(const JoinExistingGameMessage& from) { CopyFrom(from); return *this; } - + static const JoinExistingGameMessage& default_instance(); - + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + // Returns the internal default instance pointer. This function can + // return NULL thus should not be used by the user. This is intended + // for Protobuf internal code. Please use default_instance() declared + // above instead. + static inline const JoinExistingGameMessage* internal_default_instance() { + return default_instance_; + } + #endif + void Swap(JoinExistingGameMessage* other); - + // implements Message ---------------------------------------------- - + JoinExistingGameMessage* New() const; void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from); void CopyFrom(const JoinExistingGameMessage& from); void MergeFrom(const JoinExistingGameMessage& from); void Clear(); bool IsInitialized() const; - + int ByteSize() const; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input); @@ -3188,20 +3599,20 @@ class JoinExistingGameMessage : public ::google::protobuf::MessageLite { void SharedDtor(); void SetCachedSize(int size) const; public: - + ::std::string GetTypeName() const; - + // nested types ---------------------------------------------------- - + // accessors ------------------------------------------------------- - + // required uint32 gameId = 1; inline bool has_gameid() const; inline void clear_gameid(); static const int kGameIdFieldNumber = 1; inline ::google::protobuf::uint32 gameid() const; inline void set_gameid(::google::protobuf::uint32 value); - + // optional string password = 2; inline bool has_password() const; inline void clear_password(); @@ -3212,21 +3623,22 @@ class JoinExistingGameMessage : public ::google::protobuf::MessageLite { inline void set_password(const char* value, size_t size); inline ::std::string* mutable_password(); inline ::std::string* release_password(); - + inline void set_allocated_password(::std::string* password); + // optional bool autoLeave = 3; inline bool has_autoleave() const; inline void clear_autoleave(); static const int kAutoLeaveFieldNumber = 3; inline bool autoleave() const; inline void set_autoleave(bool value); - + // optional bool spectateOnly = 4; inline bool has_spectateonly() const; inline void clear_spectateonly(); static const int kSpectateOnlyFieldNumber = 4; inline bool spectateonly() const; inline void set_spectateonly(bool value); - + // @@protoc_insertion_point(class_scope:JoinExistingGameMessage) private: inline void set_has_gameid(); @@ -3237,19 +3649,23 @@ class JoinExistingGameMessage : public ::google::protobuf::MessageLite { inline void clear_has_autoleave(); inline void set_has_spectateonly(); inline void clear_has_spectateonly(); - + ::std::string* password_; ::google::protobuf::uint32 gameid_; bool autoleave_; bool spectateonly_; - + mutable int _cached_size_; ::google::protobuf::uint32 _has_bits_[(4 + 31) / 32]; - + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + friend void protobuf_AddDesc_pokerth_2eproto_impl(); + #else friend void protobuf_AddDesc_pokerth_2eproto(); + #endif friend void protobuf_AssignDesc_pokerth_2eproto(); friend void protobuf_ShutdownFile_pokerth_2eproto(); - + void InitAsDefaultInstance(); static JoinExistingGameMessage* default_instance_; }; @@ -3259,27 +3675,37 @@ class JoinNewGameMessage : public ::google::protobuf::MessageLite { public: JoinNewGameMessage(); virtual ~JoinNewGameMessage(); - + JoinNewGameMessage(const JoinNewGameMessage& from); - + inline JoinNewGameMessage& operator=(const JoinNewGameMessage& from) { CopyFrom(from); return *this; } - + static const JoinNewGameMessage& default_instance(); - + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + // Returns the internal default instance pointer. This function can + // return NULL thus should not be used by the user. This is intended + // for Protobuf internal code. Please use default_instance() declared + // above instead. + static inline const JoinNewGameMessage* internal_default_instance() { + return default_instance_; + } + #endif + void Swap(JoinNewGameMessage* other); - + // implements Message ---------------------------------------------- - + JoinNewGameMessage* New() const; void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from); void CopyFrom(const JoinNewGameMessage& from); void MergeFrom(const JoinNewGameMessage& from); void Clear(); bool IsInitialized() const; - + int ByteSize() const; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input); @@ -3291,13 +3717,13 @@ class JoinNewGameMessage : public ::google::protobuf::MessageLite { void SharedDtor(); void SetCachedSize(int size) const; public: - + ::std::string GetTypeName() const; - + // nested types ---------------------------------------------------- - + // accessors ------------------------------------------------------- - + // required .NetGameInfo gameInfo = 1; inline bool has_gameinfo() const; inline void clear_gameinfo(); @@ -3305,7 +3731,8 @@ class JoinNewGameMessage : public ::google::protobuf::MessageLite { inline const ::NetGameInfo& gameinfo() const; inline ::NetGameInfo* mutable_gameinfo(); inline ::NetGameInfo* release_gameinfo(); - + inline void set_allocated_gameinfo(::NetGameInfo* gameinfo); + // optional string password = 2; inline bool has_password() const; inline void clear_password(); @@ -3316,14 +3743,15 @@ class JoinNewGameMessage : public ::google::protobuf::MessageLite { inline void set_password(const char* value, size_t size); inline ::std::string* mutable_password(); inline ::std::string* release_password(); - + inline void set_allocated_password(::std::string* password); + // optional bool autoLeave = 3; inline bool has_autoleave() const; inline void clear_autoleave(); static const int kAutoLeaveFieldNumber = 3; inline bool autoleave() const; inline void set_autoleave(bool value); - + // @@protoc_insertion_point(class_scope:JoinNewGameMessage) private: inline void set_has_gameinfo(); @@ -3332,18 +3760,22 @@ class JoinNewGameMessage : public ::google::protobuf::MessageLite { inline void clear_has_password(); inline void set_has_autoleave(); inline void clear_has_autoleave(); - + ::NetGameInfo* gameinfo_; ::std::string* password_; bool autoleave_; - + mutable int _cached_size_; ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32]; - + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + friend void protobuf_AddDesc_pokerth_2eproto_impl(); + #else friend void protobuf_AddDesc_pokerth_2eproto(); + #endif friend void protobuf_AssignDesc_pokerth_2eproto(); friend void protobuf_ShutdownFile_pokerth_2eproto(); - + void InitAsDefaultInstance(); static JoinNewGameMessage* default_instance_; }; @@ -3353,27 +3785,37 @@ class RejoinExistingGameMessage : public ::google::protobuf::MessageLite { public: RejoinExistingGameMessage(); virtual ~RejoinExistingGameMessage(); - + RejoinExistingGameMessage(const RejoinExistingGameMessage& from); - + inline RejoinExistingGameMessage& operator=(const RejoinExistingGameMessage& from) { CopyFrom(from); return *this; } - + static const RejoinExistingGameMessage& default_instance(); - + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + // Returns the internal default instance pointer. This function can + // return NULL thus should not be used by the user. This is intended + // for Protobuf internal code. Please use default_instance() declared + // above instead. + static inline const RejoinExistingGameMessage* internal_default_instance() { + return default_instance_; + } + #endif + void Swap(RejoinExistingGameMessage* other); - + // implements Message ---------------------------------------------- - + RejoinExistingGameMessage* New() const; void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from); void CopyFrom(const RejoinExistingGameMessage& from); void MergeFrom(const RejoinExistingGameMessage& from); void Clear(); bool IsInitialized() const; - + int ByteSize() const; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input); @@ -3385,44 +3827,48 @@ class RejoinExistingGameMessage : public ::google::protobuf::MessageLite { void SharedDtor(); void SetCachedSize(int size) const; public: - + ::std::string GetTypeName() const; - + // nested types ---------------------------------------------------- - + // accessors ------------------------------------------------------- - + // required uint32 gameId = 1; inline bool has_gameid() const; inline void clear_gameid(); static const int kGameIdFieldNumber = 1; inline ::google::protobuf::uint32 gameid() const; inline void set_gameid(::google::protobuf::uint32 value); - + // optional bool autoLeave = 2; inline bool has_autoleave() const; inline void clear_autoleave(); static const int kAutoLeaveFieldNumber = 2; inline bool autoleave() const; inline void set_autoleave(bool value); - + // @@protoc_insertion_point(class_scope:RejoinExistingGameMessage) private: inline void set_has_gameid(); inline void clear_has_gameid(); inline void set_has_autoleave(); inline void clear_has_autoleave(); - + ::google::protobuf::uint32 gameid_; bool autoleave_; - + mutable int _cached_size_; ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32]; - + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + friend void protobuf_AddDesc_pokerth_2eproto_impl(); + #else friend void protobuf_AddDesc_pokerth_2eproto(); + #endif friend void protobuf_AssignDesc_pokerth_2eproto(); friend void protobuf_ShutdownFile_pokerth_2eproto(); - + void InitAsDefaultInstance(); static RejoinExistingGameMessage* default_instance_; }; @@ -3432,27 +3878,37 @@ class JoinGameAckMessage : public ::google::protobuf::MessageLite { public: JoinGameAckMessage(); virtual ~JoinGameAckMessage(); - + JoinGameAckMessage(const JoinGameAckMessage& from); - + inline JoinGameAckMessage& operator=(const JoinGameAckMessage& from) { CopyFrom(from); return *this; } - + static const JoinGameAckMessage& default_instance(); - + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + // Returns the internal default instance pointer. This function can + // return NULL thus should not be used by the user. This is intended + // for Protobuf internal code. Please use default_instance() declared + // above instead. + static inline const JoinGameAckMessage* internal_default_instance() { + return default_instance_; + } + #endif + void Swap(JoinGameAckMessage* other); - + // implements Message ---------------------------------------------- - + JoinGameAckMessage* New() const; void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from); void CopyFrom(const JoinGameAckMessage& from); void MergeFrom(const JoinGameAckMessage& from); void Clear(); bool IsInitialized() const; - + int ByteSize() const; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input); @@ -3464,27 +3920,27 @@ class JoinGameAckMessage : public ::google::protobuf::MessageLite { void SharedDtor(); void SetCachedSize(int size) const; public: - + ::std::string GetTypeName() const; - + // nested types ---------------------------------------------------- - + // accessors ------------------------------------------------------- - + // required uint32 gameId = 1; inline bool has_gameid() const; inline void clear_gameid(); static const int kGameIdFieldNumber = 1; inline ::google::protobuf::uint32 gameid() const; inline void set_gameid(::google::protobuf::uint32 value); - + // required bool areYouGameAdmin = 2; inline bool has_areyougameadmin() const; inline void clear_areyougameadmin(); static const int kAreYouGameAdminFieldNumber = 2; inline bool areyougameadmin() const; inline void set_areyougameadmin(bool value); - + // required .NetGameInfo gameInfo = 3; inline bool has_gameinfo() const; inline void clear_gameinfo(); @@ -3492,7 +3948,8 @@ class JoinGameAckMessage : public ::google::protobuf::MessageLite { inline const ::NetGameInfo& gameinfo() const; inline ::NetGameInfo* mutable_gameinfo(); inline ::NetGameInfo* release_gameinfo(); - + inline void set_allocated_gameinfo(::NetGameInfo* gameinfo); + // @@protoc_insertion_point(class_scope:JoinGameAckMessage) private: inline void set_has_gameid(); @@ -3501,18 +3958,22 @@ class JoinGameAckMessage : public ::google::protobuf::MessageLite { inline void clear_has_areyougameadmin(); inline void set_has_gameinfo(); inline void clear_has_gameinfo(); - + ::google::protobuf::uint32 gameid_; bool areyougameadmin_; ::NetGameInfo* gameinfo_; - + mutable int _cached_size_; ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32]; - + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + friend void protobuf_AddDesc_pokerth_2eproto_impl(); + #else friend void protobuf_AddDesc_pokerth_2eproto(); + #endif friend void protobuf_AssignDesc_pokerth_2eproto(); friend void protobuf_ShutdownFile_pokerth_2eproto(); - + void InitAsDefaultInstance(); static JoinGameAckMessage* default_instance_; }; @@ -3522,27 +3983,37 @@ class JoinGameFailedMessage : public ::google::protobuf::MessageLite { public: JoinGameFailedMessage(); virtual ~JoinGameFailedMessage(); - + JoinGameFailedMessage(const JoinGameFailedMessage& from); - + inline JoinGameFailedMessage& operator=(const JoinGameFailedMessage& from) { CopyFrom(from); return *this; } - + static const JoinGameFailedMessage& default_instance(); - + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + // Returns the internal default instance pointer. This function can + // return NULL thus should not be used by the user. This is intended + // for Protobuf internal code. Please use default_instance() declared + // above instead. + static inline const JoinGameFailedMessage* internal_default_instance() { + return default_instance_; + } + #endif + void Swap(JoinGameFailedMessage* other); - + // implements Message ---------------------------------------------- - + JoinGameFailedMessage* New() const; void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from); void CopyFrom(const JoinGameFailedMessage& from); void MergeFrom(const JoinGameFailedMessage& from); void Clear(); bool IsInitialized() const; - + int ByteSize() const; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input); @@ -3554,11 +4025,11 @@ class JoinGameFailedMessage : public ::google::protobuf::MessageLite { void SharedDtor(); void SetCachedSize(int size) const; public: - + ::std::string GetTypeName() const; - + // nested types ---------------------------------------------------- - + typedef JoinGameFailedMessage_JoinGameFailureReason JoinGameFailureReason; static const JoinGameFailureReason invalidGame = JoinGameFailedMessage_JoinGameFailureReason_invalidGame; static const JoinGameFailureReason gameIsFull = JoinGameFailedMessage_JoinGameFailureReason_gameIsFull; @@ -3580,40 +4051,44 @@ class JoinGameFailedMessage : public ::google::protobuf::MessageLite { JoinGameFailedMessage_JoinGameFailureReason_JoinGameFailureReason_MAX; static const int JoinGameFailureReason_ARRAYSIZE = JoinGameFailedMessage_JoinGameFailureReason_JoinGameFailureReason_ARRAYSIZE; - + // accessors ------------------------------------------------------- - + // required uint32 gameId = 1; inline bool has_gameid() const; inline void clear_gameid(); static const int kGameIdFieldNumber = 1; inline ::google::protobuf::uint32 gameid() const; inline void set_gameid(::google::protobuf::uint32 value); - + // required .JoinGameFailedMessage.JoinGameFailureReason joinGameFailureReason = 2; inline bool has_joingamefailurereason() const; inline void clear_joingamefailurereason(); static const int kJoinGameFailureReasonFieldNumber = 2; inline ::JoinGameFailedMessage_JoinGameFailureReason joingamefailurereason() const; inline void set_joingamefailurereason(::JoinGameFailedMessage_JoinGameFailureReason value); - + // @@protoc_insertion_point(class_scope:JoinGameFailedMessage) private: inline void set_has_gameid(); inline void clear_has_gameid(); inline void set_has_joingamefailurereason(); inline void clear_has_joingamefailurereason(); - + ::google::protobuf::uint32 gameid_; int joingamefailurereason_; - + mutable int _cached_size_; ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32]; - + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + friend void protobuf_AddDesc_pokerth_2eproto_impl(); + #else friend void protobuf_AddDesc_pokerth_2eproto(); + #endif friend void protobuf_AssignDesc_pokerth_2eproto(); friend void protobuf_ShutdownFile_pokerth_2eproto(); - + void InitAsDefaultInstance(); static JoinGameFailedMessage* default_instance_; }; @@ -3623,27 +4098,37 @@ class GamePlayerJoinedMessage : public ::google::protobuf::MessageLite { public: GamePlayerJoinedMessage(); virtual ~GamePlayerJoinedMessage(); - + GamePlayerJoinedMessage(const GamePlayerJoinedMessage& from); - + inline GamePlayerJoinedMessage& operator=(const GamePlayerJoinedMessage& from) { CopyFrom(from); return *this; } - + static const GamePlayerJoinedMessage& default_instance(); - + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + // Returns the internal default instance pointer. This function can + // return NULL thus should not be used by the user. This is intended + // for Protobuf internal code. Please use default_instance() declared + // above instead. + static inline const GamePlayerJoinedMessage* internal_default_instance() { + return default_instance_; + } + #endif + void Swap(GamePlayerJoinedMessage* other); - + // implements Message ---------------------------------------------- - + GamePlayerJoinedMessage* New() const; void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from); void CopyFrom(const GamePlayerJoinedMessage& from); void MergeFrom(const GamePlayerJoinedMessage& from); void Clear(); bool IsInitialized() const; - + int ByteSize() const; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input); @@ -3655,34 +4140,34 @@ class GamePlayerJoinedMessage : public ::google::protobuf::MessageLite { void SharedDtor(); void SetCachedSize(int size) const; public: - + ::std::string GetTypeName() const; - + // nested types ---------------------------------------------------- - + // accessors ------------------------------------------------------- - + // required uint32 gameId = 1; inline bool has_gameid() const; inline void clear_gameid(); static const int kGameIdFieldNumber = 1; inline ::google::protobuf::uint32 gameid() const; inline void set_gameid(::google::protobuf::uint32 value); - + // required uint32 playerId = 2; inline bool has_playerid() const; inline void clear_playerid(); static const int kPlayerIdFieldNumber = 2; inline ::google::protobuf::uint32 playerid() const; inline void set_playerid(::google::protobuf::uint32 value); - + // required bool isGameAdmin = 3; inline bool has_isgameadmin() const; inline void clear_isgameadmin(); static const int kIsGameAdminFieldNumber = 3; inline bool isgameadmin() const; inline void set_isgameadmin(bool value); - + // @@protoc_insertion_point(class_scope:GamePlayerJoinedMessage) private: inline void set_has_gameid(); @@ -3691,18 +4176,22 @@ class GamePlayerJoinedMessage : public ::google::protobuf::MessageLite { inline void clear_has_playerid(); inline void set_has_isgameadmin(); inline void clear_has_isgameadmin(); - + ::google::protobuf::uint32 gameid_; ::google::protobuf::uint32 playerid_; bool isgameadmin_; - + mutable int _cached_size_; ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32]; - + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + friend void protobuf_AddDesc_pokerth_2eproto_impl(); + #else friend void protobuf_AddDesc_pokerth_2eproto(); + #endif friend void protobuf_AssignDesc_pokerth_2eproto(); friend void protobuf_ShutdownFile_pokerth_2eproto(); - + void InitAsDefaultInstance(); static GamePlayerJoinedMessage* default_instance_; }; @@ -3712,27 +4201,37 @@ class GamePlayerLeftMessage : public ::google::protobuf::MessageLite { public: GamePlayerLeftMessage(); virtual ~GamePlayerLeftMessage(); - + GamePlayerLeftMessage(const GamePlayerLeftMessage& from); - + inline GamePlayerLeftMessage& operator=(const GamePlayerLeftMessage& from) { CopyFrom(from); return *this; } - + static const GamePlayerLeftMessage& default_instance(); - + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + // Returns the internal default instance pointer. This function can + // return NULL thus should not be used by the user. This is intended + // for Protobuf internal code. Please use default_instance() declared + // above instead. + static inline const GamePlayerLeftMessage* internal_default_instance() { + return default_instance_; + } + #endif + void Swap(GamePlayerLeftMessage* other); - + // implements Message ---------------------------------------------- - + GamePlayerLeftMessage* New() const; void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from); void CopyFrom(const GamePlayerLeftMessage& from); void MergeFrom(const GamePlayerLeftMessage& from); void Clear(); bool IsInitialized() const; - + int ByteSize() const; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input); @@ -3744,11 +4243,11 @@ class GamePlayerLeftMessage : public ::google::protobuf::MessageLite { void SharedDtor(); void SetCachedSize(int size) const; public: - + ::std::string GetTypeName() const; - + // nested types ---------------------------------------------------- - + typedef GamePlayerLeftMessage_GamePlayerLeftReason GamePlayerLeftReason; static const GamePlayerLeftReason leftOnRequest = GamePlayerLeftMessage_GamePlayerLeftReason_leftOnRequest; static const GamePlayerLeftReason leftKicked = GamePlayerLeftMessage_GamePlayerLeftReason_leftKicked; @@ -3762,30 +4261,30 @@ class GamePlayerLeftMessage : public ::google::protobuf::MessageLite { GamePlayerLeftMessage_GamePlayerLeftReason_GamePlayerLeftReason_MAX; static const int GamePlayerLeftReason_ARRAYSIZE = GamePlayerLeftMessage_GamePlayerLeftReason_GamePlayerLeftReason_ARRAYSIZE; - + // accessors ------------------------------------------------------- - + // required uint32 gameId = 1; inline bool has_gameid() const; inline void clear_gameid(); static const int kGameIdFieldNumber = 1; inline ::google::protobuf::uint32 gameid() const; inline void set_gameid(::google::protobuf::uint32 value); - + // required uint32 playerId = 2; inline bool has_playerid() const; inline void clear_playerid(); static const int kPlayerIdFieldNumber = 2; inline ::google::protobuf::uint32 playerid() const; inline void set_playerid(::google::protobuf::uint32 value); - + // required .GamePlayerLeftMessage.GamePlayerLeftReason gamePlayerLeftReason = 3; inline bool has_gameplayerleftreason() const; inline void clear_gameplayerleftreason(); static const int kGamePlayerLeftReasonFieldNumber = 3; inline ::GamePlayerLeftMessage_GamePlayerLeftReason gameplayerleftreason() const; inline void set_gameplayerleftreason(::GamePlayerLeftMessage_GamePlayerLeftReason value); - + // @@protoc_insertion_point(class_scope:GamePlayerLeftMessage) private: inline void set_has_gameid(); @@ -3794,18 +4293,22 @@ class GamePlayerLeftMessage : public ::google::protobuf::MessageLite { inline void clear_has_playerid(); inline void set_has_gameplayerleftreason(); inline void clear_has_gameplayerleftreason(); - + ::google::protobuf::uint32 gameid_; ::google::protobuf::uint32 playerid_; int gameplayerleftreason_; - + mutable int _cached_size_; ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32]; - + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + friend void protobuf_AddDesc_pokerth_2eproto_impl(); + #else friend void protobuf_AddDesc_pokerth_2eproto(); + #endif friend void protobuf_AssignDesc_pokerth_2eproto(); friend void protobuf_ShutdownFile_pokerth_2eproto(); - + void InitAsDefaultInstance(); static GamePlayerLeftMessage* default_instance_; }; @@ -3815,27 +4318,37 @@ class GameSpectatorJoinedMessage : public ::google::protobuf::MessageLite { public: GameSpectatorJoinedMessage(); virtual ~GameSpectatorJoinedMessage(); - + GameSpectatorJoinedMessage(const GameSpectatorJoinedMessage& from); - + inline GameSpectatorJoinedMessage& operator=(const GameSpectatorJoinedMessage& from) { CopyFrom(from); return *this; } - + static const GameSpectatorJoinedMessage& default_instance(); - + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + // Returns the internal default instance pointer. This function can + // return NULL thus should not be used by the user. This is intended + // for Protobuf internal code. Please use default_instance() declared + // above instead. + static inline const GameSpectatorJoinedMessage* internal_default_instance() { + return default_instance_; + } + #endif + void Swap(GameSpectatorJoinedMessage* other); - + // implements Message ---------------------------------------------- - + GameSpectatorJoinedMessage* New() const; void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from); void CopyFrom(const GameSpectatorJoinedMessage& from); void MergeFrom(const GameSpectatorJoinedMessage& from); void Clear(); bool IsInitialized() const; - + int ByteSize() const; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input); @@ -3847,44 +4360,48 @@ class GameSpectatorJoinedMessage : public ::google::protobuf::MessageLite { void SharedDtor(); void SetCachedSize(int size) const; public: - + ::std::string GetTypeName() const; - + // nested types ---------------------------------------------------- - + // accessors ------------------------------------------------------- - + // required uint32 gameId = 1; inline bool has_gameid() const; inline void clear_gameid(); static const int kGameIdFieldNumber = 1; inline ::google::protobuf::uint32 gameid() const; inline void set_gameid(::google::protobuf::uint32 value); - + // required uint32 playerId = 2; inline bool has_playerid() const; inline void clear_playerid(); static const int kPlayerIdFieldNumber = 2; inline ::google::protobuf::uint32 playerid() const; inline void set_playerid(::google::protobuf::uint32 value); - + // @@protoc_insertion_point(class_scope:GameSpectatorJoinedMessage) private: inline void set_has_gameid(); inline void clear_has_gameid(); inline void set_has_playerid(); inline void clear_has_playerid(); - + ::google::protobuf::uint32 gameid_; ::google::protobuf::uint32 playerid_; - + mutable int _cached_size_; ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32]; - + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + friend void protobuf_AddDesc_pokerth_2eproto_impl(); + #else friend void protobuf_AddDesc_pokerth_2eproto(); + #endif friend void protobuf_AssignDesc_pokerth_2eproto(); friend void protobuf_ShutdownFile_pokerth_2eproto(); - + void InitAsDefaultInstance(); static GameSpectatorJoinedMessage* default_instance_; }; @@ -3894,27 +4411,37 @@ class GameSpectatorLeftMessage : public ::google::protobuf::MessageLite { public: GameSpectatorLeftMessage(); virtual ~GameSpectatorLeftMessage(); - + GameSpectatorLeftMessage(const GameSpectatorLeftMessage& from); - + inline GameSpectatorLeftMessage& operator=(const GameSpectatorLeftMessage& from) { CopyFrom(from); return *this; } - + static const GameSpectatorLeftMessage& default_instance(); - + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + // Returns the internal default instance pointer. This function can + // return NULL thus should not be used by the user. This is intended + // for Protobuf internal code. Please use default_instance() declared + // above instead. + static inline const GameSpectatorLeftMessage* internal_default_instance() { + return default_instance_; + } + #endif + void Swap(GameSpectatorLeftMessage* other); - + // implements Message ---------------------------------------------- - + GameSpectatorLeftMessage* New() const; void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from); void CopyFrom(const GameSpectatorLeftMessage& from); void MergeFrom(const GameSpectatorLeftMessage& from); void Clear(); bool IsInitialized() const; - + int ByteSize() const; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input); @@ -3926,34 +4453,34 @@ class GameSpectatorLeftMessage : public ::google::protobuf::MessageLite { void SharedDtor(); void SetCachedSize(int size) const; public: - + ::std::string GetTypeName() const; - + // nested types ---------------------------------------------------- - + // accessors ------------------------------------------------------- - + // required uint32 gameId = 1; inline bool has_gameid() const; inline void clear_gameid(); static const int kGameIdFieldNumber = 1; inline ::google::protobuf::uint32 gameid() const; inline void set_gameid(::google::protobuf::uint32 value); - + // required uint32 playerId = 2; inline bool has_playerid() const; inline void clear_playerid(); static const int kPlayerIdFieldNumber = 2; inline ::google::protobuf::uint32 playerid() const; inline void set_playerid(::google::protobuf::uint32 value); - + // required .GamePlayerLeftMessage.GamePlayerLeftReason gameSpectatorLeftReason = 3; inline bool has_gamespectatorleftreason() const; inline void clear_gamespectatorleftreason(); static const int kGameSpectatorLeftReasonFieldNumber = 3; inline ::GamePlayerLeftMessage_GamePlayerLeftReason gamespectatorleftreason() const; inline void set_gamespectatorleftreason(::GamePlayerLeftMessage_GamePlayerLeftReason value); - + // @@protoc_insertion_point(class_scope:GameSpectatorLeftMessage) private: inline void set_has_gameid(); @@ -3962,18 +4489,22 @@ class GameSpectatorLeftMessage : public ::google::protobuf::MessageLite { inline void clear_has_playerid(); inline void set_has_gamespectatorleftreason(); inline void clear_has_gamespectatorleftreason(); - + ::google::protobuf::uint32 gameid_; ::google::protobuf::uint32 playerid_; int gamespectatorleftreason_; - + mutable int _cached_size_; ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32]; - + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + friend void protobuf_AddDesc_pokerth_2eproto_impl(); + #else friend void protobuf_AddDesc_pokerth_2eproto(); + #endif friend void protobuf_AssignDesc_pokerth_2eproto(); friend void protobuf_ShutdownFile_pokerth_2eproto(); - + void InitAsDefaultInstance(); static GameSpectatorLeftMessage* default_instance_; }; @@ -3983,27 +4514,37 @@ class GameAdminChangedMessage : public ::google::protobuf::MessageLite { public: GameAdminChangedMessage(); virtual ~GameAdminChangedMessage(); - + GameAdminChangedMessage(const GameAdminChangedMessage& from); - + inline GameAdminChangedMessage& operator=(const GameAdminChangedMessage& from) { CopyFrom(from); return *this; } - + static const GameAdminChangedMessage& default_instance(); - + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + // Returns the internal default instance pointer. This function can + // return NULL thus should not be used by the user. This is intended + // for Protobuf internal code. Please use default_instance() declared + // above instead. + static inline const GameAdminChangedMessage* internal_default_instance() { + return default_instance_; + } + #endif + void Swap(GameAdminChangedMessage* other); - + // implements Message ---------------------------------------------- - + GameAdminChangedMessage* New() const; void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from); void CopyFrom(const GameAdminChangedMessage& from); void MergeFrom(const GameAdminChangedMessage& from); void Clear(); bool IsInitialized() const; - + int ByteSize() const; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input); @@ -4015,44 +4556,48 @@ class GameAdminChangedMessage : public ::google::protobuf::MessageLite { void SharedDtor(); void SetCachedSize(int size) const; public: - + ::std::string GetTypeName() const; - + // nested types ---------------------------------------------------- - + // accessors ------------------------------------------------------- - + // required uint32 gameId = 1; inline bool has_gameid() const; inline void clear_gameid(); static const int kGameIdFieldNumber = 1; inline ::google::protobuf::uint32 gameid() const; inline void set_gameid(::google::protobuf::uint32 value); - + // required uint32 newAdminPlayerId = 2; inline bool has_newadminplayerid() const; inline void clear_newadminplayerid(); static const int kNewAdminPlayerIdFieldNumber = 2; inline ::google::protobuf::uint32 newadminplayerid() const; inline void set_newadminplayerid(::google::protobuf::uint32 value); - + // @@protoc_insertion_point(class_scope:GameAdminChangedMessage) private: inline void set_has_gameid(); inline void clear_has_gameid(); inline void set_has_newadminplayerid(); inline void clear_has_newadminplayerid(); - + ::google::protobuf::uint32 gameid_; ::google::protobuf::uint32 newadminplayerid_; - + mutable int _cached_size_; ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32]; - + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + friend void protobuf_AddDesc_pokerth_2eproto_impl(); + #else friend void protobuf_AddDesc_pokerth_2eproto(); + #endif friend void protobuf_AssignDesc_pokerth_2eproto(); friend void protobuf_ShutdownFile_pokerth_2eproto(); - + void InitAsDefaultInstance(); static GameAdminChangedMessage* default_instance_; }; @@ -4062,27 +4607,37 @@ class RemovedFromGameMessage : public ::google::protobuf::MessageLite { public: RemovedFromGameMessage(); virtual ~RemovedFromGameMessage(); - + RemovedFromGameMessage(const RemovedFromGameMessage& from); - + inline RemovedFromGameMessage& operator=(const RemovedFromGameMessage& from) { CopyFrom(from); return *this; } - + static const RemovedFromGameMessage& default_instance(); - + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + // Returns the internal default instance pointer. This function can + // return NULL thus should not be used by the user. This is intended + // for Protobuf internal code. Please use default_instance() declared + // above instead. + static inline const RemovedFromGameMessage* internal_default_instance() { + return default_instance_; + } + #endif + void Swap(RemovedFromGameMessage* other); - + // implements Message ---------------------------------------------- - + RemovedFromGameMessage* New() const; void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from); void CopyFrom(const RemovedFromGameMessage& from); void MergeFrom(const RemovedFromGameMessage& from); void Clear(); bool IsInitialized() const; - + int ByteSize() const; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input); @@ -4094,11 +4649,11 @@ class RemovedFromGameMessage : public ::google::protobuf::MessageLite { void SharedDtor(); void SetCachedSize(int size) const; public: - + ::std::string GetTypeName() const; - + // nested types ---------------------------------------------------- - + typedef RemovedFromGameMessage_RemovedFromGameReason RemovedFromGameReason; static const RemovedFromGameReason removedOnRequest = RemovedFromGameMessage_RemovedFromGameReason_removedOnRequest; static const RemovedFromGameReason kickedFromGame = RemovedFromGameMessage_RemovedFromGameReason_kickedFromGame; @@ -4115,40 +4670,44 @@ class RemovedFromGameMessage : public ::google::protobuf::MessageLite { RemovedFromGameMessage_RemovedFromGameReason_RemovedFromGameReason_MAX; static const int RemovedFromGameReason_ARRAYSIZE = RemovedFromGameMessage_RemovedFromGameReason_RemovedFromGameReason_ARRAYSIZE; - + // accessors ------------------------------------------------------- - + // required uint32 gameId = 1; inline bool has_gameid() const; inline void clear_gameid(); static const int kGameIdFieldNumber = 1; inline ::google::protobuf::uint32 gameid() const; inline void set_gameid(::google::protobuf::uint32 value); - + // required .RemovedFromGameMessage.RemovedFromGameReason removedFromGameReason = 2; inline bool has_removedfromgamereason() const; inline void clear_removedfromgamereason(); static const int kRemovedFromGameReasonFieldNumber = 2; inline ::RemovedFromGameMessage_RemovedFromGameReason removedfromgamereason() const; inline void set_removedfromgamereason(::RemovedFromGameMessage_RemovedFromGameReason value); - + // @@protoc_insertion_point(class_scope:RemovedFromGameMessage) private: inline void set_has_gameid(); inline void clear_has_gameid(); inline void set_has_removedfromgamereason(); inline void clear_has_removedfromgamereason(); - + ::google::protobuf::uint32 gameid_; int removedfromgamereason_; - + mutable int _cached_size_; ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32]; - + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + friend void protobuf_AddDesc_pokerth_2eproto_impl(); + #else friend void protobuf_AddDesc_pokerth_2eproto(); + #endif friend void protobuf_AssignDesc_pokerth_2eproto(); friend void protobuf_ShutdownFile_pokerth_2eproto(); - + void InitAsDefaultInstance(); static RemovedFromGameMessage* default_instance_; }; @@ -4158,27 +4717,37 @@ class KickPlayerRequestMessage : public ::google::protobuf::MessageLite { public: KickPlayerRequestMessage(); virtual ~KickPlayerRequestMessage(); - + KickPlayerRequestMessage(const KickPlayerRequestMessage& from); - + inline KickPlayerRequestMessage& operator=(const KickPlayerRequestMessage& from) { CopyFrom(from); return *this; } - + static const KickPlayerRequestMessage& default_instance(); - + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + // Returns the internal default instance pointer. This function can + // return NULL thus should not be used by the user. This is intended + // for Protobuf internal code. Please use default_instance() declared + // above instead. + static inline const KickPlayerRequestMessage* internal_default_instance() { + return default_instance_; + } + #endif + void Swap(KickPlayerRequestMessage* other); - + // implements Message ---------------------------------------------- - + KickPlayerRequestMessage* New() const; void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from); void CopyFrom(const KickPlayerRequestMessage& from); void MergeFrom(const KickPlayerRequestMessage& from); void Clear(); bool IsInitialized() const; - + int ByteSize() const; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input); @@ -4190,44 +4759,48 @@ class KickPlayerRequestMessage : public ::google::protobuf::MessageLite { void SharedDtor(); void SetCachedSize(int size) const; public: - + ::std::string GetTypeName() const; - + // nested types ---------------------------------------------------- - + // accessors ------------------------------------------------------- - + // required uint32 gameId = 1; inline bool has_gameid() const; inline void clear_gameid(); static const int kGameIdFieldNumber = 1; inline ::google::protobuf::uint32 gameid() const; inline void set_gameid(::google::protobuf::uint32 value); - + // required uint32 playerId = 2; inline bool has_playerid() const; inline void clear_playerid(); static const int kPlayerIdFieldNumber = 2; inline ::google::protobuf::uint32 playerid() const; inline void set_playerid(::google::protobuf::uint32 value); - + // @@protoc_insertion_point(class_scope:KickPlayerRequestMessage) private: inline void set_has_gameid(); inline void clear_has_gameid(); inline void set_has_playerid(); inline void clear_has_playerid(); - + ::google::protobuf::uint32 gameid_; ::google::protobuf::uint32 playerid_; - + mutable int _cached_size_; ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32]; - + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + friend void protobuf_AddDesc_pokerth_2eproto_impl(); + #else friend void protobuf_AddDesc_pokerth_2eproto(); + #endif friend void protobuf_AssignDesc_pokerth_2eproto(); friend void protobuf_ShutdownFile_pokerth_2eproto(); - + void InitAsDefaultInstance(); static KickPlayerRequestMessage* default_instance_; }; @@ -4237,27 +4810,37 @@ class LeaveGameRequestMessage : public ::google::protobuf::MessageLite { public: LeaveGameRequestMessage(); virtual ~LeaveGameRequestMessage(); - + LeaveGameRequestMessage(const LeaveGameRequestMessage& from); - + inline LeaveGameRequestMessage& operator=(const LeaveGameRequestMessage& from) { CopyFrom(from); return *this; } - + static const LeaveGameRequestMessage& default_instance(); - + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + // Returns the internal default instance pointer. This function can + // return NULL thus should not be used by the user. This is intended + // for Protobuf internal code. Please use default_instance() declared + // above instead. + static inline const LeaveGameRequestMessage* internal_default_instance() { + return default_instance_; + } + #endif + void Swap(LeaveGameRequestMessage* other); - + // implements Message ---------------------------------------------- - + LeaveGameRequestMessage* New() const; void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from); void CopyFrom(const LeaveGameRequestMessage& from); void MergeFrom(const LeaveGameRequestMessage& from); void Clear(); bool IsInitialized() const; - + int ByteSize() const; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input); @@ -4269,34 +4852,38 @@ class LeaveGameRequestMessage : public ::google::protobuf::MessageLite { void SharedDtor(); void SetCachedSize(int size) const; public: - + ::std::string GetTypeName() const; - + // nested types ---------------------------------------------------- - + // accessors ------------------------------------------------------- - + // required uint32 gameId = 1; inline bool has_gameid() const; inline void clear_gameid(); static const int kGameIdFieldNumber = 1; inline ::google::protobuf::uint32 gameid() const; inline void set_gameid(::google::protobuf::uint32 value); - + // @@protoc_insertion_point(class_scope:LeaveGameRequestMessage) private: inline void set_has_gameid(); inline void clear_has_gameid(); - + ::google::protobuf::uint32 gameid_; - + mutable int _cached_size_; ::google::protobuf::uint32 _has_bits_[(1 + 31) / 32]; - + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + friend void protobuf_AddDesc_pokerth_2eproto_impl(); + #else friend void protobuf_AddDesc_pokerth_2eproto(); + #endif friend void protobuf_AssignDesc_pokerth_2eproto(); friend void protobuf_ShutdownFile_pokerth_2eproto(); - + void InitAsDefaultInstance(); static LeaveGameRequestMessage* default_instance_; }; @@ -4306,27 +4893,37 @@ class InvitePlayerToGameMessage : public ::google::protobuf::MessageLite { public: InvitePlayerToGameMessage(); virtual ~InvitePlayerToGameMessage(); - + InvitePlayerToGameMessage(const InvitePlayerToGameMessage& from); - + inline InvitePlayerToGameMessage& operator=(const InvitePlayerToGameMessage& from) { CopyFrom(from); return *this; } - + static const InvitePlayerToGameMessage& default_instance(); - + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + // Returns the internal default instance pointer. This function can + // return NULL thus should not be used by the user. This is intended + // for Protobuf internal code. Please use default_instance() declared + // above instead. + static inline const InvitePlayerToGameMessage* internal_default_instance() { + return default_instance_; + } + #endif + void Swap(InvitePlayerToGameMessage* other); - + // implements Message ---------------------------------------------- - + InvitePlayerToGameMessage* New() const; void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from); void CopyFrom(const InvitePlayerToGameMessage& from); void MergeFrom(const InvitePlayerToGameMessage& from); void Clear(); bool IsInitialized() const; - + int ByteSize() const; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input); @@ -4338,44 +4935,48 @@ class InvitePlayerToGameMessage : public ::google::protobuf::MessageLite { void SharedDtor(); void SetCachedSize(int size) const; public: - + ::std::string GetTypeName() const; - + // nested types ---------------------------------------------------- - + // accessors ------------------------------------------------------- - + // required uint32 gameId = 1; inline bool has_gameid() const; inline void clear_gameid(); static const int kGameIdFieldNumber = 1; inline ::google::protobuf::uint32 gameid() const; inline void set_gameid(::google::protobuf::uint32 value); - + // required uint32 playerId = 2; inline bool has_playerid() const; inline void clear_playerid(); static const int kPlayerIdFieldNumber = 2; inline ::google::protobuf::uint32 playerid() const; inline void set_playerid(::google::protobuf::uint32 value); - + // @@protoc_insertion_point(class_scope:InvitePlayerToGameMessage) private: inline void set_has_gameid(); inline void clear_has_gameid(); inline void set_has_playerid(); inline void clear_has_playerid(); - + ::google::protobuf::uint32 gameid_; ::google::protobuf::uint32 playerid_; - + mutable int _cached_size_; ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32]; - + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + friend void protobuf_AddDesc_pokerth_2eproto_impl(); + #else friend void protobuf_AddDesc_pokerth_2eproto(); + #endif friend void protobuf_AssignDesc_pokerth_2eproto(); friend void protobuf_ShutdownFile_pokerth_2eproto(); - + void InitAsDefaultInstance(); static InvitePlayerToGameMessage* default_instance_; }; @@ -4385,27 +4986,37 @@ class InviteNotifyMessage : public ::google::protobuf::MessageLite { public: InviteNotifyMessage(); virtual ~InviteNotifyMessage(); - + InviteNotifyMessage(const InviteNotifyMessage& from); - + inline InviteNotifyMessage& operator=(const InviteNotifyMessage& from) { CopyFrom(from); return *this; } - + static const InviteNotifyMessage& default_instance(); - + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + // Returns the internal default instance pointer. This function can + // return NULL thus should not be used by the user. This is intended + // for Protobuf internal code. Please use default_instance() declared + // above instead. + static inline const InviteNotifyMessage* internal_default_instance() { + return default_instance_; + } + #endif + void Swap(InviteNotifyMessage* other); - + // implements Message ---------------------------------------------- - + InviteNotifyMessage* New() const; void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from); void CopyFrom(const InviteNotifyMessage& from); void MergeFrom(const InviteNotifyMessage& from); void Clear(); bool IsInitialized() const; - + int ByteSize() const; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input); @@ -4417,34 +5028,34 @@ class InviteNotifyMessage : public ::google::protobuf::MessageLite { void SharedDtor(); void SetCachedSize(int size) const; public: - + ::std::string GetTypeName() const; - + // nested types ---------------------------------------------------- - + // accessors ------------------------------------------------------- - + // required uint32 gameId = 1; inline bool has_gameid() const; inline void clear_gameid(); static const int kGameIdFieldNumber = 1; inline ::google::protobuf::uint32 gameid() const; inline void set_gameid(::google::protobuf::uint32 value); - + // required uint32 playerIdWho = 2; inline bool has_playeridwho() const; inline void clear_playeridwho(); static const int kPlayerIdWhoFieldNumber = 2; inline ::google::protobuf::uint32 playeridwho() const; inline void set_playeridwho(::google::protobuf::uint32 value); - + // required uint32 playerIdByWhom = 3; inline bool has_playeridbywhom() const; inline void clear_playeridbywhom(); static const int kPlayerIdByWhomFieldNumber = 3; inline ::google::protobuf::uint32 playeridbywhom() const; inline void set_playeridbywhom(::google::protobuf::uint32 value); - + // @@protoc_insertion_point(class_scope:InviteNotifyMessage) private: inline void set_has_gameid(); @@ -4453,18 +5064,22 @@ class InviteNotifyMessage : public ::google::protobuf::MessageLite { inline void clear_has_playeridwho(); inline void set_has_playeridbywhom(); inline void clear_has_playeridbywhom(); - + ::google::protobuf::uint32 gameid_; ::google::protobuf::uint32 playeridwho_; ::google::protobuf::uint32 playeridbywhom_; - + mutable int _cached_size_; ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32]; - + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + friend void protobuf_AddDesc_pokerth_2eproto_impl(); + #else friend void protobuf_AddDesc_pokerth_2eproto(); + #endif friend void protobuf_AssignDesc_pokerth_2eproto(); friend void protobuf_ShutdownFile_pokerth_2eproto(); - + void InitAsDefaultInstance(); static InviteNotifyMessage* default_instance_; }; @@ -4474,27 +5089,37 @@ class RejectGameInvitationMessage : public ::google::protobuf::MessageLite { public: RejectGameInvitationMessage(); virtual ~RejectGameInvitationMessage(); - + RejectGameInvitationMessage(const RejectGameInvitationMessage& from); - + inline RejectGameInvitationMessage& operator=(const RejectGameInvitationMessage& from) { CopyFrom(from); return *this; } - + static const RejectGameInvitationMessage& default_instance(); - + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + // Returns the internal default instance pointer. This function can + // return NULL thus should not be used by the user. This is intended + // for Protobuf internal code. Please use default_instance() declared + // above instead. + static inline const RejectGameInvitationMessage* internal_default_instance() { + return default_instance_; + } + #endif + void Swap(RejectGameInvitationMessage* other); - + // implements Message ---------------------------------------------- - + RejectGameInvitationMessage* New() const; void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from); void CopyFrom(const RejectGameInvitationMessage& from); void MergeFrom(const RejectGameInvitationMessage& from); void Clear(); bool IsInitialized() const; - + int ByteSize() const; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input); @@ -4506,11 +5131,11 @@ class RejectGameInvitationMessage : public ::google::protobuf::MessageLite { void SharedDtor(); void SetCachedSize(int size) const; public: - + ::std::string GetTypeName() const; - + // nested types ---------------------------------------------------- - + typedef RejectGameInvitationMessage_RejectGameInvReason RejectGameInvReason; static const RejectGameInvReason rejectReasonNo = RejectGameInvitationMessage_RejectGameInvReason_rejectReasonNo; static const RejectGameInvReason rejectReasonBusy = RejectGameInvitationMessage_RejectGameInvReason_rejectReasonBusy; @@ -4523,40 +5148,44 @@ class RejectGameInvitationMessage : public ::google::protobuf::MessageLite { RejectGameInvitationMessage_RejectGameInvReason_RejectGameInvReason_MAX; static const int RejectGameInvReason_ARRAYSIZE = RejectGameInvitationMessage_RejectGameInvReason_RejectGameInvReason_ARRAYSIZE; - + // accessors ------------------------------------------------------- - + // required uint32 gameId = 1; inline bool has_gameid() const; inline void clear_gameid(); static const int kGameIdFieldNumber = 1; inline ::google::protobuf::uint32 gameid() const; inline void set_gameid(::google::protobuf::uint32 value); - + // required .RejectGameInvitationMessage.RejectGameInvReason myRejectReason = 2; inline bool has_myrejectreason() const; inline void clear_myrejectreason(); static const int kMyRejectReasonFieldNumber = 2; inline ::RejectGameInvitationMessage_RejectGameInvReason myrejectreason() const; inline void set_myrejectreason(::RejectGameInvitationMessage_RejectGameInvReason value); - + // @@protoc_insertion_point(class_scope:RejectGameInvitationMessage) private: inline void set_has_gameid(); inline void clear_has_gameid(); inline void set_has_myrejectreason(); inline void clear_has_myrejectreason(); - + ::google::protobuf::uint32 gameid_; int myrejectreason_; - + mutable int _cached_size_; ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32]; - + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + friend void protobuf_AddDesc_pokerth_2eproto_impl(); + #else friend void protobuf_AddDesc_pokerth_2eproto(); + #endif friend void protobuf_AssignDesc_pokerth_2eproto(); friend void protobuf_ShutdownFile_pokerth_2eproto(); - + void InitAsDefaultInstance(); static RejectGameInvitationMessage* default_instance_; }; @@ -4566,27 +5195,37 @@ class RejectInvNotifyMessage : public ::google::protobuf::MessageLite { public: RejectInvNotifyMessage(); virtual ~RejectInvNotifyMessage(); - + RejectInvNotifyMessage(const RejectInvNotifyMessage& from); - + inline RejectInvNotifyMessage& operator=(const RejectInvNotifyMessage& from) { CopyFrom(from); return *this; } - + static const RejectInvNotifyMessage& default_instance(); - + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + // Returns the internal default instance pointer. This function can + // return NULL thus should not be used by the user. This is intended + // for Protobuf internal code. Please use default_instance() declared + // above instead. + static inline const RejectInvNotifyMessage* internal_default_instance() { + return default_instance_; + } + #endif + void Swap(RejectInvNotifyMessage* other); - + // implements Message ---------------------------------------------- - + RejectInvNotifyMessage* New() const; void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from); void CopyFrom(const RejectInvNotifyMessage& from); void MergeFrom(const RejectInvNotifyMessage& from); void Clear(); bool IsInitialized() const; - + int ByteSize() const; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input); @@ -4598,34 +5237,34 @@ class RejectInvNotifyMessage : public ::google::protobuf::MessageLite { void SharedDtor(); void SetCachedSize(int size) const; public: - + ::std::string GetTypeName() const; - + // nested types ---------------------------------------------------- - + // accessors ------------------------------------------------------- - + // required uint32 gameId = 1; inline bool has_gameid() const; inline void clear_gameid(); static const int kGameIdFieldNumber = 1; inline ::google::protobuf::uint32 gameid() const; inline void set_gameid(::google::protobuf::uint32 value); - + // required uint32 playerId = 2; inline bool has_playerid() const; inline void clear_playerid(); static const int kPlayerIdFieldNumber = 2; inline ::google::protobuf::uint32 playerid() const; inline void set_playerid(::google::protobuf::uint32 value); - + // required .RejectGameInvitationMessage.RejectGameInvReason playerRejectReason = 3; inline bool has_playerrejectreason() const; inline void clear_playerrejectreason(); static const int kPlayerRejectReasonFieldNumber = 3; inline ::RejectGameInvitationMessage_RejectGameInvReason playerrejectreason() const; inline void set_playerrejectreason(::RejectGameInvitationMessage_RejectGameInvReason value); - + // @@protoc_insertion_point(class_scope:RejectInvNotifyMessage) private: inline void set_has_gameid(); @@ -4634,18 +5273,22 @@ class RejectInvNotifyMessage : public ::google::protobuf::MessageLite { inline void clear_has_playerid(); inline void set_has_playerrejectreason(); inline void clear_has_playerrejectreason(); - + ::google::protobuf::uint32 gameid_; ::google::protobuf::uint32 playerid_; int playerrejectreason_; - + mutable int _cached_size_; ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32]; - + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + friend void protobuf_AddDesc_pokerth_2eproto_impl(); + #else friend void protobuf_AddDesc_pokerth_2eproto(); + #endif friend void protobuf_AssignDesc_pokerth_2eproto(); friend void protobuf_ShutdownFile_pokerth_2eproto(); - + void InitAsDefaultInstance(); static RejectInvNotifyMessage* default_instance_; }; @@ -4655,27 +5298,37 @@ class StartEventMessage : public ::google::protobuf::MessageLite { public: StartEventMessage(); virtual ~StartEventMessage(); - + StartEventMessage(const StartEventMessage& from); - + inline StartEventMessage& operator=(const StartEventMessage& from) { CopyFrom(from); return *this; } - + static const StartEventMessage& default_instance(); - + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + // Returns the internal default instance pointer. This function can + // return NULL thus should not be used by the user. This is intended + // for Protobuf internal code. Please use default_instance() declared + // above instead. + static inline const StartEventMessage* internal_default_instance() { + return default_instance_; + } + #endif + void Swap(StartEventMessage* other); - + // implements Message ---------------------------------------------- - + StartEventMessage* New() const; void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from); void CopyFrom(const StartEventMessage& from); void MergeFrom(const StartEventMessage& from); void Clear(); bool IsInitialized() const; - + int ByteSize() const; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input); @@ -4687,11 +5340,11 @@ class StartEventMessage : public ::google::protobuf::MessageLite { void SharedDtor(); void SetCachedSize(int size) const; public: - + ::std::string GetTypeName() const; - + // nested types ---------------------------------------------------- - + typedef StartEventMessage_StartEventType StartEventType; static const StartEventType startEvent = StartEventMessage_StartEventType_startEvent; static const StartEventType rejoinEvent = StartEventMessage_StartEventType_rejoinEvent; @@ -4704,30 +5357,30 @@ class StartEventMessage : public ::google::protobuf::MessageLite { StartEventMessage_StartEventType_StartEventType_MAX; static const int StartEventType_ARRAYSIZE = StartEventMessage_StartEventType_StartEventType_ARRAYSIZE; - + // accessors ------------------------------------------------------- - + // required uint32 gameId = 1; inline bool has_gameid() const; inline void clear_gameid(); static const int kGameIdFieldNumber = 1; inline ::google::protobuf::uint32 gameid() const; inline void set_gameid(::google::protobuf::uint32 value); - + // required .StartEventMessage.StartEventType startEventType = 2; inline bool has_starteventtype() const; inline void clear_starteventtype(); static const int kStartEventTypeFieldNumber = 2; inline ::StartEventMessage_StartEventType starteventtype() const; inline void set_starteventtype(::StartEventMessage_StartEventType value); - + // optional bool fillWithComputerPlayers = 3; inline bool has_fillwithcomputerplayers() const; inline void clear_fillwithcomputerplayers(); static const int kFillWithComputerPlayersFieldNumber = 3; inline bool fillwithcomputerplayers() const; inline void set_fillwithcomputerplayers(bool value); - + // @@protoc_insertion_point(class_scope:StartEventMessage) private: inline void set_has_gameid(); @@ -4736,18 +5389,22 @@ class StartEventMessage : public ::google::protobuf::MessageLite { inline void clear_has_starteventtype(); inline void set_has_fillwithcomputerplayers(); inline void clear_has_fillwithcomputerplayers(); - + ::google::protobuf::uint32 gameid_; int starteventtype_; bool fillwithcomputerplayers_; - + mutable int _cached_size_; ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32]; - + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + friend void protobuf_AddDesc_pokerth_2eproto_impl(); + #else friend void protobuf_AddDesc_pokerth_2eproto(); + #endif friend void protobuf_AssignDesc_pokerth_2eproto(); friend void protobuf_ShutdownFile_pokerth_2eproto(); - + void InitAsDefaultInstance(); static StartEventMessage* default_instance_; }; @@ -4757,27 +5414,37 @@ class StartEventAckMessage : public ::google::protobuf::MessageLite { public: StartEventAckMessage(); virtual ~StartEventAckMessage(); - + StartEventAckMessage(const StartEventAckMessage& from); - + inline StartEventAckMessage& operator=(const StartEventAckMessage& from) { CopyFrom(from); return *this; } - + static const StartEventAckMessage& default_instance(); - + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + // Returns the internal default instance pointer. This function can + // return NULL thus should not be used by the user. This is intended + // for Protobuf internal code. Please use default_instance() declared + // above instead. + static inline const StartEventAckMessage* internal_default_instance() { + return default_instance_; + } + #endif + void Swap(StartEventAckMessage* other); - + // implements Message ---------------------------------------------- - + StartEventAckMessage* New() const; void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from); void CopyFrom(const StartEventAckMessage& from); void MergeFrom(const StartEventAckMessage& from); void Clear(); bool IsInitialized() const; - + int ByteSize() const; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input); @@ -4789,34 +5456,38 @@ class StartEventAckMessage : public ::google::protobuf::MessageLite { void SharedDtor(); void SetCachedSize(int size) const; public: - + ::std::string GetTypeName() const; - + // nested types ---------------------------------------------------- - + // accessors ------------------------------------------------------- - + // required uint32 gameId = 1; inline bool has_gameid() const; inline void clear_gameid(); static const int kGameIdFieldNumber = 1; inline ::google::protobuf::uint32 gameid() const; inline void set_gameid(::google::protobuf::uint32 value); - + // @@protoc_insertion_point(class_scope:StartEventAckMessage) private: inline void set_has_gameid(); inline void clear_has_gameid(); - + ::google::protobuf::uint32 gameid_; - + mutable int _cached_size_; ::google::protobuf::uint32 _has_bits_[(1 + 31) / 32]; - + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + friend void protobuf_AddDesc_pokerth_2eproto_impl(); + #else friend void protobuf_AddDesc_pokerth_2eproto(); + #endif friend void protobuf_AssignDesc_pokerth_2eproto(); friend void protobuf_ShutdownFile_pokerth_2eproto(); - + void InitAsDefaultInstance(); static StartEventAckMessage* default_instance_; }; @@ -4826,27 +5497,37 @@ class GameStartInitialMessage : public ::google::protobuf::MessageLite { public: GameStartInitialMessage(); virtual ~GameStartInitialMessage(); - + GameStartInitialMessage(const GameStartInitialMessage& from); - + inline GameStartInitialMessage& operator=(const GameStartInitialMessage& from) { CopyFrom(from); return *this; } - + static const GameStartInitialMessage& default_instance(); - + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + // Returns the internal default instance pointer. This function can + // return NULL thus should not be used by the user. This is intended + // for Protobuf internal code. Please use default_instance() declared + // above instead. + static inline const GameStartInitialMessage* internal_default_instance() { + return default_instance_; + } + #endif + void Swap(GameStartInitialMessage* other); - + // implements Message ---------------------------------------------- - + GameStartInitialMessage* New() const; void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from); void CopyFrom(const GameStartInitialMessage& from); void MergeFrom(const GameStartInitialMessage& from); void Clear(); bool IsInitialized() const; - + int ByteSize() const; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input); @@ -4858,27 +5539,27 @@ class GameStartInitialMessage : public ::google::protobuf::MessageLite { void SharedDtor(); void SetCachedSize(int size) const; public: - + ::std::string GetTypeName() const; - + // nested types ---------------------------------------------------- - + // accessors ------------------------------------------------------- - + // required uint32 gameId = 1; inline bool has_gameid() const; inline void clear_gameid(); static const int kGameIdFieldNumber = 1; inline ::google::protobuf::uint32 gameid() const; inline void set_gameid(::google::protobuf::uint32 value); - + // required uint32 startDealerPlayerId = 2; inline bool has_startdealerplayerid() const; inline void clear_startdealerplayerid(); static const int kStartDealerPlayerIdFieldNumber = 2; inline ::google::protobuf::uint32 startdealerplayerid() const; inline void set_startdealerplayerid(::google::protobuf::uint32 value); - + // repeated uint32 playerSeats = 3 [packed = true]; inline int playerseats_size() const; inline void clear_playerseats(); @@ -4890,26 +5571,30 @@ class GameStartInitialMessage : public ::google::protobuf::MessageLite { playerseats() const; inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >* mutable_playerseats(); - + // @@protoc_insertion_point(class_scope:GameStartInitialMessage) private: inline void set_has_gameid(); inline void clear_has_gameid(); inline void set_has_startdealerplayerid(); inline void clear_has_startdealerplayerid(); - + ::google::protobuf::uint32 gameid_; ::google::protobuf::uint32 startdealerplayerid_; ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > playerseats_; mutable int _playerseats_cached_byte_size_; - + mutable int _cached_size_; ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32]; - + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + friend void protobuf_AddDesc_pokerth_2eproto_impl(); + #else friend void protobuf_AddDesc_pokerth_2eproto(); + #endif friend void protobuf_AssignDesc_pokerth_2eproto(); friend void protobuf_ShutdownFile_pokerth_2eproto(); - + void InitAsDefaultInstance(); static GameStartInitialMessage* default_instance_; }; @@ -4919,27 +5604,37 @@ class GameStartRejoinMessage_RejoinPlayerData : public ::google::protobuf::Messa public: GameStartRejoinMessage_RejoinPlayerData(); virtual ~GameStartRejoinMessage_RejoinPlayerData(); - + GameStartRejoinMessage_RejoinPlayerData(const GameStartRejoinMessage_RejoinPlayerData& from); - + inline GameStartRejoinMessage_RejoinPlayerData& operator=(const GameStartRejoinMessage_RejoinPlayerData& from) { CopyFrom(from); return *this; } - + static const GameStartRejoinMessage_RejoinPlayerData& default_instance(); - + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + // Returns the internal default instance pointer. This function can + // return NULL thus should not be used by the user. This is intended + // for Protobuf internal code. Please use default_instance() declared + // above instead. + static inline const GameStartRejoinMessage_RejoinPlayerData* internal_default_instance() { + return default_instance_; + } + #endif + void Swap(GameStartRejoinMessage_RejoinPlayerData* other); - + // implements Message ---------------------------------------------- - + GameStartRejoinMessage_RejoinPlayerData* New() const; void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from); void CopyFrom(const GameStartRejoinMessage_RejoinPlayerData& from); void MergeFrom(const GameStartRejoinMessage_RejoinPlayerData& from); void Clear(); bool IsInitialized() const; - + int ByteSize() const; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input); @@ -4951,44 +5646,48 @@ class GameStartRejoinMessage_RejoinPlayerData : public ::google::protobuf::Messa void SharedDtor(); void SetCachedSize(int size) const; public: - + ::std::string GetTypeName() const; - + // nested types ---------------------------------------------------- - + // accessors ------------------------------------------------------- - + // required uint32 playerId = 1; inline bool has_playerid() const; inline void clear_playerid(); static const int kPlayerIdFieldNumber = 1; inline ::google::protobuf::uint32 playerid() const; inline void set_playerid(::google::protobuf::uint32 value); - + // required uint32 playerMoney = 2; inline bool has_playermoney() const; inline void clear_playermoney(); static const int kPlayerMoneyFieldNumber = 2; inline ::google::protobuf::uint32 playermoney() const; inline void set_playermoney(::google::protobuf::uint32 value); - + // @@protoc_insertion_point(class_scope:GameStartRejoinMessage.RejoinPlayerData) private: inline void set_has_playerid(); inline void clear_has_playerid(); inline void set_has_playermoney(); inline void clear_has_playermoney(); - + ::google::protobuf::uint32 playerid_; ::google::protobuf::uint32 playermoney_; - + mutable int _cached_size_; ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32]; - + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + friend void protobuf_AddDesc_pokerth_2eproto_impl(); + #else friend void protobuf_AddDesc_pokerth_2eproto(); + #endif friend void protobuf_AssignDesc_pokerth_2eproto(); friend void protobuf_ShutdownFile_pokerth_2eproto(); - + void InitAsDefaultInstance(); static GameStartRejoinMessage_RejoinPlayerData* default_instance_; }; @@ -4998,27 +5697,37 @@ class GameStartRejoinMessage : public ::google::protobuf::MessageLite { public: GameStartRejoinMessage(); virtual ~GameStartRejoinMessage(); - + GameStartRejoinMessage(const GameStartRejoinMessage& from); - + inline GameStartRejoinMessage& operator=(const GameStartRejoinMessage& from) { CopyFrom(from); return *this; } - + static const GameStartRejoinMessage& default_instance(); - + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + // Returns the internal default instance pointer. This function can + // return NULL thus should not be used by the user. This is intended + // for Protobuf internal code. Please use default_instance() declared + // above instead. + static inline const GameStartRejoinMessage* internal_default_instance() { + return default_instance_; + } + #endif + void Swap(GameStartRejoinMessage* other); - + // implements Message ---------------------------------------------- - + GameStartRejoinMessage* New() const; void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from); void CopyFrom(const GameStartRejoinMessage& from); void MergeFrom(const GameStartRejoinMessage& from); void Clear(); bool IsInitialized() const; - + int ByteSize() const; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input); @@ -5030,36 +5739,36 @@ class GameStartRejoinMessage : public ::google::protobuf::MessageLite { void SharedDtor(); void SetCachedSize(int size) const; public: - + ::std::string GetTypeName() const; - + // nested types ---------------------------------------------------- - + typedef GameStartRejoinMessage_RejoinPlayerData RejoinPlayerData; - + // accessors ------------------------------------------------------- - + // required uint32 gameId = 1; inline bool has_gameid() const; inline void clear_gameid(); static const int kGameIdFieldNumber = 1; inline ::google::protobuf::uint32 gameid() const; inline void set_gameid(::google::protobuf::uint32 value); - + // required uint32 startDealerPlayerId = 2; inline bool has_startdealerplayerid() const; inline void clear_startdealerplayerid(); static const int kStartDealerPlayerIdFieldNumber = 2; inline ::google::protobuf::uint32 startdealerplayerid() const; inline void set_startdealerplayerid(::google::protobuf::uint32 value); - + // required uint32 handNum = 3; inline bool has_handnum() const; inline void clear_handnum(); static const int kHandNumFieldNumber = 3; inline ::google::protobuf::uint32 handnum() const; inline void set_handnum(::google::protobuf::uint32 value); - + // repeated .GameStartRejoinMessage.RejoinPlayerData rejoinPlayerData = 4; inline int rejoinplayerdata_size() const; inline void clear_rejoinplayerdata(); @@ -5071,7 +5780,7 @@ class GameStartRejoinMessage : public ::google::protobuf::MessageLite { rejoinplayerdata() const; inline ::google::protobuf::RepeatedPtrField< ::GameStartRejoinMessage_RejoinPlayerData >* mutable_rejoinplayerdata(); - + // @@protoc_insertion_point(class_scope:GameStartRejoinMessage) private: inline void set_has_gameid(); @@ -5080,19 +5789,23 @@ class GameStartRejoinMessage : public ::google::protobuf::MessageLite { inline void clear_has_startdealerplayerid(); inline void set_has_handnum(); inline void clear_has_handnum(); - + ::google::protobuf::uint32 gameid_; ::google::protobuf::uint32 startdealerplayerid_; ::google::protobuf::RepeatedPtrField< ::GameStartRejoinMessage_RejoinPlayerData > rejoinplayerdata_; ::google::protobuf::uint32 handnum_; - + mutable int _cached_size_; ::google::protobuf::uint32 _has_bits_[(4 + 31) / 32]; - + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + friend void protobuf_AddDesc_pokerth_2eproto_impl(); + #else friend void protobuf_AddDesc_pokerth_2eproto(); + #endif friend void protobuf_AssignDesc_pokerth_2eproto(); friend void protobuf_ShutdownFile_pokerth_2eproto(); - + void InitAsDefaultInstance(); static GameStartRejoinMessage* default_instance_; }; @@ -5102,27 +5815,37 @@ class HandStartMessage_PlainCards : public ::google::protobuf::MessageLite { public: HandStartMessage_PlainCards(); virtual ~HandStartMessage_PlainCards(); - + HandStartMessage_PlainCards(const HandStartMessage_PlainCards& from); - + inline HandStartMessage_PlainCards& operator=(const HandStartMessage_PlainCards& from) { CopyFrom(from); return *this; } - + static const HandStartMessage_PlainCards& default_instance(); - + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + // Returns the internal default instance pointer. This function can + // return NULL thus should not be used by the user. This is intended + // for Protobuf internal code. Please use default_instance() declared + // above instead. + static inline const HandStartMessage_PlainCards* internal_default_instance() { + return default_instance_; + } + #endif + void Swap(HandStartMessage_PlainCards* other); - + // implements Message ---------------------------------------------- - + HandStartMessage_PlainCards* New() const; void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from); void CopyFrom(const HandStartMessage_PlainCards& from); void MergeFrom(const HandStartMessage_PlainCards& from); void Clear(); bool IsInitialized() const; - + int ByteSize() const; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input); @@ -5134,44 +5857,48 @@ class HandStartMessage_PlainCards : public ::google::protobuf::MessageLite { void SharedDtor(); void SetCachedSize(int size) const; public: - + ::std::string GetTypeName() const; - + // nested types ---------------------------------------------------- - + // accessors ------------------------------------------------------- - + // required uint32 plainCard1 = 1; inline bool has_plaincard1() const; inline void clear_plaincard1(); static const int kPlainCard1FieldNumber = 1; inline ::google::protobuf::uint32 plaincard1() const; inline void set_plaincard1(::google::protobuf::uint32 value); - + // required uint32 plainCard2 = 2; inline bool has_plaincard2() const; inline void clear_plaincard2(); static const int kPlainCard2FieldNumber = 2; inline ::google::protobuf::uint32 plaincard2() const; inline void set_plaincard2(::google::protobuf::uint32 value); - + // @@protoc_insertion_point(class_scope:HandStartMessage.PlainCards) private: inline void set_has_plaincard1(); inline void clear_has_plaincard1(); inline void set_has_plaincard2(); inline void clear_has_plaincard2(); - + ::google::protobuf::uint32 plaincard1_; ::google::protobuf::uint32 plaincard2_; - + mutable int _cached_size_; ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32]; - + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + friend void protobuf_AddDesc_pokerth_2eproto_impl(); + #else friend void protobuf_AddDesc_pokerth_2eproto(); + #endif friend void protobuf_AssignDesc_pokerth_2eproto(); friend void protobuf_ShutdownFile_pokerth_2eproto(); - + void InitAsDefaultInstance(); static HandStartMessage_PlainCards* default_instance_; }; @@ -5181,27 +5908,37 @@ class HandStartMessage : public ::google::protobuf::MessageLite { public: HandStartMessage(); virtual ~HandStartMessage(); - + HandStartMessage(const HandStartMessage& from); - + inline HandStartMessage& operator=(const HandStartMessage& from) { CopyFrom(from); return *this; } - + static const HandStartMessage& default_instance(); - + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + // Returns the internal default instance pointer. This function can + // return NULL thus should not be used by the user. This is intended + // for Protobuf internal code. Please use default_instance() declared + // above instead. + static inline const HandStartMessage* internal_default_instance() { + return default_instance_; + } + #endif + void Swap(HandStartMessage* other); - + // implements Message ---------------------------------------------- - + HandStartMessage* New() const; void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from); void CopyFrom(const HandStartMessage& from); void MergeFrom(const HandStartMessage& from); void Clear(); bool IsInitialized() const; - + int ByteSize() const; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input); @@ -5213,22 +5950,22 @@ class HandStartMessage : public ::google::protobuf::MessageLite { void SharedDtor(); void SetCachedSize(int size) const; public: - + ::std::string GetTypeName() const; - + // nested types ---------------------------------------------------- - + typedef HandStartMessage_PlainCards PlainCards; - + // accessors ------------------------------------------------------- - + // required uint32 gameId = 1; inline bool has_gameid() const; inline void clear_gameid(); static const int kGameIdFieldNumber = 1; inline ::google::protobuf::uint32 gameid() const; inline void set_gameid(::google::protobuf::uint32 value); - + // optional .HandStartMessage.PlainCards plainCards = 2; inline bool has_plaincards() const; inline void clear_plaincards(); @@ -5236,7 +5973,8 @@ class HandStartMessage : public ::google::protobuf::MessageLite { inline const ::HandStartMessage_PlainCards& plaincards() const; inline ::HandStartMessage_PlainCards* mutable_plaincards(); inline ::HandStartMessage_PlainCards* release_plaincards(); - + inline void set_allocated_plaincards(::HandStartMessage_PlainCards* plaincards); + // optional bytes encryptedCards = 3; inline bool has_encryptedcards() const; inline void clear_encryptedcards(); @@ -5247,24 +5985,25 @@ class HandStartMessage : public ::google::protobuf::MessageLite { inline void set_encryptedcards(const void* value, size_t size); inline ::std::string* mutable_encryptedcards(); inline ::std::string* release_encryptedcards(); - + inline void set_allocated_encryptedcards(::std::string* encryptedcards); + // required uint32 smallBlind = 4; inline bool has_smallblind() const; inline void clear_smallblind(); static const int kSmallBlindFieldNumber = 4; inline ::google::protobuf::uint32 smallblind() const; inline void set_smallblind(::google::protobuf::uint32 value); - + // repeated .NetPlayerState seatStates = 5; inline int seatstates_size() const; inline void clear_seatstates(); static const int kSeatStatesFieldNumber = 5; - inline NetPlayerState seatstates(int index) const; - inline void set_seatstates(int index, NetPlayerState value); - inline void add_seatstates(NetPlayerState value); + inline ::NetPlayerState seatstates(int index) const; + inline void set_seatstates(int index, ::NetPlayerState value); + inline void add_seatstates(::NetPlayerState value); inline const ::google::protobuf::RepeatedField& seatstates() const; inline ::google::protobuf::RepeatedField* mutable_seatstates(); - + // @@protoc_insertion_point(class_scope:HandStartMessage) private: inline void set_has_gameid(); @@ -5275,20 +6014,24 @@ class HandStartMessage : public ::google::protobuf::MessageLite { inline void clear_has_encryptedcards(); inline void set_has_smallblind(); inline void clear_has_smallblind(); - + ::HandStartMessage_PlainCards* plaincards_; ::google::protobuf::uint32 gameid_; ::google::protobuf::uint32 smallblind_; ::std::string* encryptedcards_; ::google::protobuf::RepeatedField seatstates_; - + mutable int _cached_size_; ::google::protobuf::uint32 _has_bits_[(5 + 31) / 32]; - + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + friend void protobuf_AddDesc_pokerth_2eproto_impl(); + #else friend void protobuf_AddDesc_pokerth_2eproto(); + #endif friend void protobuf_AssignDesc_pokerth_2eproto(); friend void protobuf_ShutdownFile_pokerth_2eproto(); - + void InitAsDefaultInstance(); static HandStartMessage* default_instance_; }; @@ -5298,27 +6041,37 @@ class PlayersTurnMessage : public ::google::protobuf::MessageLite { public: PlayersTurnMessage(); virtual ~PlayersTurnMessage(); - + PlayersTurnMessage(const PlayersTurnMessage& from); - + inline PlayersTurnMessage& operator=(const PlayersTurnMessage& from) { CopyFrom(from); return *this; } - + static const PlayersTurnMessage& default_instance(); - + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + // Returns the internal default instance pointer. This function can + // return NULL thus should not be used by the user. This is intended + // for Protobuf internal code. Please use default_instance() declared + // above instead. + static inline const PlayersTurnMessage* internal_default_instance() { + return default_instance_; + } + #endif + void Swap(PlayersTurnMessage* other); - + // implements Message ---------------------------------------------- - + PlayersTurnMessage* New() const; void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from); void CopyFrom(const PlayersTurnMessage& from); void MergeFrom(const PlayersTurnMessage& from); void Clear(); bool IsInitialized() const; - + int ByteSize() const; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input); @@ -5330,34 +6083,34 @@ class PlayersTurnMessage : public ::google::protobuf::MessageLite { void SharedDtor(); void SetCachedSize(int size) const; public: - + ::std::string GetTypeName() const; - + // nested types ---------------------------------------------------- - + // accessors ------------------------------------------------------- - + // required uint32 gameId = 1; inline bool has_gameid() const; inline void clear_gameid(); static const int kGameIdFieldNumber = 1; inline ::google::protobuf::uint32 gameid() const; inline void set_gameid(::google::protobuf::uint32 value); - + // required uint32 playerId = 2; inline bool has_playerid() const; inline void clear_playerid(); static const int kPlayerIdFieldNumber = 2; inline ::google::protobuf::uint32 playerid() const; inline void set_playerid(::google::protobuf::uint32 value); - + // required .NetGameState gameState = 3; inline bool has_gamestate() const; inline void clear_gamestate(); static const int kGameStateFieldNumber = 3; - inline NetGameState gamestate() const; - inline void set_gamestate(NetGameState value); - + inline ::NetGameState gamestate() const; + inline void set_gamestate(::NetGameState value); + // @@protoc_insertion_point(class_scope:PlayersTurnMessage) private: inline void set_has_gameid(); @@ -5366,18 +6119,22 @@ class PlayersTurnMessage : public ::google::protobuf::MessageLite { inline void clear_has_playerid(); inline void set_has_gamestate(); inline void clear_has_gamestate(); - + ::google::protobuf::uint32 gameid_; ::google::protobuf::uint32 playerid_; int gamestate_; - + mutable int _cached_size_; ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32]; - + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + friend void protobuf_AddDesc_pokerth_2eproto_impl(); + #else friend void protobuf_AddDesc_pokerth_2eproto(); + #endif friend void protobuf_AssignDesc_pokerth_2eproto(); friend void protobuf_ShutdownFile_pokerth_2eproto(); - + void InitAsDefaultInstance(); static PlayersTurnMessage* default_instance_; }; @@ -5387,27 +6144,37 @@ class MyActionRequestMessage : public ::google::protobuf::MessageLite { public: MyActionRequestMessage(); virtual ~MyActionRequestMessage(); - + MyActionRequestMessage(const MyActionRequestMessage& from); - + inline MyActionRequestMessage& operator=(const MyActionRequestMessage& from) { CopyFrom(from); return *this; } - + static const MyActionRequestMessage& default_instance(); - + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + // Returns the internal default instance pointer. This function can + // return NULL thus should not be used by the user. This is intended + // for Protobuf internal code. Please use default_instance() declared + // above instead. + static inline const MyActionRequestMessage* internal_default_instance() { + return default_instance_; + } + #endif + void Swap(MyActionRequestMessage* other); - + // implements Message ---------------------------------------------- - + MyActionRequestMessage* New() const; void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from); void CopyFrom(const MyActionRequestMessage& from); void MergeFrom(const MyActionRequestMessage& from); void Clear(); bool IsInitialized() const; - + int ByteSize() const; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input); @@ -5419,48 +6186,48 @@ class MyActionRequestMessage : public ::google::protobuf::MessageLite { void SharedDtor(); void SetCachedSize(int size) const; public: - + ::std::string GetTypeName() const; - + // nested types ---------------------------------------------------- - + // accessors ------------------------------------------------------- - + // required uint32 gameId = 1; inline bool has_gameid() const; inline void clear_gameid(); static const int kGameIdFieldNumber = 1; inline ::google::protobuf::uint32 gameid() const; inline void set_gameid(::google::protobuf::uint32 value); - + // required uint32 handNum = 2; inline bool has_handnum() const; inline void clear_handnum(); static const int kHandNumFieldNumber = 2; inline ::google::protobuf::uint32 handnum() const; inline void set_handnum(::google::protobuf::uint32 value); - + // required .NetGameState gameState = 3; inline bool has_gamestate() const; inline void clear_gamestate(); static const int kGameStateFieldNumber = 3; - inline NetGameState gamestate() const; - inline void set_gamestate(NetGameState value); - + inline ::NetGameState gamestate() const; + inline void set_gamestate(::NetGameState value); + // required .NetPlayerAction myAction = 4; inline bool has_myaction() const; inline void clear_myaction(); static const int kMyActionFieldNumber = 4; - inline NetPlayerAction myaction() const; - inline void set_myaction(NetPlayerAction value); - + inline ::NetPlayerAction myaction() const; + inline void set_myaction(::NetPlayerAction value); + // required uint32 myRelativeBet = 5; inline bool has_myrelativebet() const; inline void clear_myrelativebet(); static const int kMyRelativeBetFieldNumber = 5; inline ::google::protobuf::uint32 myrelativebet() const; inline void set_myrelativebet(::google::protobuf::uint32 value); - + // @@protoc_insertion_point(class_scope:MyActionRequestMessage) private: inline void set_has_gameid(); @@ -5473,20 +6240,24 @@ class MyActionRequestMessage : public ::google::protobuf::MessageLite { inline void clear_has_myaction(); inline void set_has_myrelativebet(); inline void clear_has_myrelativebet(); - + ::google::protobuf::uint32 gameid_; ::google::protobuf::uint32 handnum_; int gamestate_; int myaction_; ::google::protobuf::uint32 myrelativebet_; - + mutable int _cached_size_; ::google::protobuf::uint32 _has_bits_[(5 + 31) / 32]; - + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + friend void protobuf_AddDesc_pokerth_2eproto_impl(); + #else friend void protobuf_AddDesc_pokerth_2eproto(); + #endif friend void protobuf_AssignDesc_pokerth_2eproto(); friend void protobuf_ShutdownFile_pokerth_2eproto(); - + void InitAsDefaultInstance(); static MyActionRequestMessage* default_instance_; }; @@ -5496,27 +6267,37 @@ class YourActionRejectedMessage : public ::google::protobuf::MessageLite { public: YourActionRejectedMessage(); virtual ~YourActionRejectedMessage(); - + YourActionRejectedMessage(const YourActionRejectedMessage& from); - + inline YourActionRejectedMessage& operator=(const YourActionRejectedMessage& from) { CopyFrom(from); return *this; } - + static const YourActionRejectedMessage& default_instance(); - + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + // Returns the internal default instance pointer. This function can + // return NULL thus should not be used by the user. This is intended + // for Protobuf internal code. Please use default_instance() declared + // above instead. + static inline const YourActionRejectedMessage* internal_default_instance() { + return default_instance_; + } + #endif + void Swap(YourActionRejectedMessage* other); - + // implements Message ---------------------------------------------- - + YourActionRejectedMessage* New() const; void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from); void CopyFrom(const YourActionRejectedMessage& from); void MergeFrom(const YourActionRejectedMessage& from); void Clear(); bool IsInitialized() const; - + int ByteSize() const; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input); @@ -5528,11 +6309,11 @@ class YourActionRejectedMessage : public ::google::protobuf::MessageLite { void SharedDtor(); void SetCachedSize(int size) const; public: - + ::std::string GetTypeName() const; - + // nested types ---------------------------------------------------- - + typedef YourActionRejectedMessage_RejectionReason RejectionReason; static const RejectionReason rejectedInvalidGameState = YourActionRejectedMessage_RejectionReason_rejectedInvalidGameState; static const RejectionReason rejectedNotYourTurn = YourActionRejectedMessage_RejectionReason_rejectedNotYourTurn; @@ -5546,44 +6327,44 @@ class YourActionRejectedMessage : public ::google::protobuf::MessageLite { YourActionRejectedMessage_RejectionReason_RejectionReason_MAX; static const int RejectionReason_ARRAYSIZE = YourActionRejectedMessage_RejectionReason_RejectionReason_ARRAYSIZE; - + // accessors ------------------------------------------------------- - + // required uint32 gameId = 1; inline bool has_gameid() const; inline void clear_gameid(); static const int kGameIdFieldNumber = 1; inline ::google::protobuf::uint32 gameid() const; inline void set_gameid(::google::protobuf::uint32 value); - + // required .NetGameState gameState = 2; inline bool has_gamestate() const; inline void clear_gamestate(); static const int kGameStateFieldNumber = 2; - inline NetGameState gamestate() const; - inline void set_gamestate(NetGameState value); - + inline ::NetGameState gamestate() const; + inline void set_gamestate(::NetGameState value); + // required .NetPlayerAction yourAction = 3; inline bool has_youraction() const; inline void clear_youraction(); static const int kYourActionFieldNumber = 3; - inline NetPlayerAction youraction() const; - inline void set_youraction(NetPlayerAction value); - + inline ::NetPlayerAction youraction() const; + inline void set_youraction(::NetPlayerAction value); + // required uint32 yourRelativeBet = 4; inline bool has_yourrelativebet() const; inline void clear_yourrelativebet(); static const int kYourRelativeBetFieldNumber = 4; inline ::google::protobuf::uint32 yourrelativebet() const; inline void set_yourrelativebet(::google::protobuf::uint32 value); - + // required .YourActionRejectedMessage.RejectionReason rejectionReason = 5; inline bool has_rejectionreason() const; inline void clear_rejectionreason(); static const int kRejectionReasonFieldNumber = 5; inline ::YourActionRejectedMessage_RejectionReason rejectionreason() const; inline void set_rejectionreason(::YourActionRejectedMessage_RejectionReason value); - + // @@protoc_insertion_point(class_scope:YourActionRejectedMessage) private: inline void set_has_gameid(); @@ -5596,20 +6377,24 @@ class YourActionRejectedMessage : public ::google::protobuf::MessageLite { inline void clear_has_yourrelativebet(); inline void set_has_rejectionreason(); inline void clear_has_rejectionreason(); - + ::google::protobuf::uint32 gameid_; int gamestate_; int youraction_; ::google::protobuf::uint32 yourrelativebet_; int rejectionreason_; - + mutable int _cached_size_; ::google::protobuf::uint32 _has_bits_[(5 + 31) / 32]; - + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + friend void protobuf_AddDesc_pokerth_2eproto_impl(); + #else friend void protobuf_AddDesc_pokerth_2eproto(); + #endif friend void protobuf_AssignDesc_pokerth_2eproto(); friend void protobuf_ShutdownFile_pokerth_2eproto(); - + void InitAsDefaultInstance(); static YourActionRejectedMessage* default_instance_; }; @@ -5619,27 +6404,37 @@ class PlayersActionDoneMessage : public ::google::protobuf::MessageLite { public: PlayersActionDoneMessage(); virtual ~PlayersActionDoneMessage(); - + PlayersActionDoneMessage(const PlayersActionDoneMessage& from); - + inline PlayersActionDoneMessage& operator=(const PlayersActionDoneMessage& from) { CopyFrom(from); return *this; } - + static const PlayersActionDoneMessage& default_instance(); - + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + // Returns the internal default instance pointer. This function can + // return NULL thus should not be used by the user. This is intended + // for Protobuf internal code. Please use default_instance() declared + // above instead. + static inline const PlayersActionDoneMessage* internal_default_instance() { + return default_instance_; + } + #endif + void Swap(PlayersActionDoneMessage* other); - + // implements Message ---------------------------------------------- - + PlayersActionDoneMessage* New() const; void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from); void CopyFrom(const PlayersActionDoneMessage& from); void MergeFrom(const PlayersActionDoneMessage& from); void Clear(); bool IsInitialized() const; - + int ByteSize() const; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input); @@ -5651,69 +6446,69 @@ class PlayersActionDoneMessage : public ::google::protobuf::MessageLite { void SharedDtor(); void SetCachedSize(int size) const; public: - + ::std::string GetTypeName() const; - + // nested types ---------------------------------------------------- - + // accessors ------------------------------------------------------- - + // required uint32 gameId = 1; inline bool has_gameid() const; inline void clear_gameid(); static const int kGameIdFieldNumber = 1; inline ::google::protobuf::uint32 gameid() const; inline void set_gameid(::google::protobuf::uint32 value); - + // required uint32 playerId = 2; inline bool has_playerid() const; inline void clear_playerid(); static const int kPlayerIdFieldNumber = 2; inline ::google::protobuf::uint32 playerid() const; inline void set_playerid(::google::protobuf::uint32 value); - + // required .NetGameState gameState = 3; inline bool has_gamestate() const; inline void clear_gamestate(); static const int kGameStateFieldNumber = 3; - inline NetGameState gamestate() const; - inline void set_gamestate(NetGameState value); - + inline ::NetGameState gamestate() const; + inline void set_gamestate(::NetGameState value); + // required .NetPlayerAction playerAction = 4; inline bool has_playeraction() const; inline void clear_playeraction(); static const int kPlayerActionFieldNumber = 4; - inline NetPlayerAction playeraction() const; - inline void set_playeraction(NetPlayerAction value); - + inline ::NetPlayerAction playeraction() const; + inline void set_playeraction(::NetPlayerAction value); + // required uint32 totalPlayerBet = 5; inline bool has_totalplayerbet() const; inline void clear_totalplayerbet(); static const int kTotalPlayerBetFieldNumber = 5; inline ::google::protobuf::uint32 totalplayerbet() const; inline void set_totalplayerbet(::google::protobuf::uint32 value); - + // required uint32 playerMoney = 6; inline bool has_playermoney() const; inline void clear_playermoney(); static const int kPlayerMoneyFieldNumber = 6; inline ::google::protobuf::uint32 playermoney() const; inline void set_playermoney(::google::protobuf::uint32 value); - + // required uint32 highestSet = 7; inline bool has_highestset() const; inline void clear_highestset(); static const int kHighestSetFieldNumber = 7; inline ::google::protobuf::uint32 highestset() const; inline void set_highestset(::google::protobuf::uint32 value); - + // required uint32 minimumRaise = 8; inline bool has_minimumraise() const; inline void clear_minimumraise(); static const int kMinimumRaiseFieldNumber = 8; inline ::google::protobuf::uint32 minimumraise() const; inline void set_minimumraise(::google::protobuf::uint32 value); - + // @@protoc_insertion_point(class_scope:PlayersActionDoneMessage) private: inline void set_has_gameid(); @@ -5732,7 +6527,7 @@ class PlayersActionDoneMessage : public ::google::protobuf::MessageLite { inline void clear_has_highestset(); inline void set_has_minimumraise(); inline void clear_has_minimumraise(); - + ::google::protobuf::uint32 gameid_; ::google::protobuf::uint32 playerid_; int gamestate_; @@ -5741,14 +6536,18 @@ class PlayersActionDoneMessage : public ::google::protobuf::MessageLite { ::google::protobuf::uint32 playermoney_; ::google::protobuf::uint32 highestset_; ::google::protobuf::uint32 minimumraise_; - + mutable int _cached_size_; ::google::protobuf::uint32 _has_bits_[(8 + 31) / 32]; - + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + friend void protobuf_AddDesc_pokerth_2eproto_impl(); + #else friend void protobuf_AddDesc_pokerth_2eproto(); + #endif friend void protobuf_AssignDesc_pokerth_2eproto(); friend void protobuf_ShutdownFile_pokerth_2eproto(); - + void InitAsDefaultInstance(); static PlayersActionDoneMessage* default_instance_; }; @@ -5758,27 +6557,37 @@ class DealFlopCardsMessage : public ::google::protobuf::MessageLite { public: DealFlopCardsMessage(); virtual ~DealFlopCardsMessage(); - + DealFlopCardsMessage(const DealFlopCardsMessage& from); - + inline DealFlopCardsMessage& operator=(const DealFlopCardsMessage& from) { CopyFrom(from); return *this; } - + static const DealFlopCardsMessage& default_instance(); - + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + // Returns the internal default instance pointer. This function can + // return NULL thus should not be used by the user. This is intended + // for Protobuf internal code. Please use default_instance() declared + // above instead. + static inline const DealFlopCardsMessage* internal_default_instance() { + return default_instance_; + } + #endif + void Swap(DealFlopCardsMessage* other); - + // implements Message ---------------------------------------------- - + DealFlopCardsMessage* New() const; void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from); void CopyFrom(const DealFlopCardsMessage& from); void MergeFrom(const DealFlopCardsMessage& from); void Clear(); bool IsInitialized() const; - + int ByteSize() const; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input); @@ -5790,41 +6599,41 @@ class DealFlopCardsMessage : public ::google::protobuf::MessageLite { void SharedDtor(); void SetCachedSize(int size) const; public: - + ::std::string GetTypeName() const; - + // nested types ---------------------------------------------------- - + // accessors ------------------------------------------------------- - + // required uint32 gameId = 1; inline bool has_gameid() const; inline void clear_gameid(); static const int kGameIdFieldNumber = 1; inline ::google::protobuf::uint32 gameid() const; inline void set_gameid(::google::protobuf::uint32 value); - + // required uint32 flopCard1 = 2; inline bool has_flopcard1() const; inline void clear_flopcard1(); static const int kFlopCard1FieldNumber = 2; inline ::google::protobuf::uint32 flopcard1() const; inline void set_flopcard1(::google::protobuf::uint32 value); - + // required uint32 flopCard2 = 3; inline bool has_flopcard2() const; inline void clear_flopcard2(); static const int kFlopCard2FieldNumber = 3; inline ::google::protobuf::uint32 flopcard2() const; inline void set_flopcard2(::google::protobuf::uint32 value); - + // required uint32 flopCard3 = 4; inline bool has_flopcard3() const; inline void clear_flopcard3(); static const int kFlopCard3FieldNumber = 4; inline ::google::protobuf::uint32 flopcard3() const; inline void set_flopcard3(::google::protobuf::uint32 value); - + // @@protoc_insertion_point(class_scope:DealFlopCardsMessage) private: inline void set_has_gameid(); @@ -5835,19 +6644,23 @@ class DealFlopCardsMessage : public ::google::protobuf::MessageLite { inline void clear_has_flopcard2(); inline void set_has_flopcard3(); inline void clear_has_flopcard3(); - + ::google::protobuf::uint32 gameid_; ::google::protobuf::uint32 flopcard1_; ::google::protobuf::uint32 flopcard2_; ::google::protobuf::uint32 flopcard3_; - + mutable int _cached_size_; ::google::protobuf::uint32 _has_bits_[(4 + 31) / 32]; - + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + friend void protobuf_AddDesc_pokerth_2eproto_impl(); + #else friend void protobuf_AddDesc_pokerth_2eproto(); + #endif friend void protobuf_AssignDesc_pokerth_2eproto(); friend void protobuf_ShutdownFile_pokerth_2eproto(); - + void InitAsDefaultInstance(); static DealFlopCardsMessage* default_instance_; }; @@ -5857,27 +6670,37 @@ class DealTurnCardMessage : public ::google::protobuf::MessageLite { public: DealTurnCardMessage(); virtual ~DealTurnCardMessage(); - + DealTurnCardMessage(const DealTurnCardMessage& from); - + inline DealTurnCardMessage& operator=(const DealTurnCardMessage& from) { CopyFrom(from); return *this; } - + static const DealTurnCardMessage& default_instance(); - + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + // Returns the internal default instance pointer. This function can + // return NULL thus should not be used by the user. This is intended + // for Protobuf internal code. Please use default_instance() declared + // above instead. + static inline const DealTurnCardMessage* internal_default_instance() { + return default_instance_; + } + #endif + void Swap(DealTurnCardMessage* other); - + // implements Message ---------------------------------------------- - + DealTurnCardMessage* New() const; void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from); void CopyFrom(const DealTurnCardMessage& from); void MergeFrom(const DealTurnCardMessage& from); void Clear(); bool IsInitialized() const; - + int ByteSize() const; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input); @@ -5889,44 +6712,48 @@ class DealTurnCardMessage : public ::google::protobuf::MessageLite { void SharedDtor(); void SetCachedSize(int size) const; public: - + ::std::string GetTypeName() const; - + // nested types ---------------------------------------------------- - + // accessors ------------------------------------------------------- - + // required uint32 gameId = 1; inline bool has_gameid() const; inline void clear_gameid(); static const int kGameIdFieldNumber = 1; inline ::google::protobuf::uint32 gameid() const; inline void set_gameid(::google::protobuf::uint32 value); - + // required uint32 turnCard = 2; inline bool has_turncard() const; inline void clear_turncard(); static const int kTurnCardFieldNumber = 2; inline ::google::protobuf::uint32 turncard() const; inline void set_turncard(::google::protobuf::uint32 value); - + // @@protoc_insertion_point(class_scope:DealTurnCardMessage) private: inline void set_has_gameid(); inline void clear_has_gameid(); inline void set_has_turncard(); inline void clear_has_turncard(); - + ::google::protobuf::uint32 gameid_; ::google::protobuf::uint32 turncard_; - + mutable int _cached_size_; ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32]; - + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + friend void protobuf_AddDesc_pokerth_2eproto_impl(); + #else friend void protobuf_AddDesc_pokerth_2eproto(); + #endif friend void protobuf_AssignDesc_pokerth_2eproto(); friend void protobuf_ShutdownFile_pokerth_2eproto(); - + void InitAsDefaultInstance(); static DealTurnCardMessage* default_instance_; }; @@ -5936,27 +6763,37 @@ class DealRiverCardMessage : public ::google::protobuf::MessageLite { public: DealRiverCardMessage(); virtual ~DealRiverCardMessage(); - + DealRiverCardMessage(const DealRiverCardMessage& from); - + inline DealRiverCardMessage& operator=(const DealRiverCardMessage& from) { CopyFrom(from); return *this; } - + static const DealRiverCardMessage& default_instance(); - + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + // Returns the internal default instance pointer. This function can + // return NULL thus should not be used by the user. This is intended + // for Protobuf internal code. Please use default_instance() declared + // above instead. + static inline const DealRiverCardMessage* internal_default_instance() { + return default_instance_; + } + #endif + void Swap(DealRiverCardMessage* other); - + // implements Message ---------------------------------------------- - + DealRiverCardMessage* New() const; void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from); void CopyFrom(const DealRiverCardMessage& from); void MergeFrom(const DealRiverCardMessage& from); void Clear(); bool IsInitialized() const; - + int ByteSize() const; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input); @@ -5968,44 +6805,48 @@ class DealRiverCardMessage : public ::google::protobuf::MessageLite { void SharedDtor(); void SetCachedSize(int size) const; public: - + ::std::string GetTypeName() const; - + // nested types ---------------------------------------------------- - + // accessors ------------------------------------------------------- - + // required uint32 gameId = 1; inline bool has_gameid() const; inline void clear_gameid(); static const int kGameIdFieldNumber = 1; inline ::google::protobuf::uint32 gameid() const; inline void set_gameid(::google::protobuf::uint32 value); - + // required uint32 riverCard = 2; inline bool has_rivercard() const; inline void clear_rivercard(); static const int kRiverCardFieldNumber = 2; inline ::google::protobuf::uint32 rivercard() const; inline void set_rivercard(::google::protobuf::uint32 value); - + // @@protoc_insertion_point(class_scope:DealRiverCardMessage) private: inline void set_has_gameid(); inline void clear_has_gameid(); inline void set_has_rivercard(); inline void clear_has_rivercard(); - + ::google::protobuf::uint32 gameid_; ::google::protobuf::uint32 rivercard_; - + mutable int _cached_size_; ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32]; - + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + friend void protobuf_AddDesc_pokerth_2eproto_impl(); + #else friend void protobuf_AddDesc_pokerth_2eproto(); + #endif friend void protobuf_AssignDesc_pokerth_2eproto(); friend void protobuf_ShutdownFile_pokerth_2eproto(); - + void InitAsDefaultInstance(); static DealRiverCardMessage* default_instance_; }; @@ -6015,27 +6856,37 @@ class AllInShowCardsMessage_PlayerAllIn : public ::google::protobuf::MessageLite public: AllInShowCardsMessage_PlayerAllIn(); virtual ~AllInShowCardsMessage_PlayerAllIn(); - + AllInShowCardsMessage_PlayerAllIn(const AllInShowCardsMessage_PlayerAllIn& from); - + inline AllInShowCardsMessage_PlayerAllIn& operator=(const AllInShowCardsMessage_PlayerAllIn& from) { CopyFrom(from); return *this; } - + static const AllInShowCardsMessage_PlayerAllIn& default_instance(); - + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + // Returns the internal default instance pointer. This function can + // return NULL thus should not be used by the user. This is intended + // for Protobuf internal code. Please use default_instance() declared + // above instead. + static inline const AllInShowCardsMessage_PlayerAllIn* internal_default_instance() { + return default_instance_; + } + #endif + void Swap(AllInShowCardsMessage_PlayerAllIn* other); - + // implements Message ---------------------------------------------- - + AllInShowCardsMessage_PlayerAllIn* New() const; void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from); void CopyFrom(const AllInShowCardsMessage_PlayerAllIn& from); void MergeFrom(const AllInShowCardsMessage_PlayerAllIn& from); void Clear(); bool IsInitialized() const; - + int ByteSize() const; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input); @@ -6047,34 +6898,34 @@ class AllInShowCardsMessage_PlayerAllIn : public ::google::protobuf::MessageLite void SharedDtor(); void SetCachedSize(int size) const; public: - + ::std::string GetTypeName() const; - + // nested types ---------------------------------------------------- - + // accessors ------------------------------------------------------- - + // required uint32 playerId = 1; inline bool has_playerid() const; inline void clear_playerid(); static const int kPlayerIdFieldNumber = 1; inline ::google::protobuf::uint32 playerid() const; inline void set_playerid(::google::protobuf::uint32 value); - + // required uint32 allInCard1 = 2; inline bool has_allincard1() const; inline void clear_allincard1(); static const int kAllInCard1FieldNumber = 2; inline ::google::protobuf::uint32 allincard1() const; inline void set_allincard1(::google::protobuf::uint32 value); - + // required uint32 allInCard2 = 3; inline bool has_allincard2() const; inline void clear_allincard2(); static const int kAllInCard2FieldNumber = 3; inline ::google::protobuf::uint32 allincard2() const; inline void set_allincard2(::google::protobuf::uint32 value); - + // @@protoc_insertion_point(class_scope:AllInShowCardsMessage.PlayerAllIn) private: inline void set_has_playerid(); @@ -6083,18 +6934,22 @@ class AllInShowCardsMessage_PlayerAllIn : public ::google::protobuf::MessageLite inline void clear_has_allincard1(); inline void set_has_allincard2(); inline void clear_has_allincard2(); - + ::google::protobuf::uint32 playerid_; ::google::protobuf::uint32 allincard1_; ::google::protobuf::uint32 allincard2_; - + mutable int _cached_size_; ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32]; - + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + friend void protobuf_AddDesc_pokerth_2eproto_impl(); + #else friend void protobuf_AddDesc_pokerth_2eproto(); + #endif friend void protobuf_AssignDesc_pokerth_2eproto(); friend void protobuf_ShutdownFile_pokerth_2eproto(); - + void InitAsDefaultInstance(); static AllInShowCardsMessage_PlayerAllIn* default_instance_; }; @@ -6104,27 +6959,37 @@ class AllInShowCardsMessage : public ::google::protobuf::MessageLite { public: AllInShowCardsMessage(); virtual ~AllInShowCardsMessage(); - + AllInShowCardsMessage(const AllInShowCardsMessage& from); - + inline AllInShowCardsMessage& operator=(const AllInShowCardsMessage& from) { CopyFrom(from); return *this; } - + static const AllInShowCardsMessage& default_instance(); - + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + // Returns the internal default instance pointer. This function can + // return NULL thus should not be used by the user. This is intended + // for Protobuf internal code. Please use default_instance() declared + // above instead. + static inline const AllInShowCardsMessage* internal_default_instance() { + return default_instance_; + } + #endif + void Swap(AllInShowCardsMessage* other); - + // implements Message ---------------------------------------------- - + AllInShowCardsMessage* New() const; void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from); void CopyFrom(const AllInShowCardsMessage& from); void MergeFrom(const AllInShowCardsMessage& from); void Clear(); bool IsInitialized() const; - + int ByteSize() const; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input); @@ -6136,22 +7001,22 @@ class AllInShowCardsMessage : public ::google::protobuf::MessageLite { void SharedDtor(); void SetCachedSize(int size) const; public: - + ::std::string GetTypeName() const; - + // nested types ---------------------------------------------------- - + typedef AllInShowCardsMessage_PlayerAllIn PlayerAllIn; - + // accessors ------------------------------------------------------- - + // required uint32 gameId = 1; inline bool has_gameid() const; inline void clear_gameid(); static const int kGameIdFieldNumber = 1; inline ::google::protobuf::uint32 gameid() const; inline void set_gameid(::google::protobuf::uint32 value); - + // repeated .AllInShowCardsMessage.PlayerAllIn playersAllIn = 2; inline int playersallin_size() const; inline void clear_playersallin(); @@ -6163,22 +7028,26 @@ class AllInShowCardsMessage : public ::google::protobuf::MessageLite { playersallin() const; inline ::google::protobuf::RepeatedPtrField< ::AllInShowCardsMessage_PlayerAllIn >* mutable_playersallin(); - + // @@protoc_insertion_point(class_scope:AllInShowCardsMessage) private: inline void set_has_gameid(); inline void clear_has_gameid(); - + ::google::protobuf::RepeatedPtrField< ::AllInShowCardsMessage_PlayerAllIn > playersallin_; ::google::protobuf::uint32 gameid_; - + mutable int _cached_size_; ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32]; - + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + friend void protobuf_AddDesc_pokerth_2eproto_impl(); + #else friend void protobuf_AddDesc_pokerth_2eproto(); + #endif friend void protobuf_AssignDesc_pokerth_2eproto(); friend void protobuf_ShutdownFile_pokerth_2eproto(); - + void InitAsDefaultInstance(); static AllInShowCardsMessage* default_instance_; }; @@ -6188,27 +7057,37 @@ class EndOfHandShowCardsMessage : public ::google::protobuf::MessageLite { public: EndOfHandShowCardsMessage(); virtual ~EndOfHandShowCardsMessage(); - + EndOfHandShowCardsMessage(const EndOfHandShowCardsMessage& from); - + inline EndOfHandShowCardsMessage& operator=(const EndOfHandShowCardsMessage& from) { CopyFrom(from); return *this; } - + static const EndOfHandShowCardsMessage& default_instance(); - + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + // Returns the internal default instance pointer. This function can + // return NULL thus should not be used by the user. This is intended + // for Protobuf internal code. Please use default_instance() declared + // above instead. + static inline const EndOfHandShowCardsMessage* internal_default_instance() { + return default_instance_; + } + #endif + void Swap(EndOfHandShowCardsMessage* other); - + // implements Message ---------------------------------------------- - + EndOfHandShowCardsMessage* New() const; void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from); void CopyFrom(const EndOfHandShowCardsMessage& from); void MergeFrom(const EndOfHandShowCardsMessage& from); void Clear(); bool IsInitialized() const; - + int ByteSize() const; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input); @@ -6220,20 +7099,20 @@ class EndOfHandShowCardsMessage : public ::google::protobuf::MessageLite { void SharedDtor(); void SetCachedSize(int size) const; public: - + ::std::string GetTypeName() const; - + // nested types ---------------------------------------------------- - + // accessors ------------------------------------------------------- - + // required uint32 gameId = 1; inline bool has_gameid() const; inline void clear_gameid(); static const int kGameIdFieldNumber = 1; inline ::google::protobuf::uint32 gameid() const; inline void set_gameid(::google::protobuf::uint32 value); - + // repeated .PlayerResult playerResults = 2; inline int playerresults_size() const; inline void clear_playerresults(); @@ -6245,22 +7124,26 @@ class EndOfHandShowCardsMessage : public ::google::protobuf::MessageLite { playerresults() const; inline ::google::protobuf::RepeatedPtrField< ::PlayerResult >* mutable_playerresults(); - + // @@protoc_insertion_point(class_scope:EndOfHandShowCardsMessage) private: inline void set_has_gameid(); inline void clear_has_gameid(); - + ::google::protobuf::RepeatedPtrField< ::PlayerResult > playerresults_; ::google::protobuf::uint32 gameid_; - + mutable int _cached_size_; ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32]; - + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + friend void protobuf_AddDesc_pokerth_2eproto_impl(); + #else friend void protobuf_AddDesc_pokerth_2eproto(); + #endif friend void protobuf_AssignDesc_pokerth_2eproto(); friend void protobuf_ShutdownFile_pokerth_2eproto(); - + void InitAsDefaultInstance(); static EndOfHandShowCardsMessage* default_instance_; }; @@ -6270,27 +7153,37 @@ class EndOfHandHideCardsMessage : public ::google::protobuf::MessageLite { public: EndOfHandHideCardsMessage(); virtual ~EndOfHandHideCardsMessage(); - + EndOfHandHideCardsMessage(const EndOfHandHideCardsMessage& from); - + inline EndOfHandHideCardsMessage& operator=(const EndOfHandHideCardsMessage& from) { CopyFrom(from); return *this; } - + static const EndOfHandHideCardsMessage& default_instance(); - + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + // Returns the internal default instance pointer. This function can + // return NULL thus should not be used by the user. This is intended + // for Protobuf internal code. Please use default_instance() declared + // above instead. + static inline const EndOfHandHideCardsMessage* internal_default_instance() { + return default_instance_; + } + #endif + void Swap(EndOfHandHideCardsMessage* other); - + // implements Message ---------------------------------------------- - + EndOfHandHideCardsMessage* New() const; void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from); void CopyFrom(const EndOfHandHideCardsMessage& from); void MergeFrom(const EndOfHandHideCardsMessage& from); void Clear(); bool IsInitialized() const; - + int ByteSize() const; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input); @@ -6302,41 +7195,41 @@ class EndOfHandHideCardsMessage : public ::google::protobuf::MessageLite { void SharedDtor(); void SetCachedSize(int size) const; public: - + ::std::string GetTypeName() const; - + // nested types ---------------------------------------------------- - + // accessors ------------------------------------------------------- - + // required uint32 gameId = 1; inline bool has_gameid() const; inline void clear_gameid(); static const int kGameIdFieldNumber = 1; inline ::google::protobuf::uint32 gameid() const; inline void set_gameid(::google::protobuf::uint32 value); - + // required uint32 playerId = 2; inline bool has_playerid() const; inline void clear_playerid(); static const int kPlayerIdFieldNumber = 2; inline ::google::protobuf::uint32 playerid() const; inline void set_playerid(::google::protobuf::uint32 value); - + // required uint32 moneyWon = 3; inline bool has_moneywon() const; inline void clear_moneywon(); static const int kMoneyWonFieldNumber = 3; inline ::google::protobuf::uint32 moneywon() const; inline void set_moneywon(::google::protobuf::uint32 value); - + // required uint32 playerMoney = 4; inline bool has_playermoney() const; inline void clear_playermoney(); static const int kPlayerMoneyFieldNumber = 4; inline ::google::protobuf::uint32 playermoney() const; inline void set_playermoney(::google::protobuf::uint32 value); - + // @@protoc_insertion_point(class_scope:EndOfHandHideCardsMessage) private: inline void set_has_gameid(); @@ -6347,19 +7240,23 @@ class EndOfHandHideCardsMessage : public ::google::protobuf::MessageLite { inline void clear_has_moneywon(); inline void set_has_playermoney(); inline void clear_has_playermoney(); - + ::google::protobuf::uint32 gameid_; ::google::protobuf::uint32 playerid_; ::google::protobuf::uint32 moneywon_; ::google::protobuf::uint32 playermoney_; - + mutable int _cached_size_; ::google::protobuf::uint32 _has_bits_[(4 + 31) / 32]; - + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + friend void protobuf_AddDesc_pokerth_2eproto_impl(); + #else friend void protobuf_AddDesc_pokerth_2eproto(); + #endif friend void protobuf_AssignDesc_pokerth_2eproto(); friend void protobuf_ShutdownFile_pokerth_2eproto(); - + void InitAsDefaultInstance(); static EndOfHandHideCardsMessage* default_instance_; }; @@ -6369,27 +7266,37 @@ class ShowMyCardsRequestMessage : public ::google::protobuf::MessageLite { public: ShowMyCardsRequestMessage(); virtual ~ShowMyCardsRequestMessage(); - + ShowMyCardsRequestMessage(const ShowMyCardsRequestMessage& from); - + inline ShowMyCardsRequestMessage& operator=(const ShowMyCardsRequestMessage& from) { CopyFrom(from); return *this; } - + static const ShowMyCardsRequestMessage& default_instance(); - + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + // Returns the internal default instance pointer. This function can + // return NULL thus should not be used by the user. This is intended + // for Protobuf internal code. Please use default_instance() declared + // above instead. + static inline const ShowMyCardsRequestMessage* internal_default_instance() { + return default_instance_; + } + #endif + void Swap(ShowMyCardsRequestMessage* other); - + // implements Message ---------------------------------------------- - + ShowMyCardsRequestMessage* New() const; void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from); void CopyFrom(const ShowMyCardsRequestMessage& from); void MergeFrom(const ShowMyCardsRequestMessage& from); void Clear(); bool IsInitialized() const; - + int ByteSize() const; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input); @@ -6401,24 +7308,28 @@ class ShowMyCardsRequestMessage : public ::google::protobuf::MessageLite { void SharedDtor(); void SetCachedSize(int size) const; public: - + ::std::string GetTypeName() const; - + // nested types ---------------------------------------------------- - + // accessors ------------------------------------------------------- - + // @@protoc_insertion_point(class_scope:ShowMyCardsRequestMessage) private: - - + + mutable int _cached_size_; ::google::protobuf::uint32 _has_bits_[1]; - + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + friend void protobuf_AddDesc_pokerth_2eproto_impl(); + #else friend void protobuf_AddDesc_pokerth_2eproto(); + #endif friend void protobuf_AssignDesc_pokerth_2eproto(); friend void protobuf_ShutdownFile_pokerth_2eproto(); - + void InitAsDefaultInstance(); static ShowMyCardsRequestMessage* default_instance_; }; @@ -6428,27 +7339,37 @@ class AfterHandShowCardsMessage : public ::google::protobuf::MessageLite { public: AfterHandShowCardsMessage(); virtual ~AfterHandShowCardsMessage(); - + AfterHandShowCardsMessage(const AfterHandShowCardsMessage& from); - + inline AfterHandShowCardsMessage& operator=(const AfterHandShowCardsMessage& from) { CopyFrom(from); return *this; } - + static const AfterHandShowCardsMessage& default_instance(); - + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + // Returns the internal default instance pointer. This function can + // return NULL thus should not be used by the user. This is intended + // for Protobuf internal code. Please use default_instance() declared + // above instead. + static inline const AfterHandShowCardsMessage* internal_default_instance() { + return default_instance_; + } + #endif + void Swap(AfterHandShowCardsMessage* other); - + // implements Message ---------------------------------------------- - + AfterHandShowCardsMessage* New() const; void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from); void CopyFrom(const AfterHandShowCardsMessage& from); void MergeFrom(const AfterHandShowCardsMessage& from); void Clear(); bool IsInitialized() const; - + int ByteSize() const; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input); @@ -6460,13 +7381,13 @@ class AfterHandShowCardsMessage : public ::google::protobuf::MessageLite { void SharedDtor(); void SetCachedSize(int size) const; public: - + ::std::string GetTypeName() const; - + // nested types ---------------------------------------------------- - + // accessors ------------------------------------------------------- - + // required .PlayerResult playerResult = 1; inline bool has_playerresult() const; inline void clear_playerresult(); @@ -6474,21 +7395,26 @@ class AfterHandShowCardsMessage : public ::google::protobuf::MessageLite { inline const ::PlayerResult& playerresult() const; inline ::PlayerResult* mutable_playerresult(); inline ::PlayerResult* release_playerresult(); - + inline void set_allocated_playerresult(::PlayerResult* playerresult); + // @@protoc_insertion_point(class_scope:AfterHandShowCardsMessage) private: inline void set_has_playerresult(); inline void clear_has_playerresult(); - + ::PlayerResult* playerresult_; - + mutable int _cached_size_; ::google::protobuf::uint32 _has_bits_[(1 + 31) / 32]; - + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + friend void protobuf_AddDesc_pokerth_2eproto_impl(); + #else friend void protobuf_AddDesc_pokerth_2eproto(); + #endif friend void protobuf_AssignDesc_pokerth_2eproto(); friend void protobuf_ShutdownFile_pokerth_2eproto(); - + void InitAsDefaultInstance(); static AfterHandShowCardsMessage* default_instance_; }; @@ -6498,27 +7424,37 @@ class EndOfGameMessage : public ::google::protobuf::MessageLite { public: EndOfGameMessage(); virtual ~EndOfGameMessage(); - + EndOfGameMessage(const EndOfGameMessage& from); - + inline EndOfGameMessage& operator=(const EndOfGameMessage& from) { CopyFrom(from); return *this; } - + static const EndOfGameMessage& default_instance(); - + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + // Returns the internal default instance pointer. This function can + // return NULL thus should not be used by the user. This is intended + // for Protobuf internal code. Please use default_instance() declared + // above instead. + static inline const EndOfGameMessage* internal_default_instance() { + return default_instance_; + } + #endif + void Swap(EndOfGameMessage* other); - + // implements Message ---------------------------------------------- - + EndOfGameMessage* New() const; void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from); void CopyFrom(const EndOfGameMessage& from); void MergeFrom(const EndOfGameMessage& from); void Clear(); bool IsInitialized() const; - + int ByteSize() const; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input); @@ -6530,44 +7466,48 @@ class EndOfGameMessage : public ::google::protobuf::MessageLite { void SharedDtor(); void SetCachedSize(int size) const; public: - + ::std::string GetTypeName() const; - + // nested types ---------------------------------------------------- - + // accessors ------------------------------------------------------- - + // required uint32 gameId = 1; inline bool has_gameid() const; inline void clear_gameid(); static const int kGameIdFieldNumber = 1; inline ::google::protobuf::uint32 gameid() const; inline void set_gameid(::google::protobuf::uint32 value); - + // required uint32 winnerPlayerId = 2; inline bool has_winnerplayerid() const; inline void clear_winnerplayerid(); static const int kWinnerPlayerIdFieldNumber = 2; inline ::google::protobuf::uint32 winnerplayerid() const; inline void set_winnerplayerid(::google::protobuf::uint32 value); - + // @@protoc_insertion_point(class_scope:EndOfGameMessage) private: inline void set_has_gameid(); inline void clear_has_gameid(); inline void set_has_winnerplayerid(); inline void clear_has_winnerplayerid(); - + ::google::protobuf::uint32 gameid_; ::google::protobuf::uint32 winnerplayerid_; - + mutable int _cached_size_; ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32]; - + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + friend void protobuf_AddDesc_pokerth_2eproto_impl(); + #else friend void protobuf_AddDesc_pokerth_2eproto(); + #endif friend void protobuf_AssignDesc_pokerth_2eproto(); friend void protobuf_ShutdownFile_pokerth_2eproto(); - + void InitAsDefaultInstance(); static EndOfGameMessage* default_instance_; }; @@ -6577,27 +7517,37 @@ class PlayerIdChangedMessage : public ::google::protobuf::MessageLite { public: PlayerIdChangedMessage(); virtual ~PlayerIdChangedMessage(); - + PlayerIdChangedMessage(const PlayerIdChangedMessage& from); - + inline PlayerIdChangedMessage& operator=(const PlayerIdChangedMessage& from) { CopyFrom(from); return *this; } - + static const PlayerIdChangedMessage& default_instance(); - + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + // Returns the internal default instance pointer. This function can + // return NULL thus should not be used by the user. This is intended + // for Protobuf internal code. Please use default_instance() declared + // above instead. + static inline const PlayerIdChangedMessage* internal_default_instance() { + return default_instance_; + } + #endif + void Swap(PlayerIdChangedMessage* other); - + // implements Message ---------------------------------------------- - + PlayerIdChangedMessage* New() const; void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from); void CopyFrom(const PlayerIdChangedMessage& from); void MergeFrom(const PlayerIdChangedMessage& from); void Clear(); bool IsInitialized() const; - + int ByteSize() const; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input); @@ -6609,44 +7559,48 @@ class PlayerIdChangedMessage : public ::google::protobuf::MessageLite { void SharedDtor(); void SetCachedSize(int size) const; public: - + ::std::string GetTypeName() const; - + // nested types ---------------------------------------------------- - + // accessors ------------------------------------------------------- - + // required uint32 oldPlayerId = 1; inline bool has_oldplayerid() const; inline void clear_oldplayerid(); static const int kOldPlayerIdFieldNumber = 1; inline ::google::protobuf::uint32 oldplayerid() const; inline void set_oldplayerid(::google::protobuf::uint32 value); - + // required uint32 newPlayerId = 2; inline bool has_newplayerid() const; inline void clear_newplayerid(); static const int kNewPlayerIdFieldNumber = 2; inline ::google::protobuf::uint32 newplayerid() const; inline void set_newplayerid(::google::protobuf::uint32 value); - + // @@protoc_insertion_point(class_scope:PlayerIdChangedMessage) private: inline void set_has_oldplayerid(); inline void clear_has_oldplayerid(); inline void set_has_newplayerid(); inline void clear_has_newplayerid(); - + ::google::protobuf::uint32 oldplayerid_; ::google::protobuf::uint32 newplayerid_; - + mutable int _cached_size_; ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32]; - + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + friend void protobuf_AddDesc_pokerth_2eproto_impl(); + #else friend void protobuf_AddDesc_pokerth_2eproto(); + #endif friend void protobuf_AssignDesc_pokerth_2eproto(); friend void protobuf_ShutdownFile_pokerth_2eproto(); - + void InitAsDefaultInstance(); static PlayerIdChangedMessage* default_instance_; }; @@ -6656,27 +7610,37 @@ class AskKickPlayerMessage : public ::google::protobuf::MessageLite { public: AskKickPlayerMessage(); virtual ~AskKickPlayerMessage(); - + AskKickPlayerMessage(const AskKickPlayerMessage& from); - + inline AskKickPlayerMessage& operator=(const AskKickPlayerMessage& from) { CopyFrom(from); return *this; } - + static const AskKickPlayerMessage& default_instance(); - + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + // Returns the internal default instance pointer. This function can + // return NULL thus should not be used by the user. This is intended + // for Protobuf internal code. Please use default_instance() declared + // above instead. + static inline const AskKickPlayerMessage* internal_default_instance() { + return default_instance_; + } + #endif + void Swap(AskKickPlayerMessage* other); - + // implements Message ---------------------------------------------- - + AskKickPlayerMessage* New() const; void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from); void CopyFrom(const AskKickPlayerMessage& from); void MergeFrom(const AskKickPlayerMessage& from); void Clear(); bool IsInitialized() const; - + int ByteSize() const; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input); @@ -6688,44 +7652,48 @@ class AskKickPlayerMessage : public ::google::protobuf::MessageLite { void SharedDtor(); void SetCachedSize(int size) const; public: - + ::std::string GetTypeName() const; - + // nested types ---------------------------------------------------- - + // accessors ------------------------------------------------------- - + // required uint32 gameId = 1; inline bool has_gameid() const; inline void clear_gameid(); static const int kGameIdFieldNumber = 1; inline ::google::protobuf::uint32 gameid() const; inline void set_gameid(::google::protobuf::uint32 value); - + // required uint32 playerId = 2; inline bool has_playerid() const; inline void clear_playerid(); static const int kPlayerIdFieldNumber = 2; inline ::google::protobuf::uint32 playerid() const; inline void set_playerid(::google::protobuf::uint32 value); - + // @@protoc_insertion_point(class_scope:AskKickPlayerMessage) private: inline void set_has_gameid(); inline void clear_has_gameid(); inline void set_has_playerid(); inline void clear_has_playerid(); - + ::google::protobuf::uint32 gameid_; ::google::protobuf::uint32 playerid_; - + mutable int _cached_size_; ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32]; - + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + friend void protobuf_AddDesc_pokerth_2eproto_impl(); + #else friend void protobuf_AddDesc_pokerth_2eproto(); + #endif friend void protobuf_AssignDesc_pokerth_2eproto(); friend void protobuf_ShutdownFile_pokerth_2eproto(); - + void InitAsDefaultInstance(); static AskKickPlayerMessage* default_instance_; }; @@ -6735,27 +7703,37 @@ class AskKickDeniedMessage : public ::google::protobuf::MessageLite { public: AskKickDeniedMessage(); virtual ~AskKickDeniedMessage(); - + AskKickDeniedMessage(const AskKickDeniedMessage& from); - + inline AskKickDeniedMessage& operator=(const AskKickDeniedMessage& from) { CopyFrom(from); return *this; } - + static const AskKickDeniedMessage& default_instance(); - + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + // Returns the internal default instance pointer. This function can + // return NULL thus should not be used by the user. This is intended + // for Protobuf internal code. Please use default_instance() declared + // above instead. + static inline const AskKickDeniedMessage* internal_default_instance() { + return default_instance_; + } + #endif + void Swap(AskKickDeniedMessage* other); - + // implements Message ---------------------------------------------- - + AskKickDeniedMessage* New() const; void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from); void CopyFrom(const AskKickDeniedMessage& from); void MergeFrom(const AskKickDeniedMessage& from); void Clear(); bool IsInitialized() const; - + int ByteSize() const; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input); @@ -6767,11 +7745,11 @@ class AskKickDeniedMessage : public ::google::protobuf::MessageLite { void SharedDtor(); void SetCachedSize(int size) const; public: - + ::std::string GetTypeName() const; - + // nested types ---------------------------------------------------- - + typedef AskKickDeniedMessage_KickDeniedReason KickDeniedReason; static const KickDeniedReason kickDeniedInvalidGameState = AskKickDeniedMessage_KickDeniedReason_kickDeniedInvalidGameState; static const KickDeniedReason kickDeniedNotPossible = AskKickDeniedMessage_KickDeniedReason_kickDeniedNotPossible; @@ -6787,30 +7765,30 @@ class AskKickDeniedMessage : public ::google::protobuf::MessageLite { AskKickDeniedMessage_KickDeniedReason_KickDeniedReason_MAX; static const int KickDeniedReason_ARRAYSIZE = AskKickDeniedMessage_KickDeniedReason_KickDeniedReason_ARRAYSIZE; - + // accessors ------------------------------------------------------- - + // required uint32 gameId = 1; inline bool has_gameid() const; inline void clear_gameid(); static const int kGameIdFieldNumber = 1; inline ::google::protobuf::uint32 gameid() const; inline void set_gameid(::google::protobuf::uint32 value); - + // required uint32 playerId = 2; inline bool has_playerid() const; inline void clear_playerid(); static const int kPlayerIdFieldNumber = 2; inline ::google::protobuf::uint32 playerid() const; inline void set_playerid(::google::protobuf::uint32 value); - + // required .AskKickDeniedMessage.KickDeniedReason kickDeniedReason = 3; inline bool has_kickdeniedreason() const; inline void clear_kickdeniedreason(); static const int kKickDeniedReasonFieldNumber = 3; inline ::AskKickDeniedMessage_KickDeniedReason kickdeniedreason() const; inline void set_kickdeniedreason(::AskKickDeniedMessage_KickDeniedReason value); - + // @@protoc_insertion_point(class_scope:AskKickDeniedMessage) private: inline void set_has_gameid(); @@ -6819,18 +7797,22 @@ class AskKickDeniedMessage : public ::google::protobuf::MessageLite { inline void clear_has_playerid(); inline void set_has_kickdeniedreason(); inline void clear_has_kickdeniedreason(); - + ::google::protobuf::uint32 gameid_; ::google::protobuf::uint32 playerid_; int kickdeniedreason_; - + mutable int _cached_size_; ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32]; - + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + friend void protobuf_AddDesc_pokerth_2eproto_impl(); + #else friend void protobuf_AddDesc_pokerth_2eproto(); + #endif friend void protobuf_AssignDesc_pokerth_2eproto(); friend void protobuf_ShutdownFile_pokerth_2eproto(); - + void InitAsDefaultInstance(); static AskKickDeniedMessage* default_instance_; }; @@ -6840,27 +7822,37 @@ class StartKickPetitionMessage : public ::google::protobuf::MessageLite { public: StartKickPetitionMessage(); virtual ~StartKickPetitionMessage(); - + StartKickPetitionMessage(const StartKickPetitionMessage& from); - + inline StartKickPetitionMessage& operator=(const StartKickPetitionMessage& from) { CopyFrom(from); return *this; } - + static const StartKickPetitionMessage& default_instance(); - + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + // Returns the internal default instance pointer. This function can + // return NULL thus should not be used by the user. This is intended + // for Protobuf internal code. Please use default_instance() declared + // above instead. + static inline const StartKickPetitionMessage* internal_default_instance() { + return default_instance_; + } + #endif + void Swap(StartKickPetitionMessage* other); - + // implements Message ---------------------------------------------- - + StartKickPetitionMessage* New() const; void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from); void CopyFrom(const StartKickPetitionMessage& from); void MergeFrom(const StartKickPetitionMessage& from); void Clear(); bool IsInitialized() const; - + int ByteSize() const; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input); @@ -6872,55 +7864,55 @@ class StartKickPetitionMessage : public ::google::protobuf::MessageLite { void SharedDtor(); void SetCachedSize(int size) const; public: - + ::std::string GetTypeName() const; - + // nested types ---------------------------------------------------- - + // accessors ------------------------------------------------------- - + // required uint32 gameId = 1; inline bool has_gameid() const; inline void clear_gameid(); static const int kGameIdFieldNumber = 1; inline ::google::protobuf::uint32 gameid() const; inline void set_gameid(::google::protobuf::uint32 value); - + // required uint32 petitionId = 2; inline bool has_petitionid() const; inline void clear_petitionid(); static const int kPetitionIdFieldNumber = 2; inline ::google::protobuf::uint32 petitionid() const; inline void set_petitionid(::google::protobuf::uint32 value); - + // required uint32 proposingPlayerId = 3; inline bool has_proposingplayerid() const; inline void clear_proposingplayerid(); static const int kProposingPlayerIdFieldNumber = 3; inline ::google::protobuf::uint32 proposingplayerid() const; inline void set_proposingplayerid(::google::protobuf::uint32 value); - + // required uint32 kickPlayerId = 4; inline bool has_kickplayerid() const; inline void clear_kickplayerid(); static const int kKickPlayerIdFieldNumber = 4; inline ::google::protobuf::uint32 kickplayerid() const; inline void set_kickplayerid(::google::protobuf::uint32 value); - + // required uint32 kickTimeoutSec = 5; inline bool has_kicktimeoutsec() const; inline void clear_kicktimeoutsec(); static const int kKickTimeoutSecFieldNumber = 5; inline ::google::protobuf::uint32 kicktimeoutsec() const; inline void set_kicktimeoutsec(::google::protobuf::uint32 value); - + // required uint32 numVotesNeededToKick = 6; inline bool has_numvotesneededtokick() const; inline void clear_numvotesneededtokick(); static const int kNumVotesNeededToKickFieldNumber = 6; inline ::google::protobuf::uint32 numvotesneededtokick() const; inline void set_numvotesneededtokick(::google::protobuf::uint32 value); - + // @@protoc_insertion_point(class_scope:StartKickPetitionMessage) private: inline void set_has_gameid(); @@ -6935,21 +7927,25 @@ class StartKickPetitionMessage : public ::google::protobuf::MessageLite { inline void clear_has_kicktimeoutsec(); inline void set_has_numvotesneededtokick(); inline void clear_has_numvotesneededtokick(); - + ::google::protobuf::uint32 gameid_; ::google::protobuf::uint32 petitionid_; ::google::protobuf::uint32 proposingplayerid_; ::google::protobuf::uint32 kickplayerid_; ::google::protobuf::uint32 kicktimeoutsec_; ::google::protobuf::uint32 numvotesneededtokick_; - + mutable int _cached_size_; ::google::protobuf::uint32 _has_bits_[(6 + 31) / 32]; - + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + friend void protobuf_AddDesc_pokerth_2eproto_impl(); + #else friend void protobuf_AddDesc_pokerth_2eproto(); + #endif friend void protobuf_AssignDesc_pokerth_2eproto(); friend void protobuf_ShutdownFile_pokerth_2eproto(); - + void InitAsDefaultInstance(); static StartKickPetitionMessage* default_instance_; }; @@ -6959,27 +7955,37 @@ class VoteKickRequestMessage : public ::google::protobuf::MessageLite { public: VoteKickRequestMessage(); virtual ~VoteKickRequestMessage(); - + VoteKickRequestMessage(const VoteKickRequestMessage& from); - + inline VoteKickRequestMessage& operator=(const VoteKickRequestMessage& from) { CopyFrom(from); return *this; } - + static const VoteKickRequestMessage& default_instance(); - + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + // Returns the internal default instance pointer. This function can + // return NULL thus should not be used by the user. This is intended + // for Protobuf internal code. Please use default_instance() declared + // above instead. + static inline const VoteKickRequestMessage* internal_default_instance() { + return default_instance_; + } + #endif + void Swap(VoteKickRequestMessage* other); - + // implements Message ---------------------------------------------- - + VoteKickRequestMessage* New() const; void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from); void CopyFrom(const VoteKickRequestMessage& from); void MergeFrom(const VoteKickRequestMessage& from); void Clear(); bool IsInitialized() const; - + int ByteSize() const; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input); @@ -6991,34 +7997,34 @@ class VoteKickRequestMessage : public ::google::protobuf::MessageLite { void SharedDtor(); void SetCachedSize(int size) const; public: - + ::std::string GetTypeName() const; - + // nested types ---------------------------------------------------- - + // accessors ------------------------------------------------------- - + // required uint32 gameId = 1; inline bool has_gameid() const; inline void clear_gameid(); static const int kGameIdFieldNumber = 1; inline ::google::protobuf::uint32 gameid() const; inline void set_gameid(::google::protobuf::uint32 value); - + // required uint32 petitionId = 2; inline bool has_petitionid() const; inline void clear_petitionid(); static const int kPetitionIdFieldNumber = 2; inline ::google::protobuf::uint32 petitionid() const; inline void set_petitionid(::google::protobuf::uint32 value); - + // required bool voteKick = 3; inline bool has_votekick() const; inline void clear_votekick(); static const int kVoteKickFieldNumber = 3; inline bool votekick() const; inline void set_votekick(bool value); - + // @@protoc_insertion_point(class_scope:VoteKickRequestMessage) private: inline void set_has_gameid(); @@ -7027,18 +8033,22 @@ class VoteKickRequestMessage : public ::google::protobuf::MessageLite { inline void clear_has_petitionid(); inline void set_has_votekick(); inline void clear_has_votekick(); - + ::google::protobuf::uint32 gameid_; ::google::protobuf::uint32 petitionid_; bool votekick_; - + mutable int _cached_size_; ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32]; - + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + friend void protobuf_AddDesc_pokerth_2eproto_impl(); + #else friend void protobuf_AddDesc_pokerth_2eproto(); + #endif friend void protobuf_AssignDesc_pokerth_2eproto(); friend void protobuf_ShutdownFile_pokerth_2eproto(); - + void InitAsDefaultInstance(); static VoteKickRequestMessage* default_instance_; }; @@ -7048,27 +8058,37 @@ class VoteKickReplyMessage : public ::google::protobuf::MessageLite { public: VoteKickReplyMessage(); virtual ~VoteKickReplyMessage(); - + VoteKickReplyMessage(const VoteKickReplyMessage& from); - + inline VoteKickReplyMessage& operator=(const VoteKickReplyMessage& from) { CopyFrom(from); return *this; } - + static const VoteKickReplyMessage& default_instance(); - + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + // Returns the internal default instance pointer. This function can + // return NULL thus should not be used by the user. This is intended + // for Protobuf internal code. Please use default_instance() declared + // above instead. + static inline const VoteKickReplyMessage* internal_default_instance() { + return default_instance_; + } + #endif + void Swap(VoteKickReplyMessage* other); - + // implements Message ---------------------------------------------- - + VoteKickReplyMessage* New() const; void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from); void CopyFrom(const VoteKickReplyMessage& from); void MergeFrom(const VoteKickReplyMessage& from); void Clear(); bool IsInitialized() const; - + int ByteSize() const; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input); @@ -7080,11 +8100,11 @@ class VoteKickReplyMessage : public ::google::protobuf::MessageLite { void SharedDtor(); void SetCachedSize(int size) const; public: - + ::std::string GetTypeName() const; - + // nested types ---------------------------------------------------- - + typedef VoteKickReplyMessage_VoteKickReplyType VoteKickReplyType; static const VoteKickReplyType voteKickAck = VoteKickReplyMessage_VoteKickReplyType_voteKickAck; static const VoteKickReplyType voteKickDeniedInvalid = VoteKickReplyMessage_VoteKickReplyType_voteKickDeniedInvalid; @@ -7098,30 +8118,30 @@ class VoteKickReplyMessage : public ::google::protobuf::MessageLite { VoteKickReplyMessage_VoteKickReplyType_VoteKickReplyType_MAX; static const int VoteKickReplyType_ARRAYSIZE = VoteKickReplyMessage_VoteKickReplyType_VoteKickReplyType_ARRAYSIZE; - + // accessors ------------------------------------------------------- - + // required uint32 gameId = 1; inline bool has_gameid() const; inline void clear_gameid(); static const int kGameIdFieldNumber = 1; inline ::google::protobuf::uint32 gameid() const; inline void set_gameid(::google::protobuf::uint32 value); - + // required uint32 petitionId = 2; inline bool has_petitionid() const; inline void clear_petitionid(); static const int kPetitionIdFieldNumber = 2; inline ::google::protobuf::uint32 petitionid() const; inline void set_petitionid(::google::protobuf::uint32 value); - + // required .VoteKickReplyMessage.VoteKickReplyType voteKickReplyType = 3; inline bool has_votekickreplytype() const; inline void clear_votekickreplytype(); static const int kVoteKickReplyTypeFieldNumber = 3; inline ::VoteKickReplyMessage_VoteKickReplyType votekickreplytype() const; inline void set_votekickreplytype(::VoteKickReplyMessage_VoteKickReplyType value); - + // @@protoc_insertion_point(class_scope:VoteKickReplyMessage) private: inline void set_has_gameid(); @@ -7130,18 +8150,22 @@ class VoteKickReplyMessage : public ::google::protobuf::MessageLite { inline void clear_has_petitionid(); inline void set_has_votekickreplytype(); inline void clear_has_votekickreplytype(); - + ::google::protobuf::uint32 gameid_; ::google::protobuf::uint32 petitionid_; int votekickreplytype_; - + mutable int _cached_size_; ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32]; - + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + friend void protobuf_AddDesc_pokerth_2eproto_impl(); + #else friend void protobuf_AddDesc_pokerth_2eproto(); + #endif friend void protobuf_AssignDesc_pokerth_2eproto(); friend void protobuf_ShutdownFile_pokerth_2eproto(); - + void InitAsDefaultInstance(); static VoteKickReplyMessage* default_instance_; }; @@ -7151,27 +8175,37 @@ class KickPetitionUpdateMessage : public ::google::protobuf::MessageLite { public: KickPetitionUpdateMessage(); virtual ~KickPetitionUpdateMessage(); - + KickPetitionUpdateMessage(const KickPetitionUpdateMessage& from); - + inline KickPetitionUpdateMessage& operator=(const KickPetitionUpdateMessage& from) { CopyFrom(from); return *this; } - + static const KickPetitionUpdateMessage& default_instance(); - + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + // Returns the internal default instance pointer. This function can + // return NULL thus should not be used by the user. This is intended + // for Protobuf internal code. Please use default_instance() declared + // above instead. + static inline const KickPetitionUpdateMessage* internal_default_instance() { + return default_instance_; + } + #endif + void Swap(KickPetitionUpdateMessage* other); - + // implements Message ---------------------------------------------- - + KickPetitionUpdateMessage* New() const; void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from); void CopyFrom(const KickPetitionUpdateMessage& from); void MergeFrom(const KickPetitionUpdateMessage& from); void Clear(); bool IsInitialized() const; - + int ByteSize() const; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input); @@ -7183,48 +8217,48 @@ class KickPetitionUpdateMessage : public ::google::protobuf::MessageLite { void SharedDtor(); void SetCachedSize(int size) const; public: - + ::std::string GetTypeName() const; - + // nested types ---------------------------------------------------- - + // accessors ------------------------------------------------------- - + // required uint32 gameId = 1; inline bool has_gameid() const; inline void clear_gameid(); static const int kGameIdFieldNumber = 1; inline ::google::protobuf::uint32 gameid() const; inline void set_gameid(::google::protobuf::uint32 value); - + // required uint32 petitionId = 2; inline bool has_petitionid() const; inline void clear_petitionid(); static const int kPetitionIdFieldNumber = 2; inline ::google::protobuf::uint32 petitionid() const; inline void set_petitionid(::google::protobuf::uint32 value); - + // required uint32 numVotesAgainstKicking = 3; inline bool has_numvotesagainstkicking() const; inline void clear_numvotesagainstkicking(); static const int kNumVotesAgainstKickingFieldNumber = 3; inline ::google::protobuf::uint32 numvotesagainstkicking() const; inline void set_numvotesagainstkicking(::google::protobuf::uint32 value); - + // required uint32 numVotesInFavourOfKicking = 4; inline bool has_numvotesinfavourofkicking() const; inline void clear_numvotesinfavourofkicking(); static const int kNumVotesInFavourOfKickingFieldNumber = 4; inline ::google::protobuf::uint32 numvotesinfavourofkicking() const; inline void set_numvotesinfavourofkicking(::google::protobuf::uint32 value); - + // required uint32 numVotesNeededToKick = 5; inline bool has_numvotesneededtokick() const; inline void clear_numvotesneededtokick(); static const int kNumVotesNeededToKickFieldNumber = 5; inline ::google::protobuf::uint32 numvotesneededtokick() const; inline void set_numvotesneededtokick(::google::protobuf::uint32 value); - + // @@protoc_insertion_point(class_scope:KickPetitionUpdateMessage) private: inline void set_has_gameid(); @@ -7237,20 +8271,24 @@ class KickPetitionUpdateMessage : public ::google::protobuf::MessageLite { inline void clear_has_numvotesinfavourofkicking(); inline void set_has_numvotesneededtokick(); inline void clear_has_numvotesneededtokick(); - + ::google::protobuf::uint32 gameid_; ::google::protobuf::uint32 petitionid_; ::google::protobuf::uint32 numvotesagainstkicking_; ::google::protobuf::uint32 numvotesinfavourofkicking_; ::google::protobuf::uint32 numvotesneededtokick_; - + mutable int _cached_size_; ::google::protobuf::uint32 _has_bits_[(5 + 31) / 32]; - + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + friend void protobuf_AddDesc_pokerth_2eproto_impl(); + #else friend void protobuf_AddDesc_pokerth_2eproto(); + #endif friend void protobuf_AssignDesc_pokerth_2eproto(); friend void protobuf_ShutdownFile_pokerth_2eproto(); - + void InitAsDefaultInstance(); static KickPetitionUpdateMessage* default_instance_; }; @@ -7260,27 +8298,37 @@ class EndKickPetitionMessage : public ::google::protobuf::MessageLite { public: EndKickPetitionMessage(); virtual ~EndKickPetitionMessage(); - + EndKickPetitionMessage(const EndKickPetitionMessage& from); - + inline EndKickPetitionMessage& operator=(const EndKickPetitionMessage& from) { CopyFrom(from); return *this; } - + static const EndKickPetitionMessage& default_instance(); - + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + // Returns the internal default instance pointer. This function can + // return NULL thus should not be used by the user. This is intended + // for Protobuf internal code. Please use default_instance() declared + // above instead. + static inline const EndKickPetitionMessage* internal_default_instance() { + return default_instance_; + } + #endif + void Swap(EndKickPetitionMessage* other); - + // implements Message ---------------------------------------------- - + EndKickPetitionMessage* New() const; void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from); void CopyFrom(const EndKickPetitionMessage& from); void MergeFrom(const EndKickPetitionMessage& from); void Clear(); bool IsInitialized() const; - + int ByteSize() const; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input); @@ -7292,11 +8340,11 @@ class EndKickPetitionMessage : public ::google::protobuf::MessageLite { void SharedDtor(); void SetCachedSize(int size) const; public: - + ::std::string GetTypeName() const; - + // nested types ---------------------------------------------------- - + typedef EndKickPetitionMessage_PetitionEndReason PetitionEndReason; static const PetitionEndReason petitionEndEnoughVotes = EndKickPetitionMessage_PetitionEndReason_petitionEndEnoughVotes; static const PetitionEndReason petitionEndTooFewPlayers = EndKickPetitionMessage_PetitionEndReason_petitionEndTooFewPlayers; @@ -7311,51 +8359,51 @@ class EndKickPetitionMessage : public ::google::protobuf::MessageLite { EndKickPetitionMessage_PetitionEndReason_PetitionEndReason_MAX; static const int PetitionEndReason_ARRAYSIZE = EndKickPetitionMessage_PetitionEndReason_PetitionEndReason_ARRAYSIZE; - + // accessors ------------------------------------------------------- - + // required uint32 gameId = 1; inline bool has_gameid() const; inline void clear_gameid(); static const int kGameIdFieldNumber = 1; inline ::google::protobuf::uint32 gameid() const; inline void set_gameid(::google::protobuf::uint32 value); - + // required uint32 petitionId = 2; inline bool has_petitionid() const; inline void clear_petitionid(); static const int kPetitionIdFieldNumber = 2; inline ::google::protobuf::uint32 petitionid() const; inline void set_petitionid(::google::protobuf::uint32 value); - + // required uint32 numVotesAgainstKicking = 3; inline bool has_numvotesagainstkicking() const; inline void clear_numvotesagainstkicking(); static const int kNumVotesAgainstKickingFieldNumber = 3; inline ::google::protobuf::uint32 numvotesagainstkicking() const; inline void set_numvotesagainstkicking(::google::protobuf::uint32 value); - + // required uint32 numVotesInFavourOfKicking = 4; inline bool has_numvotesinfavourofkicking() const; inline void clear_numvotesinfavourofkicking(); static const int kNumVotesInFavourOfKickingFieldNumber = 4; inline ::google::protobuf::uint32 numvotesinfavourofkicking() const; inline void set_numvotesinfavourofkicking(::google::protobuf::uint32 value); - + // required uint32 resultPlayerKicked = 5; inline bool has_resultplayerkicked() const; inline void clear_resultplayerkicked(); static const int kResultPlayerKickedFieldNumber = 5; inline ::google::protobuf::uint32 resultplayerkicked() const; inline void set_resultplayerkicked(::google::protobuf::uint32 value); - + // required .EndKickPetitionMessage.PetitionEndReason petitionEndReason = 6; inline bool has_petitionendreason() const; inline void clear_petitionendreason(); static const int kPetitionEndReasonFieldNumber = 6; inline ::EndKickPetitionMessage_PetitionEndReason petitionendreason() const; inline void set_petitionendreason(::EndKickPetitionMessage_PetitionEndReason value); - + // @@protoc_insertion_point(class_scope:EndKickPetitionMessage) private: inline void set_has_gameid(); @@ -7370,21 +8418,25 @@ class EndKickPetitionMessage : public ::google::protobuf::MessageLite { inline void clear_has_resultplayerkicked(); inline void set_has_petitionendreason(); inline void clear_has_petitionendreason(); - + ::google::protobuf::uint32 gameid_; ::google::protobuf::uint32 petitionid_; ::google::protobuf::uint32 numvotesagainstkicking_; ::google::protobuf::uint32 numvotesinfavourofkicking_; ::google::protobuf::uint32 resultplayerkicked_; int petitionendreason_; - + mutable int _cached_size_; ::google::protobuf::uint32 _has_bits_[(6 + 31) / 32]; - + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + friend void protobuf_AddDesc_pokerth_2eproto_impl(); + #else friend void protobuf_AddDesc_pokerth_2eproto(); + #endif friend void protobuf_AssignDesc_pokerth_2eproto(); friend void protobuf_ShutdownFile_pokerth_2eproto(); - + void InitAsDefaultInstance(); static EndKickPetitionMessage* default_instance_; }; @@ -7394,27 +8446,37 @@ class StatisticsMessage_StatisticsData : public ::google::protobuf::MessageLite public: StatisticsMessage_StatisticsData(); virtual ~StatisticsMessage_StatisticsData(); - + StatisticsMessage_StatisticsData(const StatisticsMessage_StatisticsData& from); - + inline StatisticsMessage_StatisticsData& operator=(const StatisticsMessage_StatisticsData& from) { CopyFrom(from); return *this; } - + static const StatisticsMessage_StatisticsData& default_instance(); - + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + // Returns the internal default instance pointer. This function can + // return NULL thus should not be used by the user. This is intended + // for Protobuf internal code. Please use default_instance() declared + // above instead. + static inline const StatisticsMessage_StatisticsData* internal_default_instance() { + return default_instance_; + } + #endif + void Swap(StatisticsMessage_StatisticsData* other); - + // implements Message ---------------------------------------------- - + StatisticsMessage_StatisticsData* New() const; void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from); void CopyFrom(const StatisticsMessage_StatisticsData& from); void MergeFrom(const StatisticsMessage_StatisticsData& from); void Clear(); bool IsInitialized() const; - + int ByteSize() const; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input); @@ -7426,11 +8488,11 @@ class StatisticsMessage_StatisticsData : public ::google::protobuf::MessageLite void SharedDtor(); void SetCachedSize(int size) const; public: - + ::std::string GetTypeName() const; - + // nested types ---------------------------------------------------- - + typedef StatisticsMessage_StatisticsData_StatisticsType StatisticsType; static const StatisticsType statNumberOfPlayers = StatisticsMessage_StatisticsData_StatisticsType_statNumberOfPlayers; static inline bool StatisticsType_IsValid(int value) { @@ -7442,40 +8504,44 @@ class StatisticsMessage_StatisticsData : public ::google::protobuf::MessageLite StatisticsMessage_StatisticsData_StatisticsType_StatisticsType_MAX; static const int StatisticsType_ARRAYSIZE = StatisticsMessage_StatisticsData_StatisticsType_StatisticsType_ARRAYSIZE; - + // accessors ------------------------------------------------------- - + // required .StatisticsMessage.StatisticsData.StatisticsType statisticsType = 1; inline bool has_statisticstype() const; inline void clear_statisticstype(); static const int kStatisticsTypeFieldNumber = 1; inline ::StatisticsMessage_StatisticsData_StatisticsType statisticstype() const; inline void set_statisticstype(::StatisticsMessage_StatisticsData_StatisticsType value); - + // required uint32 statisticsValue = 2; inline bool has_statisticsvalue() const; inline void clear_statisticsvalue(); static const int kStatisticsValueFieldNumber = 2; inline ::google::protobuf::uint32 statisticsvalue() const; inline void set_statisticsvalue(::google::protobuf::uint32 value); - + // @@protoc_insertion_point(class_scope:StatisticsMessage.StatisticsData) private: inline void set_has_statisticstype(); inline void clear_has_statisticstype(); inline void set_has_statisticsvalue(); inline void clear_has_statisticsvalue(); - + int statisticstype_; ::google::protobuf::uint32 statisticsvalue_; - + mutable int _cached_size_; ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32]; - + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + friend void protobuf_AddDesc_pokerth_2eproto_impl(); + #else friend void protobuf_AddDesc_pokerth_2eproto(); + #endif friend void protobuf_AssignDesc_pokerth_2eproto(); friend void protobuf_ShutdownFile_pokerth_2eproto(); - + void InitAsDefaultInstance(); static StatisticsMessage_StatisticsData* default_instance_; }; @@ -7485,27 +8551,37 @@ class StatisticsMessage : public ::google::protobuf::MessageLite { public: StatisticsMessage(); virtual ~StatisticsMessage(); - + StatisticsMessage(const StatisticsMessage& from); - + inline StatisticsMessage& operator=(const StatisticsMessage& from) { CopyFrom(from); return *this; } - + static const StatisticsMessage& default_instance(); - + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + // Returns the internal default instance pointer. This function can + // return NULL thus should not be used by the user. This is intended + // for Protobuf internal code. Please use default_instance() declared + // above instead. + static inline const StatisticsMessage* internal_default_instance() { + return default_instance_; + } + #endif + void Swap(StatisticsMessage* other); - + // implements Message ---------------------------------------------- - + StatisticsMessage* New() const; void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from); void CopyFrom(const StatisticsMessage& from); void MergeFrom(const StatisticsMessage& from); void Clear(); bool IsInitialized() const; - + int ByteSize() const; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input); @@ -7517,15 +8593,15 @@ class StatisticsMessage : public ::google::protobuf::MessageLite { void SharedDtor(); void SetCachedSize(int size) const; public: - + ::std::string GetTypeName() const; - + // nested types ---------------------------------------------------- - + typedef StatisticsMessage_StatisticsData StatisticsData; - + // accessors ------------------------------------------------------- - + // repeated .StatisticsMessage.StatisticsData statisticsData = 1; inline int statisticsdata_size() const; inline void clear_statisticsdata(); @@ -7537,19 +8613,23 @@ class StatisticsMessage : public ::google::protobuf::MessageLite { statisticsdata() const; inline ::google::protobuf::RepeatedPtrField< ::StatisticsMessage_StatisticsData >* mutable_statisticsdata(); - + // @@protoc_insertion_point(class_scope:StatisticsMessage) private: - + ::google::protobuf::RepeatedPtrField< ::StatisticsMessage_StatisticsData > statisticsdata_; - + mutable int _cached_size_; ::google::protobuf::uint32 _has_bits_[(1 + 31) / 32]; - + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + friend void protobuf_AddDesc_pokerth_2eproto_impl(); + #else friend void protobuf_AddDesc_pokerth_2eproto(); + #endif friend void protobuf_AssignDesc_pokerth_2eproto(); friend void protobuf_ShutdownFile_pokerth_2eproto(); - + void InitAsDefaultInstance(); static StatisticsMessage* default_instance_; }; @@ -7559,27 +8639,37 @@ class ChatRequestMessage : public ::google::protobuf::MessageLite { public: ChatRequestMessage(); virtual ~ChatRequestMessage(); - + ChatRequestMessage(const ChatRequestMessage& from); - + inline ChatRequestMessage& operator=(const ChatRequestMessage& from) { CopyFrom(from); return *this; } - + static const ChatRequestMessage& default_instance(); - + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + // Returns the internal default instance pointer. This function can + // return NULL thus should not be used by the user. This is intended + // for Protobuf internal code. Please use default_instance() declared + // above instead. + static inline const ChatRequestMessage* internal_default_instance() { + return default_instance_; + } + #endif + void Swap(ChatRequestMessage* other); - + // implements Message ---------------------------------------------- - + ChatRequestMessage* New() const; void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from); void CopyFrom(const ChatRequestMessage& from); void MergeFrom(const ChatRequestMessage& from); void Clear(); bool IsInitialized() const; - + int ByteSize() const; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input); @@ -7591,27 +8681,27 @@ class ChatRequestMessage : public ::google::protobuf::MessageLite { void SharedDtor(); void SetCachedSize(int size) const; public: - + ::std::string GetTypeName() const; - + // nested types ---------------------------------------------------- - + // accessors ------------------------------------------------------- - + // optional uint32 targetGameId = 1; inline bool has_targetgameid() const; inline void clear_targetgameid(); static const int kTargetGameIdFieldNumber = 1; inline ::google::protobuf::uint32 targetgameid() const; inline void set_targetgameid(::google::protobuf::uint32 value); - + // optional uint32 targetPlayerId = 2; inline bool has_targetplayerid() const; inline void clear_targetplayerid(); static const int kTargetPlayerIdFieldNumber = 2; inline ::google::protobuf::uint32 targetplayerid() const; inline void set_targetplayerid(::google::protobuf::uint32 value); - + // required string chatText = 3; inline bool has_chattext() const; inline void clear_chattext(); @@ -7622,7 +8712,8 @@ class ChatRequestMessage : public ::google::protobuf::MessageLite { inline void set_chattext(const char* value, size_t size); inline ::std::string* mutable_chattext(); inline ::std::string* release_chattext(); - + inline void set_allocated_chattext(::std::string* chattext); + // @@protoc_insertion_point(class_scope:ChatRequestMessage) private: inline void set_has_targetgameid(); @@ -7631,18 +8722,22 @@ class ChatRequestMessage : public ::google::protobuf::MessageLite { inline void clear_has_targetplayerid(); inline void set_has_chattext(); inline void clear_has_chattext(); - + ::google::protobuf::uint32 targetgameid_; ::google::protobuf::uint32 targetplayerid_; ::std::string* chattext_; - + mutable int _cached_size_; ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32]; - + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + friend void protobuf_AddDesc_pokerth_2eproto_impl(); + #else friend void protobuf_AddDesc_pokerth_2eproto(); + #endif friend void protobuf_AssignDesc_pokerth_2eproto(); friend void protobuf_ShutdownFile_pokerth_2eproto(); - + void InitAsDefaultInstance(); static ChatRequestMessage* default_instance_; }; @@ -7652,27 +8747,37 @@ class ChatMessage : public ::google::protobuf::MessageLite { public: ChatMessage(); virtual ~ChatMessage(); - + ChatMessage(const ChatMessage& from); - + inline ChatMessage& operator=(const ChatMessage& from) { CopyFrom(from); return *this; } - + static const ChatMessage& default_instance(); - + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + // Returns the internal default instance pointer. This function can + // return NULL thus should not be used by the user. This is intended + // for Protobuf internal code. Please use default_instance() declared + // above instead. + static inline const ChatMessage* internal_default_instance() { + return default_instance_; + } + #endif + void Swap(ChatMessage* other); - + // implements Message ---------------------------------------------- - + ChatMessage* New() const; void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from); void CopyFrom(const ChatMessage& from); void MergeFrom(const ChatMessage& from); void Clear(); bool IsInitialized() const; - + int ByteSize() const; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input); @@ -7684,11 +8789,11 @@ class ChatMessage : public ::google::protobuf::MessageLite { void SharedDtor(); void SetCachedSize(int size) const; public: - + ::std::string GetTypeName() const; - + // nested types ---------------------------------------------------- - + typedef ChatMessage_ChatType ChatType; static const ChatType chatTypeLobby = ChatMessage_ChatType_chatTypeLobby; static const ChatType chatTypeGame = ChatMessage_ChatType_chatTypeGame; @@ -7704,30 +8809,30 @@ class ChatMessage : public ::google::protobuf::MessageLite { ChatMessage_ChatType_ChatType_MAX; static const int ChatType_ARRAYSIZE = ChatMessage_ChatType_ChatType_ARRAYSIZE; - + // accessors ------------------------------------------------------- - + // optional uint32 gameId = 1; inline bool has_gameid() const; inline void clear_gameid(); static const int kGameIdFieldNumber = 1; inline ::google::protobuf::uint32 gameid() const; inline void set_gameid(::google::protobuf::uint32 value); - + // optional uint32 playerId = 2; inline bool has_playerid() const; inline void clear_playerid(); static const int kPlayerIdFieldNumber = 2; inline ::google::protobuf::uint32 playerid() const; inline void set_playerid(::google::protobuf::uint32 value); - + // required .ChatMessage.ChatType chatType = 3; inline bool has_chattype() const; inline void clear_chattype(); static const int kChatTypeFieldNumber = 3; inline ::ChatMessage_ChatType chattype() const; inline void set_chattype(::ChatMessage_ChatType value); - + // required string chatText = 4; inline bool has_chattext() const; inline void clear_chattext(); @@ -7738,7 +8843,8 @@ class ChatMessage : public ::google::protobuf::MessageLite { inline void set_chattext(const char* value, size_t size); inline ::std::string* mutable_chattext(); inline ::std::string* release_chattext(); - + inline void set_allocated_chattext(::std::string* chattext); + // @@protoc_insertion_point(class_scope:ChatMessage) private: inline void set_has_gameid(); @@ -7749,19 +8855,23 @@ class ChatMessage : public ::google::protobuf::MessageLite { inline void clear_has_chattype(); inline void set_has_chattext(); inline void clear_has_chattext(); - + ::google::protobuf::uint32 gameid_; ::google::protobuf::uint32 playerid_; ::std::string* chattext_; int chattype_; - + mutable int _cached_size_; ::google::protobuf::uint32 _has_bits_[(4 + 31) / 32]; - + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + friend void protobuf_AddDesc_pokerth_2eproto_impl(); + #else friend void protobuf_AddDesc_pokerth_2eproto(); + #endif friend void protobuf_AssignDesc_pokerth_2eproto(); friend void protobuf_ShutdownFile_pokerth_2eproto(); - + void InitAsDefaultInstance(); static ChatMessage* default_instance_; }; @@ -7771,27 +8881,37 @@ class ChatRejectMessage : public ::google::protobuf::MessageLite { public: ChatRejectMessage(); virtual ~ChatRejectMessage(); - + ChatRejectMessage(const ChatRejectMessage& from); - + inline ChatRejectMessage& operator=(const ChatRejectMessage& from) { CopyFrom(from); return *this; } - + static const ChatRejectMessage& default_instance(); - + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + // Returns the internal default instance pointer. This function can + // return NULL thus should not be used by the user. This is intended + // for Protobuf internal code. Please use default_instance() declared + // above instead. + static inline const ChatRejectMessage* internal_default_instance() { + return default_instance_; + } + #endif + void Swap(ChatRejectMessage* other); - + // implements Message ---------------------------------------------- - + ChatRejectMessage* New() const; void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from); void CopyFrom(const ChatRejectMessage& from); void MergeFrom(const ChatRejectMessage& from); void Clear(); bool IsInitialized() const; - + int ByteSize() const; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input); @@ -7803,13 +8923,13 @@ class ChatRejectMessage : public ::google::protobuf::MessageLite { void SharedDtor(); void SetCachedSize(int size) const; public: - + ::std::string GetTypeName() const; - + // nested types ---------------------------------------------------- - + // accessors ------------------------------------------------------- - + // required string chatText = 1; inline bool has_chattext() const; inline void clear_chattext(); @@ -7820,21 +8940,26 @@ class ChatRejectMessage : public ::google::protobuf::MessageLite { inline void set_chattext(const char* value, size_t size); inline ::std::string* mutable_chattext(); inline ::std::string* release_chattext(); - + inline void set_allocated_chattext(::std::string* chattext); + // @@protoc_insertion_point(class_scope:ChatRejectMessage) private: inline void set_has_chattext(); inline void clear_has_chattext(); - + ::std::string* chattext_; - + mutable int _cached_size_; ::google::protobuf::uint32 _has_bits_[(1 + 31) / 32]; - + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + friend void protobuf_AddDesc_pokerth_2eproto_impl(); + #else friend void protobuf_AddDesc_pokerth_2eproto(); + #endif friend void protobuf_AssignDesc_pokerth_2eproto(); friend void protobuf_ShutdownFile_pokerth_2eproto(); - + void InitAsDefaultInstance(); static ChatRejectMessage* default_instance_; }; @@ -7844,27 +8969,37 @@ class DialogMessage : public ::google::protobuf::MessageLite { public: DialogMessage(); virtual ~DialogMessage(); - + DialogMessage(const DialogMessage& from); - + inline DialogMessage& operator=(const DialogMessage& from) { CopyFrom(from); return *this; } - + static const DialogMessage& default_instance(); - + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + // Returns the internal default instance pointer. This function can + // return NULL thus should not be used by the user. This is intended + // for Protobuf internal code. Please use default_instance() declared + // above instead. + static inline const DialogMessage* internal_default_instance() { + return default_instance_; + } + #endif + void Swap(DialogMessage* other); - + // implements Message ---------------------------------------------- - + DialogMessage* New() const; void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from); void CopyFrom(const DialogMessage& from); void MergeFrom(const DialogMessage& from); void Clear(); bool IsInitialized() const; - + int ByteSize() const; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input); @@ -7876,13 +9011,13 @@ class DialogMessage : public ::google::protobuf::MessageLite { void SharedDtor(); void SetCachedSize(int size) const; public: - + ::std::string GetTypeName() const; - + // nested types ---------------------------------------------------- - + // accessors ------------------------------------------------------- - + // required string notificationText = 1; inline bool has_notificationtext() const; inline void clear_notificationtext(); @@ -7893,21 +9028,26 @@ class DialogMessage : public ::google::protobuf::MessageLite { inline void set_notificationtext(const char* value, size_t size); inline ::std::string* mutable_notificationtext(); inline ::std::string* release_notificationtext(); - + inline void set_allocated_notificationtext(::std::string* notificationtext); + // @@protoc_insertion_point(class_scope:DialogMessage) private: inline void set_has_notificationtext(); inline void clear_has_notificationtext(); - + ::std::string* notificationtext_; - + mutable int _cached_size_; ::google::protobuf::uint32 _has_bits_[(1 + 31) / 32]; - + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + friend void protobuf_AddDesc_pokerth_2eproto_impl(); + #else friend void protobuf_AddDesc_pokerth_2eproto(); + #endif friend void protobuf_AssignDesc_pokerth_2eproto(); friend void protobuf_ShutdownFile_pokerth_2eproto(); - + void InitAsDefaultInstance(); static DialogMessage* default_instance_; }; @@ -7917,27 +9057,37 @@ class TimeoutWarningMessage : public ::google::protobuf::MessageLite { public: TimeoutWarningMessage(); virtual ~TimeoutWarningMessage(); - + TimeoutWarningMessage(const TimeoutWarningMessage& from); - + inline TimeoutWarningMessage& operator=(const TimeoutWarningMessage& from) { CopyFrom(from); return *this; } - + static const TimeoutWarningMessage& default_instance(); - + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + // Returns the internal default instance pointer. This function can + // return NULL thus should not be used by the user. This is intended + // for Protobuf internal code. Please use default_instance() declared + // above instead. + static inline const TimeoutWarningMessage* internal_default_instance() { + return default_instance_; + } + #endif + void Swap(TimeoutWarningMessage* other); - + // implements Message ---------------------------------------------- - + TimeoutWarningMessage* New() const; void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from); void CopyFrom(const TimeoutWarningMessage& from); void MergeFrom(const TimeoutWarningMessage& from); void Clear(); bool IsInitialized() const; - + int ByteSize() const; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input); @@ -7949,11 +9099,11 @@ class TimeoutWarningMessage : public ::google::protobuf::MessageLite { void SharedDtor(); void SetCachedSize(int size) const; public: - + ::std::string GetTypeName() const; - + // nested types ---------------------------------------------------- - + typedef TimeoutWarningMessage_TimeoutReason TimeoutReason; static const TimeoutReason timeoutNoDataReceived = TimeoutWarningMessage_TimeoutReason_timeoutNoDataReceived; static const TimeoutReason timeoutInactiveGame = TimeoutWarningMessage_TimeoutReason_timeoutInactiveGame; @@ -7967,40 +9117,44 @@ class TimeoutWarningMessage : public ::google::protobuf::MessageLite { TimeoutWarningMessage_TimeoutReason_TimeoutReason_MAX; static const int TimeoutReason_ARRAYSIZE = TimeoutWarningMessage_TimeoutReason_TimeoutReason_ARRAYSIZE; - + // accessors ------------------------------------------------------- - + // required .TimeoutWarningMessage.TimeoutReason timeoutReason = 1; inline bool has_timeoutreason() const; inline void clear_timeoutreason(); static const int kTimeoutReasonFieldNumber = 1; inline ::TimeoutWarningMessage_TimeoutReason timeoutreason() const; inline void set_timeoutreason(::TimeoutWarningMessage_TimeoutReason value); - + // required uint32 remainingSeconds = 2; inline bool has_remainingseconds() const; inline void clear_remainingseconds(); static const int kRemainingSecondsFieldNumber = 2; inline ::google::protobuf::uint32 remainingseconds() const; inline void set_remainingseconds(::google::protobuf::uint32 value); - + // @@protoc_insertion_point(class_scope:TimeoutWarningMessage) private: inline void set_has_timeoutreason(); inline void clear_has_timeoutreason(); inline void set_has_remainingseconds(); inline void clear_has_remainingseconds(); - + int timeoutreason_; ::google::protobuf::uint32 remainingseconds_; - + mutable int _cached_size_; ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32]; - + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + friend void protobuf_AddDesc_pokerth_2eproto_impl(); + #else friend void protobuf_AddDesc_pokerth_2eproto(); + #endif friend void protobuf_AssignDesc_pokerth_2eproto(); friend void protobuf_ShutdownFile_pokerth_2eproto(); - + void InitAsDefaultInstance(); static TimeoutWarningMessage* default_instance_; }; @@ -8010,27 +9164,37 @@ class ResetTimeoutMessage : public ::google::protobuf::MessageLite { public: ResetTimeoutMessage(); virtual ~ResetTimeoutMessage(); - + ResetTimeoutMessage(const ResetTimeoutMessage& from); - + inline ResetTimeoutMessage& operator=(const ResetTimeoutMessage& from) { CopyFrom(from); return *this; } - + static const ResetTimeoutMessage& default_instance(); - + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + // Returns the internal default instance pointer. This function can + // return NULL thus should not be used by the user. This is intended + // for Protobuf internal code. Please use default_instance() declared + // above instead. + static inline const ResetTimeoutMessage* internal_default_instance() { + return default_instance_; + } + #endif + void Swap(ResetTimeoutMessage* other); - + // implements Message ---------------------------------------------- - + ResetTimeoutMessage* New() const; void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from); void CopyFrom(const ResetTimeoutMessage& from); void MergeFrom(const ResetTimeoutMessage& from); void Clear(); bool IsInitialized() const; - + int ByteSize() const; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input); @@ -8042,24 +9206,28 @@ class ResetTimeoutMessage : public ::google::protobuf::MessageLite { void SharedDtor(); void SetCachedSize(int size) const; public: - + ::std::string GetTypeName() const; - + // nested types ---------------------------------------------------- - + // accessors ------------------------------------------------------- - + // @@protoc_insertion_point(class_scope:ResetTimeoutMessage) private: - - + + mutable int _cached_size_; ::google::protobuf::uint32 _has_bits_[1]; - + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + friend void protobuf_AddDesc_pokerth_2eproto_impl(); + #else friend void protobuf_AddDesc_pokerth_2eproto(); + #endif friend void protobuf_AssignDesc_pokerth_2eproto(); friend void protobuf_ShutdownFile_pokerth_2eproto(); - + void InitAsDefaultInstance(); static ResetTimeoutMessage* default_instance_; }; @@ -8069,27 +9237,37 @@ class ReportAvatarMessage : public ::google::protobuf::MessageLite { public: ReportAvatarMessage(); virtual ~ReportAvatarMessage(); - + ReportAvatarMessage(const ReportAvatarMessage& from); - + inline ReportAvatarMessage& operator=(const ReportAvatarMessage& from) { CopyFrom(from); return *this; } - + static const ReportAvatarMessage& default_instance(); - + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + // Returns the internal default instance pointer. This function can + // return NULL thus should not be used by the user. This is intended + // for Protobuf internal code. Please use default_instance() declared + // above instead. + static inline const ReportAvatarMessage* internal_default_instance() { + return default_instance_; + } + #endif + void Swap(ReportAvatarMessage* other); - + // implements Message ---------------------------------------------- - + ReportAvatarMessage* New() const; void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from); void CopyFrom(const ReportAvatarMessage& from); void MergeFrom(const ReportAvatarMessage& from); void Clear(); bool IsInitialized() const; - + int ByteSize() const; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input); @@ -8101,20 +9279,20 @@ class ReportAvatarMessage : public ::google::protobuf::MessageLite { void SharedDtor(); void SetCachedSize(int size) const; public: - + ::std::string GetTypeName() const; - + // nested types ---------------------------------------------------- - + // accessors ------------------------------------------------------- - + // required uint32 reportedPlayerId = 1; inline bool has_reportedplayerid() const; inline void clear_reportedplayerid(); static const int kReportedPlayerIdFieldNumber = 1; inline ::google::protobuf::uint32 reportedplayerid() const; inline void set_reportedplayerid(::google::protobuf::uint32 value); - + // required bytes reportedAvatarHash = 2; inline bool has_reportedavatarhash() const; inline void clear_reportedavatarhash(); @@ -8125,24 +9303,29 @@ class ReportAvatarMessage : public ::google::protobuf::MessageLite { inline void set_reportedavatarhash(const void* value, size_t size); inline ::std::string* mutable_reportedavatarhash(); inline ::std::string* release_reportedavatarhash(); - + inline void set_allocated_reportedavatarhash(::std::string* reportedavatarhash); + // @@protoc_insertion_point(class_scope:ReportAvatarMessage) private: inline void set_has_reportedplayerid(); inline void clear_has_reportedplayerid(); inline void set_has_reportedavatarhash(); inline void clear_has_reportedavatarhash(); - + ::std::string* reportedavatarhash_; ::google::protobuf::uint32 reportedplayerid_; - + mutable int _cached_size_; ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32]; - + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + friend void protobuf_AddDesc_pokerth_2eproto_impl(); + #else friend void protobuf_AddDesc_pokerth_2eproto(); + #endif friend void protobuf_AssignDesc_pokerth_2eproto(); friend void protobuf_ShutdownFile_pokerth_2eproto(); - + void InitAsDefaultInstance(); static ReportAvatarMessage* default_instance_; }; @@ -8152,27 +9335,37 @@ class ReportAvatarAckMessage : public ::google::protobuf::MessageLite { public: ReportAvatarAckMessage(); virtual ~ReportAvatarAckMessage(); - + ReportAvatarAckMessage(const ReportAvatarAckMessage& from); - + inline ReportAvatarAckMessage& operator=(const ReportAvatarAckMessage& from) { CopyFrom(from); return *this; } - + static const ReportAvatarAckMessage& default_instance(); - + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + // Returns the internal default instance pointer. This function can + // return NULL thus should not be used by the user. This is intended + // for Protobuf internal code. Please use default_instance() declared + // above instead. + static inline const ReportAvatarAckMessage* internal_default_instance() { + return default_instance_; + } + #endif + void Swap(ReportAvatarAckMessage* other); - + // implements Message ---------------------------------------------- - + ReportAvatarAckMessage* New() const; void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from); void CopyFrom(const ReportAvatarAckMessage& from); void MergeFrom(const ReportAvatarAckMessage& from); void Clear(); bool IsInitialized() const; - + int ByteSize() const; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input); @@ -8184,11 +9377,11 @@ class ReportAvatarAckMessage : public ::google::protobuf::MessageLite { void SharedDtor(); void SetCachedSize(int size) const; public: - + ::std::string GetTypeName() const; - + // nested types ---------------------------------------------------- - + typedef ReportAvatarAckMessage_ReportAvatarResult ReportAvatarResult; static const ReportAvatarResult avatarReportAccepted = ReportAvatarAckMessage_ReportAvatarResult_avatarReportAccepted; static const ReportAvatarResult avatarReportDuplicate = ReportAvatarAckMessage_ReportAvatarResult_avatarReportDuplicate; @@ -8202,40 +9395,44 @@ class ReportAvatarAckMessage : public ::google::protobuf::MessageLite { ReportAvatarAckMessage_ReportAvatarResult_ReportAvatarResult_MAX; static const int ReportAvatarResult_ARRAYSIZE = ReportAvatarAckMessage_ReportAvatarResult_ReportAvatarResult_ARRAYSIZE; - + // accessors ------------------------------------------------------- - + // required uint32 reportedPlayerId = 1; inline bool has_reportedplayerid() const; inline void clear_reportedplayerid(); static const int kReportedPlayerIdFieldNumber = 1; inline ::google::protobuf::uint32 reportedplayerid() const; inline void set_reportedplayerid(::google::protobuf::uint32 value); - + // required .ReportAvatarAckMessage.ReportAvatarResult reportAvatarResult = 2; inline bool has_reportavatarresult() const; inline void clear_reportavatarresult(); static const int kReportAvatarResultFieldNumber = 2; inline ::ReportAvatarAckMessage_ReportAvatarResult reportavatarresult() const; inline void set_reportavatarresult(::ReportAvatarAckMessage_ReportAvatarResult value); - + // @@protoc_insertion_point(class_scope:ReportAvatarAckMessage) private: inline void set_has_reportedplayerid(); inline void clear_has_reportedplayerid(); inline void set_has_reportavatarresult(); inline void clear_has_reportavatarresult(); - + ::google::protobuf::uint32 reportedplayerid_; int reportavatarresult_; - + mutable int _cached_size_; ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32]; - + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + friend void protobuf_AddDesc_pokerth_2eproto_impl(); + #else friend void protobuf_AddDesc_pokerth_2eproto(); + #endif friend void protobuf_AssignDesc_pokerth_2eproto(); friend void protobuf_ShutdownFile_pokerth_2eproto(); - + void InitAsDefaultInstance(); static ReportAvatarAckMessage* default_instance_; }; @@ -8245,27 +9442,37 @@ class ReportGameMessage : public ::google::protobuf::MessageLite { public: ReportGameMessage(); virtual ~ReportGameMessage(); - + ReportGameMessage(const ReportGameMessage& from); - + inline ReportGameMessage& operator=(const ReportGameMessage& from) { CopyFrom(from); return *this; } - + static const ReportGameMessage& default_instance(); - + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + // Returns the internal default instance pointer. This function can + // return NULL thus should not be used by the user. This is intended + // for Protobuf internal code. Please use default_instance() declared + // above instead. + static inline const ReportGameMessage* internal_default_instance() { + return default_instance_; + } + #endif + void Swap(ReportGameMessage* other); - + // implements Message ---------------------------------------------- - + ReportGameMessage* New() const; void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from); void CopyFrom(const ReportGameMessage& from); void MergeFrom(const ReportGameMessage& from); void Clear(); bool IsInitialized() const; - + int ByteSize() const; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input); @@ -8277,34 +9484,38 @@ class ReportGameMessage : public ::google::protobuf::MessageLite { void SharedDtor(); void SetCachedSize(int size) const; public: - + ::std::string GetTypeName() const; - + // nested types ---------------------------------------------------- - + // accessors ------------------------------------------------------- - + // required uint32 reportedGameId = 1; inline bool has_reportedgameid() const; inline void clear_reportedgameid(); static const int kReportedGameIdFieldNumber = 1; inline ::google::protobuf::uint32 reportedgameid() const; inline void set_reportedgameid(::google::protobuf::uint32 value); - + // @@protoc_insertion_point(class_scope:ReportGameMessage) private: inline void set_has_reportedgameid(); inline void clear_has_reportedgameid(); - + ::google::protobuf::uint32 reportedgameid_; - + mutable int _cached_size_; ::google::protobuf::uint32 _has_bits_[(1 + 31) / 32]; - + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + friend void protobuf_AddDesc_pokerth_2eproto_impl(); + #else friend void protobuf_AddDesc_pokerth_2eproto(); + #endif friend void protobuf_AssignDesc_pokerth_2eproto(); friend void protobuf_ShutdownFile_pokerth_2eproto(); - + void InitAsDefaultInstance(); static ReportGameMessage* default_instance_; }; @@ -8314,27 +9525,37 @@ class ReportGameAckMessage : public ::google::protobuf::MessageLite { public: ReportGameAckMessage(); virtual ~ReportGameAckMessage(); - + ReportGameAckMessage(const ReportGameAckMessage& from); - + inline ReportGameAckMessage& operator=(const ReportGameAckMessage& from) { CopyFrom(from); return *this; } - + static const ReportGameAckMessage& default_instance(); - + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + // Returns the internal default instance pointer. This function can + // return NULL thus should not be used by the user. This is intended + // for Protobuf internal code. Please use default_instance() declared + // above instead. + static inline const ReportGameAckMessage* internal_default_instance() { + return default_instance_; + } + #endif + void Swap(ReportGameAckMessage* other); - + // implements Message ---------------------------------------------- - + ReportGameAckMessage* New() const; void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from); void CopyFrom(const ReportGameAckMessage& from); void MergeFrom(const ReportGameAckMessage& from); void Clear(); bool IsInitialized() const; - + int ByteSize() const; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input); @@ -8346,11 +9567,11 @@ class ReportGameAckMessage : public ::google::protobuf::MessageLite { void SharedDtor(); void SetCachedSize(int size) const; public: - + ::std::string GetTypeName() const; - + // nested types ---------------------------------------------------- - + typedef ReportGameAckMessage_ReportGameResult ReportGameResult; static const ReportGameResult gameReportAccepted = ReportGameAckMessage_ReportGameResult_gameReportAccepted; static const ReportGameResult gameReportDuplicate = ReportGameAckMessage_ReportGameResult_gameReportDuplicate; @@ -8364,40 +9585,44 @@ class ReportGameAckMessage : public ::google::protobuf::MessageLite { ReportGameAckMessage_ReportGameResult_ReportGameResult_MAX; static const int ReportGameResult_ARRAYSIZE = ReportGameAckMessage_ReportGameResult_ReportGameResult_ARRAYSIZE; - + // accessors ------------------------------------------------------- - + // required uint32 reportedGameId = 1; inline bool has_reportedgameid() const; inline void clear_reportedgameid(); static const int kReportedGameIdFieldNumber = 1; inline ::google::protobuf::uint32 reportedgameid() const; inline void set_reportedgameid(::google::protobuf::uint32 value); - + // required .ReportGameAckMessage.ReportGameResult reportGameResult = 2; inline bool has_reportgameresult() const; inline void clear_reportgameresult(); static const int kReportGameResultFieldNumber = 2; inline ::ReportGameAckMessage_ReportGameResult reportgameresult() const; inline void set_reportgameresult(::ReportGameAckMessage_ReportGameResult value); - + // @@protoc_insertion_point(class_scope:ReportGameAckMessage) private: inline void set_has_reportedgameid(); inline void clear_has_reportedgameid(); inline void set_has_reportgameresult(); inline void clear_has_reportgameresult(); - + ::google::protobuf::uint32 reportedgameid_; int reportgameresult_; - + mutable int _cached_size_; ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32]; - + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + friend void protobuf_AddDesc_pokerth_2eproto_impl(); + #else friend void protobuf_AddDesc_pokerth_2eproto(); + #endif friend void protobuf_AssignDesc_pokerth_2eproto(); friend void protobuf_ShutdownFile_pokerth_2eproto(); - + void InitAsDefaultInstance(); static ReportGameAckMessage* default_instance_; }; @@ -8407,27 +9632,37 @@ class ErrorMessage : public ::google::protobuf::MessageLite { public: ErrorMessage(); virtual ~ErrorMessage(); - + ErrorMessage(const ErrorMessage& from); - + inline ErrorMessage& operator=(const ErrorMessage& from) { CopyFrom(from); return *this; } - + static const ErrorMessage& default_instance(); - + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + // Returns the internal default instance pointer. This function can + // return NULL thus should not be used by the user. This is intended + // for Protobuf internal code. Please use default_instance() declared + // above instead. + static inline const ErrorMessage* internal_default_instance() { + return default_instance_; + } + #endif + void Swap(ErrorMessage* other); - + // implements Message ---------------------------------------------- - + ErrorMessage* New() const; void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from); void CopyFrom(const ErrorMessage& from); void MergeFrom(const ErrorMessage& from); void Clear(); bool IsInitialized() const; - + int ByteSize() const; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input); @@ -8439,11 +9674,11 @@ class ErrorMessage : public ::google::protobuf::MessageLite { void SharedDtor(); void SetCachedSize(int size) const; public: - + ::std::string GetTypeName() const; - + // nested types ---------------------------------------------------- - + typedef ErrorMessage_ErrorReason ErrorReason; static const ErrorReason reserved = ErrorMessage_ErrorReason_reserved; static const ErrorReason initVersionNotSupported = ErrorMessage_ErrorReason_initVersionNotSupported; @@ -8469,30 +9704,34 @@ class ErrorMessage : public ::google::protobuf::MessageLite { ErrorMessage_ErrorReason_ErrorReason_MAX; static const int ErrorReason_ARRAYSIZE = ErrorMessage_ErrorReason_ErrorReason_ARRAYSIZE; - + // accessors ------------------------------------------------------- - + // required .ErrorMessage.ErrorReason errorReason = 1; inline bool has_errorreason() const; inline void clear_errorreason(); static const int kErrorReasonFieldNumber = 1; inline ::ErrorMessage_ErrorReason errorreason() const; inline void set_errorreason(::ErrorMessage_ErrorReason value); - + // @@protoc_insertion_point(class_scope:ErrorMessage) private: inline void set_has_errorreason(); inline void clear_has_errorreason(); - + int errorreason_; - + mutable int _cached_size_; ::google::protobuf::uint32 _has_bits_[(1 + 31) / 32]; - + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + friend void protobuf_AddDesc_pokerth_2eproto_impl(); + #else friend void protobuf_AddDesc_pokerth_2eproto(); + #endif friend void protobuf_AssignDesc_pokerth_2eproto(); friend void protobuf_ShutdownFile_pokerth_2eproto(); - + void InitAsDefaultInstance(); static ErrorMessage* default_instance_; }; @@ -8502,27 +9741,37 @@ class AdminRemoveGameMessage : public ::google::protobuf::MessageLite { public: AdminRemoveGameMessage(); virtual ~AdminRemoveGameMessage(); - + AdminRemoveGameMessage(const AdminRemoveGameMessage& from); - + inline AdminRemoveGameMessage& operator=(const AdminRemoveGameMessage& from) { CopyFrom(from); return *this; } - + static const AdminRemoveGameMessage& default_instance(); - + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + // Returns the internal default instance pointer. This function can + // return NULL thus should not be used by the user. This is intended + // for Protobuf internal code. Please use default_instance() declared + // above instead. + static inline const AdminRemoveGameMessage* internal_default_instance() { + return default_instance_; + } + #endif + void Swap(AdminRemoveGameMessage* other); - + // implements Message ---------------------------------------------- - + AdminRemoveGameMessage* New() const; void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from); void CopyFrom(const AdminRemoveGameMessage& from); void MergeFrom(const AdminRemoveGameMessage& from); void Clear(); bool IsInitialized() const; - + int ByteSize() const; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input); @@ -8534,34 +9783,38 @@ class AdminRemoveGameMessage : public ::google::protobuf::MessageLite { void SharedDtor(); void SetCachedSize(int size) const; public: - + ::std::string GetTypeName() const; - + // nested types ---------------------------------------------------- - + // accessors ------------------------------------------------------- - + // required uint32 removeGameId = 1; inline bool has_removegameid() const; inline void clear_removegameid(); static const int kRemoveGameIdFieldNumber = 1; inline ::google::protobuf::uint32 removegameid() const; inline void set_removegameid(::google::protobuf::uint32 value); - + // @@protoc_insertion_point(class_scope:AdminRemoveGameMessage) private: inline void set_has_removegameid(); inline void clear_has_removegameid(); - + ::google::protobuf::uint32 removegameid_; - + mutable int _cached_size_; ::google::protobuf::uint32 _has_bits_[(1 + 31) / 32]; - + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + friend void protobuf_AddDesc_pokerth_2eproto_impl(); + #else friend void protobuf_AddDesc_pokerth_2eproto(); + #endif friend void protobuf_AssignDesc_pokerth_2eproto(); friend void protobuf_ShutdownFile_pokerth_2eproto(); - + void InitAsDefaultInstance(); static AdminRemoveGameMessage* default_instance_; }; @@ -8571,27 +9824,37 @@ class AdminRemoveGameAckMessage : public ::google::protobuf::MessageLite { public: AdminRemoveGameAckMessage(); virtual ~AdminRemoveGameAckMessage(); - + AdminRemoveGameAckMessage(const AdminRemoveGameAckMessage& from); - + inline AdminRemoveGameAckMessage& operator=(const AdminRemoveGameAckMessage& from) { CopyFrom(from); return *this; } - + static const AdminRemoveGameAckMessage& default_instance(); - + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + // Returns the internal default instance pointer. This function can + // return NULL thus should not be used by the user. This is intended + // for Protobuf internal code. Please use default_instance() declared + // above instead. + static inline const AdminRemoveGameAckMessage* internal_default_instance() { + return default_instance_; + } + #endif + void Swap(AdminRemoveGameAckMessage* other); - + // implements Message ---------------------------------------------- - + AdminRemoveGameAckMessage* New() const; void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from); void CopyFrom(const AdminRemoveGameAckMessage& from); void MergeFrom(const AdminRemoveGameAckMessage& from); void Clear(); bool IsInitialized() const; - + int ByteSize() const; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input); @@ -8603,11 +9866,11 @@ class AdminRemoveGameAckMessage : public ::google::protobuf::MessageLite { void SharedDtor(); void SetCachedSize(int size) const; public: - + ::std::string GetTypeName() const; - + // nested types ---------------------------------------------------- - + typedef AdminRemoveGameAckMessage_AdminRemoveGameResult AdminRemoveGameResult; static const AdminRemoveGameResult gameRemoveAccepted = AdminRemoveGameAckMessage_AdminRemoveGameResult_gameRemoveAccepted; static const AdminRemoveGameResult gameRemoveInvalid = AdminRemoveGameAckMessage_AdminRemoveGameResult_gameRemoveInvalid; @@ -8620,40 +9883,44 @@ class AdminRemoveGameAckMessage : public ::google::protobuf::MessageLite { AdminRemoveGameAckMessage_AdminRemoveGameResult_AdminRemoveGameResult_MAX; static const int AdminRemoveGameResult_ARRAYSIZE = AdminRemoveGameAckMessage_AdminRemoveGameResult_AdminRemoveGameResult_ARRAYSIZE; - + // accessors ------------------------------------------------------- - + // required uint32 removeGameId = 1; inline bool has_removegameid() const; inline void clear_removegameid(); static const int kRemoveGameIdFieldNumber = 1; inline ::google::protobuf::uint32 removegameid() const; inline void set_removegameid(::google::protobuf::uint32 value); - + // required .AdminRemoveGameAckMessage.AdminRemoveGameResult removeGameResult = 2; inline bool has_removegameresult() const; inline void clear_removegameresult(); static const int kRemoveGameResultFieldNumber = 2; inline ::AdminRemoveGameAckMessage_AdminRemoveGameResult removegameresult() const; inline void set_removegameresult(::AdminRemoveGameAckMessage_AdminRemoveGameResult value); - + // @@protoc_insertion_point(class_scope:AdminRemoveGameAckMessage) private: inline void set_has_removegameid(); inline void clear_has_removegameid(); inline void set_has_removegameresult(); inline void clear_has_removegameresult(); - + ::google::protobuf::uint32 removegameid_; int removegameresult_; - + mutable int _cached_size_; ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32]; - + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + friend void protobuf_AddDesc_pokerth_2eproto_impl(); + #else friend void protobuf_AddDesc_pokerth_2eproto(); + #endif friend void protobuf_AssignDesc_pokerth_2eproto(); friend void protobuf_ShutdownFile_pokerth_2eproto(); - + void InitAsDefaultInstance(); static AdminRemoveGameAckMessage* default_instance_; }; @@ -8663,27 +9930,37 @@ class AdminBanPlayerMessage : public ::google::protobuf::MessageLite { public: AdminBanPlayerMessage(); virtual ~AdminBanPlayerMessage(); - + AdminBanPlayerMessage(const AdminBanPlayerMessage& from); - + inline AdminBanPlayerMessage& operator=(const AdminBanPlayerMessage& from) { CopyFrom(from); return *this; } - + static const AdminBanPlayerMessage& default_instance(); - + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + // Returns the internal default instance pointer. This function can + // return NULL thus should not be used by the user. This is intended + // for Protobuf internal code. Please use default_instance() declared + // above instead. + static inline const AdminBanPlayerMessage* internal_default_instance() { + return default_instance_; + } + #endif + void Swap(AdminBanPlayerMessage* other); - + // implements Message ---------------------------------------------- - + AdminBanPlayerMessage* New() const; void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from); void CopyFrom(const AdminBanPlayerMessage& from); void MergeFrom(const AdminBanPlayerMessage& from); void Clear(); bool IsInitialized() const; - + int ByteSize() const; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input); @@ -8695,34 +9972,38 @@ class AdminBanPlayerMessage : public ::google::protobuf::MessageLite { void SharedDtor(); void SetCachedSize(int size) const; public: - + ::std::string GetTypeName() const; - + // nested types ---------------------------------------------------- - + // accessors ------------------------------------------------------- - + // required uint32 banPlayerId = 1; inline bool has_banplayerid() const; inline void clear_banplayerid(); static const int kBanPlayerIdFieldNumber = 1; inline ::google::protobuf::uint32 banplayerid() const; inline void set_banplayerid(::google::protobuf::uint32 value); - + // @@protoc_insertion_point(class_scope:AdminBanPlayerMessage) private: inline void set_has_banplayerid(); inline void clear_has_banplayerid(); - + ::google::protobuf::uint32 banplayerid_; - + mutable int _cached_size_; ::google::protobuf::uint32 _has_bits_[(1 + 31) / 32]; - + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + friend void protobuf_AddDesc_pokerth_2eproto_impl(); + #else friend void protobuf_AddDesc_pokerth_2eproto(); + #endif friend void protobuf_AssignDesc_pokerth_2eproto(); friend void protobuf_ShutdownFile_pokerth_2eproto(); - + void InitAsDefaultInstance(); static AdminBanPlayerMessage* default_instance_; }; @@ -8732,27 +10013,37 @@ class AdminBanPlayerAckMessage : public ::google::protobuf::MessageLite { public: AdminBanPlayerAckMessage(); virtual ~AdminBanPlayerAckMessage(); - + AdminBanPlayerAckMessage(const AdminBanPlayerAckMessage& from); - + inline AdminBanPlayerAckMessage& operator=(const AdminBanPlayerAckMessage& from) { CopyFrom(from); return *this; } - + static const AdminBanPlayerAckMessage& default_instance(); - + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + // Returns the internal default instance pointer. This function can + // return NULL thus should not be used by the user. This is intended + // for Protobuf internal code. Please use default_instance() declared + // above instead. + static inline const AdminBanPlayerAckMessage* internal_default_instance() { + return default_instance_; + } + #endif + void Swap(AdminBanPlayerAckMessage* other); - + // implements Message ---------------------------------------------- - + AdminBanPlayerAckMessage* New() const; void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from); void CopyFrom(const AdminBanPlayerAckMessage& from); void MergeFrom(const AdminBanPlayerAckMessage& from); void Clear(); bool IsInitialized() const; - + int ByteSize() const; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input); @@ -8764,11 +10055,11 @@ class AdminBanPlayerAckMessage : public ::google::protobuf::MessageLite { void SharedDtor(); void SetCachedSize(int size) const; public: - + ::std::string GetTypeName() const; - + // nested types ---------------------------------------------------- - + typedef AdminBanPlayerAckMessage_AdminBanPlayerResult AdminBanPlayerResult; static const AdminBanPlayerResult banPlayerAccepted = AdminBanPlayerAckMessage_AdminBanPlayerResult_banPlayerAccepted; static const AdminBanPlayerResult banPlayerPending = AdminBanPlayerAckMessage_AdminBanPlayerResult_banPlayerPending; @@ -8784,40 +10075,44 @@ class AdminBanPlayerAckMessage : public ::google::protobuf::MessageLite { AdminBanPlayerAckMessage_AdminBanPlayerResult_AdminBanPlayerResult_MAX; static const int AdminBanPlayerResult_ARRAYSIZE = AdminBanPlayerAckMessage_AdminBanPlayerResult_AdminBanPlayerResult_ARRAYSIZE; - + // accessors ------------------------------------------------------- - + // required uint32 banPlayerId = 1; inline bool has_banplayerid() const; inline void clear_banplayerid(); static const int kBanPlayerIdFieldNumber = 1; inline ::google::protobuf::uint32 banplayerid() const; inline void set_banplayerid(::google::protobuf::uint32 value); - + // required .AdminBanPlayerAckMessage.AdminBanPlayerResult banPlayerResult = 2; inline bool has_banplayerresult() const; inline void clear_banplayerresult(); static const int kBanPlayerResultFieldNumber = 2; inline ::AdminBanPlayerAckMessage_AdminBanPlayerResult banplayerresult() const; inline void set_banplayerresult(::AdminBanPlayerAckMessage_AdminBanPlayerResult value); - + // @@protoc_insertion_point(class_scope:AdminBanPlayerAckMessage) private: inline void set_has_banplayerid(); inline void clear_has_banplayerid(); inline void set_has_banplayerresult(); inline void clear_has_banplayerresult(); - + ::google::protobuf::uint32 banplayerid_; int banplayerresult_; - + mutable int _cached_size_; ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32]; - + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + friend void protobuf_AddDesc_pokerth_2eproto_impl(); + #else friend void protobuf_AddDesc_pokerth_2eproto(); + #endif friend void protobuf_AssignDesc_pokerth_2eproto(); friend void protobuf_ShutdownFile_pokerth_2eproto(); - + void InitAsDefaultInstance(); static AdminBanPlayerAckMessage* default_instance_; }; @@ -8827,27 +10122,37 @@ class PokerTHMessage : public ::google::protobuf::MessageLite { public: PokerTHMessage(); virtual ~PokerTHMessage(); - + PokerTHMessage(const PokerTHMessage& from); - + inline PokerTHMessage& operator=(const PokerTHMessage& from) { CopyFrom(from); return *this; } - + static const PokerTHMessage& default_instance(); - + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + // Returns the internal default instance pointer. This function can + // return NULL thus should not be used by the user. This is intended + // for Protobuf internal code. Please use default_instance() declared + // above instead. + static inline const PokerTHMessage* internal_default_instance() { + return default_instance_; + } + #endif + void Swap(PokerTHMessage* other); - + // implements Message ---------------------------------------------- - + PokerTHMessage* New() const; void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from); void CopyFrom(const PokerTHMessage& from); void MergeFrom(const PokerTHMessage& from); void Clear(); bool IsInitialized() const; - + int ByteSize() const; bool MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input); @@ -8859,11 +10164,11 @@ class PokerTHMessage : public ::google::protobuf::MessageLite { void SharedDtor(); void SetCachedSize(int size) const; public: - + ::std::string GetTypeName() const; - + // nested types ---------------------------------------------------- - + typedef PokerTHMessage_PokerTHMessageType PokerTHMessageType; static const PokerTHMessageType Type_AnnounceMessage = PokerTHMessage_PokerTHMessageType_Type_AnnounceMessage; static const PokerTHMessageType Type_InitMessage = PokerTHMessage_PokerTHMessageType_Type_InitMessage; @@ -8955,16 +10260,16 @@ class PokerTHMessage : public ::google::protobuf::MessageLite { PokerTHMessage_PokerTHMessageType_PokerTHMessageType_MAX; static const int PokerTHMessageType_ARRAYSIZE = PokerTHMessage_PokerTHMessageType_PokerTHMessageType_ARRAYSIZE; - + // accessors ------------------------------------------------------- - + // required .PokerTHMessage.PokerTHMessageType messageType = 1; inline bool has_messagetype() const; inline void clear_messagetype(); static const int kMessageTypeFieldNumber = 1; inline ::PokerTHMessage_PokerTHMessageType messagetype() const; inline void set_messagetype(::PokerTHMessage_PokerTHMessageType value); - + // optional .AnnounceMessage announceMessage = 2; inline bool has_announcemessage() const; inline void clear_announcemessage(); @@ -8972,7 +10277,8 @@ class PokerTHMessage : public ::google::protobuf::MessageLite { inline const ::AnnounceMessage& announcemessage() const; inline ::AnnounceMessage* mutable_announcemessage(); inline ::AnnounceMessage* release_announcemessage(); - + inline void set_allocated_announcemessage(::AnnounceMessage* announcemessage); + // optional .InitMessage initMessage = 3; inline bool has_initmessage() const; inline void clear_initmessage(); @@ -8980,7 +10286,8 @@ class PokerTHMessage : public ::google::protobuf::MessageLite { inline const ::InitMessage& initmessage() const; inline ::InitMessage* mutable_initmessage(); inline ::InitMessage* release_initmessage(); - + inline void set_allocated_initmessage(::InitMessage* initmessage); + // optional .AuthServerChallengeMessage authServerChallengeMessage = 4; inline bool has_authserverchallengemessage() const; inline void clear_authserverchallengemessage(); @@ -8988,7 +10295,8 @@ class PokerTHMessage : public ::google::protobuf::MessageLite { inline const ::AuthServerChallengeMessage& authserverchallengemessage() const; inline ::AuthServerChallengeMessage* mutable_authserverchallengemessage(); inline ::AuthServerChallengeMessage* release_authserverchallengemessage(); - + inline void set_allocated_authserverchallengemessage(::AuthServerChallengeMessage* authserverchallengemessage); + // optional .AuthClientResponseMessage authClientResponseMessage = 5; inline bool has_authclientresponsemessage() const; inline void clear_authclientresponsemessage(); @@ -8996,7 +10304,8 @@ class PokerTHMessage : public ::google::protobuf::MessageLite { inline const ::AuthClientResponseMessage& authclientresponsemessage() const; inline ::AuthClientResponseMessage* mutable_authclientresponsemessage(); inline ::AuthClientResponseMessage* release_authclientresponsemessage(); - + inline void set_allocated_authclientresponsemessage(::AuthClientResponseMessage* authclientresponsemessage); + // optional .AuthServerVerificationMessage authServerVerificationMessage = 6; inline bool has_authserververificationmessage() const; inline void clear_authserververificationmessage(); @@ -9004,7 +10313,8 @@ class PokerTHMessage : public ::google::protobuf::MessageLite { inline const ::AuthServerVerificationMessage& authserververificationmessage() const; inline ::AuthServerVerificationMessage* mutable_authserververificationmessage(); inline ::AuthServerVerificationMessage* release_authserververificationmessage(); - + inline void set_allocated_authserververificationmessage(::AuthServerVerificationMessage* authserververificationmessage); + // optional .InitAckMessage initAckMessage = 7; inline bool has_initackmessage() const; inline void clear_initackmessage(); @@ -9012,7 +10322,8 @@ class PokerTHMessage : public ::google::protobuf::MessageLite { inline const ::InitAckMessage& initackmessage() const; inline ::InitAckMessage* mutable_initackmessage(); inline ::InitAckMessage* release_initackmessage(); - + inline void set_allocated_initackmessage(::InitAckMessage* initackmessage); + // optional .AvatarRequestMessage avatarRequestMessage = 8; inline bool has_avatarrequestmessage() const; inline void clear_avatarrequestmessage(); @@ -9020,7 +10331,8 @@ class PokerTHMessage : public ::google::protobuf::MessageLite { inline const ::AvatarRequestMessage& avatarrequestmessage() const; inline ::AvatarRequestMessage* mutable_avatarrequestmessage(); inline ::AvatarRequestMessage* release_avatarrequestmessage(); - + inline void set_allocated_avatarrequestmessage(::AvatarRequestMessage* avatarrequestmessage); + // optional .AvatarHeaderMessage avatarHeaderMessage = 9; inline bool has_avatarheadermessage() const; inline void clear_avatarheadermessage(); @@ -9028,7 +10340,8 @@ class PokerTHMessage : public ::google::protobuf::MessageLite { inline const ::AvatarHeaderMessage& avatarheadermessage() const; inline ::AvatarHeaderMessage* mutable_avatarheadermessage(); inline ::AvatarHeaderMessage* release_avatarheadermessage(); - + inline void set_allocated_avatarheadermessage(::AvatarHeaderMessage* avatarheadermessage); + // optional .AvatarDataMessage avatarDataMessage = 10; inline bool has_avatardatamessage() const; inline void clear_avatardatamessage(); @@ -9036,7 +10349,8 @@ class PokerTHMessage : public ::google::protobuf::MessageLite { inline const ::AvatarDataMessage& avatardatamessage() const; inline ::AvatarDataMessage* mutable_avatardatamessage(); inline ::AvatarDataMessage* release_avatardatamessage(); - + inline void set_allocated_avatardatamessage(::AvatarDataMessage* avatardatamessage); + // optional .AvatarEndMessage avatarEndMessage = 11; inline bool has_avatarendmessage() const; inline void clear_avatarendmessage(); @@ -9044,7 +10358,8 @@ class PokerTHMessage : public ::google::protobuf::MessageLite { inline const ::AvatarEndMessage& avatarendmessage() const; inline ::AvatarEndMessage* mutable_avatarendmessage(); inline ::AvatarEndMessage* release_avatarendmessage(); - + inline void set_allocated_avatarendmessage(::AvatarEndMessage* avatarendmessage); + // optional .UnknownAvatarMessage unknownAvatarMessage = 12; inline bool has_unknownavatarmessage() const; inline void clear_unknownavatarmessage(); @@ -9052,7 +10367,8 @@ class PokerTHMessage : public ::google::protobuf::MessageLite { inline const ::UnknownAvatarMessage& unknownavatarmessage() const; inline ::UnknownAvatarMessage* mutable_unknownavatarmessage(); inline ::UnknownAvatarMessage* release_unknownavatarmessage(); - + inline void set_allocated_unknownavatarmessage(::UnknownAvatarMessage* unknownavatarmessage); + // optional .PlayerListMessage playerListMessage = 13; inline bool has_playerlistmessage() const; inline void clear_playerlistmessage(); @@ -9060,7 +10376,8 @@ class PokerTHMessage : public ::google::protobuf::MessageLite { inline const ::PlayerListMessage& playerlistmessage() const; inline ::PlayerListMessage* mutable_playerlistmessage(); inline ::PlayerListMessage* release_playerlistmessage(); - + inline void set_allocated_playerlistmessage(::PlayerListMessage* playerlistmessage); + // optional .GameListNewMessage gameListNewMessage = 14; inline bool has_gamelistnewmessage() const; inline void clear_gamelistnewmessage(); @@ -9068,7 +10385,8 @@ class PokerTHMessage : public ::google::protobuf::MessageLite { inline const ::GameListNewMessage& gamelistnewmessage() const; inline ::GameListNewMessage* mutable_gamelistnewmessage(); inline ::GameListNewMessage* release_gamelistnewmessage(); - + inline void set_allocated_gamelistnewmessage(::GameListNewMessage* gamelistnewmessage); + // optional .GameListUpdateMessage gameListUpdateMessage = 15; inline bool has_gamelistupdatemessage() const; inline void clear_gamelistupdatemessage(); @@ -9076,7 +10394,8 @@ class PokerTHMessage : public ::google::protobuf::MessageLite { inline const ::GameListUpdateMessage& gamelistupdatemessage() const; inline ::GameListUpdateMessage* mutable_gamelistupdatemessage(); inline ::GameListUpdateMessage* release_gamelistupdatemessage(); - + inline void set_allocated_gamelistupdatemessage(::GameListUpdateMessage* gamelistupdatemessage); + // optional .GameListPlayerJoinedMessage gameListPlayerJoinedMessage = 16; inline bool has_gamelistplayerjoinedmessage() const; inline void clear_gamelistplayerjoinedmessage(); @@ -9084,7 +10403,8 @@ class PokerTHMessage : public ::google::protobuf::MessageLite { inline const ::GameListPlayerJoinedMessage& gamelistplayerjoinedmessage() const; inline ::GameListPlayerJoinedMessage* mutable_gamelistplayerjoinedmessage(); inline ::GameListPlayerJoinedMessage* release_gamelistplayerjoinedmessage(); - + inline void set_allocated_gamelistplayerjoinedmessage(::GameListPlayerJoinedMessage* gamelistplayerjoinedmessage); + // optional .GameListPlayerLeftMessage gameListPlayerLeftMessage = 17; inline bool has_gamelistplayerleftmessage() const; inline void clear_gamelistplayerleftmessage(); @@ -9092,7 +10412,8 @@ class PokerTHMessage : public ::google::protobuf::MessageLite { inline const ::GameListPlayerLeftMessage& gamelistplayerleftmessage() const; inline ::GameListPlayerLeftMessage* mutable_gamelistplayerleftmessage(); inline ::GameListPlayerLeftMessage* release_gamelistplayerleftmessage(); - + inline void set_allocated_gamelistplayerleftmessage(::GameListPlayerLeftMessage* gamelistplayerleftmessage); + // optional .GameListAdminChangedMessage gameListAdminChangedMessage = 18; inline bool has_gamelistadminchangedmessage() const; inline void clear_gamelistadminchangedmessage(); @@ -9100,7 +10421,8 @@ class PokerTHMessage : public ::google::protobuf::MessageLite { inline const ::GameListAdminChangedMessage& gamelistadminchangedmessage() const; inline ::GameListAdminChangedMessage* mutable_gamelistadminchangedmessage(); inline ::GameListAdminChangedMessage* release_gamelistadminchangedmessage(); - + inline void set_allocated_gamelistadminchangedmessage(::GameListAdminChangedMessage* gamelistadminchangedmessage); + // optional .PlayerInfoRequestMessage playerInfoRequestMessage = 19; inline bool has_playerinforequestmessage() const; inline void clear_playerinforequestmessage(); @@ -9108,7 +10430,8 @@ class PokerTHMessage : public ::google::protobuf::MessageLite { inline const ::PlayerInfoRequestMessage& playerinforequestmessage() const; inline ::PlayerInfoRequestMessage* mutable_playerinforequestmessage(); inline ::PlayerInfoRequestMessage* release_playerinforequestmessage(); - + inline void set_allocated_playerinforequestmessage(::PlayerInfoRequestMessage* playerinforequestmessage); + // optional .PlayerInfoReplyMessage playerInfoReplyMessage = 20; inline bool has_playerinforeplymessage() const; inline void clear_playerinforeplymessage(); @@ -9116,7 +10439,8 @@ class PokerTHMessage : public ::google::protobuf::MessageLite { inline const ::PlayerInfoReplyMessage& playerinforeplymessage() const; inline ::PlayerInfoReplyMessage* mutable_playerinforeplymessage(); inline ::PlayerInfoReplyMessage* release_playerinforeplymessage(); - + inline void set_allocated_playerinforeplymessage(::PlayerInfoReplyMessage* playerinforeplymessage); + // optional .SubscriptionRequestMessage subscriptionRequestMessage = 21; inline bool has_subscriptionrequestmessage() const; inline void clear_subscriptionrequestmessage(); @@ -9124,7 +10448,8 @@ class PokerTHMessage : public ::google::protobuf::MessageLite { inline const ::SubscriptionRequestMessage& subscriptionrequestmessage() const; inline ::SubscriptionRequestMessage* mutable_subscriptionrequestmessage(); inline ::SubscriptionRequestMessage* release_subscriptionrequestmessage(); - + inline void set_allocated_subscriptionrequestmessage(::SubscriptionRequestMessage* subscriptionrequestmessage); + // optional .JoinExistingGameMessage joinExistingGameMessage = 22; inline bool has_joinexistinggamemessage() const; inline void clear_joinexistinggamemessage(); @@ -9132,7 +10457,8 @@ class PokerTHMessage : public ::google::protobuf::MessageLite { inline const ::JoinExistingGameMessage& joinexistinggamemessage() const; inline ::JoinExistingGameMessage* mutable_joinexistinggamemessage(); inline ::JoinExistingGameMessage* release_joinexistinggamemessage(); - + inline void set_allocated_joinexistinggamemessage(::JoinExistingGameMessage* joinexistinggamemessage); + // optional .JoinNewGameMessage joinNewGameMessage = 23; inline bool has_joinnewgamemessage() const; inline void clear_joinnewgamemessage(); @@ -9140,7 +10466,8 @@ class PokerTHMessage : public ::google::protobuf::MessageLite { inline const ::JoinNewGameMessage& joinnewgamemessage() const; inline ::JoinNewGameMessage* mutable_joinnewgamemessage(); inline ::JoinNewGameMessage* release_joinnewgamemessage(); - + inline void set_allocated_joinnewgamemessage(::JoinNewGameMessage* joinnewgamemessage); + // optional .RejoinExistingGameMessage rejoinExistingGameMessage = 24; inline bool has_rejoinexistinggamemessage() const; inline void clear_rejoinexistinggamemessage(); @@ -9148,7 +10475,8 @@ class PokerTHMessage : public ::google::protobuf::MessageLite { inline const ::RejoinExistingGameMessage& rejoinexistinggamemessage() const; inline ::RejoinExistingGameMessage* mutable_rejoinexistinggamemessage(); inline ::RejoinExistingGameMessage* release_rejoinexistinggamemessage(); - + inline void set_allocated_rejoinexistinggamemessage(::RejoinExistingGameMessage* rejoinexistinggamemessage); + // optional .JoinGameAckMessage joinGameAckMessage = 25; inline bool has_joingameackmessage() const; inline void clear_joingameackmessage(); @@ -9156,7 +10484,8 @@ class PokerTHMessage : public ::google::protobuf::MessageLite { inline const ::JoinGameAckMessage& joingameackmessage() const; inline ::JoinGameAckMessage* mutable_joingameackmessage(); inline ::JoinGameAckMessage* release_joingameackmessage(); - + inline void set_allocated_joingameackmessage(::JoinGameAckMessage* joingameackmessage); + // optional .JoinGameFailedMessage joinGameFailedMessage = 26; inline bool has_joingamefailedmessage() const; inline void clear_joingamefailedmessage(); @@ -9164,7 +10493,8 @@ class PokerTHMessage : public ::google::protobuf::MessageLite { inline const ::JoinGameFailedMessage& joingamefailedmessage() const; inline ::JoinGameFailedMessage* mutable_joingamefailedmessage(); inline ::JoinGameFailedMessage* release_joingamefailedmessage(); - + inline void set_allocated_joingamefailedmessage(::JoinGameFailedMessage* joingamefailedmessage); + // optional .GamePlayerJoinedMessage gamePlayerJoinedMessage = 27; inline bool has_gameplayerjoinedmessage() const; inline void clear_gameplayerjoinedmessage(); @@ -9172,7 +10502,8 @@ class PokerTHMessage : public ::google::protobuf::MessageLite { inline const ::GamePlayerJoinedMessage& gameplayerjoinedmessage() const; inline ::GamePlayerJoinedMessage* mutable_gameplayerjoinedmessage(); inline ::GamePlayerJoinedMessage* release_gameplayerjoinedmessage(); - + inline void set_allocated_gameplayerjoinedmessage(::GamePlayerJoinedMessage* gameplayerjoinedmessage); + // optional .GamePlayerLeftMessage gamePlayerLeftMessage = 28; inline bool has_gameplayerleftmessage() const; inline void clear_gameplayerleftmessage(); @@ -9180,7 +10511,8 @@ class PokerTHMessage : public ::google::protobuf::MessageLite { inline const ::GamePlayerLeftMessage& gameplayerleftmessage() const; inline ::GamePlayerLeftMessage* mutable_gameplayerleftmessage(); inline ::GamePlayerLeftMessage* release_gameplayerleftmessage(); - + inline void set_allocated_gameplayerleftmessage(::GamePlayerLeftMessage* gameplayerleftmessage); + // optional .GameAdminChangedMessage gameAdminChangedMessage = 29; inline bool has_gameadminchangedmessage() const; inline void clear_gameadminchangedmessage(); @@ -9188,7 +10520,8 @@ class PokerTHMessage : public ::google::protobuf::MessageLite { inline const ::GameAdminChangedMessage& gameadminchangedmessage() const; inline ::GameAdminChangedMessage* mutable_gameadminchangedmessage(); inline ::GameAdminChangedMessage* release_gameadminchangedmessage(); - + inline void set_allocated_gameadminchangedmessage(::GameAdminChangedMessage* gameadminchangedmessage); + // optional .RemovedFromGameMessage removedFromGameMessage = 30; inline bool has_removedfromgamemessage() const; inline void clear_removedfromgamemessage(); @@ -9196,7 +10529,8 @@ class PokerTHMessage : public ::google::protobuf::MessageLite { inline const ::RemovedFromGameMessage& removedfromgamemessage() const; inline ::RemovedFromGameMessage* mutable_removedfromgamemessage(); inline ::RemovedFromGameMessage* release_removedfromgamemessage(); - + inline void set_allocated_removedfromgamemessage(::RemovedFromGameMessage* removedfromgamemessage); + // optional .KickPlayerRequestMessage kickPlayerRequestMessage = 31; inline bool has_kickplayerrequestmessage() const; inline void clear_kickplayerrequestmessage(); @@ -9204,7 +10538,8 @@ class PokerTHMessage : public ::google::protobuf::MessageLite { inline const ::KickPlayerRequestMessage& kickplayerrequestmessage() const; inline ::KickPlayerRequestMessage* mutable_kickplayerrequestmessage(); inline ::KickPlayerRequestMessage* release_kickplayerrequestmessage(); - + inline void set_allocated_kickplayerrequestmessage(::KickPlayerRequestMessage* kickplayerrequestmessage); + // optional .LeaveGameRequestMessage leaveGameRequestMessage = 32; inline bool has_leavegamerequestmessage() const; inline void clear_leavegamerequestmessage(); @@ -9212,7 +10547,8 @@ class PokerTHMessage : public ::google::protobuf::MessageLite { inline const ::LeaveGameRequestMessage& leavegamerequestmessage() const; inline ::LeaveGameRequestMessage* mutable_leavegamerequestmessage(); inline ::LeaveGameRequestMessage* release_leavegamerequestmessage(); - + inline void set_allocated_leavegamerequestmessage(::LeaveGameRequestMessage* leavegamerequestmessage); + // optional .InvitePlayerToGameMessage invitePlayerToGameMessage = 33; inline bool has_inviteplayertogamemessage() const; inline void clear_inviteplayertogamemessage(); @@ -9220,7 +10556,8 @@ class PokerTHMessage : public ::google::protobuf::MessageLite { inline const ::InvitePlayerToGameMessage& inviteplayertogamemessage() const; inline ::InvitePlayerToGameMessage* mutable_inviteplayertogamemessage(); inline ::InvitePlayerToGameMessage* release_inviteplayertogamemessage(); - + inline void set_allocated_inviteplayertogamemessage(::InvitePlayerToGameMessage* inviteplayertogamemessage); + // optional .InviteNotifyMessage inviteNotifyMessage = 34; inline bool has_invitenotifymessage() const; inline void clear_invitenotifymessage(); @@ -9228,7 +10565,8 @@ class PokerTHMessage : public ::google::protobuf::MessageLite { inline const ::InviteNotifyMessage& invitenotifymessage() const; inline ::InviteNotifyMessage* mutable_invitenotifymessage(); inline ::InviteNotifyMessage* release_invitenotifymessage(); - + inline void set_allocated_invitenotifymessage(::InviteNotifyMessage* invitenotifymessage); + // optional .RejectGameInvitationMessage rejectGameInvitationMessage = 35; inline bool has_rejectgameinvitationmessage() const; inline void clear_rejectgameinvitationmessage(); @@ -9236,7 +10574,8 @@ class PokerTHMessage : public ::google::protobuf::MessageLite { inline const ::RejectGameInvitationMessage& rejectgameinvitationmessage() const; inline ::RejectGameInvitationMessage* mutable_rejectgameinvitationmessage(); inline ::RejectGameInvitationMessage* release_rejectgameinvitationmessage(); - + inline void set_allocated_rejectgameinvitationmessage(::RejectGameInvitationMessage* rejectgameinvitationmessage); + // optional .RejectInvNotifyMessage rejectInvNotifyMessage = 36; inline bool has_rejectinvnotifymessage() const; inline void clear_rejectinvnotifymessage(); @@ -9244,7 +10583,8 @@ class PokerTHMessage : public ::google::protobuf::MessageLite { inline const ::RejectInvNotifyMessage& rejectinvnotifymessage() const; inline ::RejectInvNotifyMessage* mutable_rejectinvnotifymessage(); inline ::RejectInvNotifyMessage* release_rejectinvnotifymessage(); - + inline void set_allocated_rejectinvnotifymessage(::RejectInvNotifyMessage* rejectinvnotifymessage); + // optional .StartEventMessage startEventMessage = 37; inline bool has_starteventmessage() const; inline void clear_starteventmessage(); @@ -9252,7 +10592,8 @@ class PokerTHMessage : public ::google::protobuf::MessageLite { inline const ::StartEventMessage& starteventmessage() const; inline ::StartEventMessage* mutable_starteventmessage(); inline ::StartEventMessage* release_starteventmessage(); - + inline void set_allocated_starteventmessage(::StartEventMessage* starteventmessage); + // optional .StartEventAckMessage startEventAckMessage = 38; inline bool has_starteventackmessage() const; inline void clear_starteventackmessage(); @@ -9260,7 +10601,8 @@ class PokerTHMessage : public ::google::protobuf::MessageLite { inline const ::StartEventAckMessage& starteventackmessage() const; inline ::StartEventAckMessage* mutable_starteventackmessage(); inline ::StartEventAckMessage* release_starteventackmessage(); - + inline void set_allocated_starteventackmessage(::StartEventAckMessage* starteventackmessage); + // optional .GameStartInitialMessage gameStartInitialMessage = 39; inline bool has_gamestartinitialmessage() const; inline void clear_gamestartinitialmessage(); @@ -9268,7 +10610,8 @@ class PokerTHMessage : public ::google::protobuf::MessageLite { inline const ::GameStartInitialMessage& gamestartinitialmessage() const; inline ::GameStartInitialMessage* mutable_gamestartinitialmessage(); inline ::GameStartInitialMessage* release_gamestartinitialmessage(); - + inline void set_allocated_gamestartinitialmessage(::GameStartInitialMessage* gamestartinitialmessage); + // optional .GameStartRejoinMessage gameStartRejoinMessage = 40; inline bool has_gamestartrejoinmessage() const; inline void clear_gamestartrejoinmessage(); @@ -9276,7 +10619,8 @@ class PokerTHMessage : public ::google::protobuf::MessageLite { inline const ::GameStartRejoinMessage& gamestartrejoinmessage() const; inline ::GameStartRejoinMessage* mutable_gamestartrejoinmessage(); inline ::GameStartRejoinMessage* release_gamestartrejoinmessage(); - + inline void set_allocated_gamestartrejoinmessage(::GameStartRejoinMessage* gamestartrejoinmessage); + // optional .HandStartMessage handStartMessage = 41; inline bool has_handstartmessage() const; inline void clear_handstartmessage(); @@ -9284,7 +10628,8 @@ class PokerTHMessage : public ::google::protobuf::MessageLite { inline const ::HandStartMessage& handstartmessage() const; inline ::HandStartMessage* mutable_handstartmessage(); inline ::HandStartMessage* release_handstartmessage(); - + inline void set_allocated_handstartmessage(::HandStartMessage* handstartmessage); + // optional .PlayersTurnMessage playersTurnMessage = 42; inline bool has_playersturnmessage() const; inline void clear_playersturnmessage(); @@ -9292,7 +10637,8 @@ class PokerTHMessage : public ::google::protobuf::MessageLite { inline const ::PlayersTurnMessage& playersturnmessage() const; inline ::PlayersTurnMessage* mutable_playersturnmessage(); inline ::PlayersTurnMessage* release_playersturnmessage(); - + inline void set_allocated_playersturnmessage(::PlayersTurnMessage* playersturnmessage); + // optional .MyActionRequestMessage myActionRequestMessage = 43; inline bool has_myactionrequestmessage() const; inline void clear_myactionrequestmessage(); @@ -9300,7 +10646,8 @@ class PokerTHMessage : public ::google::protobuf::MessageLite { inline const ::MyActionRequestMessage& myactionrequestmessage() const; inline ::MyActionRequestMessage* mutable_myactionrequestmessage(); inline ::MyActionRequestMessage* release_myactionrequestmessage(); - + inline void set_allocated_myactionrequestmessage(::MyActionRequestMessage* myactionrequestmessage); + // optional .YourActionRejectedMessage yourActionRejectedMessage = 44; inline bool has_youractionrejectedmessage() const; inline void clear_youractionrejectedmessage(); @@ -9308,7 +10655,8 @@ class PokerTHMessage : public ::google::protobuf::MessageLite { inline const ::YourActionRejectedMessage& youractionrejectedmessage() const; inline ::YourActionRejectedMessage* mutable_youractionrejectedmessage(); inline ::YourActionRejectedMessage* release_youractionrejectedmessage(); - + inline void set_allocated_youractionrejectedmessage(::YourActionRejectedMessage* youractionrejectedmessage); + // optional .PlayersActionDoneMessage playersActionDoneMessage = 45; inline bool has_playersactiondonemessage() const; inline void clear_playersactiondonemessage(); @@ -9316,7 +10664,8 @@ class PokerTHMessage : public ::google::protobuf::MessageLite { inline const ::PlayersActionDoneMessage& playersactiondonemessage() const; inline ::PlayersActionDoneMessage* mutable_playersactiondonemessage(); inline ::PlayersActionDoneMessage* release_playersactiondonemessage(); - + inline void set_allocated_playersactiondonemessage(::PlayersActionDoneMessage* playersactiondonemessage); + // optional .DealFlopCardsMessage dealFlopCardsMessage = 46; inline bool has_dealflopcardsmessage() const; inline void clear_dealflopcardsmessage(); @@ -9324,7 +10673,8 @@ class PokerTHMessage : public ::google::protobuf::MessageLite { inline const ::DealFlopCardsMessage& dealflopcardsmessage() const; inline ::DealFlopCardsMessage* mutable_dealflopcardsmessage(); inline ::DealFlopCardsMessage* release_dealflopcardsmessage(); - + inline void set_allocated_dealflopcardsmessage(::DealFlopCardsMessage* dealflopcardsmessage); + // optional .DealTurnCardMessage dealTurnCardMessage = 47; inline bool has_dealturncardmessage() const; inline void clear_dealturncardmessage(); @@ -9332,7 +10682,8 @@ class PokerTHMessage : public ::google::protobuf::MessageLite { inline const ::DealTurnCardMessage& dealturncardmessage() const; inline ::DealTurnCardMessage* mutable_dealturncardmessage(); inline ::DealTurnCardMessage* release_dealturncardmessage(); - + inline void set_allocated_dealturncardmessage(::DealTurnCardMessage* dealturncardmessage); + // optional .DealRiverCardMessage dealRiverCardMessage = 48; inline bool has_dealrivercardmessage() const; inline void clear_dealrivercardmessage(); @@ -9340,7 +10691,8 @@ class PokerTHMessage : public ::google::protobuf::MessageLite { inline const ::DealRiverCardMessage& dealrivercardmessage() const; inline ::DealRiverCardMessage* mutable_dealrivercardmessage(); inline ::DealRiverCardMessage* release_dealrivercardmessage(); - + inline void set_allocated_dealrivercardmessage(::DealRiverCardMessage* dealrivercardmessage); + // optional .AllInShowCardsMessage allInShowCardsMessage = 49; inline bool has_allinshowcardsmessage() const; inline void clear_allinshowcardsmessage(); @@ -9348,7 +10700,8 @@ class PokerTHMessage : public ::google::protobuf::MessageLite { inline const ::AllInShowCardsMessage& allinshowcardsmessage() const; inline ::AllInShowCardsMessage* mutable_allinshowcardsmessage(); inline ::AllInShowCardsMessage* release_allinshowcardsmessage(); - + inline void set_allocated_allinshowcardsmessage(::AllInShowCardsMessage* allinshowcardsmessage); + // optional .EndOfHandShowCardsMessage endOfHandShowCardsMessage = 50; inline bool has_endofhandshowcardsmessage() const; inline void clear_endofhandshowcardsmessage(); @@ -9356,7 +10709,8 @@ class PokerTHMessage : public ::google::protobuf::MessageLite { inline const ::EndOfHandShowCardsMessage& endofhandshowcardsmessage() const; inline ::EndOfHandShowCardsMessage* mutable_endofhandshowcardsmessage(); inline ::EndOfHandShowCardsMessage* release_endofhandshowcardsmessage(); - + inline void set_allocated_endofhandshowcardsmessage(::EndOfHandShowCardsMessage* endofhandshowcardsmessage); + // optional .EndOfHandHideCardsMessage endOfHandHideCardsMessage = 51; inline bool has_endofhandhidecardsmessage() const; inline void clear_endofhandhidecardsmessage(); @@ -9364,7 +10718,8 @@ class PokerTHMessage : public ::google::protobuf::MessageLite { inline const ::EndOfHandHideCardsMessage& endofhandhidecardsmessage() const; inline ::EndOfHandHideCardsMessage* mutable_endofhandhidecardsmessage(); inline ::EndOfHandHideCardsMessage* release_endofhandhidecardsmessage(); - + inline void set_allocated_endofhandhidecardsmessage(::EndOfHandHideCardsMessage* endofhandhidecardsmessage); + // optional .ShowMyCardsRequestMessage showMyCardsRequestMessage = 52; inline bool has_showmycardsrequestmessage() const; inline void clear_showmycardsrequestmessage(); @@ -9372,7 +10727,8 @@ class PokerTHMessage : public ::google::protobuf::MessageLite { inline const ::ShowMyCardsRequestMessage& showmycardsrequestmessage() const; inline ::ShowMyCardsRequestMessage* mutable_showmycardsrequestmessage(); inline ::ShowMyCardsRequestMessage* release_showmycardsrequestmessage(); - + inline void set_allocated_showmycardsrequestmessage(::ShowMyCardsRequestMessage* showmycardsrequestmessage); + // optional .AfterHandShowCardsMessage afterHandShowCardsMessage = 53; inline bool has_afterhandshowcardsmessage() const; inline void clear_afterhandshowcardsmessage(); @@ -9380,7 +10736,8 @@ class PokerTHMessage : public ::google::protobuf::MessageLite { inline const ::AfterHandShowCardsMessage& afterhandshowcardsmessage() const; inline ::AfterHandShowCardsMessage* mutable_afterhandshowcardsmessage(); inline ::AfterHandShowCardsMessage* release_afterhandshowcardsmessage(); - + inline void set_allocated_afterhandshowcardsmessage(::AfterHandShowCardsMessage* afterhandshowcardsmessage); + // optional .EndOfGameMessage endOfGameMessage = 54; inline bool has_endofgamemessage() const; inline void clear_endofgamemessage(); @@ -9388,7 +10745,8 @@ class PokerTHMessage : public ::google::protobuf::MessageLite { inline const ::EndOfGameMessage& endofgamemessage() const; inline ::EndOfGameMessage* mutable_endofgamemessage(); inline ::EndOfGameMessage* release_endofgamemessage(); - + inline void set_allocated_endofgamemessage(::EndOfGameMessage* endofgamemessage); + // optional .PlayerIdChangedMessage playerIdChangedMessage = 55; inline bool has_playeridchangedmessage() const; inline void clear_playeridchangedmessage(); @@ -9396,7 +10754,8 @@ class PokerTHMessage : public ::google::protobuf::MessageLite { inline const ::PlayerIdChangedMessage& playeridchangedmessage() const; inline ::PlayerIdChangedMessage* mutable_playeridchangedmessage(); inline ::PlayerIdChangedMessage* release_playeridchangedmessage(); - + inline void set_allocated_playeridchangedmessage(::PlayerIdChangedMessage* playeridchangedmessage); + // optional .AskKickPlayerMessage askKickPlayerMessage = 56; inline bool has_askkickplayermessage() const; inline void clear_askkickplayermessage(); @@ -9404,7 +10763,8 @@ class PokerTHMessage : public ::google::protobuf::MessageLite { inline const ::AskKickPlayerMessage& askkickplayermessage() const; inline ::AskKickPlayerMessage* mutable_askkickplayermessage(); inline ::AskKickPlayerMessage* release_askkickplayermessage(); - + inline void set_allocated_askkickplayermessage(::AskKickPlayerMessage* askkickplayermessage); + // optional .AskKickDeniedMessage askKickDeniedMessage = 57; inline bool has_askkickdeniedmessage() const; inline void clear_askkickdeniedmessage(); @@ -9412,7 +10772,8 @@ class PokerTHMessage : public ::google::protobuf::MessageLite { inline const ::AskKickDeniedMessage& askkickdeniedmessage() const; inline ::AskKickDeniedMessage* mutable_askkickdeniedmessage(); inline ::AskKickDeniedMessage* release_askkickdeniedmessage(); - + inline void set_allocated_askkickdeniedmessage(::AskKickDeniedMessage* askkickdeniedmessage); + // optional .StartKickPetitionMessage startKickPetitionMessage = 58; inline bool has_startkickpetitionmessage() const; inline void clear_startkickpetitionmessage(); @@ -9420,7 +10781,8 @@ class PokerTHMessage : public ::google::protobuf::MessageLite { inline const ::StartKickPetitionMessage& startkickpetitionmessage() const; inline ::StartKickPetitionMessage* mutable_startkickpetitionmessage(); inline ::StartKickPetitionMessage* release_startkickpetitionmessage(); - + inline void set_allocated_startkickpetitionmessage(::StartKickPetitionMessage* startkickpetitionmessage); + // optional .VoteKickRequestMessage voteKickRequestMessage = 59; inline bool has_votekickrequestmessage() const; inline void clear_votekickrequestmessage(); @@ -9428,7 +10790,8 @@ class PokerTHMessage : public ::google::protobuf::MessageLite { inline const ::VoteKickRequestMessage& votekickrequestmessage() const; inline ::VoteKickRequestMessage* mutable_votekickrequestmessage(); inline ::VoteKickRequestMessage* release_votekickrequestmessage(); - + inline void set_allocated_votekickrequestmessage(::VoteKickRequestMessage* votekickrequestmessage); + // optional .VoteKickReplyMessage voteKickReplyMessage = 60; inline bool has_votekickreplymessage() const; inline void clear_votekickreplymessage(); @@ -9436,7 +10799,8 @@ class PokerTHMessage : public ::google::protobuf::MessageLite { inline const ::VoteKickReplyMessage& votekickreplymessage() const; inline ::VoteKickReplyMessage* mutable_votekickreplymessage(); inline ::VoteKickReplyMessage* release_votekickreplymessage(); - + inline void set_allocated_votekickreplymessage(::VoteKickReplyMessage* votekickreplymessage); + // optional .KickPetitionUpdateMessage kickPetitionUpdateMessage = 61; inline bool has_kickpetitionupdatemessage() const; inline void clear_kickpetitionupdatemessage(); @@ -9444,7 +10808,8 @@ class PokerTHMessage : public ::google::protobuf::MessageLite { inline const ::KickPetitionUpdateMessage& kickpetitionupdatemessage() const; inline ::KickPetitionUpdateMessage* mutable_kickpetitionupdatemessage(); inline ::KickPetitionUpdateMessage* release_kickpetitionupdatemessage(); - + inline void set_allocated_kickpetitionupdatemessage(::KickPetitionUpdateMessage* kickpetitionupdatemessage); + // optional .EndKickPetitionMessage endKickPetitionMessage = 62; inline bool has_endkickpetitionmessage() const; inline void clear_endkickpetitionmessage(); @@ -9452,7 +10817,8 @@ class PokerTHMessage : public ::google::protobuf::MessageLite { inline const ::EndKickPetitionMessage& endkickpetitionmessage() const; inline ::EndKickPetitionMessage* mutable_endkickpetitionmessage(); inline ::EndKickPetitionMessage* release_endkickpetitionmessage(); - + inline void set_allocated_endkickpetitionmessage(::EndKickPetitionMessage* endkickpetitionmessage); + // optional .StatisticsMessage statisticsMessage = 63; inline bool has_statisticsmessage() const; inline void clear_statisticsmessage(); @@ -9460,7 +10826,8 @@ class PokerTHMessage : public ::google::protobuf::MessageLite { inline const ::StatisticsMessage& statisticsmessage() const; inline ::StatisticsMessage* mutable_statisticsmessage(); inline ::StatisticsMessage* release_statisticsmessage(); - + inline void set_allocated_statisticsmessage(::StatisticsMessage* statisticsmessage); + // optional .ChatRequestMessage chatRequestMessage = 64; inline bool has_chatrequestmessage() const; inline void clear_chatrequestmessage(); @@ -9468,7 +10835,8 @@ class PokerTHMessage : public ::google::protobuf::MessageLite { inline const ::ChatRequestMessage& chatrequestmessage() const; inline ::ChatRequestMessage* mutable_chatrequestmessage(); inline ::ChatRequestMessage* release_chatrequestmessage(); - + inline void set_allocated_chatrequestmessage(::ChatRequestMessage* chatrequestmessage); + // optional .ChatMessage chatMessage = 65; inline bool has_chatmessage() const; inline void clear_chatmessage(); @@ -9476,7 +10844,8 @@ class PokerTHMessage : public ::google::protobuf::MessageLite { inline const ::ChatMessage& chatmessage() const; inline ::ChatMessage* mutable_chatmessage(); inline ::ChatMessage* release_chatmessage(); - + inline void set_allocated_chatmessage(::ChatMessage* chatmessage); + // optional .ChatRejectMessage chatRejectMessage = 66; inline bool has_chatrejectmessage() const; inline void clear_chatrejectmessage(); @@ -9484,7 +10853,8 @@ class PokerTHMessage : public ::google::protobuf::MessageLite { inline const ::ChatRejectMessage& chatrejectmessage() const; inline ::ChatRejectMessage* mutable_chatrejectmessage(); inline ::ChatRejectMessage* release_chatrejectmessage(); - + inline void set_allocated_chatrejectmessage(::ChatRejectMessage* chatrejectmessage); + // optional .DialogMessage dialogMessage = 67; inline bool has_dialogmessage() const; inline void clear_dialogmessage(); @@ -9492,7 +10862,8 @@ class PokerTHMessage : public ::google::protobuf::MessageLite { inline const ::DialogMessage& dialogmessage() const; inline ::DialogMessage* mutable_dialogmessage(); inline ::DialogMessage* release_dialogmessage(); - + inline void set_allocated_dialogmessage(::DialogMessage* dialogmessage); + // optional .TimeoutWarningMessage timeoutWarningMessage = 68; inline bool has_timeoutwarningmessage() const; inline void clear_timeoutwarningmessage(); @@ -9500,7 +10871,8 @@ class PokerTHMessage : public ::google::protobuf::MessageLite { inline const ::TimeoutWarningMessage& timeoutwarningmessage() const; inline ::TimeoutWarningMessage* mutable_timeoutwarningmessage(); inline ::TimeoutWarningMessage* release_timeoutwarningmessage(); - + inline void set_allocated_timeoutwarningmessage(::TimeoutWarningMessage* timeoutwarningmessage); + // optional .ResetTimeoutMessage resetTimeoutMessage = 69; inline bool has_resettimeoutmessage() const; inline void clear_resettimeoutmessage(); @@ -9508,7 +10880,8 @@ class PokerTHMessage : public ::google::protobuf::MessageLite { inline const ::ResetTimeoutMessage& resettimeoutmessage() const; inline ::ResetTimeoutMessage* mutable_resettimeoutmessage(); inline ::ResetTimeoutMessage* release_resettimeoutmessage(); - + inline void set_allocated_resettimeoutmessage(::ResetTimeoutMessage* resettimeoutmessage); + // optional .ReportAvatarMessage reportAvatarMessage = 70; inline bool has_reportavatarmessage() const; inline void clear_reportavatarmessage(); @@ -9516,7 +10889,8 @@ class PokerTHMessage : public ::google::protobuf::MessageLite { inline const ::ReportAvatarMessage& reportavatarmessage() const; inline ::ReportAvatarMessage* mutable_reportavatarmessage(); inline ::ReportAvatarMessage* release_reportavatarmessage(); - + inline void set_allocated_reportavatarmessage(::ReportAvatarMessage* reportavatarmessage); + // optional .ReportAvatarAckMessage reportAvatarAckMessage = 71; inline bool has_reportavatarackmessage() const; inline void clear_reportavatarackmessage(); @@ -9524,7 +10898,8 @@ class PokerTHMessage : public ::google::protobuf::MessageLite { inline const ::ReportAvatarAckMessage& reportavatarackmessage() const; inline ::ReportAvatarAckMessage* mutable_reportavatarackmessage(); inline ::ReportAvatarAckMessage* release_reportavatarackmessage(); - + inline void set_allocated_reportavatarackmessage(::ReportAvatarAckMessage* reportavatarackmessage); + // optional .ReportGameMessage reportGameMessage = 72; inline bool has_reportgamemessage() const; inline void clear_reportgamemessage(); @@ -9532,7 +10907,8 @@ class PokerTHMessage : public ::google::protobuf::MessageLite { inline const ::ReportGameMessage& reportgamemessage() const; inline ::ReportGameMessage* mutable_reportgamemessage(); inline ::ReportGameMessage* release_reportgamemessage(); - + inline void set_allocated_reportgamemessage(::ReportGameMessage* reportgamemessage); + // optional .ReportGameAckMessage reportGameAckMessage = 73; inline bool has_reportgameackmessage() const; inline void clear_reportgameackmessage(); @@ -9540,7 +10916,8 @@ class PokerTHMessage : public ::google::protobuf::MessageLite { inline const ::ReportGameAckMessage& reportgameackmessage() const; inline ::ReportGameAckMessage* mutable_reportgameackmessage(); inline ::ReportGameAckMessage* release_reportgameackmessage(); - + inline void set_allocated_reportgameackmessage(::ReportGameAckMessage* reportgameackmessage); + // optional .ErrorMessage errorMessage = 74; inline bool has_errormessage() const; inline void clear_errormessage(); @@ -9548,7 +10925,8 @@ class PokerTHMessage : public ::google::protobuf::MessageLite { inline const ::ErrorMessage& errormessage() const; inline ::ErrorMessage* mutable_errormessage(); inline ::ErrorMessage* release_errormessage(); - + inline void set_allocated_errormessage(::ErrorMessage* errormessage); + // optional .AdminRemoveGameMessage adminRemoveGameMessage = 75; inline bool has_adminremovegamemessage() const; inline void clear_adminremovegamemessage(); @@ -9556,7 +10934,8 @@ class PokerTHMessage : public ::google::protobuf::MessageLite { inline const ::AdminRemoveGameMessage& adminremovegamemessage() const; inline ::AdminRemoveGameMessage* mutable_adminremovegamemessage(); inline ::AdminRemoveGameMessage* release_adminremovegamemessage(); - + inline void set_allocated_adminremovegamemessage(::AdminRemoveGameMessage* adminremovegamemessage); + // optional .AdminRemoveGameAckMessage adminRemoveGameAckMessage = 76; inline bool has_adminremovegameackmessage() const; inline void clear_adminremovegameackmessage(); @@ -9564,7 +10943,8 @@ class PokerTHMessage : public ::google::protobuf::MessageLite { inline const ::AdminRemoveGameAckMessage& adminremovegameackmessage() const; inline ::AdminRemoveGameAckMessage* mutable_adminremovegameackmessage(); inline ::AdminRemoveGameAckMessage* release_adminremovegameackmessage(); - + inline void set_allocated_adminremovegameackmessage(::AdminRemoveGameAckMessage* adminremovegameackmessage); + // optional .AdminBanPlayerMessage adminBanPlayerMessage = 77; inline bool has_adminbanplayermessage() const; inline void clear_adminbanplayermessage(); @@ -9572,7 +10952,8 @@ class PokerTHMessage : public ::google::protobuf::MessageLite { inline const ::AdminBanPlayerMessage& adminbanplayermessage() const; inline ::AdminBanPlayerMessage* mutable_adminbanplayermessage(); inline ::AdminBanPlayerMessage* release_adminbanplayermessage(); - + inline void set_allocated_adminbanplayermessage(::AdminBanPlayerMessage* adminbanplayermessage); + // optional .AdminBanPlayerAckMessage adminBanPlayerAckMessage = 78; inline bool has_adminbanplayerackmessage() const; inline void clear_adminbanplayerackmessage(); @@ -9580,7 +10961,8 @@ class PokerTHMessage : public ::google::protobuf::MessageLite { inline const ::AdminBanPlayerAckMessage& adminbanplayerackmessage() const; inline ::AdminBanPlayerAckMessage* mutable_adminbanplayerackmessage(); inline ::AdminBanPlayerAckMessage* release_adminbanplayerackmessage(); - + inline void set_allocated_adminbanplayerackmessage(::AdminBanPlayerAckMessage* adminbanplayerackmessage); + // optional .GameListSpectatorJoinedMessage gameListSpectatorJoinedMessage = 79; inline bool has_gamelistspectatorjoinedmessage() const; inline void clear_gamelistspectatorjoinedmessage(); @@ -9588,7 +10970,8 @@ class PokerTHMessage : public ::google::protobuf::MessageLite { inline const ::GameListSpectatorJoinedMessage& gamelistspectatorjoinedmessage() const; inline ::GameListSpectatorJoinedMessage* mutable_gamelistspectatorjoinedmessage(); inline ::GameListSpectatorJoinedMessage* release_gamelistspectatorjoinedmessage(); - + inline void set_allocated_gamelistspectatorjoinedmessage(::GameListSpectatorJoinedMessage* gamelistspectatorjoinedmessage); + // optional .GameListSpectatorLeftMessage gameListSpectatorLeftMessage = 80; inline bool has_gamelistspectatorleftmessage() const; inline void clear_gamelistspectatorleftmessage(); @@ -9596,7 +10979,8 @@ class PokerTHMessage : public ::google::protobuf::MessageLite { inline const ::GameListSpectatorLeftMessage& gamelistspectatorleftmessage() const; inline ::GameListSpectatorLeftMessage* mutable_gamelistspectatorleftmessage(); inline ::GameListSpectatorLeftMessage* release_gamelistspectatorleftmessage(); - + inline void set_allocated_gamelistspectatorleftmessage(::GameListSpectatorLeftMessage* gamelistspectatorleftmessage); + // optional .GameSpectatorJoinedMessage gameSpectatorJoinedMessage = 81; inline bool has_gamespectatorjoinedmessage() const; inline void clear_gamespectatorjoinedmessage(); @@ -9604,7 +10988,8 @@ class PokerTHMessage : public ::google::protobuf::MessageLite { inline const ::GameSpectatorJoinedMessage& gamespectatorjoinedmessage() const; inline ::GameSpectatorJoinedMessage* mutable_gamespectatorjoinedmessage(); inline ::GameSpectatorJoinedMessage* release_gamespectatorjoinedmessage(); - + inline void set_allocated_gamespectatorjoinedmessage(::GameSpectatorJoinedMessage* gamespectatorjoinedmessage); + // optional .GameSpectatorLeftMessage gameSpectatorLeftMessage = 82; inline bool has_gamespectatorleftmessage() const; inline void clear_gamespectatorleftmessage(); @@ -9612,7 +10997,8 @@ class PokerTHMessage : public ::google::protobuf::MessageLite { inline const ::GameSpectatorLeftMessage& gamespectatorleftmessage() const; inline ::GameSpectatorLeftMessage* mutable_gamespectatorleftmessage(); inline ::GameSpectatorLeftMessage* release_gamespectatorleftmessage(); - + inline void set_allocated_gamespectatorleftmessage(::GameSpectatorLeftMessage* gamespectatorleftmessage); + // @@protoc_insertion_point(class_scope:PokerTHMessage) private: inline void set_has_messagetype(); @@ -9779,7 +11165,7 @@ class PokerTHMessage : public ::google::protobuf::MessageLite { inline void clear_has_gamespectatorjoinedmessage(); inline void set_has_gamespectatorleftmessage(); inline void clear_has_gamespectatorleftmessage(); - + ::AnnounceMessage* announcemessage_; ::InitMessage* initmessage_; ::AuthServerChallengeMessage* authserverchallengemessage_; @@ -9862,14 +11248,18 @@ class PokerTHMessage : public ::google::protobuf::MessageLite { ::GameSpectatorJoinedMessage* gamespectatorjoinedmessage_; ::GameSpectatorLeftMessage* gamespectatorleftmessage_; int messagetype_; - + mutable int _cached_size_; ::google::protobuf::uint32 _has_bits_[(82 + 31) / 32]; - + + #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + friend void protobuf_AddDesc_pokerth_2eproto_impl(); + #else friend void protobuf_AddDesc_pokerth_2eproto(); + #endif friend void protobuf_AssignDesc_pokerth_2eproto(); friend void protobuf_ShutdownFile_pokerth_2eproto(); - + void InitAsDefaultInstance(); static PokerTHMessage* default_instance_; }; @@ -9937,6 +11327,18 @@ inline ::std::string* NetGameInfo::release_gamename() { return temp; } } +inline void NetGameInfo::set_allocated_gamename(::std::string* gamename) { + if (gamename_ != &::google::protobuf::internal::kEmptyString) { + delete gamename_; + } + if (gamename) { + set_has_gamename(); + gamename_ = gamename; + } else { + clear_has_gamename(); + gamename_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + } +} // required .NetGameInfo.NetGameType netGameType = 2; inline bool NetGameInfo::has_netgametype() const { @@ -9956,7 +11358,7 @@ inline ::NetGameInfo_NetGameType NetGameInfo::netgametype() const { return static_cast< ::NetGameInfo_NetGameType >(netgametype_); } inline void NetGameInfo::set_netgametype(::NetGameInfo_NetGameType value) { - GOOGLE_DCHECK(::NetGameInfo_NetGameType_IsValid(value)); + assert(::NetGameInfo_NetGameType_IsValid(value)); set_has_netgametype(); netgametype_ = value; } @@ -10001,7 +11403,7 @@ inline ::NetGameInfo_RaiseIntervalMode NetGameInfo::raiseintervalmode() const { return static_cast< ::NetGameInfo_RaiseIntervalMode >(raiseintervalmode_); } inline void NetGameInfo::set_raiseintervalmode(::NetGameInfo_RaiseIntervalMode value) { - GOOGLE_DCHECK(::NetGameInfo_RaiseIntervalMode_IsValid(value)); + assert(::NetGameInfo_RaiseIntervalMode_IsValid(value)); set_has_raiseintervalmode(); raiseintervalmode_ = value; } @@ -10068,7 +11470,7 @@ inline ::NetGameInfo_EndRaiseMode NetGameInfo::endraisemode() const { return static_cast< ::NetGameInfo_EndRaiseMode >(endraisemode_); } inline void NetGameInfo::set_endraisemode(::NetGameInfo_EndRaiseMode value) { - GOOGLE_DCHECK(::NetGameInfo_EndRaiseMode_IsValid(value)); + assert(::NetGameInfo_EndRaiseMode_IsValid(value)); set_has_endraisemode(); endraisemode_ = value; } @@ -10458,7 +11860,11 @@ inline void AnnounceMessage::clear_protocolversion() { clear_has_protocolversion(); } inline const ::AnnounceMessage_Version& AnnounceMessage::protocolversion() const { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + return protocolversion_ != NULL ? *protocolversion_ : *default_instance().protocolversion_; +#else return protocolversion_ != NULL ? *protocolversion_ : *default_instance_->protocolversion_; +#endif } inline ::AnnounceMessage_Version* AnnounceMessage::mutable_protocolversion() { set_has_protocolversion(); @@ -10471,6 +11877,15 @@ inline ::AnnounceMessage_Version* AnnounceMessage::release_protocolversion() { protocolversion_ = NULL; return temp; } +inline void AnnounceMessage::set_allocated_protocolversion(::AnnounceMessage_Version* protocolversion) { + delete protocolversion_; + protocolversion_ = protocolversion; + if (protocolversion) { + set_has_protocolversion(); + } else { + clear_has_protocolversion(); + } +} // required .AnnounceMessage.Version latestGameVersion = 2; inline bool AnnounceMessage::has_latestgameversion() const { @@ -10487,7 +11902,11 @@ inline void AnnounceMessage::clear_latestgameversion() { clear_has_latestgameversion(); } inline const ::AnnounceMessage_Version& AnnounceMessage::latestgameversion() const { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + return latestgameversion_ != NULL ? *latestgameversion_ : *default_instance().latestgameversion_; +#else return latestgameversion_ != NULL ? *latestgameversion_ : *default_instance_->latestgameversion_; +#endif } inline ::AnnounceMessage_Version* AnnounceMessage::mutable_latestgameversion() { set_has_latestgameversion(); @@ -10500,6 +11919,15 @@ inline ::AnnounceMessage_Version* AnnounceMessage::release_latestgameversion() { latestgameversion_ = NULL; return temp; } +inline void AnnounceMessage::set_allocated_latestgameversion(::AnnounceMessage_Version* latestgameversion) { + delete latestgameversion_; + latestgameversion_ = latestgameversion; + if (latestgameversion) { + set_has_latestgameversion(); + } else { + clear_has_latestgameversion(); + } +} // required uint32 latestBetaRevision = 3; inline bool AnnounceMessage::has_latestbetarevision() const { @@ -10541,7 +11969,7 @@ inline ::AnnounceMessage_ServerType AnnounceMessage::servertype() const { return static_cast< ::AnnounceMessage_ServerType >(servertype_); } inline void AnnounceMessage::set_servertype(::AnnounceMessage_ServerType value) { - GOOGLE_DCHECK(::AnnounceMessage_ServerType_IsValid(value)); + assert(::AnnounceMessage_ServerType_IsValid(value)); set_has_servertype(); servertype_ = value; } @@ -10587,7 +12015,11 @@ inline void InitMessage::clear_requestedversion() { clear_has_requestedversion(); } inline const ::AnnounceMessage_Version& InitMessage::requestedversion() const { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + return requestedversion_ != NULL ? *requestedversion_ : *default_instance().requestedversion_; +#else return requestedversion_ != NULL ? *requestedversion_ : *default_instance_->requestedversion_; +#endif } inline ::AnnounceMessage_Version* InitMessage::mutable_requestedversion() { set_has_requestedversion(); @@ -10600,6 +12032,15 @@ inline ::AnnounceMessage_Version* InitMessage::release_requestedversion() { requestedversion_ = NULL; return temp; } +inline void InitMessage::set_allocated_requestedversion(::AnnounceMessage_Version* requestedversion) { + delete requestedversion_; + requestedversion_ = requestedversion; + if (requestedversion) { + set_has_requestedversion(); + } else { + clear_has_requestedversion(); + } +} // required uint32 buildId = 2; inline bool InitMessage::has_buildid() const { @@ -10680,6 +12121,18 @@ inline ::std::string* InitMessage::release_mylastsessionid() { return temp; } } +inline void InitMessage::set_allocated_mylastsessionid(::std::string* mylastsessionid) { + if (mylastsessionid_ != &::google::protobuf::internal::kEmptyString) { + delete mylastsessionid_; + } + if (mylastsessionid) { + set_has_mylastsessionid(); + mylastsessionid_ = mylastsessionid; + } else { + clear_has_mylastsessionid(); + mylastsessionid_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + } +} // optional string authServerPassword = 4; inline bool InitMessage::has_authserverpassword() const { @@ -10738,6 +12191,18 @@ inline ::std::string* InitMessage::release_authserverpassword() { return temp; } } +inline void InitMessage::set_allocated_authserverpassword(::std::string* authserverpassword) { + if (authserverpassword_ != &::google::protobuf::internal::kEmptyString) { + delete authserverpassword_; + } + if (authserverpassword) { + set_has_authserverpassword(); + authserverpassword_ = authserverpassword; + } else { + clear_has_authserverpassword(); + authserverpassword_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + } +} // required .InitMessage.LoginType login = 5; inline bool InitMessage::has_login() const { @@ -10757,7 +12222,7 @@ inline ::InitMessage_LoginType InitMessage::login() const { return static_cast< ::InitMessage_LoginType >(login_); } inline void InitMessage::set_login(::InitMessage_LoginType value) { - GOOGLE_DCHECK(::InitMessage_LoginType_IsValid(value)); + assert(::InitMessage_LoginType_IsValid(value)); set_has_login(); login_ = value; } @@ -10819,6 +12284,18 @@ inline ::std::string* InitMessage::release_nickname() { return temp; } } +inline void InitMessage::set_allocated_nickname(::std::string* nickname) { + if (nickname_ != &::google::protobuf::internal::kEmptyString) { + delete nickname_; + } + if (nickname) { + set_has_nickname(); + nickname_ = nickname; + } else { + clear_has_nickname(); + nickname_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + } +} // optional bytes clientUserData = 7; inline bool InitMessage::has_clientuserdata() const { @@ -10877,6 +12354,18 @@ inline ::std::string* InitMessage::release_clientuserdata() { return temp; } } +inline void InitMessage::set_allocated_clientuserdata(::std::string* clientuserdata) { + if (clientuserdata_ != &::google::protobuf::internal::kEmptyString) { + delete clientuserdata_; + } + if (clientuserdata) { + set_has_clientuserdata(); + clientuserdata_ = clientuserdata; + } else { + clear_has_clientuserdata(); + clientuserdata_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + } +} // optional bytes avatarHash = 8; inline bool InitMessage::has_avatarhash() const { @@ -10935,6 +12424,18 @@ inline ::std::string* InitMessage::release_avatarhash() { return temp; } } +inline void InitMessage::set_allocated_avatarhash(::std::string* avatarhash) { + if (avatarhash_ != &::google::protobuf::internal::kEmptyString) { + delete avatarhash_; + } + if (avatarhash) { + set_has_avatarhash(); + avatarhash_ = avatarhash; + } else { + clear_has_avatarhash(); + avatarhash_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + } +} // ------------------------------------------------------------------- @@ -10997,6 +12498,18 @@ inline ::std::string* AuthServerChallengeMessage::release_serverchallenge() { return temp; } } +inline void AuthServerChallengeMessage::set_allocated_serverchallenge(::std::string* serverchallenge) { + if (serverchallenge_ != &::google::protobuf::internal::kEmptyString) { + delete serverchallenge_; + } + if (serverchallenge) { + set_has_serverchallenge(); + serverchallenge_ = serverchallenge; + } else { + clear_has_serverchallenge(); + serverchallenge_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + } +} // ------------------------------------------------------------------- @@ -11059,6 +12572,18 @@ inline ::std::string* AuthClientResponseMessage::release_clientresponse() { return temp; } } +inline void AuthClientResponseMessage::set_allocated_clientresponse(::std::string* clientresponse) { + if (clientresponse_ != &::google::protobuf::internal::kEmptyString) { + delete clientresponse_; + } + if (clientresponse) { + set_has_clientresponse(); + clientresponse_ = clientresponse; + } else { + clear_has_clientresponse(); + clientresponse_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + } +} // ------------------------------------------------------------------- @@ -11121,6 +12646,18 @@ inline ::std::string* AuthServerVerificationMessage::release_serververification( return temp; } } +inline void AuthServerVerificationMessage::set_allocated_serververification(::std::string* serververification) { + if (serververification_ != &::google::protobuf::internal::kEmptyString) { + delete serververification_; + } + if (serververification) { + set_has_serververification(); + serververification_ = serververification; + } else { + clear_has_serververification(); + serververification_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + } +} // ------------------------------------------------------------------- @@ -11183,6 +12720,18 @@ inline ::std::string* InitAckMessage::release_yoursessionid() { return temp; } } +inline void InitAckMessage::set_allocated_yoursessionid(::std::string* yoursessionid) { + if (yoursessionid_ != &::google::protobuf::internal::kEmptyString) { + delete yoursessionid_; + } + if (yoursessionid) { + set_has_yoursessionid(); + yoursessionid_ = yoursessionid; + } else { + clear_has_yoursessionid(); + yoursessionid_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + } +} // required uint32 yourPlayerId = 2; inline bool InitAckMessage::has_yourplayerid() const { @@ -11263,6 +12812,18 @@ inline ::std::string* InitAckMessage::release_youravatarhash() { return temp; } } +inline void InitAckMessage::set_allocated_youravatarhash(::std::string* youravatarhash) { + if (youravatarhash_ != &::google::protobuf::internal::kEmptyString) { + delete youravatarhash_; + } + if (youravatarhash) { + set_has_youravatarhash(); + youravatarhash_ = youravatarhash; + } else { + clear_has_youravatarhash(); + youravatarhash_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + } +} // optional uint32 rejoinGameId = 4; inline bool InitAckMessage::has_rejoingameid() const { @@ -11369,6 +12930,18 @@ inline ::std::string* AvatarRequestMessage::release_avatarhash() { return temp; } } +inline void AvatarRequestMessage::set_allocated_avatarhash(::std::string* avatarhash) { + if (avatarhash_ != &::google::protobuf::internal::kEmptyString) { + delete avatarhash_; + } + if (avatarhash) { + set_has_avatarhash(); + avatarhash_ = avatarhash; + } else { + clear_has_avatarhash(); + avatarhash_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + } +} // ------------------------------------------------------------------- @@ -11410,11 +12983,11 @@ inline void AvatarHeaderMessage::clear_avatartype() { avatartype_ = 1; clear_has_avatartype(); } -inline NetAvatarType AvatarHeaderMessage::avatartype() const { - return static_cast< NetAvatarType >(avatartype_); +inline ::NetAvatarType AvatarHeaderMessage::avatartype() const { + return static_cast< ::NetAvatarType >(avatartype_); } -inline void AvatarHeaderMessage::set_avatartype(NetAvatarType value) { - GOOGLE_DCHECK(NetAvatarType_IsValid(value)); +inline void AvatarHeaderMessage::set_avatartype(::NetAvatarType value) { + assert(::NetAvatarType_IsValid(value)); set_has_avatartype(); avatartype_ = value; } @@ -11524,6 +13097,18 @@ inline ::std::string* AvatarDataMessage::release_avatarblock() { return temp; } } +inline void AvatarDataMessage::set_allocated_avatarblock(::std::string* avatarblock) { + if (avatarblock_ != &::google::protobuf::internal::kEmptyString) { + delete avatarblock_; + } + if (avatarblock) { + set_has_avatarblock(); + avatarblock_ = avatarblock; + } else { + clear_has_avatarblock(); + avatarblock_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + } +} // ------------------------------------------------------------------- @@ -11621,7 +13206,7 @@ inline ::PlayerListMessage_PlayerListNotification PlayerListMessage::playerlistn return static_cast< ::PlayerListMessage_PlayerListNotification >(playerlistnotification_); } inline void PlayerListMessage::set_playerlistnotification(::PlayerListMessage_PlayerListNotification value) { - GOOGLE_DCHECK(::PlayerListMessage_PlayerListNotification_IsValid(value)); + assert(::PlayerListMessage_PlayerListNotification_IsValid(value)); set_has_playerlistnotification(); playerlistnotification_ = value; } @@ -11666,11 +13251,11 @@ inline void GameListNewMessage::clear_gamemode() { gamemode_ = 1; clear_has_gamemode(); } -inline NetGameMode GameListNewMessage::gamemode() const { - return static_cast< NetGameMode >(gamemode_); +inline ::NetGameMode GameListNewMessage::gamemode() const { + return static_cast< ::NetGameMode >(gamemode_); } -inline void GameListNewMessage::set_gamemode(NetGameMode value) { - GOOGLE_DCHECK(NetGameMode_IsValid(value)); +inline void GameListNewMessage::set_gamemode(::NetGameMode value) { + assert(::NetGameMode_IsValid(value)); set_has_gamemode(); gamemode_ = value; } @@ -11759,7 +13344,11 @@ inline void GameListNewMessage::clear_gameinfo() { clear_has_gameinfo(); } inline const ::NetGameInfo& GameListNewMessage::gameinfo() const { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + return gameinfo_ != NULL ? *gameinfo_ : *default_instance().gameinfo_; +#else return gameinfo_ != NULL ? *gameinfo_ : *default_instance_->gameinfo_; +#endif } inline ::NetGameInfo* GameListNewMessage::mutable_gameinfo() { set_has_gameinfo(); @@ -11772,6 +13361,15 @@ inline ::NetGameInfo* GameListNewMessage::release_gameinfo() { gameinfo_ = NULL; return temp; } +inline void GameListNewMessage::set_allocated_gameinfo(::NetGameInfo* gameinfo) { + delete gameinfo_; + gameinfo_ = gameinfo; + if (gameinfo) { + set_has_gameinfo(); + } else { + clear_has_gameinfo(); + } +} // ------------------------------------------------------------------- @@ -11813,11 +13411,11 @@ inline void GameListUpdateMessage::clear_gamemode() { gamemode_ = 1; clear_has_gamemode(); } -inline NetGameMode GameListUpdateMessage::gamemode() const { - return static_cast< NetGameMode >(gamemode_); +inline ::NetGameMode GameListUpdateMessage::gamemode() const { + return static_cast< ::NetGameMode >(gamemode_); } -inline void GameListUpdateMessage::set_gamemode(NetGameMode value) { - GOOGLE_DCHECK(NetGameMode_IsValid(value)); +inline void GameListUpdateMessage::set_gamemode(::NetGameMode value) { + assert(::NetGameMode_IsValid(value)); set_has_gamemode(); gamemode_ = value; } @@ -12109,11 +13707,11 @@ inline void PlayerInfoReplyMessage_PlayerInfoData_AvatarData::clear_avatartype() avatartype_ = 1; clear_has_avatartype(); } -inline NetAvatarType PlayerInfoReplyMessage_PlayerInfoData_AvatarData::avatartype() const { - return static_cast< NetAvatarType >(avatartype_); +inline ::NetAvatarType PlayerInfoReplyMessage_PlayerInfoData_AvatarData::avatartype() const { + return static_cast< ::NetAvatarType >(avatartype_); } -inline void PlayerInfoReplyMessage_PlayerInfoData_AvatarData::set_avatartype(NetAvatarType value) { - GOOGLE_DCHECK(NetAvatarType_IsValid(value)); +inline void PlayerInfoReplyMessage_PlayerInfoData_AvatarData::set_avatartype(::NetAvatarType value) { + assert(::NetAvatarType_IsValid(value)); set_has_avatartype(); avatartype_ = value; } @@ -12175,6 +13773,18 @@ inline ::std::string* PlayerInfoReplyMessage_PlayerInfoData_AvatarData::release_ return temp; } } +inline void PlayerInfoReplyMessage_PlayerInfoData_AvatarData::set_allocated_avatarhash(::std::string* avatarhash) { + if (avatarhash_ != &::google::protobuf::internal::kEmptyString) { + delete avatarhash_; + } + if (avatarhash) { + set_has_avatarhash(); + avatarhash_ = avatarhash; + } else { + clear_has_avatarhash(); + avatarhash_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + } +} // ------------------------------------------------------------------- @@ -12237,6 +13847,18 @@ inline ::std::string* PlayerInfoReplyMessage_PlayerInfoData::release_playername( return temp; } } +inline void PlayerInfoReplyMessage_PlayerInfoData::set_allocated_playername(::std::string* playername) { + if (playername_ != &::google::protobuf::internal::kEmptyString) { + delete playername_; + } + if (playername) { + set_has_playername(); + playername_ = playername; + } else { + clear_has_playername(); + playername_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + } +} // required bool isHuman = 2; inline bool PlayerInfoReplyMessage_PlayerInfoData::has_ishuman() const { @@ -12274,11 +13896,11 @@ inline void PlayerInfoReplyMessage_PlayerInfoData::clear_playerrights() { playerrights_ = 1; clear_has_playerrights(); } -inline NetPlayerInfoRights PlayerInfoReplyMessage_PlayerInfoData::playerrights() const { - return static_cast< NetPlayerInfoRights >(playerrights_); +inline ::NetPlayerInfoRights PlayerInfoReplyMessage_PlayerInfoData::playerrights() const { + return static_cast< ::NetPlayerInfoRights >(playerrights_); } -inline void PlayerInfoReplyMessage_PlayerInfoData::set_playerrights(NetPlayerInfoRights value) { - GOOGLE_DCHECK(NetPlayerInfoRights_IsValid(value)); +inline void PlayerInfoReplyMessage_PlayerInfoData::set_playerrights(::NetPlayerInfoRights value) { + assert(::NetPlayerInfoRights_IsValid(value)); set_has_playerrights(); playerrights_ = value; } @@ -12340,6 +13962,18 @@ inline ::std::string* PlayerInfoReplyMessage_PlayerInfoData::release_countrycode return temp; } } +inline void PlayerInfoReplyMessage_PlayerInfoData::set_allocated_countrycode(::std::string* countrycode) { + if (countrycode_ != &::google::protobuf::internal::kEmptyString) { + delete countrycode_; + } + if (countrycode) { + set_has_countrycode(); + countrycode_ = countrycode; + } else { + clear_has_countrycode(); + countrycode_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + } +} // optional .PlayerInfoReplyMessage.PlayerInfoData.AvatarData avatarData = 5; inline bool PlayerInfoReplyMessage_PlayerInfoData::has_avatardata() const { @@ -12356,7 +13990,11 @@ inline void PlayerInfoReplyMessage_PlayerInfoData::clear_avatardata() { clear_has_avatardata(); } inline const ::PlayerInfoReplyMessage_PlayerInfoData_AvatarData& PlayerInfoReplyMessage_PlayerInfoData::avatardata() const { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + return avatardata_ != NULL ? *avatardata_ : *default_instance().avatardata_; +#else return avatardata_ != NULL ? *avatardata_ : *default_instance_->avatardata_; +#endif } inline ::PlayerInfoReplyMessage_PlayerInfoData_AvatarData* PlayerInfoReplyMessage_PlayerInfoData::mutable_avatardata() { set_has_avatardata(); @@ -12369,6 +14007,15 @@ inline ::PlayerInfoReplyMessage_PlayerInfoData_AvatarData* PlayerInfoReplyMessag avatardata_ = NULL; return temp; } +inline void PlayerInfoReplyMessage_PlayerInfoData::set_allocated_avatardata(::PlayerInfoReplyMessage_PlayerInfoData_AvatarData* avatardata) { + delete avatardata_; + avatardata_ = avatardata; + if (avatardata) { + set_has_avatardata(); + } else { + clear_has_avatardata(); + } +} // ------------------------------------------------------------------- @@ -12411,7 +14058,11 @@ inline void PlayerInfoReplyMessage::clear_playerinfodata() { clear_has_playerinfodata(); } inline const ::PlayerInfoReplyMessage_PlayerInfoData& PlayerInfoReplyMessage::playerinfodata() const { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + return playerinfodata_ != NULL ? *playerinfodata_ : *default_instance().playerinfodata_; +#else return playerinfodata_ != NULL ? *playerinfodata_ : *default_instance_->playerinfodata_; +#endif } inline ::PlayerInfoReplyMessage_PlayerInfoData* PlayerInfoReplyMessage::mutable_playerinfodata() { set_has_playerinfodata(); @@ -12424,6 +14075,15 @@ inline ::PlayerInfoReplyMessage_PlayerInfoData* PlayerInfoReplyMessage::release_ playerinfodata_ = NULL; return temp; } +inline void PlayerInfoReplyMessage::set_allocated_playerinfodata(::PlayerInfoReplyMessage_PlayerInfoData* playerinfodata) { + delete playerinfodata_; + playerinfodata_ = playerinfodata; + if (playerinfodata) { + set_has_playerinfodata(); + } else { + clear_has_playerinfodata(); + } +} // ------------------------------------------------------------------- @@ -12447,7 +14107,7 @@ inline ::SubscriptionRequestMessage_SubscriptionAction SubscriptionRequestMessag return static_cast< ::SubscriptionRequestMessage_SubscriptionAction >(subscriptionaction_); } inline void SubscriptionRequestMessage::set_subscriptionaction(::SubscriptionRequestMessage_SubscriptionAction value) { - GOOGLE_DCHECK(::SubscriptionRequestMessage_SubscriptionAction_IsValid(value)); + assert(::SubscriptionRequestMessage_SubscriptionAction_IsValid(value)); set_has_subscriptionaction(); subscriptionaction_ = value; } @@ -12535,6 +14195,18 @@ inline ::std::string* JoinExistingGameMessage::release_password() { return temp; } } +inline void JoinExistingGameMessage::set_allocated_password(::std::string* password) { + if (password_ != &::google::protobuf::internal::kEmptyString) { + delete password_; + } + if (password) { + set_has_password(); + password_ = password; + } else { + clear_has_password(); + password_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + } +} // optional bool autoLeave = 3; inline bool JoinExistingGameMessage::has_autoleave() const { @@ -12599,7 +14271,11 @@ inline void JoinNewGameMessage::clear_gameinfo() { clear_has_gameinfo(); } inline const ::NetGameInfo& JoinNewGameMessage::gameinfo() const { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + return gameinfo_ != NULL ? *gameinfo_ : *default_instance().gameinfo_; +#else return gameinfo_ != NULL ? *gameinfo_ : *default_instance_->gameinfo_; +#endif } inline ::NetGameInfo* JoinNewGameMessage::mutable_gameinfo() { set_has_gameinfo(); @@ -12612,6 +14288,15 @@ inline ::NetGameInfo* JoinNewGameMessage::release_gameinfo() { gameinfo_ = NULL; return temp; } +inline void JoinNewGameMessage::set_allocated_gameinfo(::NetGameInfo* gameinfo) { + delete gameinfo_; + gameinfo_ = gameinfo; + if (gameinfo) { + set_has_gameinfo(); + } else { + clear_has_gameinfo(); + } +} // optional string password = 2; inline bool JoinNewGameMessage::has_password() const { @@ -12670,6 +14355,18 @@ inline ::std::string* JoinNewGameMessage::release_password() { return temp; } } +inline void JoinNewGameMessage::set_allocated_password(::std::string* password) { + if (password_ != &::google::protobuf::internal::kEmptyString) { + delete password_; + } + if (password) { + set_has_password(); + password_ = password; + } else { + clear_has_password(); + password_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + } +} // optional bool autoLeave = 3; inline bool JoinNewGameMessage::has_autoleave() const { @@ -12804,7 +14501,11 @@ inline void JoinGameAckMessage::clear_gameinfo() { clear_has_gameinfo(); } inline const ::NetGameInfo& JoinGameAckMessage::gameinfo() const { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + return gameinfo_ != NULL ? *gameinfo_ : *default_instance().gameinfo_; +#else return gameinfo_ != NULL ? *gameinfo_ : *default_instance_->gameinfo_; +#endif } inline ::NetGameInfo* JoinGameAckMessage::mutable_gameinfo() { set_has_gameinfo(); @@ -12817,6 +14518,15 @@ inline ::NetGameInfo* JoinGameAckMessage::release_gameinfo() { gameinfo_ = NULL; return temp; } +inline void JoinGameAckMessage::set_allocated_gameinfo(::NetGameInfo* gameinfo) { + delete gameinfo_; + gameinfo_ = gameinfo; + if (gameinfo) { + set_has_gameinfo(); + } else { + clear_has_gameinfo(); + } +} // ------------------------------------------------------------------- @@ -12862,7 +14572,7 @@ inline ::JoinGameFailedMessage_JoinGameFailureReason JoinGameFailedMessage::join return static_cast< ::JoinGameFailedMessage_JoinGameFailureReason >(joingamefailurereason_); } inline void JoinGameFailedMessage::set_joingamefailurereason(::JoinGameFailedMessage_JoinGameFailureReason value) { - GOOGLE_DCHECK(::JoinGameFailedMessage_JoinGameFailureReason_IsValid(value)); + assert(::JoinGameFailedMessage_JoinGameFailureReason_IsValid(value)); set_has_joingamefailurereason(); joingamefailurereason_ = value; } @@ -13003,7 +14713,7 @@ inline ::GamePlayerLeftMessage_GamePlayerLeftReason GamePlayerLeftMessage::gamep return static_cast< ::GamePlayerLeftMessage_GamePlayerLeftReason >(gameplayerleftreason_); } inline void GamePlayerLeftMessage::set_gameplayerleftreason(::GamePlayerLeftMessage_GamePlayerLeftReason value) { - GOOGLE_DCHECK(::GamePlayerLeftMessage_GamePlayerLeftReason_IsValid(value)); + assert(::GamePlayerLeftMessage_GamePlayerLeftReason_IsValid(value)); set_has_gameplayerleftreason(); gameplayerleftreason_ = value; } @@ -13122,7 +14832,7 @@ inline ::GamePlayerLeftMessage_GamePlayerLeftReason GameSpectatorLeftMessage::ga return static_cast< ::GamePlayerLeftMessage_GamePlayerLeftReason >(gamespectatorleftreason_); } inline void GameSpectatorLeftMessage::set_gamespectatorleftreason(::GamePlayerLeftMessage_GamePlayerLeftReason value) { - GOOGLE_DCHECK(::GamePlayerLeftMessage_GamePlayerLeftReason_IsValid(value)); + assert(::GamePlayerLeftMessage_GamePlayerLeftReason_IsValid(value)); set_has_gamespectatorleftreason(); gamespectatorleftreason_ = value; } @@ -13219,7 +14929,7 @@ inline ::RemovedFromGameMessage_RemovedFromGameReason RemovedFromGameMessage::re return static_cast< ::RemovedFromGameMessage_RemovedFromGameReason >(removedfromgamereason_); } inline void RemovedFromGameMessage::set_removedfromgamereason(::RemovedFromGameMessage_RemovedFromGameReason value) { - GOOGLE_DCHECK(::RemovedFromGameMessage_RemovedFromGameReason_IsValid(value)); + assert(::RemovedFromGameMessage_RemovedFromGameReason_IsValid(value)); set_has_removedfromgamereason(); removedfromgamereason_ = value; } @@ -13460,7 +15170,7 @@ inline ::RejectGameInvitationMessage_RejectGameInvReason RejectGameInvitationMes return static_cast< ::RejectGameInvitationMessage_RejectGameInvReason >(myrejectreason_); } inline void RejectGameInvitationMessage::set_myrejectreason(::RejectGameInvitationMessage_RejectGameInvReason value) { - GOOGLE_DCHECK(::RejectGameInvitationMessage_RejectGameInvReason_IsValid(value)); + assert(::RejectGameInvitationMessage_RejectGameInvReason_IsValid(value)); set_has_myrejectreason(); myrejectreason_ = value; } @@ -13531,7 +15241,7 @@ inline ::RejectGameInvitationMessage_RejectGameInvReason RejectInvNotifyMessage: return static_cast< ::RejectGameInvitationMessage_RejectGameInvReason >(playerrejectreason_); } inline void RejectInvNotifyMessage::set_playerrejectreason(::RejectGameInvitationMessage_RejectGameInvReason value) { - GOOGLE_DCHECK(::RejectGameInvitationMessage_RejectGameInvReason_IsValid(value)); + assert(::RejectGameInvitationMessage_RejectGameInvReason_IsValid(value)); set_has_playerrejectreason(); playerrejectreason_ = value; } @@ -13580,7 +15290,7 @@ inline ::StartEventMessage_StartEventType StartEventMessage::starteventtype() co return static_cast< ::StartEventMessage_StartEventType >(starteventtype_); } inline void StartEventMessage::set_starteventtype(::StartEventMessage_StartEventType value) { - GOOGLE_DCHECK(::StartEventMessage_StartEventType_IsValid(value)); + assert(::StartEventMessage_StartEventType_IsValid(value)); set_has_starteventtype(); starteventtype_ = value; } @@ -13938,7 +15648,11 @@ inline void HandStartMessage::clear_plaincards() { clear_has_plaincards(); } inline const ::HandStartMessage_PlainCards& HandStartMessage::plaincards() const { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + return plaincards_ != NULL ? *plaincards_ : *default_instance().plaincards_; +#else return plaincards_ != NULL ? *plaincards_ : *default_instance_->plaincards_; +#endif } inline ::HandStartMessage_PlainCards* HandStartMessage::mutable_plaincards() { set_has_plaincards(); @@ -13951,6 +15665,15 @@ inline ::HandStartMessage_PlainCards* HandStartMessage::release_plaincards() { plaincards_ = NULL; return temp; } +inline void HandStartMessage::set_allocated_plaincards(::HandStartMessage_PlainCards* plaincards) { + delete plaincards_; + plaincards_ = plaincards; + if (plaincards) { + set_has_plaincards(); + } else { + clear_has_plaincards(); + } +} // optional bytes encryptedCards = 3; inline bool HandStartMessage::has_encryptedcards() const { @@ -14009,6 +15732,18 @@ inline ::std::string* HandStartMessage::release_encryptedcards() { return temp; } } +inline void HandStartMessage::set_allocated_encryptedcards(::std::string* encryptedcards) { + if (encryptedcards_ != &::google::protobuf::internal::kEmptyString) { + delete encryptedcards_; + } + if (encryptedcards) { + set_has_encryptedcards(); + encryptedcards_ = encryptedcards; + } else { + clear_has_encryptedcards(); + encryptedcards_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + } +} // required uint32 smallBlind = 4; inline bool HandStartMessage::has_smallblind() const { @@ -14039,15 +15774,15 @@ inline int HandStartMessage::seatstates_size() const { inline void HandStartMessage::clear_seatstates() { seatstates_.Clear(); } -inline NetPlayerState HandStartMessage::seatstates(int index) const { - return static_cast< NetPlayerState >(seatstates_.Get(index)); +inline ::NetPlayerState HandStartMessage::seatstates(int index) const { + return static_cast< ::NetPlayerState >(seatstates_.Get(index)); } -inline void HandStartMessage::set_seatstates(int index, NetPlayerState value) { - GOOGLE_DCHECK(NetPlayerState_IsValid(value)); +inline void HandStartMessage::set_seatstates(int index, ::NetPlayerState value) { + assert(::NetPlayerState_IsValid(value)); seatstates_.Set(index, value); } -inline void HandStartMessage::add_seatstates(NetPlayerState value) { - GOOGLE_DCHECK(NetPlayerState_IsValid(value)); +inline void HandStartMessage::add_seatstates(::NetPlayerState value) { + assert(::NetPlayerState_IsValid(value)); seatstates_.Add(value); } inline const ::google::protobuf::RepeatedField& @@ -14121,11 +15856,11 @@ inline void PlayersTurnMessage::clear_gamestate() { gamestate_ = 0; clear_has_gamestate(); } -inline NetGameState PlayersTurnMessage::gamestate() const { - return static_cast< NetGameState >(gamestate_); +inline ::NetGameState PlayersTurnMessage::gamestate() const { + return static_cast< ::NetGameState >(gamestate_); } -inline void PlayersTurnMessage::set_gamestate(NetGameState value) { - GOOGLE_DCHECK(NetGameState_IsValid(value)); +inline void PlayersTurnMessage::set_gamestate(::NetGameState value) { + assert(::NetGameState_IsValid(value)); set_has_gamestate(); gamestate_ = value; } @@ -14192,11 +15927,11 @@ inline void MyActionRequestMessage::clear_gamestate() { gamestate_ = 0; clear_has_gamestate(); } -inline NetGameState MyActionRequestMessage::gamestate() const { - return static_cast< NetGameState >(gamestate_); +inline ::NetGameState MyActionRequestMessage::gamestate() const { + return static_cast< ::NetGameState >(gamestate_); } -inline void MyActionRequestMessage::set_gamestate(NetGameState value) { - GOOGLE_DCHECK(NetGameState_IsValid(value)); +inline void MyActionRequestMessage::set_gamestate(::NetGameState value) { + assert(::NetGameState_IsValid(value)); set_has_gamestate(); gamestate_ = value; } @@ -14215,11 +15950,11 @@ inline void MyActionRequestMessage::clear_myaction() { myaction_ = 0; clear_has_myaction(); } -inline NetPlayerAction MyActionRequestMessage::myaction() const { - return static_cast< NetPlayerAction >(myaction_); +inline ::NetPlayerAction MyActionRequestMessage::myaction() const { + return static_cast< ::NetPlayerAction >(myaction_); } -inline void MyActionRequestMessage::set_myaction(NetPlayerAction value) { - GOOGLE_DCHECK(NetPlayerAction_IsValid(value)); +inline void MyActionRequestMessage::set_myaction(::NetPlayerAction value) { + assert(::NetPlayerAction_IsValid(value)); set_has_myaction(); myaction_ = value; } @@ -14286,11 +16021,11 @@ inline void YourActionRejectedMessage::clear_gamestate() { gamestate_ = 0; clear_has_gamestate(); } -inline NetGameState YourActionRejectedMessage::gamestate() const { - return static_cast< NetGameState >(gamestate_); +inline ::NetGameState YourActionRejectedMessage::gamestate() const { + return static_cast< ::NetGameState >(gamestate_); } -inline void YourActionRejectedMessage::set_gamestate(NetGameState value) { - GOOGLE_DCHECK(NetGameState_IsValid(value)); +inline void YourActionRejectedMessage::set_gamestate(::NetGameState value) { + assert(::NetGameState_IsValid(value)); set_has_gamestate(); gamestate_ = value; } @@ -14309,11 +16044,11 @@ inline void YourActionRejectedMessage::clear_youraction() { youraction_ = 0; clear_has_youraction(); } -inline NetPlayerAction YourActionRejectedMessage::youraction() const { - return static_cast< NetPlayerAction >(youraction_); +inline ::NetPlayerAction YourActionRejectedMessage::youraction() const { + return static_cast< ::NetPlayerAction >(youraction_); } -inline void YourActionRejectedMessage::set_youraction(NetPlayerAction value) { - GOOGLE_DCHECK(NetPlayerAction_IsValid(value)); +inline void YourActionRejectedMessage::set_youraction(::NetPlayerAction value) { + assert(::NetPlayerAction_IsValid(value)); set_has_youraction(); youraction_ = value; } @@ -14358,7 +16093,7 @@ inline ::YourActionRejectedMessage_RejectionReason YourActionRejectedMessage::re return static_cast< ::YourActionRejectedMessage_RejectionReason >(rejectionreason_); } inline void YourActionRejectedMessage::set_rejectionreason(::YourActionRejectedMessage_RejectionReason value) { - GOOGLE_DCHECK(::YourActionRejectedMessage_RejectionReason_IsValid(value)); + assert(::YourActionRejectedMessage_RejectionReason_IsValid(value)); set_has_rejectionreason(); rejectionreason_ = value; } @@ -14425,11 +16160,11 @@ inline void PlayersActionDoneMessage::clear_gamestate() { gamestate_ = 0; clear_has_gamestate(); } -inline NetGameState PlayersActionDoneMessage::gamestate() const { - return static_cast< NetGameState >(gamestate_); +inline ::NetGameState PlayersActionDoneMessage::gamestate() const { + return static_cast< ::NetGameState >(gamestate_); } -inline void PlayersActionDoneMessage::set_gamestate(NetGameState value) { - GOOGLE_DCHECK(NetGameState_IsValid(value)); +inline void PlayersActionDoneMessage::set_gamestate(::NetGameState value) { + assert(::NetGameState_IsValid(value)); set_has_gamestate(); gamestate_ = value; } @@ -14448,11 +16183,11 @@ inline void PlayersActionDoneMessage::clear_playeraction() { playeraction_ = 0; clear_has_playeraction(); } -inline NetPlayerAction PlayersActionDoneMessage::playeraction() const { - return static_cast< NetPlayerAction >(playeraction_); +inline ::NetPlayerAction PlayersActionDoneMessage::playeraction() const { + return static_cast< ::NetPlayerAction >(playeraction_); } -inline void PlayersActionDoneMessage::set_playeraction(NetPlayerAction value) { - GOOGLE_DCHECK(NetPlayerAction_IsValid(value)); +inline void PlayersActionDoneMessage::set_playeraction(::NetPlayerAction value) { + assert(::NetPlayerAction_IsValid(value)); set_has_playeraction(); playeraction_ = value; } @@ -15020,7 +16755,11 @@ inline void AfterHandShowCardsMessage::clear_playerresult() { clear_has_playerresult(); } inline const ::PlayerResult& AfterHandShowCardsMessage::playerresult() const { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + return playerresult_ != NULL ? *playerresult_ : *default_instance().playerresult_; +#else return playerresult_ != NULL ? *playerresult_ : *default_instance_->playerresult_; +#endif } inline ::PlayerResult* AfterHandShowCardsMessage::mutable_playerresult() { set_has_playerresult(); @@ -15033,6 +16772,15 @@ inline ::PlayerResult* AfterHandShowCardsMessage::release_playerresult() { playerresult_ = NULL; return temp; } +inline void AfterHandShowCardsMessage::set_allocated_playerresult(::PlayerResult* playerresult) { + delete playerresult_; + playerresult_ = playerresult; + if (playerresult) { + set_has_playerresult(); + } else { + clear_has_playerresult(); + } +} // ------------------------------------------------------------------- @@ -15244,7 +16992,7 @@ inline ::AskKickDeniedMessage_KickDeniedReason AskKickDeniedMessage::kickdeniedr return static_cast< ::AskKickDeniedMessage_KickDeniedReason >(kickdeniedreason_); } inline void AskKickDeniedMessage::set_kickdeniedreason(::AskKickDeniedMessage_KickDeniedReason value) { - GOOGLE_DCHECK(::AskKickDeniedMessage_KickDeniedReason_IsValid(value)); + assert(::AskKickDeniedMessage_KickDeniedReason_IsValid(value)); set_has_kickdeniedreason(); kickdeniedreason_ = value; } @@ -15521,7 +17269,7 @@ inline ::VoteKickReplyMessage_VoteKickReplyType VoteKickReplyMessage::votekickre return static_cast< ::VoteKickReplyMessage_VoteKickReplyType >(votekickreplytype_); } inline void VoteKickReplyMessage::set_votekickreplytype(::VoteKickReplyMessage_VoteKickReplyType value) { - GOOGLE_DCHECK(::VoteKickReplyMessage_VoteKickReplyType_IsValid(value)); + assert(::VoteKickReplyMessage_VoteKickReplyType_IsValid(value)); set_has_votekickreplytype(); votekickreplytype_ = value; } @@ -15772,7 +17520,7 @@ inline ::EndKickPetitionMessage_PetitionEndReason EndKickPetitionMessage::petiti return static_cast< ::EndKickPetitionMessage_PetitionEndReason >(petitionendreason_); } inline void EndKickPetitionMessage::set_petitionendreason(::EndKickPetitionMessage_PetitionEndReason value) { - GOOGLE_DCHECK(::EndKickPetitionMessage_PetitionEndReason_IsValid(value)); + assert(::EndKickPetitionMessage_PetitionEndReason_IsValid(value)); set_has_petitionendreason(); petitionendreason_ = value; } @@ -15799,7 +17547,7 @@ inline ::StatisticsMessage_StatisticsData_StatisticsType StatisticsMessage_Stati return static_cast< ::StatisticsMessage_StatisticsData_StatisticsType >(statisticstype_); } inline void StatisticsMessage_StatisticsData::set_statisticstype(::StatisticsMessage_StatisticsData_StatisticsType value) { - GOOGLE_DCHECK(::StatisticsMessage_StatisticsData_StatisticsType_IsValid(value)); + assert(::StatisticsMessage_StatisticsData_StatisticsType_IsValid(value)); set_has_statisticstype(); statisticstype_ = value; } @@ -15960,6 +17708,18 @@ inline ::std::string* ChatRequestMessage::release_chattext() { return temp; } } +inline void ChatRequestMessage::set_allocated_chattext(::std::string* chattext) { + if (chattext_ != &::google::protobuf::internal::kEmptyString) { + delete chattext_; + } + if (chattext) { + set_has_chattext(); + chattext_ = chattext; + } else { + clear_has_chattext(); + chattext_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + } +} // ------------------------------------------------------------------- @@ -16027,7 +17787,7 @@ inline ::ChatMessage_ChatType ChatMessage::chattype() const { return static_cast< ::ChatMessage_ChatType >(chattype_); } inline void ChatMessage::set_chattype(::ChatMessage_ChatType value) { - GOOGLE_DCHECK(::ChatMessage_ChatType_IsValid(value)); + assert(::ChatMessage_ChatType_IsValid(value)); set_has_chattype(); chattype_ = value; } @@ -16089,6 +17849,18 @@ inline ::std::string* ChatMessage::release_chattext() { return temp; } } +inline void ChatMessage::set_allocated_chattext(::std::string* chattext) { + if (chattext_ != &::google::protobuf::internal::kEmptyString) { + delete chattext_; + } + if (chattext) { + set_has_chattext(); + chattext_ = chattext; + } else { + clear_has_chattext(); + chattext_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + } +} // ------------------------------------------------------------------- @@ -16151,6 +17923,18 @@ inline ::std::string* ChatRejectMessage::release_chattext() { return temp; } } +inline void ChatRejectMessage::set_allocated_chattext(::std::string* chattext) { + if (chattext_ != &::google::protobuf::internal::kEmptyString) { + delete chattext_; + } + if (chattext) { + set_has_chattext(); + chattext_ = chattext; + } else { + clear_has_chattext(); + chattext_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + } +} // ------------------------------------------------------------------- @@ -16213,6 +17997,18 @@ inline ::std::string* DialogMessage::release_notificationtext() { return temp; } } +inline void DialogMessage::set_allocated_notificationtext(::std::string* notificationtext) { + if (notificationtext_ != &::google::protobuf::internal::kEmptyString) { + delete notificationtext_; + } + if (notificationtext) { + set_has_notificationtext(); + notificationtext_ = notificationtext; + } else { + clear_has_notificationtext(); + notificationtext_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + } +} // ------------------------------------------------------------------- @@ -16236,7 +18032,7 @@ inline ::TimeoutWarningMessage_TimeoutReason TimeoutWarningMessage::timeoutreaso return static_cast< ::TimeoutWarningMessage_TimeoutReason >(timeoutreason_); } inline void TimeoutWarningMessage::set_timeoutreason(::TimeoutWarningMessage_TimeoutReason value) { - GOOGLE_DCHECK(::TimeoutWarningMessage_TimeoutReason_IsValid(value)); + assert(::TimeoutWarningMessage_TimeoutReason_IsValid(value)); set_has_timeoutreason(); timeoutreason_ = value; } @@ -16350,6 +18146,18 @@ inline ::std::string* ReportAvatarMessage::release_reportedavatarhash() { return temp; } } +inline void ReportAvatarMessage::set_allocated_reportedavatarhash(::std::string* reportedavatarhash) { + if (reportedavatarhash_ != &::google::protobuf::internal::kEmptyString) { + delete reportedavatarhash_; + } + if (reportedavatarhash) { + set_has_reportedavatarhash(); + reportedavatarhash_ = reportedavatarhash; + } else { + clear_has_reportedavatarhash(); + reportedavatarhash_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); + } +} // ------------------------------------------------------------------- @@ -16395,7 +18203,7 @@ inline ::ReportAvatarAckMessage_ReportAvatarResult ReportAvatarAckMessage::repor return static_cast< ::ReportAvatarAckMessage_ReportAvatarResult >(reportavatarresult_); } inline void ReportAvatarAckMessage::set_reportavatarresult(::ReportAvatarAckMessage_ReportAvatarResult value) { - GOOGLE_DCHECK(::ReportAvatarAckMessage_ReportAvatarResult_IsValid(value)); + assert(::ReportAvatarAckMessage_ReportAvatarResult_IsValid(value)); set_has_reportavatarresult(); reportavatarresult_ = value; } @@ -16470,7 +18278,7 @@ inline ::ReportGameAckMessage_ReportGameResult ReportGameAckMessage::reportgamer return static_cast< ::ReportGameAckMessage_ReportGameResult >(reportgameresult_); } inline void ReportGameAckMessage::set_reportgameresult(::ReportGameAckMessage_ReportGameResult value) { - GOOGLE_DCHECK(::ReportGameAckMessage_ReportGameResult_IsValid(value)); + assert(::ReportGameAckMessage_ReportGameResult_IsValid(value)); set_has_reportgameresult(); reportgameresult_ = value; } @@ -16497,7 +18305,7 @@ inline ::ErrorMessage_ErrorReason ErrorMessage::errorreason() const { return static_cast< ::ErrorMessage_ErrorReason >(errorreason_); } inline void ErrorMessage::set_errorreason(::ErrorMessage_ErrorReason value) { - GOOGLE_DCHECK(::ErrorMessage_ErrorReason_IsValid(value)); + assert(::ErrorMessage_ErrorReason_IsValid(value)); set_has_errorreason(); errorreason_ = value; } @@ -16572,7 +18380,7 @@ inline ::AdminRemoveGameAckMessage_AdminRemoveGameResult AdminRemoveGameAckMessa return static_cast< ::AdminRemoveGameAckMessage_AdminRemoveGameResult >(removegameresult_); } inline void AdminRemoveGameAckMessage::set_removegameresult(::AdminRemoveGameAckMessage_AdminRemoveGameResult value) { - GOOGLE_DCHECK(::AdminRemoveGameAckMessage_AdminRemoveGameResult_IsValid(value)); + assert(::AdminRemoveGameAckMessage_AdminRemoveGameResult_IsValid(value)); set_has_removegameresult(); removegameresult_ = value; } @@ -16647,7 +18455,7 @@ inline ::AdminBanPlayerAckMessage_AdminBanPlayerResult AdminBanPlayerAckMessage: return static_cast< ::AdminBanPlayerAckMessage_AdminBanPlayerResult >(banplayerresult_); } inline void AdminBanPlayerAckMessage::set_banplayerresult(::AdminBanPlayerAckMessage_AdminBanPlayerResult value) { - GOOGLE_DCHECK(::AdminBanPlayerAckMessage_AdminBanPlayerResult_IsValid(value)); + assert(::AdminBanPlayerAckMessage_AdminBanPlayerResult_IsValid(value)); set_has_banplayerresult(); banplayerresult_ = value; } @@ -16674,7 +18482,7 @@ inline ::PokerTHMessage_PokerTHMessageType PokerTHMessage::messagetype() const { return static_cast< ::PokerTHMessage_PokerTHMessageType >(messagetype_); } inline void PokerTHMessage::set_messagetype(::PokerTHMessage_PokerTHMessageType value) { - GOOGLE_DCHECK(::PokerTHMessage_PokerTHMessageType_IsValid(value)); + assert(::PokerTHMessage_PokerTHMessageType_IsValid(value)); set_has_messagetype(); messagetype_ = value; } @@ -16694,7 +18502,11 @@ inline void PokerTHMessage::clear_announcemessage() { clear_has_announcemessage(); } inline const ::AnnounceMessage& PokerTHMessage::announcemessage() const { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + return announcemessage_ != NULL ? *announcemessage_ : *default_instance().announcemessage_; +#else return announcemessage_ != NULL ? *announcemessage_ : *default_instance_->announcemessage_; +#endif } inline ::AnnounceMessage* PokerTHMessage::mutable_announcemessage() { set_has_announcemessage(); @@ -16707,6 +18519,15 @@ inline ::AnnounceMessage* PokerTHMessage::release_announcemessage() { announcemessage_ = NULL; return temp; } +inline void PokerTHMessage::set_allocated_announcemessage(::AnnounceMessage* announcemessage) { + delete announcemessage_; + announcemessage_ = announcemessage; + if (announcemessage) { + set_has_announcemessage(); + } else { + clear_has_announcemessage(); + } +} // optional .InitMessage initMessage = 3; inline bool PokerTHMessage::has_initmessage() const { @@ -16723,7 +18544,11 @@ inline void PokerTHMessage::clear_initmessage() { clear_has_initmessage(); } inline const ::InitMessage& PokerTHMessage::initmessage() const { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + return initmessage_ != NULL ? *initmessage_ : *default_instance().initmessage_; +#else return initmessage_ != NULL ? *initmessage_ : *default_instance_->initmessage_; +#endif } inline ::InitMessage* PokerTHMessage::mutable_initmessage() { set_has_initmessage(); @@ -16736,6 +18561,15 @@ inline ::InitMessage* PokerTHMessage::release_initmessage() { initmessage_ = NULL; return temp; } +inline void PokerTHMessage::set_allocated_initmessage(::InitMessage* initmessage) { + delete initmessage_; + initmessage_ = initmessage; + if (initmessage) { + set_has_initmessage(); + } else { + clear_has_initmessage(); + } +} // optional .AuthServerChallengeMessage authServerChallengeMessage = 4; inline bool PokerTHMessage::has_authserverchallengemessage() const { @@ -16752,7 +18586,11 @@ inline void PokerTHMessage::clear_authserverchallengemessage() { clear_has_authserverchallengemessage(); } inline const ::AuthServerChallengeMessage& PokerTHMessage::authserverchallengemessage() const { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + return authserverchallengemessage_ != NULL ? *authserverchallengemessage_ : *default_instance().authserverchallengemessage_; +#else return authserverchallengemessage_ != NULL ? *authserverchallengemessage_ : *default_instance_->authserverchallengemessage_; +#endif } inline ::AuthServerChallengeMessage* PokerTHMessage::mutable_authserverchallengemessage() { set_has_authserverchallengemessage(); @@ -16765,6 +18603,15 @@ inline ::AuthServerChallengeMessage* PokerTHMessage::release_authserverchallenge authserverchallengemessage_ = NULL; return temp; } +inline void PokerTHMessage::set_allocated_authserverchallengemessage(::AuthServerChallengeMessage* authserverchallengemessage) { + delete authserverchallengemessage_; + authserverchallengemessage_ = authserverchallengemessage; + if (authserverchallengemessage) { + set_has_authserverchallengemessage(); + } else { + clear_has_authserverchallengemessage(); + } +} // optional .AuthClientResponseMessage authClientResponseMessage = 5; inline bool PokerTHMessage::has_authclientresponsemessage() const { @@ -16781,7 +18628,11 @@ inline void PokerTHMessage::clear_authclientresponsemessage() { clear_has_authclientresponsemessage(); } inline const ::AuthClientResponseMessage& PokerTHMessage::authclientresponsemessage() const { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + return authclientresponsemessage_ != NULL ? *authclientresponsemessage_ : *default_instance().authclientresponsemessage_; +#else return authclientresponsemessage_ != NULL ? *authclientresponsemessage_ : *default_instance_->authclientresponsemessage_; +#endif } inline ::AuthClientResponseMessage* PokerTHMessage::mutable_authclientresponsemessage() { set_has_authclientresponsemessage(); @@ -16794,6 +18645,15 @@ inline ::AuthClientResponseMessage* PokerTHMessage::release_authclientresponseme authclientresponsemessage_ = NULL; return temp; } +inline void PokerTHMessage::set_allocated_authclientresponsemessage(::AuthClientResponseMessage* authclientresponsemessage) { + delete authclientresponsemessage_; + authclientresponsemessage_ = authclientresponsemessage; + if (authclientresponsemessage) { + set_has_authclientresponsemessage(); + } else { + clear_has_authclientresponsemessage(); + } +} // optional .AuthServerVerificationMessage authServerVerificationMessage = 6; inline bool PokerTHMessage::has_authserververificationmessage() const { @@ -16810,7 +18670,11 @@ inline void PokerTHMessage::clear_authserververificationmessage() { clear_has_authserververificationmessage(); } inline const ::AuthServerVerificationMessage& PokerTHMessage::authserververificationmessage() const { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + return authserververificationmessage_ != NULL ? *authserververificationmessage_ : *default_instance().authserververificationmessage_; +#else return authserververificationmessage_ != NULL ? *authserververificationmessage_ : *default_instance_->authserververificationmessage_; +#endif } inline ::AuthServerVerificationMessage* PokerTHMessage::mutable_authserververificationmessage() { set_has_authserververificationmessage(); @@ -16823,6 +18687,15 @@ inline ::AuthServerVerificationMessage* PokerTHMessage::release_authserververifi authserververificationmessage_ = NULL; return temp; } +inline void PokerTHMessage::set_allocated_authserververificationmessage(::AuthServerVerificationMessage* authserververificationmessage) { + delete authserververificationmessage_; + authserververificationmessage_ = authserververificationmessage; + if (authserververificationmessage) { + set_has_authserververificationmessage(); + } else { + clear_has_authserververificationmessage(); + } +} // optional .InitAckMessage initAckMessage = 7; inline bool PokerTHMessage::has_initackmessage() const { @@ -16839,7 +18712,11 @@ inline void PokerTHMessage::clear_initackmessage() { clear_has_initackmessage(); } inline const ::InitAckMessage& PokerTHMessage::initackmessage() const { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + return initackmessage_ != NULL ? *initackmessage_ : *default_instance().initackmessage_; +#else return initackmessage_ != NULL ? *initackmessage_ : *default_instance_->initackmessage_; +#endif } inline ::InitAckMessage* PokerTHMessage::mutable_initackmessage() { set_has_initackmessage(); @@ -16852,6 +18729,15 @@ inline ::InitAckMessage* PokerTHMessage::release_initackmessage() { initackmessage_ = NULL; return temp; } +inline void PokerTHMessage::set_allocated_initackmessage(::InitAckMessage* initackmessage) { + delete initackmessage_; + initackmessage_ = initackmessage; + if (initackmessage) { + set_has_initackmessage(); + } else { + clear_has_initackmessage(); + } +} // optional .AvatarRequestMessage avatarRequestMessage = 8; inline bool PokerTHMessage::has_avatarrequestmessage() const { @@ -16868,7 +18754,11 @@ inline void PokerTHMessage::clear_avatarrequestmessage() { clear_has_avatarrequestmessage(); } inline const ::AvatarRequestMessage& PokerTHMessage::avatarrequestmessage() const { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + return avatarrequestmessage_ != NULL ? *avatarrequestmessage_ : *default_instance().avatarrequestmessage_; +#else return avatarrequestmessage_ != NULL ? *avatarrequestmessage_ : *default_instance_->avatarrequestmessage_; +#endif } inline ::AvatarRequestMessage* PokerTHMessage::mutable_avatarrequestmessage() { set_has_avatarrequestmessage(); @@ -16881,6 +18771,15 @@ inline ::AvatarRequestMessage* PokerTHMessage::release_avatarrequestmessage() { avatarrequestmessage_ = NULL; return temp; } +inline void PokerTHMessage::set_allocated_avatarrequestmessage(::AvatarRequestMessage* avatarrequestmessage) { + delete avatarrequestmessage_; + avatarrequestmessage_ = avatarrequestmessage; + if (avatarrequestmessage) { + set_has_avatarrequestmessage(); + } else { + clear_has_avatarrequestmessage(); + } +} // optional .AvatarHeaderMessage avatarHeaderMessage = 9; inline bool PokerTHMessage::has_avatarheadermessage() const { @@ -16897,7 +18796,11 @@ inline void PokerTHMessage::clear_avatarheadermessage() { clear_has_avatarheadermessage(); } inline const ::AvatarHeaderMessage& PokerTHMessage::avatarheadermessage() const { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + return avatarheadermessage_ != NULL ? *avatarheadermessage_ : *default_instance().avatarheadermessage_; +#else return avatarheadermessage_ != NULL ? *avatarheadermessage_ : *default_instance_->avatarheadermessage_; +#endif } inline ::AvatarHeaderMessage* PokerTHMessage::mutable_avatarheadermessage() { set_has_avatarheadermessage(); @@ -16910,6 +18813,15 @@ inline ::AvatarHeaderMessage* PokerTHMessage::release_avatarheadermessage() { avatarheadermessage_ = NULL; return temp; } +inline void PokerTHMessage::set_allocated_avatarheadermessage(::AvatarHeaderMessage* avatarheadermessage) { + delete avatarheadermessage_; + avatarheadermessage_ = avatarheadermessage; + if (avatarheadermessage) { + set_has_avatarheadermessage(); + } else { + clear_has_avatarheadermessage(); + } +} // optional .AvatarDataMessage avatarDataMessage = 10; inline bool PokerTHMessage::has_avatardatamessage() const { @@ -16926,7 +18838,11 @@ inline void PokerTHMessage::clear_avatardatamessage() { clear_has_avatardatamessage(); } inline const ::AvatarDataMessage& PokerTHMessage::avatardatamessage() const { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + return avatardatamessage_ != NULL ? *avatardatamessage_ : *default_instance().avatardatamessage_; +#else return avatardatamessage_ != NULL ? *avatardatamessage_ : *default_instance_->avatardatamessage_; +#endif } inline ::AvatarDataMessage* PokerTHMessage::mutable_avatardatamessage() { set_has_avatardatamessage(); @@ -16939,6 +18855,15 @@ inline ::AvatarDataMessage* PokerTHMessage::release_avatardatamessage() { avatardatamessage_ = NULL; return temp; } +inline void PokerTHMessage::set_allocated_avatardatamessage(::AvatarDataMessage* avatardatamessage) { + delete avatardatamessage_; + avatardatamessage_ = avatardatamessage; + if (avatardatamessage) { + set_has_avatardatamessage(); + } else { + clear_has_avatardatamessage(); + } +} // optional .AvatarEndMessage avatarEndMessage = 11; inline bool PokerTHMessage::has_avatarendmessage() const { @@ -16955,7 +18880,11 @@ inline void PokerTHMessage::clear_avatarendmessage() { clear_has_avatarendmessage(); } inline const ::AvatarEndMessage& PokerTHMessage::avatarendmessage() const { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + return avatarendmessage_ != NULL ? *avatarendmessage_ : *default_instance().avatarendmessage_; +#else return avatarendmessage_ != NULL ? *avatarendmessage_ : *default_instance_->avatarendmessage_; +#endif } inline ::AvatarEndMessage* PokerTHMessage::mutable_avatarendmessage() { set_has_avatarendmessage(); @@ -16968,6 +18897,15 @@ inline ::AvatarEndMessage* PokerTHMessage::release_avatarendmessage() { avatarendmessage_ = NULL; return temp; } +inline void PokerTHMessage::set_allocated_avatarendmessage(::AvatarEndMessage* avatarendmessage) { + delete avatarendmessage_; + avatarendmessage_ = avatarendmessage; + if (avatarendmessage) { + set_has_avatarendmessage(); + } else { + clear_has_avatarendmessage(); + } +} // optional .UnknownAvatarMessage unknownAvatarMessage = 12; inline bool PokerTHMessage::has_unknownavatarmessage() const { @@ -16984,7 +18922,11 @@ inline void PokerTHMessage::clear_unknownavatarmessage() { clear_has_unknownavatarmessage(); } inline const ::UnknownAvatarMessage& PokerTHMessage::unknownavatarmessage() const { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + return unknownavatarmessage_ != NULL ? *unknownavatarmessage_ : *default_instance().unknownavatarmessage_; +#else return unknownavatarmessage_ != NULL ? *unknownavatarmessage_ : *default_instance_->unknownavatarmessage_; +#endif } inline ::UnknownAvatarMessage* PokerTHMessage::mutable_unknownavatarmessage() { set_has_unknownavatarmessage(); @@ -16997,6 +18939,15 @@ inline ::UnknownAvatarMessage* PokerTHMessage::release_unknownavatarmessage() { unknownavatarmessage_ = NULL; return temp; } +inline void PokerTHMessage::set_allocated_unknownavatarmessage(::UnknownAvatarMessage* unknownavatarmessage) { + delete unknownavatarmessage_; + unknownavatarmessage_ = unknownavatarmessage; + if (unknownavatarmessage) { + set_has_unknownavatarmessage(); + } else { + clear_has_unknownavatarmessage(); + } +} // optional .PlayerListMessage playerListMessage = 13; inline bool PokerTHMessage::has_playerlistmessage() const { @@ -17013,7 +18964,11 @@ inline void PokerTHMessage::clear_playerlistmessage() { clear_has_playerlistmessage(); } inline const ::PlayerListMessage& PokerTHMessage::playerlistmessage() const { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + return playerlistmessage_ != NULL ? *playerlistmessage_ : *default_instance().playerlistmessage_; +#else return playerlistmessage_ != NULL ? *playerlistmessage_ : *default_instance_->playerlistmessage_; +#endif } inline ::PlayerListMessage* PokerTHMessage::mutable_playerlistmessage() { set_has_playerlistmessage(); @@ -17026,6 +18981,15 @@ inline ::PlayerListMessage* PokerTHMessage::release_playerlistmessage() { playerlistmessage_ = NULL; return temp; } +inline void PokerTHMessage::set_allocated_playerlistmessage(::PlayerListMessage* playerlistmessage) { + delete playerlistmessage_; + playerlistmessage_ = playerlistmessage; + if (playerlistmessage) { + set_has_playerlistmessage(); + } else { + clear_has_playerlistmessage(); + } +} // optional .GameListNewMessage gameListNewMessage = 14; inline bool PokerTHMessage::has_gamelistnewmessage() const { @@ -17042,7 +19006,11 @@ inline void PokerTHMessage::clear_gamelistnewmessage() { clear_has_gamelistnewmessage(); } inline const ::GameListNewMessage& PokerTHMessage::gamelistnewmessage() const { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + return gamelistnewmessage_ != NULL ? *gamelistnewmessage_ : *default_instance().gamelistnewmessage_; +#else return gamelistnewmessage_ != NULL ? *gamelistnewmessage_ : *default_instance_->gamelistnewmessage_; +#endif } inline ::GameListNewMessage* PokerTHMessage::mutable_gamelistnewmessage() { set_has_gamelistnewmessage(); @@ -17055,6 +19023,15 @@ inline ::GameListNewMessage* PokerTHMessage::release_gamelistnewmessage() { gamelistnewmessage_ = NULL; return temp; } +inline void PokerTHMessage::set_allocated_gamelistnewmessage(::GameListNewMessage* gamelistnewmessage) { + delete gamelistnewmessage_; + gamelistnewmessage_ = gamelistnewmessage; + if (gamelistnewmessage) { + set_has_gamelistnewmessage(); + } else { + clear_has_gamelistnewmessage(); + } +} // optional .GameListUpdateMessage gameListUpdateMessage = 15; inline bool PokerTHMessage::has_gamelistupdatemessage() const { @@ -17071,7 +19048,11 @@ inline void PokerTHMessage::clear_gamelistupdatemessage() { clear_has_gamelistupdatemessage(); } inline const ::GameListUpdateMessage& PokerTHMessage::gamelistupdatemessage() const { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + return gamelistupdatemessage_ != NULL ? *gamelistupdatemessage_ : *default_instance().gamelistupdatemessage_; +#else return gamelistupdatemessage_ != NULL ? *gamelistupdatemessage_ : *default_instance_->gamelistupdatemessage_; +#endif } inline ::GameListUpdateMessage* PokerTHMessage::mutable_gamelistupdatemessage() { set_has_gamelistupdatemessage(); @@ -17084,6 +19065,15 @@ inline ::GameListUpdateMessage* PokerTHMessage::release_gamelistupdatemessage() gamelistupdatemessage_ = NULL; return temp; } +inline void PokerTHMessage::set_allocated_gamelistupdatemessage(::GameListUpdateMessage* gamelistupdatemessage) { + delete gamelistupdatemessage_; + gamelistupdatemessage_ = gamelistupdatemessage; + if (gamelistupdatemessage) { + set_has_gamelistupdatemessage(); + } else { + clear_has_gamelistupdatemessage(); + } +} // optional .GameListPlayerJoinedMessage gameListPlayerJoinedMessage = 16; inline bool PokerTHMessage::has_gamelistplayerjoinedmessage() const { @@ -17100,7 +19090,11 @@ inline void PokerTHMessage::clear_gamelistplayerjoinedmessage() { clear_has_gamelistplayerjoinedmessage(); } inline const ::GameListPlayerJoinedMessage& PokerTHMessage::gamelistplayerjoinedmessage() const { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + return gamelistplayerjoinedmessage_ != NULL ? *gamelistplayerjoinedmessage_ : *default_instance().gamelistplayerjoinedmessage_; +#else return gamelistplayerjoinedmessage_ != NULL ? *gamelistplayerjoinedmessage_ : *default_instance_->gamelistplayerjoinedmessage_; +#endif } inline ::GameListPlayerJoinedMessage* PokerTHMessage::mutable_gamelistplayerjoinedmessage() { set_has_gamelistplayerjoinedmessage(); @@ -17113,6 +19107,15 @@ inline ::GameListPlayerJoinedMessage* PokerTHMessage::release_gamelistplayerjoin gamelistplayerjoinedmessage_ = NULL; return temp; } +inline void PokerTHMessage::set_allocated_gamelistplayerjoinedmessage(::GameListPlayerJoinedMessage* gamelistplayerjoinedmessage) { + delete gamelistplayerjoinedmessage_; + gamelistplayerjoinedmessage_ = gamelistplayerjoinedmessage; + if (gamelistplayerjoinedmessage) { + set_has_gamelistplayerjoinedmessage(); + } else { + clear_has_gamelistplayerjoinedmessage(); + } +} // optional .GameListPlayerLeftMessage gameListPlayerLeftMessage = 17; inline bool PokerTHMessage::has_gamelistplayerleftmessage() const { @@ -17129,7 +19132,11 @@ inline void PokerTHMessage::clear_gamelistplayerleftmessage() { clear_has_gamelistplayerleftmessage(); } inline const ::GameListPlayerLeftMessage& PokerTHMessage::gamelistplayerleftmessage() const { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + return gamelistplayerleftmessage_ != NULL ? *gamelistplayerleftmessage_ : *default_instance().gamelistplayerleftmessage_; +#else return gamelistplayerleftmessage_ != NULL ? *gamelistplayerleftmessage_ : *default_instance_->gamelistplayerleftmessage_; +#endif } inline ::GameListPlayerLeftMessage* PokerTHMessage::mutable_gamelistplayerleftmessage() { set_has_gamelistplayerleftmessage(); @@ -17142,6 +19149,15 @@ inline ::GameListPlayerLeftMessage* PokerTHMessage::release_gamelistplayerleftme gamelistplayerleftmessage_ = NULL; return temp; } +inline void PokerTHMessage::set_allocated_gamelistplayerleftmessage(::GameListPlayerLeftMessage* gamelistplayerleftmessage) { + delete gamelistplayerleftmessage_; + gamelistplayerleftmessage_ = gamelistplayerleftmessage; + if (gamelistplayerleftmessage) { + set_has_gamelistplayerleftmessage(); + } else { + clear_has_gamelistplayerleftmessage(); + } +} // optional .GameListAdminChangedMessage gameListAdminChangedMessage = 18; inline bool PokerTHMessage::has_gamelistadminchangedmessage() const { @@ -17158,7 +19174,11 @@ inline void PokerTHMessage::clear_gamelistadminchangedmessage() { clear_has_gamelistadminchangedmessage(); } inline const ::GameListAdminChangedMessage& PokerTHMessage::gamelistadminchangedmessage() const { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + return gamelistadminchangedmessage_ != NULL ? *gamelistadminchangedmessage_ : *default_instance().gamelistadminchangedmessage_; +#else return gamelistadminchangedmessage_ != NULL ? *gamelistadminchangedmessage_ : *default_instance_->gamelistadminchangedmessage_; +#endif } inline ::GameListAdminChangedMessage* PokerTHMessage::mutable_gamelistadminchangedmessage() { set_has_gamelistadminchangedmessage(); @@ -17171,6 +19191,15 @@ inline ::GameListAdminChangedMessage* PokerTHMessage::release_gamelistadminchang gamelistadminchangedmessage_ = NULL; return temp; } +inline void PokerTHMessage::set_allocated_gamelistadminchangedmessage(::GameListAdminChangedMessage* gamelistadminchangedmessage) { + delete gamelistadminchangedmessage_; + gamelistadminchangedmessage_ = gamelistadminchangedmessage; + if (gamelistadminchangedmessage) { + set_has_gamelistadminchangedmessage(); + } else { + clear_has_gamelistadminchangedmessage(); + } +} // optional .PlayerInfoRequestMessage playerInfoRequestMessage = 19; inline bool PokerTHMessage::has_playerinforequestmessage() const { @@ -17187,7 +19216,11 @@ inline void PokerTHMessage::clear_playerinforequestmessage() { clear_has_playerinforequestmessage(); } inline const ::PlayerInfoRequestMessage& PokerTHMessage::playerinforequestmessage() const { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + return playerinforequestmessage_ != NULL ? *playerinforequestmessage_ : *default_instance().playerinforequestmessage_; +#else return playerinforequestmessage_ != NULL ? *playerinforequestmessage_ : *default_instance_->playerinforequestmessage_; +#endif } inline ::PlayerInfoRequestMessage* PokerTHMessage::mutable_playerinforequestmessage() { set_has_playerinforequestmessage(); @@ -17200,6 +19233,15 @@ inline ::PlayerInfoRequestMessage* PokerTHMessage::release_playerinforequestmess playerinforequestmessage_ = NULL; return temp; } +inline void PokerTHMessage::set_allocated_playerinforequestmessage(::PlayerInfoRequestMessage* playerinforequestmessage) { + delete playerinforequestmessage_; + playerinforequestmessage_ = playerinforequestmessage; + if (playerinforequestmessage) { + set_has_playerinforequestmessage(); + } else { + clear_has_playerinforequestmessage(); + } +} // optional .PlayerInfoReplyMessage playerInfoReplyMessage = 20; inline bool PokerTHMessage::has_playerinforeplymessage() const { @@ -17216,7 +19258,11 @@ inline void PokerTHMessage::clear_playerinforeplymessage() { clear_has_playerinforeplymessage(); } inline const ::PlayerInfoReplyMessage& PokerTHMessage::playerinforeplymessage() const { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + return playerinforeplymessage_ != NULL ? *playerinforeplymessage_ : *default_instance().playerinforeplymessage_; +#else return playerinforeplymessage_ != NULL ? *playerinforeplymessage_ : *default_instance_->playerinforeplymessage_; +#endif } inline ::PlayerInfoReplyMessage* PokerTHMessage::mutable_playerinforeplymessage() { set_has_playerinforeplymessage(); @@ -17229,6 +19275,15 @@ inline ::PlayerInfoReplyMessage* PokerTHMessage::release_playerinforeplymessage( playerinforeplymessage_ = NULL; return temp; } +inline void PokerTHMessage::set_allocated_playerinforeplymessage(::PlayerInfoReplyMessage* playerinforeplymessage) { + delete playerinforeplymessage_; + playerinforeplymessage_ = playerinforeplymessage; + if (playerinforeplymessage) { + set_has_playerinforeplymessage(); + } else { + clear_has_playerinforeplymessage(); + } +} // optional .SubscriptionRequestMessage subscriptionRequestMessage = 21; inline bool PokerTHMessage::has_subscriptionrequestmessage() const { @@ -17245,7 +19300,11 @@ inline void PokerTHMessage::clear_subscriptionrequestmessage() { clear_has_subscriptionrequestmessage(); } inline const ::SubscriptionRequestMessage& PokerTHMessage::subscriptionrequestmessage() const { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + return subscriptionrequestmessage_ != NULL ? *subscriptionrequestmessage_ : *default_instance().subscriptionrequestmessage_; +#else return subscriptionrequestmessage_ != NULL ? *subscriptionrequestmessage_ : *default_instance_->subscriptionrequestmessage_; +#endif } inline ::SubscriptionRequestMessage* PokerTHMessage::mutable_subscriptionrequestmessage() { set_has_subscriptionrequestmessage(); @@ -17258,6 +19317,15 @@ inline ::SubscriptionRequestMessage* PokerTHMessage::release_subscriptionrequest subscriptionrequestmessage_ = NULL; return temp; } +inline void PokerTHMessage::set_allocated_subscriptionrequestmessage(::SubscriptionRequestMessage* subscriptionrequestmessage) { + delete subscriptionrequestmessage_; + subscriptionrequestmessage_ = subscriptionrequestmessage; + if (subscriptionrequestmessage) { + set_has_subscriptionrequestmessage(); + } else { + clear_has_subscriptionrequestmessage(); + } +} // optional .JoinExistingGameMessage joinExistingGameMessage = 22; inline bool PokerTHMessage::has_joinexistinggamemessage() const { @@ -17274,7 +19342,11 @@ inline void PokerTHMessage::clear_joinexistinggamemessage() { clear_has_joinexistinggamemessage(); } inline const ::JoinExistingGameMessage& PokerTHMessage::joinexistinggamemessage() const { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + return joinexistinggamemessage_ != NULL ? *joinexistinggamemessage_ : *default_instance().joinexistinggamemessage_; +#else return joinexistinggamemessage_ != NULL ? *joinexistinggamemessage_ : *default_instance_->joinexistinggamemessage_; +#endif } inline ::JoinExistingGameMessage* PokerTHMessage::mutable_joinexistinggamemessage() { set_has_joinexistinggamemessage(); @@ -17287,6 +19359,15 @@ inline ::JoinExistingGameMessage* PokerTHMessage::release_joinexistinggamemessag joinexistinggamemessage_ = NULL; return temp; } +inline void PokerTHMessage::set_allocated_joinexistinggamemessage(::JoinExistingGameMessage* joinexistinggamemessage) { + delete joinexistinggamemessage_; + joinexistinggamemessage_ = joinexistinggamemessage; + if (joinexistinggamemessage) { + set_has_joinexistinggamemessage(); + } else { + clear_has_joinexistinggamemessage(); + } +} // optional .JoinNewGameMessage joinNewGameMessage = 23; inline bool PokerTHMessage::has_joinnewgamemessage() const { @@ -17303,7 +19384,11 @@ inline void PokerTHMessage::clear_joinnewgamemessage() { clear_has_joinnewgamemessage(); } inline const ::JoinNewGameMessage& PokerTHMessage::joinnewgamemessage() const { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + return joinnewgamemessage_ != NULL ? *joinnewgamemessage_ : *default_instance().joinnewgamemessage_; +#else return joinnewgamemessage_ != NULL ? *joinnewgamemessage_ : *default_instance_->joinnewgamemessage_; +#endif } inline ::JoinNewGameMessage* PokerTHMessage::mutable_joinnewgamemessage() { set_has_joinnewgamemessage(); @@ -17316,6 +19401,15 @@ inline ::JoinNewGameMessage* PokerTHMessage::release_joinnewgamemessage() { joinnewgamemessage_ = NULL; return temp; } +inline void PokerTHMessage::set_allocated_joinnewgamemessage(::JoinNewGameMessage* joinnewgamemessage) { + delete joinnewgamemessage_; + joinnewgamemessage_ = joinnewgamemessage; + if (joinnewgamemessage) { + set_has_joinnewgamemessage(); + } else { + clear_has_joinnewgamemessage(); + } +} // optional .RejoinExistingGameMessage rejoinExistingGameMessage = 24; inline bool PokerTHMessage::has_rejoinexistinggamemessage() const { @@ -17332,7 +19426,11 @@ inline void PokerTHMessage::clear_rejoinexistinggamemessage() { clear_has_rejoinexistinggamemessage(); } inline const ::RejoinExistingGameMessage& PokerTHMessage::rejoinexistinggamemessage() const { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + return rejoinexistinggamemessage_ != NULL ? *rejoinexistinggamemessage_ : *default_instance().rejoinexistinggamemessage_; +#else return rejoinexistinggamemessage_ != NULL ? *rejoinexistinggamemessage_ : *default_instance_->rejoinexistinggamemessage_; +#endif } inline ::RejoinExistingGameMessage* PokerTHMessage::mutable_rejoinexistinggamemessage() { set_has_rejoinexistinggamemessage(); @@ -17345,6 +19443,15 @@ inline ::RejoinExistingGameMessage* PokerTHMessage::release_rejoinexistinggameme rejoinexistinggamemessage_ = NULL; return temp; } +inline void PokerTHMessage::set_allocated_rejoinexistinggamemessage(::RejoinExistingGameMessage* rejoinexistinggamemessage) { + delete rejoinexistinggamemessage_; + rejoinexistinggamemessage_ = rejoinexistinggamemessage; + if (rejoinexistinggamemessage) { + set_has_rejoinexistinggamemessage(); + } else { + clear_has_rejoinexistinggamemessage(); + } +} // optional .JoinGameAckMessage joinGameAckMessage = 25; inline bool PokerTHMessage::has_joingameackmessage() const { @@ -17361,7 +19468,11 @@ inline void PokerTHMessage::clear_joingameackmessage() { clear_has_joingameackmessage(); } inline const ::JoinGameAckMessage& PokerTHMessage::joingameackmessage() const { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + return joingameackmessage_ != NULL ? *joingameackmessage_ : *default_instance().joingameackmessage_; +#else return joingameackmessage_ != NULL ? *joingameackmessage_ : *default_instance_->joingameackmessage_; +#endif } inline ::JoinGameAckMessage* PokerTHMessage::mutable_joingameackmessage() { set_has_joingameackmessage(); @@ -17374,6 +19485,15 @@ inline ::JoinGameAckMessage* PokerTHMessage::release_joingameackmessage() { joingameackmessage_ = NULL; return temp; } +inline void PokerTHMessage::set_allocated_joingameackmessage(::JoinGameAckMessage* joingameackmessage) { + delete joingameackmessage_; + joingameackmessage_ = joingameackmessage; + if (joingameackmessage) { + set_has_joingameackmessage(); + } else { + clear_has_joingameackmessage(); + } +} // optional .JoinGameFailedMessage joinGameFailedMessage = 26; inline bool PokerTHMessage::has_joingamefailedmessage() const { @@ -17390,7 +19510,11 @@ inline void PokerTHMessage::clear_joingamefailedmessage() { clear_has_joingamefailedmessage(); } inline const ::JoinGameFailedMessage& PokerTHMessage::joingamefailedmessage() const { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + return joingamefailedmessage_ != NULL ? *joingamefailedmessage_ : *default_instance().joingamefailedmessage_; +#else return joingamefailedmessage_ != NULL ? *joingamefailedmessage_ : *default_instance_->joingamefailedmessage_; +#endif } inline ::JoinGameFailedMessage* PokerTHMessage::mutable_joingamefailedmessage() { set_has_joingamefailedmessage(); @@ -17403,6 +19527,15 @@ inline ::JoinGameFailedMessage* PokerTHMessage::release_joingamefailedmessage() joingamefailedmessage_ = NULL; return temp; } +inline void PokerTHMessage::set_allocated_joingamefailedmessage(::JoinGameFailedMessage* joingamefailedmessage) { + delete joingamefailedmessage_; + joingamefailedmessage_ = joingamefailedmessage; + if (joingamefailedmessage) { + set_has_joingamefailedmessage(); + } else { + clear_has_joingamefailedmessage(); + } +} // optional .GamePlayerJoinedMessage gamePlayerJoinedMessage = 27; inline bool PokerTHMessage::has_gameplayerjoinedmessage() const { @@ -17419,7 +19552,11 @@ inline void PokerTHMessage::clear_gameplayerjoinedmessage() { clear_has_gameplayerjoinedmessage(); } inline const ::GamePlayerJoinedMessage& PokerTHMessage::gameplayerjoinedmessage() const { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + return gameplayerjoinedmessage_ != NULL ? *gameplayerjoinedmessage_ : *default_instance().gameplayerjoinedmessage_; +#else return gameplayerjoinedmessage_ != NULL ? *gameplayerjoinedmessage_ : *default_instance_->gameplayerjoinedmessage_; +#endif } inline ::GamePlayerJoinedMessage* PokerTHMessage::mutable_gameplayerjoinedmessage() { set_has_gameplayerjoinedmessage(); @@ -17432,6 +19569,15 @@ inline ::GamePlayerJoinedMessage* PokerTHMessage::release_gameplayerjoinedmessag gameplayerjoinedmessage_ = NULL; return temp; } +inline void PokerTHMessage::set_allocated_gameplayerjoinedmessage(::GamePlayerJoinedMessage* gameplayerjoinedmessage) { + delete gameplayerjoinedmessage_; + gameplayerjoinedmessage_ = gameplayerjoinedmessage; + if (gameplayerjoinedmessage) { + set_has_gameplayerjoinedmessage(); + } else { + clear_has_gameplayerjoinedmessage(); + } +} // optional .GamePlayerLeftMessage gamePlayerLeftMessage = 28; inline bool PokerTHMessage::has_gameplayerleftmessage() const { @@ -17448,7 +19594,11 @@ inline void PokerTHMessage::clear_gameplayerleftmessage() { clear_has_gameplayerleftmessage(); } inline const ::GamePlayerLeftMessage& PokerTHMessage::gameplayerleftmessage() const { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + return gameplayerleftmessage_ != NULL ? *gameplayerleftmessage_ : *default_instance().gameplayerleftmessage_; +#else return gameplayerleftmessage_ != NULL ? *gameplayerleftmessage_ : *default_instance_->gameplayerleftmessage_; +#endif } inline ::GamePlayerLeftMessage* PokerTHMessage::mutable_gameplayerleftmessage() { set_has_gameplayerleftmessage(); @@ -17461,6 +19611,15 @@ inline ::GamePlayerLeftMessage* PokerTHMessage::release_gameplayerleftmessage() gameplayerleftmessage_ = NULL; return temp; } +inline void PokerTHMessage::set_allocated_gameplayerleftmessage(::GamePlayerLeftMessage* gameplayerleftmessage) { + delete gameplayerleftmessage_; + gameplayerleftmessage_ = gameplayerleftmessage; + if (gameplayerleftmessage) { + set_has_gameplayerleftmessage(); + } else { + clear_has_gameplayerleftmessage(); + } +} // optional .GameAdminChangedMessage gameAdminChangedMessage = 29; inline bool PokerTHMessage::has_gameadminchangedmessage() const { @@ -17477,7 +19636,11 @@ inline void PokerTHMessage::clear_gameadminchangedmessage() { clear_has_gameadminchangedmessage(); } inline const ::GameAdminChangedMessage& PokerTHMessage::gameadminchangedmessage() const { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + return gameadminchangedmessage_ != NULL ? *gameadminchangedmessage_ : *default_instance().gameadminchangedmessage_; +#else return gameadminchangedmessage_ != NULL ? *gameadminchangedmessage_ : *default_instance_->gameadminchangedmessage_; +#endif } inline ::GameAdminChangedMessage* PokerTHMessage::mutable_gameadminchangedmessage() { set_has_gameadminchangedmessage(); @@ -17490,6 +19653,15 @@ inline ::GameAdminChangedMessage* PokerTHMessage::release_gameadminchangedmessag gameadminchangedmessage_ = NULL; return temp; } +inline void PokerTHMessage::set_allocated_gameadminchangedmessage(::GameAdminChangedMessage* gameadminchangedmessage) { + delete gameadminchangedmessage_; + gameadminchangedmessage_ = gameadminchangedmessage; + if (gameadminchangedmessage) { + set_has_gameadminchangedmessage(); + } else { + clear_has_gameadminchangedmessage(); + } +} // optional .RemovedFromGameMessage removedFromGameMessage = 30; inline bool PokerTHMessage::has_removedfromgamemessage() const { @@ -17506,7 +19678,11 @@ inline void PokerTHMessage::clear_removedfromgamemessage() { clear_has_removedfromgamemessage(); } inline const ::RemovedFromGameMessage& PokerTHMessage::removedfromgamemessage() const { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + return removedfromgamemessage_ != NULL ? *removedfromgamemessage_ : *default_instance().removedfromgamemessage_; +#else return removedfromgamemessage_ != NULL ? *removedfromgamemessage_ : *default_instance_->removedfromgamemessage_; +#endif } inline ::RemovedFromGameMessage* PokerTHMessage::mutable_removedfromgamemessage() { set_has_removedfromgamemessage(); @@ -17519,6 +19695,15 @@ inline ::RemovedFromGameMessage* PokerTHMessage::release_removedfromgamemessage( removedfromgamemessage_ = NULL; return temp; } +inline void PokerTHMessage::set_allocated_removedfromgamemessage(::RemovedFromGameMessage* removedfromgamemessage) { + delete removedfromgamemessage_; + removedfromgamemessage_ = removedfromgamemessage; + if (removedfromgamemessage) { + set_has_removedfromgamemessage(); + } else { + clear_has_removedfromgamemessage(); + } +} // optional .KickPlayerRequestMessage kickPlayerRequestMessage = 31; inline bool PokerTHMessage::has_kickplayerrequestmessage() const { @@ -17535,7 +19720,11 @@ inline void PokerTHMessage::clear_kickplayerrequestmessage() { clear_has_kickplayerrequestmessage(); } inline const ::KickPlayerRequestMessage& PokerTHMessage::kickplayerrequestmessage() const { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + return kickplayerrequestmessage_ != NULL ? *kickplayerrequestmessage_ : *default_instance().kickplayerrequestmessage_; +#else return kickplayerrequestmessage_ != NULL ? *kickplayerrequestmessage_ : *default_instance_->kickplayerrequestmessage_; +#endif } inline ::KickPlayerRequestMessage* PokerTHMessage::mutable_kickplayerrequestmessage() { set_has_kickplayerrequestmessage(); @@ -17548,6 +19737,15 @@ inline ::KickPlayerRequestMessage* PokerTHMessage::release_kickplayerrequestmess kickplayerrequestmessage_ = NULL; return temp; } +inline void PokerTHMessage::set_allocated_kickplayerrequestmessage(::KickPlayerRequestMessage* kickplayerrequestmessage) { + delete kickplayerrequestmessage_; + kickplayerrequestmessage_ = kickplayerrequestmessage; + if (kickplayerrequestmessage) { + set_has_kickplayerrequestmessage(); + } else { + clear_has_kickplayerrequestmessage(); + } +} // optional .LeaveGameRequestMessage leaveGameRequestMessage = 32; inline bool PokerTHMessage::has_leavegamerequestmessage() const { @@ -17564,7 +19762,11 @@ inline void PokerTHMessage::clear_leavegamerequestmessage() { clear_has_leavegamerequestmessage(); } inline const ::LeaveGameRequestMessage& PokerTHMessage::leavegamerequestmessage() const { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + return leavegamerequestmessage_ != NULL ? *leavegamerequestmessage_ : *default_instance().leavegamerequestmessage_; +#else return leavegamerequestmessage_ != NULL ? *leavegamerequestmessage_ : *default_instance_->leavegamerequestmessage_; +#endif } inline ::LeaveGameRequestMessage* PokerTHMessage::mutable_leavegamerequestmessage() { set_has_leavegamerequestmessage(); @@ -17577,6 +19779,15 @@ inline ::LeaveGameRequestMessage* PokerTHMessage::release_leavegamerequestmessag leavegamerequestmessage_ = NULL; return temp; } +inline void PokerTHMessage::set_allocated_leavegamerequestmessage(::LeaveGameRequestMessage* leavegamerequestmessage) { + delete leavegamerequestmessage_; + leavegamerequestmessage_ = leavegamerequestmessage; + if (leavegamerequestmessage) { + set_has_leavegamerequestmessage(); + } else { + clear_has_leavegamerequestmessage(); + } +} // optional .InvitePlayerToGameMessage invitePlayerToGameMessage = 33; inline bool PokerTHMessage::has_inviteplayertogamemessage() const { @@ -17593,7 +19804,11 @@ inline void PokerTHMessage::clear_inviteplayertogamemessage() { clear_has_inviteplayertogamemessage(); } inline const ::InvitePlayerToGameMessage& PokerTHMessage::inviteplayertogamemessage() const { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + return inviteplayertogamemessage_ != NULL ? *inviteplayertogamemessage_ : *default_instance().inviteplayertogamemessage_; +#else return inviteplayertogamemessage_ != NULL ? *inviteplayertogamemessage_ : *default_instance_->inviteplayertogamemessage_; +#endif } inline ::InvitePlayerToGameMessage* PokerTHMessage::mutable_inviteplayertogamemessage() { set_has_inviteplayertogamemessage(); @@ -17606,6 +19821,15 @@ inline ::InvitePlayerToGameMessage* PokerTHMessage::release_inviteplayertogameme inviteplayertogamemessage_ = NULL; return temp; } +inline void PokerTHMessage::set_allocated_inviteplayertogamemessage(::InvitePlayerToGameMessage* inviteplayertogamemessage) { + delete inviteplayertogamemessage_; + inviteplayertogamemessage_ = inviteplayertogamemessage; + if (inviteplayertogamemessage) { + set_has_inviteplayertogamemessage(); + } else { + clear_has_inviteplayertogamemessage(); + } +} // optional .InviteNotifyMessage inviteNotifyMessage = 34; inline bool PokerTHMessage::has_invitenotifymessage() const { @@ -17622,7 +19846,11 @@ inline void PokerTHMessage::clear_invitenotifymessage() { clear_has_invitenotifymessage(); } inline const ::InviteNotifyMessage& PokerTHMessage::invitenotifymessage() const { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + return invitenotifymessage_ != NULL ? *invitenotifymessage_ : *default_instance().invitenotifymessage_; +#else return invitenotifymessage_ != NULL ? *invitenotifymessage_ : *default_instance_->invitenotifymessage_; +#endif } inline ::InviteNotifyMessage* PokerTHMessage::mutable_invitenotifymessage() { set_has_invitenotifymessage(); @@ -17635,6 +19863,15 @@ inline ::InviteNotifyMessage* PokerTHMessage::release_invitenotifymessage() { invitenotifymessage_ = NULL; return temp; } +inline void PokerTHMessage::set_allocated_invitenotifymessage(::InviteNotifyMessage* invitenotifymessage) { + delete invitenotifymessage_; + invitenotifymessage_ = invitenotifymessage; + if (invitenotifymessage) { + set_has_invitenotifymessage(); + } else { + clear_has_invitenotifymessage(); + } +} // optional .RejectGameInvitationMessage rejectGameInvitationMessage = 35; inline bool PokerTHMessage::has_rejectgameinvitationmessage() const { @@ -17651,7 +19888,11 @@ inline void PokerTHMessage::clear_rejectgameinvitationmessage() { clear_has_rejectgameinvitationmessage(); } inline const ::RejectGameInvitationMessage& PokerTHMessage::rejectgameinvitationmessage() const { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + return rejectgameinvitationmessage_ != NULL ? *rejectgameinvitationmessage_ : *default_instance().rejectgameinvitationmessage_; +#else return rejectgameinvitationmessage_ != NULL ? *rejectgameinvitationmessage_ : *default_instance_->rejectgameinvitationmessage_; +#endif } inline ::RejectGameInvitationMessage* PokerTHMessage::mutable_rejectgameinvitationmessage() { set_has_rejectgameinvitationmessage(); @@ -17664,6 +19905,15 @@ inline ::RejectGameInvitationMessage* PokerTHMessage::release_rejectgameinvitati rejectgameinvitationmessage_ = NULL; return temp; } +inline void PokerTHMessage::set_allocated_rejectgameinvitationmessage(::RejectGameInvitationMessage* rejectgameinvitationmessage) { + delete rejectgameinvitationmessage_; + rejectgameinvitationmessage_ = rejectgameinvitationmessage; + if (rejectgameinvitationmessage) { + set_has_rejectgameinvitationmessage(); + } else { + clear_has_rejectgameinvitationmessage(); + } +} // optional .RejectInvNotifyMessage rejectInvNotifyMessage = 36; inline bool PokerTHMessage::has_rejectinvnotifymessage() const { @@ -17680,7 +19930,11 @@ inline void PokerTHMessage::clear_rejectinvnotifymessage() { clear_has_rejectinvnotifymessage(); } inline const ::RejectInvNotifyMessage& PokerTHMessage::rejectinvnotifymessage() const { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + return rejectinvnotifymessage_ != NULL ? *rejectinvnotifymessage_ : *default_instance().rejectinvnotifymessage_; +#else return rejectinvnotifymessage_ != NULL ? *rejectinvnotifymessage_ : *default_instance_->rejectinvnotifymessage_; +#endif } inline ::RejectInvNotifyMessage* PokerTHMessage::mutable_rejectinvnotifymessage() { set_has_rejectinvnotifymessage(); @@ -17693,6 +19947,15 @@ inline ::RejectInvNotifyMessage* PokerTHMessage::release_rejectinvnotifymessage( rejectinvnotifymessage_ = NULL; return temp; } +inline void PokerTHMessage::set_allocated_rejectinvnotifymessage(::RejectInvNotifyMessage* rejectinvnotifymessage) { + delete rejectinvnotifymessage_; + rejectinvnotifymessage_ = rejectinvnotifymessage; + if (rejectinvnotifymessage) { + set_has_rejectinvnotifymessage(); + } else { + clear_has_rejectinvnotifymessage(); + } +} // optional .StartEventMessage startEventMessage = 37; inline bool PokerTHMessage::has_starteventmessage() const { @@ -17709,7 +19972,11 @@ inline void PokerTHMessage::clear_starteventmessage() { clear_has_starteventmessage(); } inline const ::StartEventMessage& PokerTHMessage::starteventmessage() const { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + return starteventmessage_ != NULL ? *starteventmessage_ : *default_instance().starteventmessage_; +#else return starteventmessage_ != NULL ? *starteventmessage_ : *default_instance_->starteventmessage_; +#endif } inline ::StartEventMessage* PokerTHMessage::mutable_starteventmessage() { set_has_starteventmessage(); @@ -17722,6 +19989,15 @@ inline ::StartEventMessage* PokerTHMessage::release_starteventmessage() { starteventmessage_ = NULL; return temp; } +inline void PokerTHMessage::set_allocated_starteventmessage(::StartEventMessage* starteventmessage) { + delete starteventmessage_; + starteventmessage_ = starteventmessage; + if (starteventmessage) { + set_has_starteventmessage(); + } else { + clear_has_starteventmessage(); + } +} // optional .StartEventAckMessage startEventAckMessage = 38; inline bool PokerTHMessage::has_starteventackmessage() const { @@ -17738,7 +20014,11 @@ inline void PokerTHMessage::clear_starteventackmessage() { clear_has_starteventackmessage(); } inline const ::StartEventAckMessage& PokerTHMessage::starteventackmessage() const { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + return starteventackmessage_ != NULL ? *starteventackmessage_ : *default_instance().starteventackmessage_; +#else return starteventackmessage_ != NULL ? *starteventackmessage_ : *default_instance_->starteventackmessage_; +#endif } inline ::StartEventAckMessage* PokerTHMessage::mutable_starteventackmessage() { set_has_starteventackmessage(); @@ -17751,6 +20031,15 @@ inline ::StartEventAckMessage* PokerTHMessage::release_starteventackmessage() { starteventackmessage_ = NULL; return temp; } +inline void PokerTHMessage::set_allocated_starteventackmessage(::StartEventAckMessage* starteventackmessage) { + delete starteventackmessage_; + starteventackmessage_ = starteventackmessage; + if (starteventackmessage) { + set_has_starteventackmessage(); + } else { + clear_has_starteventackmessage(); + } +} // optional .GameStartInitialMessage gameStartInitialMessage = 39; inline bool PokerTHMessage::has_gamestartinitialmessage() const { @@ -17767,7 +20056,11 @@ inline void PokerTHMessage::clear_gamestartinitialmessage() { clear_has_gamestartinitialmessage(); } inline const ::GameStartInitialMessage& PokerTHMessage::gamestartinitialmessage() const { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + return gamestartinitialmessage_ != NULL ? *gamestartinitialmessage_ : *default_instance().gamestartinitialmessage_; +#else return gamestartinitialmessage_ != NULL ? *gamestartinitialmessage_ : *default_instance_->gamestartinitialmessage_; +#endif } inline ::GameStartInitialMessage* PokerTHMessage::mutable_gamestartinitialmessage() { set_has_gamestartinitialmessage(); @@ -17780,6 +20073,15 @@ inline ::GameStartInitialMessage* PokerTHMessage::release_gamestartinitialmessag gamestartinitialmessage_ = NULL; return temp; } +inline void PokerTHMessage::set_allocated_gamestartinitialmessage(::GameStartInitialMessage* gamestartinitialmessage) { + delete gamestartinitialmessage_; + gamestartinitialmessage_ = gamestartinitialmessage; + if (gamestartinitialmessage) { + set_has_gamestartinitialmessage(); + } else { + clear_has_gamestartinitialmessage(); + } +} // optional .GameStartRejoinMessage gameStartRejoinMessage = 40; inline bool PokerTHMessage::has_gamestartrejoinmessage() const { @@ -17796,7 +20098,11 @@ inline void PokerTHMessage::clear_gamestartrejoinmessage() { clear_has_gamestartrejoinmessage(); } inline const ::GameStartRejoinMessage& PokerTHMessage::gamestartrejoinmessage() const { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + return gamestartrejoinmessage_ != NULL ? *gamestartrejoinmessage_ : *default_instance().gamestartrejoinmessage_; +#else return gamestartrejoinmessage_ != NULL ? *gamestartrejoinmessage_ : *default_instance_->gamestartrejoinmessage_; +#endif } inline ::GameStartRejoinMessage* PokerTHMessage::mutable_gamestartrejoinmessage() { set_has_gamestartrejoinmessage(); @@ -17809,6 +20115,15 @@ inline ::GameStartRejoinMessage* PokerTHMessage::release_gamestartrejoinmessage( gamestartrejoinmessage_ = NULL; return temp; } +inline void PokerTHMessage::set_allocated_gamestartrejoinmessage(::GameStartRejoinMessage* gamestartrejoinmessage) { + delete gamestartrejoinmessage_; + gamestartrejoinmessage_ = gamestartrejoinmessage; + if (gamestartrejoinmessage) { + set_has_gamestartrejoinmessage(); + } else { + clear_has_gamestartrejoinmessage(); + } +} // optional .HandStartMessage handStartMessage = 41; inline bool PokerTHMessage::has_handstartmessage() const { @@ -17825,7 +20140,11 @@ inline void PokerTHMessage::clear_handstartmessage() { clear_has_handstartmessage(); } inline const ::HandStartMessage& PokerTHMessage::handstartmessage() const { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + return handstartmessage_ != NULL ? *handstartmessage_ : *default_instance().handstartmessage_; +#else return handstartmessage_ != NULL ? *handstartmessage_ : *default_instance_->handstartmessage_; +#endif } inline ::HandStartMessage* PokerTHMessage::mutable_handstartmessage() { set_has_handstartmessage(); @@ -17838,6 +20157,15 @@ inline ::HandStartMessage* PokerTHMessage::release_handstartmessage() { handstartmessage_ = NULL; return temp; } +inline void PokerTHMessage::set_allocated_handstartmessage(::HandStartMessage* handstartmessage) { + delete handstartmessage_; + handstartmessage_ = handstartmessage; + if (handstartmessage) { + set_has_handstartmessage(); + } else { + clear_has_handstartmessage(); + } +} // optional .PlayersTurnMessage playersTurnMessage = 42; inline bool PokerTHMessage::has_playersturnmessage() const { @@ -17854,7 +20182,11 @@ inline void PokerTHMessage::clear_playersturnmessage() { clear_has_playersturnmessage(); } inline const ::PlayersTurnMessage& PokerTHMessage::playersturnmessage() const { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + return playersturnmessage_ != NULL ? *playersturnmessage_ : *default_instance().playersturnmessage_; +#else return playersturnmessage_ != NULL ? *playersturnmessage_ : *default_instance_->playersturnmessage_; +#endif } inline ::PlayersTurnMessage* PokerTHMessage::mutable_playersturnmessage() { set_has_playersturnmessage(); @@ -17867,6 +20199,15 @@ inline ::PlayersTurnMessage* PokerTHMessage::release_playersturnmessage() { playersturnmessage_ = NULL; return temp; } +inline void PokerTHMessage::set_allocated_playersturnmessage(::PlayersTurnMessage* playersturnmessage) { + delete playersturnmessage_; + playersturnmessage_ = playersturnmessage; + if (playersturnmessage) { + set_has_playersturnmessage(); + } else { + clear_has_playersturnmessage(); + } +} // optional .MyActionRequestMessage myActionRequestMessage = 43; inline bool PokerTHMessage::has_myactionrequestmessage() const { @@ -17883,7 +20224,11 @@ inline void PokerTHMessage::clear_myactionrequestmessage() { clear_has_myactionrequestmessage(); } inline const ::MyActionRequestMessage& PokerTHMessage::myactionrequestmessage() const { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + return myactionrequestmessage_ != NULL ? *myactionrequestmessage_ : *default_instance().myactionrequestmessage_; +#else return myactionrequestmessage_ != NULL ? *myactionrequestmessage_ : *default_instance_->myactionrequestmessage_; +#endif } inline ::MyActionRequestMessage* PokerTHMessage::mutable_myactionrequestmessage() { set_has_myactionrequestmessage(); @@ -17896,6 +20241,15 @@ inline ::MyActionRequestMessage* PokerTHMessage::release_myactionrequestmessage( myactionrequestmessage_ = NULL; return temp; } +inline void PokerTHMessage::set_allocated_myactionrequestmessage(::MyActionRequestMessage* myactionrequestmessage) { + delete myactionrequestmessage_; + myactionrequestmessage_ = myactionrequestmessage; + if (myactionrequestmessage) { + set_has_myactionrequestmessage(); + } else { + clear_has_myactionrequestmessage(); + } +} // optional .YourActionRejectedMessage yourActionRejectedMessage = 44; inline bool PokerTHMessage::has_youractionrejectedmessage() const { @@ -17912,7 +20266,11 @@ inline void PokerTHMessage::clear_youractionrejectedmessage() { clear_has_youractionrejectedmessage(); } inline const ::YourActionRejectedMessage& PokerTHMessage::youractionrejectedmessage() const { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + return youractionrejectedmessage_ != NULL ? *youractionrejectedmessage_ : *default_instance().youractionrejectedmessage_; +#else return youractionrejectedmessage_ != NULL ? *youractionrejectedmessage_ : *default_instance_->youractionrejectedmessage_; +#endif } inline ::YourActionRejectedMessage* PokerTHMessage::mutable_youractionrejectedmessage() { set_has_youractionrejectedmessage(); @@ -17925,6 +20283,15 @@ inline ::YourActionRejectedMessage* PokerTHMessage::release_youractionrejectedme youractionrejectedmessage_ = NULL; return temp; } +inline void PokerTHMessage::set_allocated_youractionrejectedmessage(::YourActionRejectedMessage* youractionrejectedmessage) { + delete youractionrejectedmessage_; + youractionrejectedmessage_ = youractionrejectedmessage; + if (youractionrejectedmessage) { + set_has_youractionrejectedmessage(); + } else { + clear_has_youractionrejectedmessage(); + } +} // optional .PlayersActionDoneMessage playersActionDoneMessage = 45; inline bool PokerTHMessage::has_playersactiondonemessage() const { @@ -17941,7 +20308,11 @@ inline void PokerTHMessage::clear_playersactiondonemessage() { clear_has_playersactiondonemessage(); } inline const ::PlayersActionDoneMessage& PokerTHMessage::playersactiondonemessage() const { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + return playersactiondonemessage_ != NULL ? *playersactiondonemessage_ : *default_instance().playersactiondonemessage_; +#else return playersactiondonemessage_ != NULL ? *playersactiondonemessage_ : *default_instance_->playersactiondonemessage_; +#endif } inline ::PlayersActionDoneMessage* PokerTHMessage::mutable_playersactiondonemessage() { set_has_playersactiondonemessage(); @@ -17954,6 +20325,15 @@ inline ::PlayersActionDoneMessage* PokerTHMessage::release_playersactiondonemess playersactiondonemessage_ = NULL; return temp; } +inline void PokerTHMessage::set_allocated_playersactiondonemessage(::PlayersActionDoneMessage* playersactiondonemessage) { + delete playersactiondonemessage_; + playersactiondonemessage_ = playersactiondonemessage; + if (playersactiondonemessage) { + set_has_playersactiondonemessage(); + } else { + clear_has_playersactiondonemessage(); + } +} // optional .DealFlopCardsMessage dealFlopCardsMessage = 46; inline bool PokerTHMessage::has_dealflopcardsmessage() const { @@ -17970,7 +20350,11 @@ inline void PokerTHMessage::clear_dealflopcardsmessage() { clear_has_dealflopcardsmessage(); } inline const ::DealFlopCardsMessage& PokerTHMessage::dealflopcardsmessage() const { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + return dealflopcardsmessage_ != NULL ? *dealflopcardsmessage_ : *default_instance().dealflopcardsmessage_; +#else return dealflopcardsmessage_ != NULL ? *dealflopcardsmessage_ : *default_instance_->dealflopcardsmessage_; +#endif } inline ::DealFlopCardsMessage* PokerTHMessage::mutable_dealflopcardsmessage() { set_has_dealflopcardsmessage(); @@ -17983,6 +20367,15 @@ inline ::DealFlopCardsMessage* PokerTHMessage::release_dealflopcardsmessage() { dealflopcardsmessage_ = NULL; return temp; } +inline void PokerTHMessage::set_allocated_dealflopcardsmessage(::DealFlopCardsMessage* dealflopcardsmessage) { + delete dealflopcardsmessage_; + dealflopcardsmessage_ = dealflopcardsmessage; + if (dealflopcardsmessage) { + set_has_dealflopcardsmessage(); + } else { + clear_has_dealflopcardsmessage(); + } +} // optional .DealTurnCardMessage dealTurnCardMessage = 47; inline bool PokerTHMessage::has_dealturncardmessage() const { @@ -17999,7 +20392,11 @@ inline void PokerTHMessage::clear_dealturncardmessage() { clear_has_dealturncardmessage(); } inline const ::DealTurnCardMessage& PokerTHMessage::dealturncardmessage() const { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + return dealturncardmessage_ != NULL ? *dealturncardmessage_ : *default_instance().dealturncardmessage_; +#else return dealturncardmessage_ != NULL ? *dealturncardmessage_ : *default_instance_->dealturncardmessage_; +#endif } inline ::DealTurnCardMessage* PokerTHMessage::mutable_dealturncardmessage() { set_has_dealturncardmessage(); @@ -18012,6 +20409,15 @@ inline ::DealTurnCardMessage* PokerTHMessage::release_dealturncardmessage() { dealturncardmessage_ = NULL; return temp; } +inline void PokerTHMessage::set_allocated_dealturncardmessage(::DealTurnCardMessage* dealturncardmessage) { + delete dealturncardmessage_; + dealturncardmessage_ = dealturncardmessage; + if (dealturncardmessage) { + set_has_dealturncardmessage(); + } else { + clear_has_dealturncardmessage(); + } +} // optional .DealRiverCardMessage dealRiverCardMessage = 48; inline bool PokerTHMessage::has_dealrivercardmessage() const { @@ -18028,7 +20434,11 @@ inline void PokerTHMessage::clear_dealrivercardmessage() { clear_has_dealrivercardmessage(); } inline const ::DealRiverCardMessage& PokerTHMessage::dealrivercardmessage() const { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + return dealrivercardmessage_ != NULL ? *dealrivercardmessage_ : *default_instance().dealrivercardmessage_; +#else return dealrivercardmessage_ != NULL ? *dealrivercardmessage_ : *default_instance_->dealrivercardmessage_; +#endif } inline ::DealRiverCardMessage* PokerTHMessage::mutable_dealrivercardmessage() { set_has_dealrivercardmessage(); @@ -18041,6 +20451,15 @@ inline ::DealRiverCardMessage* PokerTHMessage::release_dealrivercardmessage() { dealrivercardmessage_ = NULL; return temp; } +inline void PokerTHMessage::set_allocated_dealrivercardmessage(::DealRiverCardMessage* dealrivercardmessage) { + delete dealrivercardmessage_; + dealrivercardmessage_ = dealrivercardmessage; + if (dealrivercardmessage) { + set_has_dealrivercardmessage(); + } else { + clear_has_dealrivercardmessage(); + } +} // optional .AllInShowCardsMessage allInShowCardsMessage = 49; inline bool PokerTHMessage::has_allinshowcardsmessage() const { @@ -18057,7 +20476,11 @@ inline void PokerTHMessage::clear_allinshowcardsmessage() { clear_has_allinshowcardsmessage(); } inline const ::AllInShowCardsMessage& PokerTHMessage::allinshowcardsmessage() const { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + return allinshowcardsmessage_ != NULL ? *allinshowcardsmessage_ : *default_instance().allinshowcardsmessage_; +#else return allinshowcardsmessage_ != NULL ? *allinshowcardsmessage_ : *default_instance_->allinshowcardsmessage_; +#endif } inline ::AllInShowCardsMessage* PokerTHMessage::mutable_allinshowcardsmessage() { set_has_allinshowcardsmessage(); @@ -18070,6 +20493,15 @@ inline ::AllInShowCardsMessage* PokerTHMessage::release_allinshowcardsmessage() allinshowcardsmessage_ = NULL; return temp; } +inline void PokerTHMessage::set_allocated_allinshowcardsmessage(::AllInShowCardsMessage* allinshowcardsmessage) { + delete allinshowcardsmessage_; + allinshowcardsmessage_ = allinshowcardsmessage; + if (allinshowcardsmessage) { + set_has_allinshowcardsmessage(); + } else { + clear_has_allinshowcardsmessage(); + } +} // optional .EndOfHandShowCardsMessage endOfHandShowCardsMessage = 50; inline bool PokerTHMessage::has_endofhandshowcardsmessage() const { @@ -18086,7 +20518,11 @@ inline void PokerTHMessage::clear_endofhandshowcardsmessage() { clear_has_endofhandshowcardsmessage(); } inline const ::EndOfHandShowCardsMessage& PokerTHMessage::endofhandshowcardsmessage() const { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + return endofhandshowcardsmessage_ != NULL ? *endofhandshowcardsmessage_ : *default_instance().endofhandshowcardsmessage_; +#else return endofhandshowcardsmessage_ != NULL ? *endofhandshowcardsmessage_ : *default_instance_->endofhandshowcardsmessage_; +#endif } inline ::EndOfHandShowCardsMessage* PokerTHMessage::mutable_endofhandshowcardsmessage() { set_has_endofhandshowcardsmessage(); @@ -18099,6 +20535,15 @@ inline ::EndOfHandShowCardsMessage* PokerTHMessage::release_endofhandshowcardsme endofhandshowcardsmessage_ = NULL; return temp; } +inline void PokerTHMessage::set_allocated_endofhandshowcardsmessage(::EndOfHandShowCardsMessage* endofhandshowcardsmessage) { + delete endofhandshowcardsmessage_; + endofhandshowcardsmessage_ = endofhandshowcardsmessage; + if (endofhandshowcardsmessage) { + set_has_endofhandshowcardsmessage(); + } else { + clear_has_endofhandshowcardsmessage(); + } +} // optional .EndOfHandHideCardsMessage endOfHandHideCardsMessage = 51; inline bool PokerTHMessage::has_endofhandhidecardsmessage() const { @@ -18115,7 +20560,11 @@ inline void PokerTHMessage::clear_endofhandhidecardsmessage() { clear_has_endofhandhidecardsmessage(); } inline const ::EndOfHandHideCardsMessage& PokerTHMessage::endofhandhidecardsmessage() const { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + return endofhandhidecardsmessage_ != NULL ? *endofhandhidecardsmessage_ : *default_instance().endofhandhidecardsmessage_; +#else return endofhandhidecardsmessage_ != NULL ? *endofhandhidecardsmessage_ : *default_instance_->endofhandhidecardsmessage_; +#endif } inline ::EndOfHandHideCardsMessage* PokerTHMessage::mutable_endofhandhidecardsmessage() { set_has_endofhandhidecardsmessage(); @@ -18128,6 +20577,15 @@ inline ::EndOfHandHideCardsMessage* PokerTHMessage::release_endofhandhidecardsme endofhandhidecardsmessage_ = NULL; return temp; } +inline void PokerTHMessage::set_allocated_endofhandhidecardsmessage(::EndOfHandHideCardsMessage* endofhandhidecardsmessage) { + delete endofhandhidecardsmessage_; + endofhandhidecardsmessage_ = endofhandhidecardsmessage; + if (endofhandhidecardsmessage) { + set_has_endofhandhidecardsmessage(); + } else { + clear_has_endofhandhidecardsmessage(); + } +} // optional .ShowMyCardsRequestMessage showMyCardsRequestMessage = 52; inline bool PokerTHMessage::has_showmycardsrequestmessage() const { @@ -18144,7 +20602,11 @@ inline void PokerTHMessage::clear_showmycardsrequestmessage() { clear_has_showmycardsrequestmessage(); } inline const ::ShowMyCardsRequestMessage& PokerTHMessage::showmycardsrequestmessage() const { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + return showmycardsrequestmessage_ != NULL ? *showmycardsrequestmessage_ : *default_instance().showmycardsrequestmessage_; +#else return showmycardsrequestmessage_ != NULL ? *showmycardsrequestmessage_ : *default_instance_->showmycardsrequestmessage_; +#endif } inline ::ShowMyCardsRequestMessage* PokerTHMessage::mutable_showmycardsrequestmessage() { set_has_showmycardsrequestmessage(); @@ -18157,6 +20619,15 @@ inline ::ShowMyCardsRequestMessage* PokerTHMessage::release_showmycardsrequestme showmycardsrequestmessage_ = NULL; return temp; } +inline void PokerTHMessage::set_allocated_showmycardsrequestmessage(::ShowMyCardsRequestMessage* showmycardsrequestmessage) { + delete showmycardsrequestmessage_; + showmycardsrequestmessage_ = showmycardsrequestmessage; + if (showmycardsrequestmessage) { + set_has_showmycardsrequestmessage(); + } else { + clear_has_showmycardsrequestmessage(); + } +} // optional .AfterHandShowCardsMessage afterHandShowCardsMessage = 53; inline bool PokerTHMessage::has_afterhandshowcardsmessage() const { @@ -18173,7 +20644,11 @@ inline void PokerTHMessage::clear_afterhandshowcardsmessage() { clear_has_afterhandshowcardsmessage(); } inline const ::AfterHandShowCardsMessage& PokerTHMessage::afterhandshowcardsmessage() const { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + return afterhandshowcardsmessage_ != NULL ? *afterhandshowcardsmessage_ : *default_instance().afterhandshowcardsmessage_; +#else return afterhandshowcardsmessage_ != NULL ? *afterhandshowcardsmessage_ : *default_instance_->afterhandshowcardsmessage_; +#endif } inline ::AfterHandShowCardsMessage* PokerTHMessage::mutable_afterhandshowcardsmessage() { set_has_afterhandshowcardsmessage(); @@ -18186,6 +20661,15 @@ inline ::AfterHandShowCardsMessage* PokerTHMessage::release_afterhandshowcardsme afterhandshowcardsmessage_ = NULL; return temp; } +inline void PokerTHMessage::set_allocated_afterhandshowcardsmessage(::AfterHandShowCardsMessage* afterhandshowcardsmessage) { + delete afterhandshowcardsmessage_; + afterhandshowcardsmessage_ = afterhandshowcardsmessage; + if (afterhandshowcardsmessage) { + set_has_afterhandshowcardsmessage(); + } else { + clear_has_afterhandshowcardsmessage(); + } +} // optional .EndOfGameMessage endOfGameMessage = 54; inline bool PokerTHMessage::has_endofgamemessage() const { @@ -18202,7 +20686,11 @@ inline void PokerTHMessage::clear_endofgamemessage() { clear_has_endofgamemessage(); } inline const ::EndOfGameMessage& PokerTHMessage::endofgamemessage() const { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + return endofgamemessage_ != NULL ? *endofgamemessage_ : *default_instance().endofgamemessage_; +#else return endofgamemessage_ != NULL ? *endofgamemessage_ : *default_instance_->endofgamemessage_; +#endif } inline ::EndOfGameMessage* PokerTHMessage::mutable_endofgamemessage() { set_has_endofgamemessage(); @@ -18215,6 +20703,15 @@ inline ::EndOfGameMessage* PokerTHMessage::release_endofgamemessage() { endofgamemessage_ = NULL; return temp; } +inline void PokerTHMessage::set_allocated_endofgamemessage(::EndOfGameMessage* endofgamemessage) { + delete endofgamemessage_; + endofgamemessage_ = endofgamemessage; + if (endofgamemessage) { + set_has_endofgamemessage(); + } else { + clear_has_endofgamemessage(); + } +} // optional .PlayerIdChangedMessage playerIdChangedMessage = 55; inline bool PokerTHMessage::has_playeridchangedmessage() const { @@ -18231,7 +20728,11 @@ inline void PokerTHMessage::clear_playeridchangedmessage() { clear_has_playeridchangedmessage(); } inline const ::PlayerIdChangedMessage& PokerTHMessage::playeridchangedmessage() const { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + return playeridchangedmessage_ != NULL ? *playeridchangedmessage_ : *default_instance().playeridchangedmessage_; +#else return playeridchangedmessage_ != NULL ? *playeridchangedmessage_ : *default_instance_->playeridchangedmessage_; +#endif } inline ::PlayerIdChangedMessage* PokerTHMessage::mutable_playeridchangedmessage() { set_has_playeridchangedmessage(); @@ -18244,6 +20745,15 @@ inline ::PlayerIdChangedMessage* PokerTHMessage::release_playeridchangedmessage( playeridchangedmessage_ = NULL; return temp; } +inline void PokerTHMessage::set_allocated_playeridchangedmessage(::PlayerIdChangedMessage* playeridchangedmessage) { + delete playeridchangedmessage_; + playeridchangedmessage_ = playeridchangedmessage; + if (playeridchangedmessage) { + set_has_playeridchangedmessage(); + } else { + clear_has_playeridchangedmessage(); + } +} // optional .AskKickPlayerMessage askKickPlayerMessage = 56; inline bool PokerTHMessage::has_askkickplayermessage() const { @@ -18260,7 +20770,11 @@ inline void PokerTHMessage::clear_askkickplayermessage() { clear_has_askkickplayermessage(); } inline const ::AskKickPlayerMessage& PokerTHMessage::askkickplayermessage() const { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + return askkickplayermessage_ != NULL ? *askkickplayermessage_ : *default_instance().askkickplayermessage_; +#else return askkickplayermessage_ != NULL ? *askkickplayermessage_ : *default_instance_->askkickplayermessage_; +#endif } inline ::AskKickPlayerMessage* PokerTHMessage::mutable_askkickplayermessage() { set_has_askkickplayermessage(); @@ -18273,6 +20787,15 @@ inline ::AskKickPlayerMessage* PokerTHMessage::release_askkickplayermessage() { askkickplayermessage_ = NULL; return temp; } +inline void PokerTHMessage::set_allocated_askkickplayermessage(::AskKickPlayerMessage* askkickplayermessage) { + delete askkickplayermessage_; + askkickplayermessage_ = askkickplayermessage; + if (askkickplayermessage) { + set_has_askkickplayermessage(); + } else { + clear_has_askkickplayermessage(); + } +} // optional .AskKickDeniedMessage askKickDeniedMessage = 57; inline bool PokerTHMessage::has_askkickdeniedmessage() const { @@ -18289,7 +20812,11 @@ inline void PokerTHMessage::clear_askkickdeniedmessage() { clear_has_askkickdeniedmessage(); } inline const ::AskKickDeniedMessage& PokerTHMessage::askkickdeniedmessage() const { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + return askkickdeniedmessage_ != NULL ? *askkickdeniedmessage_ : *default_instance().askkickdeniedmessage_; +#else return askkickdeniedmessage_ != NULL ? *askkickdeniedmessage_ : *default_instance_->askkickdeniedmessage_; +#endif } inline ::AskKickDeniedMessage* PokerTHMessage::mutable_askkickdeniedmessage() { set_has_askkickdeniedmessage(); @@ -18302,6 +20829,15 @@ inline ::AskKickDeniedMessage* PokerTHMessage::release_askkickdeniedmessage() { askkickdeniedmessage_ = NULL; return temp; } +inline void PokerTHMessage::set_allocated_askkickdeniedmessage(::AskKickDeniedMessage* askkickdeniedmessage) { + delete askkickdeniedmessage_; + askkickdeniedmessage_ = askkickdeniedmessage; + if (askkickdeniedmessage) { + set_has_askkickdeniedmessage(); + } else { + clear_has_askkickdeniedmessage(); + } +} // optional .StartKickPetitionMessage startKickPetitionMessage = 58; inline bool PokerTHMessage::has_startkickpetitionmessage() const { @@ -18318,7 +20854,11 @@ inline void PokerTHMessage::clear_startkickpetitionmessage() { clear_has_startkickpetitionmessage(); } inline const ::StartKickPetitionMessage& PokerTHMessage::startkickpetitionmessage() const { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + return startkickpetitionmessage_ != NULL ? *startkickpetitionmessage_ : *default_instance().startkickpetitionmessage_; +#else return startkickpetitionmessage_ != NULL ? *startkickpetitionmessage_ : *default_instance_->startkickpetitionmessage_; +#endif } inline ::StartKickPetitionMessage* PokerTHMessage::mutable_startkickpetitionmessage() { set_has_startkickpetitionmessage(); @@ -18331,6 +20871,15 @@ inline ::StartKickPetitionMessage* PokerTHMessage::release_startkickpetitionmess startkickpetitionmessage_ = NULL; return temp; } +inline void PokerTHMessage::set_allocated_startkickpetitionmessage(::StartKickPetitionMessage* startkickpetitionmessage) { + delete startkickpetitionmessage_; + startkickpetitionmessage_ = startkickpetitionmessage; + if (startkickpetitionmessage) { + set_has_startkickpetitionmessage(); + } else { + clear_has_startkickpetitionmessage(); + } +} // optional .VoteKickRequestMessage voteKickRequestMessage = 59; inline bool PokerTHMessage::has_votekickrequestmessage() const { @@ -18347,7 +20896,11 @@ inline void PokerTHMessage::clear_votekickrequestmessage() { clear_has_votekickrequestmessage(); } inline const ::VoteKickRequestMessage& PokerTHMessage::votekickrequestmessage() const { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + return votekickrequestmessage_ != NULL ? *votekickrequestmessage_ : *default_instance().votekickrequestmessage_; +#else return votekickrequestmessage_ != NULL ? *votekickrequestmessage_ : *default_instance_->votekickrequestmessage_; +#endif } inline ::VoteKickRequestMessage* PokerTHMessage::mutable_votekickrequestmessage() { set_has_votekickrequestmessage(); @@ -18360,6 +20913,15 @@ inline ::VoteKickRequestMessage* PokerTHMessage::release_votekickrequestmessage( votekickrequestmessage_ = NULL; return temp; } +inline void PokerTHMessage::set_allocated_votekickrequestmessage(::VoteKickRequestMessage* votekickrequestmessage) { + delete votekickrequestmessage_; + votekickrequestmessage_ = votekickrequestmessage; + if (votekickrequestmessage) { + set_has_votekickrequestmessage(); + } else { + clear_has_votekickrequestmessage(); + } +} // optional .VoteKickReplyMessage voteKickReplyMessage = 60; inline bool PokerTHMessage::has_votekickreplymessage() const { @@ -18376,7 +20938,11 @@ inline void PokerTHMessage::clear_votekickreplymessage() { clear_has_votekickreplymessage(); } inline const ::VoteKickReplyMessage& PokerTHMessage::votekickreplymessage() const { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + return votekickreplymessage_ != NULL ? *votekickreplymessage_ : *default_instance().votekickreplymessage_; +#else return votekickreplymessage_ != NULL ? *votekickreplymessage_ : *default_instance_->votekickreplymessage_; +#endif } inline ::VoteKickReplyMessage* PokerTHMessage::mutable_votekickreplymessage() { set_has_votekickreplymessage(); @@ -18389,6 +20955,15 @@ inline ::VoteKickReplyMessage* PokerTHMessage::release_votekickreplymessage() { votekickreplymessage_ = NULL; return temp; } +inline void PokerTHMessage::set_allocated_votekickreplymessage(::VoteKickReplyMessage* votekickreplymessage) { + delete votekickreplymessage_; + votekickreplymessage_ = votekickreplymessage; + if (votekickreplymessage) { + set_has_votekickreplymessage(); + } else { + clear_has_votekickreplymessage(); + } +} // optional .KickPetitionUpdateMessage kickPetitionUpdateMessage = 61; inline bool PokerTHMessage::has_kickpetitionupdatemessage() const { @@ -18405,7 +20980,11 @@ inline void PokerTHMessage::clear_kickpetitionupdatemessage() { clear_has_kickpetitionupdatemessage(); } inline const ::KickPetitionUpdateMessage& PokerTHMessage::kickpetitionupdatemessage() const { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + return kickpetitionupdatemessage_ != NULL ? *kickpetitionupdatemessage_ : *default_instance().kickpetitionupdatemessage_; +#else return kickpetitionupdatemessage_ != NULL ? *kickpetitionupdatemessage_ : *default_instance_->kickpetitionupdatemessage_; +#endif } inline ::KickPetitionUpdateMessage* PokerTHMessage::mutable_kickpetitionupdatemessage() { set_has_kickpetitionupdatemessage(); @@ -18418,6 +20997,15 @@ inline ::KickPetitionUpdateMessage* PokerTHMessage::release_kickpetitionupdateme kickpetitionupdatemessage_ = NULL; return temp; } +inline void PokerTHMessage::set_allocated_kickpetitionupdatemessage(::KickPetitionUpdateMessage* kickpetitionupdatemessage) { + delete kickpetitionupdatemessage_; + kickpetitionupdatemessage_ = kickpetitionupdatemessage; + if (kickpetitionupdatemessage) { + set_has_kickpetitionupdatemessage(); + } else { + clear_has_kickpetitionupdatemessage(); + } +} // optional .EndKickPetitionMessage endKickPetitionMessage = 62; inline bool PokerTHMessage::has_endkickpetitionmessage() const { @@ -18434,7 +21022,11 @@ inline void PokerTHMessage::clear_endkickpetitionmessage() { clear_has_endkickpetitionmessage(); } inline const ::EndKickPetitionMessage& PokerTHMessage::endkickpetitionmessage() const { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + return endkickpetitionmessage_ != NULL ? *endkickpetitionmessage_ : *default_instance().endkickpetitionmessage_; +#else return endkickpetitionmessage_ != NULL ? *endkickpetitionmessage_ : *default_instance_->endkickpetitionmessage_; +#endif } inline ::EndKickPetitionMessage* PokerTHMessage::mutable_endkickpetitionmessage() { set_has_endkickpetitionmessage(); @@ -18447,6 +21039,15 @@ inline ::EndKickPetitionMessage* PokerTHMessage::release_endkickpetitionmessage( endkickpetitionmessage_ = NULL; return temp; } +inline void PokerTHMessage::set_allocated_endkickpetitionmessage(::EndKickPetitionMessage* endkickpetitionmessage) { + delete endkickpetitionmessage_; + endkickpetitionmessage_ = endkickpetitionmessage; + if (endkickpetitionmessage) { + set_has_endkickpetitionmessage(); + } else { + clear_has_endkickpetitionmessage(); + } +} // optional .StatisticsMessage statisticsMessage = 63; inline bool PokerTHMessage::has_statisticsmessage() const { @@ -18463,7 +21064,11 @@ inline void PokerTHMessage::clear_statisticsmessage() { clear_has_statisticsmessage(); } inline const ::StatisticsMessage& PokerTHMessage::statisticsmessage() const { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + return statisticsmessage_ != NULL ? *statisticsmessage_ : *default_instance().statisticsmessage_; +#else return statisticsmessage_ != NULL ? *statisticsmessage_ : *default_instance_->statisticsmessage_; +#endif } inline ::StatisticsMessage* PokerTHMessage::mutable_statisticsmessage() { set_has_statisticsmessage(); @@ -18476,6 +21081,15 @@ inline ::StatisticsMessage* PokerTHMessage::release_statisticsmessage() { statisticsmessage_ = NULL; return temp; } +inline void PokerTHMessage::set_allocated_statisticsmessage(::StatisticsMessage* statisticsmessage) { + delete statisticsmessage_; + statisticsmessage_ = statisticsmessage; + if (statisticsmessage) { + set_has_statisticsmessage(); + } else { + clear_has_statisticsmessage(); + } +} // optional .ChatRequestMessage chatRequestMessage = 64; inline bool PokerTHMessage::has_chatrequestmessage() const { @@ -18492,7 +21106,11 @@ inline void PokerTHMessage::clear_chatrequestmessage() { clear_has_chatrequestmessage(); } inline const ::ChatRequestMessage& PokerTHMessage::chatrequestmessage() const { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + return chatrequestmessage_ != NULL ? *chatrequestmessage_ : *default_instance().chatrequestmessage_; +#else return chatrequestmessage_ != NULL ? *chatrequestmessage_ : *default_instance_->chatrequestmessage_; +#endif } inline ::ChatRequestMessage* PokerTHMessage::mutable_chatrequestmessage() { set_has_chatrequestmessage(); @@ -18505,6 +21123,15 @@ inline ::ChatRequestMessage* PokerTHMessage::release_chatrequestmessage() { chatrequestmessage_ = NULL; return temp; } +inline void PokerTHMessage::set_allocated_chatrequestmessage(::ChatRequestMessage* chatrequestmessage) { + delete chatrequestmessage_; + chatrequestmessage_ = chatrequestmessage; + if (chatrequestmessage) { + set_has_chatrequestmessage(); + } else { + clear_has_chatrequestmessage(); + } +} // optional .ChatMessage chatMessage = 65; inline bool PokerTHMessage::has_chatmessage() const { @@ -18521,7 +21148,11 @@ inline void PokerTHMessage::clear_chatmessage() { clear_has_chatmessage(); } inline const ::ChatMessage& PokerTHMessage::chatmessage() const { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + return chatmessage_ != NULL ? *chatmessage_ : *default_instance().chatmessage_; +#else return chatmessage_ != NULL ? *chatmessage_ : *default_instance_->chatmessage_; +#endif } inline ::ChatMessage* PokerTHMessage::mutable_chatmessage() { set_has_chatmessage(); @@ -18534,6 +21165,15 @@ inline ::ChatMessage* PokerTHMessage::release_chatmessage() { chatmessage_ = NULL; return temp; } +inline void PokerTHMessage::set_allocated_chatmessage(::ChatMessage* chatmessage) { + delete chatmessage_; + chatmessage_ = chatmessage; + if (chatmessage) { + set_has_chatmessage(); + } else { + clear_has_chatmessage(); + } +} // optional .ChatRejectMessage chatRejectMessage = 66; inline bool PokerTHMessage::has_chatrejectmessage() const { @@ -18550,7 +21190,11 @@ inline void PokerTHMessage::clear_chatrejectmessage() { clear_has_chatrejectmessage(); } inline const ::ChatRejectMessage& PokerTHMessage::chatrejectmessage() const { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + return chatrejectmessage_ != NULL ? *chatrejectmessage_ : *default_instance().chatrejectmessage_; +#else return chatrejectmessage_ != NULL ? *chatrejectmessage_ : *default_instance_->chatrejectmessage_; +#endif } inline ::ChatRejectMessage* PokerTHMessage::mutable_chatrejectmessage() { set_has_chatrejectmessage(); @@ -18563,6 +21207,15 @@ inline ::ChatRejectMessage* PokerTHMessage::release_chatrejectmessage() { chatrejectmessage_ = NULL; return temp; } +inline void PokerTHMessage::set_allocated_chatrejectmessage(::ChatRejectMessage* chatrejectmessage) { + delete chatrejectmessage_; + chatrejectmessage_ = chatrejectmessage; + if (chatrejectmessage) { + set_has_chatrejectmessage(); + } else { + clear_has_chatrejectmessage(); + } +} // optional .DialogMessage dialogMessage = 67; inline bool PokerTHMessage::has_dialogmessage() const { @@ -18579,7 +21232,11 @@ inline void PokerTHMessage::clear_dialogmessage() { clear_has_dialogmessage(); } inline const ::DialogMessage& PokerTHMessage::dialogmessage() const { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + return dialogmessage_ != NULL ? *dialogmessage_ : *default_instance().dialogmessage_; +#else return dialogmessage_ != NULL ? *dialogmessage_ : *default_instance_->dialogmessage_; +#endif } inline ::DialogMessage* PokerTHMessage::mutable_dialogmessage() { set_has_dialogmessage(); @@ -18592,6 +21249,15 @@ inline ::DialogMessage* PokerTHMessage::release_dialogmessage() { dialogmessage_ = NULL; return temp; } +inline void PokerTHMessage::set_allocated_dialogmessage(::DialogMessage* dialogmessage) { + delete dialogmessage_; + dialogmessage_ = dialogmessage; + if (dialogmessage) { + set_has_dialogmessage(); + } else { + clear_has_dialogmessage(); + } +} // optional .TimeoutWarningMessage timeoutWarningMessage = 68; inline bool PokerTHMessage::has_timeoutwarningmessage() const { @@ -18608,7 +21274,11 @@ inline void PokerTHMessage::clear_timeoutwarningmessage() { clear_has_timeoutwarningmessage(); } inline const ::TimeoutWarningMessage& PokerTHMessage::timeoutwarningmessage() const { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + return timeoutwarningmessage_ != NULL ? *timeoutwarningmessage_ : *default_instance().timeoutwarningmessage_; +#else return timeoutwarningmessage_ != NULL ? *timeoutwarningmessage_ : *default_instance_->timeoutwarningmessage_; +#endif } inline ::TimeoutWarningMessage* PokerTHMessage::mutable_timeoutwarningmessage() { set_has_timeoutwarningmessage(); @@ -18621,6 +21291,15 @@ inline ::TimeoutWarningMessage* PokerTHMessage::release_timeoutwarningmessage() timeoutwarningmessage_ = NULL; return temp; } +inline void PokerTHMessage::set_allocated_timeoutwarningmessage(::TimeoutWarningMessage* timeoutwarningmessage) { + delete timeoutwarningmessage_; + timeoutwarningmessage_ = timeoutwarningmessage; + if (timeoutwarningmessage) { + set_has_timeoutwarningmessage(); + } else { + clear_has_timeoutwarningmessage(); + } +} // optional .ResetTimeoutMessage resetTimeoutMessage = 69; inline bool PokerTHMessage::has_resettimeoutmessage() const { @@ -18637,7 +21316,11 @@ inline void PokerTHMessage::clear_resettimeoutmessage() { clear_has_resettimeoutmessage(); } inline const ::ResetTimeoutMessage& PokerTHMessage::resettimeoutmessage() const { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + return resettimeoutmessage_ != NULL ? *resettimeoutmessage_ : *default_instance().resettimeoutmessage_; +#else return resettimeoutmessage_ != NULL ? *resettimeoutmessage_ : *default_instance_->resettimeoutmessage_; +#endif } inline ::ResetTimeoutMessage* PokerTHMessage::mutable_resettimeoutmessage() { set_has_resettimeoutmessage(); @@ -18650,6 +21333,15 @@ inline ::ResetTimeoutMessage* PokerTHMessage::release_resettimeoutmessage() { resettimeoutmessage_ = NULL; return temp; } +inline void PokerTHMessage::set_allocated_resettimeoutmessage(::ResetTimeoutMessage* resettimeoutmessage) { + delete resettimeoutmessage_; + resettimeoutmessage_ = resettimeoutmessage; + if (resettimeoutmessage) { + set_has_resettimeoutmessage(); + } else { + clear_has_resettimeoutmessage(); + } +} // optional .ReportAvatarMessage reportAvatarMessage = 70; inline bool PokerTHMessage::has_reportavatarmessage() const { @@ -18666,7 +21358,11 @@ inline void PokerTHMessage::clear_reportavatarmessage() { clear_has_reportavatarmessage(); } inline const ::ReportAvatarMessage& PokerTHMessage::reportavatarmessage() const { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + return reportavatarmessage_ != NULL ? *reportavatarmessage_ : *default_instance().reportavatarmessage_; +#else return reportavatarmessage_ != NULL ? *reportavatarmessage_ : *default_instance_->reportavatarmessage_; +#endif } inline ::ReportAvatarMessage* PokerTHMessage::mutable_reportavatarmessage() { set_has_reportavatarmessage(); @@ -18679,6 +21375,15 @@ inline ::ReportAvatarMessage* PokerTHMessage::release_reportavatarmessage() { reportavatarmessage_ = NULL; return temp; } +inline void PokerTHMessage::set_allocated_reportavatarmessage(::ReportAvatarMessage* reportavatarmessage) { + delete reportavatarmessage_; + reportavatarmessage_ = reportavatarmessage; + if (reportavatarmessage) { + set_has_reportavatarmessage(); + } else { + clear_has_reportavatarmessage(); + } +} // optional .ReportAvatarAckMessage reportAvatarAckMessage = 71; inline bool PokerTHMessage::has_reportavatarackmessage() const { @@ -18695,7 +21400,11 @@ inline void PokerTHMessage::clear_reportavatarackmessage() { clear_has_reportavatarackmessage(); } inline const ::ReportAvatarAckMessage& PokerTHMessage::reportavatarackmessage() const { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + return reportavatarackmessage_ != NULL ? *reportavatarackmessage_ : *default_instance().reportavatarackmessage_; +#else return reportavatarackmessage_ != NULL ? *reportavatarackmessage_ : *default_instance_->reportavatarackmessage_; +#endif } inline ::ReportAvatarAckMessage* PokerTHMessage::mutable_reportavatarackmessage() { set_has_reportavatarackmessage(); @@ -18708,6 +21417,15 @@ inline ::ReportAvatarAckMessage* PokerTHMessage::release_reportavatarackmessage( reportavatarackmessage_ = NULL; return temp; } +inline void PokerTHMessage::set_allocated_reportavatarackmessage(::ReportAvatarAckMessage* reportavatarackmessage) { + delete reportavatarackmessage_; + reportavatarackmessage_ = reportavatarackmessage; + if (reportavatarackmessage) { + set_has_reportavatarackmessage(); + } else { + clear_has_reportavatarackmessage(); + } +} // optional .ReportGameMessage reportGameMessage = 72; inline bool PokerTHMessage::has_reportgamemessage() const { @@ -18724,7 +21442,11 @@ inline void PokerTHMessage::clear_reportgamemessage() { clear_has_reportgamemessage(); } inline const ::ReportGameMessage& PokerTHMessage::reportgamemessage() const { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + return reportgamemessage_ != NULL ? *reportgamemessage_ : *default_instance().reportgamemessage_; +#else return reportgamemessage_ != NULL ? *reportgamemessage_ : *default_instance_->reportgamemessage_; +#endif } inline ::ReportGameMessage* PokerTHMessage::mutable_reportgamemessage() { set_has_reportgamemessage(); @@ -18737,6 +21459,15 @@ inline ::ReportGameMessage* PokerTHMessage::release_reportgamemessage() { reportgamemessage_ = NULL; return temp; } +inline void PokerTHMessage::set_allocated_reportgamemessage(::ReportGameMessage* reportgamemessage) { + delete reportgamemessage_; + reportgamemessage_ = reportgamemessage; + if (reportgamemessage) { + set_has_reportgamemessage(); + } else { + clear_has_reportgamemessage(); + } +} // optional .ReportGameAckMessage reportGameAckMessage = 73; inline bool PokerTHMessage::has_reportgameackmessage() const { @@ -18753,7 +21484,11 @@ inline void PokerTHMessage::clear_reportgameackmessage() { clear_has_reportgameackmessage(); } inline const ::ReportGameAckMessage& PokerTHMessage::reportgameackmessage() const { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + return reportgameackmessage_ != NULL ? *reportgameackmessage_ : *default_instance().reportgameackmessage_; +#else return reportgameackmessage_ != NULL ? *reportgameackmessage_ : *default_instance_->reportgameackmessage_; +#endif } inline ::ReportGameAckMessage* PokerTHMessage::mutable_reportgameackmessage() { set_has_reportgameackmessage(); @@ -18766,6 +21501,15 @@ inline ::ReportGameAckMessage* PokerTHMessage::release_reportgameackmessage() { reportgameackmessage_ = NULL; return temp; } +inline void PokerTHMessage::set_allocated_reportgameackmessage(::ReportGameAckMessage* reportgameackmessage) { + delete reportgameackmessage_; + reportgameackmessage_ = reportgameackmessage; + if (reportgameackmessage) { + set_has_reportgameackmessage(); + } else { + clear_has_reportgameackmessage(); + } +} // optional .ErrorMessage errorMessage = 74; inline bool PokerTHMessage::has_errormessage() const { @@ -18782,7 +21526,11 @@ inline void PokerTHMessage::clear_errormessage() { clear_has_errormessage(); } inline const ::ErrorMessage& PokerTHMessage::errormessage() const { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + return errormessage_ != NULL ? *errormessage_ : *default_instance().errormessage_; +#else return errormessage_ != NULL ? *errormessage_ : *default_instance_->errormessage_; +#endif } inline ::ErrorMessage* PokerTHMessage::mutable_errormessage() { set_has_errormessage(); @@ -18795,6 +21543,15 @@ inline ::ErrorMessage* PokerTHMessage::release_errormessage() { errormessage_ = NULL; return temp; } +inline void PokerTHMessage::set_allocated_errormessage(::ErrorMessage* errormessage) { + delete errormessage_; + errormessage_ = errormessage; + if (errormessage) { + set_has_errormessage(); + } else { + clear_has_errormessage(); + } +} // optional .AdminRemoveGameMessage adminRemoveGameMessage = 75; inline bool PokerTHMessage::has_adminremovegamemessage() const { @@ -18811,7 +21568,11 @@ inline void PokerTHMessage::clear_adminremovegamemessage() { clear_has_adminremovegamemessage(); } inline const ::AdminRemoveGameMessage& PokerTHMessage::adminremovegamemessage() const { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + return adminremovegamemessage_ != NULL ? *adminremovegamemessage_ : *default_instance().adminremovegamemessage_; +#else return adminremovegamemessage_ != NULL ? *adminremovegamemessage_ : *default_instance_->adminremovegamemessage_; +#endif } inline ::AdminRemoveGameMessage* PokerTHMessage::mutable_adminremovegamemessage() { set_has_adminremovegamemessage(); @@ -18824,6 +21585,15 @@ inline ::AdminRemoveGameMessage* PokerTHMessage::release_adminremovegamemessage( adminremovegamemessage_ = NULL; return temp; } +inline void PokerTHMessage::set_allocated_adminremovegamemessage(::AdminRemoveGameMessage* adminremovegamemessage) { + delete adminremovegamemessage_; + adminremovegamemessage_ = adminremovegamemessage; + if (adminremovegamemessage) { + set_has_adminremovegamemessage(); + } else { + clear_has_adminremovegamemessage(); + } +} // optional .AdminRemoveGameAckMessage adminRemoveGameAckMessage = 76; inline bool PokerTHMessage::has_adminremovegameackmessage() const { @@ -18840,7 +21610,11 @@ inline void PokerTHMessage::clear_adminremovegameackmessage() { clear_has_adminremovegameackmessage(); } inline const ::AdminRemoveGameAckMessage& PokerTHMessage::adminremovegameackmessage() const { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + return adminremovegameackmessage_ != NULL ? *adminremovegameackmessage_ : *default_instance().adminremovegameackmessage_; +#else return adminremovegameackmessage_ != NULL ? *adminremovegameackmessage_ : *default_instance_->adminremovegameackmessage_; +#endif } inline ::AdminRemoveGameAckMessage* PokerTHMessage::mutable_adminremovegameackmessage() { set_has_adminremovegameackmessage(); @@ -18853,6 +21627,15 @@ inline ::AdminRemoveGameAckMessage* PokerTHMessage::release_adminremovegameackme adminremovegameackmessage_ = NULL; return temp; } +inline void PokerTHMessage::set_allocated_adminremovegameackmessage(::AdminRemoveGameAckMessage* adminremovegameackmessage) { + delete adminremovegameackmessage_; + adminremovegameackmessage_ = adminremovegameackmessage; + if (adminremovegameackmessage) { + set_has_adminremovegameackmessage(); + } else { + clear_has_adminremovegameackmessage(); + } +} // optional .AdminBanPlayerMessage adminBanPlayerMessage = 77; inline bool PokerTHMessage::has_adminbanplayermessage() const { @@ -18869,7 +21652,11 @@ inline void PokerTHMessage::clear_adminbanplayermessage() { clear_has_adminbanplayermessage(); } inline const ::AdminBanPlayerMessage& PokerTHMessage::adminbanplayermessage() const { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + return adminbanplayermessage_ != NULL ? *adminbanplayermessage_ : *default_instance().adminbanplayermessage_; +#else return adminbanplayermessage_ != NULL ? *adminbanplayermessage_ : *default_instance_->adminbanplayermessage_; +#endif } inline ::AdminBanPlayerMessage* PokerTHMessage::mutable_adminbanplayermessage() { set_has_adminbanplayermessage(); @@ -18882,6 +21669,15 @@ inline ::AdminBanPlayerMessage* PokerTHMessage::release_adminbanplayermessage() adminbanplayermessage_ = NULL; return temp; } +inline void PokerTHMessage::set_allocated_adminbanplayermessage(::AdminBanPlayerMessage* adminbanplayermessage) { + delete adminbanplayermessage_; + adminbanplayermessage_ = adminbanplayermessage; + if (adminbanplayermessage) { + set_has_adminbanplayermessage(); + } else { + clear_has_adminbanplayermessage(); + } +} // optional .AdminBanPlayerAckMessage adminBanPlayerAckMessage = 78; inline bool PokerTHMessage::has_adminbanplayerackmessage() const { @@ -18898,7 +21694,11 @@ inline void PokerTHMessage::clear_adminbanplayerackmessage() { clear_has_adminbanplayerackmessage(); } inline const ::AdminBanPlayerAckMessage& PokerTHMessage::adminbanplayerackmessage() const { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + return adminbanplayerackmessage_ != NULL ? *adminbanplayerackmessage_ : *default_instance().adminbanplayerackmessage_; +#else return adminbanplayerackmessage_ != NULL ? *adminbanplayerackmessage_ : *default_instance_->adminbanplayerackmessage_; +#endif } inline ::AdminBanPlayerAckMessage* PokerTHMessage::mutable_adminbanplayerackmessage() { set_has_adminbanplayerackmessage(); @@ -18911,6 +21711,15 @@ inline ::AdminBanPlayerAckMessage* PokerTHMessage::release_adminbanplayerackmess adminbanplayerackmessage_ = NULL; return temp; } +inline void PokerTHMessage::set_allocated_adminbanplayerackmessage(::AdminBanPlayerAckMessage* adminbanplayerackmessage) { + delete adminbanplayerackmessage_; + adminbanplayerackmessage_ = adminbanplayerackmessage; + if (adminbanplayerackmessage) { + set_has_adminbanplayerackmessage(); + } else { + clear_has_adminbanplayerackmessage(); + } +} // optional .GameListSpectatorJoinedMessage gameListSpectatorJoinedMessage = 79; inline bool PokerTHMessage::has_gamelistspectatorjoinedmessage() const { @@ -18927,7 +21736,11 @@ inline void PokerTHMessage::clear_gamelistspectatorjoinedmessage() { clear_has_gamelistspectatorjoinedmessage(); } inline const ::GameListSpectatorJoinedMessage& PokerTHMessage::gamelistspectatorjoinedmessage() const { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + return gamelistspectatorjoinedmessage_ != NULL ? *gamelistspectatorjoinedmessage_ : *default_instance().gamelistspectatorjoinedmessage_; +#else return gamelistspectatorjoinedmessage_ != NULL ? *gamelistspectatorjoinedmessage_ : *default_instance_->gamelistspectatorjoinedmessage_; +#endif } inline ::GameListSpectatorJoinedMessage* PokerTHMessage::mutable_gamelistspectatorjoinedmessage() { set_has_gamelistspectatorjoinedmessage(); @@ -18940,6 +21753,15 @@ inline ::GameListSpectatorJoinedMessage* PokerTHMessage::release_gamelistspectat gamelistspectatorjoinedmessage_ = NULL; return temp; } +inline void PokerTHMessage::set_allocated_gamelistspectatorjoinedmessage(::GameListSpectatorJoinedMessage* gamelistspectatorjoinedmessage) { + delete gamelistspectatorjoinedmessage_; + gamelistspectatorjoinedmessage_ = gamelistspectatorjoinedmessage; + if (gamelistspectatorjoinedmessage) { + set_has_gamelistspectatorjoinedmessage(); + } else { + clear_has_gamelistspectatorjoinedmessage(); + } +} // optional .GameListSpectatorLeftMessage gameListSpectatorLeftMessage = 80; inline bool PokerTHMessage::has_gamelistspectatorleftmessage() const { @@ -18956,7 +21778,11 @@ inline void PokerTHMessage::clear_gamelistspectatorleftmessage() { clear_has_gamelistspectatorleftmessage(); } inline const ::GameListSpectatorLeftMessage& PokerTHMessage::gamelistspectatorleftmessage() const { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + return gamelistspectatorleftmessage_ != NULL ? *gamelistspectatorleftmessage_ : *default_instance().gamelistspectatorleftmessage_; +#else return gamelistspectatorleftmessage_ != NULL ? *gamelistspectatorleftmessage_ : *default_instance_->gamelistspectatorleftmessage_; +#endif } inline ::GameListSpectatorLeftMessage* PokerTHMessage::mutable_gamelistspectatorleftmessage() { set_has_gamelistspectatorleftmessage(); @@ -18969,6 +21795,15 @@ inline ::GameListSpectatorLeftMessage* PokerTHMessage::release_gamelistspectator gamelistspectatorleftmessage_ = NULL; return temp; } +inline void PokerTHMessage::set_allocated_gamelistspectatorleftmessage(::GameListSpectatorLeftMessage* gamelistspectatorleftmessage) { + delete gamelistspectatorleftmessage_; + gamelistspectatorleftmessage_ = gamelistspectatorleftmessage; + if (gamelistspectatorleftmessage) { + set_has_gamelistspectatorleftmessage(); + } else { + clear_has_gamelistspectatorleftmessage(); + } +} // optional .GameSpectatorJoinedMessage gameSpectatorJoinedMessage = 81; inline bool PokerTHMessage::has_gamespectatorjoinedmessage() const { @@ -18985,7 +21820,11 @@ inline void PokerTHMessage::clear_gamespectatorjoinedmessage() { clear_has_gamespectatorjoinedmessage(); } inline const ::GameSpectatorJoinedMessage& PokerTHMessage::gamespectatorjoinedmessage() const { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + return gamespectatorjoinedmessage_ != NULL ? *gamespectatorjoinedmessage_ : *default_instance().gamespectatorjoinedmessage_; +#else return gamespectatorjoinedmessage_ != NULL ? *gamespectatorjoinedmessage_ : *default_instance_->gamespectatorjoinedmessage_; +#endif } inline ::GameSpectatorJoinedMessage* PokerTHMessage::mutable_gamespectatorjoinedmessage() { set_has_gamespectatorjoinedmessage(); @@ -18998,6 +21837,15 @@ inline ::GameSpectatorJoinedMessage* PokerTHMessage::release_gamespectatorjoined gamespectatorjoinedmessage_ = NULL; return temp; } +inline void PokerTHMessage::set_allocated_gamespectatorjoinedmessage(::GameSpectatorJoinedMessage* gamespectatorjoinedmessage) { + delete gamespectatorjoinedmessage_; + gamespectatorjoinedmessage_ = gamespectatorjoinedmessage; + if (gamespectatorjoinedmessage) { + set_has_gamespectatorjoinedmessage(); + } else { + clear_has_gamespectatorjoinedmessage(); + } +} // optional .GameSpectatorLeftMessage gameSpectatorLeftMessage = 82; inline bool PokerTHMessage::has_gamespectatorleftmessage() const { @@ -19014,7 +21862,11 @@ inline void PokerTHMessage::clear_gamespectatorleftmessage() { clear_has_gamespectatorleftmessage(); } inline const ::GameSpectatorLeftMessage& PokerTHMessage::gamespectatorleftmessage() const { +#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER + return gamespectatorleftmessage_ != NULL ? *gamespectatorleftmessage_ : *default_instance().gamespectatorleftmessage_; +#else return gamespectatorleftmessage_ != NULL ? *gamespectatorleftmessage_ : *default_instance_->gamespectatorleftmessage_; +#endif } inline ::GameSpectatorLeftMessage* PokerTHMessage::mutable_gamespectatorleftmessage() { set_has_gamespectatorleftmessage(); @@ -19027,6 +21879,15 @@ inline ::GameSpectatorLeftMessage* PokerTHMessage::release_gamespectatorleftmess gamespectatorleftmessage_ = NULL; return temp; } +inline void PokerTHMessage::set_allocated_gamespectatorleftmessage(::GameSpectatorLeftMessage* gamespectatorleftmessage) { + delete gamespectatorleftmessage_; + gamespectatorleftmessage_ = gamespectatorleftmessage; + if (gamespectatorleftmessage) { + set_has_gamespectatorleftmessage(); + } else { + clear_has_gamespectatorleftmessage(); + } +} // @@protoc_insertion_point(namespace_scope) diff --git a/tests/src/de/pokerth/protocol/ProtoBuf.java b/tests/src/de/pokerth/protocol/ProtoBuf.java index ed0e828d..48404e34 100644 --- a/tests/src/de/pokerth/protocol/ProtoBuf.java +++ b/tests/src/de/pokerth/protocol/ProtoBuf.java @@ -8,20 +8,41 @@ public final class ProtoBuf { public static void registerAllExtensions( com.google.protobuf.ExtensionRegistryLite registry) { } + /** + * Protobuf enum {@code NetGameMode} + */ public enum NetGameMode implements com.google.protobuf.Internal.EnumLite { + /** + * netGameCreated = 1; + */ netGameCreated(0, 1), + /** + * netGameStarted = 2; + */ netGameStarted(1, 2), + /** + * netGameClosed = 3; + */ netGameClosed(2, 3), ; - + + /** + * netGameCreated = 1; + */ public static final int netGameCreated_VALUE = 1; + /** + * netGameStarted = 2; + */ public static final int netGameStarted_VALUE = 2; + /** + * netGameClosed = 3; + */ public static final int netGameClosed_VALUE = 3; - - + + public final int getNumber() { return value; } - + public static NetGameMode valueOf(int value) { switch (value) { case 1: return netGameCreated; @@ -30,7 +51,7 @@ public final class ProtoBuf { default: return null; } } - + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; @@ -42,36 +63,75 @@ public final class ProtoBuf { return NetGameMode.valueOf(number); } }; - + private final int value; - + private NetGameMode(int index, int value) { this.value = value; } - + // @@protoc_insertion_point(enum_scope:NetGameMode) } - + + /** + * Protobuf enum {@code NetGameState} + */ public enum NetGameState implements com.google.protobuf.Internal.EnumLite { + /** + * netStatePreflop = 0; + */ netStatePreflop(0, 0), + /** + * netStateFlop = 1; + */ netStateFlop(1, 1), + /** + * netStateTurn = 2; + */ netStateTurn(2, 2), + /** + * netStateRiver = 3; + */ netStateRiver(3, 3), + /** + * netStatePreflopSmallBlind = 4; + */ netStatePreflopSmallBlind(4, 4), + /** + * netStatePreflopBigBlind = 5; + */ netStatePreflopBigBlind(5, 5), ; - + + /** + * netStatePreflop = 0; + */ public static final int netStatePreflop_VALUE = 0; + /** + * netStateFlop = 1; + */ public static final int netStateFlop_VALUE = 1; + /** + * netStateTurn = 2; + */ public static final int netStateTurn_VALUE = 2; + /** + * netStateRiver = 3; + */ public static final int netStateRiver_VALUE = 3; + /** + * netStatePreflopSmallBlind = 4; + */ public static final int netStatePreflopSmallBlind_VALUE = 4; + /** + * netStatePreflopBigBlind = 5; + */ public static final int netStatePreflopBigBlind_VALUE = 5; - - + + public final int getNumber() { return value; } - + public static NetGameState valueOf(int value) { switch (value) { case 0: return netStatePreflop; @@ -83,7 +143,7 @@ public final class ProtoBuf { default: return null; } } - + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; @@ -95,38 +155,83 @@ public final class ProtoBuf { return NetGameState.valueOf(number); } }; - + private final int value; - + private NetGameState(int index, int value) { this.value = value; } - + // @@protoc_insertion_point(enum_scope:NetGameState) } - + + /** + * Protobuf enum {@code NetPlayerAction} + */ public enum NetPlayerAction implements com.google.protobuf.Internal.EnumLite { + /** + * netActionNone = 0; + */ netActionNone(0, 0), + /** + * netActionFold = 1; + */ netActionFold(1, 1), + /** + * netActionCheck = 2; + */ netActionCheck(2, 2), + /** + * netActionCall = 3; + */ netActionCall(3, 3), + /** + * netActionBet = 4; + */ netActionBet(4, 4), + /** + * netActionRaise = 5; + */ netActionRaise(5, 5), + /** + * netActionAllIn = 6; + */ netActionAllIn(6, 6), ; - + + /** + * netActionNone = 0; + */ public static final int netActionNone_VALUE = 0; + /** + * netActionFold = 1; + */ public static final int netActionFold_VALUE = 1; + /** + * netActionCheck = 2; + */ public static final int netActionCheck_VALUE = 2; + /** + * netActionCall = 3; + */ public static final int netActionCall_VALUE = 3; + /** + * netActionBet = 4; + */ public static final int netActionBet_VALUE = 4; + /** + * netActionRaise = 5; + */ public static final int netActionRaise_VALUE = 5; + /** + * netActionAllIn = 6; + */ public static final int netActionAllIn_VALUE = 6; - - + + public final int getNumber() { return value; } - + public static NetPlayerAction valueOf(int value) { switch (value) { case 0: return netActionNone; @@ -139,7 +244,7 @@ public final class ProtoBuf { default: return null; } } - + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; @@ -151,30 +256,51 @@ public final class ProtoBuf { return NetPlayerAction.valueOf(number); } }; - + private final int value; - + private NetPlayerAction(int index, int value) { this.value = value; } - + // @@protoc_insertion_point(enum_scope:NetPlayerAction) } - + + /** + * Protobuf enum {@code NetPlayerState} + */ public enum NetPlayerState implements com.google.protobuf.Internal.EnumLite { + /** + * netPlayerStateNormal = 0; + */ netPlayerStateNormal(0, 0), + /** + * netPlayerStateSessionInactive = 1; + */ netPlayerStateSessionInactive(1, 1), + /** + * netPlayerStateNoMoney = 2; + */ netPlayerStateNoMoney(2, 2), ; - + + /** + * netPlayerStateNormal = 0; + */ public static final int netPlayerStateNormal_VALUE = 0; + /** + * netPlayerStateSessionInactive = 1; + */ public static final int netPlayerStateSessionInactive_VALUE = 1; + /** + * netPlayerStateNoMoney = 2; + */ public static final int netPlayerStateNoMoney_VALUE = 2; - - + + public final int getNumber() { return value; } - + public static NetPlayerState valueOf(int value) { switch (value) { case 0: return netPlayerStateNormal; @@ -183,7 +309,7 @@ public final class ProtoBuf { default: return null; } } - + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; @@ -195,30 +321,51 @@ public final class ProtoBuf { return NetPlayerState.valueOf(number); } }; - + private final int value; - + private NetPlayerState(int index, int value) { this.value = value; } - + // @@protoc_insertion_point(enum_scope:NetPlayerState) } - + + /** + * Protobuf enum {@code NetPlayerInfoRights} + */ public enum NetPlayerInfoRights implements com.google.protobuf.Internal.EnumLite { + /** + * netPlayerRightsGuest = 1; + */ netPlayerRightsGuest(0, 1), + /** + * netPlayerRightsNormal = 2; + */ netPlayerRightsNormal(1, 2), + /** + * netPlayerRightsAdmin = 3; + */ netPlayerRightsAdmin(2, 3), ; - + + /** + * netPlayerRightsGuest = 1; + */ public static final int netPlayerRightsGuest_VALUE = 1; + /** + * netPlayerRightsNormal = 2; + */ public static final int netPlayerRightsNormal_VALUE = 2; + /** + * netPlayerRightsAdmin = 3; + */ public static final int netPlayerRightsAdmin_VALUE = 3; - - + + public final int getNumber() { return value; } - + public static NetPlayerInfoRights valueOf(int value) { switch (value) { case 1: return netPlayerRightsGuest; @@ -227,7 +374,7 @@ public final class ProtoBuf { default: return null; } } - + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; @@ -239,30 +386,51 @@ public final class ProtoBuf { return NetPlayerInfoRights.valueOf(number); } }; - + private final int value; - + private NetPlayerInfoRights(int index, int value) { this.value = value; } - + // @@protoc_insertion_point(enum_scope:NetPlayerInfoRights) } - + + /** + * Protobuf enum {@code NetAvatarType} + */ public enum NetAvatarType implements com.google.protobuf.Internal.EnumLite { + /** + * netAvatarImagePng = 1; + */ netAvatarImagePng(0, 1), + /** + * netAvatarImageJpg = 2; + */ netAvatarImageJpg(1, 2), + /** + * netAvatarImageGif = 3; + */ netAvatarImageGif(2, 3), ; - + + /** + * netAvatarImagePng = 1; + */ public static final int netAvatarImagePng_VALUE = 1; + /** + * netAvatarImageJpg = 2; + */ public static final int netAvatarImageJpg_VALUE = 2; + /** + * netAvatarImageGif = 3; + */ public static final int netAvatarImageGif_VALUE = 3; - - + + public final int getNumber() { return value; } - + public static NetAvatarType valueOf(int value) { switch (value) { case 1: return netAvatarImagePng; @@ -271,7 +439,7 @@ public final class ProtoBuf { default: return null; } } - + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; @@ -283,918 +451,224 @@ public final class ProtoBuf { return NetAvatarType.valueOf(number); } }; - + private final int value; - + private NetAvatarType(int index, int value) { this.value = value; } - + // @@protoc_insertion_point(enum_scope:NetAvatarType) } - + public interface NetGameInfoOrBuilder extends com.google.protobuf.MessageLiteOrBuilder { - + // required string gameName = 1; + /** + * required string gameName = 1; + */ boolean hasGameName(); - String getGameName(); - + /** + * required string gameName = 1; + */ + java.lang.String getGameName(); + /** + * required string gameName = 1; + */ + com.google.protobuf.ByteString + getGameNameBytes(); + // required .NetGameInfo.NetGameType netGameType = 2; + /** + * required .NetGameInfo.NetGameType netGameType = 2; + */ boolean hasNetGameType(); + /** + * required .NetGameInfo.NetGameType netGameType = 2; + */ de.pokerth.protocol.ProtoBuf.NetGameInfo.NetGameType getNetGameType(); - + // required uint32 maxNumPlayers = 3; + /** + * required uint32 maxNumPlayers = 3; + */ boolean hasMaxNumPlayers(); + /** + * required uint32 maxNumPlayers = 3; + */ int getMaxNumPlayers(); - + // required .NetGameInfo.RaiseIntervalMode raiseIntervalMode = 4; + /** + * required .NetGameInfo.RaiseIntervalMode raiseIntervalMode = 4; + */ boolean hasRaiseIntervalMode(); + /** + * required .NetGameInfo.RaiseIntervalMode raiseIntervalMode = 4; + */ de.pokerth.protocol.ProtoBuf.NetGameInfo.RaiseIntervalMode getRaiseIntervalMode(); - + // optional uint32 raiseEveryHands = 5; + /** + * optional uint32 raiseEveryHands = 5; + */ boolean hasRaiseEveryHands(); + /** + * optional uint32 raiseEveryHands = 5; + */ int getRaiseEveryHands(); - + // optional uint32 raiseEveryMinutes = 6; + /** + * optional uint32 raiseEveryMinutes = 6; + */ boolean hasRaiseEveryMinutes(); + /** + * optional uint32 raiseEveryMinutes = 6; + */ int getRaiseEveryMinutes(); - + // required .NetGameInfo.EndRaiseMode endRaiseMode = 7; + /** + * required .NetGameInfo.EndRaiseMode endRaiseMode = 7; + */ boolean hasEndRaiseMode(); + /** + * required .NetGameInfo.EndRaiseMode endRaiseMode = 7; + */ de.pokerth.protocol.ProtoBuf.NetGameInfo.EndRaiseMode getEndRaiseMode(); - + // optional uint32 endRaiseSmallBlindValue = 8; + /** + * optional uint32 endRaiseSmallBlindValue = 8; + */ boolean hasEndRaiseSmallBlindValue(); + /** + * optional uint32 endRaiseSmallBlindValue = 8; + */ int getEndRaiseSmallBlindValue(); - + // required uint32 proposedGuiSpeed = 9; + /** + * required uint32 proposedGuiSpeed = 9; + */ boolean hasProposedGuiSpeed(); + /** + * required uint32 proposedGuiSpeed = 9; + */ int getProposedGuiSpeed(); - + // required uint32 delayBetweenHands = 10; + /** + * required uint32 delayBetweenHands = 10; + * + *
+     * These are seconds
+     * 
+ */ boolean hasDelayBetweenHands(); + /** + * required uint32 delayBetweenHands = 10; + * + *
+     * These are seconds
+     * 
+ */ int getDelayBetweenHands(); - + // required uint32 playerActionTimeout = 11; + /** + * required uint32 playerActionTimeout = 11; + * + *
+     * These are seconds
+     * 
+ */ boolean hasPlayerActionTimeout(); + /** + * required uint32 playerActionTimeout = 11; + * + *
+     * These are seconds
+     * 
+ */ int getPlayerActionTimeout(); - + // required uint32 firstSmallBlind = 12; + /** + * required uint32 firstSmallBlind = 12; + */ boolean hasFirstSmallBlind(); + /** + * required uint32 firstSmallBlind = 12; + */ int getFirstSmallBlind(); - + // required uint32 startMoney = 13; + /** + * required uint32 startMoney = 13; + */ boolean hasStartMoney(); + /** + * required uint32 startMoney = 13; + */ int getStartMoney(); - + // repeated uint32 manualBlinds = 14 [packed = true]; + /** + * repeated uint32 manualBlinds = 14 [packed = true]; + */ java.util.List getManualBlindsList(); + /** + * repeated uint32 manualBlinds = 14 [packed = true]; + */ int getManualBlindsCount(); + /** + * repeated uint32 manualBlinds = 14 [packed = true]; + */ int getManualBlinds(int index); } + /** + * Protobuf type {@code NetGameInfo} + */ public static final class NetGameInfo extends com.google.protobuf.GeneratedMessageLite implements NetGameInfoOrBuilder { // Use NetGameInfo.newBuilder() to construct. - private NetGameInfo(Builder builder) { + private NetGameInfo(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); + } private NetGameInfo(boolean noInit) {} - + private static final NetGameInfo defaultInstance; public static NetGameInfo getDefaultInstance() { return defaultInstance; } - + public NetGameInfo getDefaultInstanceForType() { return defaultInstance; } - - public enum NetGameType - implements com.google.protobuf.Internal.EnumLite { - normalGame(0, 1), - registeredOnlyGame(1, 2), - inviteOnlyGame(2, 3), - rankingGame(3, 4), - ; - - public static final int normalGame_VALUE = 1; - public static final int registeredOnlyGame_VALUE = 2; - public static final int inviteOnlyGame_VALUE = 3; - public static final int rankingGame_VALUE = 4; - - - public final int getNumber() { return value; } - - public static NetGameType valueOf(int value) { - switch (value) { - case 1: return normalGame; - case 2: return registeredOnlyGame; - case 3: return inviteOnlyGame; - case 4: return rankingGame; - default: return null; - } - } - - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { - return internalValueMap; - } - private static com.google.protobuf.Internal.EnumLiteMap - internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public NetGameType findValueByNumber(int number) { - return NetGameType.valueOf(number); - } - }; - - private final int value; - - private NetGameType(int index, int value) { - this.value = value; - } - - // @@protoc_insertion_point(enum_scope:NetGameInfo.NetGameType) - } - - public enum RaiseIntervalMode - implements com.google.protobuf.Internal.EnumLite { - raiseOnHandNum(0, 1), - raiseOnMinutes(1, 2), - ; - - public static final int raiseOnHandNum_VALUE = 1; - public static final int raiseOnMinutes_VALUE = 2; - - - public final int getNumber() { return value; } - - public static RaiseIntervalMode valueOf(int value) { - switch (value) { - case 1: return raiseOnHandNum; - case 2: return raiseOnMinutes; - default: return null; - } - } - - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { - return internalValueMap; - } - private static com.google.protobuf.Internal.EnumLiteMap - internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public RaiseIntervalMode findValueByNumber(int number) { - return RaiseIntervalMode.valueOf(number); - } - }; - - private final int value; - - private RaiseIntervalMode(int index, int value) { - this.value = value; - } - - // @@protoc_insertion_point(enum_scope:NetGameInfo.RaiseIntervalMode) - } - - public enum EndRaiseMode - implements com.google.protobuf.Internal.EnumLite { - doubleBlinds(0, 1), - raiseByEndValue(1, 2), - keepLastBlind(2, 3), - ; - - public static final int doubleBlinds_VALUE = 1; - public static final int raiseByEndValue_VALUE = 2; - public static final int keepLastBlind_VALUE = 3; - - - public final int getNumber() { return value; } - - public static EndRaiseMode valueOf(int value) { - switch (value) { - case 1: return doubleBlinds; - case 2: return raiseByEndValue; - case 3: return keepLastBlind; - default: return null; - } - } - - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { - return internalValueMap; - } - private static com.google.protobuf.Internal.EnumLiteMap - internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public EndRaiseMode findValueByNumber(int number) { - return EndRaiseMode.valueOf(number); - } - }; - - private final int value; - - private EndRaiseMode(int index, int value) { - this.value = value; - } - - // @@protoc_insertion_point(enum_scope:NetGameInfo.EndRaiseMode) - } - - private int bitField0_; - // required string gameName = 1; - public static final int GAMENAME_FIELD_NUMBER = 1; - private java.lang.Object gameName_; - public boolean hasGameName() { - return ((bitField0_ & 0x00000001) == 0x00000001); - } - public String getGameName() { - java.lang.Object ref = gameName_; - if (ref instanceof String) { - return (String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - String s = bs.toStringUtf8(); - if (com.google.protobuf.Internal.isValidUtf8(bs)) { - gameName_ = s; - } - return s; - } - } - private com.google.protobuf.ByteString getGameNameBytes() { - java.lang.Object ref = gameName_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((String) ref); - gameName_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - // required .NetGameInfo.NetGameType netGameType = 2; - public static final int NETGAMETYPE_FIELD_NUMBER = 2; - private de.pokerth.protocol.ProtoBuf.NetGameInfo.NetGameType netGameType_; - public boolean hasNetGameType() { - return ((bitField0_ & 0x00000002) == 0x00000002); - } - public de.pokerth.protocol.ProtoBuf.NetGameInfo.NetGameType getNetGameType() { - return netGameType_; - } - - // required uint32 maxNumPlayers = 3; - public static final int MAXNUMPLAYERS_FIELD_NUMBER = 3; - private int maxNumPlayers_; - public boolean hasMaxNumPlayers() { - return ((bitField0_ & 0x00000004) == 0x00000004); - } - public int getMaxNumPlayers() { - return maxNumPlayers_; - } - - // required .NetGameInfo.RaiseIntervalMode raiseIntervalMode = 4; - public static final int RAISEINTERVALMODE_FIELD_NUMBER = 4; - private de.pokerth.protocol.ProtoBuf.NetGameInfo.RaiseIntervalMode raiseIntervalMode_; - public boolean hasRaiseIntervalMode() { - return ((bitField0_ & 0x00000008) == 0x00000008); - } - public de.pokerth.protocol.ProtoBuf.NetGameInfo.RaiseIntervalMode getRaiseIntervalMode() { - return raiseIntervalMode_; - } - - // optional uint32 raiseEveryHands = 5; - public static final int RAISEEVERYHANDS_FIELD_NUMBER = 5; - private int raiseEveryHands_; - public boolean hasRaiseEveryHands() { - return ((bitField0_ & 0x00000010) == 0x00000010); - } - public int getRaiseEveryHands() { - return raiseEveryHands_; - } - - // optional uint32 raiseEveryMinutes = 6; - public static final int RAISEEVERYMINUTES_FIELD_NUMBER = 6; - private int raiseEveryMinutes_; - public boolean hasRaiseEveryMinutes() { - return ((bitField0_ & 0x00000020) == 0x00000020); - } - public int getRaiseEveryMinutes() { - return raiseEveryMinutes_; - } - - // required .NetGameInfo.EndRaiseMode endRaiseMode = 7; - public static final int ENDRAISEMODE_FIELD_NUMBER = 7; - private de.pokerth.protocol.ProtoBuf.NetGameInfo.EndRaiseMode endRaiseMode_; - public boolean hasEndRaiseMode() { - return ((bitField0_ & 0x00000040) == 0x00000040); - } - public de.pokerth.protocol.ProtoBuf.NetGameInfo.EndRaiseMode getEndRaiseMode() { - return endRaiseMode_; - } - - // optional uint32 endRaiseSmallBlindValue = 8; - public static final int ENDRAISESMALLBLINDVALUE_FIELD_NUMBER = 8; - private int endRaiseSmallBlindValue_; - public boolean hasEndRaiseSmallBlindValue() { - return ((bitField0_ & 0x00000080) == 0x00000080); - } - public int getEndRaiseSmallBlindValue() { - return endRaiseSmallBlindValue_; - } - - // required uint32 proposedGuiSpeed = 9; - public static final int PROPOSEDGUISPEED_FIELD_NUMBER = 9; - private int proposedGuiSpeed_; - public boolean hasProposedGuiSpeed() { - return ((bitField0_ & 0x00000100) == 0x00000100); - } - public int getProposedGuiSpeed() { - return proposedGuiSpeed_; - } - - // required uint32 delayBetweenHands = 10; - public static final int DELAYBETWEENHANDS_FIELD_NUMBER = 10; - private int delayBetweenHands_; - public boolean hasDelayBetweenHands() { - return ((bitField0_ & 0x00000200) == 0x00000200); - } - public int getDelayBetweenHands() { - return delayBetweenHands_; - } - - // required uint32 playerActionTimeout = 11; - public static final int PLAYERACTIONTIMEOUT_FIELD_NUMBER = 11; - private int playerActionTimeout_; - public boolean hasPlayerActionTimeout() { - return ((bitField0_ & 0x00000400) == 0x00000400); - } - public int getPlayerActionTimeout() { - return playerActionTimeout_; - } - - // required uint32 firstSmallBlind = 12; - public static final int FIRSTSMALLBLIND_FIELD_NUMBER = 12; - private int firstSmallBlind_; - public boolean hasFirstSmallBlind() { - return ((bitField0_ & 0x00000800) == 0x00000800); - } - public int getFirstSmallBlind() { - return firstSmallBlind_; - } - - // required uint32 startMoney = 13; - public static final int STARTMONEY_FIELD_NUMBER = 13; - private int startMoney_; - public boolean hasStartMoney() { - return ((bitField0_ & 0x00001000) == 0x00001000); - } - public int getStartMoney() { - return startMoney_; - } - - // repeated uint32 manualBlinds = 14 [packed = true]; - public static final int MANUALBLINDS_FIELD_NUMBER = 14; - private java.util.List manualBlinds_; - public java.util.List - getManualBlindsList() { - return manualBlinds_; - } - public int getManualBlindsCount() { - return manualBlinds_.size(); - } - public int getManualBlinds(int index) { - return manualBlinds_.get(index); - } - private int manualBlindsMemoizedSerializedSize = -1; - - private void initFields() { - gameName_ = ""; - netGameType_ = de.pokerth.protocol.ProtoBuf.NetGameInfo.NetGameType.normalGame; - maxNumPlayers_ = 0; - raiseIntervalMode_ = de.pokerth.protocol.ProtoBuf.NetGameInfo.RaiseIntervalMode.raiseOnHandNum; - raiseEveryHands_ = 0; - raiseEveryMinutes_ = 0; - endRaiseMode_ = de.pokerth.protocol.ProtoBuf.NetGameInfo.EndRaiseMode.doubleBlinds; - endRaiseSmallBlindValue_ = 0; - proposedGuiSpeed_ = 0; - delayBetweenHands_ = 0; - playerActionTimeout_ = 0; - firstSmallBlind_ = 0; - startMoney_ = 0; - manualBlinds_ = java.util.Collections.emptyList();; - } - private byte memoizedIsInitialized = -1; - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; - - if (!hasGameName()) { - memoizedIsInitialized = 0; - return false; - } - if (!hasNetGameType()) { - memoizedIsInitialized = 0; - return false; - } - if (!hasMaxNumPlayers()) { - memoizedIsInitialized = 0; - return false; - } - if (!hasRaiseIntervalMode()) { - memoizedIsInitialized = 0; - return false; - } - if (!hasEndRaiseMode()) { - memoizedIsInitialized = 0; - return false; - } - if (!hasProposedGuiSpeed()) { - memoizedIsInitialized = 0; - return false; - } - if (!hasDelayBetweenHands()) { - memoizedIsInitialized = 0; - return false; - } - if (!hasPlayerActionTimeout()) { - memoizedIsInitialized = 0; - return false; - } - if (!hasFirstSmallBlind()) { - memoizedIsInitialized = 0; - return false; - } - if (!hasStartMoney()) { - memoizedIsInitialized = 0; - return false; - } - memoizedIsInitialized = 1; - return true; - } - - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - getSerializedSize(); - if (((bitField0_ & 0x00000001) == 0x00000001)) { - output.writeBytes(1, getGameNameBytes()); - } - if (((bitField0_ & 0x00000002) == 0x00000002)) { - output.writeEnum(2, netGameType_.getNumber()); - } - if (((bitField0_ & 0x00000004) == 0x00000004)) { - output.writeUInt32(3, maxNumPlayers_); - } - if (((bitField0_ & 0x00000008) == 0x00000008)) { - output.writeEnum(4, raiseIntervalMode_.getNumber()); - } - if (((bitField0_ & 0x00000010) == 0x00000010)) { - output.writeUInt32(5, raiseEveryHands_); - } - if (((bitField0_ & 0x00000020) == 0x00000020)) { - output.writeUInt32(6, raiseEveryMinutes_); - } - if (((bitField0_ & 0x00000040) == 0x00000040)) { - output.writeEnum(7, endRaiseMode_.getNumber()); - } - if (((bitField0_ & 0x00000080) == 0x00000080)) { - output.writeUInt32(8, endRaiseSmallBlindValue_); - } - if (((bitField0_ & 0x00000100) == 0x00000100)) { - output.writeUInt32(9, proposedGuiSpeed_); - } - if (((bitField0_ & 0x00000200) == 0x00000200)) { - output.writeUInt32(10, delayBetweenHands_); - } - if (((bitField0_ & 0x00000400) == 0x00000400)) { - output.writeUInt32(11, playerActionTimeout_); - } - if (((bitField0_ & 0x00000800) == 0x00000800)) { - output.writeUInt32(12, firstSmallBlind_); - } - if (((bitField0_ & 0x00001000) == 0x00001000)) { - output.writeUInt32(13, startMoney_); - } - if (getManualBlindsList().size() > 0) { - output.writeRawVarint32(114); - output.writeRawVarint32(manualBlindsMemoizedSerializedSize); - } - for (int i = 0; i < manualBlinds_.size(); i++) { - output.writeUInt32NoTag(manualBlinds_.get(i)); - } - } - - private int memoizedSerializedSize = -1; - public int getSerializedSize() { - int size = memoizedSerializedSize; - if (size != -1) return size; - - size = 0; - if (((bitField0_ & 0x00000001) == 0x00000001)) { - size += com.google.protobuf.CodedOutputStream - .computeBytesSize(1, getGameNameBytes()); - } - if (((bitField0_ & 0x00000002) == 0x00000002)) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, netGameType_.getNumber()); - } - if (((bitField0_ & 0x00000004) == 0x00000004)) { - size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(3, maxNumPlayers_); - } - if (((bitField0_ & 0x00000008) == 0x00000008)) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(4, raiseIntervalMode_.getNumber()); - } - if (((bitField0_ & 0x00000010) == 0x00000010)) { - size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(5, raiseEveryHands_); - } - if (((bitField0_ & 0x00000020) == 0x00000020)) { - size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(6, raiseEveryMinutes_); - } - if (((bitField0_ & 0x00000040) == 0x00000040)) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(7, endRaiseMode_.getNumber()); - } - if (((bitField0_ & 0x00000080) == 0x00000080)) { - size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(8, endRaiseSmallBlindValue_); - } - if (((bitField0_ & 0x00000100) == 0x00000100)) { - size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(9, proposedGuiSpeed_); - } - if (((bitField0_ & 0x00000200) == 0x00000200)) { - size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(10, delayBetweenHands_); - } - if (((bitField0_ & 0x00000400) == 0x00000400)) { - size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(11, playerActionTimeout_); - } - if (((bitField0_ & 0x00000800) == 0x00000800)) { - size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(12, firstSmallBlind_); - } - if (((bitField0_ & 0x00001000) == 0x00001000)) { - size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(13, startMoney_); - } - { - int dataSize = 0; - for (int i = 0; i < manualBlinds_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream - .computeUInt32SizeNoTag(manualBlinds_.get(i)); - } - size += dataSize; - if (!getManualBlindsList().isEmpty()) { - size += 1; - size += com.google.protobuf.CodedOutputStream - .computeInt32SizeNoTag(dataSize); - } - manualBlindsMemoizedSerializedSize = dataSize; - } - memoizedSerializedSize = size; - return size; - } - - private static final long serialVersionUID = 0L; - @java.lang.Override - protected java.lang.Object writeReplace() - throws java.io.ObjectStreamException { - return super.writeReplace(); - } - - public static de.pokerth.protocol.ProtoBuf.NetGameInfo parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data).buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.NetGameInfo parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data, extensionRegistry) - .buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.NetGameInfo parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data).buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.NetGameInfo parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data, extensionRegistry) - .buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.NetGameInfo parseFrom(java.io.InputStream input) - throws java.io.IOException { - return newBuilder().mergeFrom(input).buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.NetGameInfo parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return newBuilder().mergeFrom(input, extensionRegistry) - .buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.NetGameInfo parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - Builder builder = newBuilder(); - if (builder.mergeDelimitedFrom(input)) { - return builder.buildParsed(); - } else { - return null; - } - } - public static de.pokerth.protocol.ProtoBuf.NetGameInfo parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - Builder builder = newBuilder(); - if (builder.mergeDelimitedFrom(input, extensionRegistry)) { - return builder.buildParsed(); - } else { - return null; - } - } - public static de.pokerth.protocol.ProtoBuf.NetGameInfo parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return newBuilder().mergeFrom(input).buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.NetGameInfo parseFrom( + + private NetGameInfo( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return newBuilder().mergeFrom(input, extensionRegistry) - .buildParsed(); - } - - public static Builder newBuilder() { return Builder.create(); } - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.NetGameInfo prototype) { - return newBuilder().mergeFrom(prototype); - } - public Builder toBuilder() { return newBuilder(this); } - - public static final class Builder extends - com.google.protobuf.GeneratedMessageLite.Builder< - de.pokerth.protocol.ProtoBuf.NetGameInfo, Builder> - implements de.pokerth.protocol.ProtoBuf.NetGameInfoOrBuilder { - // Construct using de.pokerth.protocol.ProtoBuf.NetGameInfo.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - } - private static Builder create() { - return new Builder(); - } - - public Builder clear() { - super.clear(); - gameName_ = ""; - bitField0_ = (bitField0_ & ~0x00000001); - netGameType_ = de.pokerth.protocol.ProtoBuf.NetGameInfo.NetGameType.normalGame; - bitField0_ = (bitField0_ & ~0x00000002); - maxNumPlayers_ = 0; - bitField0_ = (bitField0_ & ~0x00000004); - raiseIntervalMode_ = de.pokerth.protocol.ProtoBuf.NetGameInfo.RaiseIntervalMode.raiseOnHandNum; - bitField0_ = (bitField0_ & ~0x00000008); - raiseEveryHands_ = 0; - bitField0_ = (bitField0_ & ~0x00000010); - raiseEveryMinutes_ = 0; - bitField0_ = (bitField0_ & ~0x00000020); - endRaiseMode_ = de.pokerth.protocol.ProtoBuf.NetGameInfo.EndRaiseMode.doubleBlinds; - bitField0_ = (bitField0_ & ~0x00000040); - endRaiseSmallBlindValue_ = 0; - bitField0_ = (bitField0_ & ~0x00000080); - proposedGuiSpeed_ = 0; - bitField0_ = (bitField0_ & ~0x00000100); - delayBetweenHands_ = 0; - bitField0_ = (bitField0_ & ~0x00000200); - playerActionTimeout_ = 0; - bitField0_ = (bitField0_ & ~0x00000400); - firstSmallBlind_ = 0; - bitField0_ = (bitField0_ & ~0x00000800); - startMoney_ = 0; - bitField0_ = (bitField0_ & ~0x00001000); - manualBlinds_ = java.util.Collections.emptyList();; - bitField0_ = (bitField0_ & ~0x00002000); - return this; - } - - public Builder clone() { - return create().mergeFrom(buildPartial()); - } - - public de.pokerth.protocol.ProtoBuf.NetGameInfo getDefaultInstanceForType() { - return de.pokerth.protocol.ProtoBuf.NetGameInfo.getDefaultInstance(); - } - - public de.pokerth.protocol.ProtoBuf.NetGameInfo build() { - de.pokerth.protocol.ProtoBuf.NetGameInfo result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - private de.pokerth.protocol.ProtoBuf.NetGameInfo buildParsed() - throws com.google.protobuf.InvalidProtocolBufferException { - de.pokerth.protocol.ProtoBuf.NetGameInfo result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException( - result).asInvalidProtocolBufferException(); - } - return result; - } - - public de.pokerth.protocol.ProtoBuf.NetGameInfo buildPartial() { - de.pokerth.protocol.ProtoBuf.NetGameInfo result = new de.pokerth.protocol.ProtoBuf.NetGameInfo(this); - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) == 0x00000001)) { - to_bitField0_ |= 0x00000001; - } - result.gameName_ = gameName_; - if (((from_bitField0_ & 0x00000002) == 0x00000002)) { - to_bitField0_ |= 0x00000002; - } - result.netGameType_ = netGameType_; - if (((from_bitField0_ & 0x00000004) == 0x00000004)) { - to_bitField0_ |= 0x00000004; - } - result.maxNumPlayers_ = maxNumPlayers_; - if (((from_bitField0_ & 0x00000008) == 0x00000008)) { - to_bitField0_ |= 0x00000008; - } - result.raiseIntervalMode_ = raiseIntervalMode_; - if (((from_bitField0_ & 0x00000010) == 0x00000010)) { - to_bitField0_ |= 0x00000010; - } - result.raiseEveryHands_ = raiseEveryHands_; - if (((from_bitField0_ & 0x00000020) == 0x00000020)) { - to_bitField0_ |= 0x00000020; - } - result.raiseEveryMinutes_ = raiseEveryMinutes_; - if (((from_bitField0_ & 0x00000040) == 0x00000040)) { - to_bitField0_ |= 0x00000040; - } - result.endRaiseMode_ = endRaiseMode_; - if (((from_bitField0_ & 0x00000080) == 0x00000080)) { - to_bitField0_ |= 0x00000080; - } - result.endRaiseSmallBlindValue_ = endRaiseSmallBlindValue_; - if (((from_bitField0_ & 0x00000100) == 0x00000100)) { - to_bitField0_ |= 0x00000100; - } - result.proposedGuiSpeed_ = proposedGuiSpeed_; - if (((from_bitField0_ & 0x00000200) == 0x00000200)) { - to_bitField0_ |= 0x00000200; - } - result.delayBetweenHands_ = delayBetweenHands_; - if (((from_bitField0_ & 0x00000400) == 0x00000400)) { - to_bitField0_ |= 0x00000400; - } - result.playerActionTimeout_ = playerActionTimeout_; - if (((from_bitField0_ & 0x00000800) == 0x00000800)) { - to_bitField0_ |= 0x00000800; - } - result.firstSmallBlind_ = firstSmallBlind_; - if (((from_bitField0_ & 0x00001000) == 0x00001000)) { - to_bitField0_ |= 0x00001000; - } - result.startMoney_ = startMoney_; - if (((bitField0_ & 0x00002000) == 0x00002000)) { - manualBlinds_ = java.util.Collections.unmodifiableList(manualBlinds_); - bitField0_ = (bitField0_ & ~0x00002000); - } - result.manualBlinds_ = manualBlinds_; - result.bitField0_ = to_bitField0_; - return result; - } - - public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.NetGameInfo other) { - if (other == de.pokerth.protocol.ProtoBuf.NetGameInfo.getDefaultInstance()) return this; - if (other.hasGameName()) { - setGameName(other.getGameName()); - } - if (other.hasNetGameType()) { - setNetGameType(other.getNetGameType()); - } - if (other.hasMaxNumPlayers()) { - setMaxNumPlayers(other.getMaxNumPlayers()); - } - if (other.hasRaiseIntervalMode()) { - setRaiseIntervalMode(other.getRaiseIntervalMode()); - } - if (other.hasRaiseEveryHands()) { - setRaiseEveryHands(other.getRaiseEveryHands()); - } - if (other.hasRaiseEveryMinutes()) { - setRaiseEveryMinutes(other.getRaiseEveryMinutes()); - } - if (other.hasEndRaiseMode()) { - setEndRaiseMode(other.getEndRaiseMode()); - } - if (other.hasEndRaiseSmallBlindValue()) { - setEndRaiseSmallBlindValue(other.getEndRaiseSmallBlindValue()); - } - if (other.hasProposedGuiSpeed()) { - setProposedGuiSpeed(other.getProposedGuiSpeed()); - } - if (other.hasDelayBetweenHands()) { - setDelayBetweenHands(other.getDelayBetweenHands()); - } - if (other.hasPlayerActionTimeout()) { - setPlayerActionTimeout(other.getPlayerActionTimeout()); - } - if (other.hasFirstSmallBlind()) { - setFirstSmallBlind(other.getFirstSmallBlind()); - } - if (other.hasStartMoney()) { - setStartMoney(other.getStartMoney()); - } - if (!other.manualBlinds_.isEmpty()) { - if (manualBlinds_.isEmpty()) { - manualBlinds_ = other.manualBlinds_; - bitField0_ = (bitField0_ & ~0x00002000); - } else { - ensureManualBlindsIsMutable(); - manualBlinds_.addAll(other.manualBlinds_); - } - - } - return this; - } - - public final boolean isInitialized() { - if (!hasGameName()) { - - return false; - } - if (!hasNetGameType()) { - - return false; - } - if (!hasMaxNumPlayers()) { - - return false; - } - if (!hasRaiseIntervalMode()) { - - return false; - } - if (!hasEndRaiseMode()) { - - return false; - } - if (!hasProposedGuiSpeed()) { - - return false; - } - if (!hasDelayBetweenHands()) { - - return false; - } - if (!hasPlayerActionTimeout()) { - - return false; - } - if (!hasFirstSmallBlind()) { - - return false; - } - if (!hasStartMoney()) { - - return false; - } - return true; - } - - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - while (true) { + throws com.google.protobuf.InvalidProtocolBufferException { + initFields(); + int mutable_bitField0_ = 0; + try { + boolean done = false; + while (!done) { int tag = input.readTag(); switch (tag) { case 0: - - return this; + done = true; + break; default: { - if (!parseUnknownField(input, extensionRegistry, tag)) { - - return this; + if (!parseUnknownField(input, + extensionRegistry, tag)) { + done = true; } break; } @@ -1276,41 +750,1079 @@ public final class ProtoBuf { break; } case 112: { - ensureManualBlindsIsMutable(); + if (!((mutable_bitField0_ & 0x00002000) == 0x00002000)) { + manualBlinds_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00002000; + } manualBlinds_.add(input.readUInt32()); break; } case 114: { int length = input.readRawVarint32(); int limit = input.pushLimit(length); + if (!((mutable_bitField0_ & 0x00002000) == 0x00002000) && input.getBytesUntilLimit() > 0) { + manualBlinds_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00002000; + } while (input.getBytesUntilLimit() > 0) { - addManualBlinds(input.readUInt32()); + manualBlinds_.add(input.readUInt32()); } input.popLimit(limit); break; } } } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e.getMessage()).setUnfinishedMessage(this); + } finally { + if (((mutable_bitField0_ & 0x00002000) == 0x00002000)) { + manualBlinds_ = java.util.Collections.unmodifiableList(manualBlinds_); + } + makeExtensionsImmutable(); + } + } + public static com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + public NetGameInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new NetGameInfo(input, extensionRegistry); + } + }; + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + /** + * Protobuf enum {@code NetGameInfo.NetGameType} + */ + public enum NetGameType + implements com.google.protobuf.Internal.EnumLite { + /** + * normalGame = 1; + */ + normalGame(0, 1), + /** + * registeredOnlyGame = 2; + */ + registeredOnlyGame(1, 2), + /** + * inviteOnlyGame = 3; + */ + inviteOnlyGame(2, 3), + /** + * rankingGame = 4; + */ + rankingGame(3, 4), + ; + + /** + * normalGame = 1; + */ + public static final int normalGame_VALUE = 1; + /** + * registeredOnlyGame = 2; + */ + public static final int registeredOnlyGame_VALUE = 2; + /** + * inviteOnlyGame = 3; + */ + public static final int inviteOnlyGame_VALUE = 3; + /** + * rankingGame = 4; + */ + public static final int rankingGame_VALUE = 4; + + + public final int getNumber() { return value; } + + public static NetGameType valueOf(int value) { + switch (value) { + case 1: return normalGame; + case 2: return registeredOnlyGame; + case 3: return inviteOnlyGame; + case 4: return rankingGame; + default: return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { + return internalValueMap; + } + private static com.google.protobuf.Internal.EnumLiteMap + internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public NetGameType findValueByNumber(int number) { + return NetGameType.valueOf(number); + } + }; + + private final int value; + + private NetGameType(int index, int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:NetGameInfo.NetGameType) + } + + /** + * Protobuf enum {@code NetGameInfo.RaiseIntervalMode} + */ + public enum RaiseIntervalMode + implements com.google.protobuf.Internal.EnumLite { + /** + * raiseOnHandNum = 1; + */ + raiseOnHandNum(0, 1), + /** + * raiseOnMinutes = 2; + */ + raiseOnMinutes(1, 2), + ; + + /** + * raiseOnHandNum = 1; + */ + public static final int raiseOnHandNum_VALUE = 1; + /** + * raiseOnMinutes = 2; + */ + public static final int raiseOnMinutes_VALUE = 2; + + + public final int getNumber() { return value; } + + public static RaiseIntervalMode valueOf(int value) { + switch (value) { + case 1: return raiseOnHandNum; + case 2: return raiseOnMinutes; + default: return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { + return internalValueMap; + } + private static com.google.protobuf.Internal.EnumLiteMap + internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public RaiseIntervalMode findValueByNumber(int number) { + return RaiseIntervalMode.valueOf(number); + } + }; + + private final int value; + + private RaiseIntervalMode(int index, int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:NetGameInfo.RaiseIntervalMode) + } + + /** + * Protobuf enum {@code NetGameInfo.EndRaiseMode} + */ + public enum EndRaiseMode + implements com.google.protobuf.Internal.EnumLite { + /** + * doubleBlinds = 1; + */ + doubleBlinds(0, 1), + /** + * raiseByEndValue = 2; + */ + raiseByEndValue(1, 2), + /** + * keepLastBlind = 3; + */ + keepLastBlind(2, 3), + ; + + /** + * doubleBlinds = 1; + */ + public static final int doubleBlinds_VALUE = 1; + /** + * raiseByEndValue = 2; + */ + public static final int raiseByEndValue_VALUE = 2; + /** + * keepLastBlind = 3; + */ + public static final int keepLastBlind_VALUE = 3; + + + public final int getNumber() { return value; } + + public static EndRaiseMode valueOf(int value) { + switch (value) { + case 1: return doubleBlinds; + case 2: return raiseByEndValue; + case 3: return keepLastBlind; + default: return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { + return internalValueMap; + } + private static com.google.protobuf.Internal.EnumLiteMap + internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public EndRaiseMode findValueByNumber(int number) { + return EndRaiseMode.valueOf(number); + } + }; + + private final int value; + + private EndRaiseMode(int index, int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:NetGameInfo.EndRaiseMode) + } + + private int bitField0_; + // required string gameName = 1; + public static final int GAMENAME_FIELD_NUMBER = 1; + private java.lang.Object gameName_; + /** + * required string gameName = 1; + */ + public boolean hasGameName() { + return ((bitField0_ & 0x00000001) == 0x00000001); + } + /** + * required string gameName = 1; + */ + public java.lang.String getGameName() { + java.lang.Object ref = gameName_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + gameName_ = s; + } + return s; + } + } + /** + * required string gameName = 1; + */ + public com.google.protobuf.ByteString + getGameNameBytes() { + java.lang.Object ref = gameName_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + gameName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + // required .NetGameInfo.NetGameType netGameType = 2; + public static final int NETGAMETYPE_FIELD_NUMBER = 2; + private de.pokerth.protocol.ProtoBuf.NetGameInfo.NetGameType netGameType_; + /** + * required .NetGameInfo.NetGameType netGameType = 2; + */ + public boolean hasNetGameType() { + return ((bitField0_ & 0x00000002) == 0x00000002); + } + /** + * required .NetGameInfo.NetGameType netGameType = 2; + */ + public de.pokerth.protocol.ProtoBuf.NetGameInfo.NetGameType getNetGameType() { + return netGameType_; + } + + // required uint32 maxNumPlayers = 3; + public static final int MAXNUMPLAYERS_FIELD_NUMBER = 3; + private int maxNumPlayers_; + /** + * required uint32 maxNumPlayers = 3; + */ + public boolean hasMaxNumPlayers() { + return ((bitField0_ & 0x00000004) == 0x00000004); + } + /** + * required uint32 maxNumPlayers = 3; + */ + public int getMaxNumPlayers() { + return maxNumPlayers_; + } + + // required .NetGameInfo.RaiseIntervalMode raiseIntervalMode = 4; + public static final int RAISEINTERVALMODE_FIELD_NUMBER = 4; + private de.pokerth.protocol.ProtoBuf.NetGameInfo.RaiseIntervalMode raiseIntervalMode_; + /** + * required .NetGameInfo.RaiseIntervalMode raiseIntervalMode = 4; + */ + public boolean hasRaiseIntervalMode() { + return ((bitField0_ & 0x00000008) == 0x00000008); + } + /** + * required .NetGameInfo.RaiseIntervalMode raiseIntervalMode = 4; + */ + public de.pokerth.protocol.ProtoBuf.NetGameInfo.RaiseIntervalMode getRaiseIntervalMode() { + return raiseIntervalMode_; + } + + // optional uint32 raiseEveryHands = 5; + public static final int RAISEEVERYHANDS_FIELD_NUMBER = 5; + private int raiseEveryHands_; + /** + * optional uint32 raiseEveryHands = 5; + */ + public boolean hasRaiseEveryHands() { + return ((bitField0_ & 0x00000010) == 0x00000010); + } + /** + * optional uint32 raiseEveryHands = 5; + */ + public int getRaiseEveryHands() { + return raiseEveryHands_; + } + + // optional uint32 raiseEveryMinutes = 6; + public static final int RAISEEVERYMINUTES_FIELD_NUMBER = 6; + private int raiseEveryMinutes_; + /** + * optional uint32 raiseEveryMinutes = 6; + */ + public boolean hasRaiseEveryMinutes() { + return ((bitField0_ & 0x00000020) == 0x00000020); + } + /** + * optional uint32 raiseEveryMinutes = 6; + */ + public int getRaiseEveryMinutes() { + return raiseEveryMinutes_; + } + + // required .NetGameInfo.EndRaiseMode endRaiseMode = 7; + public static final int ENDRAISEMODE_FIELD_NUMBER = 7; + private de.pokerth.protocol.ProtoBuf.NetGameInfo.EndRaiseMode endRaiseMode_; + /** + * required .NetGameInfo.EndRaiseMode endRaiseMode = 7; + */ + public boolean hasEndRaiseMode() { + return ((bitField0_ & 0x00000040) == 0x00000040); + } + /** + * required .NetGameInfo.EndRaiseMode endRaiseMode = 7; + */ + public de.pokerth.protocol.ProtoBuf.NetGameInfo.EndRaiseMode getEndRaiseMode() { + return endRaiseMode_; + } + + // optional uint32 endRaiseSmallBlindValue = 8; + public static final int ENDRAISESMALLBLINDVALUE_FIELD_NUMBER = 8; + private int endRaiseSmallBlindValue_; + /** + * optional uint32 endRaiseSmallBlindValue = 8; + */ + public boolean hasEndRaiseSmallBlindValue() { + return ((bitField0_ & 0x00000080) == 0x00000080); + } + /** + * optional uint32 endRaiseSmallBlindValue = 8; + */ + public int getEndRaiseSmallBlindValue() { + return endRaiseSmallBlindValue_; + } + + // required uint32 proposedGuiSpeed = 9; + public static final int PROPOSEDGUISPEED_FIELD_NUMBER = 9; + private int proposedGuiSpeed_; + /** + * required uint32 proposedGuiSpeed = 9; + */ + public boolean hasProposedGuiSpeed() { + return ((bitField0_ & 0x00000100) == 0x00000100); + } + /** + * required uint32 proposedGuiSpeed = 9; + */ + public int getProposedGuiSpeed() { + return proposedGuiSpeed_; + } + + // required uint32 delayBetweenHands = 10; + public static final int DELAYBETWEENHANDS_FIELD_NUMBER = 10; + private int delayBetweenHands_; + /** + * required uint32 delayBetweenHands = 10; + * + *
+     * These are seconds
+     * 
+ */ + public boolean hasDelayBetweenHands() { + return ((bitField0_ & 0x00000200) == 0x00000200); + } + /** + * required uint32 delayBetweenHands = 10; + * + *
+     * These are seconds
+     * 
+ */ + public int getDelayBetweenHands() { + return delayBetweenHands_; + } + + // required uint32 playerActionTimeout = 11; + public static final int PLAYERACTIONTIMEOUT_FIELD_NUMBER = 11; + private int playerActionTimeout_; + /** + * required uint32 playerActionTimeout = 11; + * + *
+     * These are seconds
+     * 
+ */ + public boolean hasPlayerActionTimeout() { + return ((bitField0_ & 0x00000400) == 0x00000400); + } + /** + * required uint32 playerActionTimeout = 11; + * + *
+     * These are seconds
+     * 
+ */ + public int getPlayerActionTimeout() { + return playerActionTimeout_; + } + + // required uint32 firstSmallBlind = 12; + public static final int FIRSTSMALLBLIND_FIELD_NUMBER = 12; + private int firstSmallBlind_; + /** + * required uint32 firstSmallBlind = 12; + */ + public boolean hasFirstSmallBlind() { + return ((bitField0_ & 0x00000800) == 0x00000800); + } + /** + * required uint32 firstSmallBlind = 12; + */ + public int getFirstSmallBlind() { + return firstSmallBlind_; + } + + // required uint32 startMoney = 13; + public static final int STARTMONEY_FIELD_NUMBER = 13; + private int startMoney_; + /** + * required uint32 startMoney = 13; + */ + public boolean hasStartMoney() { + return ((bitField0_ & 0x00001000) == 0x00001000); + } + /** + * required uint32 startMoney = 13; + */ + public int getStartMoney() { + return startMoney_; + } + + // repeated uint32 manualBlinds = 14 [packed = true]; + public static final int MANUALBLINDS_FIELD_NUMBER = 14; + private java.util.List manualBlinds_; + /** + * repeated uint32 manualBlinds = 14 [packed = true]; + */ + public java.util.List + getManualBlindsList() { + return manualBlinds_; + } + /** + * repeated uint32 manualBlinds = 14 [packed = true]; + */ + public int getManualBlindsCount() { + return manualBlinds_.size(); + } + /** + * repeated uint32 manualBlinds = 14 [packed = true]; + */ + public int getManualBlinds(int index) { + return manualBlinds_.get(index); + } + private int manualBlindsMemoizedSerializedSize = -1; + + private void initFields() { + gameName_ = ""; + netGameType_ = de.pokerth.protocol.ProtoBuf.NetGameInfo.NetGameType.normalGame; + maxNumPlayers_ = 0; + raiseIntervalMode_ = de.pokerth.protocol.ProtoBuf.NetGameInfo.RaiseIntervalMode.raiseOnHandNum; + raiseEveryHands_ = 0; + raiseEveryMinutes_ = 0; + endRaiseMode_ = de.pokerth.protocol.ProtoBuf.NetGameInfo.EndRaiseMode.doubleBlinds; + endRaiseSmallBlindValue_ = 0; + proposedGuiSpeed_ = 0; + delayBetweenHands_ = 0; + playerActionTimeout_ = 0; + firstSmallBlind_ = 0; + startMoney_ = 0; + manualBlinds_ = java.util.Collections.emptyList(); + } + private byte memoizedIsInitialized = -1; + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized != -1) return isInitialized == 1; + + if (!hasGameName()) { + memoizedIsInitialized = 0; + return false; + } + if (!hasNetGameType()) { + memoizedIsInitialized = 0; + return false; + } + if (!hasMaxNumPlayers()) { + memoizedIsInitialized = 0; + return false; + } + if (!hasRaiseIntervalMode()) { + memoizedIsInitialized = 0; + return false; + } + if (!hasEndRaiseMode()) { + memoizedIsInitialized = 0; + return false; + } + if (!hasProposedGuiSpeed()) { + memoizedIsInitialized = 0; + return false; + } + if (!hasDelayBetweenHands()) { + memoizedIsInitialized = 0; + return false; + } + if (!hasPlayerActionTimeout()) { + memoizedIsInitialized = 0; + return false; + } + if (!hasFirstSmallBlind()) { + memoizedIsInitialized = 0; + return false; + } + if (!hasStartMoney()) { + memoizedIsInitialized = 0; + return false; + } + memoizedIsInitialized = 1; + return true; + } + + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + getSerializedSize(); + if (((bitField0_ & 0x00000001) == 0x00000001)) { + output.writeBytes(1, getGameNameBytes()); + } + if (((bitField0_ & 0x00000002) == 0x00000002)) { + output.writeEnum(2, netGameType_.getNumber()); + } + if (((bitField0_ & 0x00000004) == 0x00000004)) { + output.writeUInt32(3, maxNumPlayers_); + } + if (((bitField0_ & 0x00000008) == 0x00000008)) { + output.writeEnum(4, raiseIntervalMode_.getNumber()); + } + if (((bitField0_ & 0x00000010) == 0x00000010)) { + output.writeUInt32(5, raiseEveryHands_); + } + if (((bitField0_ & 0x00000020) == 0x00000020)) { + output.writeUInt32(6, raiseEveryMinutes_); + } + if (((bitField0_ & 0x00000040) == 0x00000040)) { + output.writeEnum(7, endRaiseMode_.getNumber()); + } + if (((bitField0_ & 0x00000080) == 0x00000080)) { + output.writeUInt32(8, endRaiseSmallBlindValue_); + } + if (((bitField0_ & 0x00000100) == 0x00000100)) { + output.writeUInt32(9, proposedGuiSpeed_); + } + if (((bitField0_ & 0x00000200) == 0x00000200)) { + output.writeUInt32(10, delayBetweenHands_); + } + if (((bitField0_ & 0x00000400) == 0x00000400)) { + output.writeUInt32(11, playerActionTimeout_); + } + if (((bitField0_ & 0x00000800) == 0x00000800)) { + output.writeUInt32(12, firstSmallBlind_); + } + if (((bitField0_ & 0x00001000) == 0x00001000)) { + output.writeUInt32(13, startMoney_); + } + if (getManualBlindsList().size() > 0) { + output.writeRawVarint32(114); + output.writeRawVarint32(manualBlindsMemoizedSerializedSize); + } + for (int i = 0; i < manualBlinds_.size(); i++) { + output.writeUInt32NoTag(manualBlinds_.get(i)); + } + } + + private int memoizedSerializedSize = -1; + public int getSerializedSize() { + int size = memoizedSerializedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) == 0x00000001)) { + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(1, getGameNameBytes()); + } + if (((bitField0_ & 0x00000002) == 0x00000002)) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, netGameType_.getNumber()); + } + if (((bitField0_ & 0x00000004) == 0x00000004)) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(3, maxNumPlayers_); + } + if (((bitField0_ & 0x00000008) == 0x00000008)) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(4, raiseIntervalMode_.getNumber()); + } + if (((bitField0_ & 0x00000010) == 0x00000010)) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(5, raiseEveryHands_); + } + if (((bitField0_ & 0x00000020) == 0x00000020)) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(6, raiseEveryMinutes_); + } + if (((bitField0_ & 0x00000040) == 0x00000040)) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(7, endRaiseMode_.getNumber()); + } + if (((bitField0_ & 0x00000080) == 0x00000080)) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(8, endRaiseSmallBlindValue_); + } + if (((bitField0_ & 0x00000100) == 0x00000100)) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(9, proposedGuiSpeed_); + } + if (((bitField0_ & 0x00000200) == 0x00000200)) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(10, delayBetweenHands_); + } + if (((bitField0_ & 0x00000400) == 0x00000400)) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(11, playerActionTimeout_); + } + if (((bitField0_ & 0x00000800) == 0x00000800)) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(12, firstSmallBlind_); + } + if (((bitField0_ & 0x00001000) == 0x00001000)) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(13, startMoney_); + } + { + int dataSize = 0; + for (int i = 0; i < manualBlinds_.size(); i++) { + dataSize += com.google.protobuf.CodedOutputStream + .computeUInt32SizeNoTag(manualBlinds_.get(i)); + } + size += dataSize; + if (!getManualBlindsList().isEmpty()) { + size += 1; + size += com.google.protobuf.CodedOutputStream + .computeInt32SizeNoTag(dataSize); + } + manualBlindsMemoizedSerializedSize = dataSize; + } + memoizedSerializedSize = size; + return size; + } + + private static final long serialVersionUID = 0L; + @java.lang.Override + protected java.lang.Object writeReplace() + throws java.io.ObjectStreamException { + return super.writeReplace(); + } + + public static de.pokerth.protocol.ProtoBuf.NetGameInfo parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static de.pokerth.protocol.ProtoBuf.NetGameInfo parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static de.pokerth.protocol.ProtoBuf.NetGameInfo parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static de.pokerth.protocol.ProtoBuf.NetGameInfo parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static de.pokerth.protocol.ProtoBuf.NetGameInfo parseFrom(java.io.InputStream input) + throws java.io.IOException { + return PARSER.parseFrom(input); + } + public static de.pokerth.protocol.ProtoBuf.NetGameInfo parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseFrom(input, extensionRegistry); + } + public static de.pokerth.protocol.ProtoBuf.NetGameInfo parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return PARSER.parseDelimitedFrom(input); + } + public static de.pokerth.protocol.ProtoBuf.NetGameInfo parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseDelimitedFrom(input, extensionRegistry); + } + public static de.pokerth.protocol.ProtoBuf.NetGameInfo parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return PARSER.parseFrom(input); + } + public static de.pokerth.protocol.ProtoBuf.NetGameInfo parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseFrom(input, extensionRegistry); + } + + public static Builder newBuilder() { return Builder.create(); } + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.NetGameInfo prototype) { + return newBuilder().mergeFrom(prototype); + } + public Builder toBuilder() { return newBuilder(this); } + + /** + * Protobuf type {@code NetGameInfo} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageLite.Builder< + de.pokerth.protocol.ProtoBuf.NetGameInfo, Builder> + implements de.pokerth.protocol.ProtoBuf.NetGameInfoOrBuilder { + // Construct using de.pokerth.protocol.ProtoBuf.NetGameInfo.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + } + private static Builder create() { + return new Builder(); + } + + public Builder clear() { + super.clear(); + gameName_ = ""; + bitField0_ = (bitField0_ & ~0x00000001); + netGameType_ = de.pokerth.protocol.ProtoBuf.NetGameInfo.NetGameType.normalGame; + bitField0_ = (bitField0_ & ~0x00000002); + maxNumPlayers_ = 0; + bitField0_ = (bitField0_ & ~0x00000004); + raiseIntervalMode_ = de.pokerth.protocol.ProtoBuf.NetGameInfo.RaiseIntervalMode.raiseOnHandNum; + bitField0_ = (bitField0_ & ~0x00000008); + raiseEveryHands_ = 0; + bitField0_ = (bitField0_ & ~0x00000010); + raiseEveryMinutes_ = 0; + bitField0_ = (bitField0_ & ~0x00000020); + endRaiseMode_ = de.pokerth.protocol.ProtoBuf.NetGameInfo.EndRaiseMode.doubleBlinds; + bitField0_ = (bitField0_ & ~0x00000040); + endRaiseSmallBlindValue_ = 0; + bitField0_ = (bitField0_ & ~0x00000080); + proposedGuiSpeed_ = 0; + bitField0_ = (bitField0_ & ~0x00000100); + delayBetweenHands_ = 0; + bitField0_ = (bitField0_ & ~0x00000200); + playerActionTimeout_ = 0; + bitField0_ = (bitField0_ & ~0x00000400); + firstSmallBlind_ = 0; + bitField0_ = (bitField0_ & ~0x00000800); + startMoney_ = 0; + bitField0_ = (bitField0_ & ~0x00001000); + manualBlinds_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00002000); + return this; + } + + public Builder clone() { + return create().mergeFrom(buildPartial()); + } + + public de.pokerth.protocol.ProtoBuf.NetGameInfo getDefaultInstanceForType() { + return de.pokerth.protocol.ProtoBuf.NetGameInfo.getDefaultInstance(); + } + + public de.pokerth.protocol.ProtoBuf.NetGameInfo build() { + de.pokerth.protocol.ProtoBuf.NetGameInfo result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + public de.pokerth.protocol.ProtoBuf.NetGameInfo buildPartial() { + de.pokerth.protocol.ProtoBuf.NetGameInfo result = new de.pokerth.protocol.ProtoBuf.NetGameInfo(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) == 0x00000001)) { + to_bitField0_ |= 0x00000001; + } + result.gameName_ = gameName_; + if (((from_bitField0_ & 0x00000002) == 0x00000002)) { + to_bitField0_ |= 0x00000002; + } + result.netGameType_ = netGameType_; + if (((from_bitField0_ & 0x00000004) == 0x00000004)) { + to_bitField0_ |= 0x00000004; + } + result.maxNumPlayers_ = maxNumPlayers_; + if (((from_bitField0_ & 0x00000008) == 0x00000008)) { + to_bitField0_ |= 0x00000008; + } + result.raiseIntervalMode_ = raiseIntervalMode_; + if (((from_bitField0_ & 0x00000010) == 0x00000010)) { + to_bitField0_ |= 0x00000010; + } + result.raiseEveryHands_ = raiseEveryHands_; + if (((from_bitField0_ & 0x00000020) == 0x00000020)) { + to_bitField0_ |= 0x00000020; + } + result.raiseEveryMinutes_ = raiseEveryMinutes_; + if (((from_bitField0_ & 0x00000040) == 0x00000040)) { + to_bitField0_ |= 0x00000040; + } + result.endRaiseMode_ = endRaiseMode_; + if (((from_bitField0_ & 0x00000080) == 0x00000080)) { + to_bitField0_ |= 0x00000080; + } + result.endRaiseSmallBlindValue_ = endRaiseSmallBlindValue_; + if (((from_bitField0_ & 0x00000100) == 0x00000100)) { + to_bitField0_ |= 0x00000100; + } + result.proposedGuiSpeed_ = proposedGuiSpeed_; + if (((from_bitField0_ & 0x00000200) == 0x00000200)) { + to_bitField0_ |= 0x00000200; + } + result.delayBetweenHands_ = delayBetweenHands_; + if (((from_bitField0_ & 0x00000400) == 0x00000400)) { + to_bitField0_ |= 0x00000400; + } + result.playerActionTimeout_ = playerActionTimeout_; + if (((from_bitField0_ & 0x00000800) == 0x00000800)) { + to_bitField0_ |= 0x00000800; + } + result.firstSmallBlind_ = firstSmallBlind_; + if (((from_bitField0_ & 0x00001000) == 0x00001000)) { + to_bitField0_ |= 0x00001000; + } + result.startMoney_ = startMoney_; + if (((bitField0_ & 0x00002000) == 0x00002000)) { + manualBlinds_ = java.util.Collections.unmodifiableList(manualBlinds_); + bitField0_ = (bitField0_ & ~0x00002000); + } + result.manualBlinds_ = manualBlinds_; + result.bitField0_ = to_bitField0_; + return result; + } + + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.NetGameInfo other) { + if (other == de.pokerth.protocol.ProtoBuf.NetGameInfo.getDefaultInstance()) return this; + if (other.hasGameName()) { + bitField0_ |= 0x00000001; + gameName_ = other.gameName_; + + } + if (other.hasNetGameType()) { + setNetGameType(other.getNetGameType()); + } + if (other.hasMaxNumPlayers()) { + setMaxNumPlayers(other.getMaxNumPlayers()); + } + if (other.hasRaiseIntervalMode()) { + setRaiseIntervalMode(other.getRaiseIntervalMode()); + } + if (other.hasRaiseEveryHands()) { + setRaiseEveryHands(other.getRaiseEveryHands()); + } + if (other.hasRaiseEveryMinutes()) { + setRaiseEveryMinutes(other.getRaiseEveryMinutes()); + } + if (other.hasEndRaiseMode()) { + setEndRaiseMode(other.getEndRaiseMode()); + } + if (other.hasEndRaiseSmallBlindValue()) { + setEndRaiseSmallBlindValue(other.getEndRaiseSmallBlindValue()); + } + if (other.hasProposedGuiSpeed()) { + setProposedGuiSpeed(other.getProposedGuiSpeed()); + } + if (other.hasDelayBetweenHands()) { + setDelayBetweenHands(other.getDelayBetweenHands()); + } + if (other.hasPlayerActionTimeout()) { + setPlayerActionTimeout(other.getPlayerActionTimeout()); + } + if (other.hasFirstSmallBlind()) { + setFirstSmallBlind(other.getFirstSmallBlind()); + } + if (other.hasStartMoney()) { + setStartMoney(other.getStartMoney()); + } + if (!other.manualBlinds_.isEmpty()) { + if (manualBlinds_.isEmpty()) { + manualBlinds_ = other.manualBlinds_; + bitField0_ = (bitField0_ & ~0x00002000); + } else { + ensureManualBlindsIsMutable(); + manualBlinds_.addAll(other.manualBlinds_); + } + + } + return this; + } + + public final boolean isInitialized() { + if (!hasGameName()) { + + return false; + } + if (!hasNetGameType()) { + + return false; + } + if (!hasMaxNumPlayers()) { + + return false; + } + if (!hasRaiseIntervalMode()) { + + return false; + } + if (!hasEndRaiseMode()) { + + return false; + } + if (!hasProposedGuiSpeed()) { + + return false; + } + if (!hasDelayBetweenHands()) { + + return false; + } + if (!hasPlayerActionTimeout()) { + + return false; + } + if (!hasFirstSmallBlind()) { + + return false; + } + if (!hasStartMoney()) { + + return false; + } + return true; + } + + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + de.pokerth.protocol.ProtoBuf.NetGameInfo parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (de.pokerth.protocol.ProtoBuf.NetGameInfo) e.getUnfinishedMessage(); + throw e; + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; } - private int bitField0_; - + // required string gameName = 1; private java.lang.Object gameName_ = ""; + /** + * required string gameName = 1; + */ public boolean hasGameName() { return ((bitField0_ & 0x00000001) == 0x00000001); } - public String getGameName() { + /** + * required string gameName = 1; + */ + public java.lang.String getGameName() { java.lang.Object ref = gameName_; - if (!(ref instanceof String)) { - String s = ((com.google.protobuf.ByteString) ref).toStringUtf8(); + if (!(ref instanceof java.lang.String)) { + java.lang.String s = ((com.google.protobuf.ByteString) ref) + .toStringUtf8(); gameName_ = s; return s; } else { - return (String) ref; + return (java.lang.String) ref; } } - public Builder setGameName(String value) { + /** + * required string gameName = 1; + */ + public com.google.protobuf.ByteString + getGameNameBytes() { + java.lang.Object ref = gameName_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + gameName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * required string gameName = 1; + */ + public Builder setGameName( + java.lang.String value) { if (value == null) { throw new NullPointerException(); } @@ -1319,26 +1831,46 @@ public final class ProtoBuf { return this; } + /** + * required string gameName = 1; + */ public Builder clearGameName() { bitField0_ = (bitField0_ & ~0x00000001); gameName_ = getDefaultInstance().getGameName(); return this; } - void setGameName(com.google.protobuf.ByteString value) { - bitField0_ |= 0x00000001; + /** + * required string gameName = 1; + */ + public Builder setGameNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000001; gameName_ = value; + return this; } - + // required .NetGameInfo.NetGameType netGameType = 2; private de.pokerth.protocol.ProtoBuf.NetGameInfo.NetGameType netGameType_ = de.pokerth.protocol.ProtoBuf.NetGameInfo.NetGameType.normalGame; + /** + * required .NetGameInfo.NetGameType netGameType = 2; + */ public boolean hasNetGameType() { return ((bitField0_ & 0x00000002) == 0x00000002); } + /** + * required .NetGameInfo.NetGameType netGameType = 2; + */ public de.pokerth.protocol.ProtoBuf.NetGameInfo.NetGameType getNetGameType() { return netGameType_; } + /** + * required .NetGameInfo.NetGameType netGameType = 2; + */ public Builder setNetGameType(de.pokerth.protocol.ProtoBuf.NetGameInfo.NetGameType value) { if (value == null) { throw new NullPointerException(); @@ -1348,42 +1880,66 @@ public final class ProtoBuf { return this; } + /** + * required .NetGameInfo.NetGameType netGameType = 2; + */ public Builder clearNetGameType() { bitField0_ = (bitField0_ & ~0x00000002); netGameType_ = de.pokerth.protocol.ProtoBuf.NetGameInfo.NetGameType.normalGame; return this; } - + // required uint32 maxNumPlayers = 3; private int maxNumPlayers_ ; + /** + * required uint32 maxNumPlayers = 3; + */ public boolean hasMaxNumPlayers() { return ((bitField0_ & 0x00000004) == 0x00000004); } + /** + * required uint32 maxNumPlayers = 3; + */ public int getMaxNumPlayers() { return maxNumPlayers_; } + /** + * required uint32 maxNumPlayers = 3; + */ public Builder setMaxNumPlayers(int value) { bitField0_ |= 0x00000004; maxNumPlayers_ = value; return this; } + /** + * required uint32 maxNumPlayers = 3; + */ public Builder clearMaxNumPlayers() { bitField0_ = (bitField0_ & ~0x00000004); maxNumPlayers_ = 0; return this; } - + // required .NetGameInfo.RaiseIntervalMode raiseIntervalMode = 4; private de.pokerth.protocol.ProtoBuf.NetGameInfo.RaiseIntervalMode raiseIntervalMode_ = de.pokerth.protocol.ProtoBuf.NetGameInfo.RaiseIntervalMode.raiseOnHandNum; + /** + * required .NetGameInfo.RaiseIntervalMode raiseIntervalMode = 4; + */ public boolean hasRaiseIntervalMode() { return ((bitField0_ & 0x00000008) == 0x00000008); } + /** + * required .NetGameInfo.RaiseIntervalMode raiseIntervalMode = 4; + */ public de.pokerth.protocol.ProtoBuf.NetGameInfo.RaiseIntervalMode getRaiseIntervalMode() { return raiseIntervalMode_; } + /** + * required .NetGameInfo.RaiseIntervalMode raiseIntervalMode = 4; + */ public Builder setRaiseIntervalMode(de.pokerth.protocol.ProtoBuf.NetGameInfo.RaiseIntervalMode value) { if (value == null) { throw new NullPointerException(); @@ -1393,63 +1949,99 @@ public final class ProtoBuf { return this; } + /** + * required .NetGameInfo.RaiseIntervalMode raiseIntervalMode = 4; + */ public Builder clearRaiseIntervalMode() { bitField0_ = (bitField0_ & ~0x00000008); raiseIntervalMode_ = de.pokerth.protocol.ProtoBuf.NetGameInfo.RaiseIntervalMode.raiseOnHandNum; return this; } - + // optional uint32 raiseEveryHands = 5; private int raiseEveryHands_ ; + /** + * optional uint32 raiseEveryHands = 5; + */ public boolean hasRaiseEveryHands() { return ((bitField0_ & 0x00000010) == 0x00000010); } + /** + * optional uint32 raiseEveryHands = 5; + */ public int getRaiseEveryHands() { return raiseEveryHands_; } + /** + * optional uint32 raiseEveryHands = 5; + */ public Builder setRaiseEveryHands(int value) { bitField0_ |= 0x00000010; raiseEveryHands_ = value; return this; } + /** + * optional uint32 raiseEveryHands = 5; + */ public Builder clearRaiseEveryHands() { bitField0_ = (bitField0_ & ~0x00000010); raiseEveryHands_ = 0; return this; } - + // optional uint32 raiseEveryMinutes = 6; private int raiseEveryMinutes_ ; + /** + * optional uint32 raiseEveryMinutes = 6; + */ public boolean hasRaiseEveryMinutes() { return ((bitField0_ & 0x00000020) == 0x00000020); } + /** + * optional uint32 raiseEveryMinutes = 6; + */ public int getRaiseEveryMinutes() { return raiseEveryMinutes_; } + /** + * optional uint32 raiseEveryMinutes = 6; + */ public Builder setRaiseEveryMinutes(int value) { bitField0_ |= 0x00000020; raiseEveryMinutes_ = value; return this; } + /** + * optional uint32 raiseEveryMinutes = 6; + */ public Builder clearRaiseEveryMinutes() { bitField0_ = (bitField0_ & ~0x00000020); raiseEveryMinutes_ = 0; return this; } - + // required .NetGameInfo.EndRaiseMode endRaiseMode = 7; private de.pokerth.protocol.ProtoBuf.NetGameInfo.EndRaiseMode endRaiseMode_ = de.pokerth.protocol.ProtoBuf.NetGameInfo.EndRaiseMode.doubleBlinds; + /** + * required .NetGameInfo.EndRaiseMode endRaiseMode = 7; + */ public boolean hasEndRaiseMode() { return ((bitField0_ & 0x00000040) == 0x00000040); } + /** + * required .NetGameInfo.EndRaiseMode endRaiseMode = 7; + */ public de.pokerth.protocol.ProtoBuf.NetGameInfo.EndRaiseMode getEndRaiseMode() { return endRaiseMode_; } + /** + * required .NetGameInfo.EndRaiseMode endRaiseMode = 7; + */ public Builder setEndRaiseMode(de.pokerth.protocol.ProtoBuf.NetGameInfo.EndRaiseMode value) { if (value == null) { throw new NullPointerException(); @@ -1459,157 +2051,276 @@ public final class ProtoBuf { return this; } + /** + * required .NetGameInfo.EndRaiseMode endRaiseMode = 7; + */ public Builder clearEndRaiseMode() { bitField0_ = (bitField0_ & ~0x00000040); endRaiseMode_ = de.pokerth.protocol.ProtoBuf.NetGameInfo.EndRaiseMode.doubleBlinds; return this; } - + // optional uint32 endRaiseSmallBlindValue = 8; private int endRaiseSmallBlindValue_ ; + /** + * optional uint32 endRaiseSmallBlindValue = 8; + */ public boolean hasEndRaiseSmallBlindValue() { return ((bitField0_ & 0x00000080) == 0x00000080); } + /** + * optional uint32 endRaiseSmallBlindValue = 8; + */ public int getEndRaiseSmallBlindValue() { return endRaiseSmallBlindValue_; } + /** + * optional uint32 endRaiseSmallBlindValue = 8; + */ public Builder setEndRaiseSmallBlindValue(int value) { bitField0_ |= 0x00000080; endRaiseSmallBlindValue_ = value; return this; } + /** + * optional uint32 endRaiseSmallBlindValue = 8; + */ public Builder clearEndRaiseSmallBlindValue() { bitField0_ = (bitField0_ & ~0x00000080); endRaiseSmallBlindValue_ = 0; return this; } - + // required uint32 proposedGuiSpeed = 9; private int proposedGuiSpeed_ ; + /** + * required uint32 proposedGuiSpeed = 9; + */ public boolean hasProposedGuiSpeed() { return ((bitField0_ & 0x00000100) == 0x00000100); } + /** + * required uint32 proposedGuiSpeed = 9; + */ public int getProposedGuiSpeed() { return proposedGuiSpeed_; } + /** + * required uint32 proposedGuiSpeed = 9; + */ public Builder setProposedGuiSpeed(int value) { bitField0_ |= 0x00000100; proposedGuiSpeed_ = value; return this; } + /** + * required uint32 proposedGuiSpeed = 9; + */ public Builder clearProposedGuiSpeed() { bitField0_ = (bitField0_ & ~0x00000100); proposedGuiSpeed_ = 0; return this; } - + // required uint32 delayBetweenHands = 10; private int delayBetweenHands_ ; + /** + * required uint32 delayBetweenHands = 10; + * + *
+       * These are seconds
+       * 
+ */ public boolean hasDelayBetweenHands() { return ((bitField0_ & 0x00000200) == 0x00000200); } + /** + * required uint32 delayBetweenHands = 10; + * + *
+       * These are seconds
+       * 
+ */ public int getDelayBetweenHands() { return delayBetweenHands_; } + /** + * required uint32 delayBetweenHands = 10; + * + *
+       * These are seconds
+       * 
+ */ public Builder setDelayBetweenHands(int value) { bitField0_ |= 0x00000200; delayBetweenHands_ = value; return this; } + /** + * required uint32 delayBetweenHands = 10; + * + *
+       * These are seconds
+       * 
+ */ public Builder clearDelayBetweenHands() { bitField0_ = (bitField0_ & ~0x00000200); delayBetweenHands_ = 0; return this; } - + // required uint32 playerActionTimeout = 11; private int playerActionTimeout_ ; + /** + * required uint32 playerActionTimeout = 11; + * + *
+       * These are seconds
+       * 
+ */ public boolean hasPlayerActionTimeout() { return ((bitField0_ & 0x00000400) == 0x00000400); } + /** + * required uint32 playerActionTimeout = 11; + * + *
+       * These are seconds
+       * 
+ */ public int getPlayerActionTimeout() { return playerActionTimeout_; } + /** + * required uint32 playerActionTimeout = 11; + * + *
+       * These are seconds
+       * 
+ */ public Builder setPlayerActionTimeout(int value) { bitField0_ |= 0x00000400; playerActionTimeout_ = value; return this; } + /** + * required uint32 playerActionTimeout = 11; + * + *
+       * These are seconds
+       * 
+ */ public Builder clearPlayerActionTimeout() { bitField0_ = (bitField0_ & ~0x00000400); playerActionTimeout_ = 0; return this; } - + // required uint32 firstSmallBlind = 12; private int firstSmallBlind_ ; + /** + * required uint32 firstSmallBlind = 12; + */ public boolean hasFirstSmallBlind() { return ((bitField0_ & 0x00000800) == 0x00000800); } + /** + * required uint32 firstSmallBlind = 12; + */ public int getFirstSmallBlind() { return firstSmallBlind_; } + /** + * required uint32 firstSmallBlind = 12; + */ public Builder setFirstSmallBlind(int value) { bitField0_ |= 0x00000800; firstSmallBlind_ = value; return this; } + /** + * required uint32 firstSmallBlind = 12; + */ public Builder clearFirstSmallBlind() { bitField0_ = (bitField0_ & ~0x00000800); firstSmallBlind_ = 0; return this; } - + // required uint32 startMoney = 13; private int startMoney_ ; + /** + * required uint32 startMoney = 13; + */ public boolean hasStartMoney() { return ((bitField0_ & 0x00001000) == 0x00001000); } + /** + * required uint32 startMoney = 13; + */ public int getStartMoney() { return startMoney_; } + /** + * required uint32 startMoney = 13; + */ public Builder setStartMoney(int value) { bitField0_ |= 0x00001000; startMoney_ = value; return this; } + /** + * required uint32 startMoney = 13; + */ public Builder clearStartMoney() { bitField0_ = (bitField0_ & ~0x00001000); startMoney_ = 0; return this; } - + // repeated uint32 manualBlinds = 14 [packed = true]; - private java.util.List manualBlinds_ = java.util.Collections.emptyList();; + private java.util.List manualBlinds_ = java.util.Collections.emptyList(); private void ensureManualBlindsIsMutable() { if (!((bitField0_ & 0x00002000) == 0x00002000)) { manualBlinds_ = new java.util.ArrayList(manualBlinds_); bitField0_ |= 0x00002000; } } + /** + * repeated uint32 manualBlinds = 14 [packed = true]; + */ public java.util.List getManualBlindsList() { return java.util.Collections.unmodifiableList(manualBlinds_); } + /** + * repeated uint32 manualBlinds = 14 [packed = true]; + */ public int getManualBlindsCount() { return manualBlinds_.size(); } + /** + * repeated uint32 manualBlinds = 14 [packed = true]; + */ public int getManualBlinds(int index) { return manualBlinds_.get(index); } + /** + * repeated uint32 manualBlinds = 14 [packed = true]; + */ public Builder setManualBlinds( int index, int value) { ensureManualBlindsIsMutable(); @@ -1617,12 +2328,18 @@ public final class ProtoBuf { return this; } + /** + * repeated uint32 manualBlinds = 14 [packed = true]; + */ public Builder addManualBlinds(int value) { ensureManualBlindsIsMutable(); manualBlinds_.add(value); return this; } + /** + * repeated uint32 manualBlinds = 14 [packed = true]; + */ public Builder addAllManualBlinds( java.lang.Iterable values) { ensureManualBlindsIsMutable(); @@ -1630,155 +2347,353 @@ public final class ProtoBuf { return this; } + /** + * repeated uint32 manualBlinds = 14 [packed = true]; + */ public Builder clearManualBlinds() { - manualBlinds_ = java.util.Collections.emptyList();; + manualBlinds_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00002000); return this; } - + // @@protoc_insertion_point(builder_scope:NetGameInfo) } - + static { defaultInstance = new NetGameInfo(true); defaultInstance.initFields(); } - + // @@protoc_insertion_point(class_scope:NetGameInfo) } - + public interface PlayerResultOrBuilder extends com.google.protobuf.MessageLiteOrBuilder { - + // required uint32 playerId = 1; + /** + * required uint32 playerId = 1; + */ boolean hasPlayerId(); + /** + * required uint32 playerId = 1; + */ int getPlayerId(); - + // required uint32 resultCard1 = 2; + /** + * required uint32 resultCard1 = 2; + */ boolean hasResultCard1(); + /** + * required uint32 resultCard1 = 2; + */ int getResultCard1(); - + // required uint32 resultCard2 = 3; + /** + * required uint32 resultCard2 = 3; + */ boolean hasResultCard2(); + /** + * required uint32 resultCard2 = 3; + */ int getResultCard2(); - + // repeated uint32 bestHandPosition = 4 [packed = true]; + /** + * repeated uint32 bestHandPosition = 4 [packed = true]; + */ java.util.List getBestHandPositionList(); + /** + * repeated uint32 bestHandPosition = 4 [packed = true]; + */ int getBestHandPositionCount(); + /** + * repeated uint32 bestHandPosition = 4 [packed = true]; + */ int getBestHandPosition(int index); - + // required uint32 moneyWon = 5; + /** + * required uint32 moneyWon = 5; + */ boolean hasMoneyWon(); + /** + * required uint32 moneyWon = 5; + */ int getMoneyWon(); - + // required uint32 playerMoney = 6; + /** + * required uint32 playerMoney = 6; + */ boolean hasPlayerMoney(); + /** + * required uint32 playerMoney = 6; + */ int getPlayerMoney(); - + // optional uint32 cardsValue = 7; + /** + * optional uint32 cardsValue = 7; + */ boolean hasCardsValue(); + /** + * optional uint32 cardsValue = 7; + */ int getCardsValue(); } + /** + * Protobuf type {@code PlayerResult} + */ public static final class PlayerResult extends com.google.protobuf.GeneratedMessageLite implements PlayerResultOrBuilder { // Use PlayerResult.newBuilder() to construct. - private PlayerResult(Builder builder) { + private PlayerResult(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); + } private PlayerResult(boolean noInit) {} - + private static final PlayerResult defaultInstance; public static PlayerResult getDefaultInstance() { return defaultInstance; } - + public PlayerResult getDefaultInstanceForType() { return defaultInstance; } - + + private PlayerResult( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + initFields(); + int mutable_bitField0_ = 0; + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: { + if (!parseUnknownField(input, + extensionRegistry, tag)) { + done = true; + } + break; + } + case 8: { + bitField0_ |= 0x00000001; + playerId_ = input.readUInt32(); + break; + } + case 16: { + bitField0_ |= 0x00000002; + resultCard1_ = input.readUInt32(); + break; + } + case 24: { + bitField0_ |= 0x00000004; + resultCard2_ = input.readUInt32(); + break; + } + case 32: { + if (!((mutable_bitField0_ & 0x00000008) == 0x00000008)) { + bestHandPosition_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000008; + } + bestHandPosition_.add(input.readUInt32()); + break; + } + case 34: { + int length = input.readRawVarint32(); + int limit = input.pushLimit(length); + if (!((mutable_bitField0_ & 0x00000008) == 0x00000008) && input.getBytesUntilLimit() > 0) { + bestHandPosition_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000008; + } + while (input.getBytesUntilLimit() > 0) { + bestHandPosition_.add(input.readUInt32()); + } + input.popLimit(limit); + break; + } + case 40: { + bitField0_ |= 0x00000008; + moneyWon_ = input.readUInt32(); + break; + } + case 48: { + bitField0_ |= 0x00000010; + playerMoney_ = input.readUInt32(); + break; + } + case 56: { + bitField0_ |= 0x00000020; + cardsValue_ = input.readUInt32(); + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e.getMessage()).setUnfinishedMessage(this); + } finally { + if (((mutable_bitField0_ & 0x00000008) == 0x00000008)) { + bestHandPosition_ = java.util.Collections.unmodifiableList(bestHandPosition_); + } + makeExtensionsImmutable(); + } + } + public static com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + public PlayerResult parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PlayerResult(input, extensionRegistry); + } + }; + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + private int bitField0_; // required uint32 playerId = 1; public static final int PLAYERID_FIELD_NUMBER = 1; private int playerId_; + /** + * required uint32 playerId = 1; + */ public boolean hasPlayerId() { return ((bitField0_ & 0x00000001) == 0x00000001); } + /** + * required uint32 playerId = 1; + */ public int getPlayerId() { return playerId_; } - + // required uint32 resultCard1 = 2; public static final int RESULTCARD1_FIELD_NUMBER = 2; private int resultCard1_; + /** + * required uint32 resultCard1 = 2; + */ public boolean hasResultCard1() { return ((bitField0_ & 0x00000002) == 0x00000002); } + /** + * required uint32 resultCard1 = 2; + */ public int getResultCard1() { return resultCard1_; } - + // required uint32 resultCard2 = 3; public static final int RESULTCARD2_FIELD_NUMBER = 3; private int resultCard2_; + /** + * required uint32 resultCard2 = 3; + */ public boolean hasResultCard2() { return ((bitField0_ & 0x00000004) == 0x00000004); } + /** + * required uint32 resultCard2 = 3; + */ public int getResultCard2() { return resultCard2_; } - + // repeated uint32 bestHandPosition = 4 [packed = true]; public static final int BESTHANDPOSITION_FIELD_NUMBER = 4; private java.util.List bestHandPosition_; + /** + * repeated uint32 bestHandPosition = 4 [packed = true]; + */ public java.util.List getBestHandPositionList() { return bestHandPosition_; } + /** + * repeated uint32 bestHandPosition = 4 [packed = true]; + */ public int getBestHandPositionCount() { return bestHandPosition_.size(); } + /** + * repeated uint32 bestHandPosition = 4 [packed = true]; + */ public int getBestHandPosition(int index) { return bestHandPosition_.get(index); } private int bestHandPositionMemoizedSerializedSize = -1; - + // required uint32 moneyWon = 5; public static final int MONEYWON_FIELD_NUMBER = 5; private int moneyWon_; + /** + * required uint32 moneyWon = 5; + */ public boolean hasMoneyWon() { return ((bitField0_ & 0x00000008) == 0x00000008); } + /** + * required uint32 moneyWon = 5; + */ public int getMoneyWon() { return moneyWon_; } - + // required uint32 playerMoney = 6; public static final int PLAYERMONEY_FIELD_NUMBER = 6; private int playerMoney_; + /** + * required uint32 playerMoney = 6; + */ public boolean hasPlayerMoney() { return ((bitField0_ & 0x00000010) == 0x00000010); } + /** + * required uint32 playerMoney = 6; + */ public int getPlayerMoney() { return playerMoney_; } - + // optional uint32 cardsValue = 7; public static final int CARDSVALUE_FIELD_NUMBER = 7; private int cardsValue_; + /** + * optional uint32 cardsValue = 7; + */ public boolean hasCardsValue() { return ((bitField0_ & 0x00000020) == 0x00000020); } + /** + * optional uint32 cardsValue = 7; + */ public int getCardsValue() { return cardsValue_; } - + private void initFields() { playerId_ = 0; resultCard1_ = 0; resultCard2_ = 0; - bestHandPosition_ = java.util.Collections.emptyList();; + bestHandPosition_ = java.util.Collections.emptyList(); moneyWon_ = 0; playerMoney_ = 0; cardsValue_ = 0; @@ -1787,7 +2702,7 @@ public final class ProtoBuf { public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; - + if (!hasPlayerId()) { memoizedIsInitialized = 0; return false; @@ -1811,7 +2726,7 @@ public final class ProtoBuf { memoizedIsInitialized = 1; return true; } - + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); @@ -1841,12 +2756,12 @@ public final class ProtoBuf { output.writeUInt32(7, cardsValue_); } } - + private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; - + size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream @@ -1889,88 +2804,77 @@ public final class ProtoBuf { memoizedSerializedSize = size; return size; } - + private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } - + public static de.pokerth.protocol.ProtoBuf.PlayerResult parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data).buildParsed(); + return PARSER.parseFrom(data); } public static de.pokerth.protocol.ProtoBuf.PlayerResult parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(data, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.PlayerResult parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data).buildParsed(); + return PARSER.parseFrom(data); } public static de.pokerth.protocol.ProtoBuf.PlayerResult parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(data, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.PlayerResult parseFrom(java.io.InputStream input) throws java.io.IOException { - return newBuilder().mergeFrom(input).buildParsed(); + return PARSER.parseFrom(input); } public static de.pokerth.protocol.ProtoBuf.PlayerResult parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return newBuilder().mergeFrom(input, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.PlayerResult parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - Builder builder = newBuilder(); - if (builder.mergeDelimitedFrom(input)) { - return builder.buildParsed(); - } else { - return null; - } + return PARSER.parseDelimitedFrom(input); } public static de.pokerth.protocol.ProtoBuf.PlayerResult parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - Builder builder = newBuilder(); - if (builder.mergeDelimitedFrom(input, extensionRegistry)) { - return builder.buildParsed(); - } else { - return null; - } + return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.PlayerResult parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return newBuilder().mergeFrom(input).buildParsed(); + return PARSER.parseFrom(input); } public static de.pokerth.protocol.ProtoBuf.PlayerResult parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return newBuilder().mergeFrom(input, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(input, extensionRegistry); } - + public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.PlayerResult prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } - + + /** + * Protobuf type {@code PlayerResult} + */ public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.PlayerResult, Builder> @@ -1979,13 +2883,13 @@ public final class ProtoBuf { private Builder() { maybeForceBuilderInitialization(); } - + private void maybeForceBuilderInitialization() { } private static Builder create() { return new Builder(); } - + public Builder clear() { super.clear(); playerId_ = 0; @@ -1994,7 +2898,7 @@ public final class ProtoBuf { bitField0_ = (bitField0_ & ~0x00000002); resultCard2_ = 0; bitField0_ = (bitField0_ & ~0x00000004); - bestHandPosition_ = java.util.Collections.emptyList();; + bestHandPosition_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000008); moneyWon_ = 0; bitField0_ = (bitField0_ & ~0x00000010); @@ -2004,15 +2908,15 @@ public final class ProtoBuf { bitField0_ = (bitField0_ & ~0x00000040); return this; } - + public Builder clone() { return create().mergeFrom(buildPartial()); } - + public de.pokerth.protocol.ProtoBuf.PlayerResult getDefaultInstanceForType() { return de.pokerth.protocol.ProtoBuf.PlayerResult.getDefaultInstance(); } - + public de.pokerth.protocol.ProtoBuf.PlayerResult build() { de.pokerth.protocol.ProtoBuf.PlayerResult result = buildPartial(); if (!result.isInitialized()) { @@ -2020,17 +2924,7 @@ public final class ProtoBuf { } return result; } - - private de.pokerth.protocol.ProtoBuf.PlayerResult buildParsed() - throws com.google.protobuf.InvalidProtocolBufferException { - de.pokerth.protocol.ProtoBuf.PlayerResult result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException( - result).asInvalidProtocolBufferException(); - } - return result; - } - + public de.pokerth.protocol.ProtoBuf.PlayerResult buildPartial() { de.pokerth.protocol.ProtoBuf.PlayerResult result = new de.pokerth.protocol.ProtoBuf.PlayerResult(this); int from_bitField0_ = bitField0_; @@ -2067,7 +2961,7 @@ public final class ProtoBuf { result.bitField0_ = to_bitField0_; return result; } - + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.PlayerResult other) { if (other == de.pokerth.protocol.ProtoBuf.PlayerResult.getDefaultInstance()) return this; if (other.hasPlayerId()) { @@ -2100,7 +2994,7 @@ public final class ProtoBuf { } return this; } - + public final boolean isInitialized() { if (!hasPlayerId()) { @@ -2124,155 +3018,155 @@ public final class ProtoBuf { } return true; } - + public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - while (true) { - int tag = input.readTag(); - switch (tag) { - case 0: - - return this; - default: { - if (!parseUnknownField(input, extensionRegistry, tag)) { - - return this; - } - break; - } - case 8: { - bitField0_ |= 0x00000001; - playerId_ = input.readUInt32(); - break; - } - case 16: { - bitField0_ |= 0x00000002; - resultCard1_ = input.readUInt32(); - break; - } - case 24: { - bitField0_ |= 0x00000004; - resultCard2_ = input.readUInt32(); - break; - } - case 32: { - ensureBestHandPositionIsMutable(); - bestHandPosition_.add(input.readUInt32()); - break; - } - case 34: { - int length = input.readRawVarint32(); - int limit = input.pushLimit(length); - while (input.getBytesUntilLimit() > 0) { - addBestHandPosition(input.readUInt32()); - } - input.popLimit(limit); - break; - } - case 40: { - bitField0_ |= 0x00000010; - moneyWon_ = input.readUInt32(); - break; - } - case 48: { - bitField0_ |= 0x00000020; - playerMoney_ = input.readUInt32(); - break; - } - case 56: { - bitField0_ |= 0x00000040; - cardsValue_ = input.readUInt32(); - break; - } + de.pokerth.protocol.ProtoBuf.PlayerResult parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (de.pokerth.protocol.ProtoBuf.PlayerResult) e.getUnfinishedMessage(); + throw e; + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); } } + return this; } - private int bitField0_; - + // required uint32 playerId = 1; private int playerId_ ; + /** + * required uint32 playerId = 1; + */ public boolean hasPlayerId() { return ((bitField0_ & 0x00000001) == 0x00000001); } + /** + * required uint32 playerId = 1; + */ public int getPlayerId() { return playerId_; } + /** + * required uint32 playerId = 1; + */ public Builder setPlayerId(int value) { bitField0_ |= 0x00000001; playerId_ = value; return this; } + /** + * required uint32 playerId = 1; + */ public Builder clearPlayerId() { bitField0_ = (bitField0_ & ~0x00000001); playerId_ = 0; return this; } - + // required uint32 resultCard1 = 2; private int resultCard1_ ; + /** + * required uint32 resultCard1 = 2; + */ public boolean hasResultCard1() { return ((bitField0_ & 0x00000002) == 0x00000002); } + /** + * required uint32 resultCard1 = 2; + */ public int getResultCard1() { return resultCard1_; } + /** + * required uint32 resultCard1 = 2; + */ public Builder setResultCard1(int value) { bitField0_ |= 0x00000002; resultCard1_ = value; return this; } + /** + * required uint32 resultCard1 = 2; + */ public Builder clearResultCard1() { bitField0_ = (bitField0_ & ~0x00000002); resultCard1_ = 0; return this; } - + // required uint32 resultCard2 = 3; private int resultCard2_ ; + /** + * required uint32 resultCard2 = 3; + */ public boolean hasResultCard2() { return ((bitField0_ & 0x00000004) == 0x00000004); } + /** + * required uint32 resultCard2 = 3; + */ public int getResultCard2() { return resultCard2_; } + /** + * required uint32 resultCard2 = 3; + */ public Builder setResultCard2(int value) { bitField0_ |= 0x00000004; resultCard2_ = value; return this; } + /** + * required uint32 resultCard2 = 3; + */ public Builder clearResultCard2() { bitField0_ = (bitField0_ & ~0x00000004); resultCard2_ = 0; return this; } - + // repeated uint32 bestHandPosition = 4 [packed = true]; - private java.util.List bestHandPosition_ = java.util.Collections.emptyList();; + private java.util.List bestHandPosition_ = java.util.Collections.emptyList(); private void ensureBestHandPositionIsMutable() { if (!((bitField0_ & 0x00000008) == 0x00000008)) { bestHandPosition_ = new java.util.ArrayList(bestHandPosition_); bitField0_ |= 0x00000008; } } + /** + * repeated uint32 bestHandPosition = 4 [packed = true]; + */ public java.util.List getBestHandPositionList() { return java.util.Collections.unmodifiableList(bestHandPosition_); } + /** + * repeated uint32 bestHandPosition = 4 [packed = true]; + */ public int getBestHandPositionCount() { return bestHandPosition_.size(); } + /** + * repeated uint32 bestHandPosition = 4 [packed = true]; + */ public int getBestHandPosition(int index) { return bestHandPosition_.get(index); } + /** + * repeated uint32 bestHandPosition = 4 [packed = true]; + */ public Builder setBestHandPosition( int index, int value) { ensureBestHandPositionIsMutable(); @@ -2280,12 +3174,18 @@ public final class ProtoBuf { return this; } + /** + * repeated uint32 bestHandPosition = 4 [packed = true]; + */ public Builder addBestHandPosition(int value) { ensureBestHandPositionIsMutable(); bestHandPosition_.add(value); return this; } + /** + * repeated uint32 bestHandPosition = 4 [packed = true]; + */ public Builder addAllBestHandPosition( java.lang.Iterable values) { ensureBestHandPositionIsMutable(); @@ -2293,142 +3193,328 @@ public final class ProtoBuf { return this; } + /** + * repeated uint32 bestHandPosition = 4 [packed = true]; + */ public Builder clearBestHandPosition() { - bestHandPosition_ = java.util.Collections.emptyList();; + bestHandPosition_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000008); return this; } - + // required uint32 moneyWon = 5; private int moneyWon_ ; + /** + * required uint32 moneyWon = 5; + */ public boolean hasMoneyWon() { return ((bitField0_ & 0x00000010) == 0x00000010); } + /** + * required uint32 moneyWon = 5; + */ public int getMoneyWon() { return moneyWon_; } + /** + * required uint32 moneyWon = 5; + */ public Builder setMoneyWon(int value) { bitField0_ |= 0x00000010; moneyWon_ = value; return this; } + /** + * required uint32 moneyWon = 5; + */ public Builder clearMoneyWon() { bitField0_ = (bitField0_ & ~0x00000010); moneyWon_ = 0; return this; } - + // required uint32 playerMoney = 6; private int playerMoney_ ; + /** + * required uint32 playerMoney = 6; + */ public boolean hasPlayerMoney() { return ((bitField0_ & 0x00000020) == 0x00000020); } + /** + * required uint32 playerMoney = 6; + */ public int getPlayerMoney() { return playerMoney_; } + /** + * required uint32 playerMoney = 6; + */ public Builder setPlayerMoney(int value) { bitField0_ |= 0x00000020; playerMoney_ = value; return this; } + /** + * required uint32 playerMoney = 6; + */ public Builder clearPlayerMoney() { bitField0_ = (bitField0_ & ~0x00000020); playerMoney_ = 0; return this; } - + // optional uint32 cardsValue = 7; private int cardsValue_ ; + /** + * optional uint32 cardsValue = 7; + */ public boolean hasCardsValue() { return ((bitField0_ & 0x00000040) == 0x00000040); } + /** + * optional uint32 cardsValue = 7; + */ public int getCardsValue() { return cardsValue_; } + /** + * optional uint32 cardsValue = 7; + */ public Builder setCardsValue(int value) { bitField0_ |= 0x00000040; cardsValue_ = value; return this; } + /** + * optional uint32 cardsValue = 7; + */ public Builder clearCardsValue() { bitField0_ = (bitField0_ & ~0x00000040); cardsValue_ = 0; return this; } - + // @@protoc_insertion_point(builder_scope:PlayerResult) } - + static { defaultInstance = new PlayerResult(true); defaultInstance.initFields(); } - + // @@protoc_insertion_point(class_scope:PlayerResult) } - + public interface AnnounceMessageOrBuilder extends com.google.protobuf.MessageLiteOrBuilder { - + // required .AnnounceMessage.Version protocolVersion = 1; + /** + * required .AnnounceMessage.Version protocolVersion = 1; + */ boolean hasProtocolVersion(); + /** + * required .AnnounceMessage.Version protocolVersion = 1; + */ de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version getProtocolVersion(); - + // required .AnnounceMessage.Version latestGameVersion = 2; + /** + * required .AnnounceMessage.Version latestGameVersion = 2; + */ boolean hasLatestGameVersion(); + /** + * required .AnnounceMessage.Version latestGameVersion = 2; + */ de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version getLatestGameVersion(); - + // required uint32 latestBetaRevision = 3; + /** + * required uint32 latestBetaRevision = 3; + */ boolean hasLatestBetaRevision(); + /** + * required uint32 latestBetaRevision = 3; + */ int getLatestBetaRevision(); - + // required .AnnounceMessage.ServerType serverType = 4; + /** + * required .AnnounceMessage.ServerType serverType = 4; + */ boolean hasServerType(); + /** + * required .AnnounceMessage.ServerType serverType = 4; + */ de.pokerth.protocol.ProtoBuf.AnnounceMessage.ServerType getServerType(); - + // required uint32 numPlayersOnServer = 5; + /** + * required uint32 numPlayersOnServer = 5; + */ boolean hasNumPlayersOnServer(); + /** + * required uint32 numPlayersOnServer = 5; + */ int getNumPlayersOnServer(); } + /** + * Protobuf type {@code AnnounceMessage} + */ public static final class AnnounceMessage extends com.google.protobuf.GeneratedMessageLite implements AnnounceMessageOrBuilder { // Use AnnounceMessage.newBuilder() to construct. - private AnnounceMessage(Builder builder) { + private AnnounceMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); + } private AnnounceMessage(boolean noInit) {} - + private static final AnnounceMessage defaultInstance; public static AnnounceMessage getDefaultInstance() { return defaultInstance; } - + public AnnounceMessage getDefaultInstanceForType() { return defaultInstance; } - + + private AnnounceMessage( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + initFields(); + int mutable_bitField0_ = 0; + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: { + if (!parseUnknownField(input, + extensionRegistry, tag)) { + done = true; + } + break; + } + case 10: { + de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version.Builder subBuilder = null; + if (((bitField0_ & 0x00000001) == 0x00000001)) { + subBuilder = protocolVersion_.toBuilder(); + } + protocolVersion_ = input.readMessage(de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(protocolVersion_); + protocolVersion_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x00000001; + break; + } + case 18: { + de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version.Builder subBuilder = null; + if (((bitField0_ & 0x00000002) == 0x00000002)) { + subBuilder = latestGameVersion_.toBuilder(); + } + latestGameVersion_ = input.readMessage(de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(latestGameVersion_); + latestGameVersion_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x00000002; + break; + } + case 24: { + bitField0_ |= 0x00000004; + latestBetaRevision_ = input.readUInt32(); + break; + } + case 32: { + int rawValue = input.readEnum(); + de.pokerth.protocol.ProtoBuf.AnnounceMessage.ServerType value = de.pokerth.protocol.ProtoBuf.AnnounceMessage.ServerType.valueOf(rawValue); + if (value != null) { + bitField0_ |= 0x00000008; + serverType_ = value; + } + break; + } + case 40: { + bitField0_ |= 0x00000010; + numPlayersOnServer_ = input.readUInt32(); + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e.getMessage()).setUnfinishedMessage(this); + } finally { + makeExtensionsImmutable(); + } + } + public static com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + public AnnounceMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AnnounceMessage(input, extensionRegistry); + } + }; + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + /** + * Protobuf enum {@code AnnounceMessage.ServerType} + */ public enum ServerType implements com.google.protobuf.Internal.EnumLite { + /** + * serverTypeLAN = 0; + */ serverTypeLAN(0, 0), + /** + * serverTypeInternetNoAuth = 1; + */ serverTypeInternetNoAuth(1, 1), + /** + * serverTypeInternetAuth = 2; + */ serverTypeInternetAuth(2, 2), ; - + + /** + * serverTypeLAN = 0; + */ public static final int serverTypeLAN_VALUE = 0; + /** + * serverTypeInternetNoAuth = 1; + */ public static final int serverTypeInternetNoAuth_VALUE = 1; + /** + * serverTypeInternetAuth = 2; + */ public static final int serverTypeInternetAuth_VALUE = 2; - - + + public final int getNumber() { return value; } - + public static ServerType valueOf(int value) { switch (value) { case 0: return serverTypeLAN; @@ -2437,7 +3523,7 @@ public final class ProtoBuf { default: return null; } } - + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; @@ -2449,300 +3535,79 @@ public final class ProtoBuf { return ServerType.valueOf(number); } }; - + private final int value; - + private ServerType(int index, int value) { this.value = value; } - + // @@protoc_insertion_point(enum_scope:AnnounceMessage.ServerType) } - + public interface VersionOrBuilder extends com.google.protobuf.MessageLiteOrBuilder { - + // required uint32 majorVersion = 1; + /** + * required uint32 majorVersion = 1; + */ boolean hasMajorVersion(); + /** + * required uint32 majorVersion = 1; + */ int getMajorVersion(); - + // required uint32 minorVersion = 2; + /** + * required uint32 minorVersion = 2; + */ boolean hasMinorVersion(); + /** + * required uint32 minorVersion = 2; + */ int getMinorVersion(); } + /** + * Protobuf type {@code AnnounceMessage.Version} + */ public static final class Version extends com.google.protobuf.GeneratedMessageLite implements VersionOrBuilder { // Use Version.newBuilder() to construct. - private Version(Builder builder) { + private Version(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); + } private Version(boolean noInit) {} - + private static final Version defaultInstance; public static Version getDefaultInstance() { return defaultInstance; } - + public Version getDefaultInstanceForType() { return defaultInstance; } - - private int bitField0_; - // required uint32 majorVersion = 1; - public static final int MAJORVERSION_FIELD_NUMBER = 1; - private int majorVersion_; - public boolean hasMajorVersion() { - return ((bitField0_ & 0x00000001) == 0x00000001); - } - public int getMajorVersion() { - return majorVersion_; - } - - // required uint32 minorVersion = 2; - public static final int MINORVERSION_FIELD_NUMBER = 2; - private int minorVersion_; - public boolean hasMinorVersion() { - return ((bitField0_ & 0x00000002) == 0x00000002); - } - public int getMinorVersion() { - return minorVersion_; - } - - private void initFields() { - majorVersion_ = 0; - minorVersion_ = 0; - } - private byte memoizedIsInitialized = -1; - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; - - if (!hasMajorVersion()) { - memoizedIsInitialized = 0; - return false; - } - if (!hasMinorVersion()) { - memoizedIsInitialized = 0; - return false; - } - memoizedIsInitialized = 1; - return true; - } - - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - getSerializedSize(); - if (((bitField0_ & 0x00000001) == 0x00000001)) { - output.writeUInt32(1, majorVersion_); - } - if (((bitField0_ & 0x00000002) == 0x00000002)) { - output.writeUInt32(2, minorVersion_); - } - } - - private int memoizedSerializedSize = -1; - public int getSerializedSize() { - int size = memoizedSerializedSize; - if (size != -1) return size; - - size = 0; - if (((bitField0_ & 0x00000001) == 0x00000001)) { - size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(1, majorVersion_); - } - if (((bitField0_ & 0x00000002) == 0x00000002)) { - size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(2, minorVersion_); - } - memoizedSerializedSize = size; - return size; - } - - private static final long serialVersionUID = 0L; - @java.lang.Override - protected java.lang.Object writeReplace() - throws java.io.ObjectStreamException { - return super.writeReplace(); - } - - public static de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data).buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data, extensionRegistry) - .buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data).buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data, extensionRegistry) - .buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version parseFrom(java.io.InputStream input) - throws java.io.IOException { - return newBuilder().mergeFrom(input).buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return newBuilder().mergeFrom(input, extensionRegistry) - .buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - Builder builder = newBuilder(); - if (builder.mergeDelimitedFrom(input)) { - return builder.buildParsed(); - } else { - return null; - } - } - public static de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - Builder builder = newBuilder(); - if (builder.mergeDelimitedFrom(input, extensionRegistry)) { - return builder.buildParsed(); - } else { - return null; - } - } - public static de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return newBuilder().mergeFrom(input).buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version parseFrom( + + private Version( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return newBuilder().mergeFrom(input, extensionRegistry) - .buildParsed(); - } - - public static Builder newBuilder() { return Builder.create(); } - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version prototype) { - return newBuilder().mergeFrom(prototype); - } - public Builder toBuilder() { return newBuilder(this); } - - public static final class Builder extends - com.google.protobuf.GeneratedMessageLite.Builder< - de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version, Builder> - implements de.pokerth.protocol.ProtoBuf.AnnounceMessage.VersionOrBuilder { - // Construct using de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - } - private static Builder create() { - return new Builder(); - } - - public Builder clear() { - super.clear(); - majorVersion_ = 0; - bitField0_ = (bitField0_ & ~0x00000001); - minorVersion_ = 0; - bitField0_ = (bitField0_ & ~0x00000002); - return this; - } - - public Builder clone() { - return create().mergeFrom(buildPartial()); - } - - public de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version getDefaultInstanceForType() { - return de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version.getDefaultInstance(); - } - - public de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version build() { - de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - private de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version buildParsed() - throws com.google.protobuf.InvalidProtocolBufferException { - de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException( - result).asInvalidProtocolBufferException(); - } - return result; - } - - public de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version buildPartial() { - de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version result = new de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version(this); - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) == 0x00000001)) { - to_bitField0_ |= 0x00000001; - } - result.majorVersion_ = majorVersion_; - if (((from_bitField0_ & 0x00000002) == 0x00000002)) { - to_bitField0_ |= 0x00000002; - } - result.minorVersion_ = minorVersion_; - result.bitField0_ = to_bitField0_; - return result; - } - - public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version other) { - if (other == de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version.getDefaultInstance()) return this; - if (other.hasMajorVersion()) { - setMajorVersion(other.getMajorVersion()); - } - if (other.hasMinorVersion()) { - setMinorVersion(other.getMinorVersion()); - } - return this; - } - - public final boolean isInitialized() { - if (!hasMajorVersion()) { - - return false; - } - if (!hasMinorVersion()) { - - return false; - } - return true; - } - - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - while (true) { + throws com.google.protobuf.InvalidProtocolBufferException { + initFields(); + int mutable_bitField0_ = 0; + try { + boolean done = false; + while (!done) { int tag = input.readTag(); switch (tag) { case 0: - - return this; + done = true; + break; default: { - if (!parseUnknownField(input, extensionRegistry, tag)) { - - return this; + if (!parseUnknownField(input, + extensionRegistry, tag)) { + done = true; } break; } @@ -2758,114 +3623,439 @@ public final class ProtoBuf { } } } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e.getMessage()).setUnfinishedMessage(this); + } finally { + makeExtensionsImmutable(); + } + } + public static com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + public Version parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Version(input, extensionRegistry); + } + }; + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + private int bitField0_; + // required uint32 majorVersion = 1; + public static final int MAJORVERSION_FIELD_NUMBER = 1; + private int majorVersion_; + /** + * required uint32 majorVersion = 1; + */ + public boolean hasMajorVersion() { + return ((bitField0_ & 0x00000001) == 0x00000001); + } + /** + * required uint32 majorVersion = 1; + */ + public int getMajorVersion() { + return majorVersion_; + } + + // required uint32 minorVersion = 2; + public static final int MINORVERSION_FIELD_NUMBER = 2; + private int minorVersion_; + /** + * required uint32 minorVersion = 2; + */ + public boolean hasMinorVersion() { + return ((bitField0_ & 0x00000002) == 0x00000002); + } + /** + * required uint32 minorVersion = 2; + */ + public int getMinorVersion() { + return minorVersion_; + } + + private void initFields() { + majorVersion_ = 0; + minorVersion_ = 0; + } + private byte memoizedIsInitialized = -1; + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized != -1) return isInitialized == 1; + + if (!hasMajorVersion()) { + memoizedIsInitialized = 0; + return false; + } + if (!hasMinorVersion()) { + memoizedIsInitialized = 0; + return false; + } + memoizedIsInitialized = 1; + return true; + } + + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + getSerializedSize(); + if (((bitField0_ & 0x00000001) == 0x00000001)) { + output.writeUInt32(1, majorVersion_); + } + if (((bitField0_ & 0x00000002) == 0x00000002)) { + output.writeUInt32(2, minorVersion_); + } + } + + private int memoizedSerializedSize = -1; + public int getSerializedSize() { + int size = memoizedSerializedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) == 0x00000001)) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(1, majorVersion_); + } + if (((bitField0_ & 0x00000002) == 0x00000002)) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(2, minorVersion_); + } + memoizedSerializedSize = size; + return size; + } + + private static final long serialVersionUID = 0L; + @java.lang.Override + protected java.lang.Object writeReplace() + throws java.io.ObjectStreamException { + return super.writeReplace(); + } + + public static de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version parseFrom(java.io.InputStream input) + throws java.io.IOException { + return PARSER.parseFrom(input); + } + public static de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseFrom(input, extensionRegistry); + } + public static de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return PARSER.parseDelimitedFrom(input); + } + public static de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseDelimitedFrom(input, extensionRegistry); + } + public static de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return PARSER.parseFrom(input); + } + public static de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseFrom(input, extensionRegistry); + } + + public static Builder newBuilder() { return Builder.create(); } + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version prototype) { + return newBuilder().mergeFrom(prototype); + } + public Builder toBuilder() { return newBuilder(this); } + + /** + * Protobuf type {@code AnnounceMessage.Version} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageLite.Builder< + de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version, Builder> + implements de.pokerth.protocol.ProtoBuf.AnnounceMessage.VersionOrBuilder { + // Construct using de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + } + private static Builder create() { + return new Builder(); + } + + public Builder clear() { + super.clear(); + majorVersion_ = 0; + bitField0_ = (bitField0_ & ~0x00000001); + minorVersion_ = 0; + bitField0_ = (bitField0_ & ~0x00000002); + return this; + } + + public Builder clone() { + return create().mergeFrom(buildPartial()); + } + + public de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version getDefaultInstanceForType() { + return de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version.getDefaultInstance(); + } + + public de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version build() { + de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + public de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version buildPartial() { + de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version result = new de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) == 0x00000001)) { + to_bitField0_ |= 0x00000001; + } + result.majorVersion_ = majorVersion_; + if (((from_bitField0_ & 0x00000002) == 0x00000002)) { + to_bitField0_ |= 0x00000002; + } + result.minorVersion_ = minorVersion_; + result.bitField0_ = to_bitField0_; + return result; + } + + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version other) { + if (other == de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version.getDefaultInstance()) return this; + if (other.hasMajorVersion()) { + setMajorVersion(other.getMajorVersion()); + } + if (other.hasMinorVersion()) { + setMinorVersion(other.getMinorVersion()); + } + return this; + } + + public final boolean isInitialized() { + if (!hasMajorVersion()) { + + return false; + } + if (!hasMinorVersion()) { + + return false; + } + return true; + } + + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version) e.getUnfinishedMessage(); + throw e; + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; } - private int bitField0_; - + // required uint32 majorVersion = 1; private int majorVersion_ ; + /** + * required uint32 majorVersion = 1; + */ public boolean hasMajorVersion() { return ((bitField0_ & 0x00000001) == 0x00000001); } + /** + * required uint32 majorVersion = 1; + */ public int getMajorVersion() { return majorVersion_; } + /** + * required uint32 majorVersion = 1; + */ public Builder setMajorVersion(int value) { bitField0_ |= 0x00000001; majorVersion_ = value; return this; } + /** + * required uint32 majorVersion = 1; + */ public Builder clearMajorVersion() { bitField0_ = (bitField0_ & ~0x00000001); majorVersion_ = 0; return this; } - + // required uint32 minorVersion = 2; private int minorVersion_ ; + /** + * required uint32 minorVersion = 2; + */ public boolean hasMinorVersion() { return ((bitField0_ & 0x00000002) == 0x00000002); } + /** + * required uint32 minorVersion = 2; + */ public int getMinorVersion() { return minorVersion_; } + /** + * required uint32 minorVersion = 2; + */ public Builder setMinorVersion(int value) { bitField0_ |= 0x00000002; minorVersion_ = value; return this; } + /** + * required uint32 minorVersion = 2; + */ public Builder clearMinorVersion() { bitField0_ = (bitField0_ & ~0x00000002); minorVersion_ = 0; return this; } - + // @@protoc_insertion_point(builder_scope:AnnounceMessage.Version) } - + static { defaultInstance = new Version(true); defaultInstance.initFields(); } - + // @@protoc_insertion_point(class_scope:AnnounceMessage.Version) } - + private int bitField0_; // required .AnnounceMessage.Version protocolVersion = 1; public static final int PROTOCOLVERSION_FIELD_NUMBER = 1; private de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version protocolVersion_; + /** + * required .AnnounceMessage.Version protocolVersion = 1; + */ public boolean hasProtocolVersion() { return ((bitField0_ & 0x00000001) == 0x00000001); } + /** + * required .AnnounceMessage.Version protocolVersion = 1; + */ public de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version getProtocolVersion() { return protocolVersion_; } - + // required .AnnounceMessage.Version latestGameVersion = 2; public static final int LATESTGAMEVERSION_FIELD_NUMBER = 2; private de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version latestGameVersion_; + /** + * required .AnnounceMessage.Version latestGameVersion = 2; + */ public boolean hasLatestGameVersion() { return ((bitField0_ & 0x00000002) == 0x00000002); } + /** + * required .AnnounceMessage.Version latestGameVersion = 2; + */ public de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version getLatestGameVersion() { return latestGameVersion_; } - + // required uint32 latestBetaRevision = 3; public static final int LATESTBETAREVISION_FIELD_NUMBER = 3; private int latestBetaRevision_; + /** + * required uint32 latestBetaRevision = 3; + */ public boolean hasLatestBetaRevision() { return ((bitField0_ & 0x00000004) == 0x00000004); } + /** + * required uint32 latestBetaRevision = 3; + */ public int getLatestBetaRevision() { return latestBetaRevision_; } - + // required .AnnounceMessage.ServerType serverType = 4; public static final int SERVERTYPE_FIELD_NUMBER = 4; private de.pokerth.protocol.ProtoBuf.AnnounceMessage.ServerType serverType_; + /** + * required .AnnounceMessage.ServerType serverType = 4; + */ public boolean hasServerType() { return ((bitField0_ & 0x00000008) == 0x00000008); } + /** + * required .AnnounceMessage.ServerType serverType = 4; + */ public de.pokerth.protocol.ProtoBuf.AnnounceMessage.ServerType getServerType() { return serverType_; } - + // required uint32 numPlayersOnServer = 5; public static final int NUMPLAYERSONSERVER_FIELD_NUMBER = 5; private int numPlayersOnServer_; + /** + * required uint32 numPlayersOnServer = 5; + */ public boolean hasNumPlayersOnServer() { return ((bitField0_ & 0x00000010) == 0x00000010); } + /** + * required uint32 numPlayersOnServer = 5; + */ public int getNumPlayersOnServer() { return numPlayersOnServer_; } - + private void initFields() { protocolVersion_ = de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version.getDefaultInstance(); latestGameVersion_ = de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version.getDefaultInstance(); @@ -2877,7 +4067,7 @@ public final class ProtoBuf { public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; - + if (!hasProtocolVersion()) { memoizedIsInitialized = 0; return false; @@ -2909,7 +4099,7 @@ public final class ProtoBuf { memoizedIsInitialized = 1; return true; } - + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); @@ -2929,12 +4119,12 @@ public final class ProtoBuf { output.writeUInt32(5, numPlayersOnServer_); } } - + private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; - + size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream @@ -2959,88 +4149,77 @@ public final class ProtoBuf { memoizedSerializedSize = size; return size; } - + private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } - + public static de.pokerth.protocol.ProtoBuf.AnnounceMessage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data).buildParsed(); + return PARSER.parseFrom(data); } public static de.pokerth.protocol.ProtoBuf.AnnounceMessage parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(data, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.AnnounceMessage parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data).buildParsed(); + return PARSER.parseFrom(data); } public static de.pokerth.protocol.ProtoBuf.AnnounceMessage parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(data, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.AnnounceMessage parseFrom(java.io.InputStream input) throws java.io.IOException { - return newBuilder().mergeFrom(input).buildParsed(); + return PARSER.parseFrom(input); } public static de.pokerth.protocol.ProtoBuf.AnnounceMessage parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return newBuilder().mergeFrom(input, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.AnnounceMessage parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - Builder builder = newBuilder(); - if (builder.mergeDelimitedFrom(input)) { - return builder.buildParsed(); - } else { - return null; - } + return PARSER.parseDelimitedFrom(input); } public static de.pokerth.protocol.ProtoBuf.AnnounceMessage parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - Builder builder = newBuilder(); - if (builder.mergeDelimitedFrom(input, extensionRegistry)) { - return builder.buildParsed(); - } else { - return null; - } + return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.AnnounceMessage parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return newBuilder().mergeFrom(input).buildParsed(); + return PARSER.parseFrom(input); } public static de.pokerth.protocol.ProtoBuf.AnnounceMessage parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return newBuilder().mergeFrom(input, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(input, extensionRegistry); } - + public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.AnnounceMessage prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } - + + /** + * Protobuf type {@code AnnounceMessage} + */ public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.AnnounceMessage, Builder> @@ -3049,13 +4228,13 @@ public final class ProtoBuf { private Builder() { maybeForceBuilderInitialization(); } - + private void maybeForceBuilderInitialization() { } private static Builder create() { return new Builder(); } - + public Builder clear() { super.clear(); protocolVersion_ = de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version.getDefaultInstance(); @@ -3070,15 +4249,15 @@ public final class ProtoBuf { bitField0_ = (bitField0_ & ~0x00000010); return this; } - + public Builder clone() { return create().mergeFrom(buildPartial()); } - + public de.pokerth.protocol.ProtoBuf.AnnounceMessage getDefaultInstanceForType() { return de.pokerth.protocol.ProtoBuf.AnnounceMessage.getDefaultInstance(); } - + public de.pokerth.protocol.ProtoBuf.AnnounceMessage build() { de.pokerth.protocol.ProtoBuf.AnnounceMessage result = buildPartial(); if (!result.isInitialized()) { @@ -3086,17 +4265,7 @@ public final class ProtoBuf { } return result; } - - private de.pokerth.protocol.ProtoBuf.AnnounceMessage buildParsed() - throws com.google.protobuf.InvalidProtocolBufferException { - de.pokerth.protocol.ProtoBuf.AnnounceMessage result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException( - result).asInvalidProtocolBufferException(); - } - return result; - } - + public de.pokerth.protocol.ProtoBuf.AnnounceMessage buildPartial() { de.pokerth.protocol.ProtoBuf.AnnounceMessage result = new de.pokerth.protocol.ProtoBuf.AnnounceMessage(this); int from_bitField0_ = bitField0_; @@ -3124,7 +4293,7 @@ public final class ProtoBuf { result.bitField0_ = to_bitField0_; return result; } - + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.AnnounceMessage other) { if (other == de.pokerth.protocol.ProtoBuf.AnnounceMessage.getDefaultInstance()) return this; if (other.hasProtocolVersion()) { @@ -3144,7 +4313,7 @@ public final class ProtoBuf { } return this; } - + public final boolean isInitialized() { if (!hasProtocolVersion()) { @@ -3176,91 +4345,65 @@ public final class ProtoBuf { } return true; } - + public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - while (true) { - int tag = input.readTag(); - switch (tag) { - case 0: - - return this; - default: { - if (!parseUnknownField(input, extensionRegistry, tag)) { - - return this; - } - break; - } - case 10: { - de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version.Builder subBuilder = de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version.newBuilder(); - if (hasProtocolVersion()) { - subBuilder.mergeFrom(getProtocolVersion()); - } - input.readMessage(subBuilder, extensionRegistry); - setProtocolVersion(subBuilder.buildPartial()); - break; - } - case 18: { - de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version.Builder subBuilder = de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version.newBuilder(); - if (hasLatestGameVersion()) { - subBuilder.mergeFrom(getLatestGameVersion()); - } - input.readMessage(subBuilder, extensionRegistry); - setLatestGameVersion(subBuilder.buildPartial()); - break; - } - case 24: { - bitField0_ |= 0x00000004; - latestBetaRevision_ = input.readUInt32(); - break; - } - case 32: { - int rawValue = input.readEnum(); - de.pokerth.protocol.ProtoBuf.AnnounceMessage.ServerType value = de.pokerth.protocol.ProtoBuf.AnnounceMessage.ServerType.valueOf(rawValue); - if (value != null) { - bitField0_ |= 0x00000008; - serverType_ = value; - } - break; - } - case 40: { - bitField0_ |= 0x00000010; - numPlayersOnServer_ = input.readUInt32(); - break; - } + de.pokerth.protocol.ProtoBuf.AnnounceMessage parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (de.pokerth.protocol.ProtoBuf.AnnounceMessage) e.getUnfinishedMessage(); + throw e; + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); } } + return this; } - private int bitField0_; - + // required .AnnounceMessage.Version protocolVersion = 1; private de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version protocolVersion_ = de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version.getDefaultInstance(); + /** + * required .AnnounceMessage.Version protocolVersion = 1; + */ public boolean hasProtocolVersion() { return ((bitField0_ & 0x00000001) == 0x00000001); } + /** + * required .AnnounceMessage.Version protocolVersion = 1; + */ public de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version getProtocolVersion() { return protocolVersion_; } + /** + * required .AnnounceMessage.Version protocolVersion = 1; + */ public Builder setProtocolVersion(de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version value) { if (value == null) { throw new NullPointerException(); } protocolVersion_ = value; - + bitField0_ |= 0x00000001; return this; } + /** + * required .AnnounceMessage.Version protocolVersion = 1; + */ public Builder setProtocolVersion( de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version.Builder builderForValue) { protocolVersion_ = builderForValue.build(); - + bitField0_ |= 0x00000001; return this; } + /** + * required .AnnounceMessage.Version protocolVersion = 1; + */ public Builder mergeProtocolVersion(de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version value) { if (((bitField0_ & 0x00000001) == 0x00000001) && protocolVersion_ != de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version.getDefaultInstance()) { @@ -3269,41 +4412,59 @@ public final class ProtoBuf { } else { protocolVersion_ = value; } - + bitField0_ |= 0x00000001; return this; } + /** + * required .AnnounceMessage.Version protocolVersion = 1; + */ public Builder clearProtocolVersion() { protocolVersion_ = de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version.getDefaultInstance(); - + bitField0_ = (bitField0_ & ~0x00000001); return this; } - + // required .AnnounceMessage.Version latestGameVersion = 2; private de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version latestGameVersion_ = de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version.getDefaultInstance(); + /** + * required .AnnounceMessage.Version latestGameVersion = 2; + */ public boolean hasLatestGameVersion() { return ((bitField0_ & 0x00000002) == 0x00000002); } + /** + * required .AnnounceMessage.Version latestGameVersion = 2; + */ public de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version getLatestGameVersion() { return latestGameVersion_; } + /** + * required .AnnounceMessage.Version latestGameVersion = 2; + */ public Builder setLatestGameVersion(de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version value) { if (value == null) { throw new NullPointerException(); } latestGameVersion_ = value; - + bitField0_ |= 0x00000002; return this; } + /** + * required .AnnounceMessage.Version latestGameVersion = 2; + */ public Builder setLatestGameVersion( de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version.Builder builderForValue) { latestGameVersion_ = builderForValue.build(); - + bitField0_ |= 0x00000002; return this; } + /** + * required .AnnounceMessage.Version latestGameVersion = 2; + */ public Builder mergeLatestGameVersion(de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version value) { if (((bitField0_ & 0x00000002) == 0x00000002) && latestGameVersion_ != de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version.getDefaultInstance()) { @@ -3312,46 +4473,70 @@ public final class ProtoBuf { } else { latestGameVersion_ = value; } - + bitField0_ |= 0x00000002; return this; } + /** + * required .AnnounceMessage.Version latestGameVersion = 2; + */ public Builder clearLatestGameVersion() { latestGameVersion_ = de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version.getDefaultInstance(); - + bitField0_ = (bitField0_ & ~0x00000002); return this; } - + // required uint32 latestBetaRevision = 3; private int latestBetaRevision_ ; + /** + * required uint32 latestBetaRevision = 3; + */ public boolean hasLatestBetaRevision() { return ((bitField0_ & 0x00000004) == 0x00000004); } + /** + * required uint32 latestBetaRevision = 3; + */ public int getLatestBetaRevision() { return latestBetaRevision_; } + /** + * required uint32 latestBetaRevision = 3; + */ public Builder setLatestBetaRevision(int value) { bitField0_ |= 0x00000004; latestBetaRevision_ = value; return this; } + /** + * required uint32 latestBetaRevision = 3; + */ public Builder clearLatestBetaRevision() { bitField0_ = (bitField0_ & ~0x00000004); latestBetaRevision_ = 0; return this; } - + // required .AnnounceMessage.ServerType serverType = 4; private de.pokerth.protocol.ProtoBuf.AnnounceMessage.ServerType serverType_ = de.pokerth.protocol.ProtoBuf.AnnounceMessage.ServerType.serverTypeLAN; + /** + * required .AnnounceMessage.ServerType serverType = 4; + */ public boolean hasServerType() { return ((bitField0_ & 0x00000008) == 0x00000008); } + /** + * required .AnnounceMessage.ServerType serverType = 4; + */ public de.pokerth.protocol.ProtoBuf.AnnounceMessage.ServerType getServerType() { return serverType_; } + /** + * required .AnnounceMessage.ServerType serverType = 4; + */ public Builder setServerType(de.pokerth.protocol.ProtoBuf.AnnounceMessage.ServerType value) { if (value == null) { throw new NullPointerException(); @@ -3361,629 +4546,239 @@ public final class ProtoBuf { return this; } + /** + * required .AnnounceMessage.ServerType serverType = 4; + */ public Builder clearServerType() { bitField0_ = (bitField0_ & ~0x00000008); serverType_ = de.pokerth.protocol.ProtoBuf.AnnounceMessage.ServerType.serverTypeLAN; return this; } - + // required uint32 numPlayersOnServer = 5; private int numPlayersOnServer_ ; + /** + * required uint32 numPlayersOnServer = 5; + */ public boolean hasNumPlayersOnServer() { return ((bitField0_ & 0x00000010) == 0x00000010); } + /** + * required uint32 numPlayersOnServer = 5; + */ public int getNumPlayersOnServer() { return numPlayersOnServer_; } + /** + * required uint32 numPlayersOnServer = 5; + */ public Builder setNumPlayersOnServer(int value) { bitField0_ |= 0x00000010; numPlayersOnServer_ = value; return this; } + /** + * required uint32 numPlayersOnServer = 5; + */ public Builder clearNumPlayersOnServer() { bitField0_ = (bitField0_ & ~0x00000010); numPlayersOnServer_ = 0; return this; } - + // @@protoc_insertion_point(builder_scope:AnnounceMessage) } - + static { defaultInstance = new AnnounceMessage(true); defaultInstance.initFields(); } - + // @@protoc_insertion_point(class_scope:AnnounceMessage) } - + public interface InitMessageOrBuilder extends com.google.protobuf.MessageLiteOrBuilder { - + // required .AnnounceMessage.Version requestedVersion = 1; + /** + * required .AnnounceMessage.Version requestedVersion = 1; + */ boolean hasRequestedVersion(); + /** + * required .AnnounceMessage.Version requestedVersion = 1; + */ de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version getRequestedVersion(); - + // required uint32 buildId = 2; + /** + * required uint32 buildId = 2; + */ boolean hasBuildId(); + /** + * required uint32 buildId = 2; + */ int getBuildId(); - + // optional bytes myLastSessionId = 3; + /** + * optional bytes myLastSessionId = 3; + */ boolean hasMyLastSessionId(); + /** + * optional bytes myLastSessionId = 3; + */ com.google.protobuf.ByteString getMyLastSessionId(); - + // optional string authServerPassword = 4; + /** + * optional string authServerPassword = 4; + */ boolean hasAuthServerPassword(); - String getAuthServerPassword(); - + /** + * optional string authServerPassword = 4; + */ + java.lang.String getAuthServerPassword(); + /** + * optional string authServerPassword = 4; + */ + com.google.protobuf.ByteString + getAuthServerPasswordBytes(); + // required .InitMessage.LoginType login = 5; + /** + * required .InitMessage.LoginType login = 5; + */ boolean hasLogin(); + /** + * required .InitMessage.LoginType login = 5; + */ de.pokerth.protocol.ProtoBuf.InitMessage.LoginType getLogin(); - + // optional string nickName = 6; + /** + * optional string nickName = 6; + * + *
+     * Only used for guest login or unauthenticated login.
+     * 
+ */ boolean hasNickName(); - String getNickName(); - + /** + * optional string nickName = 6; + * + *
+     * Only used for guest login or unauthenticated login.
+     * 
+ */ + java.lang.String getNickName(); + /** + * optional string nickName = 6; + * + *
+     * Only used for guest login or unauthenticated login.
+     * 
+ */ + com.google.protobuf.ByteString + getNickNameBytes(); + // optional bytes clientUserData = 7; + /** + * optional bytes clientUserData = 7; + * + *
+     * Authenticated login data is according to SCRAM SHA-1
+     * 
+ */ boolean hasClientUserData(); + /** + * optional bytes clientUserData = 7; + * + *
+     * Authenticated login data is according to SCRAM SHA-1
+     * 
+ */ com.google.protobuf.ByteString getClientUserData(); - + // optional bytes avatarHash = 8; + /** + * optional bytes avatarHash = 8; + * + *
+     * Ignored for guest login.
+     * 
+ */ boolean hasAvatarHash(); + /** + * optional bytes avatarHash = 8; + * + *
+     * Ignored for guest login.
+     * 
+ */ com.google.protobuf.ByteString getAvatarHash(); } + /** + * Protobuf type {@code InitMessage} + * + *
+   * buildId contains a constant build id (specific for Windows/Linux/Mac builds)
+   * 
+ */ public static final class InitMessage extends com.google.protobuf.GeneratedMessageLite implements InitMessageOrBuilder { // Use InitMessage.newBuilder() to construct. - private InitMessage(Builder builder) { + private InitMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); + } private InitMessage(boolean noInit) {} - + private static final InitMessage defaultInstance; public static InitMessage getDefaultInstance() { return defaultInstance; } - + public InitMessage getDefaultInstanceForType() { return defaultInstance; } - - public enum LoginType - implements com.google.protobuf.Internal.EnumLite { - guestLogin(0, 0), - authenticatedLogin(1, 1), - unauthenticatedLogin(2, 2), - ; - - public static final int guestLogin_VALUE = 0; - public static final int authenticatedLogin_VALUE = 1; - public static final int unauthenticatedLogin_VALUE = 2; - - - public final int getNumber() { return value; } - - public static LoginType valueOf(int value) { - switch (value) { - case 0: return guestLogin; - case 1: return authenticatedLogin; - case 2: return unauthenticatedLogin; - default: return null; - } - } - - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { - return internalValueMap; - } - private static com.google.protobuf.Internal.EnumLiteMap - internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public LoginType findValueByNumber(int number) { - return LoginType.valueOf(number); - } - }; - - private final int value; - - private LoginType(int index, int value) { - this.value = value; - } - - // @@protoc_insertion_point(enum_scope:InitMessage.LoginType) - } - - private int bitField0_; - // required .AnnounceMessage.Version requestedVersion = 1; - public static final int REQUESTEDVERSION_FIELD_NUMBER = 1; - private de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version requestedVersion_; - public boolean hasRequestedVersion() { - return ((bitField0_ & 0x00000001) == 0x00000001); - } - public de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version getRequestedVersion() { - return requestedVersion_; - } - - // required uint32 buildId = 2; - public static final int BUILDID_FIELD_NUMBER = 2; - private int buildId_; - public boolean hasBuildId() { - return ((bitField0_ & 0x00000002) == 0x00000002); - } - public int getBuildId() { - return buildId_; - } - - // optional bytes myLastSessionId = 3; - public static final int MYLASTSESSIONID_FIELD_NUMBER = 3; - private com.google.protobuf.ByteString myLastSessionId_; - public boolean hasMyLastSessionId() { - return ((bitField0_ & 0x00000004) == 0x00000004); - } - public com.google.protobuf.ByteString getMyLastSessionId() { - return myLastSessionId_; - } - - // optional string authServerPassword = 4; - public static final int AUTHSERVERPASSWORD_FIELD_NUMBER = 4; - private java.lang.Object authServerPassword_; - public boolean hasAuthServerPassword() { - return ((bitField0_ & 0x00000008) == 0x00000008); - } - public String getAuthServerPassword() { - java.lang.Object ref = authServerPassword_; - if (ref instanceof String) { - return (String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - String s = bs.toStringUtf8(); - if (com.google.protobuf.Internal.isValidUtf8(bs)) { - authServerPassword_ = s; - } - return s; - } - } - private com.google.protobuf.ByteString getAuthServerPasswordBytes() { - java.lang.Object ref = authServerPassword_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((String) ref); - authServerPassword_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - // required .InitMessage.LoginType login = 5; - public static final int LOGIN_FIELD_NUMBER = 5; - private de.pokerth.protocol.ProtoBuf.InitMessage.LoginType login_; - public boolean hasLogin() { - return ((bitField0_ & 0x00000010) == 0x00000010); - } - public de.pokerth.protocol.ProtoBuf.InitMessage.LoginType getLogin() { - return login_; - } - - // optional string nickName = 6; - public static final int NICKNAME_FIELD_NUMBER = 6; - private java.lang.Object nickName_; - public boolean hasNickName() { - return ((bitField0_ & 0x00000020) == 0x00000020); - } - public String getNickName() { - java.lang.Object ref = nickName_; - if (ref instanceof String) { - return (String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - String s = bs.toStringUtf8(); - if (com.google.protobuf.Internal.isValidUtf8(bs)) { - nickName_ = s; - } - return s; - } - } - private com.google.protobuf.ByteString getNickNameBytes() { - java.lang.Object ref = nickName_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((String) ref); - nickName_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - // optional bytes clientUserData = 7; - public static final int CLIENTUSERDATA_FIELD_NUMBER = 7; - private com.google.protobuf.ByteString clientUserData_; - public boolean hasClientUserData() { - return ((bitField0_ & 0x00000040) == 0x00000040); - } - public com.google.protobuf.ByteString getClientUserData() { - return clientUserData_; - } - - // optional bytes avatarHash = 8; - public static final int AVATARHASH_FIELD_NUMBER = 8; - private com.google.protobuf.ByteString avatarHash_; - public boolean hasAvatarHash() { - return ((bitField0_ & 0x00000080) == 0x00000080); - } - public com.google.protobuf.ByteString getAvatarHash() { - return avatarHash_; - } - - private void initFields() { - requestedVersion_ = de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version.getDefaultInstance(); - buildId_ = 0; - myLastSessionId_ = com.google.protobuf.ByteString.EMPTY; - authServerPassword_ = ""; - login_ = de.pokerth.protocol.ProtoBuf.InitMessage.LoginType.guestLogin; - nickName_ = ""; - clientUserData_ = com.google.protobuf.ByteString.EMPTY; - avatarHash_ = com.google.protobuf.ByteString.EMPTY; - } - private byte memoizedIsInitialized = -1; - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; - - if (!hasRequestedVersion()) { - memoizedIsInitialized = 0; - return false; - } - if (!hasBuildId()) { - memoizedIsInitialized = 0; - return false; - } - if (!hasLogin()) { - memoizedIsInitialized = 0; - return false; - } - if (!getRequestedVersion().isInitialized()) { - memoizedIsInitialized = 0; - return false; - } - memoizedIsInitialized = 1; - return true; - } - - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - getSerializedSize(); - if (((bitField0_ & 0x00000001) == 0x00000001)) { - output.writeMessage(1, requestedVersion_); - } - if (((bitField0_ & 0x00000002) == 0x00000002)) { - output.writeUInt32(2, buildId_); - } - if (((bitField0_ & 0x00000004) == 0x00000004)) { - output.writeBytes(3, myLastSessionId_); - } - if (((bitField0_ & 0x00000008) == 0x00000008)) { - output.writeBytes(4, getAuthServerPasswordBytes()); - } - if (((bitField0_ & 0x00000010) == 0x00000010)) { - output.writeEnum(5, login_.getNumber()); - } - if (((bitField0_ & 0x00000020) == 0x00000020)) { - output.writeBytes(6, getNickNameBytes()); - } - if (((bitField0_ & 0x00000040) == 0x00000040)) { - output.writeBytes(7, clientUserData_); - } - if (((bitField0_ & 0x00000080) == 0x00000080)) { - output.writeBytes(8, avatarHash_); - } - } - - private int memoizedSerializedSize = -1; - public int getSerializedSize() { - int size = memoizedSerializedSize; - if (size != -1) return size; - - size = 0; - if (((bitField0_ & 0x00000001) == 0x00000001)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, requestedVersion_); - } - if (((bitField0_ & 0x00000002) == 0x00000002)) { - size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(2, buildId_); - } - if (((bitField0_ & 0x00000004) == 0x00000004)) { - size += com.google.protobuf.CodedOutputStream - .computeBytesSize(3, myLastSessionId_); - } - if (((bitField0_ & 0x00000008) == 0x00000008)) { - size += com.google.protobuf.CodedOutputStream - .computeBytesSize(4, getAuthServerPasswordBytes()); - } - if (((bitField0_ & 0x00000010) == 0x00000010)) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(5, login_.getNumber()); - } - if (((bitField0_ & 0x00000020) == 0x00000020)) { - size += com.google.protobuf.CodedOutputStream - .computeBytesSize(6, getNickNameBytes()); - } - if (((bitField0_ & 0x00000040) == 0x00000040)) { - size += com.google.protobuf.CodedOutputStream - .computeBytesSize(7, clientUserData_); - } - if (((bitField0_ & 0x00000080) == 0x00000080)) { - size += com.google.protobuf.CodedOutputStream - .computeBytesSize(8, avatarHash_); - } - memoizedSerializedSize = size; - return size; - } - - private static final long serialVersionUID = 0L; - @java.lang.Override - protected java.lang.Object writeReplace() - throws java.io.ObjectStreamException { - return super.writeReplace(); - } - - public static de.pokerth.protocol.ProtoBuf.InitMessage parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data).buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.InitMessage parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data, extensionRegistry) - .buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.InitMessage parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data).buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.InitMessage parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data, extensionRegistry) - .buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.InitMessage parseFrom(java.io.InputStream input) - throws java.io.IOException { - return newBuilder().mergeFrom(input).buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.InitMessage parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return newBuilder().mergeFrom(input, extensionRegistry) - .buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.InitMessage parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - Builder builder = newBuilder(); - if (builder.mergeDelimitedFrom(input)) { - return builder.buildParsed(); - } else { - return null; - } - } - public static de.pokerth.protocol.ProtoBuf.InitMessage parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - Builder builder = newBuilder(); - if (builder.mergeDelimitedFrom(input, extensionRegistry)) { - return builder.buildParsed(); - } else { - return null; - } - } - public static de.pokerth.protocol.ProtoBuf.InitMessage parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return newBuilder().mergeFrom(input).buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.InitMessage parseFrom( + + private InitMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return newBuilder().mergeFrom(input, extensionRegistry) - .buildParsed(); - } - - public static Builder newBuilder() { return Builder.create(); } - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.InitMessage prototype) { - return newBuilder().mergeFrom(prototype); - } - public Builder toBuilder() { return newBuilder(this); } - - public static final class Builder extends - com.google.protobuf.GeneratedMessageLite.Builder< - de.pokerth.protocol.ProtoBuf.InitMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.InitMessageOrBuilder { - // Construct using de.pokerth.protocol.ProtoBuf.InitMessage.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - } - private static Builder create() { - return new Builder(); - } - - public Builder clear() { - super.clear(); - requestedVersion_ = de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version.getDefaultInstance(); - bitField0_ = (bitField0_ & ~0x00000001); - buildId_ = 0; - bitField0_ = (bitField0_ & ~0x00000002); - myLastSessionId_ = com.google.protobuf.ByteString.EMPTY; - bitField0_ = (bitField0_ & ~0x00000004); - authServerPassword_ = ""; - bitField0_ = (bitField0_ & ~0x00000008); - login_ = de.pokerth.protocol.ProtoBuf.InitMessage.LoginType.guestLogin; - bitField0_ = (bitField0_ & ~0x00000010); - nickName_ = ""; - bitField0_ = (bitField0_ & ~0x00000020); - clientUserData_ = com.google.protobuf.ByteString.EMPTY; - bitField0_ = (bitField0_ & ~0x00000040); - avatarHash_ = com.google.protobuf.ByteString.EMPTY; - bitField0_ = (bitField0_ & ~0x00000080); - return this; - } - - public Builder clone() { - return create().mergeFrom(buildPartial()); - } - - public de.pokerth.protocol.ProtoBuf.InitMessage getDefaultInstanceForType() { - return de.pokerth.protocol.ProtoBuf.InitMessage.getDefaultInstance(); - } - - public de.pokerth.protocol.ProtoBuf.InitMessage build() { - de.pokerth.protocol.ProtoBuf.InitMessage result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - private de.pokerth.protocol.ProtoBuf.InitMessage buildParsed() - throws com.google.protobuf.InvalidProtocolBufferException { - de.pokerth.protocol.ProtoBuf.InitMessage result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException( - result).asInvalidProtocolBufferException(); - } - return result; - } - - public de.pokerth.protocol.ProtoBuf.InitMessage buildPartial() { - de.pokerth.protocol.ProtoBuf.InitMessage result = new de.pokerth.protocol.ProtoBuf.InitMessage(this); - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) == 0x00000001)) { - to_bitField0_ |= 0x00000001; - } - result.requestedVersion_ = requestedVersion_; - if (((from_bitField0_ & 0x00000002) == 0x00000002)) { - to_bitField0_ |= 0x00000002; - } - result.buildId_ = buildId_; - if (((from_bitField0_ & 0x00000004) == 0x00000004)) { - to_bitField0_ |= 0x00000004; - } - result.myLastSessionId_ = myLastSessionId_; - if (((from_bitField0_ & 0x00000008) == 0x00000008)) { - to_bitField0_ |= 0x00000008; - } - result.authServerPassword_ = authServerPassword_; - if (((from_bitField0_ & 0x00000010) == 0x00000010)) { - to_bitField0_ |= 0x00000010; - } - result.login_ = login_; - if (((from_bitField0_ & 0x00000020) == 0x00000020)) { - to_bitField0_ |= 0x00000020; - } - result.nickName_ = nickName_; - if (((from_bitField0_ & 0x00000040) == 0x00000040)) { - to_bitField0_ |= 0x00000040; - } - result.clientUserData_ = clientUserData_; - if (((from_bitField0_ & 0x00000080) == 0x00000080)) { - to_bitField0_ |= 0x00000080; - } - result.avatarHash_ = avatarHash_; - result.bitField0_ = to_bitField0_; - return result; - } - - public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.InitMessage other) { - if (other == de.pokerth.protocol.ProtoBuf.InitMessage.getDefaultInstance()) return this; - if (other.hasRequestedVersion()) { - mergeRequestedVersion(other.getRequestedVersion()); - } - if (other.hasBuildId()) { - setBuildId(other.getBuildId()); - } - if (other.hasMyLastSessionId()) { - setMyLastSessionId(other.getMyLastSessionId()); - } - if (other.hasAuthServerPassword()) { - setAuthServerPassword(other.getAuthServerPassword()); - } - if (other.hasLogin()) { - setLogin(other.getLogin()); - } - if (other.hasNickName()) { - setNickName(other.getNickName()); - } - if (other.hasClientUserData()) { - setClientUserData(other.getClientUserData()); - } - if (other.hasAvatarHash()) { - setAvatarHash(other.getAvatarHash()); - } - return this; - } - - public final boolean isInitialized() { - if (!hasRequestedVersion()) { - - return false; - } - if (!hasBuildId()) { - - return false; - } - if (!hasLogin()) { - - return false; - } - if (!getRequestedVersion().isInitialized()) { - - return false; - } - return true; - } - - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - while (true) { + throws com.google.protobuf.InvalidProtocolBufferException { + initFields(); + int mutable_bitField0_ = 0; + try { + boolean done = false; + while (!done) { int tag = input.readTag(); switch (tag) { case 0: - - return this; + done = true; + break; default: { - if (!parseUnknownField(input, extensionRegistry, tag)) { - - return this; + if (!parseUnknownField(input, + extensionRegistry, tag)) { + done = true; } break; } case 10: { - de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version.Builder subBuilder = de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version.newBuilder(); - if (hasRequestedVersion()) { - subBuilder.mergeFrom(getRequestedVersion()); + de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version.Builder subBuilder = null; + if (((bitField0_ & 0x00000001) == 0x00000001)) { + subBuilder = requestedVersion_.toBuilder(); } - input.readMessage(subBuilder, extensionRegistry); - setRequestedVersion(subBuilder.buildPartial()); + requestedVersion_ = input.readMessage(de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(requestedVersion_); + requestedVersion_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x00000001; break; } case 16: { @@ -4027,34 +4822,689 @@ public final class ProtoBuf { } } } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e.getMessage()).setUnfinishedMessage(this); + } finally { + makeExtensionsImmutable(); + } + } + public static com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + public InitMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new InitMessage(input, extensionRegistry); + } + }; + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + /** + * Protobuf enum {@code InitMessage.LoginType} + */ + public enum LoginType + implements com.google.protobuf.Internal.EnumLite { + /** + * guestLogin = 0; + */ + guestLogin(0, 0), + /** + * authenticatedLogin = 1; + */ + authenticatedLogin(1, 1), + /** + * unauthenticatedLogin = 2; + */ + unauthenticatedLogin(2, 2), + ; + + /** + * guestLogin = 0; + */ + public static final int guestLogin_VALUE = 0; + /** + * authenticatedLogin = 1; + */ + public static final int authenticatedLogin_VALUE = 1; + /** + * unauthenticatedLogin = 2; + */ + public static final int unauthenticatedLogin_VALUE = 2; + + + public final int getNumber() { return value; } + + public static LoginType valueOf(int value) { + switch (value) { + case 0: return guestLogin; + case 1: return authenticatedLogin; + case 2: return unauthenticatedLogin; + default: return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { + return internalValueMap; + } + private static com.google.protobuf.Internal.EnumLiteMap + internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public LoginType findValueByNumber(int number) { + return LoginType.valueOf(number); + } + }; + + private final int value; + + private LoginType(int index, int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:InitMessage.LoginType) + } + + private int bitField0_; + // required .AnnounceMessage.Version requestedVersion = 1; + public static final int REQUESTEDVERSION_FIELD_NUMBER = 1; + private de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version requestedVersion_; + /** + * required .AnnounceMessage.Version requestedVersion = 1; + */ + public boolean hasRequestedVersion() { + return ((bitField0_ & 0x00000001) == 0x00000001); + } + /** + * required .AnnounceMessage.Version requestedVersion = 1; + */ + public de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version getRequestedVersion() { + return requestedVersion_; + } + + // required uint32 buildId = 2; + public static final int BUILDID_FIELD_NUMBER = 2; + private int buildId_; + /** + * required uint32 buildId = 2; + */ + public boolean hasBuildId() { + return ((bitField0_ & 0x00000002) == 0x00000002); + } + /** + * required uint32 buildId = 2; + */ + public int getBuildId() { + return buildId_; + } + + // optional bytes myLastSessionId = 3; + public static final int MYLASTSESSIONID_FIELD_NUMBER = 3; + private com.google.protobuf.ByteString myLastSessionId_; + /** + * optional bytes myLastSessionId = 3; + */ + public boolean hasMyLastSessionId() { + return ((bitField0_ & 0x00000004) == 0x00000004); + } + /** + * optional bytes myLastSessionId = 3; + */ + public com.google.protobuf.ByteString getMyLastSessionId() { + return myLastSessionId_; + } + + // optional string authServerPassword = 4; + public static final int AUTHSERVERPASSWORD_FIELD_NUMBER = 4; + private java.lang.Object authServerPassword_; + /** + * optional string authServerPassword = 4; + */ + public boolean hasAuthServerPassword() { + return ((bitField0_ & 0x00000008) == 0x00000008); + } + /** + * optional string authServerPassword = 4; + */ + public java.lang.String getAuthServerPassword() { + java.lang.Object ref = authServerPassword_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + authServerPassword_ = s; + } + return s; + } + } + /** + * optional string authServerPassword = 4; + */ + public com.google.protobuf.ByteString + getAuthServerPasswordBytes() { + java.lang.Object ref = authServerPassword_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + authServerPassword_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + // required .InitMessage.LoginType login = 5; + public static final int LOGIN_FIELD_NUMBER = 5; + private de.pokerth.protocol.ProtoBuf.InitMessage.LoginType login_; + /** + * required .InitMessage.LoginType login = 5; + */ + public boolean hasLogin() { + return ((bitField0_ & 0x00000010) == 0x00000010); + } + /** + * required .InitMessage.LoginType login = 5; + */ + public de.pokerth.protocol.ProtoBuf.InitMessage.LoginType getLogin() { + return login_; + } + + // optional string nickName = 6; + public static final int NICKNAME_FIELD_NUMBER = 6; + private java.lang.Object nickName_; + /** + * optional string nickName = 6; + * + *
+     * Only used for guest login or unauthenticated login.
+     * 
+ */ + public boolean hasNickName() { + return ((bitField0_ & 0x00000020) == 0x00000020); + } + /** + * optional string nickName = 6; + * + *
+     * Only used for guest login or unauthenticated login.
+     * 
+ */ + public java.lang.String getNickName() { + java.lang.Object ref = nickName_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + nickName_ = s; + } + return s; + } + } + /** + * optional string nickName = 6; + * + *
+     * Only used for guest login or unauthenticated login.
+     * 
+ */ + public com.google.protobuf.ByteString + getNickNameBytes() { + java.lang.Object ref = nickName_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + nickName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + // optional bytes clientUserData = 7; + public static final int CLIENTUSERDATA_FIELD_NUMBER = 7; + private com.google.protobuf.ByteString clientUserData_; + /** + * optional bytes clientUserData = 7; + * + *
+     * Authenticated login data is according to SCRAM SHA-1
+     * 
+ */ + public boolean hasClientUserData() { + return ((bitField0_ & 0x00000040) == 0x00000040); + } + /** + * optional bytes clientUserData = 7; + * + *
+     * Authenticated login data is according to SCRAM SHA-1
+     * 
+ */ + public com.google.protobuf.ByteString getClientUserData() { + return clientUserData_; + } + + // optional bytes avatarHash = 8; + public static final int AVATARHASH_FIELD_NUMBER = 8; + private com.google.protobuf.ByteString avatarHash_; + /** + * optional bytes avatarHash = 8; + * + *
+     * Ignored for guest login.
+     * 
+ */ + public boolean hasAvatarHash() { + return ((bitField0_ & 0x00000080) == 0x00000080); + } + /** + * optional bytes avatarHash = 8; + * + *
+     * Ignored for guest login.
+     * 
+ */ + public com.google.protobuf.ByteString getAvatarHash() { + return avatarHash_; + } + + private void initFields() { + requestedVersion_ = de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version.getDefaultInstance(); + buildId_ = 0; + myLastSessionId_ = com.google.protobuf.ByteString.EMPTY; + authServerPassword_ = ""; + login_ = de.pokerth.protocol.ProtoBuf.InitMessage.LoginType.guestLogin; + nickName_ = ""; + clientUserData_ = com.google.protobuf.ByteString.EMPTY; + avatarHash_ = com.google.protobuf.ByteString.EMPTY; + } + private byte memoizedIsInitialized = -1; + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized != -1) return isInitialized == 1; + + if (!hasRequestedVersion()) { + memoizedIsInitialized = 0; + return false; + } + if (!hasBuildId()) { + memoizedIsInitialized = 0; + return false; + } + if (!hasLogin()) { + memoizedIsInitialized = 0; + return false; + } + if (!getRequestedVersion().isInitialized()) { + memoizedIsInitialized = 0; + return false; + } + memoizedIsInitialized = 1; + return true; + } + + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + getSerializedSize(); + if (((bitField0_ & 0x00000001) == 0x00000001)) { + output.writeMessage(1, requestedVersion_); + } + if (((bitField0_ & 0x00000002) == 0x00000002)) { + output.writeUInt32(2, buildId_); + } + if (((bitField0_ & 0x00000004) == 0x00000004)) { + output.writeBytes(3, myLastSessionId_); + } + if (((bitField0_ & 0x00000008) == 0x00000008)) { + output.writeBytes(4, getAuthServerPasswordBytes()); + } + if (((bitField0_ & 0x00000010) == 0x00000010)) { + output.writeEnum(5, login_.getNumber()); + } + if (((bitField0_ & 0x00000020) == 0x00000020)) { + output.writeBytes(6, getNickNameBytes()); + } + if (((bitField0_ & 0x00000040) == 0x00000040)) { + output.writeBytes(7, clientUserData_); + } + if (((bitField0_ & 0x00000080) == 0x00000080)) { + output.writeBytes(8, avatarHash_); + } + } + + private int memoizedSerializedSize = -1; + public int getSerializedSize() { + int size = memoizedSerializedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) == 0x00000001)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, requestedVersion_); + } + if (((bitField0_ & 0x00000002) == 0x00000002)) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(2, buildId_); + } + if (((bitField0_ & 0x00000004) == 0x00000004)) { + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(3, myLastSessionId_); + } + if (((bitField0_ & 0x00000008) == 0x00000008)) { + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(4, getAuthServerPasswordBytes()); + } + if (((bitField0_ & 0x00000010) == 0x00000010)) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(5, login_.getNumber()); + } + if (((bitField0_ & 0x00000020) == 0x00000020)) { + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(6, getNickNameBytes()); + } + if (((bitField0_ & 0x00000040) == 0x00000040)) { + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(7, clientUserData_); + } + if (((bitField0_ & 0x00000080) == 0x00000080)) { + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(8, avatarHash_); + } + memoizedSerializedSize = size; + return size; + } + + private static final long serialVersionUID = 0L; + @java.lang.Override + protected java.lang.Object writeReplace() + throws java.io.ObjectStreamException { + return super.writeReplace(); + } + + public static de.pokerth.protocol.ProtoBuf.InitMessage parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static de.pokerth.protocol.ProtoBuf.InitMessage parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static de.pokerth.protocol.ProtoBuf.InitMessage parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static de.pokerth.protocol.ProtoBuf.InitMessage parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static de.pokerth.protocol.ProtoBuf.InitMessage parseFrom(java.io.InputStream input) + throws java.io.IOException { + return PARSER.parseFrom(input); + } + public static de.pokerth.protocol.ProtoBuf.InitMessage parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseFrom(input, extensionRegistry); + } + public static de.pokerth.protocol.ProtoBuf.InitMessage parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return PARSER.parseDelimitedFrom(input); + } + public static de.pokerth.protocol.ProtoBuf.InitMessage parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseDelimitedFrom(input, extensionRegistry); + } + public static de.pokerth.protocol.ProtoBuf.InitMessage parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return PARSER.parseFrom(input); + } + public static de.pokerth.protocol.ProtoBuf.InitMessage parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseFrom(input, extensionRegistry); + } + + public static Builder newBuilder() { return Builder.create(); } + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.InitMessage prototype) { + return newBuilder().mergeFrom(prototype); + } + public Builder toBuilder() { return newBuilder(this); } + + /** + * Protobuf type {@code InitMessage} + * + *
+     * buildId contains a constant build id (specific for Windows/Linux/Mac builds)
+     * 
+ */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageLite.Builder< + de.pokerth.protocol.ProtoBuf.InitMessage, Builder> + implements de.pokerth.protocol.ProtoBuf.InitMessageOrBuilder { + // Construct using de.pokerth.protocol.ProtoBuf.InitMessage.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + } + private static Builder create() { + return new Builder(); + } + + public Builder clear() { + super.clear(); + requestedVersion_ = de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version.getDefaultInstance(); + bitField0_ = (bitField0_ & ~0x00000001); + buildId_ = 0; + bitField0_ = (bitField0_ & ~0x00000002); + myLastSessionId_ = com.google.protobuf.ByteString.EMPTY; + bitField0_ = (bitField0_ & ~0x00000004); + authServerPassword_ = ""; + bitField0_ = (bitField0_ & ~0x00000008); + login_ = de.pokerth.protocol.ProtoBuf.InitMessage.LoginType.guestLogin; + bitField0_ = (bitField0_ & ~0x00000010); + nickName_ = ""; + bitField0_ = (bitField0_ & ~0x00000020); + clientUserData_ = com.google.protobuf.ByteString.EMPTY; + bitField0_ = (bitField0_ & ~0x00000040); + avatarHash_ = com.google.protobuf.ByteString.EMPTY; + bitField0_ = (bitField0_ & ~0x00000080); + return this; + } + + public Builder clone() { + return create().mergeFrom(buildPartial()); + } + + public de.pokerth.protocol.ProtoBuf.InitMessage getDefaultInstanceForType() { + return de.pokerth.protocol.ProtoBuf.InitMessage.getDefaultInstance(); + } + + public de.pokerth.protocol.ProtoBuf.InitMessage build() { + de.pokerth.protocol.ProtoBuf.InitMessage result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + public de.pokerth.protocol.ProtoBuf.InitMessage buildPartial() { + de.pokerth.protocol.ProtoBuf.InitMessage result = new de.pokerth.protocol.ProtoBuf.InitMessage(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) == 0x00000001)) { + to_bitField0_ |= 0x00000001; + } + result.requestedVersion_ = requestedVersion_; + if (((from_bitField0_ & 0x00000002) == 0x00000002)) { + to_bitField0_ |= 0x00000002; + } + result.buildId_ = buildId_; + if (((from_bitField0_ & 0x00000004) == 0x00000004)) { + to_bitField0_ |= 0x00000004; + } + result.myLastSessionId_ = myLastSessionId_; + if (((from_bitField0_ & 0x00000008) == 0x00000008)) { + to_bitField0_ |= 0x00000008; + } + result.authServerPassword_ = authServerPassword_; + if (((from_bitField0_ & 0x00000010) == 0x00000010)) { + to_bitField0_ |= 0x00000010; + } + result.login_ = login_; + if (((from_bitField0_ & 0x00000020) == 0x00000020)) { + to_bitField0_ |= 0x00000020; + } + result.nickName_ = nickName_; + if (((from_bitField0_ & 0x00000040) == 0x00000040)) { + to_bitField0_ |= 0x00000040; + } + result.clientUserData_ = clientUserData_; + if (((from_bitField0_ & 0x00000080) == 0x00000080)) { + to_bitField0_ |= 0x00000080; + } + result.avatarHash_ = avatarHash_; + result.bitField0_ = to_bitField0_; + return result; + } + + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.InitMessage other) { + if (other == de.pokerth.protocol.ProtoBuf.InitMessage.getDefaultInstance()) return this; + if (other.hasRequestedVersion()) { + mergeRequestedVersion(other.getRequestedVersion()); + } + if (other.hasBuildId()) { + setBuildId(other.getBuildId()); + } + if (other.hasMyLastSessionId()) { + setMyLastSessionId(other.getMyLastSessionId()); + } + if (other.hasAuthServerPassword()) { + bitField0_ |= 0x00000008; + authServerPassword_ = other.authServerPassword_; + + } + if (other.hasLogin()) { + setLogin(other.getLogin()); + } + if (other.hasNickName()) { + bitField0_ |= 0x00000020; + nickName_ = other.nickName_; + + } + if (other.hasClientUserData()) { + setClientUserData(other.getClientUserData()); + } + if (other.hasAvatarHash()) { + setAvatarHash(other.getAvatarHash()); + } + return this; + } + + public final boolean isInitialized() { + if (!hasRequestedVersion()) { + + return false; + } + if (!hasBuildId()) { + + return false; + } + if (!hasLogin()) { + + return false; + } + if (!getRequestedVersion().isInitialized()) { + + return false; + } + return true; + } + + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + de.pokerth.protocol.ProtoBuf.InitMessage parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (de.pokerth.protocol.ProtoBuf.InitMessage) e.getUnfinishedMessage(); + throw e; + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; } - private int bitField0_; - + // required .AnnounceMessage.Version requestedVersion = 1; private de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version requestedVersion_ = de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version.getDefaultInstance(); + /** + * required .AnnounceMessage.Version requestedVersion = 1; + */ public boolean hasRequestedVersion() { return ((bitField0_ & 0x00000001) == 0x00000001); } + /** + * required .AnnounceMessage.Version requestedVersion = 1; + */ public de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version getRequestedVersion() { return requestedVersion_; } + /** + * required .AnnounceMessage.Version requestedVersion = 1; + */ public Builder setRequestedVersion(de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version value) { if (value == null) { throw new NullPointerException(); } requestedVersion_ = value; - + bitField0_ |= 0x00000001; return this; } + /** + * required .AnnounceMessage.Version requestedVersion = 1; + */ public Builder setRequestedVersion( de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version.Builder builderForValue) { requestedVersion_ = builderForValue.build(); - + bitField0_ |= 0x00000001; return this; } + /** + * required .AnnounceMessage.Version requestedVersion = 1; + */ public Builder mergeRequestedVersion(de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version value) { if (((bitField0_ & 0x00000001) == 0x00000001) && requestedVersion_ != de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version.getDefaultInstance()) { @@ -4063,46 +5513,70 @@ public final class ProtoBuf { } else { requestedVersion_ = value; } - + bitField0_ |= 0x00000001; return this; } + /** + * required .AnnounceMessage.Version requestedVersion = 1; + */ public Builder clearRequestedVersion() { requestedVersion_ = de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version.getDefaultInstance(); - + bitField0_ = (bitField0_ & ~0x00000001); return this; } - + // required uint32 buildId = 2; private int buildId_ ; + /** + * required uint32 buildId = 2; + */ public boolean hasBuildId() { return ((bitField0_ & 0x00000002) == 0x00000002); } + /** + * required uint32 buildId = 2; + */ public int getBuildId() { return buildId_; } + /** + * required uint32 buildId = 2; + */ public Builder setBuildId(int value) { bitField0_ |= 0x00000002; buildId_ = value; return this; } + /** + * required uint32 buildId = 2; + */ public Builder clearBuildId() { bitField0_ = (bitField0_ & ~0x00000002); buildId_ = 0; return this; } - + // optional bytes myLastSessionId = 3; private com.google.protobuf.ByteString myLastSessionId_ = com.google.protobuf.ByteString.EMPTY; + /** + * optional bytes myLastSessionId = 3; + */ public boolean hasMyLastSessionId() { return ((bitField0_ & 0x00000004) == 0x00000004); } + /** + * optional bytes myLastSessionId = 3; + */ public com.google.protobuf.ByteString getMyLastSessionId() { return myLastSessionId_; } + /** + * optional bytes myLastSessionId = 3; + */ public Builder setMyLastSessionId(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); @@ -4112,29 +5586,59 @@ public final class ProtoBuf { return this; } + /** + * optional bytes myLastSessionId = 3; + */ public Builder clearMyLastSessionId() { bitField0_ = (bitField0_ & ~0x00000004); myLastSessionId_ = getDefaultInstance().getMyLastSessionId(); return this; } - + // optional string authServerPassword = 4; private java.lang.Object authServerPassword_ = ""; + /** + * optional string authServerPassword = 4; + */ public boolean hasAuthServerPassword() { return ((bitField0_ & 0x00000008) == 0x00000008); } - public String getAuthServerPassword() { + /** + * optional string authServerPassword = 4; + */ + public java.lang.String getAuthServerPassword() { java.lang.Object ref = authServerPassword_; - if (!(ref instanceof String)) { - String s = ((com.google.protobuf.ByteString) ref).toStringUtf8(); + if (!(ref instanceof java.lang.String)) { + java.lang.String s = ((com.google.protobuf.ByteString) ref) + .toStringUtf8(); authServerPassword_ = s; return s; } else { - return (String) ref; + return (java.lang.String) ref; } } - public Builder setAuthServerPassword(String value) { + /** + * optional string authServerPassword = 4; + */ + public com.google.protobuf.ByteString + getAuthServerPasswordBytes() { + java.lang.Object ref = authServerPassword_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + authServerPassword_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * optional string authServerPassword = 4; + */ + public Builder setAuthServerPassword( + java.lang.String value) { if (value == null) { throw new NullPointerException(); } @@ -4143,26 +5647,46 @@ public final class ProtoBuf { return this; } + /** + * optional string authServerPassword = 4; + */ public Builder clearAuthServerPassword() { bitField0_ = (bitField0_ & ~0x00000008); authServerPassword_ = getDefaultInstance().getAuthServerPassword(); return this; } - void setAuthServerPassword(com.google.protobuf.ByteString value) { - bitField0_ |= 0x00000008; + /** + * optional string authServerPassword = 4; + */ + public Builder setAuthServerPasswordBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000008; authServerPassword_ = value; + return this; } - + // required .InitMessage.LoginType login = 5; private de.pokerth.protocol.ProtoBuf.InitMessage.LoginType login_ = de.pokerth.protocol.ProtoBuf.InitMessage.LoginType.guestLogin; + /** + * required .InitMessage.LoginType login = 5; + */ public boolean hasLogin() { return ((bitField0_ & 0x00000010) == 0x00000010); } + /** + * required .InitMessage.LoginType login = 5; + */ public de.pokerth.protocol.ProtoBuf.InitMessage.LoginType getLogin() { return login_; } + /** + * required .InitMessage.LoginType login = 5; + */ public Builder setLogin(de.pokerth.protocol.ProtoBuf.InitMessage.LoginType value) { if (value == null) { throw new NullPointerException(); @@ -4172,29 +5696,75 @@ public final class ProtoBuf { return this; } + /** + * required .InitMessage.LoginType login = 5; + */ public Builder clearLogin() { bitField0_ = (bitField0_ & ~0x00000010); login_ = de.pokerth.protocol.ProtoBuf.InitMessage.LoginType.guestLogin; return this; } - + // optional string nickName = 6; private java.lang.Object nickName_ = ""; + /** + * optional string nickName = 6; + * + *
+       * Only used for guest login or unauthenticated login.
+       * 
+ */ public boolean hasNickName() { return ((bitField0_ & 0x00000020) == 0x00000020); } - public String getNickName() { + /** + * optional string nickName = 6; + * + *
+       * Only used for guest login or unauthenticated login.
+       * 
+ */ + public java.lang.String getNickName() { java.lang.Object ref = nickName_; - if (!(ref instanceof String)) { - String s = ((com.google.protobuf.ByteString) ref).toStringUtf8(); + if (!(ref instanceof java.lang.String)) { + java.lang.String s = ((com.google.protobuf.ByteString) ref) + .toStringUtf8(); nickName_ = s; return s; } else { - return (String) ref; + return (java.lang.String) ref; } } - public Builder setNickName(String value) { + /** + * optional string nickName = 6; + * + *
+       * Only used for guest login or unauthenticated login.
+       * 
+ */ + public com.google.protobuf.ByteString + getNickNameBytes() { + java.lang.Object ref = nickName_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + nickName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * optional string nickName = 6; + * + *
+       * Only used for guest login or unauthenticated login.
+       * 
+ */ + public Builder setNickName( + java.lang.String value) { if (value == null) { throw new NullPointerException(); } @@ -4203,26 +5773,66 @@ public final class ProtoBuf { return this; } + /** + * optional string nickName = 6; + * + *
+       * Only used for guest login or unauthenticated login.
+       * 
+ */ public Builder clearNickName() { bitField0_ = (bitField0_ & ~0x00000020); nickName_ = getDefaultInstance().getNickName(); return this; } - void setNickName(com.google.protobuf.ByteString value) { - bitField0_ |= 0x00000020; + /** + * optional string nickName = 6; + * + *
+       * Only used for guest login or unauthenticated login.
+       * 
+ */ + public Builder setNickNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000020; nickName_ = value; + return this; } - + // optional bytes clientUserData = 7; private com.google.protobuf.ByteString clientUserData_ = com.google.protobuf.ByteString.EMPTY; + /** + * optional bytes clientUserData = 7; + * + *
+       * Authenticated login data is according to SCRAM SHA-1
+       * 
+ */ public boolean hasClientUserData() { return ((bitField0_ & 0x00000040) == 0x00000040); } + /** + * optional bytes clientUserData = 7; + * + *
+       * Authenticated login data is according to SCRAM SHA-1
+       * 
+ */ public com.google.protobuf.ByteString getClientUserData() { return clientUserData_; } + /** + * optional bytes clientUserData = 7; + * + *
+       * Authenticated login data is according to SCRAM SHA-1
+       * 
+ */ public Builder setClientUserData(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); @@ -4232,21 +5842,49 @@ public final class ProtoBuf { return this; } + /** + * optional bytes clientUserData = 7; + * + *
+       * Authenticated login data is according to SCRAM SHA-1
+       * 
+ */ public Builder clearClientUserData() { bitField0_ = (bitField0_ & ~0x00000040); clientUserData_ = getDefaultInstance().getClientUserData(); return this; } - + // optional bytes avatarHash = 8; private com.google.protobuf.ByteString avatarHash_ = com.google.protobuf.ByteString.EMPTY; + /** + * optional bytes avatarHash = 8; + * + *
+       * Ignored for guest login.
+       * 
+ */ public boolean hasAvatarHash() { return ((bitField0_ & 0x00000080) == 0x00000080); } + /** + * optional bytes avatarHash = 8; + * + *
+       * Ignored for guest login.
+       * 
+ */ public com.google.protobuf.ByteString getAvatarHash() { return avatarHash_; } + /** + * optional bytes avatarHash = 8; + * + *
+       * Ignored for guest login.
+       * 
+ */ public Builder setAvatarHash(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); @@ -4256,60 +5894,135 @@ public final class ProtoBuf { return this; } + /** + * optional bytes avatarHash = 8; + * + *
+       * Ignored for guest login.
+       * 
+ */ public Builder clearAvatarHash() { bitField0_ = (bitField0_ & ~0x00000080); avatarHash_ = getDefaultInstance().getAvatarHash(); return this; } - + // @@protoc_insertion_point(builder_scope:InitMessage) } - + static { defaultInstance = new InitMessage(true); defaultInstance.initFields(); } - + // @@protoc_insertion_point(class_scope:InitMessage) } - + public interface AuthServerChallengeMessageOrBuilder extends com.google.protobuf.MessageLiteOrBuilder { - + // required bytes serverChallenge = 1; + /** + * required bytes serverChallenge = 1; + */ boolean hasServerChallenge(); + /** + * required bytes serverChallenge = 1; + */ com.google.protobuf.ByteString getServerChallenge(); } + /** + * Protobuf type {@code AuthServerChallengeMessage} + */ public static final class AuthServerChallengeMessage extends com.google.protobuf.GeneratedMessageLite implements AuthServerChallengeMessageOrBuilder { // Use AuthServerChallengeMessage.newBuilder() to construct. - private AuthServerChallengeMessage(Builder builder) { + private AuthServerChallengeMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); + } private AuthServerChallengeMessage(boolean noInit) {} - + private static final AuthServerChallengeMessage defaultInstance; public static AuthServerChallengeMessage getDefaultInstance() { return defaultInstance; } - + public AuthServerChallengeMessage getDefaultInstanceForType() { return defaultInstance; } - + + private AuthServerChallengeMessage( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + initFields(); + int mutable_bitField0_ = 0; + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: { + if (!parseUnknownField(input, + extensionRegistry, tag)) { + done = true; + } + break; + } + case 10: { + bitField0_ |= 0x00000001; + serverChallenge_ = input.readBytes(); + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e.getMessage()).setUnfinishedMessage(this); + } finally { + makeExtensionsImmutable(); + } + } + public static com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + public AuthServerChallengeMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AuthServerChallengeMessage(input, extensionRegistry); + } + }; + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + private int bitField0_; // required bytes serverChallenge = 1; public static final int SERVERCHALLENGE_FIELD_NUMBER = 1; private com.google.protobuf.ByteString serverChallenge_; + /** + * required bytes serverChallenge = 1; + */ public boolean hasServerChallenge() { return ((bitField0_ & 0x00000001) == 0x00000001); } + /** + * required bytes serverChallenge = 1; + */ public com.google.protobuf.ByteString getServerChallenge() { return serverChallenge_; } - + private void initFields() { serverChallenge_ = com.google.protobuf.ByteString.EMPTY; } @@ -4317,7 +6030,7 @@ public final class ProtoBuf { public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; - + if (!hasServerChallenge()) { memoizedIsInitialized = 0; return false; @@ -4325,7 +6038,7 @@ public final class ProtoBuf { memoizedIsInitialized = 1; return true; } - + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); @@ -4333,12 +6046,12 @@ public final class ProtoBuf { output.writeBytes(1, serverChallenge_); } } - + private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; - + size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream @@ -4347,88 +6060,77 @@ public final class ProtoBuf { memoizedSerializedSize = size; return size; } - + private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } - + public static de.pokerth.protocol.ProtoBuf.AuthServerChallengeMessage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data).buildParsed(); + return PARSER.parseFrom(data); } public static de.pokerth.protocol.ProtoBuf.AuthServerChallengeMessage parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(data, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.AuthServerChallengeMessage parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data).buildParsed(); + return PARSER.parseFrom(data); } public static de.pokerth.protocol.ProtoBuf.AuthServerChallengeMessage parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(data, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.AuthServerChallengeMessage parseFrom(java.io.InputStream input) throws java.io.IOException { - return newBuilder().mergeFrom(input).buildParsed(); + return PARSER.parseFrom(input); } public static de.pokerth.protocol.ProtoBuf.AuthServerChallengeMessage parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return newBuilder().mergeFrom(input, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.AuthServerChallengeMessage parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - Builder builder = newBuilder(); - if (builder.mergeDelimitedFrom(input)) { - return builder.buildParsed(); - } else { - return null; - } + return PARSER.parseDelimitedFrom(input); } public static de.pokerth.protocol.ProtoBuf.AuthServerChallengeMessage parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - Builder builder = newBuilder(); - if (builder.mergeDelimitedFrom(input, extensionRegistry)) { - return builder.buildParsed(); - } else { - return null; - } + return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.AuthServerChallengeMessage parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return newBuilder().mergeFrom(input).buildParsed(); + return PARSER.parseFrom(input); } public static de.pokerth.protocol.ProtoBuf.AuthServerChallengeMessage parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return newBuilder().mergeFrom(input, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(input, extensionRegistry); } - + public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.AuthServerChallengeMessage prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } - + + /** + * Protobuf type {@code AuthServerChallengeMessage} + */ public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.AuthServerChallengeMessage, Builder> @@ -4437,28 +6139,28 @@ public final class ProtoBuf { private Builder() { maybeForceBuilderInitialization(); } - + private void maybeForceBuilderInitialization() { } private static Builder create() { return new Builder(); } - + public Builder clear() { super.clear(); serverChallenge_ = com.google.protobuf.ByteString.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); return this; } - + public Builder clone() { return create().mergeFrom(buildPartial()); } - + public de.pokerth.protocol.ProtoBuf.AuthServerChallengeMessage getDefaultInstanceForType() { return de.pokerth.protocol.ProtoBuf.AuthServerChallengeMessage.getDefaultInstance(); } - + public de.pokerth.protocol.ProtoBuf.AuthServerChallengeMessage build() { de.pokerth.protocol.ProtoBuf.AuthServerChallengeMessage result = buildPartial(); if (!result.isInitialized()) { @@ -4466,17 +6168,7 @@ public final class ProtoBuf { } return result; } - - private de.pokerth.protocol.ProtoBuf.AuthServerChallengeMessage buildParsed() - throws com.google.protobuf.InvalidProtocolBufferException { - de.pokerth.protocol.ProtoBuf.AuthServerChallengeMessage result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException( - result).asInvalidProtocolBufferException(); - } - return result; - } - + public de.pokerth.protocol.ProtoBuf.AuthServerChallengeMessage buildPartial() { de.pokerth.protocol.ProtoBuf.AuthServerChallengeMessage result = new de.pokerth.protocol.ProtoBuf.AuthServerChallengeMessage(this); int from_bitField0_ = bitField0_; @@ -4488,7 +6180,7 @@ public final class ProtoBuf { result.bitField0_ = to_bitField0_; return result; } - + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.AuthServerChallengeMessage other) { if (other == de.pokerth.protocol.ProtoBuf.AuthServerChallengeMessage.getDefaultInstance()) return this; if (other.hasServerChallenge()) { @@ -4496,7 +6188,7 @@ public final class ProtoBuf { } return this; } - + public final boolean isInitialized() { if (!hasServerChallenge()) { @@ -4504,43 +6196,43 @@ public final class ProtoBuf { } return true; } - + public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - while (true) { - int tag = input.readTag(); - switch (tag) { - case 0: - - return this; - default: { - if (!parseUnknownField(input, extensionRegistry, tag)) { - - return this; - } - break; - } - case 10: { - bitField0_ |= 0x00000001; - serverChallenge_ = input.readBytes(); - break; - } + de.pokerth.protocol.ProtoBuf.AuthServerChallengeMessage parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (de.pokerth.protocol.ProtoBuf.AuthServerChallengeMessage) e.getUnfinishedMessage(); + throw e; + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); } } + return this; } - private int bitField0_; - + // required bytes serverChallenge = 1; private com.google.protobuf.ByteString serverChallenge_ = com.google.protobuf.ByteString.EMPTY; + /** + * required bytes serverChallenge = 1; + */ public boolean hasServerChallenge() { return ((bitField0_ & 0x00000001) == 0x00000001); } + /** + * required bytes serverChallenge = 1; + */ public com.google.protobuf.ByteString getServerChallenge() { return serverChallenge_; } + /** + * required bytes serverChallenge = 1; + */ public Builder setServerChallenge(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); @@ -4550,60 +6242,131 @@ public final class ProtoBuf { return this; } + /** + * required bytes serverChallenge = 1; + */ public Builder clearServerChallenge() { bitField0_ = (bitField0_ & ~0x00000001); serverChallenge_ = getDefaultInstance().getServerChallenge(); return this; } - + // @@protoc_insertion_point(builder_scope:AuthServerChallengeMessage) } - + static { defaultInstance = new AuthServerChallengeMessage(true); defaultInstance.initFields(); } - + // @@protoc_insertion_point(class_scope:AuthServerChallengeMessage) } - + public interface AuthClientResponseMessageOrBuilder extends com.google.protobuf.MessageLiteOrBuilder { - + // required bytes clientResponse = 1; + /** + * required bytes clientResponse = 1; + */ boolean hasClientResponse(); + /** + * required bytes clientResponse = 1; + */ com.google.protobuf.ByteString getClientResponse(); } + /** + * Protobuf type {@code AuthClientResponseMessage} + */ public static final class AuthClientResponseMessage extends com.google.protobuf.GeneratedMessageLite implements AuthClientResponseMessageOrBuilder { // Use AuthClientResponseMessage.newBuilder() to construct. - private AuthClientResponseMessage(Builder builder) { + private AuthClientResponseMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); + } private AuthClientResponseMessage(boolean noInit) {} - + private static final AuthClientResponseMessage defaultInstance; public static AuthClientResponseMessage getDefaultInstance() { return defaultInstance; } - + public AuthClientResponseMessage getDefaultInstanceForType() { return defaultInstance; } - + + private AuthClientResponseMessage( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + initFields(); + int mutable_bitField0_ = 0; + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: { + if (!parseUnknownField(input, + extensionRegistry, tag)) { + done = true; + } + break; + } + case 10: { + bitField0_ |= 0x00000001; + clientResponse_ = input.readBytes(); + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e.getMessage()).setUnfinishedMessage(this); + } finally { + makeExtensionsImmutable(); + } + } + public static com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + public AuthClientResponseMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AuthClientResponseMessage(input, extensionRegistry); + } + }; + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + private int bitField0_; // required bytes clientResponse = 1; public static final int CLIENTRESPONSE_FIELD_NUMBER = 1; private com.google.protobuf.ByteString clientResponse_; + /** + * required bytes clientResponse = 1; + */ public boolean hasClientResponse() { return ((bitField0_ & 0x00000001) == 0x00000001); } + /** + * required bytes clientResponse = 1; + */ public com.google.protobuf.ByteString getClientResponse() { return clientResponse_; } - + private void initFields() { clientResponse_ = com.google.protobuf.ByteString.EMPTY; } @@ -4611,7 +6374,7 @@ public final class ProtoBuf { public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; - + if (!hasClientResponse()) { memoizedIsInitialized = 0; return false; @@ -4619,7 +6382,7 @@ public final class ProtoBuf { memoizedIsInitialized = 1; return true; } - + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); @@ -4627,12 +6390,12 @@ public final class ProtoBuf { output.writeBytes(1, clientResponse_); } } - + private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; - + size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream @@ -4641,88 +6404,77 @@ public final class ProtoBuf { memoizedSerializedSize = size; return size; } - + private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } - + public static de.pokerth.protocol.ProtoBuf.AuthClientResponseMessage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data).buildParsed(); + return PARSER.parseFrom(data); } public static de.pokerth.protocol.ProtoBuf.AuthClientResponseMessage parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(data, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.AuthClientResponseMessage parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data).buildParsed(); + return PARSER.parseFrom(data); } public static de.pokerth.protocol.ProtoBuf.AuthClientResponseMessage parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(data, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.AuthClientResponseMessage parseFrom(java.io.InputStream input) throws java.io.IOException { - return newBuilder().mergeFrom(input).buildParsed(); + return PARSER.parseFrom(input); } public static de.pokerth.protocol.ProtoBuf.AuthClientResponseMessage parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return newBuilder().mergeFrom(input, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.AuthClientResponseMessage parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - Builder builder = newBuilder(); - if (builder.mergeDelimitedFrom(input)) { - return builder.buildParsed(); - } else { - return null; - } + return PARSER.parseDelimitedFrom(input); } public static de.pokerth.protocol.ProtoBuf.AuthClientResponseMessage parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - Builder builder = newBuilder(); - if (builder.mergeDelimitedFrom(input, extensionRegistry)) { - return builder.buildParsed(); - } else { - return null; - } + return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.AuthClientResponseMessage parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return newBuilder().mergeFrom(input).buildParsed(); + return PARSER.parseFrom(input); } public static de.pokerth.protocol.ProtoBuf.AuthClientResponseMessage parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return newBuilder().mergeFrom(input, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(input, extensionRegistry); } - + public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.AuthClientResponseMessage prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } - + + /** + * Protobuf type {@code AuthClientResponseMessage} + */ public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.AuthClientResponseMessage, Builder> @@ -4731,28 +6483,28 @@ public final class ProtoBuf { private Builder() { maybeForceBuilderInitialization(); } - + private void maybeForceBuilderInitialization() { } private static Builder create() { return new Builder(); } - + public Builder clear() { super.clear(); clientResponse_ = com.google.protobuf.ByteString.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); return this; } - + public Builder clone() { return create().mergeFrom(buildPartial()); } - + public de.pokerth.protocol.ProtoBuf.AuthClientResponseMessage getDefaultInstanceForType() { return de.pokerth.protocol.ProtoBuf.AuthClientResponseMessage.getDefaultInstance(); } - + public de.pokerth.protocol.ProtoBuf.AuthClientResponseMessage build() { de.pokerth.protocol.ProtoBuf.AuthClientResponseMessage result = buildPartial(); if (!result.isInitialized()) { @@ -4760,17 +6512,7 @@ public final class ProtoBuf { } return result; } - - private de.pokerth.protocol.ProtoBuf.AuthClientResponseMessage buildParsed() - throws com.google.protobuf.InvalidProtocolBufferException { - de.pokerth.protocol.ProtoBuf.AuthClientResponseMessage result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException( - result).asInvalidProtocolBufferException(); - } - return result; - } - + public de.pokerth.protocol.ProtoBuf.AuthClientResponseMessage buildPartial() { de.pokerth.protocol.ProtoBuf.AuthClientResponseMessage result = new de.pokerth.protocol.ProtoBuf.AuthClientResponseMessage(this); int from_bitField0_ = bitField0_; @@ -4782,7 +6524,7 @@ public final class ProtoBuf { result.bitField0_ = to_bitField0_; return result; } - + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.AuthClientResponseMessage other) { if (other == de.pokerth.protocol.ProtoBuf.AuthClientResponseMessage.getDefaultInstance()) return this; if (other.hasClientResponse()) { @@ -4790,7 +6532,7 @@ public final class ProtoBuf { } return this; } - + public final boolean isInitialized() { if (!hasClientResponse()) { @@ -4798,43 +6540,43 @@ public final class ProtoBuf { } return true; } - + public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - while (true) { - int tag = input.readTag(); - switch (tag) { - case 0: - - return this; - default: { - if (!parseUnknownField(input, extensionRegistry, tag)) { - - return this; - } - break; - } - case 10: { - bitField0_ |= 0x00000001; - clientResponse_ = input.readBytes(); - break; - } + de.pokerth.protocol.ProtoBuf.AuthClientResponseMessage parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (de.pokerth.protocol.ProtoBuf.AuthClientResponseMessage) e.getUnfinishedMessage(); + throw e; + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); } } + return this; } - private int bitField0_; - + // required bytes clientResponse = 1; private com.google.protobuf.ByteString clientResponse_ = com.google.protobuf.ByteString.EMPTY; + /** + * required bytes clientResponse = 1; + */ public boolean hasClientResponse() { return ((bitField0_ & 0x00000001) == 0x00000001); } + /** + * required bytes clientResponse = 1; + */ public com.google.protobuf.ByteString getClientResponse() { return clientResponse_; } + /** + * required bytes clientResponse = 1; + */ public Builder setClientResponse(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); @@ -4844,60 +6586,131 @@ public final class ProtoBuf { return this; } + /** + * required bytes clientResponse = 1; + */ public Builder clearClientResponse() { bitField0_ = (bitField0_ & ~0x00000001); clientResponse_ = getDefaultInstance().getClientResponse(); return this; } - + // @@protoc_insertion_point(builder_scope:AuthClientResponseMessage) } - + static { defaultInstance = new AuthClientResponseMessage(true); defaultInstance.initFields(); } - + // @@protoc_insertion_point(class_scope:AuthClientResponseMessage) } - + public interface AuthServerVerificationMessageOrBuilder extends com.google.protobuf.MessageLiteOrBuilder { - + // required bytes serverVerification = 1; + /** + * required bytes serverVerification = 1; + */ boolean hasServerVerification(); + /** + * required bytes serverVerification = 1; + */ com.google.protobuf.ByteString getServerVerification(); } + /** + * Protobuf type {@code AuthServerVerificationMessage} + */ public static final class AuthServerVerificationMessage extends com.google.protobuf.GeneratedMessageLite implements AuthServerVerificationMessageOrBuilder { // Use AuthServerVerificationMessage.newBuilder() to construct. - private AuthServerVerificationMessage(Builder builder) { + private AuthServerVerificationMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); + } private AuthServerVerificationMessage(boolean noInit) {} - + private static final AuthServerVerificationMessage defaultInstance; public static AuthServerVerificationMessage getDefaultInstance() { return defaultInstance; } - + public AuthServerVerificationMessage getDefaultInstanceForType() { return defaultInstance; } - + + private AuthServerVerificationMessage( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + initFields(); + int mutable_bitField0_ = 0; + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: { + if (!parseUnknownField(input, + extensionRegistry, tag)) { + done = true; + } + break; + } + case 10: { + bitField0_ |= 0x00000001; + serverVerification_ = input.readBytes(); + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e.getMessage()).setUnfinishedMessage(this); + } finally { + makeExtensionsImmutable(); + } + } + public static com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + public AuthServerVerificationMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AuthServerVerificationMessage(input, extensionRegistry); + } + }; + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + private int bitField0_; // required bytes serverVerification = 1; public static final int SERVERVERIFICATION_FIELD_NUMBER = 1; private com.google.protobuf.ByteString serverVerification_; + /** + * required bytes serverVerification = 1; + */ public boolean hasServerVerification() { return ((bitField0_ & 0x00000001) == 0x00000001); } + /** + * required bytes serverVerification = 1; + */ public com.google.protobuf.ByteString getServerVerification() { return serverVerification_; } - + private void initFields() { serverVerification_ = com.google.protobuf.ByteString.EMPTY; } @@ -4905,7 +6718,7 @@ public final class ProtoBuf { public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; - + if (!hasServerVerification()) { memoizedIsInitialized = 0; return false; @@ -4913,7 +6726,7 @@ public final class ProtoBuf { memoizedIsInitialized = 1; return true; } - + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); @@ -4921,12 +6734,12 @@ public final class ProtoBuf { output.writeBytes(1, serverVerification_); } } - + private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; - + size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream @@ -4935,88 +6748,77 @@ public final class ProtoBuf { memoizedSerializedSize = size; return size; } - + private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } - + public static de.pokerth.protocol.ProtoBuf.AuthServerVerificationMessage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data).buildParsed(); + return PARSER.parseFrom(data); } public static de.pokerth.protocol.ProtoBuf.AuthServerVerificationMessage parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(data, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.AuthServerVerificationMessage parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data).buildParsed(); + return PARSER.parseFrom(data); } public static de.pokerth.protocol.ProtoBuf.AuthServerVerificationMessage parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(data, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.AuthServerVerificationMessage parseFrom(java.io.InputStream input) throws java.io.IOException { - return newBuilder().mergeFrom(input).buildParsed(); + return PARSER.parseFrom(input); } public static de.pokerth.protocol.ProtoBuf.AuthServerVerificationMessage parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return newBuilder().mergeFrom(input, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.AuthServerVerificationMessage parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - Builder builder = newBuilder(); - if (builder.mergeDelimitedFrom(input)) { - return builder.buildParsed(); - } else { - return null; - } + return PARSER.parseDelimitedFrom(input); } public static de.pokerth.protocol.ProtoBuf.AuthServerVerificationMessage parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - Builder builder = newBuilder(); - if (builder.mergeDelimitedFrom(input, extensionRegistry)) { - return builder.buildParsed(); - } else { - return null; - } + return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.AuthServerVerificationMessage parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return newBuilder().mergeFrom(input).buildParsed(); + return PARSER.parseFrom(input); } public static de.pokerth.protocol.ProtoBuf.AuthServerVerificationMessage parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return newBuilder().mergeFrom(input, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(input, extensionRegistry); } - + public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.AuthServerVerificationMessage prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } - + + /** + * Protobuf type {@code AuthServerVerificationMessage} + */ public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.AuthServerVerificationMessage, Builder> @@ -5025,28 +6827,28 @@ public final class ProtoBuf { private Builder() { maybeForceBuilderInitialization(); } - + private void maybeForceBuilderInitialization() { } private static Builder create() { return new Builder(); } - + public Builder clear() { super.clear(); serverVerification_ = com.google.protobuf.ByteString.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); return this; } - + public Builder clone() { return create().mergeFrom(buildPartial()); } - + public de.pokerth.protocol.ProtoBuf.AuthServerVerificationMessage getDefaultInstanceForType() { return de.pokerth.protocol.ProtoBuf.AuthServerVerificationMessage.getDefaultInstance(); } - + public de.pokerth.protocol.ProtoBuf.AuthServerVerificationMessage build() { de.pokerth.protocol.ProtoBuf.AuthServerVerificationMessage result = buildPartial(); if (!result.isInitialized()) { @@ -5054,17 +6856,7 @@ public final class ProtoBuf { } return result; } - - private de.pokerth.protocol.ProtoBuf.AuthServerVerificationMessage buildParsed() - throws com.google.protobuf.InvalidProtocolBufferException { - de.pokerth.protocol.ProtoBuf.AuthServerVerificationMessage result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException( - result).asInvalidProtocolBufferException(); - } - return result; - } - + public de.pokerth.protocol.ProtoBuf.AuthServerVerificationMessage buildPartial() { de.pokerth.protocol.ProtoBuf.AuthServerVerificationMessage result = new de.pokerth.protocol.ProtoBuf.AuthServerVerificationMessage(this); int from_bitField0_ = bitField0_; @@ -5076,7 +6868,7 @@ public final class ProtoBuf { result.bitField0_ = to_bitField0_; return result; } - + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.AuthServerVerificationMessage other) { if (other == de.pokerth.protocol.ProtoBuf.AuthServerVerificationMessage.getDefaultInstance()) return this; if (other.hasServerVerification()) { @@ -5084,7 +6876,7 @@ public final class ProtoBuf { } return this; } - + public final boolean isInitialized() { if (!hasServerVerification()) { @@ -5092,43 +6884,43 @@ public final class ProtoBuf { } return true; } - + public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - while (true) { - int tag = input.readTag(); - switch (tag) { - case 0: - - return this; - default: { - if (!parseUnknownField(input, extensionRegistry, tag)) { - - return this; - } - break; - } - case 10: { - bitField0_ |= 0x00000001; - serverVerification_ = input.readBytes(); - break; - } + de.pokerth.protocol.ProtoBuf.AuthServerVerificationMessage parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (de.pokerth.protocol.ProtoBuf.AuthServerVerificationMessage) e.getUnfinishedMessage(); + throw e; + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); } } + return this; } - private int bitField0_; - + // required bytes serverVerification = 1; private com.google.protobuf.ByteString serverVerification_ = com.google.protobuf.ByteString.EMPTY; + /** + * required bytes serverVerification = 1; + */ public boolean hasServerVerification() { return ((bitField0_ & 0x00000001) == 0x00000001); } + /** + * required bytes serverVerification = 1; + */ public com.google.protobuf.ByteString getServerVerification() { return serverVerification_; } + /** + * required bytes serverVerification = 1; + */ public Builder setServerVerification(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); @@ -5138,370 +6930,110 @@ public final class ProtoBuf { return this; } + /** + * required bytes serverVerification = 1; + */ public Builder clearServerVerification() { bitField0_ = (bitField0_ & ~0x00000001); serverVerification_ = getDefaultInstance().getServerVerification(); return this; } - + // @@protoc_insertion_point(builder_scope:AuthServerVerificationMessage) } - + static { defaultInstance = new AuthServerVerificationMessage(true); defaultInstance.initFields(); } - + // @@protoc_insertion_point(class_scope:AuthServerVerificationMessage) } - + public interface InitAckMessageOrBuilder extends com.google.protobuf.MessageLiteOrBuilder { - + // required bytes yourSessionId = 1; + /** + * required bytes yourSessionId = 1; + */ boolean hasYourSessionId(); + /** + * required bytes yourSessionId = 1; + */ com.google.protobuf.ByteString getYourSessionId(); - + // required uint32 yourPlayerId = 2; + /** + * required uint32 yourPlayerId = 2; + */ boolean hasYourPlayerId(); + /** + * required uint32 yourPlayerId = 2; + */ int getYourPlayerId(); - + // optional bytes yourAvatarHash = 3; + /** + * optional bytes yourAvatarHash = 3; + */ boolean hasYourAvatarHash(); + /** + * optional bytes yourAvatarHash = 3; + */ com.google.protobuf.ByteString getYourAvatarHash(); - + // optional uint32 rejoinGameId = 4; + /** + * optional uint32 rejoinGameId = 4; + */ boolean hasRejoinGameId(); + /** + * optional uint32 rejoinGameId = 4; + */ int getRejoinGameId(); } + /** + * Protobuf type {@code InitAckMessage} + */ public static final class InitAckMessage extends com.google.protobuf.GeneratedMessageLite implements InitAckMessageOrBuilder { // Use InitAckMessage.newBuilder() to construct. - private InitAckMessage(Builder builder) { + private InitAckMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); + } private InitAckMessage(boolean noInit) {} - + private static final InitAckMessage defaultInstance; public static InitAckMessage getDefaultInstance() { return defaultInstance; } - + public InitAckMessage getDefaultInstanceForType() { return defaultInstance; } - - private int bitField0_; - // required bytes yourSessionId = 1; - public static final int YOURSESSIONID_FIELD_NUMBER = 1; - private com.google.protobuf.ByteString yourSessionId_; - public boolean hasYourSessionId() { - return ((bitField0_ & 0x00000001) == 0x00000001); - } - public com.google.protobuf.ByteString getYourSessionId() { - return yourSessionId_; - } - - // required uint32 yourPlayerId = 2; - public static final int YOURPLAYERID_FIELD_NUMBER = 2; - private int yourPlayerId_; - public boolean hasYourPlayerId() { - return ((bitField0_ & 0x00000002) == 0x00000002); - } - public int getYourPlayerId() { - return yourPlayerId_; - } - - // optional bytes yourAvatarHash = 3; - public static final int YOURAVATARHASH_FIELD_NUMBER = 3; - private com.google.protobuf.ByteString yourAvatarHash_; - public boolean hasYourAvatarHash() { - return ((bitField0_ & 0x00000004) == 0x00000004); - } - public com.google.protobuf.ByteString getYourAvatarHash() { - return yourAvatarHash_; - } - - // optional uint32 rejoinGameId = 4; - public static final int REJOINGAMEID_FIELD_NUMBER = 4; - private int rejoinGameId_; - public boolean hasRejoinGameId() { - return ((bitField0_ & 0x00000008) == 0x00000008); - } - public int getRejoinGameId() { - return rejoinGameId_; - } - - private void initFields() { - yourSessionId_ = com.google.protobuf.ByteString.EMPTY; - yourPlayerId_ = 0; - yourAvatarHash_ = com.google.protobuf.ByteString.EMPTY; - rejoinGameId_ = 0; - } - private byte memoizedIsInitialized = -1; - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; - - if (!hasYourSessionId()) { - memoizedIsInitialized = 0; - return false; - } - if (!hasYourPlayerId()) { - memoizedIsInitialized = 0; - return false; - } - memoizedIsInitialized = 1; - return true; - } - - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - getSerializedSize(); - if (((bitField0_ & 0x00000001) == 0x00000001)) { - output.writeBytes(1, yourSessionId_); - } - if (((bitField0_ & 0x00000002) == 0x00000002)) { - output.writeUInt32(2, yourPlayerId_); - } - if (((bitField0_ & 0x00000004) == 0x00000004)) { - output.writeBytes(3, yourAvatarHash_); - } - if (((bitField0_ & 0x00000008) == 0x00000008)) { - output.writeUInt32(4, rejoinGameId_); - } - } - - private int memoizedSerializedSize = -1; - public int getSerializedSize() { - int size = memoizedSerializedSize; - if (size != -1) return size; - - size = 0; - if (((bitField0_ & 0x00000001) == 0x00000001)) { - size += com.google.protobuf.CodedOutputStream - .computeBytesSize(1, yourSessionId_); - } - if (((bitField0_ & 0x00000002) == 0x00000002)) { - size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(2, yourPlayerId_); - } - if (((bitField0_ & 0x00000004) == 0x00000004)) { - size += com.google.protobuf.CodedOutputStream - .computeBytesSize(3, yourAvatarHash_); - } - if (((bitField0_ & 0x00000008) == 0x00000008)) { - size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(4, rejoinGameId_); - } - memoizedSerializedSize = size; - return size; - } - - private static final long serialVersionUID = 0L; - @java.lang.Override - protected java.lang.Object writeReplace() - throws java.io.ObjectStreamException { - return super.writeReplace(); - } - - public static de.pokerth.protocol.ProtoBuf.InitAckMessage parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data).buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.InitAckMessage parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data, extensionRegistry) - .buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.InitAckMessage parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data).buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.InitAckMessage parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data, extensionRegistry) - .buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.InitAckMessage parseFrom(java.io.InputStream input) - throws java.io.IOException { - return newBuilder().mergeFrom(input).buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.InitAckMessage parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return newBuilder().mergeFrom(input, extensionRegistry) - .buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.InitAckMessage parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - Builder builder = newBuilder(); - if (builder.mergeDelimitedFrom(input)) { - return builder.buildParsed(); - } else { - return null; - } - } - public static de.pokerth.protocol.ProtoBuf.InitAckMessage parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - Builder builder = newBuilder(); - if (builder.mergeDelimitedFrom(input, extensionRegistry)) { - return builder.buildParsed(); - } else { - return null; - } - } - public static de.pokerth.protocol.ProtoBuf.InitAckMessage parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return newBuilder().mergeFrom(input).buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.InitAckMessage parseFrom( + + private InitAckMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return newBuilder().mergeFrom(input, extensionRegistry) - .buildParsed(); - } - - public static Builder newBuilder() { return Builder.create(); } - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.InitAckMessage prototype) { - return newBuilder().mergeFrom(prototype); - } - public Builder toBuilder() { return newBuilder(this); } - - public static final class Builder extends - com.google.protobuf.GeneratedMessageLite.Builder< - de.pokerth.protocol.ProtoBuf.InitAckMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.InitAckMessageOrBuilder { - // Construct using de.pokerth.protocol.ProtoBuf.InitAckMessage.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - } - private static Builder create() { - return new Builder(); - } - - public Builder clear() { - super.clear(); - yourSessionId_ = com.google.protobuf.ByteString.EMPTY; - bitField0_ = (bitField0_ & ~0x00000001); - yourPlayerId_ = 0; - bitField0_ = (bitField0_ & ~0x00000002); - yourAvatarHash_ = com.google.protobuf.ByteString.EMPTY; - bitField0_ = (bitField0_ & ~0x00000004); - rejoinGameId_ = 0; - bitField0_ = (bitField0_ & ~0x00000008); - return this; - } - - public Builder clone() { - return create().mergeFrom(buildPartial()); - } - - public de.pokerth.protocol.ProtoBuf.InitAckMessage getDefaultInstanceForType() { - return de.pokerth.protocol.ProtoBuf.InitAckMessage.getDefaultInstance(); - } - - public de.pokerth.protocol.ProtoBuf.InitAckMessage build() { - de.pokerth.protocol.ProtoBuf.InitAckMessage result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - private de.pokerth.protocol.ProtoBuf.InitAckMessage buildParsed() - throws com.google.protobuf.InvalidProtocolBufferException { - de.pokerth.protocol.ProtoBuf.InitAckMessage result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException( - result).asInvalidProtocolBufferException(); - } - return result; - } - - public de.pokerth.protocol.ProtoBuf.InitAckMessage buildPartial() { - de.pokerth.protocol.ProtoBuf.InitAckMessage result = new de.pokerth.protocol.ProtoBuf.InitAckMessage(this); - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) == 0x00000001)) { - to_bitField0_ |= 0x00000001; - } - result.yourSessionId_ = yourSessionId_; - if (((from_bitField0_ & 0x00000002) == 0x00000002)) { - to_bitField0_ |= 0x00000002; - } - result.yourPlayerId_ = yourPlayerId_; - if (((from_bitField0_ & 0x00000004) == 0x00000004)) { - to_bitField0_ |= 0x00000004; - } - result.yourAvatarHash_ = yourAvatarHash_; - if (((from_bitField0_ & 0x00000008) == 0x00000008)) { - to_bitField0_ |= 0x00000008; - } - result.rejoinGameId_ = rejoinGameId_; - result.bitField0_ = to_bitField0_; - return result; - } - - public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.InitAckMessage other) { - if (other == de.pokerth.protocol.ProtoBuf.InitAckMessage.getDefaultInstance()) return this; - if (other.hasYourSessionId()) { - setYourSessionId(other.getYourSessionId()); - } - if (other.hasYourPlayerId()) { - setYourPlayerId(other.getYourPlayerId()); - } - if (other.hasYourAvatarHash()) { - setYourAvatarHash(other.getYourAvatarHash()); - } - if (other.hasRejoinGameId()) { - setRejoinGameId(other.getRejoinGameId()); - } - return this; - } - - public final boolean isInitialized() { - if (!hasYourSessionId()) { - - return false; - } - if (!hasYourPlayerId()) { - - return false; - } - return true; - } - - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - while (true) { + throws com.google.protobuf.InvalidProtocolBufferException { + initFields(); + int mutable_bitField0_ = 0; + try { + boolean done = false; + while (!done) { int tag = input.readTag(); switch (tag) { case 0: - - return this; + done = true; + break; default: { - if (!parseUnknownField(input, extensionRegistry, tag)) { - - return this; + if (!parseUnknownField(input, + extensionRegistry, tag)) { + done = true; } break; } @@ -5527,18 +7059,364 @@ public final class ProtoBuf { } } } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e.getMessage()).setUnfinishedMessage(this); + } finally { + makeExtensionsImmutable(); + } + } + public static com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + public InitAckMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new InitAckMessage(input, extensionRegistry); + } + }; + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + private int bitField0_; + // required bytes yourSessionId = 1; + public static final int YOURSESSIONID_FIELD_NUMBER = 1; + private com.google.protobuf.ByteString yourSessionId_; + /** + * required bytes yourSessionId = 1; + */ + public boolean hasYourSessionId() { + return ((bitField0_ & 0x00000001) == 0x00000001); + } + /** + * required bytes yourSessionId = 1; + */ + public com.google.protobuf.ByteString getYourSessionId() { + return yourSessionId_; + } + + // required uint32 yourPlayerId = 2; + public static final int YOURPLAYERID_FIELD_NUMBER = 2; + private int yourPlayerId_; + /** + * required uint32 yourPlayerId = 2; + */ + public boolean hasYourPlayerId() { + return ((bitField0_ & 0x00000002) == 0x00000002); + } + /** + * required uint32 yourPlayerId = 2; + */ + public int getYourPlayerId() { + return yourPlayerId_; + } + + // optional bytes yourAvatarHash = 3; + public static final int YOURAVATARHASH_FIELD_NUMBER = 3; + private com.google.protobuf.ByteString yourAvatarHash_; + /** + * optional bytes yourAvatarHash = 3; + */ + public boolean hasYourAvatarHash() { + return ((bitField0_ & 0x00000004) == 0x00000004); + } + /** + * optional bytes yourAvatarHash = 3; + */ + public com.google.protobuf.ByteString getYourAvatarHash() { + return yourAvatarHash_; + } + + // optional uint32 rejoinGameId = 4; + public static final int REJOINGAMEID_FIELD_NUMBER = 4; + private int rejoinGameId_; + /** + * optional uint32 rejoinGameId = 4; + */ + public boolean hasRejoinGameId() { + return ((bitField0_ & 0x00000008) == 0x00000008); + } + /** + * optional uint32 rejoinGameId = 4; + */ + public int getRejoinGameId() { + return rejoinGameId_; + } + + private void initFields() { + yourSessionId_ = com.google.protobuf.ByteString.EMPTY; + yourPlayerId_ = 0; + yourAvatarHash_ = com.google.protobuf.ByteString.EMPTY; + rejoinGameId_ = 0; + } + private byte memoizedIsInitialized = -1; + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized != -1) return isInitialized == 1; + + if (!hasYourSessionId()) { + memoizedIsInitialized = 0; + return false; + } + if (!hasYourPlayerId()) { + memoizedIsInitialized = 0; + return false; + } + memoizedIsInitialized = 1; + return true; + } + + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + getSerializedSize(); + if (((bitField0_ & 0x00000001) == 0x00000001)) { + output.writeBytes(1, yourSessionId_); + } + if (((bitField0_ & 0x00000002) == 0x00000002)) { + output.writeUInt32(2, yourPlayerId_); + } + if (((bitField0_ & 0x00000004) == 0x00000004)) { + output.writeBytes(3, yourAvatarHash_); + } + if (((bitField0_ & 0x00000008) == 0x00000008)) { + output.writeUInt32(4, rejoinGameId_); + } + } + + private int memoizedSerializedSize = -1; + public int getSerializedSize() { + int size = memoizedSerializedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) == 0x00000001)) { + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(1, yourSessionId_); + } + if (((bitField0_ & 0x00000002) == 0x00000002)) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(2, yourPlayerId_); + } + if (((bitField0_ & 0x00000004) == 0x00000004)) { + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(3, yourAvatarHash_); + } + if (((bitField0_ & 0x00000008) == 0x00000008)) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(4, rejoinGameId_); + } + memoizedSerializedSize = size; + return size; + } + + private static final long serialVersionUID = 0L; + @java.lang.Override + protected java.lang.Object writeReplace() + throws java.io.ObjectStreamException { + return super.writeReplace(); + } + + public static de.pokerth.protocol.ProtoBuf.InitAckMessage parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static de.pokerth.protocol.ProtoBuf.InitAckMessage parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static de.pokerth.protocol.ProtoBuf.InitAckMessage parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static de.pokerth.protocol.ProtoBuf.InitAckMessage parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static de.pokerth.protocol.ProtoBuf.InitAckMessage parseFrom(java.io.InputStream input) + throws java.io.IOException { + return PARSER.parseFrom(input); + } + public static de.pokerth.protocol.ProtoBuf.InitAckMessage parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseFrom(input, extensionRegistry); + } + public static de.pokerth.protocol.ProtoBuf.InitAckMessage parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return PARSER.parseDelimitedFrom(input); + } + public static de.pokerth.protocol.ProtoBuf.InitAckMessage parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseDelimitedFrom(input, extensionRegistry); + } + public static de.pokerth.protocol.ProtoBuf.InitAckMessage parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return PARSER.parseFrom(input); + } + public static de.pokerth.protocol.ProtoBuf.InitAckMessage parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseFrom(input, extensionRegistry); + } + + public static Builder newBuilder() { return Builder.create(); } + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.InitAckMessage prototype) { + return newBuilder().mergeFrom(prototype); + } + public Builder toBuilder() { return newBuilder(this); } + + /** + * Protobuf type {@code InitAckMessage} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageLite.Builder< + de.pokerth.protocol.ProtoBuf.InitAckMessage, Builder> + implements de.pokerth.protocol.ProtoBuf.InitAckMessageOrBuilder { + // Construct using de.pokerth.protocol.ProtoBuf.InitAckMessage.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + } + private static Builder create() { + return new Builder(); + } + + public Builder clear() { + super.clear(); + yourSessionId_ = com.google.protobuf.ByteString.EMPTY; + bitField0_ = (bitField0_ & ~0x00000001); + yourPlayerId_ = 0; + bitField0_ = (bitField0_ & ~0x00000002); + yourAvatarHash_ = com.google.protobuf.ByteString.EMPTY; + bitField0_ = (bitField0_ & ~0x00000004); + rejoinGameId_ = 0; + bitField0_ = (bitField0_ & ~0x00000008); + return this; + } + + public Builder clone() { + return create().mergeFrom(buildPartial()); + } + + public de.pokerth.protocol.ProtoBuf.InitAckMessage getDefaultInstanceForType() { + return de.pokerth.protocol.ProtoBuf.InitAckMessage.getDefaultInstance(); + } + + public de.pokerth.protocol.ProtoBuf.InitAckMessage build() { + de.pokerth.protocol.ProtoBuf.InitAckMessage result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + public de.pokerth.protocol.ProtoBuf.InitAckMessage buildPartial() { + de.pokerth.protocol.ProtoBuf.InitAckMessage result = new de.pokerth.protocol.ProtoBuf.InitAckMessage(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) == 0x00000001)) { + to_bitField0_ |= 0x00000001; + } + result.yourSessionId_ = yourSessionId_; + if (((from_bitField0_ & 0x00000002) == 0x00000002)) { + to_bitField0_ |= 0x00000002; + } + result.yourPlayerId_ = yourPlayerId_; + if (((from_bitField0_ & 0x00000004) == 0x00000004)) { + to_bitField0_ |= 0x00000004; + } + result.yourAvatarHash_ = yourAvatarHash_; + if (((from_bitField0_ & 0x00000008) == 0x00000008)) { + to_bitField0_ |= 0x00000008; + } + result.rejoinGameId_ = rejoinGameId_; + result.bitField0_ = to_bitField0_; + return result; + } + + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.InitAckMessage other) { + if (other == de.pokerth.protocol.ProtoBuf.InitAckMessage.getDefaultInstance()) return this; + if (other.hasYourSessionId()) { + setYourSessionId(other.getYourSessionId()); + } + if (other.hasYourPlayerId()) { + setYourPlayerId(other.getYourPlayerId()); + } + if (other.hasYourAvatarHash()) { + setYourAvatarHash(other.getYourAvatarHash()); + } + if (other.hasRejoinGameId()) { + setRejoinGameId(other.getRejoinGameId()); + } + return this; + } + + public final boolean isInitialized() { + if (!hasYourSessionId()) { + + return false; + } + if (!hasYourPlayerId()) { + + return false; + } + return true; + } + + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + de.pokerth.protocol.ProtoBuf.InitAckMessage parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (de.pokerth.protocol.ProtoBuf.InitAckMessage) e.getUnfinishedMessage(); + throw e; + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; } - private int bitField0_; - + // required bytes yourSessionId = 1; private com.google.protobuf.ByteString yourSessionId_ = com.google.protobuf.ByteString.EMPTY; + /** + * required bytes yourSessionId = 1; + */ public boolean hasYourSessionId() { return ((bitField0_ & 0x00000001) == 0x00000001); } + /** + * required bytes yourSessionId = 1; + */ public com.google.protobuf.ByteString getYourSessionId() { return yourSessionId_; } + /** + * required bytes yourSessionId = 1; + */ public Builder setYourSessionId(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); @@ -5548,42 +7426,66 @@ public final class ProtoBuf { return this; } + /** + * required bytes yourSessionId = 1; + */ public Builder clearYourSessionId() { bitField0_ = (bitField0_ & ~0x00000001); yourSessionId_ = getDefaultInstance().getYourSessionId(); return this; } - + // required uint32 yourPlayerId = 2; private int yourPlayerId_ ; + /** + * required uint32 yourPlayerId = 2; + */ public boolean hasYourPlayerId() { return ((bitField0_ & 0x00000002) == 0x00000002); } + /** + * required uint32 yourPlayerId = 2; + */ public int getYourPlayerId() { return yourPlayerId_; } + /** + * required uint32 yourPlayerId = 2; + */ public Builder setYourPlayerId(int value) { bitField0_ |= 0x00000002; yourPlayerId_ = value; return this; } + /** + * required uint32 yourPlayerId = 2; + */ public Builder clearYourPlayerId() { bitField0_ = (bitField0_ & ~0x00000002); yourPlayerId_ = 0; return this; } - + // optional bytes yourAvatarHash = 3; private com.google.protobuf.ByteString yourAvatarHash_ = com.google.protobuf.ByteString.EMPTY; + /** + * optional bytes yourAvatarHash = 3; + */ public boolean hasYourAvatarHash() { return ((bitField0_ & 0x00000004) == 0x00000004); } + /** + * optional bytes yourAvatarHash = 3; + */ public com.google.protobuf.ByteString getYourAvatarHash() { return yourAvatarHash_; } + /** + * optional bytes yourAvatarHash = 3; + */ public Builder setYourAvatarHash(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); @@ -5593,329 +7495,123 @@ public final class ProtoBuf { return this; } + /** + * optional bytes yourAvatarHash = 3; + */ public Builder clearYourAvatarHash() { bitField0_ = (bitField0_ & ~0x00000004); yourAvatarHash_ = getDefaultInstance().getYourAvatarHash(); return this; } - + // optional uint32 rejoinGameId = 4; private int rejoinGameId_ ; + /** + * optional uint32 rejoinGameId = 4; + */ public boolean hasRejoinGameId() { return ((bitField0_ & 0x00000008) == 0x00000008); } + /** + * optional uint32 rejoinGameId = 4; + */ public int getRejoinGameId() { return rejoinGameId_; } + /** + * optional uint32 rejoinGameId = 4; + */ public Builder setRejoinGameId(int value) { bitField0_ |= 0x00000008; rejoinGameId_ = value; return this; } + /** + * optional uint32 rejoinGameId = 4; + */ public Builder clearRejoinGameId() { bitField0_ = (bitField0_ & ~0x00000008); rejoinGameId_ = 0; return this; } - + // @@protoc_insertion_point(builder_scope:InitAckMessage) } - + static { defaultInstance = new InitAckMessage(true); defaultInstance.initFields(); } - + // @@protoc_insertion_point(class_scope:InitAckMessage) } - + public interface AvatarRequestMessageOrBuilder extends com.google.protobuf.MessageLiteOrBuilder { - + // required uint32 requestId = 1; + /** + * required uint32 requestId = 1; + */ boolean hasRequestId(); + /** + * required uint32 requestId = 1; + */ int getRequestId(); - + // required bytes avatarHash = 2; + /** + * required bytes avatarHash = 2; + */ boolean hasAvatarHash(); + /** + * required bytes avatarHash = 2; + */ com.google.protobuf.ByteString getAvatarHash(); } + /** + * Protobuf type {@code AvatarRequestMessage} + */ public static final class AvatarRequestMessage extends com.google.protobuf.GeneratedMessageLite implements AvatarRequestMessageOrBuilder { // Use AvatarRequestMessage.newBuilder() to construct. - private AvatarRequestMessage(Builder builder) { + private AvatarRequestMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); + } private AvatarRequestMessage(boolean noInit) {} - + private static final AvatarRequestMessage defaultInstance; public static AvatarRequestMessage getDefaultInstance() { return defaultInstance; } - + public AvatarRequestMessage getDefaultInstanceForType() { return defaultInstance; } - - private int bitField0_; - // required uint32 requestId = 1; - public static final int REQUESTID_FIELD_NUMBER = 1; - private int requestId_; - public boolean hasRequestId() { - return ((bitField0_ & 0x00000001) == 0x00000001); - } - public int getRequestId() { - return requestId_; - } - - // required bytes avatarHash = 2; - public static final int AVATARHASH_FIELD_NUMBER = 2; - private com.google.protobuf.ByteString avatarHash_; - public boolean hasAvatarHash() { - return ((bitField0_ & 0x00000002) == 0x00000002); - } - public com.google.protobuf.ByteString getAvatarHash() { - return avatarHash_; - } - - private void initFields() { - requestId_ = 0; - avatarHash_ = com.google.protobuf.ByteString.EMPTY; - } - private byte memoizedIsInitialized = -1; - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; - - if (!hasRequestId()) { - memoizedIsInitialized = 0; - return false; - } - if (!hasAvatarHash()) { - memoizedIsInitialized = 0; - return false; - } - memoizedIsInitialized = 1; - return true; - } - - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - getSerializedSize(); - if (((bitField0_ & 0x00000001) == 0x00000001)) { - output.writeUInt32(1, requestId_); - } - if (((bitField0_ & 0x00000002) == 0x00000002)) { - output.writeBytes(2, avatarHash_); - } - } - - private int memoizedSerializedSize = -1; - public int getSerializedSize() { - int size = memoizedSerializedSize; - if (size != -1) return size; - - size = 0; - if (((bitField0_ & 0x00000001) == 0x00000001)) { - size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(1, requestId_); - } - if (((bitField0_ & 0x00000002) == 0x00000002)) { - size += com.google.protobuf.CodedOutputStream - .computeBytesSize(2, avatarHash_); - } - memoizedSerializedSize = size; - return size; - } - - private static final long serialVersionUID = 0L; - @java.lang.Override - protected java.lang.Object writeReplace() - throws java.io.ObjectStreamException { - return super.writeReplace(); - } - - public static de.pokerth.protocol.ProtoBuf.AvatarRequestMessage parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data).buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.AvatarRequestMessage parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data, extensionRegistry) - .buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.AvatarRequestMessage parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data).buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.AvatarRequestMessage parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data, extensionRegistry) - .buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.AvatarRequestMessage parseFrom(java.io.InputStream input) - throws java.io.IOException { - return newBuilder().mergeFrom(input).buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.AvatarRequestMessage parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return newBuilder().mergeFrom(input, extensionRegistry) - .buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.AvatarRequestMessage parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - Builder builder = newBuilder(); - if (builder.mergeDelimitedFrom(input)) { - return builder.buildParsed(); - } else { - return null; - } - } - public static de.pokerth.protocol.ProtoBuf.AvatarRequestMessage parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - Builder builder = newBuilder(); - if (builder.mergeDelimitedFrom(input, extensionRegistry)) { - return builder.buildParsed(); - } else { - return null; - } - } - public static de.pokerth.protocol.ProtoBuf.AvatarRequestMessage parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return newBuilder().mergeFrom(input).buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.AvatarRequestMessage parseFrom( + + private AvatarRequestMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return newBuilder().mergeFrom(input, extensionRegistry) - .buildParsed(); - } - - public static Builder newBuilder() { return Builder.create(); } - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.AvatarRequestMessage prototype) { - return newBuilder().mergeFrom(prototype); - } - public Builder toBuilder() { return newBuilder(this); } - - public static final class Builder extends - com.google.protobuf.GeneratedMessageLite.Builder< - de.pokerth.protocol.ProtoBuf.AvatarRequestMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.AvatarRequestMessageOrBuilder { - // Construct using de.pokerth.protocol.ProtoBuf.AvatarRequestMessage.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - } - private static Builder create() { - return new Builder(); - } - - public Builder clear() { - super.clear(); - requestId_ = 0; - bitField0_ = (bitField0_ & ~0x00000001); - avatarHash_ = com.google.protobuf.ByteString.EMPTY; - bitField0_ = (bitField0_ & ~0x00000002); - return this; - } - - public Builder clone() { - return create().mergeFrom(buildPartial()); - } - - public de.pokerth.protocol.ProtoBuf.AvatarRequestMessage getDefaultInstanceForType() { - return de.pokerth.protocol.ProtoBuf.AvatarRequestMessage.getDefaultInstance(); - } - - public de.pokerth.protocol.ProtoBuf.AvatarRequestMessage build() { - de.pokerth.protocol.ProtoBuf.AvatarRequestMessage result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - private de.pokerth.protocol.ProtoBuf.AvatarRequestMessage buildParsed() - throws com.google.protobuf.InvalidProtocolBufferException { - de.pokerth.protocol.ProtoBuf.AvatarRequestMessage result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException( - result).asInvalidProtocolBufferException(); - } - return result; - } - - public de.pokerth.protocol.ProtoBuf.AvatarRequestMessage buildPartial() { - de.pokerth.protocol.ProtoBuf.AvatarRequestMessage result = new de.pokerth.protocol.ProtoBuf.AvatarRequestMessage(this); - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) == 0x00000001)) { - to_bitField0_ |= 0x00000001; - } - result.requestId_ = requestId_; - if (((from_bitField0_ & 0x00000002) == 0x00000002)) { - to_bitField0_ |= 0x00000002; - } - result.avatarHash_ = avatarHash_; - result.bitField0_ = to_bitField0_; - return result; - } - - public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.AvatarRequestMessage other) { - if (other == de.pokerth.protocol.ProtoBuf.AvatarRequestMessage.getDefaultInstance()) return this; - if (other.hasRequestId()) { - setRequestId(other.getRequestId()); - } - if (other.hasAvatarHash()) { - setAvatarHash(other.getAvatarHash()); - } - return this; - } - - public final boolean isInitialized() { - if (!hasRequestId()) { - - return false; - } - if (!hasAvatarHash()) { - - return false; - } - return true; - } - - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - while (true) { + throws com.google.protobuf.InvalidProtocolBufferException { + initFields(); + int mutable_bitField0_ = 0; + try { + boolean done = false; + while (!done) { int tag = input.readTag(); switch (tag) { case 0: - - return this; + done = true; + break; default: { - if (!parseUnknownField(input, extensionRegistry, tag)) { - - return this; + if (!parseUnknownField(input, + extensionRegistry, tag)) { + done = true; } break; } @@ -5931,156 +7627,84 @@ public final class ProtoBuf { } } } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e.getMessage()).setUnfinishedMessage(this); + } finally { + makeExtensionsImmutable(); } - - private int bitField0_; - - // required uint32 requestId = 1; - private int requestId_ ; - public boolean hasRequestId() { - return ((bitField0_ & 0x00000001) == 0x00000001); - } - public int getRequestId() { - return requestId_; - } - public Builder setRequestId(int value) { - bitField0_ |= 0x00000001; - requestId_ = value; - - return this; - } - public Builder clearRequestId() { - bitField0_ = (bitField0_ & ~0x00000001); - requestId_ = 0; - - return this; - } - - // required bytes avatarHash = 2; - private com.google.protobuf.ByteString avatarHash_ = com.google.protobuf.ByteString.EMPTY; - public boolean hasAvatarHash() { - return ((bitField0_ & 0x00000002) == 0x00000002); - } - public com.google.protobuf.ByteString getAvatarHash() { - return avatarHash_; - } - public Builder setAvatarHash(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000002; - avatarHash_ = value; - - return this; - } - public Builder clearAvatarHash() { - bitField0_ = (bitField0_ & ~0x00000002); - avatarHash_ = getDefaultInstance().getAvatarHash(); - - return this; - } - - // @@protoc_insertion_point(builder_scope:AvatarRequestMessage) } - - static { - defaultInstance = new AvatarRequestMessage(true); - defaultInstance.initFields(); + public static com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + public AvatarRequestMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AvatarRequestMessage(input, extensionRegistry); + } + }; + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; } - - // @@protoc_insertion_point(class_scope:AvatarRequestMessage) - } - - public interface AvatarHeaderMessageOrBuilder - extends com.google.protobuf.MessageLiteOrBuilder { - - // required uint32 requestId = 1; - boolean hasRequestId(); - int getRequestId(); - - // required .NetAvatarType avatarType = 2; - boolean hasAvatarType(); - de.pokerth.protocol.ProtoBuf.NetAvatarType getAvatarType(); - - // required uint32 avatarSize = 3; - boolean hasAvatarSize(); - int getAvatarSize(); - } - public static final class AvatarHeaderMessage extends - com.google.protobuf.GeneratedMessageLite - implements AvatarHeaderMessageOrBuilder { - // Use AvatarHeaderMessage.newBuilder() to construct. - private AvatarHeaderMessage(Builder builder) { - super(builder); - } - private AvatarHeaderMessage(boolean noInit) {} - - private static final AvatarHeaderMessage defaultInstance; - public static AvatarHeaderMessage getDefaultInstance() { - return defaultInstance; - } - - public AvatarHeaderMessage getDefaultInstanceForType() { - return defaultInstance; - } - + private int bitField0_; // required uint32 requestId = 1; public static final int REQUESTID_FIELD_NUMBER = 1; private int requestId_; + /** + * required uint32 requestId = 1; + */ public boolean hasRequestId() { return ((bitField0_ & 0x00000001) == 0x00000001); } + /** + * required uint32 requestId = 1; + */ public int getRequestId() { return requestId_; } - - // required .NetAvatarType avatarType = 2; - public static final int AVATARTYPE_FIELD_NUMBER = 2; - private de.pokerth.protocol.ProtoBuf.NetAvatarType avatarType_; - public boolean hasAvatarType() { + + // required bytes avatarHash = 2; + public static final int AVATARHASH_FIELD_NUMBER = 2; + private com.google.protobuf.ByteString avatarHash_; + /** + * required bytes avatarHash = 2; + */ + public boolean hasAvatarHash() { return ((bitField0_ & 0x00000002) == 0x00000002); } - public de.pokerth.protocol.ProtoBuf.NetAvatarType getAvatarType() { - return avatarType_; + /** + * required bytes avatarHash = 2; + */ + public com.google.protobuf.ByteString getAvatarHash() { + return avatarHash_; } - - // required uint32 avatarSize = 3; - public static final int AVATARSIZE_FIELD_NUMBER = 3; - private int avatarSize_; - public boolean hasAvatarSize() { - return ((bitField0_ & 0x00000004) == 0x00000004); - } - public int getAvatarSize() { - return avatarSize_; - } - + private void initFields() { requestId_ = 0; - avatarType_ = de.pokerth.protocol.ProtoBuf.NetAvatarType.netAvatarImagePng; - avatarSize_ = 0; + avatarHash_ = com.google.protobuf.ByteString.EMPTY; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; - + if (!hasRequestId()) { memoizedIsInitialized = 0; return false; } - if (!hasAvatarType()) { - memoizedIsInitialized = 0; - return false; - } - if (!hasAvatarSize()) { + if (!hasAvatarHash()) { memoizedIsInitialized = 0; return false; } memoizedIsInitialized = 1; return true; } - + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); @@ -6088,18 +7712,15 @@ public final class ProtoBuf { output.writeUInt32(1, requestId_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { - output.writeEnum(2, avatarType_.getNumber()); - } - if (((bitField0_ & 0x00000004) == 0x00000004)) { - output.writeUInt32(3, avatarSize_); + output.writeBytes(2, avatarHash_); } } - + private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; - + size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream @@ -6107,151 +7728,124 @@ public final class ProtoBuf { } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, avatarType_.getNumber()); - } - if (((bitField0_ & 0x00000004) == 0x00000004)) { - size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(3, avatarSize_); + .computeBytesSize(2, avatarHash_); } memoizedSerializedSize = size; return size; } - + private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } - - public static de.pokerth.protocol.ProtoBuf.AvatarHeaderMessage parseFrom( + + public static de.pokerth.protocol.ProtoBuf.AvatarRequestMessage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data).buildParsed(); + return PARSER.parseFrom(data); } - public static de.pokerth.protocol.ProtoBuf.AvatarHeaderMessage parseFrom( + public static de.pokerth.protocol.ProtoBuf.AvatarRequestMessage parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(data, extensionRegistry); } - public static de.pokerth.protocol.ProtoBuf.AvatarHeaderMessage parseFrom(byte[] data) + public static de.pokerth.protocol.ProtoBuf.AvatarRequestMessage parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data).buildParsed(); + return PARSER.parseFrom(data); } - public static de.pokerth.protocol.ProtoBuf.AvatarHeaderMessage parseFrom( + public static de.pokerth.protocol.ProtoBuf.AvatarRequestMessage parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(data, extensionRegistry); } - public static de.pokerth.protocol.ProtoBuf.AvatarHeaderMessage parseFrom(java.io.InputStream input) + public static de.pokerth.protocol.ProtoBuf.AvatarRequestMessage parseFrom(java.io.InputStream input) throws java.io.IOException { - return newBuilder().mergeFrom(input).buildParsed(); + return PARSER.parseFrom(input); } - public static de.pokerth.protocol.ProtoBuf.AvatarHeaderMessage parseFrom( + public static de.pokerth.protocol.ProtoBuf.AvatarRequestMessage parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return newBuilder().mergeFrom(input, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(input, extensionRegistry); } - public static de.pokerth.protocol.ProtoBuf.AvatarHeaderMessage parseDelimitedFrom(java.io.InputStream input) + public static de.pokerth.protocol.ProtoBuf.AvatarRequestMessage parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - Builder builder = newBuilder(); - if (builder.mergeDelimitedFrom(input)) { - return builder.buildParsed(); - } else { - return null; - } + return PARSER.parseDelimitedFrom(input); } - public static de.pokerth.protocol.ProtoBuf.AvatarHeaderMessage parseDelimitedFrom( + public static de.pokerth.protocol.ProtoBuf.AvatarRequestMessage parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - Builder builder = newBuilder(); - if (builder.mergeDelimitedFrom(input, extensionRegistry)) { - return builder.buildParsed(); - } else { - return null; - } + return PARSER.parseDelimitedFrom(input, extensionRegistry); } - public static de.pokerth.protocol.ProtoBuf.AvatarHeaderMessage parseFrom( + public static de.pokerth.protocol.ProtoBuf.AvatarRequestMessage parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return newBuilder().mergeFrom(input).buildParsed(); + return PARSER.parseFrom(input); } - public static de.pokerth.protocol.ProtoBuf.AvatarHeaderMessage parseFrom( + public static de.pokerth.protocol.ProtoBuf.AvatarRequestMessage parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return newBuilder().mergeFrom(input, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(input, extensionRegistry); } - + public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.AvatarHeaderMessage prototype) { + public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.AvatarRequestMessage prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } - + + /** + * Protobuf type {@code AvatarRequestMessage} + */ public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< - de.pokerth.protocol.ProtoBuf.AvatarHeaderMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.AvatarHeaderMessageOrBuilder { - // Construct using de.pokerth.protocol.ProtoBuf.AvatarHeaderMessage.newBuilder() + de.pokerth.protocol.ProtoBuf.AvatarRequestMessage, Builder> + implements de.pokerth.protocol.ProtoBuf.AvatarRequestMessageOrBuilder { + // Construct using de.pokerth.protocol.ProtoBuf.AvatarRequestMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - + private void maybeForceBuilderInitialization() { } private static Builder create() { return new Builder(); } - + public Builder clear() { super.clear(); requestId_ = 0; bitField0_ = (bitField0_ & ~0x00000001); - avatarType_ = de.pokerth.protocol.ProtoBuf.NetAvatarType.netAvatarImagePng; + avatarHash_ = com.google.protobuf.ByteString.EMPTY; bitField0_ = (bitField0_ & ~0x00000002); - avatarSize_ = 0; - bitField0_ = (bitField0_ & ~0x00000004); return this; } - + public Builder clone() { return create().mergeFrom(buildPartial()); } - - public de.pokerth.protocol.ProtoBuf.AvatarHeaderMessage getDefaultInstanceForType() { - return de.pokerth.protocol.ProtoBuf.AvatarHeaderMessage.getDefaultInstance(); + + public de.pokerth.protocol.ProtoBuf.AvatarRequestMessage getDefaultInstanceForType() { + return de.pokerth.protocol.ProtoBuf.AvatarRequestMessage.getDefaultInstance(); } - - public de.pokerth.protocol.ProtoBuf.AvatarHeaderMessage build() { - de.pokerth.protocol.ProtoBuf.AvatarHeaderMessage result = buildPartial(); + + public de.pokerth.protocol.ProtoBuf.AvatarRequestMessage build() { + de.pokerth.protocol.ProtoBuf.AvatarRequestMessage result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } - - private de.pokerth.protocol.ProtoBuf.AvatarHeaderMessage buildParsed() - throws com.google.protobuf.InvalidProtocolBufferException { - de.pokerth.protocol.ProtoBuf.AvatarHeaderMessage result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException( - result).asInvalidProtocolBufferException(); - } - return result; - } - - public de.pokerth.protocol.ProtoBuf.AvatarHeaderMessage buildPartial() { - de.pokerth.protocol.ProtoBuf.AvatarHeaderMessage result = new de.pokerth.protocol.ProtoBuf.AvatarHeaderMessage(this); + + public de.pokerth.protocol.ProtoBuf.AvatarRequestMessage buildPartial() { + de.pokerth.protocol.ProtoBuf.AvatarRequestMessage result = new de.pokerth.protocol.ProtoBuf.AvatarRequestMessage(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { @@ -6261,59 +7855,206 @@ public final class ProtoBuf { if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } - result.avatarType_ = avatarType_; - if (((from_bitField0_ & 0x00000004) == 0x00000004)) { - to_bitField0_ |= 0x00000004; - } - result.avatarSize_ = avatarSize_; + result.avatarHash_ = avatarHash_; result.bitField0_ = to_bitField0_; return result; } - - public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.AvatarHeaderMessage other) { - if (other == de.pokerth.protocol.ProtoBuf.AvatarHeaderMessage.getDefaultInstance()) return this; + + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.AvatarRequestMessage other) { + if (other == de.pokerth.protocol.ProtoBuf.AvatarRequestMessage.getDefaultInstance()) return this; if (other.hasRequestId()) { setRequestId(other.getRequestId()); } - if (other.hasAvatarType()) { - setAvatarType(other.getAvatarType()); - } - if (other.hasAvatarSize()) { - setAvatarSize(other.getAvatarSize()); + if (other.hasAvatarHash()) { + setAvatarHash(other.getAvatarHash()); } return this; } - + public final boolean isInitialized() { if (!hasRequestId()) { return false; } - if (!hasAvatarType()) { - - return false; - } - if (!hasAvatarSize()) { + if (!hasAvatarHash()) { return false; } return true; } - + public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - while (true) { + de.pokerth.protocol.ProtoBuf.AvatarRequestMessage parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (de.pokerth.protocol.ProtoBuf.AvatarRequestMessage) e.getUnfinishedMessage(); + throw e; + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int bitField0_; + + // required uint32 requestId = 1; + private int requestId_ ; + /** + * required uint32 requestId = 1; + */ + public boolean hasRequestId() { + return ((bitField0_ & 0x00000001) == 0x00000001); + } + /** + * required uint32 requestId = 1; + */ + public int getRequestId() { + return requestId_; + } + /** + * required uint32 requestId = 1; + */ + public Builder setRequestId(int value) { + bitField0_ |= 0x00000001; + requestId_ = value; + + return this; + } + /** + * required uint32 requestId = 1; + */ + public Builder clearRequestId() { + bitField0_ = (bitField0_ & ~0x00000001); + requestId_ = 0; + + return this; + } + + // required bytes avatarHash = 2; + private com.google.protobuf.ByteString avatarHash_ = com.google.protobuf.ByteString.EMPTY; + /** + * required bytes avatarHash = 2; + */ + public boolean hasAvatarHash() { + return ((bitField0_ & 0x00000002) == 0x00000002); + } + /** + * required bytes avatarHash = 2; + */ + public com.google.protobuf.ByteString getAvatarHash() { + return avatarHash_; + } + /** + * required bytes avatarHash = 2; + */ + public Builder setAvatarHash(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000002; + avatarHash_ = value; + + return this; + } + /** + * required bytes avatarHash = 2; + */ + public Builder clearAvatarHash() { + bitField0_ = (bitField0_ & ~0x00000002); + avatarHash_ = getDefaultInstance().getAvatarHash(); + + return this; + } + + // @@protoc_insertion_point(builder_scope:AvatarRequestMessage) + } + + static { + defaultInstance = new AvatarRequestMessage(true); + defaultInstance.initFields(); + } + + // @@protoc_insertion_point(class_scope:AvatarRequestMessage) + } + + public interface AvatarHeaderMessageOrBuilder + extends com.google.protobuf.MessageLiteOrBuilder { + + // required uint32 requestId = 1; + /** + * required uint32 requestId = 1; + */ + boolean hasRequestId(); + /** + * required uint32 requestId = 1; + */ + int getRequestId(); + + // required .NetAvatarType avatarType = 2; + /** + * required .NetAvatarType avatarType = 2; + */ + boolean hasAvatarType(); + /** + * required .NetAvatarType avatarType = 2; + */ + de.pokerth.protocol.ProtoBuf.NetAvatarType getAvatarType(); + + // required uint32 avatarSize = 3; + /** + * required uint32 avatarSize = 3; + */ + boolean hasAvatarSize(); + /** + * required uint32 avatarSize = 3; + */ + int getAvatarSize(); + } + /** + * Protobuf type {@code AvatarHeaderMessage} + */ + public static final class AvatarHeaderMessage extends + com.google.protobuf.GeneratedMessageLite + implements AvatarHeaderMessageOrBuilder { + // Use AvatarHeaderMessage.newBuilder() to construct. + private AvatarHeaderMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { + super(builder); + + } + private AvatarHeaderMessage(boolean noInit) {} + + private static final AvatarHeaderMessage defaultInstance; + public static AvatarHeaderMessage getDefaultInstance() { + return defaultInstance; + } + + public AvatarHeaderMessage getDefaultInstanceForType() { + return defaultInstance; + } + + private AvatarHeaderMessage( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + initFields(); + int mutable_bitField0_ = 0; + try { + boolean done = false; + while (!done) { int tag = input.readTag(); switch (tag) { case 0: - - return this; + done = true; + break; default: { - if (!parseUnknownField(input, extensionRegistry, tag)) { - - return this; + if (!parseUnknownField(input, + extensionRegistry, tag)) { + done = true; } break; } @@ -6338,158 +8079,105 @@ public final class ProtoBuf { } } } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e.getMessage()).setUnfinishedMessage(this); + } finally { + makeExtensionsImmutable(); } - - private int bitField0_; - - // required uint32 requestId = 1; - private int requestId_ ; - public boolean hasRequestId() { - return ((bitField0_ & 0x00000001) == 0x00000001); - } - public int getRequestId() { - return requestId_; - } - public Builder setRequestId(int value) { - bitField0_ |= 0x00000001; - requestId_ = value; - - return this; - } - public Builder clearRequestId() { - bitField0_ = (bitField0_ & ~0x00000001); - requestId_ = 0; - - return this; - } - - // required .NetAvatarType avatarType = 2; - private de.pokerth.protocol.ProtoBuf.NetAvatarType avatarType_ = de.pokerth.protocol.ProtoBuf.NetAvatarType.netAvatarImagePng; - public boolean hasAvatarType() { - return ((bitField0_ & 0x00000002) == 0x00000002); - } - public de.pokerth.protocol.ProtoBuf.NetAvatarType getAvatarType() { - return avatarType_; - } - public Builder setAvatarType(de.pokerth.protocol.ProtoBuf.NetAvatarType value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000002; - avatarType_ = value; - - return this; - } - public Builder clearAvatarType() { - bitField0_ = (bitField0_ & ~0x00000002); - avatarType_ = de.pokerth.protocol.ProtoBuf.NetAvatarType.netAvatarImagePng; - - return this; - } - - // required uint32 avatarSize = 3; - private int avatarSize_ ; - public boolean hasAvatarSize() { - return ((bitField0_ & 0x00000004) == 0x00000004); - } - public int getAvatarSize() { - return avatarSize_; - } - public Builder setAvatarSize(int value) { - bitField0_ |= 0x00000004; - avatarSize_ = value; - - return this; - } - public Builder clearAvatarSize() { - bitField0_ = (bitField0_ & ~0x00000004); - avatarSize_ = 0; - - return this; - } - - // @@protoc_insertion_point(builder_scope:AvatarHeaderMessage) } - - static { - defaultInstance = new AvatarHeaderMessage(true); - defaultInstance.initFields(); + public static com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + public AvatarHeaderMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AvatarHeaderMessage(input, extensionRegistry); + } + }; + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; } - - // @@protoc_insertion_point(class_scope:AvatarHeaderMessage) - } - - public interface AvatarDataMessageOrBuilder - extends com.google.protobuf.MessageLiteOrBuilder { - - // required uint32 requestId = 1; - boolean hasRequestId(); - int getRequestId(); - - // required bytes avatarBlock = 2; - boolean hasAvatarBlock(); - com.google.protobuf.ByteString getAvatarBlock(); - } - public static final class AvatarDataMessage extends - com.google.protobuf.GeneratedMessageLite - implements AvatarDataMessageOrBuilder { - // Use AvatarDataMessage.newBuilder() to construct. - private AvatarDataMessage(Builder builder) { - super(builder); - } - private AvatarDataMessage(boolean noInit) {} - - private static final AvatarDataMessage defaultInstance; - public static AvatarDataMessage getDefaultInstance() { - return defaultInstance; - } - - public AvatarDataMessage getDefaultInstanceForType() { - return defaultInstance; - } - + private int bitField0_; // required uint32 requestId = 1; public static final int REQUESTID_FIELD_NUMBER = 1; private int requestId_; + /** + * required uint32 requestId = 1; + */ public boolean hasRequestId() { return ((bitField0_ & 0x00000001) == 0x00000001); } + /** + * required uint32 requestId = 1; + */ public int getRequestId() { return requestId_; } - - // required bytes avatarBlock = 2; - public static final int AVATARBLOCK_FIELD_NUMBER = 2; - private com.google.protobuf.ByteString avatarBlock_; - public boolean hasAvatarBlock() { + + // required .NetAvatarType avatarType = 2; + public static final int AVATARTYPE_FIELD_NUMBER = 2; + private de.pokerth.protocol.ProtoBuf.NetAvatarType avatarType_; + /** + * required .NetAvatarType avatarType = 2; + */ + public boolean hasAvatarType() { return ((bitField0_ & 0x00000002) == 0x00000002); } - public com.google.protobuf.ByteString getAvatarBlock() { - return avatarBlock_; + /** + * required .NetAvatarType avatarType = 2; + */ + public de.pokerth.protocol.ProtoBuf.NetAvatarType getAvatarType() { + return avatarType_; } - + + // required uint32 avatarSize = 3; + public static final int AVATARSIZE_FIELD_NUMBER = 3; + private int avatarSize_; + /** + * required uint32 avatarSize = 3; + */ + public boolean hasAvatarSize() { + return ((bitField0_ & 0x00000004) == 0x00000004); + } + /** + * required uint32 avatarSize = 3; + */ + public int getAvatarSize() { + return avatarSize_; + } + private void initFields() { requestId_ = 0; - avatarBlock_ = com.google.protobuf.ByteString.EMPTY; + avatarType_ = de.pokerth.protocol.ProtoBuf.NetAvatarType.netAvatarImagePng; + avatarSize_ = 0; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; - + if (!hasRequestId()) { memoizedIsInitialized = 0; return false; } - if (!hasAvatarBlock()) { + if (!hasAvatarType()) { + memoizedIsInitialized = 0; + return false; + } + if (!hasAvatarSize()) { memoizedIsInitialized = 0; return false; } memoizedIsInitialized = 1; return true; } - + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); @@ -6497,15 +8185,18 @@ public final class ProtoBuf { output.writeUInt32(1, requestId_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { - output.writeBytes(2, avatarBlock_); + output.writeEnum(2, avatarType_.getNumber()); + } + if (((bitField0_ & 0x00000004) == 0x00000004)) { + output.writeUInt32(3, avatarSize_); } } - + private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; - + size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream @@ -6513,145 +8204,130 @@ public final class ProtoBuf { } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream - .computeBytesSize(2, avatarBlock_); + .computeEnumSize(2, avatarType_.getNumber()); + } + if (((bitField0_ & 0x00000004) == 0x00000004)) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(3, avatarSize_); } memoizedSerializedSize = size; return size; } - + private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } - - public static de.pokerth.protocol.ProtoBuf.AvatarDataMessage parseFrom( + + public static de.pokerth.protocol.ProtoBuf.AvatarHeaderMessage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data).buildParsed(); + return PARSER.parseFrom(data); } - public static de.pokerth.protocol.ProtoBuf.AvatarDataMessage parseFrom( + public static de.pokerth.protocol.ProtoBuf.AvatarHeaderMessage parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(data, extensionRegistry); } - public static de.pokerth.protocol.ProtoBuf.AvatarDataMessage parseFrom(byte[] data) + public static de.pokerth.protocol.ProtoBuf.AvatarHeaderMessage parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data).buildParsed(); + return PARSER.parseFrom(data); } - public static de.pokerth.protocol.ProtoBuf.AvatarDataMessage parseFrom( + public static de.pokerth.protocol.ProtoBuf.AvatarHeaderMessage parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(data, extensionRegistry); } - public static de.pokerth.protocol.ProtoBuf.AvatarDataMessage parseFrom(java.io.InputStream input) + public static de.pokerth.protocol.ProtoBuf.AvatarHeaderMessage parseFrom(java.io.InputStream input) throws java.io.IOException { - return newBuilder().mergeFrom(input).buildParsed(); + return PARSER.parseFrom(input); } - public static de.pokerth.protocol.ProtoBuf.AvatarDataMessage parseFrom( + public static de.pokerth.protocol.ProtoBuf.AvatarHeaderMessage parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return newBuilder().mergeFrom(input, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(input, extensionRegistry); } - public static de.pokerth.protocol.ProtoBuf.AvatarDataMessage parseDelimitedFrom(java.io.InputStream input) + public static de.pokerth.protocol.ProtoBuf.AvatarHeaderMessage parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - Builder builder = newBuilder(); - if (builder.mergeDelimitedFrom(input)) { - return builder.buildParsed(); - } else { - return null; - } + return PARSER.parseDelimitedFrom(input); } - public static de.pokerth.protocol.ProtoBuf.AvatarDataMessage parseDelimitedFrom( + public static de.pokerth.protocol.ProtoBuf.AvatarHeaderMessage parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - Builder builder = newBuilder(); - if (builder.mergeDelimitedFrom(input, extensionRegistry)) { - return builder.buildParsed(); - } else { - return null; - } + return PARSER.parseDelimitedFrom(input, extensionRegistry); } - public static de.pokerth.protocol.ProtoBuf.AvatarDataMessage parseFrom( + public static de.pokerth.protocol.ProtoBuf.AvatarHeaderMessage parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return newBuilder().mergeFrom(input).buildParsed(); + return PARSER.parseFrom(input); } - public static de.pokerth.protocol.ProtoBuf.AvatarDataMessage parseFrom( + public static de.pokerth.protocol.ProtoBuf.AvatarHeaderMessage parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return newBuilder().mergeFrom(input, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(input, extensionRegistry); } - + public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.AvatarDataMessage prototype) { + public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.AvatarHeaderMessage prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } - + + /** + * Protobuf type {@code AvatarHeaderMessage} + */ public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< - de.pokerth.protocol.ProtoBuf.AvatarDataMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.AvatarDataMessageOrBuilder { - // Construct using de.pokerth.protocol.ProtoBuf.AvatarDataMessage.newBuilder() + de.pokerth.protocol.ProtoBuf.AvatarHeaderMessage, Builder> + implements de.pokerth.protocol.ProtoBuf.AvatarHeaderMessageOrBuilder { + // Construct using de.pokerth.protocol.ProtoBuf.AvatarHeaderMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - + private void maybeForceBuilderInitialization() { } private static Builder create() { return new Builder(); } - + public Builder clear() { super.clear(); requestId_ = 0; bitField0_ = (bitField0_ & ~0x00000001); - avatarBlock_ = com.google.protobuf.ByteString.EMPTY; + avatarType_ = de.pokerth.protocol.ProtoBuf.NetAvatarType.netAvatarImagePng; bitField0_ = (bitField0_ & ~0x00000002); + avatarSize_ = 0; + bitField0_ = (bitField0_ & ~0x00000004); return this; } - + public Builder clone() { return create().mergeFrom(buildPartial()); } - - public de.pokerth.protocol.ProtoBuf.AvatarDataMessage getDefaultInstanceForType() { - return de.pokerth.protocol.ProtoBuf.AvatarDataMessage.getDefaultInstance(); + + public de.pokerth.protocol.ProtoBuf.AvatarHeaderMessage getDefaultInstanceForType() { + return de.pokerth.protocol.ProtoBuf.AvatarHeaderMessage.getDefaultInstance(); } - - public de.pokerth.protocol.ProtoBuf.AvatarDataMessage build() { - de.pokerth.protocol.ProtoBuf.AvatarDataMessage result = buildPartial(); + + public de.pokerth.protocol.ProtoBuf.AvatarHeaderMessage build() { + de.pokerth.protocol.ProtoBuf.AvatarHeaderMessage result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } - - private de.pokerth.protocol.ProtoBuf.AvatarDataMessage buildParsed() - throws com.google.protobuf.InvalidProtocolBufferException { - de.pokerth.protocol.ProtoBuf.AvatarDataMessage result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException( - result).asInvalidProtocolBufferException(); - } - return result; - } - - public de.pokerth.protocol.ProtoBuf.AvatarDataMessage buildPartial() { - de.pokerth.protocol.ProtoBuf.AvatarDataMessage result = new de.pokerth.protocol.ProtoBuf.AvatarDataMessage(this); + + public de.pokerth.protocol.ProtoBuf.AvatarHeaderMessage buildPartial() { + de.pokerth.protocol.ProtoBuf.AvatarHeaderMessage result = new de.pokerth.protocol.ProtoBuf.AvatarHeaderMessage(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { @@ -6661,48 +8337,240 @@ public final class ProtoBuf { if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } - result.avatarBlock_ = avatarBlock_; + result.avatarType_ = avatarType_; + if (((from_bitField0_ & 0x00000004) == 0x00000004)) { + to_bitField0_ |= 0x00000004; + } + result.avatarSize_ = avatarSize_; result.bitField0_ = to_bitField0_; return result; } - - public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.AvatarDataMessage other) { - if (other == de.pokerth.protocol.ProtoBuf.AvatarDataMessage.getDefaultInstance()) return this; + + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.AvatarHeaderMessage other) { + if (other == de.pokerth.protocol.ProtoBuf.AvatarHeaderMessage.getDefaultInstance()) return this; if (other.hasRequestId()) { setRequestId(other.getRequestId()); } - if (other.hasAvatarBlock()) { - setAvatarBlock(other.getAvatarBlock()); + if (other.hasAvatarType()) { + setAvatarType(other.getAvatarType()); + } + if (other.hasAvatarSize()) { + setAvatarSize(other.getAvatarSize()); } return this; } - + public final boolean isInitialized() { if (!hasRequestId()) { return false; } - if (!hasAvatarBlock()) { + if (!hasAvatarType()) { + + return false; + } + if (!hasAvatarSize()) { return false; } return true; } - + public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - while (true) { + de.pokerth.protocol.ProtoBuf.AvatarHeaderMessage parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (de.pokerth.protocol.ProtoBuf.AvatarHeaderMessage) e.getUnfinishedMessage(); + throw e; + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int bitField0_; + + // required uint32 requestId = 1; + private int requestId_ ; + /** + * required uint32 requestId = 1; + */ + public boolean hasRequestId() { + return ((bitField0_ & 0x00000001) == 0x00000001); + } + /** + * required uint32 requestId = 1; + */ + public int getRequestId() { + return requestId_; + } + /** + * required uint32 requestId = 1; + */ + public Builder setRequestId(int value) { + bitField0_ |= 0x00000001; + requestId_ = value; + + return this; + } + /** + * required uint32 requestId = 1; + */ + public Builder clearRequestId() { + bitField0_ = (bitField0_ & ~0x00000001); + requestId_ = 0; + + return this; + } + + // required .NetAvatarType avatarType = 2; + private de.pokerth.protocol.ProtoBuf.NetAvatarType avatarType_ = de.pokerth.protocol.ProtoBuf.NetAvatarType.netAvatarImagePng; + /** + * required .NetAvatarType avatarType = 2; + */ + public boolean hasAvatarType() { + return ((bitField0_ & 0x00000002) == 0x00000002); + } + /** + * required .NetAvatarType avatarType = 2; + */ + public de.pokerth.protocol.ProtoBuf.NetAvatarType getAvatarType() { + return avatarType_; + } + /** + * required .NetAvatarType avatarType = 2; + */ + public Builder setAvatarType(de.pokerth.protocol.ProtoBuf.NetAvatarType value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000002; + avatarType_ = value; + + return this; + } + /** + * required .NetAvatarType avatarType = 2; + */ + public Builder clearAvatarType() { + bitField0_ = (bitField0_ & ~0x00000002); + avatarType_ = de.pokerth.protocol.ProtoBuf.NetAvatarType.netAvatarImagePng; + + return this; + } + + // required uint32 avatarSize = 3; + private int avatarSize_ ; + /** + * required uint32 avatarSize = 3; + */ + public boolean hasAvatarSize() { + return ((bitField0_ & 0x00000004) == 0x00000004); + } + /** + * required uint32 avatarSize = 3; + */ + public int getAvatarSize() { + return avatarSize_; + } + /** + * required uint32 avatarSize = 3; + */ + public Builder setAvatarSize(int value) { + bitField0_ |= 0x00000004; + avatarSize_ = value; + + return this; + } + /** + * required uint32 avatarSize = 3; + */ + public Builder clearAvatarSize() { + bitField0_ = (bitField0_ & ~0x00000004); + avatarSize_ = 0; + + return this; + } + + // @@protoc_insertion_point(builder_scope:AvatarHeaderMessage) + } + + static { + defaultInstance = new AvatarHeaderMessage(true); + defaultInstance.initFields(); + } + + // @@protoc_insertion_point(class_scope:AvatarHeaderMessage) + } + + public interface AvatarDataMessageOrBuilder + extends com.google.protobuf.MessageLiteOrBuilder { + + // required uint32 requestId = 1; + /** + * required uint32 requestId = 1; + */ + boolean hasRequestId(); + /** + * required uint32 requestId = 1; + */ + int getRequestId(); + + // required bytes avatarBlock = 2; + /** + * required bytes avatarBlock = 2; + */ + boolean hasAvatarBlock(); + /** + * required bytes avatarBlock = 2; + */ + com.google.protobuf.ByteString getAvatarBlock(); + } + /** + * Protobuf type {@code AvatarDataMessage} + */ + public static final class AvatarDataMessage extends + com.google.protobuf.GeneratedMessageLite + implements AvatarDataMessageOrBuilder { + // Use AvatarDataMessage.newBuilder() to construct. + private AvatarDataMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { + super(builder); + + } + private AvatarDataMessage(boolean noInit) {} + + private static final AvatarDataMessage defaultInstance; + public static AvatarDataMessage getDefaultInstance() { + return defaultInstance; + } + + public AvatarDataMessage getDefaultInstanceForType() { + return defaultInstance; + } + + private AvatarDataMessage( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + initFields(); + int mutable_bitField0_ = 0; + try { + boolean done = false; + while (!done) { int tag = input.readTag(); switch (tag) { case 0: - - return this; + done = true; + break; default: { - if (!parseUnknownField(input, extensionRegistry, tag)) { - - return this; + if (!parseUnknownField(input, + extensionRegistry, tag)) { + done = true; } break; } @@ -6718,39 +8586,331 @@ public final class ProtoBuf { } } } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e.getMessage()).setUnfinishedMessage(this); + } finally { + makeExtensionsImmutable(); + } + } + public static com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + public AvatarDataMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AvatarDataMessage(input, extensionRegistry); + } + }; + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + private int bitField0_; + // required uint32 requestId = 1; + public static final int REQUESTID_FIELD_NUMBER = 1; + private int requestId_; + /** + * required uint32 requestId = 1; + */ + public boolean hasRequestId() { + return ((bitField0_ & 0x00000001) == 0x00000001); + } + /** + * required uint32 requestId = 1; + */ + public int getRequestId() { + return requestId_; + } + + // required bytes avatarBlock = 2; + public static final int AVATARBLOCK_FIELD_NUMBER = 2; + private com.google.protobuf.ByteString avatarBlock_; + /** + * required bytes avatarBlock = 2; + */ + public boolean hasAvatarBlock() { + return ((bitField0_ & 0x00000002) == 0x00000002); + } + /** + * required bytes avatarBlock = 2; + */ + public com.google.protobuf.ByteString getAvatarBlock() { + return avatarBlock_; + } + + private void initFields() { + requestId_ = 0; + avatarBlock_ = com.google.protobuf.ByteString.EMPTY; + } + private byte memoizedIsInitialized = -1; + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized != -1) return isInitialized == 1; + + if (!hasRequestId()) { + memoizedIsInitialized = 0; + return false; + } + if (!hasAvatarBlock()) { + memoizedIsInitialized = 0; + return false; + } + memoizedIsInitialized = 1; + return true; + } + + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + getSerializedSize(); + if (((bitField0_ & 0x00000001) == 0x00000001)) { + output.writeUInt32(1, requestId_); + } + if (((bitField0_ & 0x00000002) == 0x00000002)) { + output.writeBytes(2, avatarBlock_); + } + } + + private int memoizedSerializedSize = -1; + public int getSerializedSize() { + int size = memoizedSerializedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) == 0x00000001)) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(1, requestId_); + } + if (((bitField0_ & 0x00000002) == 0x00000002)) { + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(2, avatarBlock_); + } + memoizedSerializedSize = size; + return size; + } + + private static final long serialVersionUID = 0L; + @java.lang.Override + protected java.lang.Object writeReplace() + throws java.io.ObjectStreamException { + return super.writeReplace(); + } + + public static de.pokerth.protocol.ProtoBuf.AvatarDataMessage parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static de.pokerth.protocol.ProtoBuf.AvatarDataMessage parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static de.pokerth.protocol.ProtoBuf.AvatarDataMessage parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static de.pokerth.protocol.ProtoBuf.AvatarDataMessage parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static de.pokerth.protocol.ProtoBuf.AvatarDataMessage parseFrom(java.io.InputStream input) + throws java.io.IOException { + return PARSER.parseFrom(input); + } + public static de.pokerth.protocol.ProtoBuf.AvatarDataMessage parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseFrom(input, extensionRegistry); + } + public static de.pokerth.protocol.ProtoBuf.AvatarDataMessage parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return PARSER.parseDelimitedFrom(input); + } + public static de.pokerth.protocol.ProtoBuf.AvatarDataMessage parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseDelimitedFrom(input, extensionRegistry); + } + public static de.pokerth.protocol.ProtoBuf.AvatarDataMessage parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return PARSER.parseFrom(input); + } + public static de.pokerth.protocol.ProtoBuf.AvatarDataMessage parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseFrom(input, extensionRegistry); + } + + public static Builder newBuilder() { return Builder.create(); } + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.AvatarDataMessage prototype) { + return newBuilder().mergeFrom(prototype); + } + public Builder toBuilder() { return newBuilder(this); } + + /** + * Protobuf type {@code AvatarDataMessage} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageLite.Builder< + de.pokerth.protocol.ProtoBuf.AvatarDataMessage, Builder> + implements de.pokerth.protocol.ProtoBuf.AvatarDataMessageOrBuilder { + // Construct using de.pokerth.protocol.ProtoBuf.AvatarDataMessage.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + } + private static Builder create() { + return new Builder(); + } + + public Builder clear() { + super.clear(); + requestId_ = 0; + bitField0_ = (bitField0_ & ~0x00000001); + avatarBlock_ = com.google.protobuf.ByteString.EMPTY; + bitField0_ = (bitField0_ & ~0x00000002); + return this; + } + + public Builder clone() { + return create().mergeFrom(buildPartial()); + } + + public de.pokerth.protocol.ProtoBuf.AvatarDataMessage getDefaultInstanceForType() { + return de.pokerth.protocol.ProtoBuf.AvatarDataMessage.getDefaultInstance(); + } + + public de.pokerth.protocol.ProtoBuf.AvatarDataMessage build() { + de.pokerth.protocol.ProtoBuf.AvatarDataMessage result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + public de.pokerth.protocol.ProtoBuf.AvatarDataMessage buildPartial() { + de.pokerth.protocol.ProtoBuf.AvatarDataMessage result = new de.pokerth.protocol.ProtoBuf.AvatarDataMessage(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) == 0x00000001)) { + to_bitField0_ |= 0x00000001; + } + result.requestId_ = requestId_; + if (((from_bitField0_ & 0x00000002) == 0x00000002)) { + to_bitField0_ |= 0x00000002; + } + result.avatarBlock_ = avatarBlock_; + result.bitField0_ = to_bitField0_; + return result; + } + + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.AvatarDataMessage other) { + if (other == de.pokerth.protocol.ProtoBuf.AvatarDataMessage.getDefaultInstance()) return this; + if (other.hasRequestId()) { + setRequestId(other.getRequestId()); + } + if (other.hasAvatarBlock()) { + setAvatarBlock(other.getAvatarBlock()); + } + return this; + } + + public final boolean isInitialized() { + if (!hasRequestId()) { + + return false; + } + if (!hasAvatarBlock()) { + + return false; + } + return true; + } + + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + de.pokerth.protocol.ProtoBuf.AvatarDataMessage parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (de.pokerth.protocol.ProtoBuf.AvatarDataMessage) e.getUnfinishedMessage(); + throw e; + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; } - private int bitField0_; - + // required uint32 requestId = 1; private int requestId_ ; + /** + * required uint32 requestId = 1; + */ public boolean hasRequestId() { return ((bitField0_ & 0x00000001) == 0x00000001); } + /** + * required uint32 requestId = 1; + */ public int getRequestId() { return requestId_; } + /** + * required uint32 requestId = 1; + */ public Builder setRequestId(int value) { bitField0_ |= 0x00000001; requestId_ = value; return this; } + /** + * required uint32 requestId = 1; + */ public Builder clearRequestId() { bitField0_ = (bitField0_ & ~0x00000001); requestId_ = 0; return this; } - + // required bytes avatarBlock = 2; private com.google.protobuf.ByteString avatarBlock_ = com.google.protobuf.ByteString.EMPTY; + /** + * required bytes avatarBlock = 2; + */ public boolean hasAvatarBlock() { return ((bitField0_ & 0x00000002) == 0x00000002); } + /** + * required bytes avatarBlock = 2; + */ public com.google.protobuf.ByteString getAvatarBlock() { return avatarBlock_; } + /** + * required bytes avatarBlock = 2; + */ public Builder setAvatarBlock(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); @@ -6760,60 +8920,131 @@ public final class ProtoBuf { return this; } + /** + * required bytes avatarBlock = 2; + */ public Builder clearAvatarBlock() { bitField0_ = (bitField0_ & ~0x00000002); avatarBlock_ = getDefaultInstance().getAvatarBlock(); return this; } - + // @@protoc_insertion_point(builder_scope:AvatarDataMessage) } - + static { defaultInstance = new AvatarDataMessage(true); defaultInstance.initFields(); } - + // @@protoc_insertion_point(class_scope:AvatarDataMessage) } - + public interface AvatarEndMessageOrBuilder extends com.google.protobuf.MessageLiteOrBuilder { - + // required uint32 requestId = 1; + /** + * required uint32 requestId = 1; + */ boolean hasRequestId(); + /** + * required uint32 requestId = 1; + */ int getRequestId(); } + /** + * Protobuf type {@code AvatarEndMessage} + */ public static final class AvatarEndMessage extends com.google.protobuf.GeneratedMessageLite implements AvatarEndMessageOrBuilder { // Use AvatarEndMessage.newBuilder() to construct. - private AvatarEndMessage(Builder builder) { + private AvatarEndMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); + } private AvatarEndMessage(boolean noInit) {} - + private static final AvatarEndMessage defaultInstance; public static AvatarEndMessage getDefaultInstance() { return defaultInstance; } - + public AvatarEndMessage getDefaultInstanceForType() { return defaultInstance; } - + + private AvatarEndMessage( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + initFields(); + int mutable_bitField0_ = 0; + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: { + if (!parseUnknownField(input, + extensionRegistry, tag)) { + done = true; + } + break; + } + case 8: { + bitField0_ |= 0x00000001; + requestId_ = input.readUInt32(); + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e.getMessage()).setUnfinishedMessage(this); + } finally { + makeExtensionsImmutable(); + } + } + public static com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + public AvatarEndMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AvatarEndMessage(input, extensionRegistry); + } + }; + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + private int bitField0_; // required uint32 requestId = 1; public static final int REQUESTID_FIELD_NUMBER = 1; private int requestId_; + /** + * required uint32 requestId = 1; + */ public boolean hasRequestId() { return ((bitField0_ & 0x00000001) == 0x00000001); } + /** + * required uint32 requestId = 1; + */ public int getRequestId() { return requestId_; } - + private void initFields() { requestId_ = 0; } @@ -6821,7 +9052,7 @@ public final class ProtoBuf { public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; - + if (!hasRequestId()) { memoizedIsInitialized = 0; return false; @@ -6829,7 +9060,7 @@ public final class ProtoBuf { memoizedIsInitialized = 1; return true; } - + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); @@ -6837,12 +9068,12 @@ public final class ProtoBuf { output.writeUInt32(1, requestId_); } } - + private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; - + size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream @@ -6851,88 +9082,77 @@ public final class ProtoBuf { memoizedSerializedSize = size; return size; } - + private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } - + public static de.pokerth.protocol.ProtoBuf.AvatarEndMessage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data).buildParsed(); + return PARSER.parseFrom(data); } public static de.pokerth.protocol.ProtoBuf.AvatarEndMessage parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(data, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.AvatarEndMessage parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data).buildParsed(); + return PARSER.parseFrom(data); } public static de.pokerth.protocol.ProtoBuf.AvatarEndMessage parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(data, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.AvatarEndMessage parseFrom(java.io.InputStream input) throws java.io.IOException { - return newBuilder().mergeFrom(input).buildParsed(); + return PARSER.parseFrom(input); } public static de.pokerth.protocol.ProtoBuf.AvatarEndMessage parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return newBuilder().mergeFrom(input, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.AvatarEndMessage parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - Builder builder = newBuilder(); - if (builder.mergeDelimitedFrom(input)) { - return builder.buildParsed(); - } else { - return null; - } + return PARSER.parseDelimitedFrom(input); } public static de.pokerth.protocol.ProtoBuf.AvatarEndMessage parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - Builder builder = newBuilder(); - if (builder.mergeDelimitedFrom(input, extensionRegistry)) { - return builder.buildParsed(); - } else { - return null; - } + return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.AvatarEndMessage parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return newBuilder().mergeFrom(input).buildParsed(); + return PARSER.parseFrom(input); } public static de.pokerth.protocol.ProtoBuf.AvatarEndMessage parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return newBuilder().mergeFrom(input, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(input, extensionRegistry); } - + public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.AvatarEndMessage prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } - + + /** + * Protobuf type {@code AvatarEndMessage} + */ public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.AvatarEndMessage, Builder> @@ -6941,28 +9161,28 @@ public final class ProtoBuf { private Builder() { maybeForceBuilderInitialization(); } - + private void maybeForceBuilderInitialization() { } private static Builder create() { return new Builder(); } - + public Builder clear() { super.clear(); requestId_ = 0; bitField0_ = (bitField0_ & ~0x00000001); return this; } - + public Builder clone() { return create().mergeFrom(buildPartial()); } - + public de.pokerth.protocol.ProtoBuf.AvatarEndMessage getDefaultInstanceForType() { return de.pokerth.protocol.ProtoBuf.AvatarEndMessage.getDefaultInstance(); } - + public de.pokerth.protocol.ProtoBuf.AvatarEndMessage build() { de.pokerth.protocol.ProtoBuf.AvatarEndMessage result = buildPartial(); if (!result.isInitialized()) { @@ -6970,17 +9190,7 @@ public final class ProtoBuf { } return result; } - - private de.pokerth.protocol.ProtoBuf.AvatarEndMessage buildParsed() - throws com.google.protobuf.InvalidProtocolBufferException { - de.pokerth.protocol.ProtoBuf.AvatarEndMessage result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException( - result).asInvalidProtocolBufferException(); - } - return result; - } - + public de.pokerth.protocol.ProtoBuf.AvatarEndMessage buildPartial() { de.pokerth.protocol.ProtoBuf.AvatarEndMessage result = new de.pokerth.protocol.ProtoBuf.AvatarEndMessage(this); int from_bitField0_ = bitField0_; @@ -6992,7 +9202,7 @@ public final class ProtoBuf { result.bitField0_ = to_bitField0_; return result; } - + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.AvatarEndMessage other) { if (other == de.pokerth.protocol.ProtoBuf.AvatarEndMessage.getDefaultInstance()) return this; if (other.hasRequestId()) { @@ -7000,7 +9210,7 @@ public final class ProtoBuf { } return this; } - + public final boolean isInitialized() { if (!hasRequestId()) { @@ -7008,21 +9218,123 @@ public final class ProtoBuf { } return true; } - + public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - while (true) { + de.pokerth.protocol.ProtoBuf.AvatarEndMessage parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (de.pokerth.protocol.ProtoBuf.AvatarEndMessage) e.getUnfinishedMessage(); + throw e; + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int bitField0_; + + // required uint32 requestId = 1; + private int requestId_ ; + /** + * required uint32 requestId = 1; + */ + public boolean hasRequestId() { + return ((bitField0_ & 0x00000001) == 0x00000001); + } + /** + * required uint32 requestId = 1; + */ + public int getRequestId() { + return requestId_; + } + /** + * required uint32 requestId = 1; + */ + public Builder setRequestId(int value) { + bitField0_ |= 0x00000001; + requestId_ = value; + + return this; + } + /** + * required uint32 requestId = 1; + */ + public Builder clearRequestId() { + bitField0_ = (bitField0_ & ~0x00000001); + requestId_ = 0; + + return this; + } + + // @@protoc_insertion_point(builder_scope:AvatarEndMessage) + } + + static { + defaultInstance = new AvatarEndMessage(true); + defaultInstance.initFields(); + } + + // @@protoc_insertion_point(class_scope:AvatarEndMessage) + } + + public interface UnknownAvatarMessageOrBuilder + extends com.google.protobuf.MessageLiteOrBuilder { + + // required uint32 requestId = 1; + /** + * required uint32 requestId = 1; + */ + boolean hasRequestId(); + /** + * required uint32 requestId = 1; + */ + int getRequestId(); + } + /** + * Protobuf type {@code UnknownAvatarMessage} + */ + public static final class UnknownAvatarMessage extends + com.google.protobuf.GeneratedMessageLite + implements UnknownAvatarMessageOrBuilder { + // Use UnknownAvatarMessage.newBuilder() to construct. + private UnknownAvatarMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { + super(builder); + + } + private UnknownAvatarMessage(boolean noInit) {} + + private static final UnknownAvatarMessage defaultInstance; + public static UnknownAvatarMessage getDefaultInstance() { + return defaultInstance; + } + + public UnknownAvatarMessage getDefaultInstanceForType() { + return defaultInstance; + } + + private UnknownAvatarMessage( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + initFields(); + int mutable_bitField0_ = 0; + try { + boolean done = false; + while (!done) { int tag = input.readTag(); switch (tag) { case 0: - - return this; + done = true; + break; default: { - if (!parseUnknownField(input, extensionRegistry, tag)) { - - return this; + if (!parseUnknownField(input, + extensionRegistry, tag)) { + done = true; } break; } @@ -7033,78 +9345,47 @@ public final class ProtoBuf { } } } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e.getMessage()).setUnfinishedMessage(this); + } finally { + makeExtensionsImmutable(); } - - private int bitField0_; - - // required uint32 requestId = 1; - private int requestId_ ; - public boolean hasRequestId() { - return ((bitField0_ & 0x00000001) == 0x00000001); + } + public static com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + public UnknownAvatarMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new UnknownAvatarMessage(input, extensionRegistry); } - public int getRequestId() { - return requestId_; - } - public Builder setRequestId(int value) { - bitField0_ |= 0x00000001; - requestId_ = value; - - return this; - } - public Builder clearRequestId() { - bitField0_ = (bitField0_ & ~0x00000001); - requestId_ = 0; - - return this; - } - - // @@protoc_insertion_point(builder_scope:AvatarEndMessage) + }; + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; } - - static { - defaultInstance = new AvatarEndMessage(true); - defaultInstance.initFields(); - } - - // @@protoc_insertion_point(class_scope:AvatarEndMessage) - } - - public interface UnknownAvatarMessageOrBuilder - extends com.google.protobuf.MessageLiteOrBuilder { - - // required uint32 requestId = 1; - boolean hasRequestId(); - int getRequestId(); - } - public static final class UnknownAvatarMessage extends - com.google.protobuf.GeneratedMessageLite - implements UnknownAvatarMessageOrBuilder { - // Use UnknownAvatarMessage.newBuilder() to construct. - private UnknownAvatarMessage(Builder builder) { - super(builder); - } - private UnknownAvatarMessage(boolean noInit) {} - - private static final UnknownAvatarMessage defaultInstance; - public static UnknownAvatarMessage getDefaultInstance() { - return defaultInstance; - } - - public UnknownAvatarMessage getDefaultInstanceForType() { - return defaultInstance; - } - + private int bitField0_; // required uint32 requestId = 1; public static final int REQUESTID_FIELD_NUMBER = 1; private int requestId_; + /** + * required uint32 requestId = 1; + */ public boolean hasRequestId() { return ((bitField0_ & 0x00000001) == 0x00000001); } + /** + * required uint32 requestId = 1; + */ public int getRequestId() { return requestId_; } - + private void initFields() { requestId_ = 0; } @@ -7112,7 +9393,7 @@ public final class ProtoBuf { public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; - + if (!hasRequestId()) { memoizedIsInitialized = 0; return false; @@ -7120,7 +9401,7 @@ public final class ProtoBuf { memoizedIsInitialized = 1; return true; } - + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); @@ -7128,12 +9409,12 @@ public final class ProtoBuf { output.writeUInt32(1, requestId_); } } - + private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; - + size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream @@ -7142,88 +9423,77 @@ public final class ProtoBuf { memoizedSerializedSize = size; return size; } - + private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } - + public static de.pokerth.protocol.ProtoBuf.UnknownAvatarMessage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data).buildParsed(); + return PARSER.parseFrom(data); } public static de.pokerth.protocol.ProtoBuf.UnknownAvatarMessage parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(data, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.UnknownAvatarMessage parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data).buildParsed(); + return PARSER.parseFrom(data); } public static de.pokerth.protocol.ProtoBuf.UnknownAvatarMessage parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(data, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.UnknownAvatarMessage parseFrom(java.io.InputStream input) throws java.io.IOException { - return newBuilder().mergeFrom(input).buildParsed(); + return PARSER.parseFrom(input); } public static de.pokerth.protocol.ProtoBuf.UnknownAvatarMessage parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return newBuilder().mergeFrom(input, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.UnknownAvatarMessage parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - Builder builder = newBuilder(); - if (builder.mergeDelimitedFrom(input)) { - return builder.buildParsed(); - } else { - return null; - } + return PARSER.parseDelimitedFrom(input); } public static de.pokerth.protocol.ProtoBuf.UnknownAvatarMessage parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - Builder builder = newBuilder(); - if (builder.mergeDelimitedFrom(input, extensionRegistry)) { - return builder.buildParsed(); - } else { - return null; - } + return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.UnknownAvatarMessage parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return newBuilder().mergeFrom(input).buildParsed(); + return PARSER.parseFrom(input); } public static de.pokerth.protocol.ProtoBuf.UnknownAvatarMessage parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return newBuilder().mergeFrom(input, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(input, extensionRegistry); } - + public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.UnknownAvatarMessage prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } - + + /** + * Protobuf type {@code UnknownAvatarMessage} + */ public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.UnknownAvatarMessage, Builder> @@ -7232,28 +9502,28 @@ public final class ProtoBuf { private Builder() { maybeForceBuilderInitialization(); } - + private void maybeForceBuilderInitialization() { } private static Builder create() { return new Builder(); } - + public Builder clear() { super.clear(); requestId_ = 0; bitField0_ = (bitField0_ & ~0x00000001); return this; } - + public Builder clone() { return create().mergeFrom(buildPartial()); } - + public de.pokerth.protocol.ProtoBuf.UnknownAvatarMessage getDefaultInstanceForType() { return de.pokerth.protocol.ProtoBuf.UnknownAvatarMessage.getDefaultInstance(); } - + public de.pokerth.protocol.ProtoBuf.UnknownAvatarMessage build() { de.pokerth.protocol.ProtoBuf.UnknownAvatarMessage result = buildPartial(); if (!result.isInitialized()) { @@ -7261,17 +9531,7 @@ public final class ProtoBuf { } return result; } - - private de.pokerth.protocol.ProtoBuf.UnknownAvatarMessage buildParsed() - throws com.google.protobuf.InvalidProtocolBufferException { - de.pokerth.protocol.ProtoBuf.UnknownAvatarMessage result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException( - result).asInvalidProtocolBufferException(); - } - return result; - } - + public de.pokerth.protocol.ProtoBuf.UnknownAvatarMessage buildPartial() { de.pokerth.protocol.ProtoBuf.UnknownAvatarMessage result = new de.pokerth.protocol.ProtoBuf.UnknownAvatarMessage(this); int from_bitField0_ = bitField0_; @@ -7283,7 +9543,7 @@ public final class ProtoBuf { result.bitField0_ = to_bitField0_; return result; } - + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.UnknownAvatarMessage other) { if (other == de.pokerth.protocol.ProtoBuf.UnknownAvatarMessage.getDefaultInstance()) return this; if (other.hasRequestId()) { @@ -7291,7 +9551,7 @@ public final class ProtoBuf { } return this; } - + public final boolean isInitialized() { if (!hasRequestId()) { @@ -7299,392 +9559,133 @@ public final class ProtoBuf { } return true; } - + public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - while (true) { - int tag = input.readTag(); - switch (tag) { - case 0: - - return this; - default: { - if (!parseUnknownField(input, extensionRegistry, tag)) { - - return this; - } - break; - } - case 8: { - bitField0_ |= 0x00000001; - requestId_ = input.readUInt32(); - break; - } + de.pokerth.protocol.ProtoBuf.UnknownAvatarMessage parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (de.pokerth.protocol.ProtoBuf.UnknownAvatarMessage) e.getUnfinishedMessage(); + throw e; + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); } } + return this; } - private int bitField0_; - + // required uint32 requestId = 1; private int requestId_ ; + /** + * required uint32 requestId = 1; + */ public boolean hasRequestId() { return ((bitField0_ & 0x00000001) == 0x00000001); } + /** + * required uint32 requestId = 1; + */ public int getRequestId() { return requestId_; } + /** + * required uint32 requestId = 1; + */ public Builder setRequestId(int value) { bitField0_ |= 0x00000001; requestId_ = value; return this; } + /** + * required uint32 requestId = 1; + */ public Builder clearRequestId() { bitField0_ = (bitField0_ & ~0x00000001); requestId_ = 0; return this; } - + // @@protoc_insertion_point(builder_scope:UnknownAvatarMessage) } - + static { defaultInstance = new UnknownAvatarMessage(true); defaultInstance.initFields(); } - + // @@protoc_insertion_point(class_scope:UnknownAvatarMessage) } - + public interface PlayerListMessageOrBuilder extends com.google.protobuf.MessageLiteOrBuilder { - + // required uint32 playerId = 1; + /** + * required uint32 playerId = 1; + */ boolean hasPlayerId(); + /** + * required uint32 playerId = 1; + */ int getPlayerId(); - + // required .PlayerListMessage.PlayerListNotification playerListNotification = 2; + /** + * required .PlayerListMessage.PlayerListNotification playerListNotification = 2; + */ boolean hasPlayerListNotification(); + /** + * required .PlayerListMessage.PlayerListNotification playerListNotification = 2; + */ de.pokerth.protocol.ProtoBuf.PlayerListMessage.PlayerListNotification getPlayerListNotification(); } + /** + * Protobuf type {@code PlayerListMessage} + */ public static final class PlayerListMessage extends com.google.protobuf.GeneratedMessageLite implements PlayerListMessageOrBuilder { // Use PlayerListMessage.newBuilder() to construct. - private PlayerListMessage(Builder builder) { + private PlayerListMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); + } private PlayerListMessage(boolean noInit) {} - + private static final PlayerListMessage defaultInstance; public static PlayerListMessage getDefaultInstance() { return defaultInstance; } - + public PlayerListMessage getDefaultInstanceForType() { return defaultInstance; } - - public enum PlayerListNotification - implements com.google.protobuf.Internal.EnumLite { - playerListNew(0, 0), - playerListLeft(1, 1), - ; - - public static final int playerListNew_VALUE = 0; - public static final int playerListLeft_VALUE = 1; - - - public final int getNumber() { return value; } - - public static PlayerListNotification valueOf(int value) { - switch (value) { - case 0: return playerListNew; - case 1: return playerListLeft; - default: return null; - } - } - - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { - return internalValueMap; - } - private static com.google.protobuf.Internal.EnumLiteMap - internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public PlayerListNotification findValueByNumber(int number) { - return PlayerListNotification.valueOf(number); - } - }; - - private final int value; - - private PlayerListNotification(int index, int value) { - this.value = value; - } - - // @@protoc_insertion_point(enum_scope:PlayerListMessage.PlayerListNotification) - } - - private int bitField0_; - // required uint32 playerId = 1; - public static final int PLAYERID_FIELD_NUMBER = 1; - private int playerId_; - public boolean hasPlayerId() { - return ((bitField0_ & 0x00000001) == 0x00000001); - } - public int getPlayerId() { - return playerId_; - } - - // required .PlayerListMessage.PlayerListNotification playerListNotification = 2; - public static final int PLAYERLISTNOTIFICATION_FIELD_NUMBER = 2; - private de.pokerth.protocol.ProtoBuf.PlayerListMessage.PlayerListNotification playerListNotification_; - public boolean hasPlayerListNotification() { - return ((bitField0_ & 0x00000002) == 0x00000002); - } - public de.pokerth.protocol.ProtoBuf.PlayerListMessage.PlayerListNotification getPlayerListNotification() { - return playerListNotification_; - } - - private void initFields() { - playerId_ = 0; - playerListNotification_ = de.pokerth.protocol.ProtoBuf.PlayerListMessage.PlayerListNotification.playerListNew; - } - private byte memoizedIsInitialized = -1; - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; - - if (!hasPlayerId()) { - memoizedIsInitialized = 0; - return false; - } - if (!hasPlayerListNotification()) { - memoizedIsInitialized = 0; - return false; - } - memoizedIsInitialized = 1; - return true; - } - - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - getSerializedSize(); - if (((bitField0_ & 0x00000001) == 0x00000001)) { - output.writeUInt32(1, playerId_); - } - if (((bitField0_ & 0x00000002) == 0x00000002)) { - output.writeEnum(2, playerListNotification_.getNumber()); - } - } - - private int memoizedSerializedSize = -1; - public int getSerializedSize() { - int size = memoizedSerializedSize; - if (size != -1) return size; - - size = 0; - if (((bitField0_ & 0x00000001) == 0x00000001)) { - size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(1, playerId_); - } - if (((bitField0_ & 0x00000002) == 0x00000002)) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, playerListNotification_.getNumber()); - } - memoizedSerializedSize = size; - return size; - } - - private static final long serialVersionUID = 0L; - @java.lang.Override - protected java.lang.Object writeReplace() - throws java.io.ObjectStreamException { - return super.writeReplace(); - } - - public static de.pokerth.protocol.ProtoBuf.PlayerListMessage parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data).buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.PlayerListMessage parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data, extensionRegistry) - .buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.PlayerListMessage parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data).buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.PlayerListMessage parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data, extensionRegistry) - .buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.PlayerListMessage parseFrom(java.io.InputStream input) - throws java.io.IOException { - return newBuilder().mergeFrom(input).buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.PlayerListMessage parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return newBuilder().mergeFrom(input, extensionRegistry) - .buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.PlayerListMessage parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - Builder builder = newBuilder(); - if (builder.mergeDelimitedFrom(input)) { - return builder.buildParsed(); - } else { - return null; - } - } - public static de.pokerth.protocol.ProtoBuf.PlayerListMessage parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - Builder builder = newBuilder(); - if (builder.mergeDelimitedFrom(input, extensionRegistry)) { - return builder.buildParsed(); - } else { - return null; - } - } - public static de.pokerth.protocol.ProtoBuf.PlayerListMessage parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return newBuilder().mergeFrom(input).buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.PlayerListMessage parseFrom( + + private PlayerListMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return newBuilder().mergeFrom(input, extensionRegistry) - .buildParsed(); - } - - public static Builder newBuilder() { return Builder.create(); } - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.PlayerListMessage prototype) { - return newBuilder().mergeFrom(prototype); - } - public Builder toBuilder() { return newBuilder(this); } - - public static final class Builder extends - com.google.protobuf.GeneratedMessageLite.Builder< - de.pokerth.protocol.ProtoBuf.PlayerListMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.PlayerListMessageOrBuilder { - // Construct using de.pokerth.protocol.ProtoBuf.PlayerListMessage.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - } - private static Builder create() { - return new Builder(); - } - - public Builder clear() { - super.clear(); - playerId_ = 0; - bitField0_ = (bitField0_ & ~0x00000001); - playerListNotification_ = de.pokerth.protocol.ProtoBuf.PlayerListMessage.PlayerListNotification.playerListNew; - bitField0_ = (bitField0_ & ~0x00000002); - return this; - } - - public Builder clone() { - return create().mergeFrom(buildPartial()); - } - - public de.pokerth.protocol.ProtoBuf.PlayerListMessage getDefaultInstanceForType() { - return de.pokerth.protocol.ProtoBuf.PlayerListMessage.getDefaultInstance(); - } - - public de.pokerth.protocol.ProtoBuf.PlayerListMessage build() { - de.pokerth.protocol.ProtoBuf.PlayerListMessage result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - private de.pokerth.protocol.ProtoBuf.PlayerListMessage buildParsed() - throws com.google.protobuf.InvalidProtocolBufferException { - de.pokerth.protocol.ProtoBuf.PlayerListMessage result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException( - result).asInvalidProtocolBufferException(); - } - return result; - } - - public de.pokerth.protocol.ProtoBuf.PlayerListMessage buildPartial() { - de.pokerth.protocol.ProtoBuf.PlayerListMessage result = new de.pokerth.protocol.ProtoBuf.PlayerListMessage(this); - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) == 0x00000001)) { - to_bitField0_ |= 0x00000001; - } - result.playerId_ = playerId_; - if (((from_bitField0_ & 0x00000002) == 0x00000002)) { - to_bitField0_ |= 0x00000002; - } - result.playerListNotification_ = playerListNotification_; - result.bitField0_ = to_bitField0_; - return result; - } - - public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.PlayerListMessage other) { - if (other == de.pokerth.protocol.ProtoBuf.PlayerListMessage.getDefaultInstance()) return this; - if (other.hasPlayerId()) { - setPlayerId(other.getPlayerId()); - } - if (other.hasPlayerListNotification()) { - setPlayerListNotification(other.getPlayerListNotification()); - } - return this; - } - - public final boolean isInitialized() { - if (!hasPlayerId()) { - - return false; - } - if (!hasPlayerListNotification()) { - - return false; - } - return true; - } - - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - while (true) { + throws com.google.protobuf.InvalidProtocolBufferException { + initFields(); + int mutable_bitField0_ = 0; + try { + boolean done = false; + while (!done) { int tag = input.readTag(); switch (tag) { case 0: - - return this; + done = true; + break; default: { - if (!parseUnknownField(input, extensionRegistry, tag)) { - - return this; + if (!parseUnknownField(input, + extensionRegistry, tag)) { + done = true; } break; } @@ -7704,39 +9705,387 @@ public final class ProtoBuf { } } } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e.getMessage()).setUnfinishedMessage(this); + } finally { + makeExtensionsImmutable(); + } + } + public static com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + public PlayerListMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PlayerListMessage(input, extensionRegistry); + } + }; + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + /** + * Protobuf enum {@code PlayerListMessage.PlayerListNotification} + */ + public enum PlayerListNotification + implements com.google.protobuf.Internal.EnumLite { + /** + * playerListNew = 0; + */ + playerListNew(0, 0), + /** + * playerListLeft = 1; + */ + playerListLeft(1, 1), + ; + + /** + * playerListNew = 0; + */ + public static final int playerListNew_VALUE = 0; + /** + * playerListLeft = 1; + */ + public static final int playerListLeft_VALUE = 1; + + + public final int getNumber() { return value; } + + public static PlayerListNotification valueOf(int value) { + switch (value) { + case 0: return playerListNew; + case 1: return playerListLeft; + default: return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { + return internalValueMap; + } + private static com.google.protobuf.Internal.EnumLiteMap + internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public PlayerListNotification findValueByNumber(int number) { + return PlayerListNotification.valueOf(number); + } + }; + + private final int value; + + private PlayerListNotification(int index, int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:PlayerListMessage.PlayerListNotification) + } + + private int bitField0_; + // required uint32 playerId = 1; + public static final int PLAYERID_FIELD_NUMBER = 1; + private int playerId_; + /** + * required uint32 playerId = 1; + */ + public boolean hasPlayerId() { + return ((bitField0_ & 0x00000001) == 0x00000001); + } + /** + * required uint32 playerId = 1; + */ + public int getPlayerId() { + return playerId_; + } + + // required .PlayerListMessage.PlayerListNotification playerListNotification = 2; + public static final int PLAYERLISTNOTIFICATION_FIELD_NUMBER = 2; + private de.pokerth.protocol.ProtoBuf.PlayerListMessage.PlayerListNotification playerListNotification_; + /** + * required .PlayerListMessage.PlayerListNotification playerListNotification = 2; + */ + public boolean hasPlayerListNotification() { + return ((bitField0_ & 0x00000002) == 0x00000002); + } + /** + * required .PlayerListMessage.PlayerListNotification playerListNotification = 2; + */ + public de.pokerth.protocol.ProtoBuf.PlayerListMessage.PlayerListNotification getPlayerListNotification() { + return playerListNotification_; + } + + private void initFields() { + playerId_ = 0; + playerListNotification_ = de.pokerth.protocol.ProtoBuf.PlayerListMessage.PlayerListNotification.playerListNew; + } + private byte memoizedIsInitialized = -1; + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized != -1) return isInitialized == 1; + + if (!hasPlayerId()) { + memoizedIsInitialized = 0; + return false; + } + if (!hasPlayerListNotification()) { + memoizedIsInitialized = 0; + return false; + } + memoizedIsInitialized = 1; + return true; + } + + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + getSerializedSize(); + if (((bitField0_ & 0x00000001) == 0x00000001)) { + output.writeUInt32(1, playerId_); + } + if (((bitField0_ & 0x00000002) == 0x00000002)) { + output.writeEnum(2, playerListNotification_.getNumber()); + } + } + + private int memoizedSerializedSize = -1; + public int getSerializedSize() { + int size = memoizedSerializedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) == 0x00000001)) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(1, playerId_); + } + if (((bitField0_ & 0x00000002) == 0x00000002)) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, playerListNotification_.getNumber()); + } + memoizedSerializedSize = size; + return size; + } + + private static final long serialVersionUID = 0L; + @java.lang.Override + protected java.lang.Object writeReplace() + throws java.io.ObjectStreamException { + return super.writeReplace(); + } + + public static de.pokerth.protocol.ProtoBuf.PlayerListMessage parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static de.pokerth.protocol.ProtoBuf.PlayerListMessage parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static de.pokerth.protocol.ProtoBuf.PlayerListMessage parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static de.pokerth.protocol.ProtoBuf.PlayerListMessage parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static de.pokerth.protocol.ProtoBuf.PlayerListMessage parseFrom(java.io.InputStream input) + throws java.io.IOException { + return PARSER.parseFrom(input); + } + public static de.pokerth.protocol.ProtoBuf.PlayerListMessage parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseFrom(input, extensionRegistry); + } + public static de.pokerth.protocol.ProtoBuf.PlayerListMessage parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return PARSER.parseDelimitedFrom(input); + } + public static de.pokerth.protocol.ProtoBuf.PlayerListMessage parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseDelimitedFrom(input, extensionRegistry); + } + public static de.pokerth.protocol.ProtoBuf.PlayerListMessage parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return PARSER.parseFrom(input); + } + public static de.pokerth.protocol.ProtoBuf.PlayerListMessage parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseFrom(input, extensionRegistry); + } + + public static Builder newBuilder() { return Builder.create(); } + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.PlayerListMessage prototype) { + return newBuilder().mergeFrom(prototype); + } + public Builder toBuilder() { return newBuilder(this); } + + /** + * Protobuf type {@code PlayerListMessage} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageLite.Builder< + de.pokerth.protocol.ProtoBuf.PlayerListMessage, Builder> + implements de.pokerth.protocol.ProtoBuf.PlayerListMessageOrBuilder { + // Construct using de.pokerth.protocol.ProtoBuf.PlayerListMessage.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + } + private static Builder create() { + return new Builder(); + } + + public Builder clear() { + super.clear(); + playerId_ = 0; + bitField0_ = (bitField0_ & ~0x00000001); + playerListNotification_ = de.pokerth.protocol.ProtoBuf.PlayerListMessage.PlayerListNotification.playerListNew; + bitField0_ = (bitField0_ & ~0x00000002); + return this; + } + + public Builder clone() { + return create().mergeFrom(buildPartial()); + } + + public de.pokerth.protocol.ProtoBuf.PlayerListMessage getDefaultInstanceForType() { + return de.pokerth.protocol.ProtoBuf.PlayerListMessage.getDefaultInstance(); + } + + public de.pokerth.protocol.ProtoBuf.PlayerListMessage build() { + de.pokerth.protocol.ProtoBuf.PlayerListMessage result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + public de.pokerth.protocol.ProtoBuf.PlayerListMessage buildPartial() { + de.pokerth.protocol.ProtoBuf.PlayerListMessage result = new de.pokerth.protocol.ProtoBuf.PlayerListMessage(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) == 0x00000001)) { + to_bitField0_ |= 0x00000001; + } + result.playerId_ = playerId_; + if (((from_bitField0_ & 0x00000002) == 0x00000002)) { + to_bitField0_ |= 0x00000002; + } + result.playerListNotification_ = playerListNotification_; + result.bitField0_ = to_bitField0_; + return result; + } + + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.PlayerListMessage other) { + if (other == de.pokerth.protocol.ProtoBuf.PlayerListMessage.getDefaultInstance()) return this; + if (other.hasPlayerId()) { + setPlayerId(other.getPlayerId()); + } + if (other.hasPlayerListNotification()) { + setPlayerListNotification(other.getPlayerListNotification()); + } + return this; + } + + public final boolean isInitialized() { + if (!hasPlayerId()) { + + return false; + } + if (!hasPlayerListNotification()) { + + return false; + } + return true; + } + + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + de.pokerth.protocol.ProtoBuf.PlayerListMessage parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (de.pokerth.protocol.ProtoBuf.PlayerListMessage) e.getUnfinishedMessage(); + throw e; + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; } - private int bitField0_; - + // required uint32 playerId = 1; private int playerId_ ; + /** + * required uint32 playerId = 1; + */ public boolean hasPlayerId() { return ((bitField0_ & 0x00000001) == 0x00000001); } + /** + * required uint32 playerId = 1; + */ public int getPlayerId() { return playerId_; } + /** + * required uint32 playerId = 1; + */ public Builder setPlayerId(int value) { bitField0_ |= 0x00000001; playerId_ = value; return this; } + /** + * required uint32 playerId = 1; + */ public Builder clearPlayerId() { bitField0_ = (bitField0_ & ~0x00000001); playerId_ = 0; return this; } - + // required .PlayerListMessage.PlayerListNotification playerListNotification = 2; private de.pokerth.protocol.ProtoBuf.PlayerListMessage.PlayerListNotification playerListNotification_ = de.pokerth.protocol.ProtoBuf.PlayerListMessage.PlayerListNotification.playerListNew; + /** + * required .PlayerListMessage.PlayerListNotification playerListNotification = 2; + */ public boolean hasPlayerListNotification() { return ((bitField0_ & 0x00000002) == 0x00000002); } + /** + * required .PlayerListMessage.PlayerListNotification playerListNotification = 2; + */ public de.pokerth.protocol.ProtoBuf.PlayerListMessage.PlayerListNotification getPlayerListNotification() { return playerListNotification_; } + /** + * required .PlayerListMessage.PlayerListNotification playerListNotification = 2; + */ public Builder setPlayerListNotification(de.pokerth.protocol.ProtoBuf.PlayerListMessage.PlayerListNotification value) { if (value == null) { throw new NullPointerException(); @@ -7746,141 +10095,334 @@ public final class ProtoBuf { return this; } + /** + * required .PlayerListMessage.PlayerListNotification playerListNotification = 2; + */ public Builder clearPlayerListNotification() { bitField0_ = (bitField0_ & ~0x00000002); playerListNotification_ = de.pokerth.protocol.ProtoBuf.PlayerListMessage.PlayerListNotification.playerListNew; return this; } - + // @@protoc_insertion_point(builder_scope:PlayerListMessage) } - + static { defaultInstance = new PlayerListMessage(true); defaultInstance.initFields(); } - + // @@protoc_insertion_point(class_scope:PlayerListMessage) } - + public interface GameListNewMessageOrBuilder extends com.google.protobuf.MessageLiteOrBuilder { - + // required uint32 gameId = 1; + /** + * required uint32 gameId = 1; + */ boolean hasGameId(); + /** + * required uint32 gameId = 1; + */ int getGameId(); - + // required .NetGameMode gameMode = 2; + /** + * required .NetGameMode gameMode = 2; + */ boolean hasGameMode(); + /** + * required .NetGameMode gameMode = 2; + */ de.pokerth.protocol.ProtoBuf.NetGameMode getGameMode(); - + // required bool isPrivate = 3; + /** + * required bool isPrivate = 3; + */ boolean hasIsPrivate(); + /** + * required bool isPrivate = 3; + */ boolean getIsPrivate(); - + // repeated uint32 playerIds = 4 [packed = true]; + /** + * repeated uint32 playerIds = 4 [packed = true]; + */ java.util.List getPlayerIdsList(); + /** + * repeated uint32 playerIds = 4 [packed = true]; + */ int getPlayerIdsCount(); + /** + * repeated uint32 playerIds = 4 [packed = true]; + */ int getPlayerIds(int index); - + // required uint32 adminPlayerId = 5; + /** + * required uint32 adminPlayerId = 5; + */ boolean hasAdminPlayerId(); + /** + * required uint32 adminPlayerId = 5; + */ int getAdminPlayerId(); - + // required .NetGameInfo gameInfo = 6; + /** + * required .NetGameInfo gameInfo = 6; + */ boolean hasGameInfo(); + /** + * required .NetGameInfo gameInfo = 6; + */ de.pokerth.protocol.ProtoBuf.NetGameInfo getGameInfo(); } + /** + * Protobuf type {@code GameListNewMessage} + */ public static final class GameListNewMessage extends com.google.protobuf.GeneratedMessageLite implements GameListNewMessageOrBuilder { // Use GameListNewMessage.newBuilder() to construct. - private GameListNewMessage(Builder builder) { + private GameListNewMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); + } private GameListNewMessage(boolean noInit) {} - + private static final GameListNewMessage defaultInstance; public static GameListNewMessage getDefaultInstance() { return defaultInstance; } - + public GameListNewMessage getDefaultInstanceForType() { return defaultInstance; } - + + private GameListNewMessage( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + initFields(); + int mutable_bitField0_ = 0; + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: { + if (!parseUnknownField(input, + extensionRegistry, tag)) { + done = true; + } + break; + } + case 8: { + bitField0_ |= 0x00000001; + gameId_ = input.readUInt32(); + break; + } + case 16: { + int rawValue = input.readEnum(); + de.pokerth.protocol.ProtoBuf.NetGameMode value = de.pokerth.protocol.ProtoBuf.NetGameMode.valueOf(rawValue); + if (value != null) { + bitField0_ |= 0x00000002; + gameMode_ = value; + } + break; + } + case 24: { + bitField0_ |= 0x00000004; + isPrivate_ = input.readBool(); + break; + } + case 32: { + if (!((mutable_bitField0_ & 0x00000008) == 0x00000008)) { + playerIds_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000008; + } + playerIds_.add(input.readUInt32()); + break; + } + case 34: { + int length = input.readRawVarint32(); + int limit = input.pushLimit(length); + if (!((mutable_bitField0_ & 0x00000008) == 0x00000008) && input.getBytesUntilLimit() > 0) { + playerIds_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000008; + } + while (input.getBytesUntilLimit() > 0) { + playerIds_.add(input.readUInt32()); + } + input.popLimit(limit); + break; + } + case 40: { + bitField0_ |= 0x00000008; + adminPlayerId_ = input.readUInt32(); + break; + } + case 50: { + de.pokerth.protocol.ProtoBuf.NetGameInfo.Builder subBuilder = null; + if (((bitField0_ & 0x00000010) == 0x00000010)) { + subBuilder = gameInfo_.toBuilder(); + } + gameInfo_ = input.readMessage(de.pokerth.protocol.ProtoBuf.NetGameInfo.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(gameInfo_); + gameInfo_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x00000010; + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e.getMessage()).setUnfinishedMessage(this); + } finally { + if (((mutable_bitField0_ & 0x00000008) == 0x00000008)) { + playerIds_ = java.util.Collections.unmodifiableList(playerIds_); + } + makeExtensionsImmutable(); + } + } + public static com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + public GameListNewMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GameListNewMessage(input, extensionRegistry); + } + }; + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + private int bitField0_; // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; + /** + * required uint32 gameId = 1; + */ public boolean hasGameId() { return ((bitField0_ & 0x00000001) == 0x00000001); } + /** + * required uint32 gameId = 1; + */ public int getGameId() { return gameId_; } - + // required .NetGameMode gameMode = 2; public static final int GAMEMODE_FIELD_NUMBER = 2; private de.pokerth.protocol.ProtoBuf.NetGameMode gameMode_; + /** + * required .NetGameMode gameMode = 2; + */ public boolean hasGameMode() { return ((bitField0_ & 0x00000002) == 0x00000002); } + /** + * required .NetGameMode gameMode = 2; + */ public de.pokerth.protocol.ProtoBuf.NetGameMode getGameMode() { return gameMode_; } - + // required bool isPrivate = 3; public static final int ISPRIVATE_FIELD_NUMBER = 3; private boolean isPrivate_; + /** + * required bool isPrivate = 3; + */ public boolean hasIsPrivate() { return ((bitField0_ & 0x00000004) == 0x00000004); } + /** + * required bool isPrivate = 3; + */ public boolean getIsPrivate() { return isPrivate_; } - + // repeated uint32 playerIds = 4 [packed = true]; public static final int PLAYERIDS_FIELD_NUMBER = 4; private java.util.List playerIds_; + /** + * repeated uint32 playerIds = 4 [packed = true]; + */ public java.util.List getPlayerIdsList() { return playerIds_; } + /** + * repeated uint32 playerIds = 4 [packed = true]; + */ public int getPlayerIdsCount() { return playerIds_.size(); } + /** + * repeated uint32 playerIds = 4 [packed = true]; + */ public int getPlayerIds(int index) { return playerIds_.get(index); } private int playerIdsMemoizedSerializedSize = -1; - + // required uint32 adminPlayerId = 5; public static final int ADMINPLAYERID_FIELD_NUMBER = 5; private int adminPlayerId_; + /** + * required uint32 adminPlayerId = 5; + */ public boolean hasAdminPlayerId() { return ((bitField0_ & 0x00000008) == 0x00000008); } + /** + * required uint32 adminPlayerId = 5; + */ public int getAdminPlayerId() { return adminPlayerId_; } - + // required .NetGameInfo gameInfo = 6; public static final int GAMEINFO_FIELD_NUMBER = 6; private de.pokerth.protocol.ProtoBuf.NetGameInfo gameInfo_; + /** + * required .NetGameInfo gameInfo = 6; + */ public boolean hasGameInfo() { return ((bitField0_ & 0x00000010) == 0x00000010); } + /** + * required .NetGameInfo gameInfo = 6; + */ public de.pokerth.protocol.ProtoBuf.NetGameInfo getGameInfo() { return gameInfo_; } - + private void initFields() { gameId_ = 0; gameMode_ = de.pokerth.protocol.ProtoBuf.NetGameMode.netGameCreated; isPrivate_ = false; - playerIds_ = java.util.Collections.emptyList();; + playerIds_ = java.util.Collections.emptyList(); adminPlayerId_ = 0; gameInfo_ = de.pokerth.protocol.ProtoBuf.NetGameInfo.getDefaultInstance(); } @@ -7888,7 +10430,7 @@ public final class ProtoBuf { public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; - + if (!hasGameId()) { memoizedIsInitialized = 0; return false; @@ -7916,7 +10458,7 @@ public final class ProtoBuf { memoizedIsInitialized = 1; return true; } - + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); @@ -7943,12 +10485,12 @@ public final class ProtoBuf { output.writeMessage(6, gameInfo_); } } - + private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; - + size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream @@ -7987,88 +10529,77 @@ public final class ProtoBuf { memoizedSerializedSize = size; return size; } - + private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } - + public static de.pokerth.protocol.ProtoBuf.GameListNewMessage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data).buildParsed(); + return PARSER.parseFrom(data); } public static de.pokerth.protocol.ProtoBuf.GameListNewMessage parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(data, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.GameListNewMessage parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data).buildParsed(); + return PARSER.parseFrom(data); } public static de.pokerth.protocol.ProtoBuf.GameListNewMessage parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(data, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.GameListNewMessage parseFrom(java.io.InputStream input) throws java.io.IOException { - return newBuilder().mergeFrom(input).buildParsed(); + return PARSER.parseFrom(input); } public static de.pokerth.protocol.ProtoBuf.GameListNewMessage parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return newBuilder().mergeFrom(input, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.GameListNewMessage parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - Builder builder = newBuilder(); - if (builder.mergeDelimitedFrom(input)) { - return builder.buildParsed(); - } else { - return null; - } + return PARSER.parseDelimitedFrom(input); } public static de.pokerth.protocol.ProtoBuf.GameListNewMessage parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - Builder builder = newBuilder(); - if (builder.mergeDelimitedFrom(input, extensionRegistry)) { - return builder.buildParsed(); - } else { - return null; - } + return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.GameListNewMessage parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return newBuilder().mergeFrom(input).buildParsed(); + return PARSER.parseFrom(input); } public static de.pokerth.protocol.ProtoBuf.GameListNewMessage parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return newBuilder().mergeFrom(input, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(input, extensionRegistry); } - + public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.GameListNewMessage prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } - + + /** + * Protobuf type {@code GameListNewMessage} + */ public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.GameListNewMessage, Builder> @@ -8077,13 +10608,13 @@ public final class ProtoBuf { private Builder() { maybeForceBuilderInitialization(); } - + private void maybeForceBuilderInitialization() { } private static Builder create() { return new Builder(); } - + public Builder clear() { super.clear(); gameId_ = 0; @@ -8092,7 +10623,7 @@ public final class ProtoBuf { bitField0_ = (bitField0_ & ~0x00000002); isPrivate_ = false; bitField0_ = (bitField0_ & ~0x00000004); - playerIds_ = java.util.Collections.emptyList();; + playerIds_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000008); adminPlayerId_ = 0; bitField0_ = (bitField0_ & ~0x00000010); @@ -8100,15 +10631,15 @@ public final class ProtoBuf { bitField0_ = (bitField0_ & ~0x00000020); return this; } - + public Builder clone() { return create().mergeFrom(buildPartial()); } - + public de.pokerth.protocol.ProtoBuf.GameListNewMessage getDefaultInstanceForType() { return de.pokerth.protocol.ProtoBuf.GameListNewMessage.getDefaultInstance(); } - + public de.pokerth.protocol.ProtoBuf.GameListNewMessage build() { de.pokerth.protocol.ProtoBuf.GameListNewMessage result = buildPartial(); if (!result.isInitialized()) { @@ -8116,17 +10647,7 @@ public final class ProtoBuf { } return result; } - - private de.pokerth.protocol.ProtoBuf.GameListNewMessage buildParsed() - throws com.google.protobuf.InvalidProtocolBufferException { - de.pokerth.protocol.ProtoBuf.GameListNewMessage result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException( - result).asInvalidProtocolBufferException(); - } - return result; - } - + public de.pokerth.protocol.ProtoBuf.GameListNewMessage buildPartial() { de.pokerth.protocol.ProtoBuf.GameListNewMessage result = new de.pokerth.protocol.ProtoBuf.GameListNewMessage(this); int from_bitField0_ = bitField0_; @@ -8159,7 +10680,7 @@ public final class ProtoBuf { result.bitField0_ = to_bitField0_; return result; } - + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.GameListNewMessage other) { if (other == de.pokerth.protocol.ProtoBuf.GameListNewMessage.getDefaultInstance()) return this; if (other.hasGameId()) { @@ -8189,7 +10710,7 @@ public final class ProtoBuf { } return this; } - + public final boolean isInitialized() { if (!hasGameId()) { @@ -8217,21 +10738,362 @@ public final class ProtoBuf { } return true; } - + public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - while (true) { + de.pokerth.protocol.ProtoBuf.GameListNewMessage parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (de.pokerth.protocol.ProtoBuf.GameListNewMessage) e.getUnfinishedMessage(); + throw e; + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int bitField0_; + + // required uint32 gameId = 1; + private int gameId_ ; + /** + * required uint32 gameId = 1; + */ + public boolean hasGameId() { + return ((bitField0_ & 0x00000001) == 0x00000001); + } + /** + * required uint32 gameId = 1; + */ + public int getGameId() { + return gameId_; + } + /** + * required uint32 gameId = 1; + */ + public Builder setGameId(int value) { + bitField0_ |= 0x00000001; + gameId_ = value; + + return this; + } + /** + * required uint32 gameId = 1; + */ + public Builder clearGameId() { + bitField0_ = (bitField0_ & ~0x00000001); + gameId_ = 0; + + return this; + } + + // required .NetGameMode gameMode = 2; + private de.pokerth.protocol.ProtoBuf.NetGameMode gameMode_ = de.pokerth.protocol.ProtoBuf.NetGameMode.netGameCreated; + /** + * required .NetGameMode gameMode = 2; + */ + public boolean hasGameMode() { + return ((bitField0_ & 0x00000002) == 0x00000002); + } + /** + * required .NetGameMode gameMode = 2; + */ + public de.pokerth.protocol.ProtoBuf.NetGameMode getGameMode() { + return gameMode_; + } + /** + * required .NetGameMode gameMode = 2; + */ + public Builder setGameMode(de.pokerth.protocol.ProtoBuf.NetGameMode value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000002; + gameMode_ = value; + + return this; + } + /** + * required .NetGameMode gameMode = 2; + */ + public Builder clearGameMode() { + bitField0_ = (bitField0_ & ~0x00000002); + gameMode_ = de.pokerth.protocol.ProtoBuf.NetGameMode.netGameCreated; + + return this; + } + + // required bool isPrivate = 3; + private boolean isPrivate_ ; + /** + * required bool isPrivate = 3; + */ + public boolean hasIsPrivate() { + return ((bitField0_ & 0x00000004) == 0x00000004); + } + /** + * required bool isPrivate = 3; + */ + public boolean getIsPrivate() { + return isPrivate_; + } + /** + * required bool isPrivate = 3; + */ + public Builder setIsPrivate(boolean value) { + bitField0_ |= 0x00000004; + isPrivate_ = value; + + return this; + } + /** + * required bool isPrivate = 3; + */ + public Builder clearIsPrivate() { + bitField0_ = (bitField0_ & ~0x00000004); + isPrivate_ = false; + + return this; + } + + // repeated uint32 playerIds = 4 [packed = true]; + private java.util.List playerIds_ = java.util.Collections.emptyList(); + private void ensurePlayerIdsIsMutable() { + if (!((bitField0_ & 0x00000008) == 0x00000008)) { + playerIds_ = new java.util.ArrayList(playerIds_); + bitField0_ |= 0x00000008; + } + } + /** + * repeated uint32 playerIds = 4 [packed = true]; + */ + public java.util.List + getPlayerIdsList() { + return java.util.Collections.unmodifiableList(playerIds_); + } + /** + * repeated uint32 playerIds = 4 [packed = true]; + */ + public int getPlayerIdsCount() { + return playerIds_.size(); + } + /** + * repeated uint32 playerIds = 4 [packed = true]; + */ + public int getPlayerIds(int index) { + return playerIds_.get(index); + } + /** + * repeated uint32 playerIds = 4 [packed = true]; + */ + public Builder setPlayerIds( + int index, int value) { + ensurePlayerIdsIsMutable(); + playerIds_.set(index, value); + + return this; + } + /** + * repeated uint32 playerIds = 4 [packed = true]; + */ + public Builder addPlayerIds(int value) { + ensurePlayerIdsIsMutable(); + playerIds_.add(value); + + return this; + } + /** + * repeated uint32 playerIds = 4 [packed = true]; + */ + public Builder addAllPlayerIds( + java.lang.Iterable values) { + ensurePlayerIdsIsMutable(); + super.addAll(values, playerIds_); + + return this; + } + /** + * repeated uint32 playerIds = 4 [packed = true]; + */ + public Builder clearPlayerIds() { + playerIds_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000008); + + return this; + } + + // required uint32 adminPlayerId = 5; + private int adminPlayerId_ ; + /** + * required uint32 adminPlayerId = 5; + */ + public boolean hasAdminPlayerId() { + return ((bitField0_ & 0x00000010) == 0x00000010); + } + /** + * required uint32 adminPlayerId = 5; + */ + public int getAdminPlayerId() { + return adminPlayerId_; + } + /** + * required uint32 adminPlayerId = 5; + */ + public Builder setAdminPlayerId(int value) { + bitField0_ |= 0x00000010; + adminPlayerId_ = value; + + return this; + } + /** + * required uint32 adminPlayerId = 5; + */ + public Builder clearAdminPlayerId() { + bitField0_ = (bitField0_ & ~0x00000010); + adminPlayerId_ = 0; + + return this; + } + + // required .NetGameInfo gameInfo = 6; + private de.pokerth.protocol.ProtoBuf.NetGameInfo gameInfo_ = de.pokerth.protocol.ProtoBuf.NetGameInfo.getDefaultInstance(); + /** + * required .NetGameInfo gameInfo = 6; + */ + public boolean hasGameInfo() { + return ((bitField0_ & 0x00000020) == 0x00000020); + } + /** + * required .NetGameInfo gameInfo = 6; + */ + public de.pokerth.protocol.ProtoBuf.NetGameInfo getGameInfo() { + return gameInfo_; + } + /** + * required .NetGameInfo gameInfo = 6; + */ + public Builder setGameInfo(de.pokerth.protocol.ProtoBuf.NetGameInfo value) { + if (value == null) { + throw new NullPointerException(); + } + gameInfo_ = value; + + bitField0_ |= 0x00000020; + return this; + } + /** + * required .NetGameInfo gameInfo = 6; + */ + public Builder setGameInfo( + de.pokerth.protocol.ProtoBuf.NetGameInfo.Builder builderForValue) { + gameInfo_ = builderForValue.build(); + + bitField0_ |= 0x00000020; + return this; + } + /** + * required .NetGameInfo gameInfo = 6; + */ + public Builder mergeGameInfo(de.pokerth.protocol.ProtoBuf.NetGameInfo value) { + if (((bitField0_ & 0x00000020) == 0x00000020) && + gameInfo_ != de.pokerth.protocol.ProtoBuf.NetGameInfo.getDefaultInstance()) { + gameInfo_ = + de.pokerth.protocol.ProtoBuf.NetGameInfo.newBuilder(gameInfo_).mergeFrom(value).buildPartial(); + } else { + gameInfo_ = value; + } + + bitField0_ |= 0x00000020; + return this; + } + /** + * required .NetGameInfo gameInfo = 6; + */ + public Builder clearGameInfo() { + gameInfo_ = de.pokerth.protocol.ProtoBuf.NetGameInfo.getDefaultInstance(); + + bitField0_ = (bitField0_ & ~0x00000020); + return this; + } + + // @@protoc_insertion_point(builder_scope:GameListNewMessage) + } + + static { + defaultInstance = new GameListNewMessage(true); + defaultInstance.initFields(); + } + + // @@protoc_insertion_point(class_scope:GameListNewMessage) + } + + public interface GameListUpdateMessageOrBuilder + extends com.google.protobuf.MessageLiteOrBuilder { + + // required uint32 gameId = 1; + /** + * required uint32 gameId = 1; + */ + boolean hasGameId(); + /** + * required uint32 gameId = 1; + */ + int getGameId(); + + // required .NetGameMode gameMode = 2; + /** + * required .NetGameMode gameMode = 2; + */ + boolean hasGameMode(); + /** + * required .NetGameMode gameMode = 2; + */ + de.pokerth.protocol.ProtoBuf.NetGameMode getGameMode(); + } + /** + * Protobuf type {@code GameListUpdateMessage} + */ + public static final class GameListUpdateMessage extends + com.google.protobuf.GeneratedMessageLite + implements GameListUpdateMessageOrBuilder { + // Use GameListUpdateMessage.newBuilder() to construct. + private GameListUpdateMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { + super(builder); + + } + private GameListUpdateMessage(boolean noInit) {} + + private static final GameListUpdateMessage defaultInstance; + public static GameListUpdateMessage getDefaultInstance() { + return defaultInstance; + } + + public GameListUpdateMessage getDefaultInstanceForType() { + return defaultInstance; + } + + private GameListUpdateMessage( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + initFields(); + int mutable_bitField0_ = 0; + try { + boolean done = false; + while (!done) { int tag = input.readTag(); switch (tag) { case 0: - - return this; + done = true; + break; default: { - if (!parseUnknownField(input, extensionRegistry, tag)) { - - return this; + if (!parseUnknownField(input, + extensionRegistry, tag)) { + done = true; } break; } @@ -8249,281 +11111,65 @@ public final class ProtoBuf { } break; } - case 24: { - bitField0_ |= 0x00000004; - isPrivate_ = input.readBool(); - break; - } - case 32: { - ensurePlayerIdsIsMutable(); - playerIds_.add(input.readUInt32()); - break; - } - case 34: { - int length = input.readRawVarint32(); - int limit = input.pushLimit(length); - while (input.getBytesUntilLimit() > 0) { - addPlayerIds(input.readUInt32()); - } - input.popLimit(limit); - break; - } - case 40: { - bitField0_ |= 0x00000010; - adminPlayerId_ = input.readUInt32(); - break; - } - case 50: { - de.pokerth.protocol.ProtoBuf.NetGameInfo.Builder subBuilder = de.pokerth.protocol.ProtoBuf.NetGameInfo.newBuilder(); - if (hasGameInfo()) { - subBuilder.mergeFrom(getGameInfo()); - } - input.readMessage(subBuilder, extensionRegistry); - setGameInfo(subBuilder.buildPartial()); - break; - } } } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e.getMessage()).setUnfinishedMessage(this); + } finally { + makeExtensionsImmutable(); } - - private int bitField0_; - - // required uint32 gameId = 1; - private int gameId_ ; - public boolean hasGameId() { - return ((bitField0_ & 0x00000001) == 0x00000001); - } - public int getGameId() { - return gameId_; - } - public Builder setGameId(int value) { - bitField0_ |= 0x00000001; - gameId_ = value; - - return this; - } - public Builder clearGameId() { - bitField0_ = (bitField0_ & ~0x00000001); - gameId_ = 0; - - return this; - } - - // required .NetGameMode gameMode = 2; - private de.pokerth.protocol.ProtoBuf.NetGameMode gameMode_ = de.pokerth.protocol.ProtoBuf.NetGameMode.netGameCreated; - public boolean hasGameMode() { - return ((bitField0_ & 0x00000002) == 0x00000002); - } - public de.pokerth.protocol.ProtoBuf.NetGameMode getGameMode() { - return gameMode_; - } - public Builder setGameMode(de.pokerth.protocol.ProtoBuf.NetGameMode value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000002; - gameMode_ = value; - - return this; - } - public Builder clearGameMode() { - bitField0_ = (bitField0_ & ~0x00000002); - gameMode_ = de.pokerth.protocol.ProtoBuf.NetGameMode.netGameCreated; - - return this; - } - - // required bool isPrivate = 3; - private boolean isPrivate_ ; - public boolean hasIsPrivate() { - return ((bitField0_ & 0x00000004) == 0x00000004); - } - public boolean getIsPrivate() { - return isPrivate_; - } - public Builder setIsPrivate(boolean value) { - bitField0_ |= 0x00000004; - isPrivate_ = value; - - return this; - } - public Builder clearIsPrivate() { - bitField0_ = (bitField0_ & ~0x00000004); - isPrivate_ = false; - - return this; - } - - // repeated uint32 playerIds = 4 [packed = true]; - private java.util.List playerIds_ = java.util.Collections.emptyList();; - private void ensurePlayerIdsIsMutable() { - if (!((bitField0_ & 0x00000008) == 0x00000008)) { - playerIds_ = new java.util.ArrayList(playerIds_); - bitField0_ |= 0x00000008; - } - } - public java.util.List - getPlayerIdsList() { - return java.util.Collections.unmodifiableList(playerIds_); - } - public int getPlayerIdsCount() { - return playerIds_.size(); - } - public int getPlayerIds(int index) { - return playerIds_.get(index); - } - public Builder setPlayerIds( - int index, int value) { - ensurePlayerIdsIsMutable(); - playerIds_.set(index, value); - - return this; - } - public Builder addPlayerIds(int value) { - ensurePlayerIdsIsMutable(); - playerIds_.add(value); - - return this; - } - public Builder addAllPlayerIds( - java.lang.Iterable values) { - ensurePlayerIdsIsMutable(); - super.addAll(values, playerIds_); - - return this; - } - public Builder clearPlayerIds() { - playerIds_ = java.util.Collections.emptyList();; - bitField0_ = (bitField0_ & ~0x00000008); - - return this; - } - - // required uint32 adminPlayerId = 5; - private int adminPlayerId_ ; - public boolean hasAdminPlayerId() { - return ((bitField0_ & 0x00000010) == 0x00000010); - } - public int getAdminPlayerId() { - return adminPlayerId_; - } - public Builder setAdminPlayerId(int value) { - bitField0_ |= 0x00000010; - adminPlayerId_ = value; - - return this; - } - public Builder clearAdminPlayerId() { - bitField0_ = (bitField0_ & ~0x00000010); - adminPlayerId_ = 0; - - return this; - } - - // required .NetGameInfo gameInfo = 6; - private de.pokerth.protocol.ProtoBuf.NetGameInfo gameInfo_ = de.pokerth.protocol.ProtoBuf.NetGameInfo.getDefaultInstance(); - public boolean hasGameInfo() { - return ((bitField0_ & 0x00000020) == 0x00000020); - } - public de.pokerth.protocol.ProtoBuf.NetGameInfo getGameInfo() { - return gameInfo_; - } - public Builder setGameInfo(de.pokerth.protocol.ProtoBuf.NetGameInfo value) { - if (value == null) { - throw new NullPointerException(); - } - gameInfo_ = value; - - bitField0_ |= 0x00000020; - return this; - } - public Builder setGameInfo( - de.pokerth.protocol.ProtoBuf.NetGameInfo.Builder builderForValue) { - gameInfo_ = builderForValue.build(); - - bitField0_ |= 0x00000020; - return this; - } - public Builder mergeGameInfo(de.pokerth.protocol.ProtoBuf.NetGameInfo value) { - if (((bitField0_ & 0x00000020) == 0x00000020) && - gameInfo_ != de.pokerth.protocol.ProtoBuf.NetGameInfo.getDefaultInstance()) { - gameInfo_ = - de.pokerth.protocol.ProtoBuf.NetGameInfo.newBuilder(gameInfo_).mergeFrom(value).buildPartial(); - } else { - gameInfo_ = value; - } - - bitField0_ |= 0x00000020; - return this; - } - public Builder clearGameInfo() { - gameInfo_ = de.pokerth.protocol.ProtoBuf.NetGameInfo.getDefaultInstance(); - - bitField0_ = (bitField0_ & ~0x00000020); - return this; - } - - // @@protoc_insertion_point(builder_scope:GameListNewMessage) } - - static { - defaultInstance = new GameListNewMessage(true); - defaultInstance.initFields(); + public static com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + public GameListUpdateMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GameListUpdateMessage(input, extensionRegistry); + } + }; + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; } - - // @@protoc_insertion_point(class_scope:GameListNewMessage) - } - - public interface GameListUpdateMessageOrBuilder - extends com.google.protobuf.MessageLiteOrBuilder { - - // required uint32 gameId = 1; - boolean hasGameId(); - int getGameId(); - - // required .NetGameMode gameMode = 2; - boolean hasGameMode(); - de.pokerth.protocol.ProtoBuf.NetGameMode getGameMode(); - } - public static final class GameListUpdateMessage extends - com.google.protobuf.GeneratedMessageLite - implements GameListUpdateMessageOrBuilder { - // Use GameListUpdateMessage.newBuilder() to construct. - private GameListUpdateMessage(Builder builder) { - super(builder); - } - private GameListUpdateMessage(boolean noInit) {} - - private static final GameListUpdateMessage defaultInstance; - public static GameListUpdateMessage getDefaultInstance() { - return defaultInstance; - } - - public GameListUpdateMessage getDefaultInstanceForType() { - return defaultInstance; - } - + private int bitField0_; // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; + /** + * required uint32 gameId = 1; + */ public boolean hasGameId() { return ((bitField0_ & 0x00000001) == 0x00000001); } + /** + * required uint32 gameId = 1; + */ public int getGameId() { return gameId_; } - + // required .NetGameMode gameMode = 2; public static final int GAMEMODE_FIELD_NUMBER = 2; private de.pokerth.protocol.ProtoBuf.NetGameMode gameMode_; + /** + * required .NetGameMode gameMode = 2; + */ public boolean hasGameMode() { return ((bitField0_ & 0x00000002) == 0x00000002); } + /** + * required .NetGameMode gameMode = 2; + */ public de.pokerth.protocol.ProtoBuf.NetGameMode getGameMode() { return gameMode_; } - + private void initFields() { gameId_ = 0; gameMode_ = de.pokerth.protocol.ProtoBuf.NetGameMode.netGameCreated; @@ -8532,7 +11178,7 @@ public final class ProtoBuf { public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; - + if (!hasGameId()) { memoizedIsInitialized = 0; return false; @@ -8544,7 +11190,7 @@ public final class ProtoBuf { memoizedIsInitialized = 1; return true; } - + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); @@ -8555,12 +11201,12 @@ public final class ProtoBuf { output.writeEnum(2, gameMode_.getNumber()); } } - + private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; - + size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream @@ -8573,88 +11219,77 @@ public final class ProtoBuf { memoizedSerializedSize = size; return size; } - + private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } - + public static de.pokerth.protocol.ProtoBuf.GameListUpdateMessage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data).buildParsed(); + return PARSER.parseFrom(data); } public static de.pokerth.protocol.ProtoBuf.GameListUpdateMessage parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(data, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.GameListUpdateMessage parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data).buildParsed(); + return PARSER.parseFrom(data); } public static de.pokerth.protocol.ProtoBuf.GameListUpdateMessage parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(data, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.GameListUpdateMessage parseFrom(java.io.InputStream input) throws java.io.IOException { - return newBuilder().mergeFrom(input).buildParsed(); + return PARSER.parseFrom(input); } public static de.pokerth.protocol.ProtoBuf.GameListUpdateMessage parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return newBuilder().mergeFrom(input, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.GameListUpdateMessage parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - Builder builder = newBuilder(); - if (builder.mergeDelimitedFrom(input)) { - return builder.buildParsed(); - } else { - return null; - } + return PARSER.parseDelimitedFrom(input); } public static de.pokerth.protocol.ProtoBuf.GameListUpdateMessage parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - Builder builder = newBuilder(); - if (builder.mergeDelimitedFrom(input, extensionRegistry)) { - return builder.buildParsed(); - } else { - return null; - } + return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.GameListUpdateMessage parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return newBuilder().mergeFrom(input).buildParsed(); + return PARSER.parseFrom(input); } public static de.pokerth.protocol.ProtoBuf.GameListUpdateMessage parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return newBuilder().mergeFrom(input, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(input, extensionRegistry); } - + public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.GameListUpdateMessage prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } - + + /** + * Protobuf type {@code GameListUpdateMessage} + */ public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.GameListUpdateMessage, Builder> @@ -8663,13 +11298,13 @@ public final class ProtoBuf { private Builder() { maybeForceBuilderInitialization(); } - + private void maybeForceBuilderInitialization() { } private static Builder create() { return new Builder(); } - + public Builder clear() { super.clear(); gameId_ = 0; @@ -8678,15 +11313,15 @@ public final class ProtoBuf { bitField0_ = (bitField0_ & ~0x00000002); return this; } - + public Builder clone() { return create().mergeFrom(buildPartial()); } - + public de.pokerth.protocol.ProtoBuf.GameListUpdateMessage getDefaultInstanceForType() { return de.pokerth.protocol.ProtoBuf.GameListUpdateMessage.getDefaultInstance(); } - + public de.pokerth.protocol.ProtoBuf.GameListUpdateMessage build() { de.pokerth.protocol.ProtoBuf.GameListUpdateMessage result = buildPartial(); if (!result.isInitialized()) { @@ -8694,17 +11329,7 @@ public final class ProtoBuf { } return result; } - - private de.pokerth.protocol.ProtoBuf.GameListUpdateMessage buildParsed() - throws com.google.protobuf.InvalidProtocolBufferException { - de.pokerth.protocol.ProtoBuf.GameListUpdateMessage result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException( - result).asInvalidProtocolBufferException(); - } - return result; - } - + public de.pokerth.protocol.ProtoBuf.GameListUpdateMessage buildPartial() { de.pokerth.protocol.ProtoBuf.GameListUpdateMessage result = new de.pokerth.protocol.ProtoBuf.GameListUpdateMessage(this); int from_bitField0_ = bitField0_; @@ -8720,7 +11345,7 @@ public final class ProtoBuf { result.bitField0_ = to_bitField0_; return result; } - + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.GameListUpdateMessage other) { if (other == de.pokerth.protocol.ProtoBuf.GameListUpdateMessage.getDefaultInstance()) return this; if (other.hasGameId()) { @@ -8731,7 +11356,7 @@ public final class ProtoBuf { } return this; } - + public final boolean isInitialized() { if (!hasGameId()) { @@ -8743,73 +11368,76 @@ public final class ProtoBuf { } return true; } - + public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - while (true) { - int tag = input.readTag(); - switch (tag) { - case 0: - - return this; - default: { - if (!parseUnknownField(input, extensionRegistry, tag)) { - - return this; - } - break; - } - case 8: { - bitField0_ |= 0x00000001; - gameId_ = input.readUInt32(); - break; - } - case 16: { - int rawValue = input.readEnum(); - de.pokerth.protocol.ProtoBuf.NetGameMode value = de.pokerth.protocol.ProtoBuf.NetGameMode.valueOf(rawValue); - if (value != null) { - bitField0_ |= 0x00000002; - gameMode_ = value; - } - break; - } + de.pokerth.protocol.ProtoBuf.GameListUpdateMessage parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (de.pokerth.protocol.ProtoBuf.GameListUpdateMessage) e.getUnfinishedMessage(); + throw e; + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); } } + return this; } - private int bitField0_; - + // required uint32 gameId = 1; private int gameId_ ; + /** + * required uint32 gameId = 1; + */ public boolean hasGameId() { return ((bitField0_ & 0x00000001) == 0x00000001); } + /** + * required uint32 gameId = 1; + */ public int getGameId() { return gameId_; } + /** + * required uint32 gameId = 1; + */ public Builder setGameId(int value) { bitField0_ |= 0x00000001; gameId_ = value; return this; } + /** + * required uint32 gameId = 1; + */ public Builder clearGameId() { bitField0_ = (bitField0_ & ~0x00000001); gameId_ = 0; return this; } - + // required .NetGameMode gameMode = 2; private de.pokerth.protocol.ProtoBuf.NetGameMode gameMode_ = de.pokerth.protocol.ProtoBuf.NetGameMode.netGameCreated; + /** + * required .NetGameMode gameMode = 2; + */ public boolean hasGameMode() { return ((bitField0_ & 0x00000002) == 0x00000002); } + /** + * required .NetGameMode gameMode = 2; + */ public de.pokerth.protocol.ProtoBuf.NetGameMode getGameMode() { return gameMode_; } + /** + * required .NetGameMode gameMode = 2; + */ public Builder setGameMode(de.pokerth.protocol.ProtoBuf.NetGameMode value) { if (value == null) { throw new NullPointerException(); @@ -8819,74 +11447,162 @@ public final class ProtoBuf { return this; } + /** + * required .NetGameMode gameMode = 2; + */ public Builder clearGameMode() { bitField0_ = (bitField0_ & ~0x00000002); gameMode_ = de.pokerth.protocol.ProtoBuf.NetGameMode.netGameCreated; return this; } - + // @@protoc_insertion_point(builder_scope:GameListUpdateMessage) } - + static { defaultInstance = new GameListUpdateMessage(true); defaultInstance.initFields(); } - + // @@protoc_insertion_point(class_scope:GameListUpdateMessage) } - + public interface GameListPlayerJoinedMessageOrBuilder extends com.google.protobuf.MessageLiteOrBuilder { - + // required uint32 gameId = 1; + /** + * required uint32 gameId = 1; + */ boolean hasGameId(); + /** + * required uint32 gameId = 1; + */ int getGameId(); - + // required uint32 playerId = 2; + /** + * required uint32 playerId = 2; + */ boolean hasPlayerId(); + /** + * required uint32 playerId = 2; + */ int getPlayerId(); } + /** + * Protobuf type {@code GameListPlayerJoinedMessage} + */ public static final class GameListPlayerJoinedMessage extends com.google.protobuf.GeneratedMessageLite implements GameListPlayerJoinedMessageOrBuilder { // Use GameListPlayerJoinedMessage.newBuilder() to construct. - private GameListPlayerJoinedMessage(Builder builder) { + private GameListPlayerJoinedMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); + } private GameListPlayerJoinedMessage(boolean noInit) {} - + private static final GameListPlayerJoinedMessage defaultInstance; public static GameListPlayerJoinedMessage getDefaultInstance() { return defaultInstance; } - + public GameListPlayerJoinedMessage getDefaultInstanceForType() { return defaultInstance; } - + + private GameListPlayerJoinedMessage( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + initFields(); + int mutable_bitField0_ = 0; + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: { + if (!parseUnknownField(input, + extensionRegistry, tag)) { + done = true; + } + break; + } + case 8: { + bitField0_ |= 0x00000001; + gameId_ = input.readUInt32(); + break; + } + case 16: { + bitField0_ |= 0x00000002; + playerId_ = input.readUInt32(); + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e.getMessage()).setUnfinishedMessage(this); + } finally { + makeExtensionsImmutable(); + } + } + public static com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + public GameListPlayerJoinedMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GameListPlayerJoinedMessage(input, extensionRegistry); + } + }; + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + private int bitField0_; // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; + /** + * required uint32 gameId = 1; + */ public boolean hasGameId() { return ((bitField0_ & 0x00000001) == 0x00000001); } + /** + * required uint32 gameId = 1; + */ public int getGameId() { return gameId_; } - + // required uint32 playerId = 2; public static final int PLAYERID_FIELD_NUMBER = 2; private int playerId_; + /** + * required uint32 playerId = 2; + */ public boolean hasPlayerId() { return ((bitField0_ & 0x00000002) == 0x00000002); } + /** + * required uint32 playerId = 2; + */ public int getPlayerId() { return playerId_; } - + private void initFields() { gameId_ = 0; playerId_ = 0; @@ -8895,7 +11611,7 @@ public final class ProtoBuf { public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; - + if (!hasGameId()) { memoizedIsInitialized = 0; return false; @@ -8907,7 +11623,7 @@ public final class ProtoBuf { memoizedIsInitialized = 1; return true; } - + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); @@ -8918,12 +11634,12 @@ public final class ProtoBuf { output.writeUInt32(2, playerId_); } } - + private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; - + size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream @@ -8936,88 +11652,77 @@ public final class ProtoBuf { memoizedSerializedSize = size; return size; } - + private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } - + public static de.pokerth.protocol.ProtoBuf.GameListPlayerJoinedMessage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data).buildParsed(); + return PARSER.parseFrom(data); } public static de.pokerth.protocol.ProtoBuf.GameListPlayerJoinedMessage parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(data, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.GameListPlayerJoinedMessage parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data).buildParsed(); + return PARSER.parseFrom(data); } public static de.pokerth.protocol.ProtoBuf.GameListPlayerJoinedMessage parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(data, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.GameListPlayerJoinedMessage parseFrom(java.io.InputStream input) throws java.io.IOException { - return newBuilder().mergeFrom(input).buildParsed(); + return PARSER.parseFrom(input); } public static de.pokerth.protocol.ProtoBuf.GameListPlayerJoinedMessage parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return newBuilder().mergeFrom(input, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.GameListPlayerJoinedMessage parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - Builder builder = newBuilder(); - if (builder.mergeDelimitedFrom(input)) { - return builder.buildParsed(); - } else { - return null; - } + return PARSER.parseDelimitedFrom(input); } public static de.pokerth.protocol.ProtoBuf.GameListPlayerJoinedMessage parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - Builder builder = newBuilder(); - if (builder.mergeDelimitedFrom(input, extensionRegistry)) { - return builder.buildParsed(); - } else { - return null; - } + return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.GameListPlayerJoinedMessage parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return newBuilder().mergeFrom(input).buildParsed(); + return PARSER.parseFrom(input); } public static de.pokerth.protocol.ProtoBuf.GameListPlayerJoinedMessage parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return newBuilder().mergeFrom(input, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(input, extensionRegistry); } - + public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.GameListPlayerJoinedMessage prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } - + + /** + * Protobuf type {@code GameListPlayerJoinedMessage} + */ public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.GameListPlayerJoinedMessage, Builder> @@ -9026,13 +11731,13 @@ public final class ProtoBuf { private Builder() { maybeForceBuilderInitialization(); } - + private void maybeForceBuilderInitialization() { } private static Builder create() { return new Builder(); } - + public Builder clear() { super.clear(); gameId_ = 0; @@ -9041,15 +11746,15 @@ public final class ProtoBuf { bitField0_ = (bitField0_ & ~0x00000002); return this; } - + public Builder clone() { return create().mergeFrom(buildPartial()); } - + public de.pokerth.protocol.ProtoBuf.GameListPlayerJoinedMessage getDefaultInstanceForType() { return de.pokerth.protocol.ProtoBuf.GameListPlayerJoinedMessage.getDefaultInstance(); } - + public de.pokerth.protocol.ProtoBuf.GameListPlayerJoinedMessage build() { de.pokerth.protocol.ProtoBuf.GameListPlayerJoinedMessage result = buildPartial(); if (!result.isInitialized()) { @@ -9057,17 +11762,7 @@ public final class ProtoBuf { } return result; } - - private de.pokerth.protocol.ProtoBuf.GameListPlayerJoinedMessage buildParsed() - throws com.google.protobuf.InvalidProtocolBufferException { - de.pokerth.protocol.ProtoBuf.GameListPlayerJoinedMessage result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException( - result).asInvalidProtocolBufferException(); - } - return result; - } - + public de.pokerth.protocol.ProtoBuf.GameListPlayerJoinedMessage buildPartial() { de.pokerth.protocol.ProtoBuf.GameListPlayerJoinedMessage result = new de.pokerth.protocol.ProtoBuf.GameListPlayerJoinedMessage(this); int from_bitField0_ = bitField0_; @@ -9083,7 +11778,7 @@ public final class ProtoBuf { result.bitField0_ = to_bitField0_; return result; } - + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.GameListPlayerJoinedMessage other) { if (other == de.pokerth.protocol.ProtoBuf.GameListPlayerJoinedMessage.getDefaultInstance()) return this; if (other.hasGameId()) { @@ -9094,7 +11789,7 @@ public final class ProtoBuf { } return this; } - + public final boolean isInitialized() { if (!hasGameId()) { @@ -9106,21 +11801,166 @@ public final class ProtoBuf { } return true; } - + public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - while (true) { + de.pokerth.protocol.ProtoBuf.GameListPlayerJoinedMessage parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (de.pokerth.protocol.ProtoBuf.GameListPlayerJoinedMessage) e.getUnfinishedMessage(); + throw e; + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int bitField0_; + + // required uint32 gameId = 1; + private int gameId_ ; + /** + * required uint32 gameId = 1; + */ + public boolean hasGameId() { + return ((bitField0_ & 0x00000001) == 0x00000001); + } + /** + * required uint32 gameId = 1; + */ + public int getGameId() { + return gameId_; + } + /** + * required uint32 gameId = 1; + */ + public Builder setGameId(int value) { + bitField0_ |= 0x00000001; + gameId_ = value; + + return this; + } + /** + * required uint32 gameId = 1; + */ + public Builder clearGameId() { + bitField0_ = (bitField0_ & ~0x00000001); + gameId_ = 0; + + return this; + } + + // required uint32 playerId = 2; + private int playerId_ ; + /** + * required uint32 playerId = 2; + */ + public boolean hasPlayerId() { + return ((bitField0_ & 0x00000002) == 0x00000002); + } + /** + * required uint32 playerId = 2; + */ + public int getPlayerId() { + return playerId_; + } + /** + * required uint32 playerId = 2; + */ + public Builder setPlayerId(int value) { + bitField0_ |= 0x00000002; + playerId_ = value; + + return this; + } + /** + * required uint32 playerId = 2; + */ + public Builder clearPlayerId() { + bitField0_ = (bitField0_ & ~0x00000002); + playerId_ = 0; + + return this; + } + + // @@protoc_insertion_point(builder_scope:GameListPlayerJoinedMessage) + } + + static { + defaultInstance = new GameListPlayerJoinedMessage(true); + defaultInstance.initFields(); + } + + // @@protoc_insertion_point(class_scope:GameListPlayerJoinedMessage) + } + + public interface GameListPlayerLeftMessageOrBuilder + extends com.google.protobuf.MessageLiteOrBuilder { + + // required uint32 gameId = 1; + /** + * required uint32 gameId = 1; + */ + boolean hasGameId(); + /** + * required uint32 gameId = 1; + */ + int getGameId(); + + // required uint32 playerId = 2; + /** + * required uint32 playerId = 2; + */ + boolean hasPlayerId(); + /** + * required uint32 playerId = 2; + */ + int getPlayerId(); + } + /** + * Protobuf type {@code GameListPlayerLeftMessage} + */ + public static final class GameListPlayerLeftMessage extends + com.google.protobuf.GeneratedMessageLite + implements GameListPlayerLeftMessageOrBuilder { + // Use GameListPlayerLeftMessage.newBuilder() to construct. + private GameListPlayerLeftMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { + super(builder); + + } + private GameListPlayerLeftMessage(boolean noInit) {} + + private static final GameListPlayerLeftMessage defaultInstance; + public static GameListPlayerLeftMessage getDefaultInstance() { + return defaultInstance; + } + + public GameListPlayerLeftMessage getDefaultInstanceForType() { + return defaultInstance; + } + + private GameListPlayerLeftMessage( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + initFields(); + int mutable_bitField0_ = 0; + try { + boolean done = false; + while (!done) { int tag = input.readTag(); switch (tag) { case 0: - - return this; + done = true; + break; default: { - if (!parseUnknownField(input, extensionRegistry, tag)) { - - return this; + if (!parseUnknownField(input, + extensionRegistry, tag)) { + done = true; } break; } @@ -9136,113 +11976,63 @@ public final class ProtoBuf { } } } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e.getMessage()).setUnfinishedMessage(this); + } finally { + makeExtensionsImmutable(); } - - private int bitField0_; - - // required uint32 gameId = 1; - private int gameId_ ; - public boolean hasGameId() { - return ((bitField0_ & 0x00000001) == 0x00000001); - } - public int getGameId() { - return gameId_; - } - public Builder setGameId(int value) { - bitField0_ |= 0x00000001; - gameId_ = value; - - return this; - } - public Builder clearGameId() { - bitField0_ = (bitField0_ & ~0x00000001); - gameId_ = 0; - - return this; - } - - // required uint32 playerId = 2; - private int playerId_ ; - public boolean hasPlayerId() { - return ((bitField0_ & 0x00000002) == 0x00000002); - } - public int getPlayerId() { - return playerId_; - } - public Builder setPlayerId(int value) { - bitField0_ |= 0x00000002; - playerId_ = value; - - return this; - } - public Builder clearPlayerId() { - bitField0_ = (bitField0_ & ~0x00000002); - playerId_ = 0; - - return this; - } - - // @@protoc_insertion_point(builder_scope:GameListPlayerJoinedMessage) } - - static { - defaultInstance = new GameListPlayerJoinedMessage(true); - defaultInstance.initFields(); + public static com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + public GameListPlayerLeftMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GameListPlayerLeftMessage(input, extensionRegistry); + } + }; + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; } - - // @@protoc_insertion_point(class_scope:GameListPlayerJoinedMessage) - } - - public interface GameListPlayerLeftMessageOrBuilder - extends com.google.protobuf.MessageLiteOrBuilder { - - // required uint32 gameId = 1; - boolean hasGameId(); - int getGameId(); - - // required uint32 playerId = 2; - boolean hasPlayerId(); - int getPlayerId(); - } - public static final class GameListPlayerLeftMessage extends - com.google.protobuf.GeneratedMessageLite - implements GameListPlayerLeftMessageOrBuilder { - // Use GameListPlayerLeftMessage.newBuilder() to construct. - private GameListPlayerLeftMessage(Builder builder) { - super(builder); - } - private GameListPlayerLeftMessage(boolean noInit) {} - - private static final GameListPlayerLeftMessage defaultInstance; - public static GameListPlayerLeftMessage getDefaultInstance() { - return defaultInstance; - } - - public GameListPlayerLeftMessage getDefaultInstanceForType() { - return defaultInstance; - } - + private int bitField0_; // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; + /** + * required uint32 gameId = 1; + */ public boolean hasGameId() { return ((bitField0_ & 0x00000001) == 0x00000001); } + /** + * required uint32 gameId = 1; + */ public int getGameId() { return gameId_; } - + // required uint32 playerId = 2; public static final int PLAYERID_FIELD_NUMBER = 2; private int playerId_; + /** + * required uint32 playerId = 2; + */ public boolean hasPlayerId() { return ((bitField0_ & 0x00000002) == 0x00000002); } + /** + * required uint32 playerId = 2; + */ public int getPlayerId() { return playerId_; } - + private void initFields() { gameId_ = 0; playerId_ = 0; @@ -9251,7 +12041,7 @@ public final class ProtoBuf { public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; - + if (!hasGameId()) { memoizedIsInitialized = 0; return false; @@ -9263,7 +12053,7 @@ public final class ProtoBuf { memoizedIsInitialized = 1; return true; } - + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); @@ -9274,12 +12064,12 @@ public final class ProtoBuf { output.writeUInt32(2, playerId_); } } - + private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; - + size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream @@ -9292,88 +12082,77 @@ public final class ProtoBuf { memoizedSerializedSize = size; return size; } - + private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } - + public static de.pokerth.protocol.ProtoBuf.GameListPlayerLeftMessage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data).buildParsed(); + return PARSER.parseFrom(data); } public static de.pokerth.protocol.ProtoBuf.GameListPlayerLeftMessage parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(data, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.GameListPlayerLeftMessage parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data).buildParsed(); + return PARSER.parseFrom(data); } public static de.pokerth.protocol.ProtoBuf.GameListPlayerLeftMessage parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(data, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.GameListPlayerLeftMessage parseFrom(java.io.InputStream input) throws java.io.IOException { - return newBuilder().mergeFrom(input).buildParsed(); + return PARSER.parseFrom(input); } public static de.pokerth.protocol.ProtoBuf.GameListPlayerLeftMessage parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return newBuilder().mergeFrom(input, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.GameListPlayerLeftMessage parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - Builder builder = newBuilder(); - if (builder.mergeDelimitedFrom(input)) { - return builder.buildParsed(); - } else { - return null; - } + return PARSER.parseDelimitedFrom(input); } public static de.pokerth.protocol.ProtoBuf.GameListPlayerLeftMessage parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - Builder builder = newBuilder(); - if (builder.mergeDelimitedFrom(input, extensionRegistry)) { - return builder.buildParsed(); - } else { - return null; - } + return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.GameListPlayerLeftMessage parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return newBuilder().mergeFrom(input).buildParsed(); + return PARSER.parseFrom(input); } public static de.pokerth.protocol.ProtoBuf.GameListPlayerLeftMessage parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return newBuilder().mergeFrom(input, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(input, extensionRegistry); } - + public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.GameListPlayerLeftMessage prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } - + + /** + * Protobuf type {@code GameListPlayerLeftMessage} + */ public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.GameListPlayerLeftMessage, Builder> @@ -9382,13 +12161,13 @@ public final class ProtoBuf { private Builder() { maybeForceBuilderInitialization(); } - + private void maybeForceBuilderInitialization() { } private static Builder create() { return new Builder(); } - + public Builder clear() { super.clear(); gameId_ = 0; @@ -9397,15 +12176,15 @@ public final class ProtoBuf { bitField0_ = (bitField0_ & ~0x00000002); return this; } - + public Builder clone() { return create().mergeFrom(buildPartial()); } - + public de.pokerth.protocol.ProtoBuf.GameListPlayerLeftMessage getDefaultInstanceForType() { return de.pokerth.protocol.ProtoBuf.GameListPlayerLeftMessage.getDefaultInstance(); } - + public de.pokerth.protocol.ProtoBuf.GameListPlayerLeftMessage build() { de.pokerth.protocol.ProtoBuf.GameListPlayerLeftMessage result = buildPartial(); if (!result.isInitialized()) { @@ -9413,17 +12192,7 @@ public final class ProtoBuf { } return result; } - - private de.pokerth.protocol.ProtoBuf.GameListPlayerLeftMessage buildParsed() - throws com.google.protobuf.InvalidProtocolBufferException { - de.pokerth.protocol.ProtoBuf.GameListPlayerLeftMessage result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException( - result).asInvalidProtocolBufferException(); - } - return result; - } - + public de.pokerth.protocol.ProtoBuf.GameListPlayerLeftMessage buildPartial() { de.pokerth.protocol.ProtoBuf.GameListPlayerLeftMessage result = new de.pokerth.protocol.ProtoBuf.GameListPlayerLeftMessage(this); int from_bitField0_ = bitField0_; @@ -9439,7 +12208,7 @@ public final class ProtoBuf { result.bitField0_ = to_bitField0_; return result; } - + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.GameListPlayerLeftMessage other) { if (other == de.pokerth.protocol.ProtoBuf.GameListPlayerLeftMessage.getDefaultInstance()) return this; if (other.hasGameId()) { @@ -9450,7 +12219,7 @@ public final class ProtoBuf { } return this; } - + public final boolean isInitialized() { if (!hasGameId()) { @@ -9462,21 +12231,166 @@ public final class ProtoBuf { } return true; } - + public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - while (true) { + de.pokerth.protocol.ProtoBuf.GameListPlayerLeftMessage parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (de.pokerth.protocol.ProtoBuf.GameListPlayerLeftMessage) e.getUnfinishedMessage(); + throw e; + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int bitField0_; + + // required uint32 gameId = 1; + private int gameId_ ; + /** + * required uint32 gameId = 1; + */ + public boolean hasGameId() { + return ((bitField0_ & 0x00000001) == 0x00000001); + } + /** + * required uint32 gameId = 1; + */ + public int getGameId() { + return gameId_; + } + /** + * required uint32 gameId = 1; + */ + public Builder setGameId(int value) { + bitField0_ |= 0x00000001; + gameId_ = value; + + return this; + } + /** + * required uint32 gameId = 1; + */ + public Builder clearGameId() { + bitField0_ = (bitField0_ & ~0x00000001); + gameId_ = 0; + + return this; + } + + // required uint32 playerId = 2; + private int playerId_ ; + /** + * required uint32 playerId = 2; + */ + public boolean hasPlayerId() { + return ((bitField0_ & 0x00000002) == 0x00000002); + } + /** + * required uint32 playerId = 2; + */ + public int getPlayerId() { + return playerId_; + } + /** + * required uint32 playerId = 2; + */ + public Builder setPlayerId(int value) { + bitField0_ |= 0x00000002; + playerId_ = value; + + return this; + } + /** + * required uint32 playerId = 2; + */ + public Builder clearPlayerId() { + bitField0_ = (bitField0_ & ~0x00000002); + playerId_ = 0; + + return this; + } + + // @@protoc_insertion_point(builder_scope:GameListPlayerLeftMessage) + } + + static { + defaultInstance = new GameListPlayerLeftMessage(true); + defaultInstance.initFields(); + } + + // @@protoc_insertion_point(class_scope:GameListPlayerLeftMessage) + } + + public interface GameListSpectatorJoinedMessageOrBuilder + extends com.google.protobuf.MessageLiteOrBuilder { + + // required uint32 gameId = 1; + /** + * required uint32 gameId = 1; + */ + boolean hasGameId(); + /** + * required uint32 gameId = 1; + */ + int getGameId(); + + // required uint32 playerId = 2; + /** + * required uint32 playerId = 2; + */ + boolean hasPlayerId(); + /** + * required uint32 playerId = 2; + */ + int getPlayerId(); + } + /** + * Protobuf type {@code GameListSpectatorJoinedMessage} + */ + public static final class GameListSpectatorJoinedMessage extends + com.google.protobuf.GeneratedMessageLite + implements GameListSpectatorJoinedMessageOrBuilder { + // Use GameListSpectatorJoinedMessage.newBuilder() to construct. + private GameListSpectatorJoinedMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { + super(builder); + + } + private GameListSpectatorJoinedMessage(boolean noInit) {} + + private static final GameListSpectatorJoinedMessage defaultInstance; + public static GameListSpectatorJoinedMessage getDefaultInstance() { + return defaultInstance; + } + + public GameListSpectatorJoinedMessage getDefaultInstanceForType() { + return defaultInstance; + } + + private GameListSpectatorJoinedMessage( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + initFields(); + int mutable_bitField0_ = 0; + try { + boolean done = false; + while (!done) { int tag = input.readTag(); switch (tag) { case 0: - - return this; + done = true; + break; default: { - if (!parseUnknownField(input, extensionRegistry, tag)) { - - return this; + if (!parseUnknownField(input, + extensionRegistry, tag)) { + done = true; } break; } @@ -9492,113 +12406,63 @@ public final class ProtoBuf { } } } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e.getMessage()).setUnfinishedMessage(this); + } finally { + makeExtensionsImmutable(); } - - private int bitField0_; - - // required uint32 gameId = 1; - private int gameId_ ; - public boolean hasGameId() { - return ((bitField0_ & 0x00000001) == 0x00000001); - } - public int getGameId() { - return gameId_; - } - public Builder setGameId(int value) { - bitField0_ |= 0x00000001; - gameId_ = value; - - return this; - } - public Builder clearGameId() { - bitField0_ = (bitField0_ & ~0x00000001); - gameId_ = 0; - - return this; - } - - // required uint32 playerId = 2; - private int playerId_ ; - public boolean hasPlayerId() { - return ((bitField0_ & 0x00000002) == 0x00000002); - } - public int getPlayerId() { - return playerId_; - } - public Builder setPlayerId(int value) { - bitField0_ |= 0x00000002; - playerId_ = value; - - return this; - } - public Builder clearPlayerId() { - bitField0_ = (bitField0_ & ~0x00000002); - playerId_ = 0; - - return this; - } - - // @@protoc_insertion_point(builder_scope:GameListPlayerLeftMessage) } - - static { - defaultInstance = new GameListPlayerLeftMessage(true); - defaultInstance.initFields(); + public static com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + public GameListSpectatorJoinedMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GameListSpectatorJoinedMessage(input, extensionRegistry); + } + }; + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; } - - // @@protoc_insertion_point(class_scope:GameListPlayerLeftMessage) - } - - public interface GameListSpectatorJoinedMessageOrBuilder - extends com.google.protobuf.MessageLiteOrBuilder { - - // required uint32 gameId = 1; - boolean hasGameId(); - int getGameId(); - - // required uint32 playerId = 2; - boolean hasPlayerId(); - int getPlayerId(); - } - public static final class GameListSpectatorJoinedMessage extends - com.google.protobuf.GeneratedMessageLite - implements GameListSpectatorJoinedMessageOrBuilder { - // Use GameListSpectatorJoinedMessage.newBuilder() to construct. - private GameListSpectatorJoinedMessage(Builder builder) { - super(builder); - } - private GameListSpectatorJoinedMessage(boolean noInit) {} - - private static final GameListSpectatorJoinedMessage defaultInstance; - public static GameListSpectatorJoinedMessage getDefaultInstance() { - return defaultInstance; - } - - public GameListSpectatorJoinedMessage getDefaultInstanceForType() { - return defaultInstance; - } - + private int bitField0_; // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; + /** + * required uint32 gameId = 1; + */ public boolean hasGameId() { return ((bitField0_ & 0x00000001) == 0x00000001); } + /** + * required uint32 gameId = 1; + */ public int getGameId() { return gameId_; } - + // required uint32 playerId = 2; public static final int PLAYERID_FIELD_NUMBER = 2; private int playerId_; + /** + * required uint32 playerId = 2; + */ public boolean hasPlayerId() { return ((bitField0_ & 0x00000002) == 0x00000002); } + /** + * required uint32 playerId = 2; + */ public int getPlayerId() { return playerId_; } - + private void initFields() { gameId_ = 0; playerId_ = 0; @@ -9607,7 +12471,7 @@ public final class ProtoBuf { public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; - + if (!hasGameId()) { memoizedIsInitialized = 0; return false; @@ -9619,7 +12483,7 @@ public final class ProtoBuf { memoizedIsInitialized = 1; return true; } - + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); @@ -9630,12 +12494,12 @@ public final class ProtoBuf { output.writeUInt32(2, playerId_); } } - + private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; - + size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream @@ -9648,88 +12512,77 @@ public final class ProtoBuf { memoizedSerializedSize = size; return size; } - + private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } - + public static de.pokerth.protocol.ProtoBuf.GameListSpectatorJoinedMessage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data).buildParsed(); + return PARSER.parseFrom(data); } public static de.pokerth.protocol.ProtoBuf.GameListSpectatorJoinedMessage parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(data, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.GameListSpectatorJoinedMessage parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data).buildParsed(); + return PARSER.parseFrom(data); } public static de.pokerth.protocol.ProtoBuf.GameListSpectatorJoinedMessage parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(data, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.GameListSpectatorJoinedMessage parseFrom(java.io.InputStream input) throws java.io.IOException { - return newBuilder().mergeFrom(input).buildParsed(); + return PARSER.parseFrom(input); } public static de.pokerth.protocol.ProtoBuf.GameListSpectatorJoinedMessage parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return newBuilder().mergeFrom(input, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.GameListSpectatorJoinedMessage parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - Builder builder = newBuilder(); - if (builder.mergeDelimitedFrom(input)) { - return builder.buildParsed(); - } else { - return null; - } + return PARSER.parseDelimitedFrom(input); } public static de.pokerth.protocol.ProtoBuf.GameListSpectatorJoinedMessage parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - Builder builder = newBuilder(); - if (builder.mergeDelimitedFrom(input, extensionRegistry)) { - return builder.buildParsed(); - } else { - return null; - } + return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.GameListSpectatorJoinedMessage parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return newBuilder().mergeFrom(input).buildParsed(); + return PARSER.parseFrom(input); } public static de.pokerth.protocol.ProtoBuf.GameListSpectatorJoinedMessage parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return newBuilder().mergeFrom(input, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(input, extensionRegistry); } - + public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.GameListSpectatorJoinedMessage prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } - + + /** + * Protobuf type {@code GameListSpectatorJoinedMessage} + */ public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.GameListSpectatorJoinedMessage, Builder> @@ -9738,13 +12591,13 @@ public final class ProtoBuf { private Builder() { maybeForceBuilderInitialization(); } - + private void maybeForceBuilderInitialization() { } private static Builder create() { return new Builder(); } - + public Builder clear() { super.clear(); gameId_ = 0; @@ -9753,15 +12606,15 @@ public final class ProtoBuf { bitField0_ = (bitField0_ & ~0x00000002); return this; } - + public Builder clone() { return create().mergeFrom(buildPartial()); } - + public de.pokerth.protocol.ProtoBuf.GameListSpectatorJoinedMessage getDefaultInstanceForType() { return de.pokerth.protocol.ProtoBuf.GameListSpectatorJoinedMessage.getDefaultInstance(); } - + public de.pokerth.protocol.ProtoBuf.GameListSpectatorJoinedMessage build() { de.pokerth.protocol.ProtoBuf.GameListSpectatorJoinedMessage result = buildPartial(); if (!result.isInitialized()) { @@ -9769,17 +12622,7 @@ public final class ProtoBuf { } return result; } - - private de.pokerth.protocol.ProtoBuf.GameListSpectatorJoinedMessage buildParsed() - throws com.google.protobuf.InvalidProtocolBufferException { - de.pokerth.protocol.ProtoBuf.GameListSpectatorJoinedMessage result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException( - result).asInvalidProtocolBufferException(); - } - return result; - } - + public de.pokerth.protocol.ProtoBuf.GameListSpectatorJoinedMessage buildPartial() { de.pokerth.protocol.ProtoBuf.GameListSpectatorJoinedMessage result = new de.pokerth.protocol.ProtoBuf.GameListSpectatorJoinedMessage(this); int from_bitField0_ = bitField0_; @@ -9795,7 +12638,7 @@ public final class ProtoBuf { result.bitField0_ = to_bitField0_; return result; } - + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.GameListSpectatorJoinedMessage other) { if (other == de.pokerth.protocol.ProtoBuf.GameListSpectatorJoinedMessage.getDefaultInstance()) return this; if (other.hasGameId()) { @@ -9806,7 +12649,7 @@ public final class ProtoBuf { } return this; } - + public final boolean isInitialized() { if (!hasGameId()) { @@ -9818,21 +12661,166 @@ public final class ProtoBuf { } return true; } - + public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - while (true) { + de.pokerth.protocol.ProtoBuf.GameListSpectatorJoinedMessage parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (de.pokerth.protocol.ProtoBuf.GameListSpectatorJoinedMessage) e.getUnfinishedMessage(); + throw e; + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int bitField0_; + + // required uint32 gameId = 1; + private int gameId_ ; + /** + * required uint32 gameId = 1; + */ + public boolean hasGameId() { + return ((bitField0_ & 0x00000001) == 0x00000001); + } + /** + * required uint32 gameId = 1; + */ + public int getGameId() { + return gameId_; + } + /** + * required uint32 gameId = 1; + */ + public Builder setGameId(int value) { + bitField0_ |= 0x00000001; + gameId_ = value; + + return this; + } + /** + * required uint32 gameId = 1; + */ + public Builder clearGameId() { + bitField0_ = (bitField0_ & ~0x00000001); + gameId_ = 0; + + return this; + } + + // required uint32 playerId = 2; + private int playerId_ ; + /** + * required uint32 playerId = 2; + */ + public boolean hasPlayerId() { + return ((bitField0_ & 0x00000002) == 0x00000002); + } + /** + * required uint32 playerId = 2; + */ + public int getPlayerId() { + return playerId_; + } + /** + * required uint32 playerId = 2; + */ + public Builder setPlayerId(int value) { + bitField0_ |= 0x00000002; + playerId_ = value; + + return this; + } + /** + * required uint32 playerId = 2; + */ + public Builder clearPlayerId() { + bitField0_ = (bitField0_ & ~0x00000002); + playerId_ = 0; + + return this; + } + + // @@protoc_insertion_point(builder_scope:GameListSpectatorJoinedMessage) + } + + static { + defaultInstance = new GameListSpectatorJoinedMessage(true); + defaultInstance.initFields(); + } + + // @@protoc_insertion_point(class_scope:GameListSpectatorJoinedMessage) + } + + public interface GameListSpectatorLeftMessageOrBuilder + extends com.google.protobuf.MessageLiteOrBuilder { + + // required uint32 gameId = 1; + /** + * required uint32 gameId = 1; + */ + boolean hasGameId(); + /** + * required uint32 gameId = 1; + */ + int getGameId(); + + // required uint32 playerId = 2; + /** + * required uint32 playerId = 2; + */ + boolean hasPlayerId(); + /** + * required uint32 playerId = 2; + */ + int getPlayerId(); + } + /** + * Protobuf type {@code GameListSpectatorLeftMessage} + */ + public static final class GameListSpectatorLeftMessage extends + com.google.protobuf.GeneratedMessageLite + implements GameListSpectatorLeftMessageOrBuilder { + // Use GameListSpectatorLeftMessage.newBuilder() to construct. + private GameListSpectatorLeftMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { + super(builder); + + } + private GameListSpectatorLeftMessage(boolean noInit) {} + + private static final GameListSpectatorLeftMessage defaultInstance; + public static GameListSpectatorLeftMessage getDefaultInstance() { + return defaultInstance; + } + + public GameListSpectatorLeftMessage getDefaultInstanceForType() { + return defaultInstance; + } + + private GameListSpectatorLeftMessage( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + initFields(); + int mutable_bitField0_ = 0; + try { + boolean done = false; + while (!done) { int tag = input.readTag(); switch (tag) { case 0: - - return this; + done = true; + break; default: { - if (!parseUnknownField(input, extensionRegistry, tag)) { - - return this; + if (!parseUnknownField(input, + extensionRegistry, tag)) { + done = true; } break; } @@ -9848,113 +12836,63 @@ public final class ProtoBuf { } } } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e.getMessage()).setUnfinishedMessage(this); + } finally { + makeExtensionsImmutable(); } - - private int bitField0_; - - // required uint32 gameId = 1; - private int gameId_ ; - public boolean hasGameId() { - return ((bitField0_ & 0x00000001) == 0x00000001); - } - public int getGameId() { - return gameId_; - } - public Builder setGameId(int value) { - bitField0_ |= 0x00000001; - gameId_ = value; - - return this; - } - public Builder clearGameId() { - bitField0_ = (bitField0_ & ~0x00000001); - gameId_ = 0; - - return this; - } - - // required uint32 playerId = 2; - private int playerId_ ; - public boolean hasPlayerId() { - return ((bitField0_ & 0x00000002) == 0x00000002); - } - public int getPlayerId() { - return playerId_; - } - public Builder setPlayerId(int value) { - bitField0_ |= 0x00000002; - playerId_ = value; - - return this; - } - public Builder clearPlayerId() { - bitField0_ = (bitField0_ & ~0x00000002); - playerId_ = 0; - - return this; - } - - // @@protoc_insertion_point(builder_scope:GameListSpectatorJoinedMessage) } - - static { - defaultInstance = new GameListSpectatorJoinedMessage(true); - defaultInstance.initFields(); + public static com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + public GameListSpectatorLeftMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GameListSpectatorLeftMessage(input, extensionRegistry); + } + }; + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; } - - // @@protoc_insertion_point(class_scope:GameListSpectatorJoinedMessage) - } - - public interface GameListSpectatorLeftMessageOrBuilder - extends com.google.protobuf.MessageLiteOrBuilder { - - // required uint32 gameId = 1; - boolean hasGameId(); - int getGameId(); - - // required uint32 playerId = 2; - boolean hasPlayerId(); - int getPlayerId(); - } - public static final class GameListSpectatorLeftMessage extends - com.google.protobuf.GeneratedMessageLite - implements GameListSpectatorLeftMessageOrBuilder { - // Use GameListSpectatorLeftMessage.newBuilder() to construct. - private GameListSpectatorLeftMessage(Builder builder) { - super(builder); - } - private GameListSpectatorLeftMessage(boolean noInit) {} - - private static final GameListSpectatorLeftMessage defaultInstance; - public static GameListSpectatorLeftMessage getDefaultInstance() { - return defaultInstance; - } - - public GameListSpectatorLeftMessage getDefaultInstanceForType() { - return defaultInstance; - } - + private int bitField0_; // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; + /** + * required uint32 gameId = 1; + */ public boolean hasGameId() { return ((bitField0_ & 0x00000001) == 0x00000001); } + /** + * required uint32 gameId = 1; + */ public int getGameId() { return gameId_; } - + // required uint32 playerId = 2; public static final int PLAYERID_FIELD_NUMBER = 2; private int playerId_; + /** + * required uint32 playerId = 2; + */ public boolean hasPlayerId() { return ((bitField0_ & 0x00000002) == 0x00000002); } + /** + * required uint32 playerId = 2; + */ public int getPlayerId() { return playerId_; } - + private void initFields() { gameId_ = 0; playerId_ = 0; @@ -9963,7 +12901,7 @@ public final class ProtoBuf { public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; - + if (!hasGameId()) { memoizedIsInitialized = 0; return false; @@ -9975,7 +12913,7 @@ public final class ProtoBuf { memoizedIsInitialized = 1; return true; } - + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); @@ -9986,12 +12924,12 @@ public final class ProtoBuf { output.writeUInt32(2, playerId_); } } - + private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; - + size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream @@ -10004,88 +12942,77 @@ public final class ProtoBuf { memoizedSerializedSize = size; return size; } - + private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } - + public static de.pokerth.protocol.ProtoBuf.GameListSpectatorLeftMessage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data).buildParsed(); + return PARSER.parseFrom(data); } public static de.pokerth.protocol.ProtoBuf.GameListSpectatorLeftMessage parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(data, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.GameListSpectatorLeftMessage parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data).buildParsed(); + return PARSER.parseFrom(data); } public static de.pokerth.protocol.ProtoBuf.GameListSpectatorLeftMessage parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(data, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.GameListSpectatorLeftMessage parseFrom(java.io.InputStream input) throws java.io.IOException { - return newBuilder().mergeFrom(input).buildParsed(); + return PARSER.parseFrom(input); } public static de.pokerth.protocol.ProtoBuf.GameListSpectatorLeftMessage parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return newBuilder().mergeFrom(input, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.GameListSpectatorLeftMessage parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - Builder builder = newBuilder(); - if (builder.mergeDelimitedFrom(input)) { - return builder.buildParsed(); - } else { - return null; - } + return PARSER.parseDelimitedFrom(input); } public static de.pokerth.protocol.ProtoBuf.GameListSpectatorLeftMessage parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - Builder builder = newBuilder(); - if (builder.mergeDelimitedFrom(input, extensionRegistry)) { - return builder.buildParsed(); - } else { - return null; - } + return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.GameListSpectatorLeftMessage parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return newBuilder().mergeFrom(input).buildParsed(); + return PARSER.parseFrom(input); } public static de.pokerth.protocol.ProtoBuf.GameListSpectatorLeftMessage parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return newBuilder().mergeFrom(input, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(input, extensionRegistry); } - + public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.GameListSpectatorLeftMessage prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } - + + /** + * Protobuf type {@code GameListSpectatorLeftMessage} + */ public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.GameListSpectatorLeftMessage, Builder> @@ -10094,13 +13021,13 @@ public final class ProtoBuf { private Builder() { maybeForceBuilderInitialization(); } - + private void maybeForceBuilderInitialization() { } private static Builder create() { return new Builder(); } - + public Builder clear() { super.clear(); gameId_ = 0; @@ -10109,15 +13036,15 @@ public final class ProtoBuf { bitField0_ = (bitField0_ & ~0x00000002); return this; } - + public Builder clone() { return create().mergeFrom(buildPartial()); } - + public de.pokerth.protocol.ProtoBuf.GameListSpectatorLeftMessage getDefaultInstanceForType() { return de.pokerth.protocol.ProtoBuf.GameListSpectatorLeftMessage.getDefaultInstance(); } - + public de.pokerth.protocol.ProtoBuf.GameListSpectatorLeftMessage build() { de.pokerth.protocol.ProtoBuf.GameListSpectatorLeftMessage result = buildPartial(); if (!result.isInitialized()) { @@ -10125,17 +13052,7 @@ public final class ProtoBuf { } return result; } - - private de.pokerth.protocol.ProtoBuf.GameListSpectatorLeftMessage buildParsed() - throws com.google.protobuf.InvalidProtocolBufferException { - de.pokerth.protocol.ProtoBuf.GameListSpectatorLeftMessage result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException( - result).asInvalidProtocolBufferException(); - } - return result; - } - + public de.pokerth.protocol.ProtoBuf.GameListSpectatorLeftMessage buildPartial() { de.pokerth.protocol.ProtoBuf.GameListSpectatorLeftMessage result = new de.pokerth.protocol.ProtoBuf.GameListSpectatorLeftMessage(this); int from_bitField0_ = bitField0_; @@ -10151,7 +13068,7 @@ public final class ProtoBuf { result.bitField0_ = to_bitField0_; return result; } - + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.GameListSpectatorLeftMessage other) { if (other == de.pokerth.protocol.ProtoBuf.GameListSpectatorLeftMessage.getDefaultInstance()) return this; if (other.hasGameId()) { @@ -10162,7 +13079,7 @@ public final class ProtoBuf { } return this; } - + public final boolean isInitialized() { if (!hasGameId()) { @@ -10174,377 +13091,166 @@ public final class ProtoBuf { } return true; } - + public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - while (true) { - int tag = input.readTag(); - switch (tag) { - case 0: - - return this; - default: { - if (!parseUnknownField(input, extensionRegistry, tag)) { - - return this; - } - break; - } - case 8: { - bitField0_ |= 0x00000001; - gameId_ = input.readUInt32(); - break; - } - case 16: { - bitField0_ |= 0x00000002; - playerId_ = input.readUInt32(); - break; - } + de.pokerth.protocol.ProtoBuf.GameListSpectatorLeftMessage parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (de.pokerth.protocol.ProtoBuf.GameListSpectatorLeftMessage) e.getUnfinishedMessage(); + throw e; + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); } } + return this; } - private int bitField0_; - + // required uint32 gameId = 1; private int gameId_ ; + /** + * required uint32 gameId = 1; + */ public boolean hasGameId() { return ((bitField0_ & 0x00000001) == 0x00000001); } + /** + * required uint32 gameId = 1; + */ public int getGameId() { return gameId_; } + /** + * required uint32 gameId = 1; + */ public Builder setGameId(int value) { bitField0_ |= 0x00000001; gameId_ = value; return this; } + /** + * required uint32 gameId = 1; + */ public Builder clearGameId() { bitField0_ = (bitField0_ & ~0x00000001); gameId_ = 0; return this; } - + // required uint32 playerId = 2; private int playerId_ ; + /** + * required uint32 playerId = 2; + */ public boolean hasPlayerId() { return ((bitField0_ & 0x00000002) == 0x00000002); } + /** + * required uint32 playerId = 2; + */ public int getPlayerId() { return playerId_; } + /** + * required uint32 playerId = 2; + */ public Builder setPlayerId(int value) { bitField0_ |= 0x00000002; playerId_ = value; return this; } + /** + * required uint32 playerId = 2; + */ public Builder clearPlayerId() { bitField0_ = (bitField0_ & ~0x00000002); playerId_ = 0; return this; } - + // @@protoc_insertion_point(builder_scope:GameListSpectatorLeftMessage) } - + static { defaultInstance = new GameListSpectatorLeftMessage(true); defaultInstance.initFields(); } - + // @@protoc_insertion_point(class_scope:GameListSpectatorLeftMessage) } - + public interface GameListAdminChangedMessageOrBuilder extends com.google.protobuf.MessageLiteOrBuilder { - + // required uint32 gameId = 1; + /** + * required uint32 gameId = 1; + */ boolean hasGameId(); + /** + * required uint32 gameId = 1; + */ int getGameId(); - + // required uint32 newAdminPlayerId = 2; + /** + * required uint32 newAdminPlayerId = 2; + */ boolean hasNewAdminPlayerId(); + /** + * required uint32 newAdminPlayerId = 2; + */ int getNewAdminPlayerId(); } + /** + * Protobuf type {@code GameListAdminChangedMessage} + */ public static final class GameListAdminChangedMessage extends com.google.protobuf.GeneratedMessageLite implements GameListAdminChangedMessageOrBuilder { // Use GameListAdminChangedMessage.newBuilder() to construct. - private GameListAdminChangedMessage(Builder builder) { + private GameListAdminChangedMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); + } private GameListAdminChangedMessage(boolean noInit) {} - + private static final GameListAdminChangedMessage defaultInstance; public static GameListAdminChangedMessage getDefaultInstance() { return defaultInstance; } - + public GameListAdminChangedMessage getDefaultInstanceForType() { return defaultInstance; } - - private int bitField0_; - // required uint32 gameId = 1; - public static final int GAMEID_FIELD_NUMBER = 1; - private int gameId_; - public boolean hasGameId() { - return ((bitField0_ & 0x00000001) == 0x00000001); - } - public int getGameId() { - return gameId_; - } - - // required uint32 newAdminPlayerId = 2; - public static final int NEWADMINPLAYERID_FIELD_NUMBER = 2; - private int newAdminPlayerId_; - public boolean hasNewAdminPlayerId() { - return ((bitField0_ & 0x00000002) == 0x00000002); - } - public int getNewAdminPlayerId() { - return newAdminPlayerId_; - } - - private void initFields() { - gameId_ = 0; - newAdminPlayerId_ = 0; - } - private byte memoizedIsInitialized = -1; - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; - - if (!hasGameId()) { - memoizedIsInitialized = 0; - return false; - } - if (!hasNewAdminPlayerId()) { - memoizedIsInitialized = 0; - return false; - } - memoizedIsInitialized = 1; - return true; - } - - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - getSerializedSize(); - if (((bitField0_ & 0x00000001) == 0x00000001)) { - output.writeUInt32(1, gameId_); - } - if (((bitField0_ & 0x00000002) == 0x00000002)) { - output.writeUInt32(2, newAdminPlayerId_); - } - } - - private int memoizedSerializedSize = -1; - public int getSerializedSize() { - int size = memoizedSerializedSize; - if (size != -1) return size; - - size = 0; - if (((bitField0_ & 0x00000001) == 0x00000001)) { - size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(1, gameId_); - } - if (((bitField0_ & 0x00000002) == 0x00000002)) { - size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(2, newAdminPlayerId_); - } - memoizedSerializedSize = size; - return size; - } - - private static final long serialVersionUID = 0L; - @java.lang.Override - protected java.lang.Object writeReplace() - throws java.io.ObjectStreamException { - return super.writeReplace(); - } - - public static de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessage parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data).buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessage parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data, extensionRegistry) - .buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessage parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data).buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessage parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data, extensionRegistry) - .buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessage parseFrom(java.io.InputStream input) - throws java.io.IOException { - return newBuilder().mergeFrom(input).buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessage parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return newBuilder().mergeFrom(input, extensionRegistry) - .buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessage parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - Builder builder = newBuilder(); - if (builder.mergeDelimitedFrom(input)) { - return builder.buildParsed(); - } else { - return null; - } - } - public static de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessage parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - Builder builder = newBuilder(); - if (builder.mergeDelimitedFrom(input, extensionRegistry)) { - return builder.buildParsed(); - } else { - return null; - } - } - public static de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessage parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return newBuilder().mergeFrom(input).buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessage parseFrom( + + private GameListAdminChangedMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return newBuilder().mergeFrom(input, extensionRegistry) - .buildParsed(); - } - - public static Builder newBuilder() { return Builder.create(); } - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessage prototype) { - return newBuilder().mergeFrom(prototype); - } - public Builder toBuilder() { return newBuilder(this); } - - public static final class Builder extends - com.google.protobuf.GeneratedMessageLite.Builder< - de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessageOrBuilder { - // Construct using de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessage.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - } - private static Builder create() { - return new Builder(); - } - - public Builder clear() { - super.clear(); - gameId_ = 0; - bitField0_ = (bitField0_ & ~0x00000001); - newAdminPlayerId_ = 0; - bitField0_ = (bitField0_ & ~0x00000002); - return this; - } - - public Builder clone() { - return create().mergeFrom(buildPartial()); - } - - public de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessage getDefaultInstanceForType() { - return de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessage.getDefaultInstance(); - } - - public de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessage build() { - de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessage result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - private de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessage buildParsed() - throws com.google.protobuf.InvalidProtocolBufferException { - de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessage result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException( - result).asInvalidProtocolBufferException(); - } - return result; - } - - public de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessage buildPartial() { - de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessage result = new de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessage(this); - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) == 0x00000001)) { - to_bitField0_ |= 0x00000001; - } - result.gameId_ = gameId_; - if (((from_bitField0_ & 0x00000002) == 0x00000002)) { - to_bitField0_ |= 0x00000002; - } - result.newAdminPlayerId_ = newAdminPlayerId_; - result.bitField0_ = to_bitField0_; - return result; - } - - public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessage other) { - if (other == de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessage.getDefaultInstance()) return this; - if (other.hasGameId()) { - setGameId(other.getGameId()); - } - if (other.hasNewAdminPlayerId()) { - setNewAdminPlayerId(other.getNewAdminPlayerId()); - } - return this; - } - - public final boolean isInitialized() { - if (!hasGameId()) { - - return false; - } - if (!hasNewAdminPlayerId()) { - - return false; - } - return true; - } - - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - while (true) { + throws com.google.protobuf.InvalidProtocolBufferException { + initFields(); + int mutable_bitField0_ = 0; + try { + boolean done = false; + while (!done) { int tag = input.readTag(); switch (tag) { case 0: - - return this; + done = true; + break; default: { - if (!parseUnknownField(input, extensionRegistry, tag)) { - - return this; + if (!parseUnknownField(input, + extensionRegistry, tag)) { + done = true; } break; } @@ -10560,116 +13266,504 @@ public final class ProtoBuf { } } } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e.getMessage()).setUnfinishedMessage(this); + } finally { + makeExtensionsImmutable(); + } + } + public static com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + public GameListAdminChangedMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GameListAdminChangedMessage(input, extensionRegistry); + } + }; + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + private int bitField0_; + // required uint32 gameId = 1; + public static final int GAMEID_FIELD_NUMBER = 1; + private int gameId_; + /** + * required uint32 gameId = 1; + */ + public boolean hasGameId() { + return ((bitField0_ & 0x00000001) == 0x00000001); + } + /** + * required uint32 gameId = 1; + */ + public int getGameId() { + return gameId_; + } + + // required uint32 newAdminPlayerId = 2; + public static final int NEWADMINPLAYERID_FIELD_NUMBER = 2; + private int newAdminPlayerId_; + /** + * required uint32 newAdminPlayerId = 2; + */ + public boolean hasNewAdminPlayerId() { + return ((bitField0_ & 0x00000002) == 0x00000002); + } + /** + * required uint32 newAdminPlayerId = 2; + */ + public int getNewAdminPlayerId() { + return newAdminPlayerId_; + } + + private void initFields() { + gameId_ = 0; + newAdminPlayerId_ = 0; + } + private byte memoizedIsInitialized = -1; + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized != -1) return isInitialized == 1; + + if (!hasGameId()) { + memoizedIsInitialized = 0; + return false; + } + if (!hasNewAdminPlayerId()) { + memoizedIsInitialized = 0; + return false; + } + memoizedIsInitialized = 1; + return true; + } + + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + getSerializedSize(); + if (((bitField0_ & 0x00000001) == 0x00000001)) { + output.writeUInt32(1, gameId_); + } + if (((bitField0_ & 0x00000002) == 0x00000002)) { + output.writeUInt32(2, newAdminPlayerId_); + } + } + + private int memoizedSerializedSize = -1; + public int getSerializedSize() { + int size = memoizedSerializedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) == 0x00000001)) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(1, gameId_); + } + if (((bitField0_ & 0x00000002) == 0x00000002)) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(2, newAdminPlayerId_); + } + memoizedSerializedSize = size; + return size; + } + + private static final long serialVersionUID = 0L; + @java.lang.Override + protected java.lang.Object writeReplace() + throws java.io.ObjectStreamException { + return super.writeReplace(); + } + + public static de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessage parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessage parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessage parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessage parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessage parseFrom(java.io.InputStream input) + throws java.io.IOException { + return PARSER.parseFrom(input); + } + public static de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessage parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseFrom(input, extensionRegistry); + } + public static de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessage parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return PARSER.parseDelimitedFrom(input); + } + public static de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessage parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseDelimitedFrom(input, extensionRegistry); + } + public static de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessage parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return PARSER.parseFrom(input); + } + public static de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessage parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseFrom(input, extensionRegistry); + } + + public static Builder newBuilder() { return Builder.create(); } + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessage prototype) { + return newBuilder().mergeFrom(prototype); + } + public Builder toBuilder() { return newBuilder(this); } + + /** + * Protobuf type {@code GameListAdminChangedMessage} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageLite.Builder< + de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessage, Builder> + implements de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessageOrBuilder { + // Construct using de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessage.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + } + private static Builder create() { + return new Builder(); + } + + public Builder clear() { + super.clear(); + gameId_ = 0; + bitField0_ = (bitField0_ & ~0x00000001); + newAdminPlayerId_ = 0; + bitField0_ = (bitField0_ & ~0x00000002); + return this; + } + + public Builder clone() { + return create().mergeFrom(buildPartial()); + } + + public de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessage getDefaultInstanceForType() { + return de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessage.getDefaultInstance(); + } + + public de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessage build() { + de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessage result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + public de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessage buildPartial() { + de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessage result = new de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessage(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) == 0x00000001)) { + to_bitField0_ |= 0x00000001; + } + result.gameId_ = gameId_; + if (((from_bitField0_ & 0x00000002) == 0x00000002)) { + to_bitField0_ |= 0x00000002; + } + result.newAdminPlayerId_ = newAdminPlayerId_; + result.bitField0_ = to_bitField0_; + return result; + } + + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessage other) { + if (other == de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessage.getDefaultInstance()) return this; + if (other.hasGameId()) { + setGameId(other.getGameId()); + } + if (other.hasNewAdminPlayerId()) { + setNewAdminPlayerId(other.getNewAdminPlayerId()); + } + return this; + } + + public final boolean isInitialized() { + if (!hasGameId()) { + + return false; + } + if (!hasNewAdminPlayerId()) { + + return false; + } + return true; + } + + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessage parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessage) e.getUnfinishedMessage(); + throw e; + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; } - private int bitField0_; - + // required uint32 gameId = 1; private int gameId_ ; + /** + * required uint32 gameId = 1; + */ public boolean hasGameId() { return ((bitField0_ & 0x00000001) == 0x00000001); } + /** + * required uint32 gameId = 1; + */ public int getGameId() { return gameId_; } + /** + * required uint32 gameId = 1; + */ public Builder setGameId(int value) { bitField0_ |= 0x00000001; gameId_ = value; return this; } + /** + * required uint32 gameId = 1; + */ public Builder clearGameId() { bitField0_ = (bitField0_ & ~0x00000001); gameId_ = 0; return this; } - + // required uint32 newAdminPlayerId = 2; private int newAdminPlayerId_ ; + /** + * required uint32 newAdminPlayerId = 2; + */ public boolean hasNewAdminPlayerId() { return ((bitField0_ & 0x00000002) == 0x00000002); } + /** + * required uint32 newAdminPlayerId = 2; + */ public int getNewAdminPlayerId() { return newAdminPlayerId_; } + /** + * required uint32 newAdminPlayerId = 2; + */ public Builder setNewAdminPlayerId(int value) { bitField0_ |= 0x00000002; newAdminPlayerId_ = value; return this; } + /** + * required uint32 newAdminPlayerId = 2; + */ public Builder clearNewAdminPlayerId() { bitField0_ = (bitField0_ & ~0x00000002); newAdminPlayerId_ = 0; return this; } - + // @@protoc_insertion_point(builder_scope:GameListAdminChangedMessage) } - + static { defaultInstance = new GameListAdminChangedMessage(true); defaultInstance.initFields(); } - + // @@protoc_insertion_point(class_scope:GameListAdminChangedMessage) } - + public interface PlayerInfoRequestMessageOrBuilder extends com.google.protobuf.MessageLiteOrBuilder { - + // repeated uint32 playerId = 1 [packed = true]; + /** + * repeated uint32 playerId = 1 [packed = true]; + */ java.util.List getPlayerIdList(); + /** + * repeated uint32 playerId = 1 [packed = true]; + */ int getPlayerIdCount(); + /** + * repeated uint32 playerId = 1 [packed = true]; + */ int getPlayerId(int index); } + /** + * Protobuf type {@code PlayerInfoRequestMessage} + */ public static final class PlayerInfoRequestMessage extends com.google.protobuf.GeneratedMessageLite implements PlayerInfoRequestMessageOrBuilder { // Use PlayerInfoRequestMessage.newBuilder() to construct. - private PlayerInfoRequestMessage(Builder builder) { + private PlayerInfoRequestMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); + } private PlayerInfoRequestMessage(boolean noInit) {} - + private static final PlayerInfoRequestMessage defaultInstance; public static PlayerInfoRequestMessage getDefaultInstance() { return defaultInstance; } - + public PlayerInfoRequestMessage getDefaultInstanceForType() { return defaultInstance; } - + + private PlayerInfoRequestMessage( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + initFields(); + int mutable_bitField0_ = 0; + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: { + if (!parseUnknownField(input, + extensionRegistry, tag)) { + done = true; + } + break; + } + case 8: { + if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { + playerId_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + playerId_.add(input.readUInt32()); + break; + } + case 10: { + int length = input.readRawVarint32(); + int limit = input.pushLimit(length); + if (!((mutable_bitField0_ & 0x00000001) == 0x00000001) && input.getBytesUntilLimit() > 0) { + playerId_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + while (input.getBytesUntilLimit() > 0) { + playerId_.add(input.readUInt32()); + } + input.popLimit(limit); + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e.getMessage()).setUnfinishedMessage(this); + } finally { + if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) { + playerId_ = java.util.Collections.unmodifiableList(playerId_); + } + makeExtensionsImmutable(); + } + } + public static com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + public PlayerInfoRequestMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PlayerInfoRequestMessage(input, extensionRegistry); + } + }; + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + // repeated uint32 playerId = 1 [packed = true]; public static final int PLAYERID_FIELD_NUMBER = 1; private java.util.List playerId_; + /** + * repeated uint32 playerId = 1 [packed = true]; + */ public java.util.List getPlayerIdList() { return playerId_; } + /** + * repeated uint32 playerId = 1 [packed = true]; + */ public int getPlayerIdCount() { return playerId_.size(); } + /** + * repeated uint32 playerId = 1 [packed = true]; + */ public int getPlayerId(int index) { return playerId_.get(index); } private int playerIdMemoizedSerializedSize = -1; - + private void initFields() { - playerId_ = java.util.Collections.emptyList();; + playerId_ = java.util.Collections.emptyList(); } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; - + memoizedIsInitialized = 1; return true; } - + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); @@ -10681,12 +13775,12 @@ public final class ProtoBuf { output.writeUInt32NoTag(playerId_.get(i)); } } - + private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; - + size = 0; { int dataSize = 0; @@ -10705,88 +13799,77 @@ public final class ProtoBuf { memoizedSerializedSize = size; return size; } - + private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } - + public static de.pokerth.protocol.ProtoBuf.PlayerInfoRequestMessage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data).buildParsed(); + return PARSER.parseFrom(data); } public static de.pokerth.protocol.ProtoBuf.PlayerInfoRequestMessage parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(data, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.PlayerInfoRequestMessage parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data).buildParsed(); + return PARSER.parseFrom(data); } public static de.pokerth.protocol.ProtoBuf.PlayerInfoRequestMessage parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(data, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.PlayerInfoRequestMessage parseFrom(java.io.InputStream input) throws java.io.IOException { - return newBuilder().mergeFrom(input).buildParsed(); + return PARSER.parseFrom(input); } public static de.pokerth.protocol.ProtoBuf.PlayerInfoRequestMessage parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return newBuilder().mergeFrom(input, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.PlayerInfoRequestMessage parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - Builder builder = newBuilder(); - if (builder.mergeDelimitedFrom(input)) { - return builder.buildParsed(); - } else { - return null; - } + return PARSER.parseDelimitedFrom(input); } public static de.pokerth.protocol.ProtoBuf.PlayerInfoRequestMessage parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - Builder builder = newBuilder(); - if (builder.mergeDelimitedFrom(input, extensionRegistry)) { - return builder.buildParsed(); - } else { - return null; - } + return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.PlayerInfoRequestMessage parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return newBuilder().mergeFrom(input).buildParsed(); + return PARSER.parseFrom(input); } public static de.pokerth.protocol.ProtoBuf.PlayerInfoRequestMessage parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return newBuilder().mergeFrom(input, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(input, extensionRegistry); } - + public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.PlayerInfoRequestMessage prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } - + + /** + * Protobuf type {@code PlayerInfoRequestMessage} + */ public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.PlayerInfoRequestMessage, Builder> @@ -10795,28 +13878,28 @@ public final class ProtoBuf { private Builder() { maybeForceBuilderInitialization(); } - + private void maybeForceBuilderInitialization() { } private static Builder create() { return new Builder(); } - + public Builder clear() { super.clear(); - playerId_ = java.util.Collections.emptyList();; + playerId_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); return this; } - + public Builder clone() { return create().mergeFrom(buildPartial()); } - + public de.pokerth.protocol.ProtoBuf.PlayerInfoRequestMessage getDefaultInstanceForType() { return de.pokerth.protocol.ProtoBuf.PlayerInfoRequestMessage.getDefaultInstance(); } - + public de.pokerth.protocol.ProtoBuf.PlayerInfoRequestMessage build() { de.pokerth.protocol.ProtoBuf.PlayerInfoRequestMessage result = buildPartial(); if (!result.isInitialized()) { @@ -10824,17 +13907,7 @@ public final class ProtoBuf { } return result; } - - private de.pokerth.protocol.ProtoBuf.PlayerInfoRequestMessage buildParsed() - throws com.google.protobuf.InvalidProtocolBufferException { - de.pokerth.protocol.ProtoBuf.PlayerInfoRequestMessage result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException( - result).asInvalidProtocolBufferException(); - } - return result; - } - + public de.pokerth.protocol.ProtoBuf.PlayerInfoRequestMessage buildPartial() { de.pokerth.protocol.ProtoBuf.PlayerInfoRequestMessage result = new de.pokerth.protocol.ProtoBuf.PlayerInfoRequestMessage(this); int from_bitField0_ = bitField0_; @@ -10845,7 +13918,7 @@ public final class ProtoBuf { result.playerId_ = playerId_; return result; } - + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.PlayerInfoRequestMessage other) { if (other == de.pokerth.protocol.ProtoBuf.PlayerInfoRequestMessage.getDefaultInstance()) return this; if (!other.playerId_.isEmpty()) { @@ -10860,66 +13933,60 @@ public final class ProtoBuf { } return this; } - + public final boolean isInitialized() { return true; } - + public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - while (true) { - int tag = input.readTag(); - switch (tag) { - case 0: - - return this; - default: { - if (!parseUnknownField(input, extensionRegistry, tag)) { - - return this; - } - break; - } - case 8: { - ensurePlayerIdIsMutable(); - playerId_.add(input.readUInt32()); - break; - } - case 10: { - int length = input.readRawVarint32(); - int limit = input.pushLimit(length); - while (input.getBytesUntilLimit() > 0) { - addPlayerId(input.readUInt32()); - } - input.popLimit(limit); - break; - } + de.pokerth.protocol.ProtoBuf.PlayerInfoRequestMessage parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (de.pokerth.protocol.ProtoBuf.PlayerInfoRequestMessage) e.getUnfinishedMessage(); + throw e; + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); } } + return this; } - private int bitField0_; - + // repeated uint32 playerId = 1 [packed = true]; - private java.util.List playerId_ = java.util.Collections.emptyList();; + private java.util.List playerId_ = java.util.Collections.emptyList(); private void ensurePlayerIdIsMutable() { if (!((bitField0_ & 0x00000001) == 0x00000001)) { playerId_ = new java.util.ArrayList(playerId_); bitField0_ |= 0x00000001; } } + /** + * repeated uint32 playerId = 1 [packed = true]; + */ public java.util.List getPlayerIdList() { return java.util.Collections.unmodifiableList(playerId_); } + /** + * repeated uint32 playerId = 1 [packed = true]; + */ public int getPlayerIdCount() { return playerId_.size(); } + /** + * repeated uint32 playerId = 1 [packed = true]; + */ public int getPlayerId(int index) { return playerId_.get(index); } + /** + * repeated uint32 playerId = 1 [packed = true]; + */ public Builder setPlayerId( int index, int value) { ensurePlayerIdIsMutable(); @@ -10927,12 +13994,18 @@ public final class ProtoBuf { return this; } + /** + * repeated uint32 playerId = 1 [packed = true]; + */ public Builder addPlayerId(int value) { ensurePlayerIdIsMutable(); playerId_.add(value); return this; } + /** + * repeated uint32 playerId = 1 [packed = true]; + */ public Builder addAllPlayerId( java.lang.Iterable values) { ensurePlayerIdIsMutable(); @@ -10940,860 +14013,240 @@ public final class ProtoBuf { return this; } + /** + * repeated uint32 playerId = 1 [packed = true]; + */ public Builder clearPlayerId() { - playerId_ = java.util.Collections.emptyList();; + playerId_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); return this; } - + // @@protoc_insertion_point(builder_scope:PlayerInfoRequestMessage) } - + static { defaultInstance = new PlayerInfoRequestMessage(true); defaultInstance.initFields(); } - + // @@protoc_insertion_point(class_scope:PlayerInfoRequestMessage) } - + public interface PlayerInfoReplyMessageOrBuilder extends com.google.protobuf.MessageLiteOrBuilder { - + // required uint32 playerId = 1; + /** + * required uint32 playerId = 1; + */ boolean hasPlayerId(); + /** + * required uint32 playerId = 1; + */ int getPlayerId(); - + // optional .PlayerInfoReplyMessage.PlayerInfoData playerInfoData = 2; + /** + * optional .PlayerInfoReplyMessage.PlayerInfoData playerInfoData = 2; + */ boolean hasPlayerInfoData(); + /** + * optional .PlayerInfoReplyMessage.PlayerInfoData playerInfoData = 2; + */ de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData getPlayerInfoData(); } + /** + * Protobuf type {@code PlayerInfoReplyMessage} + */ public static final class PlayerInfoReplyMessage extends com.google.protobuf.GeneratedMessageLite implements PlayerInfoReplyMessageOrBuilder { // Use PlayerInfoReplyMessage.newBuilder() to construct. - private PlayerInfoReplyMessage(Builder builder) { + private PlayerInfoReplyMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); + } private PlayerInfoReplyMessage(boolean noInit) {} - + private static final PlayerInfoReplyMessage defaultInstance; public static PlayerInfoReplyMessage getDefaultInstance() { return defaultInstance; } - + public PlayerInfoReplyMessage getDefaultInstanceForType() { return defaultInstance; } - + + private PlayerInfoReplyMessage( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + initFields(); + int mutable_bitField0_ = 0; + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: { + if (!parseUnknownField(input, + extensionRegistry, tag)) { + done = true; + } + break; + } + case 8: { + bitField0_ |= 0x00000001; + playerId_ = input.readUInt32(); + break; + } + case 18: { + de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData.Builder subBuilder = null; + if (((bitField0_ & 0x00000002) == 0x00000002)) { + subBuilder = playerInfoData_.toBuilder(); + } + playerInfoData_ = input.readMessage(de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(playerInfoData_); + playerInfoData_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x00000002; + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e.getMessage()).setUnfinishedMessage(this); + } finally { + makeExtensionsImmutable(); + } + } + public static com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + public PlayerInfoReplyMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PlayerInfoReplyMessage(input, extensionRegistry); + } + }; + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + public interface PlayerInfoDataOrBuilder extends com.google.protobuf.MessageLiteOrBuilder { - + // required string playerName = 1; + /** + * required string playerName = 1; + */ boolean hasPlayerName(); - String getPlayerName(); - + /** + * required string playerName = 1; + */ + java.lang.String getPlayerName(); + /** + * required string playerName = 1; + */ + com.google.protobuf.ByteString + getPlayerNameBytes(); + // required bool isHuman = 2; + /** + * required bool isHuman = 2; + */ boolean hasIsHuman(); + /** + * required bool isHuman = 2; + */ boolean getIsHuman(); - + // required .NetPlayerInfoRights playerRights = 3; + /** + * required .NetPlayerInfoRights playerRights = 3; + */ boolean hasPlayerRights(); + /** + * required .NetPlayerInfoRights playerRights = 3; + */ de.pokerth.protocol.ProtoBuf.NetPlayerInfoRights getPlayerRights(); - + // optional string countryCode = 4; + /** + * optional string countryCode = 4; + */ boolean hasCountryCode(); - String getCountryCode(); - + /** + * optional string countryCode = 4; + */ + java.lang.String getCountryCode(); + /** + * optional string countryCode = 4; + */ + com.google.protobuf.ByteString + getCountryCodeBytes(); + // optional .PlayerInfoReplyMessage.PlayerInfoData.AvatarData avatarData = 5; + /** + * optional .PlayerInfoReplyMessage.PlayerInfoData.AvatarData avatarData = 5; + */ boolean hasAvatarData(); + /** + * optional .PlayerInfoReplyMessage.PlayerInfoData.AvatarData avatarData = 5; + */ de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData.AvatarData getAvatarData(); } + /** + * Protobuf type {@code PlayerInfoReplyMessage.PlayerInfoData} + */ public static final class PlayerInfoData extends com.google.protobuf.GeneratedMessageLite implements PlayerInfoDataOrBuilder { // Use PlayerInfoData.newBuilder() to construct. - private PlayerInfoData(Builder builder) { + private PlayerInfoData(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); + } private PlayerInfoData(boolean noInit) {} - + private static final PlayerInfoData defaultInstance; public static PlayerInfoData getDefaultInstance() { return defaultInstance; } - + public PlayerInfoData getDefaultInstanceForType() { return defaultInstance; } - - public interface AvatarDataOrBuilder - extends com.google.protobuf.MessageLiteOrBuilder { - - // required .NetAvatarType avatarType = 1; - boolean hasAvatarType(); - de.pokerth.protocol.ProtoBuf.NetAvatarType getAvatarType(); - - // required bytes avatarHash = 2; - boolean hasAvatarHash(); - com.google.protobuf.ByteString getAvatarHash(); - } - public static final class AvatarData extends - com.google.protobuf.GeneratedMessageLite - implements AvatarDataOrBuilder { - // Use AvatarData.newBuilder() to construct. - private AvatarData(Builder builder) { - super(builder); - } - private AvatarData(boolean noInit) {} - - private static final AvatarData defaultInstance; - public static AvatarData getDefaultInstance() { - return defaultInstance; - } - - public AvatarData getDefaultInstanceForType() { - return defaultInstance; - } - - private int bitField0_; - // required .NetAvatarType avatarType = 1; - public static final int AVATARTYPE_FIELD_NUMBER = 1; - private de.pokerth.protocol.ProtoBuf.NetAvatarType avatarType_; - public boolean hasAvatarType() { - return ((bitField0_ & 0x00000001) == 0x00000001); - } - public de.pokerth.protocol.ProtoBuf.NetAvatarType getAvatarType() { - return avatarType_; - } - - // required bytes avatarHash = 2; - public static final int AVATARHASH_FIELD_NUMBER = 2; - private com.google.protobuf.ByteString avatarHash_; - public boolean hasAvatarHash() { - return ((bitField0_ & 0x00000002) == 0x00000002); - } - public com.google.protobuf.ByteString getAvatarHash() { - return avatarHash_; - } - - private void initFields() { - avatarType_ = de.pokerth.protocol.ProtoBuf.NetAvatarType.netAvatarImagePng; - avatarHash_ = com.google.protobuf.ByteString.EMPTY; - } - private byte memoizedIsInitialized = -1; - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; - - if (!hasAvatarType()) { - memoizedIsInitialized = 0; - return false; - } - if (!hasAvatarHash()) { - memoizedIsInitialized = 0; - return false; - } - memoizedIsInitialized = 1; - return true; - } - - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - getSerializedSize(); - if (((bitField0_ & 0x00000001) == 0x00000001)) { - output.writeEnum(1, avatarType_.getNumber()); - } - if (((bitField0_ & 0x00000002) == 0x00000002)) { - output.writeBytes(2, avatarHash_); - } - } - - private int memoizedSerializedSize = -1; - public int getSerializedSize() { - int size = memoizedSerializedSize; - if (size != -1) return size; - - size = 0; - if (((bitField0_ & 0x00000001) == 0x00000001)) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, avatarType_.getNumber()); - } - if (((bitField0_ & 0x00000002) == 0x00000002)) { - size += com.google.protobuf.CodedOutputStream - .computeBytesSize(2, avatarHash_); - } - memoizedSerializedSize = size; - return size; - } - - private static final long serialVersionUID = 0L; - @java.lang.Override - protected java.lang.Object writeReplace() - throws java.io.ObjectStreamException { - return super.writeReplace(); - } - - public static de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData.AvatarData parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data).buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData.AvatarData parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data, extensionRegistry) - .buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData.AvatarData parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data).buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData.AvatarData parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data, extensionRegistry) - .buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData.AvatarData parseFrom(java.io.InputStream input) - throws java.io.IOException { - return newBuilder().mergeFrom(input).buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData.AvatarData parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return newBuilder().mergeFrom(input, extensionRegistry) - .buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData.AvatarData parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - Builder builder = newBuilder(); - if (builder.mergeDelimitedFrom(input)) { - return builder.buildParsed(); - } else { - return null; - } - } - public static de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData.AvatarData parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - Builder builder = newBuilder(); - if (builder.mergeDelimitedFrom(input, extensionRegistry)) { - return builder.buildParsed(); - } else { - return null; - } - } - public static de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData.AvatarData parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return newBuilder().mergeFrom(input).buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData.AvatarData parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return newBuilder().mergeFrom(input, extensionRegistry) - .buildParsed(); - } - - public static Builder newBuilder() { return Builder.create(); } - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData.AvatarData prototype) { - return newBuilder().mergeFrom(prototype); - } - public Builder toBuilder() { return newBuilder(this); } - - public static final class Builder extends - com.google.protobuf.GeneratedMessageLite.Builder< - de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData.AvatarData, Builder> - implements de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData.AvatarDataOrBuilder { - // Construct using de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData.AvatarData.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - } - private static Builder create() { - return new Builder(); - } - - public Builder clear() { - super.clear(); - avatarType_ = de.pokerth.protocol.ProtoBuf.NetAvatarType.netAvatarImagePng; - bitField0_ = (bitField0_ & ~0x00000001); - avatarHash_ = com.google.protobuf.ByteString.EMPTY; - bitField0_ = (bitField0_ & ~0x00000002); - return this; - } - - public Builder clone() { - return create().mergeFrom(buildPartial()); - } - - public de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData.AvatarData getDefaultInstanceForType() { - return de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData.AvatarData.getDefaultInstance(); - } - - public de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData.AvatarData build() { - de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData.AvatarData result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - private de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData.AvatarData buildParsed() - throws com.google.protobuf.InvalidProtocolBufferException { - de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData.AvatarData result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException( - result).asInvalidProtocolBufferException(); - } - return result; - } - - public de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData.AvatarData buildPartial() { - de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData.AvatarData result = new de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData.AvatarData(this); - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) == 0x00000001)) { - to_bitField0_ |= 0x00000001; - } - result.avatarType_ = avatarType_; - if (((from_bitField0_ & 0x00000002) == 0x00000002)) { - to_bitField0_ |= 0x00000002; - } - result.avatarHash_ = avatarHash_; - result.bitField0_ = to_bitField0_; - return result; - } - - public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData.AvatarData other) { - if (other == de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData.AvatarData.getDefaultInstance()) return this; - if (other.hasAvatarType()) { - setAvatarType(other.getAvatarType()); - } - if (other.hasAvatarHash()) { - setAvatarHash(other.getAvatarHash()); - } - return this; - } - - public final boolean isInitialized() { - if (!hasAvatarType()) { - - return false; - } - if (!hasAvatarHash()) { - - return false; - } - return true; - } - - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - while (true) { - int tag = input.readTag(); - switch (tag) { - case 0: - - return this; - default: { - if (!parseUnknownField(input, extensionRegistry, tag)) { - - return this; - } - break; - } - case 8: { - int rawValue = input.readEnum(); - de.pokerth.protocol.ProtoBuf.NetAvatarType value = de.pokerth.protocol.ProtoBuf.NetAvatarType.valueOf(rawValue); - if (value != null) { - bitField0_ |= 0x00000001; - avatarType_ = value; - } - break; - } - case 18: { - bitField0_ |= 0x00000002; - avatarHash_ = input.readBytes(); - break; - } - } - } - } - - private int bitField0_; - - // required .NetAvatarType avatarType = 1; - private de.pokerth.protocol.ProtoBuf.NetAvatarType avatarType_ = de.pokerth.protocol.ProtoBuf.NetAvatarType.netAvatarImagePng; - public boolean hasAvatarType() { - return ((bitField0_ & 0x00000001) == 0x00000001); - } - public de.pokerth.protocol.ProtoBuf.NetAvatarType getAvatarType() { - return avatarType_; - } - public Builder setAvatarType(de.pokerth.protocol.ProtoBuf.NetAvatarType value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000001; - avatarType_ = value; - - return this; - } - public Builder clearAvatarType() { - bitField0_ = (bitField0_ & ~0x00000001); - avatarType_ = de.pokerth.protocol.ProtoBuf.NetAvatarType.netAvatarImagePng; - - return this; - } - - // required bytes avatarHash = 2; - private com.google.protobuf.ByteString avatarHash_ = com.google.protobuf.ByteString.EMPTY; - public boolean hasAvatarHash() { - return ((bitField0_ & 0x00000002) == 0x00000002); - } - public com.google.protobuf.ByteString getAvatarHash() { - return avatarHash_; - } - public Builder setAvatarHash(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000002; - avatarHash_ = value; - - return this; - } - public Builder clearAvatarHash() { - bitField0_ = (bitField0_ & ~0x00000002); - avatarHash_ = getDefaultInstance().getAvatarHash(); - - return this; - } - - // @@protoc_insertion_point(builder_scope:PlayerInfoReplyMessage.PlayerInfoData.AvatarData) - } - - static { - defaultInstance = new AvatarData(true); - defaultInstance.initFields(); - } - - // @@protoc_insertion_point(class_scope:PlayerInfoReplyMessage.PlayerInfoData.AvatarData) - } - - private int bitField0_; - // required string playerName = 1; - public static final int PLAYERNAME_FIELD_NUMBER = 1; - private java.lang.Object playerName_; - public boolean hasPlayerName() { - return ((bitField0_ & 0x00000001) == 0x00000001); - } - public String getPlayerName() { - java.lang.Object ref = playerName_; - if (ref instanceof String) { - return (String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - String s = bs.toStringUtf8(); - if (com.google.protobuf.Internal.isValidUtf8(bs)) { - playerName_ = s; - } - return s; - } - } - private com.google.protobuf.ByteString getPlayerNameBytes() { - java.lang.Object ref = playerName_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((String) ref); - playerName_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - // required bool isHuman = 2; - public static final int ISHUMAN_FIELD_NUMBER = 2; - private boolean isHuman_; - public boolean hasIsHuman() { - return ((bitField0_ & 0x00000002) == 0x00000002); - } - public boolean getIsHuman() { - return isHuman_; - } - - // required .NetPlayerInfoRights playerRights = 3; - public static final int PLAYERRIGHTS_FIELD_NUMBER = 3; - private de.pokerth.protocol.ProtoBuf.NetPlayerInfoRights playerRights_; - public boolean hasPlayerRights() { - return ((bitField0_ & 0x00000004) == 0x00000004); - } - public de.pokerth.protocol.ProtoBuf.NetPlayerInfoRights getPlayerRights() { - return playerRights_; - } - - // optional string countryCode = 4; - public static final int COUNTRYCODE_FIELD_NUMBER = 4; - private java.lang.Object countryCode_; - public boolean hasCountryCode() { - return ((bitField0_ & 0x00000008) == 0x00000008); - } - public String getCountryCode() { - java.lang.Object ref = countryCode_; - if (ref instanceof String) { - return (String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - String s = bs.toStringUtf8(); - if (com.google.protobuf.Internal.isValidUtf8(bs)) { - countryCode_ = s; - } - return s; - } - } - private com.google.protobuf.ByteString getCountryCodeBytes() { - java.lang.Object ref = countryCode_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((String) ref); - countryCode_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - // optional .PlayerInfoReplyMessage.PlayerInfoData.AvatarData avatarData = 5; - public static final int AVATARDATA_FIELD_NUMBER = 5; - private de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData.AvatarData avatarData_; - public boolean hasAvatarData() { - return ((bitField0_ & 0x00000010) == 0x00000010); - } - public de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData.AvatarData getAvatarData() { - return avatarData_; - } - - private void initFields() { - playerName_ = ""; - isHuman_ = false; - playerRights_ = de.pokerth.protocol.ProtoBuf.NetPlayerInfoRights.netPlayerRightsGuest; - countryCode_ = ""; - avatarData_ = de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData.AvatarData.getDefaultInstance(); - } - private byte memoizedIsInitialized = -1; - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; - - if (!hasPlayerName()) { - memoizedIsInitialized = 0; - return false; - } - if (!hasIsHuman()) { - memoizedIsInitialized = 0; - return false; - } - if (!hasPlayerRights()) { - memoizedIsInitialized = 0; - return false; - } - if (hasAvatarData()) { - if (!getAvatarData().isInitialized()) { - memoizedIsInitialized = 0; - return false; - } - } - memoizedIsInitialized = 1; - return true; - } - - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - getSerializedSize(); - if (((bitField0_ & 0x00000001) == 0x00000001)) { - output.writeBytes(1, getPlayerNameBytes()); - } - if (((bitField0_ & 0x00000002) == 0x00000002)) { - output.writeBool(2, isHuman_); - } - if (((bitField0_ & 0x00000004) == 0x00000004)) { - output.writeEnum(3, playerRights_.getNumber()); - } - if (((bitField0_ & 0x00000008) == 0x00000008)) { - output.writeBytes(4, getCountryCodeBytes()); - } - if (((bitField0_ & 0x00000010) == 0x00000010)) { - output.writeMessage(5, avatarData_); - } - } - - private int memoizedSerializedSize = -1; - public int getSerializedSize() { - int size = memoizedSerializedSize; - if (size != -1) return size; - - size = 0; - if (((bitField0_ & 0x00000001) == 0x00000001)) { - size += com.google.protobuf.CodedOutputStream - .computeBytesSize(1, getPlayerNameBytes()); - } - if (((bitField0_ & 0x00000002) == 0x00000002)) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(2, isHuman_); - } - if (((bitField0_ & 0x00000004) == 0x00000004)) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(3, playerRights_.getNumber()); - } - if (((bitField0_ & 0x00000008) == 0x00000008)) { - size += com.google.protobuf.CodedOutputStream - .computeBytesSize(4, getCountryCodeBytes()); - } - if (((bitField0_ & 0x00000010) == 0x00000010)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, avatarData_); - } - memoizedSerializedSize = size; - return size; - } - - private static final long serialVersionUID = 0L; - @java.lang.Override - protected java.lang.Object writeReplace() - throws java.io.ObjectStreamException { - return super.writeReplace(); - } - - public static de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data).buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data, extensionRegistry) - .buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data).buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data, extensionRegistry) - .buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData parseFrom(java.io.InputStream input) - throws java.io.IOException { - return newBuilder().mergeFrom(input).buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return newBuilder().mergeFrom(input, extensionRegistry) - .buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - Builder builder = newBuilder(); - if (builder.mergeDelimitedFrom(input)) { - return builder.buildParsed(); - } else { - return null; - } - } - public static de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - Builder builder = newBuilder(); - if (builder.mergeDelimitedFrom(input, extensionRegistry)) { - return builder.buildParsed(); - } else { - return null; - } - } - public static de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return newBuilder().mergeFrom(input).buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData parseFrom( + + private PlayerInfoData( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return newBuilder().mergeFrom(input, extensionRegistry) - .buildParsed(); - } - - public static Builder newBuilder() { return Builder.create(); } - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData prototype) { - return newBuilder().mergeFrom(prototype); - } - public Builder toBuilder() { return newBuilder(this); } - - public static final class Builder extends - com.google.protobuf.GeneratedMessageLite.Builder< - de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData, Builder> - implements de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoDataOrBuilder { - // Construct using de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - } - private static Builder create() { - return new Builder(); - } - - public Builder clear() { - super.clear(); - playerName_ = ""; - bitField0_ = (bitField0_ & ~0x00000001); - isHuman_ = false; - bitField0_ = (bitField0_ & ~0x00000002); - playerRights_ = de.pokerth.protocol.ProtoBuf.NetPlayerInfoRights.netPlayerRightsGuest; - bitField0_ = (bitField0_ & ~0x00000004); - countryCode_ = ""; - bitField0_ = (bitField0_ & ~0x00000008); - avatarData_ = de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData.AvatarData.getDefaultInstance(); - bitField0_ = (bitField0_ & ~0x00000010); - return this; - } - - public Builder clone() { - return create().mergeFrom(buildPartial()); - } - - public de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData getDefaultInstanceForType() { - return de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData.getDefaultInstance(); - } - - public de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData build() { - de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - private de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData buildParsed() - throws com.google.protobuf.InvalidProtocolBufferException { - de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException( - result).asInvalidProtocolBufferException(); - } - return result; - } - - public de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData buildPartial() { - de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData result = new de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData(this); - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) == 0x00000001)) { - to_bitField0_ |= 0x00000001; - } - result.playerName_ = playerName_; - if (((from_bitField0_ & 0x00000002) == 0x00000002)) { - to_bitField0_ |= 0x00000002; - } - result.isHuman_ = isHuman_; - if (((from_bitField0_ & 0x00000004) == 0x00000004)) { - to_bitField0_ |= 0x00000004; - } - result.playerRights_ = playerRights_; - if (((from_bitField0_ & 0x00000008) == 0x00000008)) { - to_bitField0_ |= 0x00000008; - } - result.countryCode_ = countryCode_; - if (((from_bitField0_ & 0x00000010) == 0x00000010)) { - to_bitField0_ |= 0x00000010; - } - result.avatarData_ = avatarData_; - result.bitField0_ = to_bitField0_; - return result; - } - - public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData other) { - if (other == de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData.getDefaultInstance()) return this; - if (other.hasPlayerName()) { - setPlayerName(other.getPlayerName()); - } - if (other.hasIsHuman()) { - setIsHuman(other.getIsHuman()); - } - if (other.hasPlayerRights()) { - setPlayerRights(other.getPlayerRights()); - } - if (other.hasCountryCode()) { - setCountryCode(other.getCountryCode()); - } - if (other.hasAvatarData()) { - mergeAvatarData(other.getAvatarData()); - } - return this; - } - - public final boolean isInitialized() { - if (!hasPlayerName()) { - - return false; - } - if (!hasIsHuman()) { - - return false; - } - if (!hasPlayerRights()) { - - return false; - } - if (hasAvatarData()) { - if (!getAvatarData().isInitialized()) { - - return false; - } - } - return true; - } - - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - while (true) { + throws com.google.protobuf.InvalidProtocolBufferException { + initFields(); + int mutable_bitField0_ = 0; + try { + boolean done = false; + while (!done) { int tag = input.readTag(); switch (tag) { case 0: - - return this; + done = true; + break; default: { - if (!parseUnknownField(input, extensionRegistry, tag)) { - - return this; + if (!parseUnknownField(input, + extensionRegistry, tag)) { + done = true; } break; } @@ -11822,36 +14275,955 @@ public final class ProtoBuf { break; } case 42: { - de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData.AvatarData.Builder subBuilder = de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData.AvatarData.newBuilder(); - if (hasAvatarData()) { - subBuilder.mergeFrom(getAvatarData()); + de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData.AvatarData.Builder subBuilder = null; + if (((bitField0_ & 0x00000010) == 0x00000010)) { + subBuilder = avatarData_.toBuilder(); } - input.readMessage(subBuilder, extensionRegistry); - setAvatarData(subBuilder.buildPartial()); + avatarData_ = input.readMessage(de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData.AvatarData.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(avatarData_); + avatarData_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x00000010; break; } } } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e.getMessage()).setUnfinishedMessage(this); + } finally { + makeExtensionsImmutable(); } - + } + public static com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + public PlayerInfoData parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PlayerInfoData(input, extensionRegistry); + } + }; + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + public interface AvatarDataOrBuilder + extends com.google.protobuf.MessageLiteOrBuilder { + + // required .NetAvatarType avatarType = 1; + /** + * required .NetAvatarType avatarType = 1; + */ + boolean hasAvatarType(); + /** + * required .NetAvatarType avatarType = 1; + */ + de.pokerth.protocol.ProtoBuf.NetAvatarType getAvatarType(); + + // required bytes avatarHash = 2; + /** + * required bytes avatarHash = 2; + */ + boolean hasAvatarHash(); + /** + * required bytes avatarHash = 2; + */ + com.google.protobuf.ByteString getAvatarHash(); + } + /** + * Protobuf type {@code PlayerInfoReplyMessage.PlayerInfoData.AvatarData} + */ + public static final class AvatarData extends + com.google.protobuf.GeneratedMessageLite + implements AvatarDataOrBuilder { + // Use AvatarData.newBuilder() to construct. + private AvatarData(com.google.protobuf.GeneratedMessageLite.Builder builder) { + super(builder); + + } + private AvatarData(boolean noInit) {} + + private static final AvatarData defaultInstance; + public static AvatarData getDefaultInstance() { + return defaultInstance; + } + + public AvatarData getDefaultInstanceForType() { + return defaultInstance; + } + + private AvatarData( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + initFields(); + int mutable_bitField0_ = 0; + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: { + if (!parseUnknownField(input, + extensionRegistry, tag)) { + done = true; + } + break; + } + case 8: { + int rawValue = input.readEnum(); + de.pokerth.protocol.ProtoBuf.NetAvatarType value = de.pokerth.protocol.ProtoBuf.NetAvatarType.valueOf(rawValue); + if (value != null) { + bitField0_ |= 0x00000001; + avatarType_ = value; + } + break; + } + case 18: { + bitField0_ |= 0x00000002; + avatarHash_ = input.readBytes(); + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e.getMessage()).setUnfinishedMessage(this); + } finally { + makeExtensionsImmutable(); + } + } + public static com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + public AvatarData parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AvatarData(input, extensionRegistry); + } + }; + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + private int bitField0_; - + // required .NetAvatarType avatarType = 1; + public static final int AVATARTYPE_FIELD_NUMBER = 1; + private de.pokerth.protocol.ProtoBuf.NetAvatarType avatarType_; + /** + * required .NetAvatarType avatarType = 1; + */ + public boolean hasAvatarType() { + return ((bitField0_ & 0x00000001) == 0x00000001); + } + /** + * required .NetAvatarType avatarType = 1; + */ + public de.pokerth.protocol.ProtoBuf.NetAvatarType getAvatarType() { + return avatarType_; + } + + // required bytes avatarHash = 2; + public static final int AVATARHASH_FIELD_NUMBER = 2; + private com.google.protobuf.ByteString avatarHash_; + /** + * required bytes avatarHash = 2; + */ + public boolean hasAvatarHash() { + return ((bitField0_ & 0x00000002) == 0x00000002); + } + /** + * required bytes avatarHash = 2; + */ + public com.google.protobuf.ByteString getAvatarHash() { + return avatarHash_; + } + + private void initFields() { + avatarType_ = de.pokerth.protocol.ProtoBuf.NetAvatarType.netAvatarImagePng; + avatarHash_ = com.google.protobuf.ByteString.EMPTY; + } + private byte memoizedIsInitialized = -1; + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized != -1) return isInitialized == 1; + + if (!hasAvatarType()) { + memoizedIsInitialized = 0; + return false; + } + if (!hasAvatarHash()) { + memoizedIsInitialized = 0; + return false; + } + memoizedIsInitialized = 1; + return true; + } + + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + getSerializedSize(); + if (((bitField0_ & 0x00000001) == 0x00000001)) { + output.writeEnum(1, avatarType_.getNumber()); + } + if (((bitField0_ & 0x00000002) == 0x00000002)) { + output.writeBytes(2, avatarHash_); + } + } + + private int memoizedSerializedSize = -1; + public int getSerializedSize() { + int size = memoizedSerializedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) == 0x00000001)) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, avatarType_.getNumber()); + } + if (((bitField0_ & 0x00000002) == 0x00000002)) { + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(2, avatarHash_); + } + memoizedSerializedSize = size; + return size; + } + + private static final long serialVersionUID = 0L; + @java.lang.Override + protected java.lang.Object writeReplace() + throws java.io.ObjectStreamException { + return super.writeReplace(); + } + + public static de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData.AvatarData parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData.AvatarData parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData.AvatarData parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData.AvatarData parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData.AvatarData parseFrom(java.io.InputStream input) + throws java.io.IOException { + return PARSER.parseFrom(input); + } + public static de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData.AvatarData parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseFrom(input, extensionRegistry); + } + public static de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData.AvatarData parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return PARSER.parseDelimitedFrom(input); + } + public static de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData.AvatarData parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseDelimitedFrom(input, extensionRegistry); + } + public static de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData.AvatarData parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return PARSER.parseFrom(input); + } + public static de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData.AvatarData parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseFrom(input, extensionRegistry); + } + + public static Builder newBuilder() { return Builder.create(); } + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData.AvatarData prototype) { + return newBuilder().mergeFrom(prototype); + } + public Builder toBuilder() { return newBuilder(this); } + + /** + * Protobuf type {@code PlayerInfoReplyMessage.PlayerInfoData.AvatarData} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageLite.Builder< + de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData.AvatarData, Builder> + implements de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData.AvatarDataOrBuilder { + // Construct using de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData.AvatarData.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + } + private static Builder create() { + return new Builder(); + } + + public Builder clear() { + super.clear(); + avatarType_ = de.pokerth.protocol.ProtoBuf.NetAvatarType.netAvatarImagePng; + bitField0_ = (bitField0_ & ~0x00000001); + avatarHash_ = com.google.protobuf.ByteString.EMPTY; + bitField0_ = (bitField0_ & ~0x00000002); + return this; + } + + public Builder clone() { + return create().mergeFrom(buildPartial()); + } + + public de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData.AvatarData getDefaultInstanceForType() { + return de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData.AvatarData.getDefaultInstance(); + } + + public de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData.AvatarData build() { + de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData.AvatarData result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + public de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData.AvatarData buildPartial() { + de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData.AvatarData result = new de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData.AvatarData(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) == 0x00000001)) { + to_bitField0_ |= 0x00000001; + } + result.avatarType_ = avatarType_; + if (((from_bitField0_ & 0x00000002) == 0x00000002)) { + to_bitField0_ |= 0x00000002; + } + result.avatarHash_ = avatarHash_; + result.bitField0_ = to_bitField0_; + return result; + } + + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData.AvatarData other) { + if (other == de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData.AvatarData.getDefaultInstance()) return this; + if (other.hasAvatarType()) { + setAvatarType(other.getAvatarType()); + } + if (other.hasAvatarHash()) { + setAvatarHash(other.getAvatarHash()); + } + return this; + } + + public final boolean isInitialized() { + if (!hasAvatarType()) { + + return false; + } + if (!hasAvatarHash()) { + + return false; + } + return true; + } + + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData.AvatarData parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData.AvatarData) e.getUnfinishedMessage(); + throw e; + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int bitField0_; + + // required .NetAvatarType avatarType = 1; + private de.pokerth.protocol.ProtoBuf.NetAvatarType avatarType_ = de.pokerth.protocol.ProtoBuf.NetAvatarType.netAvatarImagePng; + /** + * required .NetAvatarType avatarType = 1; + */ + public boolean hasAvatarType() { + return ((bitField0_ & 0x00000001) == 0x00000001); + } + /** + * required .NetAvatarType avatarType = 1; + */ + public de.pokerth.protocol.ProtoBuf.NetAvatarType getAvatarType() { + return avatarType_; + } + /** + * required .NetAvatarType avatarType = 1; + */ + public Builder setAvatarType(de.pokerth.protocol.ProtoBuf.NetAvatarType value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000001; + avatarType_ = value; + + return this; + } + /** + * required .NetAvatarType avatarType = 1; + */ + public Builder clearAvatarType() { + bitField0_ = (bitField0_ & ~0x00000001); + avatarType_ = de.pokerth.protocol.ProtoBuf.NetAvatarType.netAvatarImagePng; + + return this; + } + + // required bytes avatarHash = 2; + private com.google.protobuf.ByteString avatarHash_ = com.google.protobuf.ByteString.EMPTY; + /** + * required bytes avatarHash = 2; + */ + public boolean hasAvatarHash() { + return ((bitField0_ & 0x00000002) == 0x00000002); + } + /** + * required bytes avatarHash = 2; + */ + public com.google.protobuf.ByteString getAvatarHash() { + return avatarHash_; + } + /** + * required bytes avatarHash = 2; + */ + public Builder setAvatarHash(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000002; + avatarHash_ = value; + + return this; + } + /** + * required bytes avatarHash = 2; + */ + public Builder clearAvatarHash() { + bitField0_ = (bitField0_ & ~0x00000002); + avatarHash_ = getDefaultInstance().getAvatarHash(); + + return this; + } + + // @@protoc_insertion_point(builder_scope:PlayerInfoReplyMessage.PlayerInfoData.AvatarData) + } + + static { + defaultInstance = new AvatarData(true); + defaultInstance.initFields(); + } + + // @@protoc_insertion_point(class_scope:PlayerInfoReplyMessage.PlayerInfoData.AvatarData) + } + + private int bitField0_; + // required string playerName = 1; + public static final int PLAYERNAME_FIELD_NUMBER = 1; + private java.lang.Object playerName_; + /** + * required string playerName = 1; + */ + public boolean hasPlayerName() { + return ((bitField0_ & 0x00000001) == 0x00000001); + } + /** + * required string playerName = 1; + */ + public java.lang.String getPlayerName() { + java.lang.Object ref = playerName_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + playerName_ = s; + } + return s; + } + } + /** + * required string playerName = 1; + */ + public com.google.protobuf.ByteString + getPlayerNameBytes() { + java.lang.Object ref = playerName_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + playerName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + // required bool isHuman = 2; + public static final int ISHUMAN_FIELD_NUMBER = 2; + private boolean isHuman_; + /** + * required bool isHuman = 2; + */ + public boolean hasIsHuman() { + return ((bitField0_ & 0x00000002) == 0x00000002); + } + /** + * required bool isHuman = 2; + */ + public boolean getIsHuman() { + return isHuman_; + } + + // required .NetPlayerInfoRights playerRights = 3; + public static final int PLAYERRIGHTS_FIELD_NUMBER = 3; + private de.pokerth.protocol.ProtoBuf.NetPlayerInfoRights playerRights_; + /** + * required .NetPlayerInfoRights playerRights = 3; + */ + public boolean hasPlayerRights() { + return ((bitField0_ & 0x00000004) == 0x00000004); + } + /** + * required .NetPlayerInfoRights playerRights = 3; + */ + public de.pokerth.protocol.ProtoBuf.NetPlayerInfoRights getPlayerRights() { + return playerRights_; + } + + // optional string countryCode = 4; + public static final int COUNTRYCODE_FIELD_NUMBER = 4; + private java.lang.Object countryCode_; + /** + * optional string countryCode = 4; + */ + public boolean hasCountryCode() { + return ((bitField0_ & 0x00000008) == 0x00000008); + } + /** + * optional string countryCode = 4; + */ + public java.lang.String getCountryCode() { + java.lang.Object ref = countryCode_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + countryCode_ = s; + } + return s; + } + } + /** + * optional string countryCode = 4; + */ + public com.google.protobuf.ByteString + getCountryCodeBytes() { + java.lang.Object ref = countryCode_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + countryCode_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + // optional .PlayerInfoReplyMessage.PlayerInfoData.AvatarData avatarData = 5; + public static final int AVATARDATA_FIELD_NUMBER = 5; + private de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData.AvatarData avatarData_; + /** + * optional .PlayerInfoReplyMessage.PlayerInfoData.AvatarData avatarData = 5; + */ + public boolean hasAvatarData() { + return ((bitField0_ & 0x00000010) == 0x00000010); + } + /** + * optional .PlayerInfoReplyMessage.PlayerInfoData.AvatarData avatarData = 5; + */ + public de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData.AvatarData getAvatarData() { + return avatarData_; + } + + private void initFields() { + playerName_ = ""; + isHuman_ = false; + playerRights_ = de.pokerth.protocol.ProtoBuf.NetPlayerInfoRights.netPlayerRightsGuest; + countryCode_ = ""; + avatarData_ = de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData.AvatarData.getDefaultInstance(); + } + private byte memoizedIsInitialized = -1; + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized != -1) return isInitialized == 1; + + if (!hasPlayerName()) { + memoizedIsInitialized = 0; + return false; + } + if (!hasIsHuman()) { + memoizedIsInitialized = 0; + return false; + } + if (!hasPlayerRights()) { + memoizedIsInitialized = 0; + return false; + } + if (hasAvatarData()) { + if (!getAvatarData().isInitialized()) { + memoizedIsInitialized = 0; + return false; + } + } + memoizedIsInitialized = 1; + return true; + } + + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + getSerializedSize(); + if (((bitField0_ & 0x00000001) == 0x00000001)) { + output.writeBytes(1, getPlayerNameBytes()); + } + if (((bitField0_ & 0x00000002) == 0x00000002)) { + output.writeBool(2, isHuman_); + } + if (((bitField0_ & 0x00000004) == 0x00000004)) { + output.writeEnum(3, playerRights_.getNumber()); + } + if (((bitField0_ & 0x00000008) == 0x00000008)) { + output.writeBytes(4, getCountryCodeBytes()); + } + if (((bitField0_ & 0x00000010) == 0x00000010)) { + output.writeMessage(5, avatarData_); + } + } + + private int memoizedSerializedSize = -1; + public int getSerializedSize() { + int size = memoizedSerializedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) == 0x00000001)) { + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(1, getPlayerNameBytes()); + } + if (((bitField0_ & 0x00000002) == 0x00000002)) { + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(2, isHuman_); + } + if (((bitField0_ & 0x00000004) == 0x00000004)) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(3, playerRights_.getNumber()); + } + if (((bitField0_ & 0x00000008) == 0x00000008)) { + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(4, getCountryCodeBytes()); + } + if (((bitField0_ & 0x00000010) == 0x00000010)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, avatarData_); + } + memoizedSerializedSize = size; + return size; + } + + private static final long serialVersionUID = 0L; + @java.lang.Override + protected java.lang.Object writeReplace() + throws java.io.ObjectStreamException { + return super.writeReplace(); + } + + public static de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData parseFrom(java.io.InputStream input) + throws java.io.IOException { + return PARSER.parseFrom(input); + } + public static de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseFrom(input, extensionRegistry); + } + public static de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return PARSER.parseDelimitedFrom(input); + } + public static de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseDelimitedFrom(input, extensionRegistry); + } + public static de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return PARSER.parseFrom(input); + } + public static de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseFrom(input, extensionRegistry); + } + + public static Builder newBuilder() { return Builder.create(); } + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData prototype) { + return newBuilder().mergeFrom(prototype); + } + public Builder toBuilder() { return newBuilder(this); } + + /** + * Protobuf type {@code PlayerInfoReplyMessage.PlayerInfoData} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageLite.Builder< + de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData, Builder> + implements de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoDataOrBuilder { + // Construct using de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + } + private static Builder create() { + return new Builder(); + } + + public Builder clear() { + super.clear(); + playerName_ = ""; + bitField0_ = (bitField0_ & ~0x00000001); + isHuman_ = false; + bitField0_ = (bitField0_ & ~0x00000002); + playerRights_ = de.pokerth.protocol.ProtoBuf.NetPlayerInfoRights.netPlayerRightsGuest; + bitField0_ = (bitField0_ & ~0x00000004); + countryCode_ = ""; + bitField0_ = (bitField0_ & ~0x00000008); + avatarData_ = de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData.AvatarData.getDefaultInstance(); + bitField0_ = (bitField0_ & ~0x00000010); + return this; + } + + public Builder clone() { + return create().mergeFrom(buildPartial()); + } + + public de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData getDefaultInstanceForType() { + return de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData.getDefaultInstance(); + } + + public de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData build() { + de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + public de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData buildPartial() { + de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData result = new de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) == 0x00000001)) { + to_bitField0_ |= 0x00000001; + } + result.playerName_ = playerName_; + if (((from_bitField0_ & 0x00000002) == 0x00000002)) { + to_bitField0_ |= 0x00000002; + } + result.isHuman_ = isHuman_; + if (((from_bitField0_ & 0x00000004) == 0x00000004)) { + to_bitField0_ |= 0x00000004; + } + result.playerRights_ = playerRights_; + if (((from_bitField0_ & 0x00000008) == 0x00000008)) { + to_bitField0_ |= 0x00000008; + } + result.countryCode_ = countryCode_; + if (((from_bitField0_ & 0x00000010) == 0x00000010)) { + to_bitField0_ |= 0x00000010; + } + result.avatarData_ = avatarData_; + result.bitField0_ = to_bitField0_; + return result; + } + + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData other) { + if (other == de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData.getDefaultInstance()) return this; + if (other.hasPlayerName()) { + bitField0_ |= 0x00000001; + playerName_ = other.playerName_; + + } + if (other.hasIsHuman()) { + setIsHuman(other.getIsHuman()); + } + if (other.hasPlayerRights()) { + setPlayerRights(other.getPlayerRights()); + } + if (other.hasCountryCode()) { + bitField0_ |= 0x00000008; + countryCode_ = other.countryCode_; + + } + if (other.hasAvatarData()) { + mergeAvatarData(other.getAvatarData()); + } + return this; + } + + public final boolean isInitialized() { + if (!hasPlayerName()) { + + return false; + } + if (!hasIsHuman()) { + + return false; + } + if (!hasPlayerRights()) { + + return false; + } + if (hasAvatarData()) { + if (!getAvatarData().isInitialized()) { + + return false; + } + } + return true; + } + + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData) e.getUnfinishedMessage(); + throw e; + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int bitField0_; + // required string playerName = 1; private java.lang.Object playerName_ = ""; + /** + * required string playerName = 1; + */ public boolean hasPlayerName() { return ((bitField0_ & 0x00000001) == 0x00000001); } - public String getPlayerName() { + /** + * required string playerName = 1; + */ + public java.lang.String getPlayerName() { java.lang.Object ref = playerName_; - if (!(ref instanceof String)) { - String s = ((com.google.protobuf.ByteString) ref).toStringUtf8(); + if (!(ref instanceof java.lang.String)) { + java.lang.String s = ((com.google.protobuf.ByteString) ref) + .toStringUtf8(); playerName_ = s; return s; } else { - return (String) ref; + return (java.lang.String) ref; } } - public Builder setPlayerName(String value) { + /** + * required string playerName = 1; + */ + public com.google.protobuf.ByteString + getPlayerNameBytes() { + java.lang.Object ref = playerName_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + playerName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * required string playerName = 1; + */ + public Builder setPlayerName( + java.lang.String value) { if (value == null) { throw new NullPointerException(); } @@ -11860,47 +15232,79 @@ public final class ProtoBuf { return this; } + /** + * required string playerName = 1; + */ public Builder clearPlayerName() { bitField0_ = (bitField0_ & ~0x00000001); playerName_ = getDefaultInstance().getPlayerName(); return this; } - void setPlayerName(com.google.protobuf.ByteString value) { - bitField0_ |= 0x00000001; + /** + * required string playerName = 1; + */ + public Builder setPlayerNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000001; playerName_ = value; + return this; } - + // required bool isHuman = 2; private boolean isHuman_ ; + /** + * required bool isHuman = 2; + */ public boolean hasIsHuman() { return ((bitField0_ & 0x00000002) == 0x00000002); } + /** + * required bool isHuman = 2; + */ public boolean getIsHuman() { return isHuman_; } + /** + * required bool isHuman = 2; + */ public Builder setIsHuman(boolean value) { bitField0_ |= 0x00000002; isHuman_ = value; return this; } + /** + * required bool isHuman = 2; + */ public Builder clearIsHuman() { bitField0_ = (bitField0_ & ~0x00000002); isHuman_ = false; return this; } - + // required .NetPlayerInfoRights playerRights = 3; private de.pokerth.protocol.ProtoBuf.NetPlayerInfoRights playerRights_ = de.pokerth.protocol.ProtoBuf.NetPlayerInfoRights.netPlayerRightsGuest; + /** + * required .NetPlayerInfoRights playerRights = 3; + */ public boolean hasPlayerRights() { return ((bitField0_ & 0x00000004) == 0x00000004); } + /** + * required .NetPlayerInfoRights playerRights = 3; + */ public de.pokerth.protocol.ProtoBuf.NetPlayerInfoRights getPlayerRights() { return playerRights_; } + /** + * required .NetPlayerInfoRights playerRights = 3; + */ public Builder setPlayerRights(de.pokerth.protocol.ProtoBuf.NetPlayerInfoRights value) { if (value == null) { throw new NullPointerException(); @@ -11910,29 +15314,59 @@ public final class ProtoBuf { return this; } + /** + * required .NetPlayerInfoRights playerRights = 3; + */ public Builder clearPlayerRights() { bitField0_ = (bitField0_ & ~0x00000004); playerRights_ = de.pokerth.protocol.ProtoBuf.NetPlayerInfoRights.netPlayerRightsGuest; return this; } - + // optional string countryCode = 4; private java.lang.Object countryCode_ = ""; + /** + * optional string countryCode = 4; + */ public boolean hasCountryCode() { return ((bitField0_ & 0x00000008) == 0x00000008); } - public String getCountryCode() { + /** + * optional string countryCode = 4; + */ + public java.lang.String getCountryCode() { java.lang.Object ref = countryCode_; - if (!(ref instanceof String)) { - String s = ((com.google.protobuf.ByteString) ref).toStringUtf8(); + if (!(ref instanceof java.lang.String)) { + java.lang.String s = ((com.google.protobuf.ByteString) ref) + .toStringUtf8(); countryCode_ = s; return s; } else { - return (String) ref; + return (java.lang.String) ref; } } - public Builder setCountryCode(String value) { + /** + * optional string countryCode = 4; + */ + public com.google.protobuf.ByteString + getCountryCodeBytes() { + java.lang.Object ref = countryCode_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + countryCode_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * optional string countryCode = 4; + */ + public Builder setCountryCode( + java.lang.String value) { if (value == null) { throw new NullPointerException(); } @@ -11941,42 +15375,68 @@ public final class ProtoBuf { return this; } + /** + * optional string countryCode = 4; + */ public Builder clearCountryCode() { bitField0_ = (bitField0_ & ~0x00000008); countryCode_ = getDefaultInstance().getCountryCode(); return this; } - void setCountryCode(com.google.protobuf.ByteString value) { - bitField0_ |= 0x00000008; + /** + * optional string countryCode = 4; + */ + public Builder setCountryCodeBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000008; countryCode_ = value; + return this; } - + // optional .PlayerInfoReplyMessage.PlayerInfoData.AvatarData avatarData = 5; private de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData.AvatarData avatarData_ = de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData.AvatarData.getDefaultInstance(); + /** + * optional .PlayerInfoReplyMessage.PlayerInfoData.AvatarData avatarData = 5; + */ public boolean hasAvatarData() { return ((bitField0_ & 0x00000010) == 0x00000010); } + /** + * optional .PlayerInfoReplyMessage.PlayerInfoData.AvatarData avatarData = 5; + */ public de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData.AvatarData getAvatarData() { return avatarData_; } + /** + * optional .PlayerInfoReplyMessage.PlayerInfoData.AvatarData avatarData = 5; + */ public Builder setAvatarData(de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData.AvatarData value) { if (value == null) { throw new NullPointerException(); } avatarData_ = value; - + bitField0_ |= 0x00000010; return this; } + /** + * optional .PlayerInfoReplyMessage.PlayerInfoData.AvatarData avatarData = 5; + */ public Builder setAvatarData( de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData.AvatarData.Builder builderForValue) { avatarData_ = builderForValue.build(); - + bitField0_ |= 0x00000010; return this; } + /** + * optional .PlayerInfoReplyMessage.PlayerInfoData.AvatarData avatarData = 5; + */ public Builder mergeAvatarData(de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData.AvatarData value) { if (((bitField0_ & 0x00000010) == 0x00000010) && avatarData_ != de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData.AvatarData.getDefaultInstance()) { @@ -11985,49 +15445,64 @@ public final class ProtoBuf { } else { avatarData_ = value; } - + bitField0_ |= 0x00000010; return this; } + /** + * optional .PlayerInfoReplyMessage.PlayerInfoData.AvatarData avatarData = 5; + */ public Builder clearAvatarData() { avatarData_ = de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData.AvatarData.getDefaultInstance(); - + bitField0_ = (bitField0_ & ~0x00000010); return this; } - + // @@protoc_insertion_point(builder_scope:PlayerInfoReplyMessage.PlayerInfoData) } - + static { defaultInstance = new PlayerInfoData(true); defaultInstance.initFields(); } - + // @@protoc_insertion_point(class_scope:PlayerInfoReplyMessage.PlayerInfoData) } - + private int bitField0_; // required uint32 playerId = 1; public static final int PLAYERID_FIELD_NUMBER = 1; private int playerId_; + /** + * required uint32 playerId = 1; + */ public boolean hasPlayerId() { return ((bitField0_ & 0x00000001) == 0x00000001); } + /** + * required uint32 playerId = 1; + */ public int getPlayerId() { return playerId_; } - + // optional .PlayerInfoReplyMessage.PlayerInfoData playerInfoData = 2; public static final int PLAYERINFODATA_FIELD_NUMBER = 2; private de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData playerInfoData_; + /** + * optional .PlayerInfoReplyMessage.PlayerInfoData playerInfoData = 2; + */ public boolean hasPlayerInfoData() { return ((bitField0_ & 0x00000002) == 0x00000002); } + /** + * optional .PlayerInfoReplyMessage.PlayerInfoData playerInfoData = 2; + */ public de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData getPlayerInfoData() { return playerInfoData_; } - + private void initFields() { playerId_ = 0; playerInfoData_ = de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData.getDefaultInstance(); @@ -12036,7 +15511,7 @@ public final class ProtoBuf { public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; - + if (!hasPlayerId()) { memoizedIsInitialized = 0; return false; @@ -12050,7 +15525,7 @@ public final class ProtoBuf { memoizedIsInitialized = 1; return true; } - + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); @@ -12061,12 +15536,12 @@ public final class ProtoBuf { output.writeMessage(2, playerInfoData_); } } - + private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; - + size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream @@ -12079,88 +15554,77 @@ public final class ProtoBuf { memoizedSerializedSize = size; return size; } - + private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } - + public static de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data).buildParsed(); + return PARSER.parseFrom(data); } public static de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(data, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data).buildParsed(); + return PARSER.parseFrom(data); } public static de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(data, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage parseFrom(java.io.InputStream input) throws java.io.IOException { - return newBuilder().mergeFrom(input).buildParsed(); + return PARSER.parseFrom(input); } public static de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return newBuilder().mergeFrom(input, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - Builder builder = newBuilder(); - if (builder.mergeDelimitedFrom(input)) { - return builder.buildParsed(); - } else { - return null; - } + return PARSER.parseDelimitedFrom(input); } public static de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - Builder builder = newBuilder(); - if (builder.mergeDelimitedFrom(input, extensionRegistry)) { - return builder.buildParsed(); - } else { - return null; - } + return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return newBuilder().mergeFrom(input).buildParsed(); + return PARSER.parseFrom(input); } public static de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return newBuilder().mergeFrom(input, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(input, extensionRegistry); } - + public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } - + + /** + * Protobuf type {@code PlayerInfoReplyMessage} + */ public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage, Builder> @@ -12169,13 +15633,13 @@ public final class ProtoBuf { private Builder() { maybeForceBuilderInitialization(); } - + private void maybeForceBuilderInitialization() { } private static Builder create() { return new Builder(); } - + public Builder clear() { super.clear(); playerId_ = 0; @@ -12184,15 +15648,15 @@ public final class ProtoBuf { bitField0_ = (bitField0_ & ~0x00000002); return this; } - + public Builder clone() { return create().mergeFrom(buildPartial()); } - + public de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage getDefaultInstanceForType() { return de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.getDefaultInstance(); } - + public de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage build() { de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage result = buildPartial(); if (!result.isInitialized()) { @@ -12200,17 +15664,7 @@ public final class ProtoBuf { } return result; } - - private de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage buildParsed() - throws com.google.protobuf.InvalidProtocolBufferException { - de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException( - result).asInvalidProtocolBufferException(); - } - return result; - } - + public de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage buildPartial() { de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage result = new de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage(this); int from_bitField0_ = bitField0_; @@ -12226,7 +15680,7 @@ public final class ProtoBuf { result.bitField0_ = to_bitField0_; return result; } - + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage other) { if (other == de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.getDefaultInstance()) return this; if (other.hasPlayerId()) { @@ -12237,7 +15691,7 @@ public final class ProtoBuf { } return this; } - + public final boolean isInitialized() { if (!hasPlayerId()) { @@ -12251,89 +15705,98 @@ public final class ProtoBuf { } return true; } - + public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - while (true) { - int tag = input.readTag(); - switch (tag) { - case 0: - - return this; - default: { - if (!parseUnknownField(input, extensionRegistry, tag)) { - - return this; - } - break; - } - case 8: { - bitField0_ |= 0x00000001; - playerId_ = input.readUInt32(); - break; - } - case 18: { - de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData.Builder subBuilder = de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData.newBuilder(); - if (hasPlayerInfoData()) { - subBuilder.mergeFrom(getPlayerInfoData()); - } - input.readMessage(subBuilder, extensionRegistry); - setPlayerInfoData(subBuilder.buildPartial()); - break; - } + de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage) e.getUnfinishedMessage(); + throw e; + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); } } + return this; } - private int bitField0_; - + // required uint32 playerId = 1; private int playerId_ ; + /** + * required uint32 playerId = 1; + */ public boolean hasPlayerId() { return ((bitField0_ & 0x00000001) == 0x00000001); } + /** + * required uint32 playerId = 1; + */ public int getPlayerId() { return playerId_; } + /** + * required uint32 playerId = 1; + */ public Builder setPlayerId(int value) { bitField0_ |= 0x00000001; playerId_ = value; return this; } + /** + * required uint32 playerId = 1; + */ public Builder clearPlayerId() { bitField0_ = (bitField0_ & ~0x00000001); playerId_ = 0; return this; } - + // optional .PlayerInfoReplyMessage.PlayerInfoData playerInfoData = 2; private de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData playerInfoData_ = de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData.getDefaultInstance(); + /** + * optional .PlayerInfoReplyMessage.PlayerInfoData playerInfoData = 2; + */ public boolean hasPlayerInfoData() { return ((bitField0_ & 0x00000002) == 0x00000002); } + /** + * optional .PlayerInfoReplyMessage.PlayerInfoData playerInfoData = 2; + */ public de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData getPlayerInfoData() { return playerInfoData_; } + /** + * optional .PlayerInfoReplyMessage.PlayerInfoData playerInfoData = 2; + */ public Builder setPlayerInfoData(de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData value) { if (value == null) { throw new NullPointerException(); } playerInfoData_ = value; - + bitField0_ |= 0x00000002; return this; } + /** + * optional .PlayerInfoReplyMessage.PlayerInfoData playerInfoData = 2; + */ public Builder setPlayerInfoData( de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData.Builder builderForValue) { playerInfoData_ = builderForValue.build(); - + bitField0_ |= 0x00000002; return this; } + /** + * optional .PlayerInfoReplyMessage.PlayerInfoData playerInfoData = 2; + */ public Builder mergePlayerInfoData(de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData value) { if (((bitField0_ & 0x00000002) == 0x00000002) && playerInfoData_ != de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData.getDefaultInstance()) { @@ -12342,314 +15805,89 @@ public final class ProtoBuf { } else { playerInfoData_ = value; } - + bitField0_ |= 0x00000002; return this; } + /** + * optional .PlayerInfoReplyMessage.PlayerInfoData playerInfoData = 2; + */ public Builder clearPlayerInfoData() { playerInfoData_ = de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData.getDefaultInstance(); - + bitField0_ = (bitField0_ & ~0x00000002); return this; } - + // @@protoc_insertion_point(builder_scope:PlayerInfoReplyMessage) } - + static { defaultInstance = new PlayerInfoReplyMessage(true); defaultInstance.initFields(); } - + // @@protoc_insertion_point(class_scope:PlayerInfoReplyMessage) } - + public interface SubscriptionRequestMessageOrBuilder extends com.google.protobuf.MessageLiteOrBuilder { - + // required .SubscriptionRequestMessage.SubscriptionAction subscriptionAction = 1; + /** + * required .SubscriptionRequestMessage.SubscriptionAction subscriptionAction = 1; + */ boolean hasSubscriptionAction(); + /** + * required .SubscriptionRequestMessage.SubscriptionAction subscriptionAction = 1; + */ de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage.SubscriptionAction getSubscriptionAction(); } + /** + * Protobuf type {@code SubscriptionRequestMessage} + * + *
+   * The following request will not be confirmed by the server. It is used,
+   * optionally, to reduce server traffic. The server might ignore it.
+   * 
+ */ public static final class SubscriptionRequestMessage extends com.google.protobuf.GeneratedMessageLite implements SubscriptionRequestMessageOrBuilder { // Use SubscriptionRequestMessage.newBuilder() to construct. - private SubscriptionRequestMessage(Builder builder) { + private SubscriptionRequestMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); + } private SubscriptionRequestMessage(boolean noInit) {} - + private static final SubscriptionRequestMessage defaultInstance; public static SubscriptionRequestMessage getDefaultInstance() { return defaultInstance; } - + public SubscriptionRequestMessage getDefaultInstanceForType() { return defaultInstance; } - - public enum SubscriptionAction - implements com.google.protobuf.Internal.EnumLite { - unsubscribeGameList(0, 1), - resubscribeGameList(1, 2), - ; - - public static final int unsubscribeGameList_VALUE = 1; - public static final int resubscribeGameList_VALUE = 2; - - - public final int getNumber() { return value; } - - public static SubscriptionAction valueOf(int value) { - switch (value) { - case 1: return unsubscribeGameList; - case 2: return resubscribeGameList; - default: return null; - } - } - - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { - return internalValueMap; - } - private static com.google.protobuf.Internal.EnumLiteMap - internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public SubscriptionAction findValueByNumber(int number) { - return SubscriptionAction.valueOf(number); - } - }; - - private final int value; - - private SubscriptionAction(int index, int value) { - this.value = value; - } - - // @@protoc_insertion_point(enum_scope:SubscriptionRequestMessage.SubscriptionAction) - } - - private int bitField0_; - // required .SubscriptionRequestMessage.SubscriptionAction subscriptionAction = 1; - public static final int SUBSCRIPTIONACTION_FIELD_NUMBER = 1; - private de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage.SubscriptionAction subscriptionAction_; - public boolean hasSubscriptionAction() { - return ((bitField0_ & 0x00000001) == 0x00000001); - } - public de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage.SubscriptionAction getSubscriptionAction() { - return subscriptionAction_; - } - - private void initFields() { - subscriptionAction_ = de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage.SubscriptionAction.unsubscribeGameList; - } - private byte memoizedIsInitialized = -1; - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; - - if (!hasSubscriptionAction()) { - memoizedIsInitialized = 0; - return false; - } - memoizedIsInitialized = 1; - return true; - } - - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - getSerializedSize(); - if (((bitField0_ & 0x00000001) == 0x00000001)) { - output.writeEnum(1, subscriptionAction_.getNumber()); - } - } - - private int memoizedSerializedSize = -1; - public int getSerializedSize() { - int size = memoizedSerializedSize; - if (size != -1) return size; - - size = 0; - if (((bitField0_ & 0x00000001) == 0x00000001)) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, subscriptionAction_.getNumber()); - } - memoizedSerializedSize = size; - return size; - } - - private static final long serialVersionUID = 0L; - @java.lang.Override - protected java.lang.Object writeReplace() - throws java.io.ObjectStreamException { - return super.writeReplace(); - } - - public static de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data).buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data, extensionRegistry) - .buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data).buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data, extensionRegistry) - .buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage parseFrom(java.io.InputStream input) - throws java.io.IOException { - return newBuilder().mergeFrom(input).buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return newBuilder().mergeFrom(input, extensionRegistry) - .buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - Builder builder = newBuilder(); - if (builder.mergeDelimitedFrom(input)) { - return builder.buildParsed(); - } else { - return null; - } - } - public static de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - Builder builder = newBuilder(); - if (builder.mergeDelimitedFrom(input, extensionRegistry)) { - return builder.buildParsed(); - } else { - return null; - } - } - public static de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return newBuilder().mergeFrom(input).buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage parseFrom( + + private SubscriptionRequestMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return newBuilder().mergeFrom(input, extensionRegistry) - .buildParsed(); - } - - public static Builder newBuilder() { return Builder.create(); } - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage prototype) { - return newBuilder().mergeFrom(prototype); - } - public Builder toBuilder() { return newBuilder(this); } - - public static final class Builder extends - com.google.protobuf.GeneratedMessageLite.Builder< - de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessageOrBuilder { - // Construct using de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - } - private static Builder create() { - return new Builder(); - } - - public Builder clear() { - super.clear(); - subscriptionAction_ = de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage.SubscriptionAction.unsubscribeGameList; - bitField0_ = (bitField0_ & ~0x00000001); - return this; - } - - public Builder clone() { - return create().mergeFrom(buildPartial()); - } - - public de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage getDefaultInstanceForType() { - return de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage.getDefaultInstance(); - } - - public de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage build() { - de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - private de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage buildParsed() - throws com.google.protobuf.InvalidProtocolBufferException { - de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException( - result).asInvalidProtocolBufferException(); - } - return result; - } - - public de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage buildPartial() { - de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage result = new de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage(this); - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) == 0x00000001)) { - to_bitField0_ |= 0x00000001; - } - result.subscriptionAction_ = subscriptionAction_; - result.bitField0_ = to_bitField0_; - return result; - } - - public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage other) { - if (other == de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage.getDefaultInstance()) return this; - if (other.hasSubscriptionAction()) { - setSubscriptionAction(other.getSubscriptionAction()); - } - return this; - } - - public final boolean isInitialized() { - if (!hasSubscriptionAction()) { - - return false; - } - return true; - } - - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - while (true) { + throws com.google.protobuf.InvalidProtocolBufferException { + initFields(); + int mutable_bitField0_ = 0; + try { + boolean done = false; + while (!done) { int tag = input.readTag(); switch (tag) { case 0: - - return this; + done = true; + break; default: { - if (!parseUnknownField(input, extensionRegistry, tag)) { - - return this; + if (!parseUnknownField(input, + extensionRegistry, tag)) { + done = true; } break; } @@ -12664,18 +15902,318 @@ public final class ProtoBuf { } } } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e.getMessage()).setUnfinishedMessage(this); + } finally { + makeExtensionsImmutable(); + } + } + public static com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + public SubscriptionRequestMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new SubscriptionRequestMessage(input, extensionRegistry); + } + }; + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + /** + * Protobuf enum {@code SubscriptionRequestMessage.SubscriptionAction} + */ + public enum SubscriptionAction + implements com.google.protobuf.Internal.EnumLite { + /** + * unsubscribeGameList = 1; + */ + unsubscribeGameList(0, 1), + /** + * resubscribeGameList = 2; + */ + resubscribeGameList(1, 2), + ; + + /** + * unsubscribeGameList = 1; + */ + public static final int unsubscribeGameList_VALUE = 1; + /** + * resubscribeGameList = 2; + */ + public static final int resubscribeGameList_VALUE = 2; + + + public final int getNumber() { return value; } + + public static SubscriptionAction valueOf(int value) { + switch (value) { + case 1: return unsubscribeGameList; + case 2: return resubscribeGameList; + default: return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { + return internalValueMap; + } + private static com.google.protobuf.Internal.EnumLiteMap + internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public SubscriptionAction findValueByNumber(int number) { + return SubscriptionAction.valueOf(number); + } + }; + + private final int value; + + private SubscriptionAction(int index, int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:SubscriptionRequestMessage.SubscriptionAction) + } + + private int bitField0_; + // required .SubscriptionRequestMessage.SubscriptionAction subscriptionAction = 1; + public static final int SUBSCRIPTIONACTION_FIELD_NUMBER = 1; + private de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage.SubscriptionAction subscriptionAction_; + /** + * required .SubscriptionRequestMessage.SubscriptionAction subscriptionAction = 1; + */ + public boolean hasSubscriptionAction() { + return ((bitField0_ & 0x00000001) == 0x00000001); + } + /** + * required .SubscriptionRequestMessage.SubscriptionAction subscriptionAction = 1; + */ + public de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage.SubscriptionAction getSubscriptionAction() { + return subscriptionAction_; + } + + private void initFields() { + subscriptionAction_ = de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage.SubscriptionAction.unsubscribeGameList; + } + private byte memoizedIsInitialized = -1; + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized != -1) return isInitialized == 1; + + if (!hasSubscriptionAction()) { + memoizedIsInitialized = 0; + return false; + } + memoizedIsInitialized = 1; + return true; + } + + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + getSerializedSize(); + if (((bitField0_ & 0x00000001) == 0x00000001)) { + output.writeEnum(1, subscriptionAction_.getNumber()); + } + } + + private int memoizedSerializedSize = -1; + public int getSerializedSize() { + int size = memoizedSerializedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) == 0x00000001)) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, subscriptionAction_.getNumber()); + } + memoizedSerializedSize = size; + return size; + } + + private static final long serialVersionUID = 0L; + @java.lang.Override + protected java.lang.Object writeReplace() + throws java.io.ObjectStreamException { + return super.writeReplace(); + } + + public static de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage parseFrom(java.io.InputStream input) + throws java.io.IOException { + return PARSER.parseFrom(input); + } + public static de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseFrom(input, extensionRegistry); + } + public static de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return PARSER.parseDelimitedFrom(input); + } + public static de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseDelimitedFrom(input, extensionRegistry); + } + public static de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return PARSER.parseFrom(input); + } + public static de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseFrom(input, extensionRegistry); + } + + public static Builder newBuilder() { return Builder.create(); } + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage prototype) { + return newBuilder().mergeFrom(prototype); + } + public Builder toBuilder() { return newBuilder(this); } + + /** + * Protobuf type {@code SubscriptionRequestMessage} + * + *
+     * The following request will not be confirmed by the server. It is used,
+     * optionally, to reduce server traffic. The server might ignore it.
+     * 
+ */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageLite.Builder< + de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage, Builder> + implements de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessageOrBuilder { + // Construct using de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + } + private static Builder create() { + return new Builder(); + } + + public Builder clear() { + super.clear(); + subscriptionAction_ = de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage.SubscriptionAction.unsubscribeGameList; + bitField0_ = (bitField0_ & ~0x00000001); + return this; + } + + public Builder clone() { + return create().mergeFrom(buildPartial()); + } + + public de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage getDefaultInstanceForType() { + return de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage.getDefaultInstance(); + } + + public de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage build() { + de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + public de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage buildPartial() { + de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage result = new de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) == 0x00000001)) { + to_bitField0_ |= 0x00000001; + } + result.subscriptionAction_ = subscriptionAction_; + result.bitField0_ = to_bitField0_; + return result; + } + + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage other) { + if (other == de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage.getDefaultInstance()) return this; + if (other.hasSubscriptionAction()) { + setSubscriptionAction(other.getSubscriptionAction()); + } + return this; + } + + public final boolean isInitialized() { + if (!hasSubscriptionAction()) { + + return false; + } + return true; + } + + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage) e.getUnfinishedMessage(); + throw e; + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; } - private int bitField0_; - + // required .SubscriptionRequestMessage.SubscriptionAction subscriptionAction = 1; private de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage.SubscriptionAction subscriptionAction_ = de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage.SubscriptionAction.unsubscribeGameList; + /** + * required .SubscriptionRequestMessage.SubscriptionAction subscriptionAction = 1; + */ public boolean hasSubscriptionAction() { return ((bitField0_ & 0x00000001) == 0x00000001); } + /** + * required .SubscriptionRequestMessage.SubscriptionAction subscriptionAction = 1; + */ public de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage.SubscriptionAction getSubscriptionAction() { return subscriptionAction_; } + /** + * required .SubscriptionRequestMessage.SubscriptionAction subscriptionAction = 1; + */ public Builder setSubscriptionAction(de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage.SubscriptionAction value) { if (value == null) { throw new NullPointerException(); @@ -12685,384 +16223,115 @@ public final class ProtoBuf { return this; } + /** + * required .SubscriptionRequestMessage.SubscriptionAction subscriptionAction = 1; + */ public Builder clearSubscriptionAction() { bitField0_ = (bitField0_ & ~0x00000001); subscriptionAction_ = de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage.SubscriptionAction.unsubscribeGameList; return this; } - + // @@protoc_insertion_point(builder_scope:SubscriptionRequestMessage) } - + static { defaultInstance = new SubscriptionRequestMessage(true); defaultInstance.initFields(); } - + // @@protoc_insertion_point(class_scope:SubscriptionRequestMessage) } - + public interface JoinExistingGameMessageOrBuilder extends com.google.protobuf.MessageLiteOrBuilder { - + // required uint32 gameId = 1; + /** + * required uint32 gameId = 1; + */ boolean hasGameId(); + /** + * required uint32 gameId = 1; + */ int getGameId(); - + // optional string password = 2; + /** + * optional string password = 2; + */ boolean hasPassword(); - String getPassword(); - + /** + * optional string password = 2; + */ + java.lang.String getPassword(); + /** + * optional string password = 2; + */ + com.google.protobuf.ByteString + getPasswordBytes(); + // optional bool autoLeave = 3; + /** + * optional bool autoLeave = 3; + */ boolean hasAutoLeave(); + /** + * optional bool autoLeave = 3; + */ boolean getAutoLeave(); - + // optional bool spectateOnly = 4; + /** + * optional bool spectateOnly = 4; + */ boolean hasSpectateOnly(); + /** + * optional bool spectateOnly = 4; + */ boolean getSpectateOnly(); } + /** + * Protobuf type {@code JoinExistingGameMessage} + */ public static final class JoinExistingGameMessage extends com.google.protobuf.GeneratedMessageLite implements JoinExistingGameMessageOrBuilder { // Use JoinExistingGameMessage.newBuilder() to construct. - private JoinExistingGameMessage(Builder builder) { + private JoinExistingGameMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); + } private JoinExistingGameMessage(boolean noInit) {} - + private static final JoinExistingGameMessage defaultInstance; public static JoinExistingGameMessage getDefaultInstance() { return defaultInstance; } - + public JoinExistingGameMessage getDefaultInstanceForType() { return defaultInstance; } - - private int bitField0_; - // required uint32 gameId = 1; - public static final int GAMEID_FIELD_NUMBER = 1; - private int gameId_; - public boolean hasGameId() { - return ((bitField0_ & 0x00000001) == 0x00000001); - } - public int getGameId() { - return gameId_; - } - - // optional string password = 2; - public static final int PASSWORD_FIELD_NUMBER = 2; - private java.lang.Object password_; - public boolean hasPassword() { - return ((bitField0_ & 0x00000002) == 0x00000002); - } - public String getPassword() { - java.lang.Object ref = password_; - if (ref instanceof String) { - return (String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - String s = bs.toStringUtf8(); - if (com.google.protobuf.Internal.isValidUtf8(bs)) { - password_ = s; - } - return s; - } - } - private com.google.protobuf.ByteString getPasswordBytes() { - java.lang.Object ref = password_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((String) ref); - password_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - // optional bool autoLeave = 3; - public static final int AUTOLEAVE_FIELD_NUMBER = 3; - private boolean autoLeave_; - public boolean hasAutoLeave() { - return ((bitField0_ & 0x00000004) == 0x00000004); - } - public boolean getAutoLeave() { - return autoLeave_; - } - - // optional bool spectateOnly = 4; - public static final int SPECTATEONLY_FIELD_NUMBER = 4; - private boolean spectateOnly_; - public boolean hasSpectateOnly() { - return ((bitField0_ & 0x00000008) == 0x00000008); - } - public boolean getSpectateOnly() { - return spectateOnly_; - } - - private void initFields() { - gameId_ = 0; - password_ = ""; - autoLeave_ = false; - spectateOnly_ = false; - } - private byte memoizedIsInitialized = -1; - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; - - if (!hasGameId()) { - memoizedIsInitialized = 0; - return false; - } - memoizedIsInitialized = 1; - return true; - } - - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - getSerializedSize(); - if (((bitField0_ & 0x00000001) == 0x00000001)) { - output.writeUInt32(1, gameId_); - } - if (((bitField0_ & 0x00000002) == 0x00000002)) { - output.writeBytes(2, getPasswordBytes()); - } - if (((bitField0_ & 0x00000004) == 0x00000004)) { - output.writeBool(3, autoLeave_); - } - if (((bitField0_ & 0x00000008) == 0x00000008)) { - output.writeBool(4, spectateOnly_); - } - } - - private int memoizedSerializedSize = -1; - public int getSerializedSize() { - int size = memoizedSerializedSize; - if (size != -1) return size; - - size = 0; - if (((bitField0_ & 0x00000001) == 0x00000001)) { - size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(1, gameId_); - } - if (((bitField0_ & 0x00000002) == 0x00000002)) { - size += com.google.protobuf.CodedOutputStream - .computeBytesSize(2, getPasswordBytes()); - } - if (((bitField0_ & 0x00000004) == 0x00000004)) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(3, autoLeave_); - } - if (((bitField0_ & 0x00000008) == 0x00000008)) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(4, spectateOnly_); - } - memoizedSerializedSize = size; - return size; - } - - private static final long serialVersionUID = 0L; - @java.lang.Override - protected java.lang.Object writeReplace() - throws java.io.ObjectStreamException { - return super.writeReplace(); - } - - public static de.pokerth.protocol.ProtoBuf.JoinExistingGameMessage parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data).buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.JoinExistingGameMessage parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data, extensionRegistry) - .buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.JoinExistingGameMessage parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data).buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.JoinExistingGameMessage parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data, extensionRegistry) - .buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.JoinExistingGameMessage parseFrom(java.io.InputStream input) - throws java.io.IOException { - return newBuilder().mergeFrom(input).buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.JoinExistingGameMessage parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return newBuilder().mergeFrom(input, extensionRegistry) - .buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.JoinExistingGameMessage parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - Builder builder = newBuilder(); - if (builder.mergeDelimitedFrom(input)) { - return builder.buildParsed(); - } else { - return null; - } - } - public static de.pokerth.protocol.ProtoBuf.JoinExistingGameMessage parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - Builder builder = newBuilder(); - if (builder.mergeDelimitedFrom(input, extensionRegistry)) { - return builder.buildParsed(); - } else { - return null; - } - } - public static de.pokerth.protocol.ProtoBuf.JoinExistingGameMessage parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return newBuilder().mergeFrom(input).buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.JoinExistingGameMessage parseFrom( + + private JoinExistingGameMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return newBuilder().mergeFrom(input, extensionRegistry) - .buildParsed(); - } - - public static Builder newBuilder() { return Builder.create(); } - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.JoinExistingGameMessage prototype) { - return newBuilder().mergeFrom(prototype); - } - public Builder toBuilder() { return newBuilder(this); } - - public static final class Builder extends - com.google.protobuf.GeneratedMessageLite.Builder< - de.pokerth.protocol.ProtoBuf.JoinExistingGameMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.JoinExistingGameMessageOrBuilder { - // Construct using de.pokerth.protocol.ProtoBuf.JoinExistingGameMessage.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - } - private static Builder create() { - return new Builder(); - } - - public Builder clear() { - super.clear(); - gameId_ = 0; - bitField0_ = (bitField0_ & ~0x00000001); - password_ = ""; - bitField0_ = (bitField0_ & ~0x00000002); - autoLeave_ = false; - bitField0_ = (bitField0_ & ~0x00000004); - spectateOnly_ = false; - bitField0_ = (bitField0_ & ~0x00000008); - return this; - } - - public Builder clone() { - return create().mergeFrom(buildPartial()); - } - - public de.pokerth.protocol.ProtoBuf.JoinExistingGameMessage getDefaultInstanceForType() { - return de.pokerth.protocol.ProtoBuf.JoinExistingGameMessage.getDefaultInstance(); - } - - public de.pokerth.protocol.ProtoBuf.JoinExistingGameMessage build() { - de.pokerth.protocol.ProtoBuf.JoinExistingGameMessage result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - private de.pokerth.protocol.ProtoBuf.JoinExistingGameMessage buildParsed() - throws com.google.protobuf.InvalidProtocolBufferException { - de.pokerth.protocol.ProtoBuf.JoinExistingGameMessage result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException( - result).asInvalidProtocolBufferException(); - } - return result; - } - - public de.pokerth.protocol.ProtoBuf.JoinExistingGameMessage buildPartial() { - de.pokerth.protocol.ProtoBuf.JoinExistingGameMessage result = new de.pokerth.protocol.ProtoBuf.JoinExistingGameMessage(this); - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) == 0x00000001)) { - to_bitField0_ |= 0x00000001; - } - result.gameId_ = gameId_; - if (((from_bitField0_ & 0x00000002) == 0x00000002)) { - to_bitField0_ |= 0x00000002; - } - result.password_ = password_; - if (((from_bitField0_ & 0x00000004) == 0x00000004)) { - to_bitField0_ |= 0x00000004; - } - result.autoLeave_ = autoLeave_; - if (((from_bitField0_ & 0x00000008) == 0x00000008)) { - to_bitField0_ |= 0x00000008; - } - result.spectateOnly_ = spectateOnly_; - result.bitField0_ = to_bitField0_; - return result; - } - - public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.JoinExistingGameMessage other) { - if (other == de.pokerth.protocol.ProtoBuf.JoinExistingGameMessage.getDefaultInstance()) return this; - if (other.hasGameId()) { - setGameId(other.getGameId()); - } - if (other.hasPassword()) { - setPassword(other.getPassword()); - } - if (other.hasAutoLeave()) { - setAutoLeave(other.getAutoLeave()); - } - if (other.hasSpectateOnly()) { - setSpectateOnly(other.getSpectateOnly()); - } - return this; - } - - public final boolean isInitialized() { - if (!hasGameId()) { - - return false; - } - return true; - } - - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - while (true) { + throws com.google.protobuf.InvalidProtocolBufferException { + initFields(); + int mutable_bitField0_ = 0; + try { + boolean done = false; + while (!done) { int tag = input.readTag(); switch (tag) { case 0: - - return this; + done = true; + break; default: { - if (!parseUnknownField(input, extensionRegistry, tag)) { - - return this; + if (!parseUnknownField(input, + extensionRegistry, tag)) { + done = true; } break; } @@ -13088,47 +16357,444 @@ public final class ProtoBuf { } } } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e.getMessage()).setUnfinishedMessage(this); + } finally { + makeExtensionsImmutable(); + } + } + public static com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + public JoinExistingGameMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new JoinExistingGameMessage(input, extensionRegistry); + } + }; + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + private int bitField0_; + // required uint32 gameId = 1; + public static final int GAMEID_FIELD_NUMBER = 1; + private int gameId_; + /** + * required uint32 gameId = 1; + */ + public boolean hasGameId() { + return ((bitField0_ & 0x00000001) == 0x00000001); + } + /** + * required uint32 gameId = 1; + */ + public int getGameId() { + return gameId_; + } + + // optional string password = 2; + public static final int PASSWORD_FIELD_NUMBER = 2; + private java.lang.Object password_; + /** + * optional string password = 2; + */ + public boolean hasPassword() { + return ((bitField0_ & 0x00000002) == 0x00000002); + } + /** + * optional string password = 2; + */ + public java.lang.String getPassword() { + java.lang.Object ref = password_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + password_ = s; + } + return s; + } + } + /** + * optional string password = 2; + */ + public com.google.protobuf.ByteString + getPasswordBytes() { + java.lang.Object ref = password_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + password_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + // optional bool autoLeave = 3; + public static final int AUTOLEAVE_FIELD_NUMBER = 3; + private boolean autoLeave_; + /** + * optional bool autoLeave = 3; + */ + public boolean hasAutoLeave() { + return ((bitField0_ & 0x00000004) == 0x00000004); + } + /** + * optional bool autoLeave = 3; + */ + public boolean getAutoLeave() { + return autoLeave_; + } + + // optional bool spectateOnly = 4; + public static final int SPECTATEONLY_FIELD_NUMBER = 4; + private boolean spectateOnly_; + /** + * optional bool spectateOnly = 4; + */ + public boolean hasSpectateOnly() { + return ((bitField0_ & 0x00000008) == 0x00000008); + } + /** + * optional bool spectateOnly = 4; + */ + public boolean getSpectateOnly() { + return spectateOnly_; + } + + private void initFields() { + gameId_ = 0; + password_ = ""; + autoLeave_ = false; + spectateOnly_ = false; + } + private byte memoizedIsInitialized = -1; + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized != -1) return isInitialized == 1; + + if (!hasGameId()) { + memoizedIsInitialized = 0; + return false; + } + memoizedIsInitialized = 1; + return true; + } + + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + getSerializedSize(); + if (((bitField0_ & 0x00000001) == 0x00000001)) { + output.writeUInt32(1, gameId_); + } + if (((bitField0_ & 0x00000002) == 0x00000002)) { + output.writeBytes(2, getPasswordBytes()); + } + if (((bitField0_ & 0x00000004) == 0x00000004)) { + output.writeBool(3, autoLeave_); + } + if (((bitField0_ & 0x00000008) == 0x00000008)) { + output.writeBool(4, spectateOnly_); + } + } + + private int memoizedSerializedSize = -1; + public int getSerializedSize() { + int size = memoizedSerializedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) == 0x00000001)) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(1, gameId_); + } + if (((bitField0_ & 0x00000002) == 0x00000002)) { + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(2, getPasswordBytes()); + } + if (((bitField0_ & 0x00000004) == 0x00000004)) { + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(3, autoLeave_); + } + if (((bitField0_ & 0x00000008) == 0x00000008)) { + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(4, spectateOnly_); + } + memoizedSerializedSize = size; + return size; + } + + private static final long serialVersionUID = 0L; + @java.lang.Override + protected java.lang.Object writeReplace() + throws java.io.ObjectStreamException { + return super.writeReplace(); + } + + public static de.pokerth.protocol.ProtoBuf.JoinExistingGameMessage parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static de.pokerth.protocol.ProtoBuf.JoinExistingGameMessage parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static de.pokerth.protocol.ProtoBuf.JoinExistingGameMessage parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static de.pokerth.protocol.ProtoBuf.JoinExistingGameMessage parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static de.pokerth.protocol.ProtoBuf.JoinExistingGameMessage parseFrom(java.io.InputStream input) + throws java.io.IOException { + return PARSER.parseFrom(input); + } + public static de.pokerth.protocol.ProtoBuf.JoinExistingGameMessage parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseFrom(input, extensionRegistry); + } + public static de.pokerth.protocol.ProtoBuf.JoinExistingGameMessage parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return PARSER.parseDelimitedFrom(input); + } + public static de.pokerth.protocol.ProtoBuf.JoinExistingGameMessage parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseDelimitedFrom(input, extensionRegistry); + } + public static de.pokerth.protocol.ProtoBuf.JoinExistingGameMessage parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return PARSER.parseFrom(input); + } + public static de.pokerth.protocol.ProtoBuf.JoinExistingGameMessage parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseFrom(input, extensionRegistry); + } + + public static Builder newBuilder() { return Builder.create(); } + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.JoinExistingGameMessage prototype) { + return newBuilder().mergeFrom(prototype); + } + public Builder toBuilder() { return newBuilder(this); } + + /** + * Protobuf type {@code JoinExistingGameMessage} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageLite.Builder< + de.pokerth.protocol.ProtoBuf.JoinExistingGameMessage, Builder> + implements de.pokerth.protocol.ProtoBuf.JoinExistingGameMessageOrBuilder { + // Construct using de.pokerth.protocol.ProtoBuf.JoinExistingGameMessage.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + } + private static Builder create() { + return new Builder(); + } + + public Builder clear() { + super.clear(); + gameId_ = 0; + bitField0_ = (bitField0_ & ~0x00000001); + password_ = ""; + bitField0_ = (bitField0_ & ~0x00000002); + autoLeave_ = false; + bitField0_ = (bitField0_ & ~0x00000004); + spectateOnly_ = false; + bitField0_ = (bitField0_ & ~0x00000008); + return this; + } + + public Builder clone() { + return create().mergeFrom(buildPartial()); + } + + public de.pokerth.protocol.ProtoBuf.JoinExistingGameMessage getDefaultInstanceForType() { + return de.pokerth.protocol.ProtoBuf.JoinExistingGameMessage.getDefaultInstance(); + } + + public de.pokerth.protocol.ProtoBuf.JoinExistingGameMessage build() { + de.pokerth.protocol.ProtoBuf.JoinExistingGameMessage result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + public de.pokerth.protocol.ProtoBuf.JoinExistingGameMessage buildPartial() { + de.pokerth.protocol.ProtoBuf.JoinExistingGameMessage result = new de.pokerth.protocol.ProtoBuf.JoinExistingGameMessage(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) == 0x00000001)) { + to_bitField0_ |= 0x00000001; + } + result.gameId_ = gameId_; + if (((from_bitField0_ & 0x00000002) == 0x00000002)) { + to_bitField0_ |= 0x00000002; + } + result.password_ = password_; + if (((from_bitField0_ & 0x00000004) == 0x00000004)) { + to_bitField0_ |= 0x00000004; + } + result.autoLeave_ = autoLeave_; + if (((from_bitField0_ & 0x00000008) == 0x00000008)) { + to_bitField0_ |= 0x00000008; + } + result.spectateOnly_ = spectateOnly_; + result.bitField0_ = to_bitField0_; + return result; + } + + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.JoinExistingGameMessage other) { + if (other == de.pokerth.protocol.ProtoBuf.JoinExistingGameMessage.getDefaultInstance()) return this; + if (other.hasGameId()) { + setGameId(other.getGameId()); + } + if (other.hasPassword()) { + bitField0_ |= 0x00000002; + password_ = other.password_; + + } + if (other.hasAutoLeave()) { + setAutoLeave(other.getAutoLeave()); + } + if (other.hasSpectateOnly()) { + setSpectateOnly(other.getSpectateOnly()); + } + return this; + } + + public final boolean isInitialized() { + if (!hasGameId()) { + + return false; + } + return true; + } + + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + de.pokerth.protocol.ProtoBuf.JoinExistingGameMessage parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (de.pokerth.protocol.ProtoBuf.JoinExistingGameMessage) e.getUnfinishedMessage(); + throw e; + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; } - private int bitField0_; - + // required uint32 gameId = 1; private int gameId_ ; + /** + * required uint32 gameId = 1; + */ public boolean hasGameId() { return ((bitField0_ & 0x00000001) == 0x00000001); } + /** + * required uint32 gameId = 1; + */ public int getGameId() { return gameId_; } + /** + * required uint32 gameId = 1; + */ public Builder setGameId(int value) { bitField0_ |= 0x00000001; gameId_ = value; return this; } + /** + * required uint32 gameId = 1; + */ public Builder clearGameId() { bitField0_ = (bitField0_ & ~0x00000001); gameId_ = 0; return this; } - + // optional string password = 2; private java.lang.Object password_ = ""; + /** + * optional string password = 2; + */ public boolean hasPassword() { return ((bitField0_ & 0x00000002) == 0x00000002); } - public String getPassword() { + /** + * optional string password = 2; + */ + public java.lang.String getPassword() { java.lang.Object ref = password_; - if (!(ref instanceof String)) { - String s = ((com.google.protobuf.ByteString) ref).toStringUtf8(); + if (!(ref instanceof java.lang.String)) { + java.lang.String s = ((com.google.protobuf.ByteString) ref) + .toStringUtf8(); password_ = s; return s; } else { - return (String) ref; + return (java.lang.String) ref; } } - public Builder setPassword(String value) { + /** + * optional string password = 2; + */ + public com.google.protobuf.ByteString + getPasswordBytes() { + java.lang.Object ref = password_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + password_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * optional string password = 2; + */ + public Builder setPassword( + java.lang.String value) { if (value == null) { throw new NullPointerException(); } @@ -13137,157 +16803,312 @@ public final class ProtoBuf { return this; } + /** + * optional string password = 2; + */ public Builder clearPassword() { bitField0_ = (bitField0_ & ~0x00000002); password_ = getDefaultInstance().getPassword(); return this; } - void setPassword(com.google.protobuf.ByteString value) { - bitField0_ |= 0x00000002; + /** + * optional string password = 2; + */ + public Builder setPasswordBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000002; password_ = value; + return this; } - + // optional bool autoLeave = 3; private boolean autoLeave_ ; + /** + * optional bool autoLeave = 3; + */ public boolean hasAutoLeave() { return ((bitField0_ & 0x00000004) == 0x00000004); } + /** + * optional bool autoLeave = 3; + */ public boolean getAutoLeave() { return autoLeave_; } + /** + * optional bool autoLeave = 3; + */ public Builder setAutoLeave(boolean value) { bitField0_ |= 0x00000004; autoLeave_ = value; return this; } + /** + * optional bool autoLeave = 3; + */ public Builder clearAutoLeave() { bitField0_ = (bitField0_ & ~0x00000004); autoLeave_ = false; return this; } - + // optional bool spectateOnly = 4; private boolean spectateOnly_ ; + /** + * optional bool spectateOnly = 4; + */ public boolean hasSpectateOnly() { return ((bitField0_ & 0x00000008) == 0x00000008); } + /** + * optional bool spectateOnly = 4; + */ public boolean getSpectateOnly() { return spectateOnly_; } + /** + * optional bool spectateOnly = 4; + */ public Builder setSpectateOnly(boolean value) { bitField0_ |= 0x00000008; spectateOnly_ = value; return this; } + /** + * optional bool spectateOnly = 4; + */ public Builder clearSpectateOnly() { bitField0_ = (bitField0_ & ~0x00000008); spectateOnly_ = false; return this; } - + // @@protoc_insertion_point(builder_scope:JoinExistingGameMessage) } - + static { defaultInstance = new JoinExistingGameMessage(true); defaultInstance.initFields(); } - + // @@protoc_insertion_point(class_scope:JoinExistingGameMessage) } - + public interface JoinNewGameMessageOrBuilder extends com.google.protobuf.MessageLiteOrBuilder { - + // required .NetGameInfo gameInfo = 1; + /** + * required .NetGameInfo gameInfo = 1; + */ boolean hasGameInfo(); + /** + * required .NetGameInfo gameInfo = 1; + */ de.pokerth.protocol.ProtoBuf.NetGameInfo getGameInfo(); - + // optional string password = 2; + /** + * optional string password = 2; + */ boolean hasPassword(); - String getPassword(); - + /** + * optional string password = 2; + */ + java.lang.String getPassword(); + /** + * optional string password = 2; + */ + com.google.protobuf.ByteString + getPasswordBytes(); + // optional bool autoLeave = 3; + /** + * optional bool autoLeave = 3; + */ boolean hasAutoLeave(); + /** + * optional bool autoLeave = 3; + */ boolean getAutoLeave(); } + /** + * Protobuf type {@code JoinNewGameMessage} + */ public static final class JoinNewGameMessage extends com.google.protobuf.GeneratedMessageLite implements JoinNewGameMessageOrBuilder { // Use JoinNewGameMessage.newBuilder() to construct. - private JoinNewGameMessage(Builder builder) { + private JoinNewGameMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); + } private JoinNewGameMessage(boolean noInit) {} - + private static final JoinNewGameMessage defaultInstance; public static JoinNewGameMessage getDefaultInstance() { return defaultInstance; } - + public JoinNewGameMessage getDefaultInstanceForType() { return defaultInstance; } - + + private JoinNewGameMessage( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + initFields(); + int mutable_bitField0_ = 0; + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: { + if (!parseUnknownField(input, + extensionRegistry, tag)) { + done = true; + } + break; + } + case 10: { + de.pokerth.protocol.ProtoBuf.NetGameInfo.Builder subBuilder = null; + if (((bitField0_ & 0x00000001) == 0x00000001)) { + subBuilder = gameInfo_.toBuilder(); + } + gameInfo_ = input.readMessage(de.pokerth.protocol.ProtoBuf.NetGameInfo.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(gameInfo_); + gameInfo_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x00000001; + break; + } + case 18: { + bitField0_ |= 0x00000002; + password_ = input.readBytes(); + break; + } + case 24: { + bitField0_ |= 0x00000004; + autoLeave_ = input.readBool(); + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e.getMessage()).setUnfinishedMessage(this); + } finally { + makeExtensionsImmutable(); + } + } + public static com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + public JoinNewGameMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new JoinNewGameMessage(input, extensionRegistry); + } + }; + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + private int bitField0_; // required .NetGameInfo gameInfo = 1; public static final int GAMEINFO_FIELD_NUMBER = 1; private de.pokerth.protocol.ProtoBuf.NetGameInfo gameInfo_; + /** + * required .NetGameInfo gameInfo = 1; + */ public boolean hasGameInfo() { return ((bitField0_ & 0x00000001) == 0x00000001); } + /** + * required .NetGameInfo gameInfo = 1; + */ public de.pokerth.protocol.ProtoBuf.NetGameInfo getGameInfo() { return gameInfo_; } - + // optional string password = 2; public static final int PASSWORD_FIELD_NUMBER = 2; private java.lang.Object password_; + /** + * optional string password = 2; + */ public boolean hasPassword() { return ((bitField0_ & 0x00000002) == 0x00000002); } - public String getPassword() { + /** + * optional string password = 2; + */ + public java.lang.String getPassword() { java.lang.Object ref = password_; - if (ref instanceof String) { - return (String) ref; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - String s = bs.toStringUtf8(); - if (com.google.protobuf.Internal.isValidUtf8(bs)) { + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { password_ = s; } return s; } } - private com.google.protobuf.ByteString getPasswordBytes() { + /** + * optional string password = 2; + */ + public com.google.protobuf.ByteString + getPasswordBytes() { java.lang.Object ref = password_; - if (ref instanceof String) { + if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((String) ref); + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); password_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } - + // optional bool autoLeave = 3; public static final int AUTOLEAVE_FIELD_NUMBER = 3; private boolean autoLeave_; + /** + * optional bool autoLeave = 3; + */ public boolean hasAutoLeave() { return ((bitField0_ & 0x00000004) == 0x00000004); } + /** + * optional bool autoLeave = 3; + */ public boolean getAutoLeave() { return autoLeave_; } - + private void initFields() { gameInfo_ = de.pokerth.protocol.ProtoBuf.NetGameInfo.getDefaultInstance(); password_ = ""; @@ -13297,7 +17118,7 @@ public final class ProtoBuf { public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; - + if (!hasGameInfo()) { memoizedIsInitialized = 0; return false; @@ -13309,7 +17130,7 @@ public final class ProtoBuf { memoizedIsInitialized = 1; return true; } - + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); @@ -13323,12 +17144,12 @@ public final class ProtoBuf { output.writeBool(3, autoLeave_); } } - + private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; - + size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream @@ -13345,88 +17166,77 @@ public final class ProtoBuf { memoizedSerializedSize = size; return size; } - + private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } - + public static de.pokerth.protocol.ProtoBuf.JoinNewGameMessage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data).buildParsed(); + return PARSER.parseFrom(data); } public static de.pokerth.protocol.ProtoBuf.JoinNewGameMessage parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(data, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.JoinNewGameMessage parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data).buildParsed(); + return PARSER.parseFrom(data); } public static de.pokerth.protocol.ProtoBuf.JoinNewGameMessage parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(data, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.JoinNewGameMessage parseFrom(java.io.InputStream input) throws java.io.IOException { - return newBuilder().mergeFrom(input).buildParsed(); + return PARSER.parseFrom(input); } public static de.pokerth.protocol.ProtoBuf.JoinNewGameMessage parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return newBuilder().mergeFrom(input, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.JoinNewGameMessage parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - Builder builder = newBuilder(); - if (builder.mergeDelimitedFrom(input)) { - return builder.buildParsed(); - } else { - return null; - } + return PARSER.parseDelimitedFrom(input); } public static de.pokerth.protocol.ProtoBuf.JoinNewGameMessage parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - Builder builder = newBuilder(); - if (builder.mergeDelimitedFrom(input, extensionRegistry)) { - return builder.buildParsed(); - } else { - return null; - } + return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.JoinNewGameMessage parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return newBuilder().mergeFrom(input).buildParsed(); + return PARSER.parseFrom(input); } public static de.pokerth.protocol.ProtoBuf.JoinNewGameMessage parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return newBuilder().mergeFrom(input, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(input, extensionRegistry); } - + public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.JoinNewGameMessage prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } - + + /** + * Protobuf type {@code JoinNewGameMessage} + */ public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.JoinNewGameMessage, Builder> @@ -13435,13 +17245,13 @@ public final class ProtoBuf { private Builder() { maybeForceBuilderInitialization(); } - + private void maybeForceBuilderInitialization() { } private static Builder create() { return new Builder(); } - + public Builder clear() { super.clear(); gameInfo_ = de.pokerth.protocol.ProtoBuf.NetGameInfo.getDefaultInstance(); @@ -13452,15 +17262,15 @@ public final class ProtoBuf { bitField0_ = (bitField0_ & ~0x00000004); return this; } - + public Builder clone() { return create().mergeFrom(buildPartial()); } - + public de.pokerth.protocol.ProtoBuf.JoinNewGameMessage getDefaultInstanceForType() { return de.pokerth.protocol.ProtoBuf.JoinNewGameMessage.getDefaultInstance(); } - + public de.pokerth.protocol.ProtoBuf.JoinNewGameMessage build() { de.pokerth.protocol.ProtoBuf.JoinNewGameMessage result = buildPartial(); if (!result.isInitialized()) { @@ -13468,17 +17278,7 @@ public final class ProtoBuf { } return result; } - - private de.pokerth.protocol.ProtoBuf.JoinNewGameMessage buildParsed() - throws com.google.protobuf.InvalidProtocolBufferException { - de.pokerth.protocol.ProtoBuf.JoinNewGameMessage result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException( - result).asInvalidProtocolBufferException(); - } - return result; - } - + public de.pokerth.protocol.ProtoBuf.JoinNewGameMessage buildPartial() { de.pokerth.protocol.ProtoBuf.JoinNewGameMessage result = new de.pokerth.protocol.ProtoBuf.JoinNewGameMessage(this); int from_bitField0_ = bitField0_; @@ -13498,21 +17298,23 @@ public final class ProtoBuf { result.bitField0_ = to_bitField0_; return result; } - + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.JoinNewGameMessage other) { if (other == de.pokerth.protocol.ProtoBuf.JoinNewGameMessage.getDefaultInstance()) return this; if (other.hasGameInfo()) { mergeGameInfo(other.getGameInfo()); } if (other.hasPassword()) { - setPassword(other.getPassword()); + bitField0_ |= 0x00000002; + password_ = other.password_; + } if (other.hasAutoLeave()) { setAutoLeave(other.getAutoLeave()); } return this; } - + public final boolean isInitialized() { if (!hasGameInfo()) { @@ -13524,73 +17326,65 @@ public final class ProtoBuf { } return true; } - + public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - while (true) { - int tag = input.readTag(); - switch (tag) { - case 0: - - return this; - default: { - if (!parseUnknownField(input, extensionRegistry, tag)) { - - return this; - } - break; - } - case 10: { - de.pokerth.protocol.ProtoBuf.NetGameInfo.Builder subBuilder = de.pokerth.protocol.ProtoBuf.NetGameInfo.newBuilder(); - if (hasGameInfo()) { - subBuilder.mergeFrom(getGameInfo()); - } - input.readMessage(subBuilder, extensionRegistry); - setGameInfo(subBuilder.buildPartial()); - break; - } - case 18: { - bitField0_ |= 0x00000002; - password_ = input.readBytes(); - break; - } - case 24: { - bitField0_ |= 0x00000004; - autoLeave_ = input.readBool(); - break; - } + de.pokerth.protocol.ProtoBuf.JoinNewGameMessage parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (de.pokerth.protocol.ProtoBuf.JoinNewGameMessage) e.getUnfinishedMessage(); + throw e; + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); } } + return this; } - private int bitField0_; - + // required .NetGameInfo gameInfo = 1; private de.pokerth.protocol.ProtoBuf.NetGameInfo gameInfo_ = de.pokerth.protocol.ProtoBuf.NetGameInfo.getDefaultInstance(); + /** + * required .NetGameInfo gameInfo = 1; + */ public boolean hasGameInfo() { return ((bitField0_ & 0x00000001) == 0x00000001); } + /** + * required .NetGameInfo gameInfo = 1; + */ public de.pokerth.protocol.ProtoBuf.NetGameInfo getGameInfo() { return gameInfo_; } + /** + * required .NetGameInfo gameInfo = 1; + */ public Builder setGameInfo(de.pokerth.protocol.ProtoBuf.NetGameInfo value) { if (value == null) { throw new NullPointerException(); } gameInfo_ = value; - + bitField0_ |= 0x00000001; return this; } + /** + * required .NetGameInfo gameInfo = 1; + */ public Builder setGameInfo( de.pokerth.protocol.ProtoBuf.NetGameInfo.Builder builderForValue) { gameInfo_ = builderForValue.build(); - + bitField0_ |= 0x00000001; return this; } + /** + * required .NetGameInfo gameInfo = 1; + */ public Builder mergeGameInfo(de.pokerth.protocol.ProtoBuf.NetGameInfo value) { if (((bitField0_ & 0x00000001) == 0x00000001) && gameInfo_ != de.pokerth.protocol.ProtoBuf.NetGameInfo.getDefaultInstance()) { @@ -13599,33 +17393,63 @@ public final class ProtoBuf { } else { gameInfo_ = value; } - + bitField0_ |= 0x00000001; return this; } + /** + * required .NetGameInfo gameInfo = 1; + */ public Builder clearGameInfo() { gameInfo_ = de.pokerth.protocol.ProtoBuf.NetGameInfo.getDefaultInstance(); - + bitField0_ = (bitField0_ & ~0x00000001); return this; } - + // optional string password = 2; private java.lang.Object password_ = ""; + /** + * optional string password = 2; + */ public boolean hasPassword() { return ((bitField0_ & 0x00000002) == 0x00000002); } - public String getPassword() { + /** + * optional string password = 2; + */ + public java.lang.String getPassword() { java.lang.Object ref = password_; - if (!(ref instanceof String)) { - String s = ((com.google.protobuf.ByteString) ref).toStringUtf8(); + if (!(ref instanceof java.lang.String)) { + java.lang.String s = ((com.google.protobuf.ByteString) ref) + .toStringUtf8(); password_ = s; return s; } else { - return (String) ref; + return (java.lang.String) ref; } } - public Builder setPassword(String value) { + /** + * optional string password = 2; + */ + public com.google.protobuf.ByteString + getPasswordBytes() { + java.lang.Object ref = password_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + password_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * optional string password = 2; + */ + public Builder setPassword( + java.lang.String value) { if (value == null) { throw new NullPointerException(); } @@ -13634,326 +17458,136 @@ public final class ProtoBuf { return this; } + /** + * optional string password = 2; + */ public Builder clearPassword() { bitField0_ = (bitField0_ & ~0x00000002); password_ = getDefaultInstance().getPassword(); return this; } - void setPassword(com.google.protobuf.ByteString value) { - bitField0_ |= 0x00000002; + /** + * optional string password = 2; + */ + public Builder setPasswordBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000002; password_ = value; + return this; } - + // optional bool autoLeave = 3; private boolean autoLeave_ ; + /** + * optional bool autoLeave = 3; + */ public boolean hasAutoLeave() { return ((bitField0_ & 0x00000004) == 0x00000004); } + /** + * optional bool autoLeave = 3; + */ public boolean getAutoLeave() { return autoLeave_; } + /** + * optional bool autoLeave = 3; + */ public Builder setAutoLeave(boolean value) { bitField0_ |= 0x00000004; autoLeave_ = value; return this; } + /** + * optional bool autoLeave = 3; + */ public Builder clearAutoLeave() { bitField0_ = (bitField0_ & ~0x00000004); autoLeave_ = false; return this; } - + // @@protoc_insertion_point(builder_scope:JoinNewGameMessage) } - + static { defaultInstance = new JoinNewGameMessage(true); defaultInstance.initFields(); } - + // @@protoc_insertion_point(class_scope:JoinNewGameMessage) } - + public interface RejoinExistingGameMessageOrBuilder extends com.google.protobuf.MessageLiteOrBuilder { - + // required uint32 gameId = 1; + /** + * required uint32 gameId = 1; + */ boolean hasGameId(); + /** + * required uint32 gameId = 1; + */ int getGameId(); - + // optional bool autoLeave = 2; + /** + * optional bool autoLeave = 2; + */ boolean hasAutoLeave(); + /** + * optional bool autoLeave = 2; + */ boolean getAutoLeave(); } + /** + * Protobuf type {@code RejoinExistingGameMessage} + */ public static final class RejoinExistingGameMessage extends com.google.protobuf.GeneratedMessageLite implements RejoinExistingGameMessageOrBuilder { // Use RejoinExistingGameMessage.newBuilder() to construct. - private RejoinExistingGameMessage(Builder builder) { + private RejoinExistingGameMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); + } private RejoinExistingGameMessage(boolean noInit) {} - + private static final RejoinExistingGameMessage defaultInstance; public static RejoinExistingGameMessage getDefaultInstance() { return defaultInstance; } - + public RejoinExistingGameMessage getDefaultInstanceForType() { return defaultInstance; } - - private int bitField0_; - // required uint32 gameId = 1; - public static final int GAMEID_FIELD_NUMBER = 1; - private int gameId_; - public boolean hasGameId() { - return ((bitField0_ & 0x00000001) == 0x00000001); - } - public int getGameId() { - return gameId_; - } - - // optional bool autoLeave = 2; - public static final int AUTOLEAVE_FIELD_NUMBER = 2; - private boolean autoLeave_; - public boolean hasAutoLeave() { - return ((bitField0_ & 0x00000002) == 0x00000002); - } - public boolean getAutoLeave() { - return autoLeave_; - } - - private void initFields() { - gameId_ = 0; - autoLeave_ = false; - } - private byte memoizedIsInitialized = -1; - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; - - if (!hasGameId()) { - memoizedIsInitialized = 0; - return false; - } - memoizedIsInitialized = 1; - return true; - } - - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - getSerializedSize(); - if (((bitField0_ & 0x00000001) == 0x00000001)) { - output.writeUInt32(1, gameId_); - } - if (((bitField0_ & 0x00000002) == 0x00000002)) { - output.writeBool(2, autoLeave_); - } - } - - private int memoizedSerializedSize = -1; - public int getSerializedSize() { - int size = memoizedSerializedSize; - if (size != -1) return size; - - size = 0; - if (((bitField0_ & 0x00000001) == 0x00000001)) { - size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(1, gameId_); - } - if (((bitField0_ & 0x00000002) == 0x00000002)) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(2, autoLeave_); - } - memoizedSerializedSize = size; - return size; - } - - private static final long serialVersionUID = 0L; - @java.lang.Override - protected java.lang.Object writeReplace() - throws java.io.ObjectStreamException { - return super.writeReplace(); - } - - public static de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessage parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data).buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessage parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data, extensionRegistry) - .buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessage parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data).buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessage parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data, extensionRegistry) - .buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessage parseFrom(java.io.InputStream input) - throws java.io.IOException { - return newBuilder().mergeFrom(input).buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessage parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return newBuilder().mergeFrom(input, extensionRegistry) - .buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessage parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - Builder builder = newBuilder(); - if (builder.mergeDelimitedFrom(input)) { - return builder.buildParsed(); - } else { - return null; - } - } - public static de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessage parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - Builder builder = newBuilder(); - if (builder.mergeDelimitedFrom(input, extensionRegistry)) { - return builder.buildParsed(); - } else { - return null; - } - } - public static de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessage parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return newBuilder().mergeFrom(input).buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessage parseFrom( + + private RejoinExistingGameMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return newBuilder().mergeFrom(input, extensionRegistry) - .buildParsed(); - } - - public static Builder newBuilder() { return Builder.create(); } - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessage prototype) { - return newBuilder().mergeFrom(prototype); - } - public Builder toBuilder() { return newBuilder(this); } - - public static final class Builder extends - com.google.protobuf.GeneratedMessageLite.Builder< - de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessageOrBuilder { - // Construct using de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessage.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - } - private static Builder create() { - return new Builder(); - } - - public Builder clear() { - super.clear(); - gameId_ = 0; - bitField0_ = (bitField0_ & ~0x00000001); - autoLeave_ = false; - bitField0_ = (bitField0_ & ~0x00000002); - return this; - } - - public Builder clone() { - return create().mergeFrom(buildPartial()); - } - - public de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessage getDefaultInstanceForType() { - return de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessage.getDefaultInstance(); - } - - public de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessage build() { - de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessage result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - private de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessage buildParsed() - throws com.google.protobuf.InvalidProtocolBufferException { - de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessage result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException( - result).asInvalidProtocolBufferException(); - } - return result; - } - - public de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessage buildPartial() { - de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessage result = new de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessage(this); - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) == 0x00000001)) { - to_bitField0_ |= 0x00000001; - } - result.gameId_ = gameId_; - if (((from_bitField0_ & 0x00000002) == 0x00000002)) { - to_bitField0_ |= 0x00000002; - } - result.autoLeave_ = autoLeave_; - result.bitField0_ = to_bitField0_; - return result; - } - - public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessage other) { - if (other == de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessage.getDefaultInstance()) return this; - if (other.hasGameId()) { - setGameId(other.getGameId()); - } - if (other.hasAutoLeave()) { - setAutoLeave(other.getAutoLeave()); - } - return this; - } - - public final boolean isInitialized() { - if (!hasGameId()) { - - return false; - } - return true; - } - - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - while (true) { + throws com.google.protobuf.InvalidProtocolBufferException { + initFields(); + int mutable_bitField0_ = 0; + try { + boolean done = false; + while (!done) { int tag = input.readTag(); switch (tag) { case 0: - - return this; + done = true; + break; default: { - if (!parseUnknownField(input, extensionRegistry, tag)) { - - return this; + if (!parseUnknownField(input, + extensionRegistry, tag)) { + done = true; } break; } @@ -13969,127 +17603,524 @@ public final class ProtoBuf { } } } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e.getMessage()).setUnfinishedMessage(this); + } finally { + makeExtensionsImmutable(); + } + } + public static com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + public RejoinExistingGameMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RejoinExistingGameMessage(input, extensionRegistry); + } + }; + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + private int bitField0_; + // required uint32 gameId = 1; + public static final int GAMEID_FIELD_NUMBER = 1; + private int gameId_; + /** + * required uint32 gameId = 1; + */ + public boolean hasGameId() { + return ((bitField0_ & 0x00000001) == 0x00000001); + } + /** + * required uint32 gameId = 1; + */ + public int getGameId() { + return gameId_; + } + + // optional bool autoLeave = 2; + public static final int AUTOLEAVE_FIELD_NUMBER = 2; + private boolean autoLeave_; + /** + * optional bool autoLeave = 2; + */ + public boolean hasAutoLeave() { + return ((bitField0_ & 0x00000002) == 0x00000002); + } + /** + * optional bool autoLeave = 2; + */ + public boolean getAutoLeave() { + return autoLeave_; + } + + private void initFields() { + gameId_ = 0; + autoLeave_ = false; + } + private byte memoizedIsInitialized = -1; + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized != -1) return isInitialized == 1; + + if (!hasGameId()) { + memoizedIsInitialized = 0; + return false; + } + memoizedIsInitialized = 1; + return true; + } + + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + getSerializedSize(); + if (((bitField0_ & 0x00000001) == 0x00000001)) { + output.writeUInt32(1, gameId_); + } + if (((bitField0_ & 0x00000002) == 0x00000002)) { + output.writeBool(2, autoLeave_); + } + } + + private int memoizedSerializedSize = -1; + public int getSerializedSize() { + int size = memoizedSerializedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) == 0x00000001)) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(1, gameId_); + } + if (((bitField0_ & 0x00000002) == 0x00000002)) { + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(2, autoLeave_); + } + memoizedSerializedSize = size; + return size; + } + + private static final long serialVersionUID = 0L; + @java.lang.Override + protected java.lang.Object writeReplace() + throws java.io.ObjectStreamException { + return super.writeReplace(); + } + + public static de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessage parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessage parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessage parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessage parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessage parseFrom(java.io.InputStream input) + throws java.io.IOException { + return PARSER.parseFrom(input); + } + public static de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessage parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseFrom(input, extensionRegistry); + } + public static de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessage parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return PARSER.parseDelimitedFrom(input); + } + public static de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessage parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseDelimitedFrom(input, extensionRegistry); + } + public static de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessage parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return PARSER.parseFrom(input); + } + public static de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessage parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseFrom(input, extensionRegistry); + } + + public static Builder newBuilder() { return Builder.create(); } + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessage prototype) { + return newBuilder().mergeFrom(prototype); + } + public Builder toBuilder() { return newBuilder(this); } + + /** + * Protobuf type {@code RejoinExistingGameMessage} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageLite.Builder< + de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessage, Builder> + implements de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessageOrBuilder { + // Construct using de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessage.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + } + private static Builder create() { + return new Builder(); + } + + public Builder clear() { + super.clear(); + gameId_ = 0; + bitField0_ = (bitField0_ & ~0x00000001); + autoLeave_ = false; + bitField0_ = (bitField0_ & ~0x00000002); + return this; + } + + public Builder clone() { + return create().mergeFrom(buildPartial()); + } + + public de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessage getDefaultInstanceForType() { + return de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessage.getDefaultInstance(); + } + + public de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessage build() { + de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessage result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + public de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessage buildPartial() { + de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessage result = new de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessage(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) == 0x00000001)) { + to_bitField0_ |= 0x00000001; + } + result.gameId_ = gameId_; + if (((from_bitField0_ & 0x00000002) == 0x00000002)) { + to_bitField0_ |= 0x00000002; + } + result.autoLeave_ = autoLeave_; + result.bitField0_ = to_bitField0_; + return result; + } + + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessage other) { + if (other == de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessage.getDefaultInstance()) return this; + if (other.hasGameId()) { + setGameId(other.getGameId()); + } + if (other.hasAutoLeave()) { + setAutoLeave(other.getAutoLeave()); + } + return this; + } + + public final boolean isInitialized() { + if (!hasGameId()) { + + return false; + } + return true; + } + + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessage parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessage) e.getUnfinishedMessage(); + throw e; + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; } - private int bitField0_; - + // required uint32 gameId = 1; private int gameId_ ; + /** + * required uint32 gameId = 1; + */ public boolean hasGameId() { return ((bitField0_ & 0x00000001) == 0x00000001); } + /** + * required uint32 gameId = 1; + */ public int getGameId() { return gameId_; } + /** + * required uint32 gameId = 1; + */ public Builder setGameId(int value) { bitField0_ |= 0x00000001; gameId_ = value; return this; } + /** + * required uint32 gameId = 1; + */ public Builder clearGameId() { bitField0_ = (bitField0_ & ~0x00000001); gameId_ = 0; return this; } - + // optional bool autoLeave = 2; private boolean autoLeave_ ; + /** + * optional bool autoLeave = 2; + */ public boolean hasAutoLeave() { return ((bitField0_ & 0x00000002) == 0x00000002); } + /** + * optional bool autoLeave = 2; + */ public boolean getAutoLeave() { return autoLeave_; } + /** + * optional bool autoLeave = 2; + */ public Builder setAutoLeave(boolean value) { bitField0_ |= 0x00000002; autoLeave_ = value; return this; } + /** + * optional bool autoLeave = 2; + */ public Builder clearAutoLeave() { bitField0_ = (bitField0_ & ~0x00000002); autoLeave_ = false; return this; } - + // @@protoc_insertion_point(builder_scope:RejoinExistingGameMessage) } - + static { defaultInstance = new RejoinExistingGameMessage(true); defaultInstance.initFields(); } - + // @@protoc_insertion_point(class_scope:RejoinExistingGameMessage) } - + public interface JoinGameAckMessageOrBuilder extends com.google.protobuf.MessageLiteOrBuilder { - + // required uint32 gameId = 1; + /** + * required uint32 gameId = 1; + */ boolean hasGameId(); + /** + * required uint32 gameId = 1; + */ int getGameId(); - + // required bool areYouGameAdmin = 2; + /** + * required bool areYouGameAdmin = 2; + */ boolean hasAreYouGameAdmin(); + /** + * required bool areYouGameAdmin = 2; + */ boolean getAreYouGameAdmin(); - + // required .NetGameInfo gameInfo = 3; + /** + * required .NetGameInfo gameInfo = 3; + */ boolean hasGameInfo(); + /** + * required .NetGameInfo gameInfo = 3; + */ de.pokerth.protocol.ProtoBuf.NetGameInfo getGameInfo(); } + /** + * Protobuf type {@code JoinGameAckMessage} + */ public static final class JoinGameAckMessage extends com.google.protobuf.GeneratedMessageLite implements JoinGameAckMessageOrBuilder { // Use JoinGameAckMessage.newBuilder() to construct. - private JoinGameAckMessage(Builder builder) { + private JoinGameAckMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); + } private JoinGameAckMessage(boolean noInit) {} - + private static final JoinGameAckMessage defaultInstance; public static JoinGameAckMessage getDefaultInstance() { return defaultInstance; } - + public JoinGameAckMessage getDefaultInstanceForType() { return defaultInstance; } - + + private JoinGameAckMessage( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + initFields(); + int mutable_bitField0_ = 0; + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: { + if (!parseUnknownField(input, + extensionRegistry, tag)) { + done = true; + } + break; + } + case 8: { + bitField0_ |= 0x00000001; + gameId_ = input.readUInt32(); + break; + } + case 16: { + bitField0_ |= 0x00000002; + areYouGameAdmin_ = input.readBool(); + break; + } + case 26: { + de.pokerth.protocol.ProtoBuf.NetGameInfo.Builder subBuilder = null; + if (((bitField0_ & 0x00000004) == 0x00000004)) { + subBuilder = gameInfo_.toBuilder(); + } + gameInfo_ = input.readMessage(de.pokerth.protocol.ProtoBuf.NetGameInfo.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(gameInfo_); + gameInfo_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x00000004; + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e.getMessage()).setUnfinishedMessage(this); + } finally { + makeExtensionsImmutable(); + } + } + public static com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + public JoinGameAckMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new JoinGameAckMessage(input, extensionRegistry); + } + }; + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + private int bitField0_; // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; + /** + * required uint32 gameId = 1; + */ public boolean hasGameId() { return ((bitField0_ & 0x00000001) == 0x00000001); } + /** + * required uint32 gameId = 1; + */ public int getGameId() { return gameId_; } - + // required bool areYouGameAdmin = 2; public static final int AREYOUGAMEADMIN_FIELD_NUMBER = 2; private boolean areYouGameAdmin_; + /** + * required bool areYouGameAdmin = 2; + */ public boolean hasAreYouGameAdmin() { return ((bitField0_ & 0x00000002) == 0x00000002); } + /** + * required bool areYouGameAdmin = 2; + */ public boolean getAreYouGameAdmin() { return areYouGameAdmin_; } - + // required .NetGameInfo gameInfo = 3; public static final int GAMEINFO_FIELD_NUMBER = 3; private de.pokerth.protocol.ProtoBuf.NetGameInfo gameInfo_; + /** + * required .NetGameInfo gameInfo = 3; + */ public boolean hasGameInfo() { return ((bitField0_ & 0x00000004) == 0x00000004); } + /** + * required .NetGameInfo gameInfo = 3; + */ public de.pokerth.protocol.ProtoBuf.NetGameInfo getGameInfo() { return gameInfo_; } - + private void initFields() { gameId_ = 0; areYouGameAdmin_ = false; @@ -14099,7 +18130,7 @@ public final class ProtoBuf { public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; - + if (!hasGameId()) { memoizedIsInitialized = 0; return false; @@ -14119,7 +18150,7 @@ public final class ProtoBuf { memoizedIsInitialized = 1; return true; } - + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); @@ -14133,12 +18164,12 @@ public final class ProtoBuf { output.writeMessage(3, gameInfo_); } } - + private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; - + size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream @@ -14155,88 +18186,77 @@ public final class ProtoBuf { memoizedSerializedSize = size; return size; } - + private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } - + public static de.pokerth.protocol.ProtoBuf.JoinGameAckMessage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data).buildParsed(); + return PARSER.parseFrom(data); } public static de.pokerth.protocol.ProtoBuf.JoinGameAckMessage parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(data, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.JoinGameAckMessage parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data).buildParsed(); + return PARSER.parseFrom(data); } public static de.pokerth.protocol.ProtoBuf.JoinGameAckMessage parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(data, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.JoinGameAckMessage parseFrom(java.io.InputStream input) throws java.io.IOException { - return newBuilder().mergeFrom(input).buildParsed(); + return PARSER.parseFrom(input); } public static de.pokerth.protocol.ProtoBuf.JoinGameAckMessage parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return newBuilder().mergeFrom(input, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.JoinGameAckMessage parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - Builder builder = newBuilder(); - if (builder.mergeDelimitedFrom(input)) { - return builder.buildParsed(); - } else { - return null; - } + return PARSER.parseDelimitedFrom(input); } public static de.pokerth.protocol.ProtoBuf.JoinGameAckMessage parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - Builder builder = newBuilder(); - if (builder.mergeDelimitedFrom(input, extensionRegistry)) { - return builder.buildParsed(); - } else { - return null; - } + return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.JoinGameAckMessage parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return newBuilder().mergeFrom(input).buildParsed(); + return PARSER.parseFrom(input); } public static de.pokerth.protocol.ProtoBuf.JoinGameAckMessage parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return newBuilder().mergeFrom(input, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(input, extensionRegistry); } - + public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.JoinGameAckMessage prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } - + + /** + * Protobuf type {@code JoinGameAckMessage} + */ public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.JoinGameAckMessage, Builder> @@ -14245,13 +18265,13 @@ public final class ProtoBuf { private Builder() { maybeForceBuilderInitialization(); } - + private void maybeForceBuilderInitialization() { } private static Builder create() { return new Builder(); } - + public Builder clear() { super.clear(); gameId_ = 0; @@ -14262,15 +18282,15 @@ public final class ProtoBuf { bitField0_ = (bitField0_ & ~0x00000004); return this; } - + public Builder clone() { return create().mergeFrom(buildPartial()); } - + public de.pokerth.protocol.ProtoBuf.JoinGameAckMessage getDefaultInstanceForType() { return de.pokerth.protocol.ProtoBuf.JoinGameAckMessage.getDefaultInstance(); } - + public de.pokerth.protocol.ProtoBuf.JoinGameAckMessage build() { de.pokerth.protocol.ProtoBuf.JoinGameAckMessage result = buildPartial(); if (!result.isInitialized()) { @@ -14278,17 +18298,7 @@ public final class ProtoBuf { } return result; } - - private de.pokerth.protocol.ProtoBuf.JoinGameAckMessage buildParsed() - throws com.google.protobuf.InvalidProtocolBufferException { - de.pokerth.protocol.ProtoBuf.JoinGameAckMessage result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException( - result).asInvalidProtocolBufferException(); - } - return result; - } - + public de.pokerth.protocol.ProtoBuf.JoinGameAckMessage buildPartial() { de.pokerth.protocol.ProtoBuf.JoinGameAckMessage result = new de.pokerth.protocol.ProtoBuf.JoinGameAckMessage(this); int from_bitField0_ = bitField0_; @@ -14308,7 +18318,7 @@ public final class ProtoBuf { result.bitField0_ = to_bitField0_; return result; } - + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.JoinGameAckMessage other) { if (other == de.pokerth.protocol.ProtoBuf.JoinGameAckMessage.getDefaultInstance()) return this; if (other.hasGameId()) { @@ -14322,7 +18332,7 @@ public final class ProtoBuf { } return this; } - + public final boolean isInitialized() { if (!hasGameId()) { @@ -14342,115 +18352,131 @@ public final class ProtoBuf { } return true; } - + public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - while (true) { - int tag = input.readTag(); - switch (tag) { - case 0: - - return this; - default: { - if (!parseUnknownField(input, extensionRegistry, tag)) { - - return this; - } - break; - } - case 8: { - bitField0_ |= 0x00000001; - gameId_ = input.readUInt32(); - break; - } - case 16: { - bitField0_ |= 0x00000002; - areYouGameAdmin_ = input.readBool(); - break; - } - case 26: { - de.pokerth.protocol.ProtoBuf.NetGameInfo.Builder subBuilder = de.pokerth.protocol.ProtoBuf.NetGameInfo.newBuilder(); - if (hasGameInfo()) { - subBuilder.mergeFrom(getGameInfo()); - } - input.readMessage(subBuilder, extensionRegistry); - setGameInfo(subBuilder.buildPartial()); - break; - } + de.pokerth.protocol.ProtoBuf.JoinGameAckMessage parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (de.pokerth.protocol.ProtoBuf.JoinGameAckMessage) e.getUnfinishedMessage(); + throw e; + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); } } + return this; } - private int bitField0_; - + // required uint32 gameId = 1; private int gameId_ ; + /** + * required uint32 gameId = 1; + */ public boolean hasGameId() { return ((bitField0_ & 0x00000001) == 0x00000001); } + /** + * required uint32 gameId = 1; + */ public int getGameId() { return gameId_; } + /** + * required uint32 gameId = 1; + */ public Builder setGameId(int value) { bitField0_ |= 0x00000001; gameId_ = value; return this; } + /** + * required uint32 gameId = 1; + */ public Builder clearGameId() { bitField0_ = (bitField0_ & ~0x00000001); gameId_ = 0; return this; } - + // required bool areYouGameAdmin = 2; private boolean areYouGameAdmin_ ; + /** + * required bool areYouGameAdmin = 2; + */ public boolean hasAreYouGameAdmin() { return ((bitField0_ & 0x00000002) == 0x00000002); } + /** + * required bool areYouGameAdmin = 2; + */ public boolean getAreYouGameAdmin() { return areYouGameAdmin_; } + /** + * required bool areYouGameAdmin = 2; + */ public Builder setAreYouGameAdmin(boolean value) { bitField0_ |= 0x00000002; areYouGameAdmin_ = value; return this; } + /** + * required bool areYouGameAdmin = 2; + */ public Builder clearAreYouGameAdmin() { bitField0_ = (bitField0_ & ~0x00000002); areYouGameAdmin_ = false; return this; } - + // required .NetGameInfo gameInfo = 3; private de.pokerth.protocol.ProtoBuf.NetGameInfo gameInfo_ = de.pokerth.protocol.ProtoBuf.NetGameInfo.getDefaultInstance(); + /** + * required .NetGameInfo gameInfo = 3; + */ public boolean hasGameInfo() { return ((bitField0_ & 0x00000004) == 0x00000004); } + /** + * required .NetGameInfo gameInfo = 3; + */ public de.pokerth.protocol.ProtoBuf.NetGameInfo getGameInfo() { return gameInfo_; } + /** + * required .NetGameInfo gameInfo = 3; + */ public Builder setGameInfo(de.pokerth.protocol.ProtoBuf.NetGameInfo value) { if (value == null) { throw new NullPointerException(); } gameInfo_ = value; - + bitField0_ |= 0x00000004; return this; } + /** + * required .NetGameInfo gameInfo = 3; + */ public Builder setGameInfo( de.pokerth.protocol.ProtoBuf.NetGameInfo.Builder builderForValue) { gameInfo_ = builderForValue.build(); - + bitField0_ |= 0x00000004; return this; } + /** + * required .NetGameInfo gameInfo = 3; + */ public Builder mergeGameInfo(de.pokerth.protocol.ProtoBuf.NetGameInfo value) { if (((bitField0_ & 0x00000004) == 0x00000004) && gameInfo_ != de.pokerth.protocol.ProtoBuf.NetGameInfo.getDefaultInstance()) { @@ -14459,380 +18485,94 @@ public final class ProtoBuf { } else { gameInfo_ = value; } - + bitField0_ |= 0x00000004; return this; } + /** + * required .NetGameInfo gameInfo = 3; + */ public Builder clearGameInfo() { gameInfo_ = de.pokerth.protocol.ProtoBuf.NetGameInfo.getDefaultInstance(); - + bitField0_ = (bitField0_ & ~0x00000004); return this; } - + // @@protoc_insertion_point(builder_scope:JoinGameAckMessage) } - + static { defaultInstance = new JoinGameAckMessage(true); defaultInstance.initFields(); } - + // @@protoc_insertion_point(class_scope:JoinGameAckMessage) } - + public interface JoinGameFailedMessageOrBuilder extends com.google.protobuf.MessageLiteOrBuilder { - + // required uint32 gameId = 1; + /** + * required uint32 gameId = 1; + */ boolean hasGameId(); + /** + * required uint32 gameId = 1; + */ int getGameId(); - + // required .JoinGameFailedMessage.JoinGameFailureReason joinGameFailureReason = 2; + /** + * required .JoinGameFailedMessage.JoinGameFailureReason joinGameFailureReason = 2; + */ boolean hasJoinGameFailureReason(); + /** + * required .JoinGameFailedMessage.JoinGameFailureReason joinGameFailureReason = 2; + */ de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage.JoinGameFailureReason getJoinGameFailureReason(); } + /** + * Protobuf type {@code JoinGameFailedMessage} + */ public static final class JoinGameFailedMessage extends com.google.protobuf.GeneratedMessageLite implements JoinGameFailedMessageOrBuilder { // Use JoinGameFailedMessage.newBuilder() to construct. - private JoinGameFailedMessage(Builder builder) { + private JoinGameFailedMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); + } private JoinGameFailedMessage(boolean noInit) {} - + private static final JoinGameFailedMessage defaultInstance; public static JoinGameFailedMessage getDefaultInstance() { return defaultInstance; } - + public JoinGameFailedMessage getDefaultInstanceForType() { return defaultInstance; } - - public enum JoinGameFailureReason - implements com.google.protobuf.Internal.EnumLite { - invalidGame(0, 1), - gameIsFull(1, 2), - gameIsRunning(2, 3), - invalidPassword(3, 4), - notAllowedAsGuest(4, 5), - notInvited(5, 6), - gameNameInUse(6, 7), - badGameName(7, 8), - invalidSettings(8, 9), - ipAddressBlocked(9, 10), - rejoinFailed(10, 11), - ; - - public static final int invalidGame_VALUE = 1; - public static final int gameIsFull_VALUE = 2; - public static final int gameIsRunning_VALUE = 3; - public static final int invalidPassword_VALUE = 4; - public static final int notAllowedAsGuest_VALUE = 5; - public static final int notInvited_VALUE = 6; - public static final int gameNameInUse_VALUE = 7; - public static final int badGameName_VALUE = 8; - public static final int invalidSettings_VALUE = 9; - public static final int ipAddressBlocked_VALUE = 10; - public static final int rejoinFailed_VALUE = 11; - - - public final int getNumber() { return value; } - - public static JoinGameFailureReason valueOf(int value) { - switch (value) { - case 1: return invalidGame; - case 2: return gameIsFull; - case 3: return gameIsRunning; - case 4: return invalidPassword; - case 5: return notAllowedAsGuest; - case 6: return notInvited; - case 7: return gameNameInUse; - case 8: return badGameName; - case 9: return invalidSettings; - case 10: return ipAddressBlocked; - case 11: return rejoinFailed; - default: return null; - } - } - - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { - return internalValueMap; - } - private static com.google.protobuf.Internal.EnumLiteMap - internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public JoinGameFailureReason findValueByNumber(int number) { - return JoinGameFailureReason.valueOf(number); - } - }; - - private final int value; - - private JoinGameFailureReason(int index, int value) { - this.value = value; - } - - // @@protoc_insertion_point(enum_scope:JoinGameFailedMessage.JoinGameFailureReason) - } - - private int bitField0_; - // required uint32 gameId = 1; - public static final int GAMEID_FIELD_NUMBER = 1; - private int gameId_; - public boolean hasGameId() { - return ((bitField0_ & 0x00000001) == 0x00000001); - } - public int getGameId() { - return gameId_; - } - - // required .JoinGameFailedMessage.JoinGameFailureReason joinGameFailureReason = 2; - public static final int JOINGAMEFAILUREREASON_FIELD_NUMBER = 2; - private de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage.JoinGameFailureReason joinGameFailureReason_; - public boolean hasJoinGameFailureReason() { - return ((bitField0_ & 0x00000002) == 0x00000002); - } - public de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage.JoinGameFailureReason getJoinGameFailureReason() { - return joinGameFailureReason_; - } - - private void initFields() { - gameId_ = 0; - joinGameFailureReason_ = de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage.JoinGameFailureReason.invalidGame; - } - private byte memoizedIsInitialized = -1; - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; - - if (!hasGameId()) { - memoizedIsInitialized = 0; - return false; - } - if (!hasJoinGameFailureReason()) { - memoizedIsInitialized = 0; - return false; - } - memoizedIsInitialized = 1; - return true; - } - - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - getSerializedSize(); - if (((bitField0_ & 0x00000001) == 0x00000001)) { - output.writeUInt32(1, gameId_); - } - if (((bitField0_ & 0x00000002) == 0x00000002)) { - output.writeEnum(2, joinGameFailureReason_.getNumber()); - } - } - - private int memoizedSerializedSize = -1; - public int getSerializedSize() { - int size = memoizedSerializedSize; - if (size != -1) return size; - - size = 0; - if (((bitField0_ & 0x00000001) == 0x00000001)) { - size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(1, gameId_); - } - if (((bitField0_ & 0x00000002) == 0x00000002)) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, joinGameFailureReason_.getNumber()); - } - memoizedSerializedSize = size; - return size; - } - - private static final long serialVersionUID = 0L; - @java.lang.Override - protected java.lang.Object writeReplace() - throws java.io.ObjectStreamException { - return super.writeReplace(); - } - - public static de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data).buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data, extensionRegistry) - .buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data).buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data, extensionRegistry) - .buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage parseFrom(java.io.InputStream input) - throws java.io.IOException { - return newBuilder().mergeFrom(input).buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return newBuilder().mergeFrom(input, extensionRegistry) - .buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - Builder builder = newBuilder(); - if (builder.mergeDelimitedFrom(input)) { - return builder.buildParsed(); - } else { - return null; - } - } - public static de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - Builder builder = newBuilder(); - if (builder.mergeDelimitedFrom(input, extensionRegistry)) { - return builder.buildParsed(); - } else { - return null; - } - } - public static de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return newBuilder().mergeFrom(input).buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage parseFrom( + + private JoinGameFailedMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return newBuilder().mergeFrom(input, extensionRegistry) - .buildParsed(); - } - - public static Builder newBuilder() { return Builder.create(); } - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage prototype) { - return newBuilder().mergeFrom(prototype); - } - public Builder toBuilder() { return newBuilder(this); } - - public static final class Builder extends - com.google.protobuf.GeneratedMessageLite.Builder< - de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.JoinGameFailedMessageOrBuilder { - // Construct using de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - } - private static Builder create() { - return new Builder(); - } - - public Builder clear() { - super.clear(); - gameId_ = 0; - bitField0_ = (bitField0_ & ~0x00000001); - joinGameFailureReason_ = de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage.JoinGameFailureReason.invalidGame; - bitField0_ = (bitField0_ & ~0x00000002); - return this; - } - - public Builder clone() { - return create().mergeFrom(buildPartial()); - } - - public de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage getDefaultInstanceForType() { - return de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage.getDefaultInstance(); - } - - public de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage build() { - de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - private de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage buildParsed() - throws com.google.protobuf.InvalidProtocolBufferException { - de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException( - result).asInvalidProtocolBufferException(); - } - return result; - } - - public de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage buildPartial() { - de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage result = new de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage(this); - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) == 0x00000001)) { - to_bitField0_ |= 0x00000001; - } - result.gameId_ = gameId_; - if (((from_bitField0_ & 0x00000002) == 0x00000002)) { - to_bitField0_ |= 0x00000002; - } - result.joinGameFailureReason_ = joinGameFailureReason_; - result.bitField0_ = to_bitField0_; - return result; - } - - public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage other) { - if (other == de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage.getDefaultInstance()) return this; - if (other.hasGameId()) { - setGameId(other.getGameId()); - } - if (other.hasJoinGameFailureReason()) { - setJoinGameFailureReason(other.getJoinGameFailureReason()); - } - return this; - } - - public final boolean isInitialized() { - if (!hasGameId()) { - - return false; - } - if (!hasJoinGameFailureReason()) { - - return false; - } - return true; - } - - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - while (true) { + throws com.google.protobuf.InvalidProtocolBufferException { + initFields(); + int mutable_bitField0_ = 0; + try { + boolean done = false; + while (!done) { int tag = input.readTag(); switch (tag) { case 0: - - return this; + done = true; + break; default: { - if (!parseUnknownField(input, extensionRegistry, tag)) { - - return this; + if (!parseUnknownField(input, + extensionRegistry, tag)) { + done = true; } break; } @@ -14852,156 +18592,221 @@ public final class ProtoBuf { } } } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e.getMessage()).setUnfinishedMessage(this); + } finally { + makeExtensionsImmutable(); } - - private int bitField0_; - - // required uint32 gameId = 1; - private int gameId_ ; - public boolean hasGameId() { - return ((bitField0_ & 0x00000001) == 0x00000001); + } + public static com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + public JoinGameFailedMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new JoinGameFailedMessage(input, extensionRegistry); } - public int getGameId() { - return gameId_; - } - public Builder setGameId(int value) { - bitField0_ |= 0x00000001; - gameId_ = value; - - return this; - } - public Builder clearGameId() { - bitField0_ = (bitField0_ & ~0x00000001); - gameId_ = 0; - - return this; - } - - // required .JoinGameFailedMessage.JoinGameFailureReason joinGameFailureReason = 2; - private de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage.JoinGameFailureReason joinGameFailureReason_ = de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage.JoinGameFailureReason.invalidGame; - public boolean hasJoinGameFailureReason() { - return ((bitField0_ & 0x00000002) == 0x00000002); - } - public de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage.JoinGameFailureReason getJoinGameFailureReason() { - return joinGameFailureReason_; - } - public Builder setJoinGameFailureReason(de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage.JoinGameFailureReason value) { - if (value == null) { - throw new NullPointerException(); + }; + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + /** + * Protobuf enum {@code JoinGameFailedMessage.JoinGameFailureReason} + */ + public enum JoinGameFailureReason + implements com.google.protobuf.Internal.EnumLite { + /** + * invalidGame = 1; + */ + invalidGame(0, 1), + /** + * gameIsFull = 2; + */ + gameIsFull(1, 2), + /** + * gameIsRunning = 3; + */ + gameIsRunning(2, 3), + /** + * invalidPassword = 4; + */ + invalidPassword(3, 4), + /** + * notAllowedAsGuest = 5; + */ + notAllowedAsGuest(4, 5), + /** + * notInvited = 6; + */ + notInvited(5, 6), + /** + * gameNameInUse = 7; + */ + gameNameInUse(6, 7), + /** + * badGameName = 8; + */ + badGameName(7, 8), + /** + * invalidSettings = 9; + */ + invalidSettings(8, 9), + /** + * ipAddressBlocked = 10; + */ + ipAddressBlocked(9, 10), + /** + * rejoinFailed = 11; + */ + rejoinFailed(10, 11), + ; + + /** + * invalidGame = 1; + */ + public static final int invalidGame_VALUE = 1; + /** + * gameIsFull = 2; + */ + public static final int gameIsFull_VALUE = 2; + /** + * gameIsRunning = 3; + */ + public static final int gameIsRunning_VALUE = 3; + /** + * invalidPassword = 4; + */ + public static final int invalidPassword_VALUE = 4; + /** + * notAllowedAsGuest = 5; + */ + public static final int notAllowedAsGuest_VALUE = 5; + /** + * notInvited = 6; + */ + public static final int notInvited_VALUE = 6; + /** + * gameNameInUse = 7; + */ + public static final int gameNameInUse_VALUE = 7; + /** + * badGameName = 8; + */ + public static final int badGameName_VALUE = 8; + /** + * invalidSettings = 9; + */ + public static final int invalidSettings_VALUE = 9; + /** + * ipAddressBlocked = 10; + */ + public static final int ipAddressBlocked_VALUE = 10; + /** + * rejoinFailed = 11; + */ + public static final int rejoinFailed_VALUE = 11; + + + public final int getNumber() { return value; } + + public static JoinGameFailureReason valueOf(int value) { + switch (value) { + case 1: return invalidGame; + case 2: return gameIsFull; + case 3: return gameIsRunning; + case 4: return invalidPassword; + case 5: return notAllowedAsGuest; + case 6: return notInvited; + case 7: return gameNameInUse; + case 8: return badGameName; + case 9: return invalidSettings; + case 10: return ipAddressBlocked; + case 11: return rejoinFailed; + default: return null; } - bitField0_ |= 0x00000002; - joinGameFailureReason_ = value; - - return this; } - public Builder clearJoinGameFailureReason() { - bitField0_ = (bitField0_ & ~0x00000002); - joinGameFailureReason_ = de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage.JoinGameFailureReason.invalidGame; - - return this; + + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { + return internalValueMap; } - - // @@protoc_insertion_point(builder_scope:JoinGameFailedMessage) + private static com.google.protobuf.Internal.EnumLiteMap + internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public JoinGameFailureReason findValueByNumber(int number) { + return JoinGameFailureReason.valueOf(number); + } + }; + + private final int value; + + private JoinGameFailureReason(int index, int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:JoinGameFailedMessage.JoinGameFailureReason) } - - static { - defaultInstance = new JoinGameFailedMessage(true); - defaultInstance.initFields(); - } - - // @@protoc_insertion_point(class_scope:JoinGameFailedMessage) - } - - public interface GamePlayerJoinedMessageOrBuilder - extends com.google.protobuf.MessageLiteOrBuilder { - - // required uint32 gameId = 1; - boolean hasGameId(); - int getGameId(); - - // required uint32 playerId = 2; - boolean hasPlayerId(); - int getPlayerId(); - - // required bool isGameAdmin = 3; - boolean hasIsGameAdmin(); - boolean getIsGameAdmin(); - } - public static final class GamePlayerJoinedMessage extends - com.google.protobuf.GeneratedMessageLite - implements GamePlayerJoinedMessageOrBuilder { - // Use GamePlayerJoinedMessage.newBuilder() to construct. - private GamePlayerJoinedMessage(Builder builder) { - super(builder); - } - private GamePlayerJoinedMessage(boolean noInit) {} - - private static final GamePlayerJoinedMessage defaultInstance; - public static GamePlayerJoinedMessage getDefaultInstance() { - return defaultInstance; - } - - public GamePlayerJoinedMessage getDefaultInstanceForType() { - return defaultInstance; - } - + private int bitField0_; // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; + /** + * required uint32 gameId = 1; + */ public boolean hasGameId() { return ((bitField0_ & 0x00000001) == 0x00000001); } + /** + * required uint32 gameId = 1; + */ public int getGameId() { return gameId_; } - - // required uint32 playerId = 2; - public static final int PLAYERID_FIELD_NUMBER = 2; - private int playerId_; - public boolean hasPlayerId() { + + // required .JoinGameFailedMessage.JoinGameFailureReason joinGameFailureReason = 2; + public static final int JOINGAMEFAILUREREASON_FIELD_NUMBER = 2; + private de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage.JoinGameFailureReason joinGameFailureReason_; + /** + * required .JoinGameFailedMessage.JoinGameFailureReason joinGameFailureReason = 2; + */ + public boolean hasJoinGameFailureReason() { return ((bitField0_ & 0x00000002) == 0x00000002); } - public int getPlayerId() { - return playerId_; + /** + * required .JoinGameFailedMessage.JoinGameFailureReason joinGameFailureReason = 2; + */ + public de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage.JoinGameFailureReason getJoinGameFailureReason() { + return joinGameFailureReason_; } - - // required bool isGameAdmin = 3; - public static final int ISGAMEADMIN_FIELD_NUMBER = 3; - private boolean isGameAdmin_; - public boolean hasIsGameAdmin() { - return ((bitField0_ & 0x00000004) == 0x00000004); - } - public boolean getIsGameAdmin() { - return isGameAdmin_; - } - + private void initFields() { gameId_ = 0; - playerId_ = 0; - isGameAdmin_ = false; + joinGameFailureReason_ = de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage.JoinGameFailureReason.invalidGame; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; - + if (!hasGameId()) { memoizedIsInitialized = 0; return false; } - if (!hasPlayerId()) { - memoizedIsInitialized = 0; - return false; - } - if (!hasIsGameAdmin()) { + if (!hasJoinGameFailureReason()) { memoizedIsInitialized = 0; return false; } memoizedIsInitialized = 1; return true; } - + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); @@ -15009,18 +18814,15 @@ public final class ProtoBuf { output.writeUInt32(1, gameId_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { - output.writeUInt32(2, playerId_); - } - if (((bitField0_ & 0x00000004) == 0x00000004)) { - output.writeBool(3, isGameAdmin_); + output.writeEnum(2, joinGameFailureReason_.getNumber()); } } - + private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; - + size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream @@ -15028,151 +18830,124 @@ public final class ProtoBuf { } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(2, playerId_); - } - if (((bitField0_ & 0x00000004) == 0x00000004)) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(3, isGameAdmin_); + .computeEnumSize(2, joinGameFailureReason_.getNumber()); } memoizedSerializedSize = size; return size; } - + private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } - - public static de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessage parseFrom( + + public static de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data).buildParsed(); + return PARSER.parseFrom(data); } - public static de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessage parseFrom( + public static de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(data, extensionRegistry); } - public static de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessage parseFrom(byte[] data) + public static de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data).buildParsed(); + return PARSER.parseFrom(data); } - public static de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessage parseFrom( + public static de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(data, extensionRegistry); } - public static de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessage parseFrom(java.io.InputStream input) + public static de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage parseFrom(java.io.InputStream input) throws java.io.IOException { - return newBuilder().mergeFrom(input).buildParsed(); + return PARSER.parseFrom(input); } - public static de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessage parseFrom( + public static de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return newBuilder().mergeFrom(input, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(input, extensionRegistry); } - public static de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessage parseDelimitedFrom(java.io.InputStream input) + public static de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - Builder builder = newBuilder(); - if (builder.mergeDelimitedFrom(input)) { - return builder.buildParsed(); - } else { - return null; - } + return PARSER.parseDelimitedFrom(input); } - public static de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessage parseDelimitedFrom( + public static de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - Builder builder = newBuilder(); - if (builder.mergeDelimitedFrom(input, extensionRegistry)) { - return builder.buildParsed(); - } else { - return null; - } + return PARSER.parseDelimitedFrom(input, extensionRegistry); } - public static de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessage parseFrom( + public static de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return newBuilder().mergeFrom(input).buildParsed(); + return PARSER.parseFrom(input); } - public static de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessage parseFrom( + public static de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return newBuilder().mergeFrom(input, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(input, extensionRegistry); } - + public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessage prototype) { + public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } - + + /** + * Protobuf type {@code JoinGameFailedMessage} + */ public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< - de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessageOrBuilder { - // Construct using de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessage.newBuilder() + de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage, Builder> + implements de.pokerth.protocol.ProtoBuf.JoinGameFailedMessageOrBuilder { + // Construct using de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - + private void maybeForceBuilderInitialization() { } private static Builder create() { return new Builder(); } - + public Builder clear() { super.clear(); gameId_ = 0; bitField0_ = (bitField0_ & ~0x00000001); - playerId_ = 0; + joinGameFailureReason_ = de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage.JoinGameFailureReason.invalidGame; bitField0_ = (bitField0_ & ~0x00000002); - isGameAdmin_ = false; - bitField0_ = (bitField0_ & ~0x00000004); return this; } - + public Builder clone() { return create().mergeFrom(buildPartial()); } - - public de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessage getDefaultInstanceForType() { - return de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessage.getDefaultInstance(); + + public de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage getDefaultInstanceForType() { + return de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage.getDefaultInstance(); } - - public de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessage build() { - de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessage result = buildPartial(); + + public de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage build() { + de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } - - private de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessage buildParsed() - throws com.google.protobuf.InvalidProtocolBufferException { - de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessage result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException( - result).asInvalidProtocolBufferException(); - } - return result; - } - - public de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessage buildPartial() { - de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessage result = new de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessage(this); + + public de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage buildPartial() { + de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage result = new de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { @@ -15182,59 +18957,206 @@ public final class ProtoBuf { if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } - result.playerId_ = playerId_; - if (((from_bitField0_ & 0x00000004) == 0x00000004)) { - to_bitField0_ |= 0x00000004; - } - result.isGameAdmin_ = isGameAdmin_; + result.joinGameFailureReason_ = joinGameFailureReason_; result.bitField0_ = to_bitField0_; return result; } - - public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessage other) { - if (other == de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessage.getDefaultInstance()) return this; + + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage other) { + if (other == de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage.getDefaultInstance()) return this; if (other.hasGameId()) { setGameId(other.getGameId()); } - if (other.hasPlayerId()) { - setPlayerId(other.getPlayerId()); - } - if (other.hasIsGameAdmin()) { - setIsGameAdmin(other.getIsGameAdmin()); + if (other.hasJoinGameFailureReason()) { + setJoinGameFailureReason(other.getJoinGameFailureReason()); } return this; } - + public final boolean isInitialized() { if (!hasGameId()) { return false; } - if (!hasPlayerId()) { - - return false; - } - if (!hasIsGameAdmin()) { + if (!hasJoinGameFailureReason()) { return false; } return true; } - + public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - while (true) { + de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage) e.getUnfinishedMessage(); + throw e; + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int bitField0_; + + // required uint32 gameId = 1; + private int gameId_ ; + /** + * required uint32 gameId = 1; + */ + public boolean hasGameId() { + return ((bitField0_ & 0x00000001) == 0x00000001); + } + /** + * required uint32 gameId = 1; + */ + public int getGameId() { + return gameId_; + } + /** + * required uint32 gameId = 1; + */ + public Builder setGameId(int value) { + bitField0_ |= 0x00000001; + gameId_ = value; + + return this; + } + /** + * required uint32 gameId = 1; + */ + public Builder clearGameId() { + bitField0_ = (bitField0_ & ~0x00000001); + gameId_ = 0; + + return this; + } + + // required .JoinGameFailedMessage.JoinGameFailureReason joinGameFailureReason = 2; + private de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage.JoinGameFailureReason joinGameFailureReason_ = de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage.JoinGameFailureReason.invalidGame; + /** + * required .JoinGameFailedMessage.JoinGameFailureReason joinGameFailureReason = 2; + */ + public boolean hasJoinGameFailureReason() { + return ((bitField0_ & 0x00000002) == 0x00000002); + } + /** + * required .JoinGameFailedMessage.JoinGameFailureReason joinGameFailureReason = 2; + */ + public de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage.JoinGameFailureReason getJoinGameFailureReason() { + return joinGameFailureReason_; + } + /** + * required .JoinGameFailedMessage.JoinGameFailureReason joinGameFailureReason = 2; + */ + public Builder setJoinGameFailureReason(de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage.JoinGameFailureReason value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000002; + joinGameFailureReason_ = value; + + return this; + } + /** + * required .JoinGameFailedMessage.JoinGameFailureReason joinGameFailureReason = 2; + */ + public Builder clearJoinGameFailureReason() { + bitField0_ = (bitField0_ & ~0x00000002); + joinGameFailureReason_ = de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage.JoinGameFailureReason.invalidGame; + + return this; + } + + // @@protoc_insertion_point(builder_scope:JoinGameFailedMessage) + } + + static { + defaultInstance = new JoinGameFailedMessage(true); + defaultInstance.initFields(); + } + + // @@protoc_insertion_point(class_scope:JoinGameFailedMessage) + } + + public interface GamePlayerJoinedMessageOrBuilder + extends com.google.protobuf.MessageLiteOrBuilder { + + // required uint32 gameId = 1; + /** + * required uint32 gameId = 1; + */ + boolean hasGameId(); + /** + * required uint32 gameId = 1; + */ + int getGameId(); + + // required uint32 playerId = 2; + /** + * required uint32 playerId = 2; + */ + boolean hasPlayerId(); + /** + * required uint32 playerId = 2; + */ + int getPlayerId(); + + // required bool isGameAdmin = 3; + /** + * required bool isGameAdmin = 3; + */ + boolean hasIsGameAdmin(); + /** + * required bool isGameAdmin = 3; + */ + boolean getIsGameAdmin(); + } + /** + * Protobuf type {@code GamePlayerJoinedMessage} + */ + public static final class GamePlayerJoinedMessage extends + com.google.protobuf.GeneratedMessageLite + implements GamePlayerJoinedMessageOrBuilder { + // Use GamePlayerJoinedMessage.newBuilder() to construct. + private GamePlayerJoinedMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { + super(builder); + + } + private GamePlayerJoinedMessage(boolean noInit) {} + + private static final GamePlayerJoinedMessage defaultInstance; + public static GamePlayerJoinedMessage getDefaultInstance() { + return defaultInstance; + } + + public GamePlayerJoinedMessage getDefaultInstanceForType() { + return defaultInstance; + } + + private GamePlayerJoinedMessage( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + initFields(); + int mutable_bitField0_ = 0; + try { + boolean done = false; + while (!done) { int tag = input.readTag(); switch (tag) { case 0: - - return this; + done = true; + break; default: { - if (!parseUnknownField(input, extensionRegistry, tag)) { - - return this; + if (!parseUnknownField(input, + extensionRegistry, tag)) { + done = true; } break; } @@ -15255,202 +19177,89 @@ public final class ProtoBuf { } } } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e.getMessage()).setUnfinishedMessage(this); + } finally { + makeExtensionsImmutable(); } - - private int bitField0_; - - // required uint32 gameId = 1; - private int gameId_ ; - public boolean hasGameId() { - return ((bitField0_ & 0x00000001) == 0x00000001); - } - public int getGameId() { - return gameId_; - } - public Builder setGameId(int value) { - bitField0_ |= 0x00000001; - gameId_ = value; - - return this; - } - public Builder clearGameId() { - bitField0_ = (bitField0_ & ~0x00000001); - gameId_ = 0; - - return this; - } - - // required uint32 playerId = 2; - private int playerId_ ; - public boolean hasPlayerId() { - return ((bitField0_ & 0x00000002) == 0x00000002); - } - public int getPlayerId() { - return playerId_; - } - public Builder setPlayerId(int value) { - bitField0_ |= 0x00000002; - playerId_ = value; - - return this; - } - public Builder clearPlayerId() { - bitField0_ = (bitField0_ & ~0x00000002); - playerId_ = 0; - - return this; - } - - // required bool isGameAdmin = 3; - private boolean isGameAdmin_ ; - public boolean hasIsGameAdmin() { - return ((bitField0_ & 0x00000004) == 0x00000004); - } - public boolean getIsGameAdmin() { - return isGameAdmin_; - } - public Builder setIsGameAdmin(boolean value) { - bitField0_ |= 0x00000004; - isGameAdmin_ = value; - - return this; - } - public Builder clearIsGameAdmin() { - bitField0_ = (bitField0_ & ~0x00000004); - isGameAdmin_ = false; - - return this; - } - - // @@protoc_insertion_point(builder_scope:GamePlayerJoinedMessage) } - - static { - defaultInstance = new GamePlayerJoinedMessage(true); - defaultInstance.initFields(); - } - - // @@protoc_insertion_point(class_scope:GamePlayerJoinedMessage) - } - - public interface GamePlayerLeftMessageOrBuilder - extends com.google.protobuf.MessageLiteOrBuilder { - - // required uint32 gameId = 1; - boolean hasGameId(); - int getGameId(); - - // required uint32 playerId = 2; - boolean hasPlayerId(); - int getPlayerId(); - - // required .GamePlayerLeftMessage.GamePlayerLeftReason gamePlayerLeftReason = 3; - boolean hasGamePlayerLeftReason(); - de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.GamePlayerLeftReason getGamePlayerLeftReason(); - } - public static final class GamePlayerLeftMessage extends - com.google.protobuf.GeneratedMessageLite - implements GamePlayerLeftMessageOrBuilder { - // Use GamePlayerLeftMessage.newBuilder() to construct. - private GamePlayerLeftMessage(Builder builder) { - super(builder); - } - private GamePlayerLeftMessage(boolean noInit) {} - - private static final GamePlayerLeftMessage defaultInstance; - public static GamePlayerLeftMessage getDefaultInstance() { - return defaultInstance; - } - - public GamePlayerLeftMessage getDefaultInstanceForType() { - return defaultInstance; - } - - public enum GamePlayerLeftReason - implements com.google.protobuf.Internal.EnumLite { - leftOnRequest(0, 0), - leftKicked(1, 1), - leftError(2, 2), - ; - - public static final int leftOnRequest_VALUE = 0; - public static final int leftKicked_VALUE = 1; - public static final int leftError_VALUE = 2; - - - public final int getNumber() { return value; } - - public static GamePlayerLeftReason valueOf(int value) { - switch (value) { - case 0: return leftOnRequest; - case 1: return leftKicked; - case 2: return leftError; - default: return null; - } + public static com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + public GamePlayerJoinedMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GamePlayerJoinedMessage(input, extensionRegistry); } - - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { - return internalValueMap; - } - private static com.google.protobuf.Internal.EnumLiteMap - internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public GamePlayerLeftReason findValueByNumber(int number) { - return GamePlayerLeftReason.valueOf(number); - } - }; - - private final int value; - - private GamePlayerLeftReason(int index, int value) { - this.value = value; - } - - // @@protoc_insertion_point(enum_scope:GamePlayerLeftMessage.GamePlayerLeftReason) + }; + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; } - + private int bitField0_; // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; + /** + * required uint32 gameId = 1; + */ public boolean hasGameId() { return ((bitField0_ & 0x00000001) == 0x00000001); } + /** + * required uint32 gameId = 1; + */ public int getGameId() { return gameId_; } - + // required uint32 playerId = 2; public static final int PLAYERID_FIELD_NUMBER = 2; private int playerId_; + /** + * required uint32 playerId = 2; + */ public boolean hasPlayerId() { return ((bitField0_ & 0x00000002) == 0x00000002); } + /** + * required uint32 playerId = 2; + */ public int getPlayerId() { return playerId_; } - - // required .GamePlayerLeftMessage.GamePlayerLeftReason gamePlayerLeftReason = 3; - public static final int GAMEPLAYERLEFTREASON_FIELD_NUMBER = 3; - private de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.GamePlayerLeftReason gamePlayerLeftReason_; - public boolean hasGamePlayerLeftReason() { + + // required bool isGameAdmin = 3; + public static final int ISGAMEADMIN_FIELD_NUMBER = 3; + private boolean isGameAdmin_; + /** + * required bool isGameAdmin = 3; + */ + public boolean hasIsGameAdmin() { return ((bitField0_ & 0x00000004) == 0x00000004); } - public de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.GamePlayerLeftReason getGamePlayerLeftReason() { - return gamePlayerLeftReason_; + /** + * required bool isGameAdmin = 3; + */ + public boolean getIsGameAdmin() { + return isGameAdmin_; } - + private void initFields() { gameId_ = 0; playerId_ = 0; - gamePlayerLeftReason_ = de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.GamePlayerLeftReason.leftOnRequest; + isGameAdmin_ = false; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; - + if (!hasGameId()) { memoizedIsInitialized = 0; return false; @@ -15459,14 +19268,14 @@ public final class ProtoBuf { memoizedIsInitialized = 0; return false; } - if (!hasGamePlayerLeftReason()) { + if (!hasIsGameAdmin()) { memoizedIsInitialized = 0; return false; } memoizedIsInitialized = 1; return true; } - + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); @@ -15477,15 +19286,15 @@ public final class ProtoBuf { output.writeUInt32(2, playerId_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { - output.writeEnum(3, gamePlayerLeftReason_.getNumber()); + output.writeBool(3, isGameAdmin_); } } - + private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; - + size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream @@ -15497,147 +19306,126 @@ public final class ProtoBuf { } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream - .computeEnumSize(3, gamePlayerLeftReason_.getNumber()); + .computeBoolSize(3, isGameAdmin_); } memoizedSerializedSize = size; return size; } - + private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } - - public static de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage parseFrom( + + public static de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data).buildParsed(); + return PARSER.parseFrom(data); } - public static de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage parseFrom( + public static de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessage parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(data, extensionRegistry); } - public static de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage parseFrom(byte[] data) + public static de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessage parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data).buildParsed(); + return PARSER.parseFrom(data); } - public static de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage parseFrom( + public static de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessage parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(data, extensionRegistry); } - public static de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage parseFrom(java.io.InputStream input) + public static de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessage parseFrom(java.io.InputStream input) throws java.io.IOException { - return newBuilder().mergeFrom(input).buildParsed(); + return PARSER.parseFrom(input); } - public static de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage parseFrom( + public static de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessage parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return newBuilder().mergeFrom(input, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(input, extensionRegistry); } - public static de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage parseDelimitedFrom(java.io.InputStream input) + public static de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessage parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - Builder builder = newBuilder(); - if (builder.mergeDelimitedFrom(input)) { - return builder.buildParsed(); - } else { - return null; - } + return PARSER.parseDelimitedFrom(input); } - public static de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage parseDelimitedFrom( + public static de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessage parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - Builder builder = newBuilder(); - if (builder.mergeDelimitedFrom(input, extensionRegistry)) { - return builder.buildParsed(); - } else { - return null; - } + return PARSER.parseDelimitedFrom(input, extensionRegistry); } - public static de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage parseFrom( + public static de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessage parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return newBuilder().mergeFrom(input).buildParsed(); + return PARSER.parseFrom(input); } - public static de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage parseFrom( + public static de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessage parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return newBuilder().mergeFrom(input, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(input, extensionRegistry); } - + public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage prototype) { + public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessage prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } - + + /** + * Protobuf type {@code GamePlayerJoinedMessage} + */ public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< - de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessageOrBuilder { - // Construct using de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.newBuilder() + de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessage, Builder> + implements de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessageOrBuilder { + // Construct using de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - + private void maybeForceBuilderInitialization() { } private static Builder create() { return new Builder(); } - + public Builder clear() { super.clear(); gameId_ = 0; bitField0_ = (bitField0_ & ~0x00000001); playerId_ = 0; bitField0_ = (bitField0_ & ~0x00000002); - gamePlayerLeftReason_ = de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.GamePlayerLeftReason.leftOnRequest; + isGameAdmin_ = false; bitField0_ = (bitField0_ & ~0x00000004); return this; } - + public Builder clone() { return create().mergeFrom(buildPartial()); } - - public de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage getDefaultInstanceForType() { - return de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.getDefaultInstance(); + + public de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessage getDefaultInstanceForType() { + return de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessage.getDefaultInstance(); } - - public de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage build() { - de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage result = buildPartial(); + + public de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessage build() { + de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessage result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } - - private de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage buildParsed() - throws com.google.protobuf.InvalidProtocolBufferException { - de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException( - result).asInvalidProtocolBufferException(); - } - return result; - } - - public de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage buildPartial() { - de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage result = new de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage(this); + + public de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessage buildPartial() { + de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessage result = new de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessage(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { @@ -15651,25 +19439,25 @@ public final class ProtoBuf { if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } - result.gamePlayerLeftReason_ = gamePlayerLeftReason_; + result.isGameAdmin_ = isGameAdmin_; result.bitField0_ = to_bitField0_; return result; } - - public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage other) { - if (other == de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.getDefaultInstance()) return this; + + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessage other) { + if (other == de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessage.getDefaultInstance()) return this; if (other.hasGameId()) { setGameId(other.getGameId()); } if (other.hasPlayerId()) { setPlayerId(other.getPlayerId()); } - if (other.hasGamePlayerLeftReason()) { - setGamePlayerLeftReason(other.getGamePlayerLeftReason()); + if (other.hasIsGameAdmin()) { + setIsGameAdmin(other.getIsGameAdmin()); } return this; } - + public final boolean isInitialized() { if (!hasGameId()) { @@ -15679,27 +19467,215 @@ public final class ProtoBuf { return false; } - if (!hasGamePlayerLeftReason()) { + if (!hasIsGameAdmin()) { return false; } return true; } - + public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - while (true) { + de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessage parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessage) e.getUnfinishedMessage(); + throw e; + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int bitField0_; + + // required uint32 gameId = 1; + private int gameId_ ; + /** + * required uint32 gameId = 1; + */ + public boolean hasGameId() { + return ((bitField0_ & 0x00000001) == 0x00000001); + } + /** + * required uint32 gameId = 1; + */ + public int getGameId() { + return gameId_; + } + /** + * required uint32 gameId = 1; + */ + public Builder setGameId(int value) { + bitField0_ |= 0x00000001; + gameId_ = value; + + return this; + } + /** + * required uint32 gameId = 1; + */ + public Builder clearGameId() { + bitField0_ = (bitField0_ & ~0x00000001); + gameId_ = 0; + + return this; + } + + // required uint32 playerId = 2; + private int playerId_ ; + /** + * required uint32 playerId = 2; + */ + public boolean hasPlayerId() { + return ((bitField0_ & 0x00000002) == 0x00000002); + } + /** + * required uint32 playerId = 2; + */ + public int getPlayerId() { + return playerId_; + } + /** + * required uint32 playerId = 2; + */ + public Builder setPlayerId(int value) { + bitField0_ |= 0x00000002; + playerId_ = value; + + return this; + } + /** + * required uint32 playerId = 2; + */ + public Builder clearPlayerId() { + bitField0_ = (bitField0_ & ~0x00000002); + playerId_ = 0; + + return this; + } + + // required bool isGameAdmin = 3; + private boolean isGameAdmin_ ; + /** + * required bool isGameAdmin = 3; + */ + public boolean hasIsGameAdmin() { + return ((bitField0_ & 0x00000004) == 0x00000004); + } + /** + * required bool isGameAdmin = 3; + */ + public boolean getIsGameAdmin() { + return isGameAdmin_; + } + /** + * required bool isGameAdmin = 3; + */ + public Builder setIsGameAdmin(boolean value) { + bitField0_ |= 0x00000004; + isGameAdmin_ = value; + + return this; + } + /** + * required bool isGameAdmin = 3; + */ + public Builder clearIsGameAdmin() { + bitField0_ = (bitField0_ & ~0x00000004); + isGameAdmin_ = false; + + return this; + } + + // @@protoc_insertion_point(builder_scope:GamePlayerJoinedMessage) + } + + static { + defaultInstance = new GamePlayerJoinedMessage(true); + defaultInstance.initFields(); + } + + // @@protoc_insertion_point(class_scope:GamePlayerJoinedMessage) + } + + public interface GamePlayerLeftMessageOrBuilder + extends com.google.protobuf.MessageLiteOrBuilder { + + // required uint32 gameId = 1; + /** + * required uint32 gameId = 1; + */ + boolean hasGameId(); + /** + * required uint32 gameId = 1; + */ + int getGameId(); + + // required uint32 playerId = 2; + /** + * required uint32 playerId = 2; + */ + boolean hasPlayerId(); + /** + * required uint32 playerId = 2; + */ + int getPlayerId(); + + // required .GamePlayerLeftMessage.GamePlayerLeftReason gamePlayerLeftReason = 3; + /** + * required .GamePlayerLeftMessage.GamePlayerLeftReason gamePlayerLeftReason = 3; + */ + boolean hasGamePlayerLeftReason(); + /** + * required .GamePlayerLeftMessage.GamePlayerLeftReason gamePlayerLeftReason = 3; + */ + de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.GamePlayerLeftReason getGamePlayerLeftReason(); + } + /** + * Protobuf type {@code GamePlayerLeftMessage} + */ + public static final class GamePlayerLeftMessage extends + com.google.protobuf.GeneratedMessageLite + implements GamePlayerLeftMessageOrBuilder { + // Use GamePlayerLeftMessage.newBuilder() to construct. + private GamePlayerLeftMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { + super(builder); + + } + private GamePlayerLeftMessage(boolean noInit) {} + + private static final GamePlayerLeftMessage defaultInstance; + public static GamePlayerLeftMessage getDefaultInstance() { + return defaultInstance; + } + + public GamePlayerLeftMessage getDefaultInstanceForType() { + return defaultInstance; + } + + private GamePlayerLeftMessage( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + initFields(); + int mutable_bitField0_ = 0; + try { + boolean done = false; + while (!done) { int tag = input.readTag(); switch (tag) { case 0: - - return this; + done = true; + break; default: { - if (!parseUnknownField(input, extensionRegistry, tag)) { - - return this; + if (!parseUnknownField(input, + extensionRegistry, tag)) { + done = true; } break; } @@ -15724,146 +19700,154 @@ public final class ProtoBuf { } } } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e.getMessage()).setUnfinishedMessage(this); + } finally { + makeExtensionsImmutable(); } - - private int bitField0_; - - // required uint32 gameId = 1; - private int gameId_ ; - public boolean hasGameId() { - return ((bitField0_ & 0x00000001) == 0x00000001); + } + public static com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + public GamePlayerLeftMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GamePlayerLeftMessage(input, extensionRegistry); } - public int getGameId() { - return gameId_; - } - public Builder setGameId(int value) { - bitField0_ |= 0x00000001; - gameId_ = value; - - return this; - } - public Builder clearGameId() { - bitField0_ = (bitField0_ & ~0x00000001); - gameId_ = 0; - - return this; - } - - // required uint32 playerId = 2; - private int playerId_ ; - public boolean hasPlayerId() { - return ((bitField0_ & 0x00000002) == 0x00000002); - } - public int getPlayerId() { - return playerId_; - } - public Builder setPlayerId(int value) { - bitField0_ |= 0x00000002; - playerId_ = value; - - return this; - } - public Builder clearPlayerId() { - bitField0_ = (bitField0_ & ~0x00000002); - playerId_ = 0; - - return this; - } - - // required .GamePlayerLeftMessage.GamePlayerLeftReason gamePlayerLeftReason = 3; - private de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.GamePlayerLeftReason gamePlayerLeftReason_ = de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.GamePlayerLeftReason.leftOnRequest; - public boolean hasGamePlayerLeftReason() { - return ((bitField0_ & 0x00000004) == 0x00000004); - } - public de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.GamePlayerLeftReason getGamePlayerLeftReason() { - return gamePlayerLeftReason_; - } - public Builder setGamePlayerLeftReason(de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.GamePlayerLeftReason value) { - if (value == null) { - throw new NullPointerException(); + }; + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + /** + * Protobuf enum {@code GamePlayerLeftMessage.GamePlayerLeftReason} + */ + public enum GamePlayerLeftReason + implements com.google.protobuf.Internal.EnumLite { + /** + * leftOnRequest = 0; + */ + leftOnRequest(0, 0), + /** + * leftKicked = 1; + */ + leftKicked(1, 1), + /** + * leftError = 2; + */ + leftError(2, 2), + ; + + /** + * leftOnRequest = 0; + */ + public static final int leftOnRequest_VALUE = 0; + /** + * leftKicked = 1; + */ + public static final int leftKicked_VALUE = 1; + /** + * leftError = 2; + */ + public static final int leftError_VALUE = 2; + + + public final int getNumber() { return value; } + + public static GamePlayerLeftReason valueOf(int value) { + switch (value) { + case 0: return leftOnRequest; + case 1: return leftKicked; + case 2: return leftError; + default: return null; } - bitField0_ |= 0x00000004; - gamePlayerLeftReason_ = value; - - return this; } - public Builder clearGamePlayerLeftReason() { - bitField0_ = (bitField0_ & ~0x00000004); - gamePlayerLeftReason_ = de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.GamePlayerLeftReason.leftOnRequest; - - return this; + + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { + return internalValueMap; } - - // @@protoc_insertion_point(builder_scope:GamePlayerLeftMessage) + private static com.google.protobuf.Internal.EnumLiteMap + internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public GamePlayerLeftReason findValueByNumber(int number) { + return GamePlayerLeftReason.valueOf(number); + } + }; + + private final int value; + + private GamePlayerLeftReason(int index, int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:GamePlayerLeftMessage.GamePlayerLeftReason) } - - static { - defaultInstance = new GamePlayerLeftMessage(true); - defaultInstance.initFields(); - } - - // @@protoc_insertion_point(class_scope:GamePlayerLeftMessage) - } - - public interface GameSpectatorJoinedMessageOrBuilder - extends com.google.protobuf.MessageLiteOrBuilder { - - // required uint32 gameId = 1; - boolean hasGameId(); - int getGameId(); - - // required uint32 playerId = 2; - boolean hasPlayerId(); - int getPlayerId(); - } - public static final class GameSpectatorJoinedMessage extends - com.google.protobuf.GeneratedMessageLite - implements GameSpectatorJoinedMessageOrBuilder { - // Use GameSpectatorJoinedMessage.newBuilder() to construct. - private GameSpectatorJoinedMessage(Builder builder) { - super(builder); - } - private GameSpectatorJoinedMessage(boolean noInit) {} - - private static final GameSpectatorJoinedMessage defaultInstance; - public static GameSpectatorJoinedMessage getDefaultInstance() { - return defaultInstance; - } - - public GameSpectatorJoinedMessage getDefaultInstanceForType() { - return defaultInstance; - } - + private int bitField0_; // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; + /** + * required uint32 gameId = 1; + */ public boolean hasGameId() { return ((bitField0_ & 0x00000001) == 0x00000001); } + /** + * required uint32 gameId = 1; + */ public int getGameId() { return gameId_; } - + // required uint32 playerId = 2; public static final int PLAYERID_FIELD_NUMBER = 2; private int playerId_; + /** + * required uint32 playerId = 2; + */ public boolean hasPlayerId() { return ((bitField0_ & 0x00000002) == 0x00000002); } + /** + * required uint32 playerId = 2; + */ public int getPlayerId() { return playerId_; } - + + // required .GamePlayerLeftMessage.GamePlayerLeftReason gamePlayerLeftReason = 3; + public static final int GAMEPLAYERLEFTREASON_FIELD_NUMBER = 3; + private de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.GamePlayerLeftReason gamePlayerLeftReason_; + /** + * required .GamePlayerLeftMessage.GamePlayerLeftReason gamePlayerLeftReason = 3; + */ + public boolean hasGamePlayerLeftReason() { + return ((bitField0_ & 0x00000004) == 0x00000004); + } + /** + * required .GamePlayerLeftMessage.GamePlayerLeftReason gamePlayerLeftReason = 3; + */ + public de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.GamePlayerLeftReason getGamePlayerLeftReason() { + return gamePlayerLeftReason_; + } + private void initFields() { gameId_ = 0; playerId_ = 0; + gamePlayerLeftReason_ = de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.GamePlayerLeftReason.leftOnRequest; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; - + if (!hasGameId()) { memoizedIsInitialized = 0; return false; @@ -15872,10 +19856,14 @@ public final class ProtoBuf { memoizedIsInitialized = 0; return false; } + if (!hasGamePlayerLeftReason()) { + memoizedIsInitialized = 0; + return false; + } memoizedIsInitialized = 1; return true; } - + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); @@ -15885,13 +19873,16 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeUInt32(2, playerId_); } + if (((bitField0_ & 0x00000004) == 0x00000004)) { + output.writeEnum(3, gamePlayerLeftReason_.getNumber()); + } } - + private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; - + size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream @@ -15901,143 +19892,128 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(2, playerId_); } + if (((bitField0_ & 0x00000004) == 0x00000004)) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(3, gamePlayerLeftReason_.getNumber()); + } memoizedSerializedSize = size; return size; } - + private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } - - public static de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessage parseFrom( + + public static de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data).buildParsed(); + return PARSER.parseFrom(data); } - public static de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessage parseFrom( + public static de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(data, extensionRegistry); } - public static de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessage parseFrom(byte[] data) + public static de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data).buildParsed(); + return PARSER.parseFrom(data); } - public static de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessage parseFrom( + public static de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(data, extensionRegistry); } - public static de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessage parseFrom(java.io.InputStream input) + public static de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage parseFrom(java.io.InputStream input) throws java.io.IOException { - return newBuilder().mergeFrom(input).buildParsed(); + return PARSER.parseFrom(input); } - public static de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessage parseFrom( + public static de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return newBuilder().mergeFrom(input, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(input, extensionRegistry); } - public static de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessage parseDelimitedFrom(java.io.InputStream input) + public static de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - Builder builder = newBuilder(); - if (builder.mergeDelimitedFrom(input)) { - return builder.buildParsed(); - } else { - return null; - } + return PARSER.parseDelimitedFrom(input); } - public static de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessage parseDelimitedFrom( + public static de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - Builder builder = newBuilder(); - if (builder.mergeDelimitedFrom(input, extensionRegistry)) { - return builder.buildParsed(); - } else { - return null; - } + return PARSER.parseDelimitedFrom(input, extensionRegistry); } - public static de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessage parseFrom( + public static de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return newBuilder().mergeFrom(input).buildParsed(); + return PARSER.parseFrom(input); } - public static de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessage parseFrom( + public static de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return newBuilder().mergeFrom(input, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(input, extensionRegistry); } - + public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessage prototype) { + public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } - + + /** + * Protobuf type {@code GamePlayerLeftMessage} + */ public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< - de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessageOrBuilder { - // Construct using de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessage.newBuilder() + de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage, Builder> + implements de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessageOrBuilder { + // Construct using de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - + private void maybeForceBuilderInitialization() { } private static Builder create() { return new Builder(); } - + public Builder clear() { super.clear(); gameId_ = 0; bitField0_ = (bitField0_ & ~0x00000001); playerId_ = 0; bitField0_ = (bitField0_ & ~0x00000002); + gamePlayerLeftReason_ = de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.GamePlayerLeftReason.leftOnRequest; + bitField0_ = (bitField0_ & ~0x00000004); return this; } - + public Builder clone() { return create().mergeFrom(buildPartial()); } - - public de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessage getDefaultInstanceForType() { - return de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessage.getDefaultInstance(); + + public de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage getDefaultInstanceForType() { + return de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.getDefaultInstance(); } - - public de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessage build() { - de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessage result = buildPartial(); + + public de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage build() { + de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } - - private de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessage buildParsed() - throws com.google.protobuf.InvalidProtocolBufferException { - de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessage result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException( - result).asInvalidProtocolBufferException(); - } - return result; - } - - public de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessage buildPartial() { - de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessage result = new de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessage(this); + + public de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage buildPartial() { + de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage result = new de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { @@ -16048,21 +20024,28 @@ public final class ProtoBuf { to_bitField0_ |= 0x00000002; } result.playerId_ = playerId_; + if (((from_bitField0_ & 0x00000004) == 0x00000004)) { + to_bitField0_ |= 0x00000004; + } + result.gamePlayerLeftReason_ = gamePlayerLeftReason_; result.bitField0_ = to_bitField0_; return result; } - - public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessage other) { - if (other == de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessage.getDefaultInstance()) return this; + + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage other) { + if (other == de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.getDefaultInstance()) return this; if (other.hasGameId()) { setGameId(other.getGameId()); } if (other.hasPlayerId()) { setPlayerId(other.getPlayerId()); } + if (other.hasGamePlayerLeftReason()) { + setGamePlayerLeftReason(other.getGamePlayerLeftReason()); + } return this; } - + public final boolean isInitialized() { if (!hasGameId()) { @@ -16072,23 +20055,208 @@ public final class ProtoBuf { return false; } + if (!hasGamePlayerLeftReason()) { + + return false; + } return true; } - + public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - while (true) { + de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage) e.getUnfinishedMessage(); + throw e; + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int bitField0_; + + // required uint32 gameId = 1; + private int gameId_ ; + /** + * required uint32 gameId = 1; + */ + public boolean hasGameId() { + return ((bitField0_ & 0x00000001) == 0x00000001); + } + /** + * required uint32 gameId = 1; + */ + public int getGameId() { + return gameId_; + } + /** + * required uint32 gameId = 1; + */ + public Builder setGameId(int value) { + bitField0_ |= 0x00000001; + gameId_ = value; + + return this; + } + /** + * required uint32 gameId = 1; + */ + public Builder clearGameId() { + bitField0_ = (bitField0_ & ~0x00000001); + gameId_ = 0; + + return this; + } + + // required uint32 playerId = 2; + private int playerId_ ; + /** + * required uint32 playerId = 2; + */ + public boolean hasPlayerId() { + return ((bitField0_ & 0x00000002) == 0x00000002); + } + /** + * required uint32 playerId = 2; + */ + public int getPlayerId() { + return playerId_; + } + /** + * required uint32 playerId = 2; + */ + public Builder setPlayerId(int value) { + bitField0_ |= 0x00000002; + playerId_ = value; + + return this; + } + /** + * required uint32 playerId = 2; + */ + public Builder clearPlayerId() { + bitField0_ = (bitField0_ & ~0x00000002); + playerId_ = 0; + + return this; + } + + // required .GamePlayerLeftMessage.GamePlayerLeftReason gamePlayerLeftReason = 3; + private de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.GamePlayerLeftReason gamePlayerLeftReason_ = de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.GamePlayerLeftReason.leftOnRequest; + /** + * required .GamePlayerLeftMessage.GamePlayerLeftReason gamePlayerLeftReason = 3; + */ + public boolean hasGamePlayerLeftReason() { + return ((bitField0_ & 0x00000004) == 0x00000004); + } + /** + * required .GamePlayerLeftMessage.GamePlayerLeftReason gamePlayerLeftReason = 3; + */ + public de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.GamePlayerLeftReason getGamePlayerLeftReason() { + return gamePlayerLeftReason_; + } + /** + * required .GamePlayerLeftMessage.GamePlayerLeftReason gamePlayerLeftReason = 3; + */ + public Builder setGamePlayerLeftReason(de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.GamePlayerLeftReason value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000004; + gamePlayerLeftReason_ = value; + + return this; + } + /** + * required .GamePlayerLeftMessage.GamePlayerLeftReason gamePlayerLeftReason = 3; + */ + public Builder clearGamePlayerLeftReason() { + bitField0_ = (bitField0_ & ~0x00000004); + gamePlayerLeftReason_ = de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.GamePlayerLeftReason.leftOnRequest; + + return this; + } + + // @@protoc_insertion_point(builder_scope:GamePlayerLeftMessage) + } + + static { + defaultInstance = new GamePlayerLeftMessage(true); + defaultInstance.initFields(); + } + + // @@protoc_insertion_point(class_scope:GamePlayerLeftMessage) + } + + public interface GameSpectatorJoinedMessageOrBuilder + extends com.google.protobuf.MessageLiteOrBuilder { + + // required uint32 gameId = 1; + /** + * required uint32 gameId = 1; + */ + boolean hasGameId(); + /** + * required uint32 gameId = 1; + */ + int getGameId(); + + // required uint32 playerId = 2; + /** + * required uint32 playerId = 2; + */ + boolean hasPlayerId(); + /** + * required uint32 playerId = 2; + */ + int getPlayerId(); + } + /** + * Protobuf type {@code GameSpectatorJoinedMessage} + */ + public static final class GameSpectatorJoinedMessage extends + com.google.protobuf.GeneratedMessageLite + implements GameSpectatorJoinedMessageOrBuilder { + // Use GameSpectatorJoinedMessage.newBuilder() to construct. + private GameSpectatorJoinedMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { + super(builder); + + } + private GameSpectatorJoinedMessage(boolean noInit) {} + + private static final GameSpectatorJoinedMessage defaultInstance; + public static GameSpectatorJoinedMessage getDefaultInstance() { + return defaultInstance; + } + + public GameSpectatorJoinedMessage getDefaultInstanceForType() { + return defaultInstance; + } + + private GameSpectatorJoinedMessage( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + initFields(); + int mutable_bitField0_ = 0; + try { + boolean done = false; + while (!done) { int tag = input.readTag(); switch (tag) { case 0: - - return this; + done = true; + break; default: { - if (!parseUnknownField(input, extensionRegistry, tag)) { - - return this; + if (!parseUnknownField(input, + extensionRegistry, tag)) { + done = true; } break; } @@ -16104,137 +20272,72 @@ public final class ProtoBuf { } } } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e.getMessage()).setUnfinishedMessage(this); + } finally { + makeExtensionsImmutable(); } - - private int bitField0_; - - // required uint32 gameId = 1; - private int gameId_ ; - public boolean hasGameId() { - return ((bitField0_ & 0x00000001) == 0x00000001); - } - public int getGameId() { - return gameId_; - } - public Builder setGameId(int value) { - bitField0_ |= 0x00000001; - gameId_ = value; - - return this; - } - public Builder clearGameId() { - bitField0_ = (bitField0_ & ~0x00000001); - gameId_ = 0; - - return this; - } - - // required uint32 playerId = 2; - private int playerId_ ; - public boolean hasPlayerId() { - return ((bitField0_ & 0x00000002) == 0x00000002); - } - public int getPlayerId() { - return playerId_; - } - public Builder setPlayerId(int value) { - bitField0_ |= 0x00000002; - playerId_ = value; - - return this; - } - public Builder clearPlayerId() { - bitField0_ = (bitField0_ & ~0x00000002); - playerId_ = 0; - - return this; - } - - // @@protoc_insertion_point(builder_scope:GameSpectatorJoinedMessage) } - - static { - defaultInstance = new GameSpectatorJoinedMessage(true); - defaultInstance.initFields(); + public static com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + public GameSpectatorJoinedMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GameSpectatorJoinedMessage(input, extensionRegistry); + } + }; + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; } - - // @@protoc_insertion_point(class_scope:GameSpectatorJoinedMessage) - } - - public interface GameSpectatorLeftMessageOrBuilder - extends com.google.protobuf.MessageLiteOrBuilder { - - // required uint32 gameId = 1; - boolean hasGameId(); - int getGameId(); - - // required uint32 playerId = 2; - boolean hasPlayerId(); - int getPlayerId(); - - // required .GamePlayerLeftMessage.GamePlayerLeftReason gameSpectatorLeftReason = 3; - boolean hasGameSpectatorLeftReason(); - de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.GamePlayerLeftReason getGameSpectatorLeftReason(); - } - public static final class GameSpectatorLeftMessage extends - com.google.protobuf.GeneratedMessageLite - implements GameSpectatorLeftMessageOrBuilder { - // Use GameSpectatorLeftMessage.newBuilder() to construct. - private GameSpectatorLeftMessage(Builder builder) { - super(builder); - } - private GameSpectatorLeftMessage(boolean noInit) {} - - private static final GameSpectatorLeftMessage defaultInstance; - public static GameSpectatorLeftMessage getDefaultInstance() { - return defaultInstance; - } - - public GameSpectatorLeftMessage getDefaultInstanceForType() { - return defaultInstance; - } - + private int bitField0_; // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; + /** + * required uint32 gameId = 1; + */ public boolean hasGameId() { return ((bitField0_ & 0x00000001) == 0x00000001); } + /** + * required uint32 gameId = 1; + */ public int getGameId() { return gameId_; } - + // required uint32 playerId = 2; public static final int PLAYERID_FIELD_NUMBER = 2; private int playerId_; + /** + * required uint32 playerId = 2; + */ public boolean hasPlayerId() { return ((bitField0_ & 0x00000002) == 0x00000002); } + /** + * required uint32 playerId = 2; + */ public int getPlayerId() { return playerId_; } - - // required .GamePlayerLeftMessage.GamePlayerLeftReason gameSpectatorLeftReason = 3; - public static final int GAMESPECTATORLEFTREASON_FIELD_NUMBER = 3; - private de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.GamePlayerLeftReason gameSpectatorLeftReason_; - public boolean hasGameSpectatorLeftReason() { - return ((bitField0_ & 0x00000004) == 0x00000004); - } - public de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.GamePlayerLeftReason getGameSpectatorLeftReason() { - return gameSpectatorLeftReason_; - } - + private void initFields() { gameId_ = 0; playerId_ = 0; - gameSpectatorLeftReason_ = de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.GamePlayerLeftReason.leftOnRequest; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; - + if (!hasGameId()) { memoizedIsInitialized = 0; return false; @@ -16243,14 +20346,10 @@ public final class ProtoBuf { memoizedIsInitialized = 0; return false; } - if (!hasGameSpectatorLeftReason()) { - memoizedIsInitialized = 0; - return false; - } memoizedIsInitialized = 1; return true; } - + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); @@ -16260,16 +20359,13 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeUInt32(2, playerId_); } - if (((bitField0_ & 0x00000004) == 0x00000004)) { - output.writeEnum(3, gameSpectatorLeftReason_.getNumber()); - } } - + private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; - + size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream @@ -16279,149 +20375,122 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(2, playerId_); } - if (((bitField0_ & 0x00000004) == 0x00000004)) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(3, gameSpectatorLeftReason_.getNumber()); - } memoizedSerializedSize = size; return size; } - + private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } - - public static de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessage parseFrom( + + public static de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data).buildParsed(); + return PARSER.parseFrom(data); } - public static de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessage parseFrom( + public static de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessage parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(data, extensionRegistry); } - public static de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessage parseFrom(byte[] data) + public static de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessage parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data).buildParsed(); + return PARSER.parseFrom(data); } - public static de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessage parseFrom( + public static de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessage parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(data, extensionRegistry); } - public static de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessage parseFrom(java.io.InputStream input) + public static de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessage parseFrom(java.io.InputStream input) throws java.io.IOException { - return newBuilder().mergeFrom(input).buildParsed(); + return PARSER.parseFrom(input); } - public static de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessage parseFrom( + public static de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessage parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return newBuilder().mergeFrom(input, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(input, extensionRegistry); } - public static de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessage parseDelimitedFrom(java.io.InputStream input) + public static de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessage parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - Builder builder = newBuilder(); - if (builder.mergeDelimitedFrom(input)) { - return builder.buildParsed(); - } else { - return null; - } + return PARSER.parseDelimitedFrom(input); } - public static de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessage parseDelimitedFrom( + public static de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessage parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - Builder builder = newBuilder(); - if (builder.mergeDelimitedFrom(input, extensionRegistry)) { - return builder.buildParsed(); - } else { - return null; - } + return PARSER.parseDelimitedFrom(input, extensionRegistry); } - public static de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessage parseFrom( + public static de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessage parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return newBuilder().mergeFrom(input).buildParsed(); + return PARSER.parseFrom(input); } - public static de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessage parseFrom( + public static de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessage parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return newBuilder().mergeFrom(input, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(input, extensionRegistry); } - + public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessage prototype) { + public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessage prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } - + + /** + * Protobuf type {@code GameSpectatorJoinedMessage} + */ public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< - de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessageOrBuilder { - // Construct using de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessage.newBuilder() + de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessage, Builder> + implements de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessageOrBuilder { + // Construct using de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - + private void maybeForceBuilderInitialization() { } private static Builder create() { return new Builder(); } - + public Builder clear() { super.clear(); gameId_ = 0; bitField0_ = (bitField0_ & ~0x00000001); playerId_ = 0; bitField0_ = (bitField0_ & ~0x00000002); - gameSpectatorLeftReason_ = de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.GamePlayerLeftReason.leftOnRequest; - bitField0_ = (bitField0_ & ~0x00000004); return this; } - + public Builder clone() { return create().mergeFrom(buildPartial()); } - - public de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessage getDefaultInstanceForType() { - return de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessage.getDefaultInstance(); + + public de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessage getDefaultInstanceForType() { + return de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessage.getDefaultInstance(); } - - public de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessage build() { - de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessage result = buildPartial(); + + public de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessage build() { + de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessage result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } - - private de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessage buildParsed() - throws com.google.protobuf.InvalidProtocolBufferException { - de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessage result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException( - result).asInvalidProtocolBufferException(); - } - return result; - } - - public de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessage buildPartial() { - de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessage result = new de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessage(this); + + public de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessage buildPartial() { + de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessage result = new de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessage(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { @@ -16432,28 +20501,21 @@ public final class ProtoBuf { to_bitField0_ |= 0x00000002; } result.playerId_ = playerId_; - if (((from_bitField0_ & 0x00000004) == 0x00000004)) { - to_bitField0_ |= 0x00000004; - } - result.gameSpectatorLeftReason_ = gameSpectatorLeftReason_; result.bitField0_ = to_bitField0_; return result; } - - public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessage other) { - if (other == de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessage.getDefaultInstance()) return this; + + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessage other) { + if (other == de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessage.getDefaultInstance()) return this; if (other.hasGameId()) { setGameId(other.getGameId()); } if (other.hasPlayerId()) { setPlayerId(other.getPlayerId()); } - if (other.hasGameSpectatorLeftReason()) { - setGameSpectatorLeftReason(other.getGameSpectatorLeftReason()); - } return this; } - + public final boolean isInitialized() { if (!hasGameId()) { @@ -16463,27 +20525,178 @@ public final class ProtoBuf { return false; } - if (!hasGameSpectatorLeftReason()) { - - return false; - } return true; } - + public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - while (true) { + de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessage parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessage) e.getUnfinishedMessage(); + throw e; + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int bitField0_; + + // required uint32 gameId = 1; + private int gameId_ ; + /** + * required uint32 gameId = 1; + */ + public boolean hasGameId() { + return ((bitField0_ & 0x00000001) == 0x00000001); + } + /** + * required uint32 gameId = 1; + */ + public int getGameId() { + return gameId_; + } + /** + * required uint32 gameId = 1; + */ + public Builder setGameId(int value) { + bitField0_ |= 0x00000001; + gameId_ = value; + + return this; + } + /** + * required uint32 gameId = 1; + */ + public Builder clearGameId() { + bitField0_ = (bitField0_ & ~0x00000001); + gameId_ = 0; + + return this; + } + + // required uint32 playerId = 2; + private int playerId_ ; + /** + * required uint32 playerId = 2; + */ + public boolean hasPlayerId() { + return ((bitField0_ & 0x00000002) == 0x00000002); + } + /** + * required uint32 playerId = 2; + */ + public int getPlayerId() { + return playerId_; + } + /** + * required uint32 playerId = 2; + */ + public Builder setPlayerId(int value) { + bitField0_ |= 0x00000002; + playerId_ = value; + + return this; + } + /** + * required uint32 playerId = 2; + */ + public Builder clearPlayerId() { + bitField0_ = (bitField0_ & ~0x00000002); + playerId_ = 0; + + return this; + } + + // @@protoc_insertion_point(builder_scope:GameSpectatorJoinedMessage) + } + + static { + defaultInstance = new GameSpectatorJoinedMessage(true); + defaultInstance.initFields(); + } + + // @@protoc_insertion_point(class_scope:GameSpectatorJoinedMessage) + } + + public interface GameSpectatorLeftMessageOrBuilder + extends com.google.protobuf.MessageLiteOrBuilder { + + // required uint32 gameId = 1; + /** + * required uint32 gameId = 1; + */ + boolean hasGameId(); + /** + * required uint32 gameId = 1; + */ + int getGameId(); + + // required uint32 playerId = 2; + /** + * required uint32 playerId = 2; + */ + boolean hasPlayerId(); + /** + * required uint32 playerId = 2; + */ + int getPlayerId(); + + // required .GamePlayerLeftMessage.GamePlayerLeftReason gameSpectatorLeftReason = 3; + /** + * required .GamePlayerLeftMessage.GamePlayerLeftReason gameSpectatorLeftReason = 3; + */ + boolean hasGameSpectatorLeftReason(); + /** + * required .GamePlayerLeftMessage.GamePlayerLeftReason gameSpectatorLeftReason = 3; + */ + de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.GamePlayerLeftReason getGameSpectatorLeftReason(); + } + /** + * Protobuf type {@code GameSpectatorLeftMessage} + */ + public static final class GameSpectatorLeftMessage extends + com.google.protobuf.GeneratedMessageLite + implements GameSpectatorLeftMessageOrBuilder { + // Use GameSpectatorLeftMessage.newBuilder() to construct. + private GameSpectatorLeftMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { + super(builder); + + } + private GameSpectatorLeftMessage(boolean noInit) {} + + private static final GameSpectatorLeftMessage defaultInstance; + public static GameSpectatorLeftMessage getDefaultInstance() { + return defaultInstance; + } + + public GameSpectatorLeftMessage getDefaultInstanceForType() { + return defaultInstance; + } + + private GameSpectatorLeftMessage( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + initFields(); + int mutable_bitField0_ = 0; + try { + boolean done = false; + while (!done) { int tag = input.readTag(); switch (tag) { case 0: - - return this; + done = true; + break; default: { - if (!parseUnknownField(input, extensionRegistry, tag)) { - - return this; + if (!parseUnknownField(input, + extensionRegistry, tag)) { + done = true; } break; } @@ -16508,158 +20721,105 @@ public final class ProtoBuf { } } } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e.getMessage()).setUnfinishedMessage(this); + } finally { + makeExtensionsImmutable(); } - - private int bitField0_; - - // required uint32 gameId = 1; - private int gameId_ ; - public boolean hasGameId() { - return ((bitField0_ & 0x00000001) == 0x00000001); - } - public int getGameId() { - return gameId_; - } - public Builder setGameId(int value) { - bitField0_ |= 0x00000001; - gameId_ = value; - - return this; - } - public Builder clearGameId() { - bitField0_ = (bitField0_ & ~0x00000001); - gameId_ = 0; - - return this; - } - - // required uint32 playerId = 2; - private int playerId_ ; - public boolean hasPlayerId() { - return ((bitField0_ & 0x00000002) == 0x00000002); - } - public int getPlayerId() { - return playerId_; - } - public Builder setPlayerId(int value) { - bitField0_ |= 0x00000002; - playerId_ = value; - - return this; - } - public Builder clearPlayerId() { - bitField0_ = (bitField0_ & ~0x00000002); - playerId_ = 0; - - return this; - } - - // required .GamePlayerLeftMessage.GamePlayerLeftReason gameSpectatorLeftReason = 3; - private de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.GamePlayerLeftReason gameSpectatorLeftReason_ = de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.GamePlayerLeftReason.leftOnRequest; - public boolean hasGameSpectatorLeftReason() { - return ((bitField0_ & 0x00000004) == 0x00000004); - } - public de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.GamePlayerLeftReason getGameSpectatorLeftReason() { - return gameSpectatorLeftReason_; - } - public Builder setGameSpectatorLeftReason(de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.GamePlayerLeftReason value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000004; - gameSpectatorLeftReason_ = value; - - return this; - } - public Builder clearGameSpectatorLeftReason() { - bitField0_ = (bitField0_ & ~0x00000004); - gameSpectatorLeftReason_ = de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.GamePlayerLeftReason.leftOnRequest; - - return this; - } - - // @@protoc_insertion_point(builder_scope:GameSpectatorLeftMessage) } - - static { - defaultInstance = new GameSpectatorLeftMessage(true); - defaultInstance.initFields(); + public static com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + public GameSpectatorLeftMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GameSpectatorLeftMessage(input, extensionRegistry); + } + }; + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; } - - // @@protoc_insertion_point(class_scope:GameSpectatorLeftMessage) - } - - public interface GameAdminChangedMessageOrBuilder - extends com.google.protobuf.MessageLiteOrBuilder { - - // required uint32 gameId = 1; - boolean hasGameId(); - int getGameId(); - - // required uint32 newAdminPlayerId = 2; - boolean hasNewAdminPlayerId(); - int getNewAdminPlayerId(); - } - public static final class GameAdminChangedMessage extends - com.google.protobuf.GeneratedMessageLite - implements GameAdminChangedMessageOrBuilder { - // Use GameAdminChangedMessage.newBuilder() to construct. - private GameAdminChangedMessage(Builder builder) { - super(builder); - } - private GameAdminChangedMessage(boolean noInit) {} - - private static final GameAdminChangedMessage defaultInstance; - public static GameAdminChangedMessage getDefaultInstance() { - return defaultInstance; - } - - public GameAdminChangedMessage getDefaultInstanceForType() { - return defaultInstance; - } - + private int bitField0_; // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; + /** + * required uint32 gameId = 1; + */ public boolean hasGameId() { return ((bitField0_ & 0x00000001) == 0x00000001); } + /** + * required uint32 gameId = 1; + */ public int getGameId() { return gameId_; } - - // required uint32 newAdminPlayerId = 2; - public static final int NEWADMINPLAYERID_FIELD_NUMBER = 2; - private int newAdminPlayerId_; - public boolean hasNewAdminPlayerId() { + + // required uint32 playerId = 2; + public static final int PLAYERID_FIELD_NUMBER = 2; + private int playerId_; + /** + * required uint32 playerId = 2; + */ + public boolean hasPlayerId() { return ((bitField0_ & 0x00000002) == 0x00000002); } - public int getNewAdminPlayerId() { - return newAdminPlayerId_; + /** + * required uint32 playerId = 2; + */ + public int getPlayerId() { + return playerId_; } - + + // required .GamePlayerLeftMessage.GamePlayerLeftReason gameSpectatorLeftReason = 3; + public static final int GAMESPECTATORLEFTREASON_FIELD_NUMBER = 3; + private de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.GamePlayerLeftReason gameSpectatorLeftReason_; + /** + * required .GamePlayerLeftMessage.GamePlayerLeftReason gameSpectatorLeftReason = 3; + */ + public boolean hasGameSpectatorLeftReason() { + return ((bitField0_ & 0x00000004) == 0x00000004); + } + /** + * required .GamePlayerLeftMessage.GamePlayerLeftReason gameSpectatorLeftReason = 3; + */ + public de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.GamePlayerLeftReason getGameSpectatorLeftReason() { + return gameSpectatorLeftReason_; + } + private void initFields() { gameId_ = 0; - newAdminPlayerId_ = 0; + playerId_ = 0; + gameSpectatorLeftReason_ = de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.GamePlayerLeftReason.leftOnRequest; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; - + if (!hasGameId()) { memoizedIsInitialized = 0; return false; } - if (!hasNewAdminPlayerId()) { + if (!hasPlayerId()) { + memoizedIsInitialized = 0; + return false; + } + if (!hasGameSpectatorLeftReason()) { memoizedIsInitialized = 0; return false; } memoizedIsInitialized = 1; return true; } - + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); @@ -16667,15 +20827,18 @@ public final class ProtoBuf { output.writeUInt32(1, gameId_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { - output.writeUInt32(2, newAdminPlayerId_); + output.writeUInt32(2, playerId_); + } + if (((bitField0_ & 0x00000004) == 0x00000004)) { + output.writeEnum(3, gameSpectatorLeftReason_.getNumber()); } } - + private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; - + size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream @@ -16683,145 +20846,130 @@ public final class ProtoBuf { } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(2, newAdminPlayerId_); + .computeUInt32Size(2, playerId_); + } + if (((bitField0_ & 0x00000004) == 0x00000004)) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(3, gameSpectatorLeftReason_.getNumber()); } memoizedSerializedSize = size; return size; } - + private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } - - public static de.pokerth.protocol.ProtoBuf.GameAdminChangedMessage parseFrom( + + public static de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data).buildParsed(); + return PARSER.parseFrom(data); } - public static de.pokerth.protocol.ProtoBuf.GameAdminChangedMessage parseFrom( + public static de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessage parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(data, extensionRegistry); } - public static de.pokerth.protocol.ProtoBuf.GameAdminChangedMessage parseFrom(byte[] data) + public static de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessage parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data).buildParsed(); + return PARSER.parseFrom(data); } - public static de.pokerth.protocol.ProtoBuf.GameAdminChangedMessage parseFrom( + public static de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessage parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(data, extensionRegistry); } - public static de.pokerth.protocol.ProtoBuf.GameAdminChangedMessage parseFrom(java.io.InputStream input) + public static de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessage parseFrom(java.io.InputStream input) throws java.io.IOException { - return newBuilder().mergeFrom(input).buildParsed(); + return PARSER.parseFrom(input); } - public static de.pokerth.protocol.ProtoBuf.GameAdminChangedMessage parseFrom( + public static de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessage parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return newBuilder().mergeFrom(input, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(input, extensionRegistry); } - public static de.pokerth.protocol.ProtoBuf.GameAdminChangedMessage parseDelimitedFrom(java.io.InputStream input) + public static de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessage parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - Builder builder = newBuilder(); - if (builder.mergeDelimitedFrom(input)) { - return builder.buildParsed(); - } else { - return null; - } + return PARSER.parseDelimitedFrom(input); } - public static de.pokerth.protocol.ProtoBuf.GameAdminChangedMessage parseDelimitedFrom( + public static de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessage parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - Builder builder = newBuilder(); - if (builder.mergeDelimitedFrom(input, extensionRegistry)) { - return builder.buildParsed(); - } else { - return null; - } + return PARSER.parseDelimitedFrom(input, extensionRegistry); } - public static de.pokerth.protocol.ProtoBuf.GameAdminChangedMessage parseFrom( + public static de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessage parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return newBuilder().mergeFrom(input).buildParsed(); + return PARSER.parseFrom(input); } - public static de.pokerth.protocol.ProtoBuf.GameAdminChangedMessage parseFrom( + public static de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessage parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return newBuilder().mergeFrom(input, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(input, extensionRegistry); } - + public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.GameAdminChangedMessage prototype) { + public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessage prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } - + + /** + * Protobuf type {@code GameSpectatorLeftMessage} + */ public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< - de.pokerth.protocol.ProtoBuf.GameAdminChangedMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.GameAdminChangedMessageOrBuilder { - // Construct using de.pokerth.protocol.ProtoBuf.GameAdminChangedMessage.newBuilder() + de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessage, Builder> + implements de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessageOrBuilder { + // Construct using de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - + private void maybeForceBuilderInitialization() { } private static Builder create() { return new Builder(); } - + public Builder clear() { super.clear(); gameId_ = 0; bitField0_ = (bitField0_ & ~0x00000001); - newAdminPlayerId_ = 0; + playerId_ = 0; bitField0_ = (bitField0_ & ~0x00000002); + gameSpectatorLeftReason_ = de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.GamePlayerLeftReason.leftOnRequest; + bitField0_ = (bitField0_ & ~0x00000004); return this; } - + public Builder clone() { return create().mergeFrom(buildPartial()); } - - public de.pokerth.protocol.ProtoBuf.GameAdminChangedMessage getDefaultInstanceForType() { - return de.pokerth.protocol.ProtoBuf.GameAdminChangedMessage.getDefaultInstance(); + + public de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessage getDefaultInstanceForType() { + return de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessage.getDefaultInstance(); } - - public de.pokerth.protocol.ProtoBuf.GameAdminChangedMessage build() { - de.pokerth.protocol.ProtoBuf.GameAdminChangedMessage result = buildPartial(); + + public de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessage build() { + de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessage result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } - - private de.pokerth.protocol.ProtoBuf.GameAdminChangedMessage buildParsed() - throws com.google.protobuf.InvalidProtocolBufferException { - de.pokerth.protocol.ProtoBuf.GameAdminChangedMessage result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException( - result).asInvalidProtocolBufferException(); - } - return result; - } - - public de.pokerth.protocol.ProtoBuf.GameAdminChangedMessage buildPartial() { - de.pokerth.protocol.ProtoBuf.GameAdminChangedMessage result = new de.pokerth.protocol.ProtoBuf.GameAdminChangedMessage(this); + + public de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessage buildPartial() { + de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessage result = new de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessage(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { @@ -16831,48 +20979,240 @@ public final class ProtoBuf { if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } - result.newAdminPlayerId_ = newAdminPlayerId_; + result.playerId_ = playerId_; + if (((from_bitField0_ & 0x00000004) == 0x00000004)) { + to_bitField0_ |= 0x00000004; + } + result.gameSpectatorLeftReason_ = gameSpectatorLeftReason_; result.bitField0_ = to_bitField0_; return result; } - - public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.GameAdminChangedMessage other) { - if (other == de.pokerth.protocol.ProtoBuf.GameAdminChangedMessage.getDefaultInstance()) return this; + + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessage other) { + if (other == de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessage.getDefaultInstance()) return this; if (other.hasGameId()) { setGameId(other.getGameId()); } - if (other.hasNewAdminPlayerId()) { - setNewAdminPlayerId(other.getNewAdminPlayerId()); + if (other.hasPlayerId()) { + setPlayerId(other.getPlayerId()); + } + if (other.hasGameSpectatorLeftReason()) { + setGameSpectatorLeftReason(other.getGameSpectatorLeftReason()); } return this; } - + public final boolean isInitialized() { if (!hasGameId()) { return false; } - if (!hasNewAdminPlayerId()) { + if (!hasPlayerId()) { + + return false; + } + if (!hasGameSpectatorLeftReason()) { return false; } return true; } - + public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - while (true) { + de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessage parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessage) e.getUnfinishedMessage(); + throw e; + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int bitField0_; + + // required uint32 gameId = 1; + private int gameId_ ; + /** + * required uint32 gameId = 1; + */ + public boolean hasGameId() { + return ((bitField0_ & 0x00000001) == 0x00000001); + } + /** + * required uint32 gameId = 1; + */ + public int getGameId() { + return gameId_; + } + /** + * required uint32 gameId = 1; + */ + public Builder setGameId(int value) { + bitField0_ |= 0x00000001; + gameId_ = value; + + return this; + } + /** + * required uint32 gameId = 1; + */ + public Builder clearGameId() { + bitField0_ = (bitField0_ & ~0x00000001); + gameId_ = 0; + + return this; + } + + // required uint32 playerId = 2; + private int playerId_ ; + /** + * required uint32 playerId = 2; + */ + public boolean hasPlayerId() { + return ((bitField0_ & 0x00000002) == 0x00000002); + } + /** + * required uint32 playerId = 2; + */ + public int getPlayerId() { + return playerId_; + } + /** + * required uint32 playerId = 2; + */ + public Builder setPlayerId(int value) { + bitField0_ |= 0x00000002; + playerId_ = value; + + return this; + } + /** + * required uint32 playerId = 2; + */ + public Builder clearPlayerId() { + bitField0_ = (bitField0_ & ~0x00000002); + playerId_ = 0; + + return this; + } + + // required .GamePlayerLeftMessage.GamePlayerLeftReason gameSpectatorLeftReason = 3; + private de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.GamePlayerLeftReason gameSpectatorLeftReason_ = de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.GamePlayerLeftReason.leftOnRequest; + /** + * required .GamePlayerLeftMessage.GamePlayerLeftReason gameSpectatorLeftReason = 3; + */ + public boolean hasGameSpectatorLeftReason() { + return ((bitField0_ & 0x00000004) == 0x00000004); + } + /** + * required .GamePlayerLeftMessage.GamePlayerLeftReason gameSpectatorLeftReason = 3; + */ + public de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.GamePlayerLeftReason getGameSpectatorLeftReason() { + return gameSpectatorLeftReason_; + } + /** + * required .GamePlayerLeftMessage.GamePlayerLeftReason gameSpectatorLeftReason = 3; + */ + public Builder setGameSpectatorLeftReason(de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.GamePlayerLeftReason value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000004; + gameSpectatorLeftReason_ = value; + + return this; + } + /** + * required .GamePlayerLeftMessage.GamePlayerLeftReason gameSpectatorLeftReason = 3; + */ + public Builder clearGameSpectatorLeftReason() { + bitField0_ = (bitField0_ & ~0x00000004); + gameSpectatorLeftReason_ = de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.GamePlayerLeftReason.leftOnRequest; + + return this; + } + + // @@protoc_insertion_point(builder_scope:GameSpectatorLeftMessage) + } + + static { + defaultInstance = new GameSpectatorLeftMessage(true); + defaultInstance.initFields(); + } + + // @@protoc_insertion_point(class_scope:GameSpectatorLeftMessage) + } + + public interface GameAdminChangedMessageOrBuilder + extends com.google.protobuf.MessageLiteOrBuilder { + + // required uint32 gameId = 1; + /** + * required uint32 gameId = 1; + */ + boolean hasGameId(); + /** + * required uint32 gameId = 1; + */ + int getGameId(); + + // required uint32 newAdminPlayerId = 2; + /** + * required uint32 newAdminPlayerId = 2; + */ + boolean hasNewAdminPlayerId(); + /** + * required uint32 newAdminPlayerId = 2; + */ + int getNewAdminPlayerId(); + } + /** + * Protobuf type {@code GameAdminChangedMessage} + */ + public static final class GameAdminChangedMessage extends + com.google.protobuf.GeneratedMessageLite + implements GameAdminChangedMessageOrBuilder { + // Use GameAdminChangedMessage.newBuilder() to construct. + private GameAdminChangedMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { + super(builder); + + } + private GameAdminChangedMessage(boolean noInit) {} + + private static final GameAdminChangedMessage defaultInstance; + public static GameAdminChangedMessage getDefaultInstance() { + return defaultInstance; + } + + public GameAdminChangedMessage getDefaultInstanceForType() { + return defaultInstance; + } + + private GameAdminChangedMessage( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + initFields(); + int mutable_bitField0_ = 0; + try { + boolean done = false; + while (!done) { int tag = input.readTag(); switch (tag) { case 0: - - return this; + done = true; + break; default: { - if (!parseUnknownField(input, extensionRegistry, tag)) { - - return this; + if (!parseUnknownField(input, + extensionRegistry, tag)) { + done = true; } break; } @@ -16888,187 +21228,84 @@ public final class ProtoBuf { } } } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e.getMessage()).setUnfinishedMessage(this); + } finally { + makeExtensionsImmutable(); } - - private int bitField0_; - - // required uint32 gameId = 1; - private int gameId_ ; - public boolean hasGameId() { - return ((bitField0_ & 0x00000001) == 0x00000001); - } - public int getGameId() { - return gameId_; - } - public Builder setGameId(int value) { - bitField0_ |= 0x00000001; - gameId_ = value; - - return this; - } - public Builder clearGameId() { - bitField0_ = (bitField0_ & ~0x00000001); - gameId_ = 0; - - return this; - } - - // required uint32 newAdminPlayerId = 2; - private int newAdminPlayerId_ ; - public boolean hasNewAdminPlayerId() { - return ((bitField0_ & 0x00000002) == 0x00000002); - } - public int getNewAdminPlayerId() { - return newAdminPlayerId_; - } - public Builder setNewAdminPlayerId(int value) { - bitField0_ |= 0x00000002; - newAdminPlayerId_ = value; - - return this; - } - public Builder clearNewAdminPlayerId() { - bitField0_ = (bitField0_ & ~0x00000002); - newAdminPlayerId_ = 0; - - return this; - } - - // @@protoc_insertion_point(builder_scope:GameAdminChangedMessage) } - - static { - defaultInstance = new GameAdminChangedMessage(true); - defaultInstance.initFields(); - } - - // @@protoc_insertion_point(class_scope:GameAdminChangedMessage) - } - - public interface RemovedFromGameMessageOrBuilder - extends com.google.protobuf.MessageLiteOrBuilder { - - // required uint32 gameId = 1; - boolean hasGameId(); - int getGameId(); - - // required .RemovedFromGameMessage.RemovedFromGameReason removedFromGameReason = 2; - boolean hasRemovedFromGameReason(); - de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage.RemovedFromGameReason getRemovedFromGameReason(); - } - public static final class RemovedFromGameMessage extends - com.google.protobuf.GeneratedMessageLite - implements RemovedFromGameMessageOrBuilder { - // Use RemovedFromGameMessage.newBuilder() to construct. - private RemovedFromGameMessage(Builder builder) { - super(builder); - } - private RemovedFromGameMessage(boolean noInit) {} - - private static final RemovedFromGameMessage defaultInstance; - public static RemovedFromGameMessage getDefaultInstance() { - return defaultInstance; - } - - public RemovedFromGameMessage getDefaultInstanceForType() { - return defaultInstance; - } - - public enum RemovedFromGameReason - implements com.google.protobuf.Internal.EnumLite { - removedOnRequest(0, 0), - kickedFromGame(1, 1), - gameIsFull(2, 2), - gameIsRunning(3, 3), - gameTimeout(4, 4), - removedStartFailed(5, 5), - ; - - public static final int removedOnRequest_VALUE = 0; - public static final int kickedFromGame_VALUE = 1; - public static final int gameIsFull_VALUE = 2; - public static final int gameIsRunning_VALUE = 3; - public static final int gameTimeout_VALUE = 4; - public static final int removedStartFailed_VALUE = 5; - - - public final int getNumber() { return value; } - - public static RemovedFromGameReason valueOf(int value) { - switch (value) { - case 0: return removedOnRequest; - case 1: return kickedFromGame; - case 2: return gameIsFull; - case 3: return gameIsRunning; - case 4: return gameTimeout; - case 5: return removedStartFailed; - default: return null; - } + public static com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + public GameAdminChangedMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GameAdminChangedMessage(input, extensionRegistry); } - - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { - return internalValueMap; - } - private static com.google.protobuf.Internal.EnumLiteMap - internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public RemovedFromGameReason findValueByNumber(int number) { - return RemovedFromGameReason.valueOf(number); - } - }; - - private final int value; - - private RemovedFromGameReason(int index, int value) { - this.value = value; - } - - // @@protoc_insertion_point(enum_scope:RemovedFromGameMessage.RemovedFromGameReason) + }; + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; } - + private int bitField0_; // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; + /** + * required uint32 gameId = 1; + */ public boolean hasGameId() { return ((bitField0_ & 0x00000001) == 0x00000001); } + /** + * required uint32 gameId = 1; + */ public int getGameId() { return gameId_; } - - // required .RemovedFromGameMessage.RemovedFromGameReason removedFromGameReason = 2; - public static final int REMOVEDFROMGAMEREASON_FIELD_NUMBER = 2; - private de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage.RemovedFromGameReason removedFromGameReason_; - public boolean hasRemovedFromGameReason() { + + // required uint32 newAdminPlayerId = 2; + public static final int NEWADMINPLAYERID_FIELD_NUMBER = 2; + private int newAdminPlayerId_; + /** + * required uint32 newAdminPlayerId = 2; + */ + public boolean hasNewAdminPlayerId() { return ((bitField0_ & 0x00000002) == 0x00000002); } - public de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage.RemovedFromGameReason getRemovedFromGameReason() { - return removedFromGameReason_; + /** + * required uint32 newAdminPlayerId = 2; + */ + public int getNewAdminPlayerId() { + return newAdminPlayerId_; } - + private void initFields() { gameId_ = 0; - removedFromGameReason_ = de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage.RemovedFromGameReason.removedOnRequest; + newAdminPlayerId_ = 0; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; - + if (!hasGameId()) { memoizedIsInitialized = 0; return false; } - if (!hasRemovedFromGameReason()) { + if (!hasNewAdminPlayerId()) { memoizedIsInitialized = 0; return false; } memoizedIsInitialized = 1; return true; } - + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); @@ -17076,15 +21313,15 @@ public final class ProtoBuf { output.writeUInt32(1, gameId_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { - output.writeEnum(2, removedFromGameReason_.getNumber()); + output.writeUInt32(2, newAdminPlayerId_); } } - + private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; - + size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream @@ -17092,145 +21329,124 @@ public final class ProtoBuf { } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, removedFromGameReason_.getNumber()); + .computeUInt32Size(2, newAdminPlayerId_); } memoizedSerializedSize = size; return size; } - + private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } - - public static de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage parseFrom( + + public static de.pokerth.protocol.ProtoBuf.GameAdminChangedMessage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data).buildParsed(); + return PARSER.parseFrom(data); } - public static de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage parseFrom( + public static de.pokerth.protocol.ProtoBuf.GameAdminChangedMessage parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(data, extensionRegistry); } - public static de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage parseFrom(byte[] data) + public static de.pokerth.protocol.ProtoBuf.GameAdminChangedMessage parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data).buildParsed(); + return PARSER.parseFrom(data); } - public static de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage parseFrom( + public static de.pokerth.protocol.ProtoBuf.GameAdminChangedMessage parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(data, extensionRegistry); } - public static de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage parseFrom(java.io.InputStream input) + public static de.pokerth.protocol.ProtoBuf.GameAdminChangedMessage parseFrom(java.io.InputStream input) throws java.io.IOException { - return newBuilder().mergeFrom(input).buildParsed(); + return PARSER.parseFrom(input); } - public static de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage parseFrom( + public static de.pokerth.protocol.ProtoBuf.GameAdminChangedMessage parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return newBuilder().mergeFrom(input, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(input, extensionRegistry); } - public static de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage parseDelimitedFrom(java.io.InputStream input) + public static de.pokerth.protocol.ProtoBuf.GameAdminChangedMessage parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - Builder builder = newBuilder(); - if (builder.mergeDelimitedFrom(input)) { - return builder.buildParsed(); - } else { - return null; - } + return PARSER.parseDelimitedFrom(input); } - public static de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage parseDelimitedFrom( + public static de.pokerth.protocol.ProtoBuf.GameAdminChangedMessage parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - Builder builder = newBuilder(); - if (builder.mergeDelimitedFrom(input, extensionRegistry)) { - return builder.buildParsed(); - } else { - return null; - } + return PARSER.parseDelimitedFrom(input, extensionRegistry); } - public static de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage parseFrom( + public static de.pokerth.protocol.ProtoBuf.GameAdminChangedMessage parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return newBuilder().mergeFrom(input).buildParsed(); + return PARSER.parseFrom(input); } - public static de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage parseFrom( + public static de.pokerth.protocol.ProtoBuf.GameAdminChangedMessage parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return newBuilder().mergeFrom(input, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(input, extensionRegistry); } - + public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage prototype) { + public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.GameAdminChangedMessage prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } - + + /** + * Protobuf type {@code GameAdminChangedMessage} + */ public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< - de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.RemovedFromGameMessageOrBuilder { - // Construct using de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage.newBuilder() + de.pokerth.protocol.ProtoBuf.GameAdminChangedMessage, Builder> + implements de.pokerth.protocol.ProtoBuf.GameAdminChangedMessageOrBuilder { + // Construct using de.pokerth.protocol.ProtoBuf.GameAdminChangedMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - + private void maybeForceBuilderInitialization() { } private static Builder create() { return new Builder(); } - + public Builder clear() { super.clear(); gameId_ = 0; bitField0_ = (bitField0_ & ~0x00000001); - removedFromGameReason_ = de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage.RemovedFromGameReason.removedOnRequest; + newAdminPlayerId_ = 0; bitField0_ = (bitField0_ & ~0x00000002); return this; } - + public Builder clone() { return create().mergeFrom(buildPartial()); } - - public de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage getDefaultInstanceForType() { - return de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage.getDefaultInstance(); + + public de.pokerth.protocol.ProtoBuf.GameAdminChangedMessage getDefaultInstanceForType() { + return de.pokerth.protocol.ProtoBuf.GameAdminChangedMessage.getDefaultInstance(); } - - public de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage build() { - de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage result = buildPartial(); + + public de.pokerth.protocol.ProtoBuf.GameAdminChangedMessage build() { + de.pokerth.protocol.ProtoBuf.GameAdminChangedMessage result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } - - private de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage buildParsed() - throws com.google.protobuf.InvalidProtocolBufferException { - de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException( - result).asInvalidProtocolBufferException(); - } - return result; - } - - public de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage buildPartial() { - de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage result = new de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage(this); + + public de.pokerth.protocol.ProtoBuf.GameAdminChangedMessage buildPartial() { + de.pokerth.protocol.ProtoBuf.GameAdminChangedMessage result = new de.pokerth.protocol.ProtoBuf.GameAdminChangedMessage(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { @@ -17240,48 +21456,193 @@ public final class ProtoBuf { if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } - result.removedFromGameReason_ = removedFromGameReason_; + result.newAdminPlayerId_ = newAdminPlayerId_; result.bitField0_ = to_bitField0_; return result; } - - public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage other) { - if (other == de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage.getDefaultInstance()) return this; + + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.GameAdminChangedMessage other) { + if (other == de.pokerth.protocol.ProtoBuf.GameAdminChangedMessage.getDefaultInstance()) return this; if (other.hasGameId()) { setGameId(other.getGameId()); } - if (other.hasRemovedFromGameReason()) { - setRemovedFromGameReason(other.getRemovedFromGameReason()); + if (other.hasNewAdminPlayerId()) { + setNewAdminPlayerId(other.getNewAdminPlayerId()); } return this; } - + public final boolean isInitialized() { if (!hasGameId()) { return false; } - if (!hasRemovedFromGameReason()) { + if (!hasNewAdminPlayerId()) { return false; } return true; } - + public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - while (true) { + de.pokerth.protocol.ProtoBuf.GameAdminChangedMessage parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (de.pokerth.protocol.ProtoBuf.GameAdminChangedMessage) e.getUnfinishedMessage(); + throw e; + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int bitField0_; + + // required uint32 gameId = 1; + private int gameId_ ; + /** + * required uint32 gameId = 1; + */ + public boolean hasGameId() { + return ((bitField0_ & 0x00000001) == 0x00000001); + } + /** + * required uint32 gameId = 1; + */ + public int getGameId() { + return gameId_; + } + /** + * required uint32 gameId = 1; + */ + public Builder setGameId(int value) { + bitField0_ |= 0x00000001; + gameId_ = value; + + return this; + } + /** + * required uint32 gameId = 1; + */ + public Builder clearGameId() { + bitField0_ = (bitField0_ & ~0x00000001); + gameId_ = 0; + + return this; + } + + // required uint32 newAdminPlayerId = 2; + private int newAdminPlayerId_ ; + /** + * required uint32 newAdminPlayerId = 2; + */ + public boolean hasNewAdminPlayerId() { + return ((bitField0_ & 0x00000002) == 0x00000002); + } + /** + * required uint32 newAdminPlayerId = 2; + */ + public int getNewAdminPlayerId() { + return newAdminPlayerId_; + } + /** + * required uint32 newAdminPlayerId = 2; + */ + public Builder setNewAdminPlayerId(int value) { + bitField0_ |= 0x00000002; + newAdminPlayerId_ = value; + + return this; + } + /** + * required uint32 newAdminPlayerId = 2; + */ + public Builder clearNewAdminPlayerId() { + bitField0_ = (bitField0_ & ~0x00000002); + newAdminPlayerId_ = 0; + + return this; + } + + // @@protoc_insertion_point(builder_scope:GameAdminChangedMessage) + } + + static { + defaultInstance = new GameAdminChangedMessage(true); + defaultInstance.initFields(); + } + + // @@protoc_insertion_point(class_scope:GameAdminChangedMessage) + } + + public interface RemovedFromGameMessageOrBuilder + extends com.google.protobuf.MessageLiteOrBuilder { + + // required uint32 gameId = 1; + /** + * required uint32 gameId = 1; + */ + boolean hasGameId(); + /** + * required uint32 gameId = 1; + */ + int getGameId(); + + // required .RemovedFromGameMessage.RemovedFromGameReason removedFromGameReason = 2; + /** + * required .RemovedFromGameMessage.RemovedFromGameReason removedFromGameReason = 2; + */ + boolean hasRemovedFromGameReason(); + /** + * required .RemovedFromGameMessage.RemovedFromGameReason removedFromGameReason = 2; + */ + de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage.RemovedFromGameReason getRemovedFromGameReason(); + } + /** + * Protobuf type {@code RemovedFromGameMessage} + */ + public static final class RemovedFromGameMessage extends + com.google.protobuf.GeneratedMessageLite + implements RemovedFromGameMessageOrBuilder { + // Use RemovedFromGameMessage.newBuilder() to construct. + private RemovedFromGameMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { + super(builder); + + } + private RemovedFromGameMessage(boolean noInit) {} + + private static final RemovedFromGameMessage defaultInstance; + public static RemovedFromGameMessage getDefaultInstance() { + return defaultInstance; + } + + public RemovedFromGameMessage getDefaultInstanceForType() { + return defaultInstance; + } + + private RemovedFromGameMessage( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + initFields(); + int mutable_bitField0_ = 0; + try { + boolean done = false; + while (!done) { int tag = input.readTag(); switch (tag) { case 0: - - return this; + done = true; + break; default: { - if (!parseUnknownField(input, extensionRegistry, tag)) { - - return this; + if (!parseUnknownField(input, + extensionRegistry, tag)) { + done = true; } break; } @@ -17301,39 +21662,431 @@ public final class ProtoBuf { } } } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e.getMessage()).setUnfinishedMessage(this); + } finally { + makeExtensionsImmutable(); + } + } + public static com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + public RemovedFromGameMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RemovedFromGameMessage(input, extensionRegistry); + } + }; + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + /** + * Protobuf enum {@code RemovedFromGameMessage.RemovedFromGameReason} + */ + public enum RemovedFromGameReason + implements com.google.protobuf.Internal.EnumLite { + /** + * removedOnRequest = 0; + * + *
+       * No error, client wished to leave.
+       * 
+ */ + removedOnRequest(0, 0), + /** + * kickedFromGame = 1; + */ + kickedFromGame(1, 1), + /** + * gameIsFull = 2; + */ + gameIsFull(2, 2), + /** + * gameIsRunning = 3; + */ + gameIsRunning(3, 3), + /** + * gameTimeout = 4; + */ + gameTimeout(4, 4), + /** + * removedStartFailed = 5; + */ + removedStartFailed(5, 5), + ; + + /** + * removedOnRequest = 0; + * + *
+       * No error, client wished to leave.
+       * 
+ */ + public static final int removedOnRequest_VALUE = 0; + /** + * kickedFromGame = 1; + */ + public static final int kickedFromGame_VALUE = 1; + /** + * gameIsFull = 2; + */ + public static final int gameIsFull_VALUE = 2; + /** + * gameIsRunning = 3; + */ + public static final int gameIsRunning_VALUE = 3; + /** + * gameTimeout = 4; + */ + public static final int gameTimeout_VALUE = 4; + /** + * removedStartFailed = 5; + */ + public static final int removedStartFailed_VALUE = 5; + + + public final int getNumber() { return value; } + + public static RemovedFromGameReason valueOf(int value) { + switch (value) { + case 0: return removedOnRequest; + case 1: return kickedFromGame; + case 2: return gameIsFull; + case 3: return gameIsRunning; + case 4: return gameTimeout; + case 5: return removedStartFailed; + default: return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { + return internalValueMap; + } + private static com.google.protobuf.Internal.EnumLiteMap + internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public RemovedFromGameReason findValueByNumber(int number) { + return RemovedFromGameReason.valueOf(number); + } + }; + + private final int value; + + private RemovedFromGameReason(int index, int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:RemovedFromGameMessage.RemovedFromGameReason) + } + + private int bitField0_; + // required uint32 gameId = 1; + public static final int GAMEID_FIELD_NUMBER = 1; + private int gameId_; + /** + * required uint32 gameId = 1; + */ + public boolean hasGameId() { + return ((bitField0_ & 0x00000001) == 0x00000001); + } + /** + * required uint32 gameId = 1; + */ + public int getGameId() { + return gameId_; + } + + // required .RemovedFromGameMessage.RemovedFromGameReason removedFromGameReason = 2; + public static final int REMOVEDFROMGAMEREASON_FIELD_NUMBER = 2; + private de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage.RemovedFromGameReason removedFromGameReason_; + /** + * required .RemovedFromGameMessage.RemovedFromGameReason removedFromGameReason = 2; + */ + public boolean hasRemovedFromGameReason() { + return ((bitField0_ & 0x00000002) == 0x00000002); + } + /** + * required .RemovedFromGameMessage.RemovedFromGameReason removedFromGameReason = 2; + */ + public de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage.RemovedFromGameReason getRemovedFromGameReason() { + return removedFromGameReason_; + } + + private void initFields() { + gameId_ = 0; + removedFromGameReason_ = de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage.RemovedFromGameReason.removedOnRequest; + } + private byte memoizedIsInitialized = -1; + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized != -1) return isInitialized == 1; + + if (!hasGameId()) { + memoizedIsInitialized = 0; + return false; + } + if (!hasRemovedFromGameReason()) { + memoizedIsInitialized = 0; + return false; + } + memoizedIsInitialized = 1; + return true; + } + + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + getSerializedSize(); + if (((bitField0_ & 0x00000001) == 0x00000001)) { + output.writeUInt32(1, gameId_); + } + if (((bitField0_ & 0x00000002) == 0x00000002)) { + output.writeEnum(2, removedFromGameReason_.getNumber()); + } + } + + private int memoizedSerializedSize = -1; + public int getSerializedSize() { + int size = memoizedSerializedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) == 0x00000001)) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(1, gameId_); + } + if (((bitField0_ & 0x00000002) == 0x00000002)) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, removedFromGameReason_.getNumber()); + } + memoizedSerializedSize = size; + return size; + } + + private static final long serialVersionUID = 0L; + @java.lang.Override + protected java.lang.Object writeReplace() + throws java.io.ObjectStreamException { + return super.writeReplace(); + } + + public static de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage parseFrom(java.io.InputStream input) + throws java.io.IOException { + return PARSER.parseFrom(input); + } + public static de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseFrom(input, extensionRegistry); + } + public static de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return PARSER.parseDelimitedFrom(input); + } + public static de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseDelimitedFrom(input, extensionRegistry); + } + public static de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return PARSER.parseFrom(input); + } + public static de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseFrom(input, extensionRegistry); + } + + public static Builder newBuilder() { return Builder.create(); } + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage prototype) { + return newBuilder().mergeFrom(prototype); + } + public Builder toBuilder() { return newBuilder(this); } + + /** + * Protobuf type {@code RemovedFromGameMessage} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageLite.Builder< + de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage, Builder> + implements de.pokerth.protocol.ProtoBuf.RemovedFromGameMessageOrBuilder { + // Construct using de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + } + private static Builder create() { + return new Builder(); + } + + public Builder clear() { + super.clear(); + gameId_ = 0; + bitField0_ = (bitField0_ & ~0x00000001); + removedFromGameReason_ = de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage.RemovedFromGameReason.removedOnRequest; + bitField0_ = (bitField0_ & ~0x00000002); + return this; + } + + public Builder clone() { + return create().mergeFrom(buildPartial()); + } + + public de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage getDefaultInstanceForType() { + return de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage.getDefaultInstance(); + } + + public de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage build() { + de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + public de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage buildPartial() { + de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage result = new de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) == 0x00000001)) { + to_bitField0_ |= 0x00000001; + } + result.gameId_ = gameId_; + if (((from_bitField0_ & 0x00000002) == 0x00000002)) { + to_bitField0_ |= 0x00000002; + } + result.removedFromGameReason_ = removedFromGameReason_; + result.bitField0_ = to_bitField0_; + return result; + } + + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage other) { + if (other == de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage.getDefaultInstance()) return this; + if (other.hasGameId()) { + setGameId(other.getGameId()); + } + if (other.hasRemovedFromGameReason()) { + setRemovedFromGameReason(other.getRemovedFromGameReason()); + } + return this; + } + + public final boolean isInitialized() { + if (!hasGameId()) { + + return false; + } + if (!hasRemovedFromGameReason()) { + + return false; + } + return true; + } + + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage) e.getUnfinishedMessage(); + throw e; + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; } - private int bitField0_; - + // required uint32 gameId = 1; private int gameId_ ; + /** + * required uint32 gameId = 1; + */ public boolean hasGameId() { return ((bitField0_ & 0x00000001) == 0x00000001); } + /** + * required uint32 gameId = 1; + */ public int getGameId() { return gameId_; } + /** + * required uint32 gameId = 1; + */ public Builder setGameId(int value) { bitField0_ |= 0x00000001; gameId_ = value; return this; } + /** + * required uint32 gameId = 1; + */ public Builder clearGameId() { bitField0_ = (bitField0_ & ~0x00000001); gameId_ = 0; return this; } - + // required .RemovedFromGameMessage.RemovedFromGameReason removedFromGameReason = 2; private de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage.RemovedFromGameReason removedFromGameReason_ = de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage.RemovedFromGameReason.removedOnRequest; + /** + * required .RemovedFromGameMessage.RemovedFromGameReason removedFromGameReason = 2; + */ public boolean hasRemovedFromGameReason() { return ((bitField0_ & 0x00000002) == 0x00000002); } + /** + * required .RemovedFromGameMessage.RemovedFromGameReason removedFromGameReason = 2; + */ public de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage.RemovedFromGameReason getRemovedFromGameReason() { return removedFromGameReason_; } + /** + * required .RemovedFromGameMessage.RemovedFromGameReason removedFromGameReason = 2; + */ public Builder setRemovedFromGameReason(de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage.RemovedFromGameReason value) { if (value == null) { throw new NullPointerException(); @@ -17343,74 +22096,162 @@ public final class ProtoBuf { return this; } + /** + * required .RemovedFromGameMessage.RemovedFromGameReason removedFromGameReason = 2; + */ public Builder clearRemovedFromGameReason() { bitField0_ = (bitField0_ & ~0x00000002); removedFromGameReason_ = de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage.RemovedFromGameReason.removedOnRequest; return this; } - + // @@protoc_insertion_point(builder_scope:RemovedFromGameMessage) } - + static { defaultInstance = new RemovedFromGameMessage(true); defaultInstance.initFields(); } - + // @@protoc_insertion_point(class_scope:RemovedFromGameMessage) } - + public interface KickPlayerRequestMessageOrBuilder extends com.google.protobuf.MessageLiteOrBuilder { - + // required uint32 gameId = 1; + /** + * required uint32 gameId = 1; + */ boolean hasGameId(); + /** + * required uint32 gameId = 1; + */ int getGameId(); - + // required uint32 playerId = 2; + /** + * required uint32 playerId = 2; + */ boolean hasPlayerId(); + /** + * required uint32 playerId = 2; + */ int getPlayerId(); } + /** + * Protobuf type {@code KickPlayerRequestMessage} + */ public static final class KickPlayerRequestMessage extends com.google.protobuf.GeneratedMessageLite implements KickPlayerRequestMessageOrBuilder { // Use KickPlayerRequestMessage.newBuilder() to construct. - private KickPlayerRequestMessage(Builder builder) { + private KickPlayerRequestMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); + } private KickPlayerRequestMessage(boolean noInit) {} - + private static final KickPlayerRequestMessage defaultInstance; public static KickPlayerRequestMessage getDefaultInstance() { return defaultInstance; } - + public KickPlayerRequestMessage getDefaultInstanceForType() { return defaultInstance; } - + + private KickPlayerRequestMessage( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + initFields(); + int mutable_bitField0_ = 0; + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: { + if (!parseUnknownField(input, + extensionRegistry, tag)) { + done = true; + } + break; + } + case 8: { + bitField0_ |= 0x00000001; + gameId_ = input.readUInt32(); + break; + } + case 16: { + bitField0_ |= 0x00000002; + playerId_ = input.readUInt32(); + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e.getMessage()).setUnfinishedMessage(this); + } finally { + makeExtensionsImmutable(); + } + } + public static com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + public KickPlayerRequestMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new KickPlayerRequestMessage(input, extensionRegistry); + } + }; + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + private int bitField0_; // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; + /** + * required uint32 gameId = 1; + */ public boolean hasGameId() { return ((bitField0_ & 0x00000001) == 0x00000001); } + /** + * required uint32 gameId = 1; + */ public int getGameId() { return gameId_; } - + // required uint32 playerId = 2; public static final int PLAYERID_FIELD_NUMBER = 2; private int playerId_; + /** + * required uint32 playerId = 2; + */ public boolean hasPlayerId() { return ((bitField0_ & 0x00000002) == 0x00000002); } + /** + * required uint32 playerId = 2; + */ public int getPlayerId() { return playerId_; } - + private void initFields() { gameId_ = 0; playerId_ = 0; @@ -17419,7 +22260,7 @@ public final class ProtoBuf { public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; - + if (!hasGameId()) { memoizedIsInitialized = 0; return false; @@ -17431,7 +22272,7 @@ public final class ProtoBuf { memoizedIsInitialized = 1; return true; } - + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); @@ -17442,12 +22283,12 @@ public final class ProtoBuf { output.writeUInt32(2, playerId_); } } - + private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; - + size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream @@ -17460,88 +22301,77 @@ public final class ProtoBuf { memoizedSerializedSize = size; return size; } - + private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } - + public static de.pokerth.protocol.ProtoBuf.KickPlayerRequestMessage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data).buildParsed(); + return PARSER.parseFrom(data); } public static de.pokerth.protocol.ProtoBuf.KickPlayerRequestMessage parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(data, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.KickPlayerRequestMessage parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data).buildParsed(); + return PARSER.parseFrom(data); } public static de.pokerth.protocol.ProtoBuf.KickPlayerRequestMessage parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(data, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.KickPlayerRequestMessage parseFrom(java.io.InputStream input) throws java.io.IOException { - return newBuilder().mergeFrom(input).buildParsed(); + return PARSER.parseFrom(input); } public static de.pokerth.protocol.ProtoBuf.KickPlayerRequestMessage parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return newBuilder().mergeFrom(input, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.KickPlayerRequestMessage parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - Builder builder = newBuilder(); - if (builder.mergeDelimitedFrom(input)) { - return builder.buildParsed(); - } else { - return null; - } + return PARSER.parseDelimitedFrom(input); } public static de.pokerth.protocol.ProtoBuf.KickPlayerRequestMessage parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - Builder builder = newBuilder(); - if (builder.mergeDelimitedFrom(input, extensionRegistry)) { - return builder.buildParsed(); - } else { - return null; - } + return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.KickPlayerRequestMessage parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return newBuilder().mergeFrom(input).buildParsed(); + return PARSER.parseFrom(input); } public static de.pokerth.protocol.ProtoBuf.KickPlayerRequestMessage parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return newBuilder().mergeFrom(input, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(input, extensionRegistry); } - + public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.KickPlayerRequestMessage prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } - + + /** + * Protobuf type {@code KickPlayerRequestMessage} + */ public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.KickPlayerRequestMessage, Builder> @@ -17550,13 +22380,13 @@ public final class ProtoBuf { private Builder() { maybeForceBuilderInitialization(); } - + private void maybeForceBuilderInitialization() { } private static Builder create() { return new Builder(); } - + public Builder clear() { super.clear(); gameId_ = 0; @@ -17565,15 +22395,15 @@ public final class ProtoBuf { bitField0_ = (bitField0_ & ~0x00000002); return this; } - + public Builder clone() { return create().mergeFrom(buildPartial()); } - + public de.pokerth.protocol.ProtoBuf.KickPlayerRequestMessage getDefaultInstanceForType() { return de.pokerth.protocol.ProtoBuf.KickPlayerRequestMessage.getDefaultInstance(); } - + public de.pokerth.protocol.ProtoBuf.KickPlayerRequestMessage build() { de.pokerth.protocol.ProtoBuf.KickPlayerRequestMessage result = buildPartial(); if (!result.isInitialized()) { @@ -17581,17 +22411,7 @@ public final class ProtoBuf { } return result; } - - private de.pokerth.protocol.ProtoBuf.KickPlayerRequestMessage buildParsed() - throws com.google.protobuf.InvalidProtocolBufferException { - de.pokerth.protocol.ProtoBuf.KickPlayerRequestMessage result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException( - result).asInvalidProtocolBufferException(); - } - return result; - } - + public de.pokerth.protocol.ProtoBuf.KickPlayerRequestMessage buildPartial() { de.pokerth.protocol.ProtoBuf.KickPlayerRequestMessage result = new de.pokerth.protocol.ProtoBuf.KickPlayerRequestMessage(this); int from_bitField0_ = bitField0_; @@ -17607,7 +22427,7 @@ public final class ProtoBuf { result.bitField0_ = to_bitField0_; return result; } - + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.KickPlayerRequestMessage other) { if (other == de.pokerth.protocol.ProtoBuf.KickPlayerRequestMessage.getDefaultInstance()) return this; if (other.hasGameId()) { @@ -17618,7 +22438,7 @@ public final class ProtoBuf { } return this; } - + public final boolean isInitialized() { if (!hasGameId()) { @@ -17630,21 +22450,507 @@ public final class ProtoBuf { } return true; } - + public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - while (true) { + de.pokerth.protocol.ProtoBuf.KickPlayerRequestMessage parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (de.pokerth.protocol.ProtoBuf.KickPlayerRequestMessage) e.getUnfinishedMessage(); + throw e; + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int bitField0_; + + // required uint32 gameId = 1; + private int gameId_ ; + /** + * required uint32 gameId = 1; + */ + public boolean hasGameId() { + return ((bitField0_ & 0x00000001) == 0x00000001); + } + /** + * required uint32 gameId = 1; + */ + public int getGameId() { + return gameId_; + } + /** + * required uint32 gameId = 1; + */ + public Builder setGameId(int value) { + bitField0_ |= 0x00000001; + gameId_ = value; + + return this; + } + /** + * required uint32 gameId = 1; + */ + public Builder clearGameId() { + bitField0_ = (bitField0_ & ~0x00000001); + gameId_ = 0; + + return this; + } + + // required uint32 playerId = 2; + private int playerId_ ; + /** + * required uint32 playerId = 2; + */ + public boolean hasPlayerId() { + return ((bitField0_ & 0x00000002) == 0x00000002); + } + /** + * required uint32 playerId = 2; + */ + public int getPlayerId() { + return playerId_; + } + /** + * required uint32 playerId = 2; + */ + public Builder setPlayerId(int value) { + bitField0_ |= 0x00000002; + playerId_ = value; + + return this; + } + /** + * required uint32 playerId = 2; + */ + public Builder clearPlayerId() { + bitField0_ = (bitField0_ & ~0x00000002); + playerId_ = 0; + + return this; + } + + // @@protoc_insertion_point(builder_scope:KickPlayerRequestMessage) + } + + static { + defaultInstance = new KickPlayerRequestMessage(true); + defaultInstance.initFields(); + } + + // @@protoc_insertion_point(class_scope:KickPlayerRequestMessage) + } + + public interface LeaveGameRequestMessageOrBuilder + extends com.google.protobuf.MessageLiteOrBuilder { + + // required uint32 gameId = 1; + /** + * required uint32 gameId = 1; + */ + boolean hasGameId(); + /** + * required uint32 gameId = 1; + */ + int getGameId(); + } + /** + * Protobuf type {@code LeaveGameRequestMessage} + */ + public static final class LeaveGameRequestMessage extends + com.google.protobuf.GeneratedMessageLite + implements LeaveGameRequestMessageOrBuilder { + // Use LeaveGameRequestMessage.newBuilder() to construct. + private LeaveGameRequestMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { + super(builder); + + } + private LeaveGameRequestMessage(boolean noInit) {} + + private static final LeaveGameRequestMessage defaultInstance; + public static LeaveGameRequestMessage getDefaultInstance() { + return defaultInstance; + } + + public LeaveGameRequestMessage getDefaultInstanceForType() { + return defaultInstance; + } + + private LeaveGameRequestMessage( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + initFields(); + int mutable_bitField0_ = 0; + try { + boolean done = false; + while (!done) { int tag = input.readTag(); switch (tag) { case 0: - - return this; + done = true; + break; default: { - if (!parseUnknownField(input, extensionRegistry, tag)) { - - return this; + if (!parseUnknownField(input, + extensionRegistry, tag)) { + done = true; + } + break; + } + case 8: { + bitField0_ |= 0x00000001; + gameId_ = input.readUInt32(); + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e.getMessage()).setUnfinishedMessage(this); + } finally { + makeExtensionsImmutable(); + } + } + public static com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + public LeaveGameRequestMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new LeaveGameRequestMessage(input, extensionRegistry); + } + }; + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + private int bitField0_; + // required uint32 gameId = 1; + public static final int GAMEID_FIELD_NUMBER = 1; + private int gameId_; + /** + * required uint32 gameId = 1; + */ + public boolean hasGameId() { + return ((bitField0_ & 0x00000001) == 0x00000001); + } + /** + * required uint32 gameId = 1; + */ + public int getGameId() { + return gameId_; + } + + private void initFields() { + gameId_ = 0; + } + private byte memoizedIsInitialized = -1; + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized != -1) return isInitialized == 1; + + if (!hasGameId()) { + memoizedIsInitialized = 0; + return false; + } + memoizedIsInitialized = 1; + return true; + } + + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + getSerializedSize(); + if (((bitField0_ & 0x00000001) == 0x00000001)) { + output.writeUInt32(1, gameId_); + } + } + + private int memoizedSerializedSize = -1; + public int getSerializedSize() { + int size = memoizedSerializedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) == 0x00000001)) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(1, gameId_); + } + memoizedSerializedSize = size; + return size; + } + + private static final long serialVersionUID = 0L; + @java.lang.Override + protected java.lang.Object writeReplace() + throws java.io.ObjectStreamException { + return super.writeReplace(); + } + + public static de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessage parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessage parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessage parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessage parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessage parseFrom(java.io.InputStream input) + throws java.io.IOException { + return PARSER.parseFrom(input); + } + public static de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessage parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseFrom(input, extensionRegistry); + } + public static de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessage parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return PARSER.parseDelimitedFrom(input); + } + public static de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessage parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseDelimitedFrom(input, extensionRegistry); + } + public static de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessage parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return PARSER.parseFrom(input); + } + public static de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessage parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseFrom(input, extensionRegistry); + } + + public static Builder newBuilder() { return Builder.create(); } + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessage prototype) { + return newBuilder().mergeFrom(prototype); + } + public Builder toBuilder() { return newBuilder(this); } + + /** + * Protobuf type {@code LeaveGameRequestMessage} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageLite.Builder< + de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessage, Builder> + implements de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessageOrBuilder { + // Construct using de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessage.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + } + private static Builder create() { + return new Builder(); + } + + public Builder clear() { + super.clear(); + gameId_ = 0; + bitField0_ = (bitField0_ & ~0x00000001); + return this; + } + + public Builder clone() { + return create().mergeFrom(buildPartial()); + } + + public de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessage getDefaultInstanceForType() { + return de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessage.getDefaultInstance(); + } + + public de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessage build() { + de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessage result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + public de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessage buildPartial() { + de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessage result = new de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessage(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) == 0x00000001)) { + to_bitField0_ |= 0x00000001; + } + result.gameId_ = gameId_; + result.bitField0_ = to_bitField0_; + return result; + } + + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessage other) { + if (other == de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessage.getDefaultInstance()) return this; + if (other.hasGameId()) { + setGameId(other.getGameId()); + } + return this; + } + + public final boolean isInitialized() { + if (!hasGameId()) { + + return false; + } + return true; + } + + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessage parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessage) e.getUnfinishedMessage(); + throw e; + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int bitField0_; + + // required uint32 gameId = 1; + private int gameId_ ; + /** + * required uint32 gameId = 1; + */ + public boolean hasGameId() { + return ((bitField0_ & 0x00000001) == 0x00000001); + } + /** + * required uint32 gameId = 1; + */ + public int getGameId() { + return gameId_; + } + /** + * required uint32 gameId = 1; + */ + public Builder setGameId(int value) { + bitField0_ |= 0x00000001; + gameId_ = value; + + return this; + } + /** + * required uint32 gameId = 1; + */ + public Builder clearGameId() { + bitField0_ = (bitField0_ & ~0x00000001); + gameId_ = 0; + + return this; + } + + // @@protoc_insertion_point(builder_scope:LeaveGameRequestMessage) + } + + static { + defaultInstance = new LeaveGameRequestMessage(true); + defaultInstance.initFields(); + } + + // @@protoc_insertion_point(class_scope:LeaveGameRequestMessage) + } + + public interface InvitePlayerToGameMessageOrBuilder + extends com.google.protobuf.MessageLiteOrBuilder { + + // required uint32 gameId = 1; + /** + * required uint32 gameId = 1; + */ + boolean hasGameId(); + /** + * required uint32 gameId = 1; + */ + int getGameId(); + + // required uint32 playerId = 2; + /** + * required uint32 playerId = 2; + */ + boolean hasPlayerId(); + /** + * required uint32 playerId = 2; + */ + int getPlayerId(); + } + /** + * Protobuf type {@code InvitePlayerToGameMessage} + */ + public static final class InvitePlayerToGameMessage extends + com.google.protobuf.GeneratedMessageLite + implements InvitePlayerToGameMessageOrBuilder { + // Use InvitePlayerToGameMessage.newBuilder() to construct. + private InvitePlayerToGameMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { + super(builder); + + } + private InvitePlayerToGameMessage(boolean noInit) {} + + private static final InvitePlayerToGameMessage defaultInstance; + public static InvitePlayerToGameMessage getDefaultInstance() { + return defaultInstance; + } + + public InvitePlayerToGameMessage getDefaultInstanceForType() { + return defaultInstance; + } + + private InvitePlayerToGameMessage( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + initFields(); + int mutable_bitField0_ = 0; + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: { + if (!parseUnknownField(input, + extensionRegistry, tag)) { + done = true; } break; } @@ -17660,404 +22966,63 @@ public final class ProtoBuf { } } } - } - - private int bitField0_; - - // required uint32 gameId = 1; - private int gameId_ ; - public boolean hasGameId() { - return ((bitField0_ & 0x00000001) == 0x00000001); - } - public int getGameId() { - return gameId_; - } - public Builder setGameId(int value) { - bitField0_ |= 0x00000001; - gameId_ = value; - - return this; - } - public Builder clearGameId() { - bitField0_ = (bitField0_ & ~0x00000001); - gameId_ = 0; - - return this; - } - - // required uint32 playerId = 2; - private int playerId_ ; - public boolean hasPlayerId() { - return ((bitField0_ & 0x00000002) == 0x00000002); - } - public int getPlayerId() { - return playerId_; - } - public Builder setPlayerId(int value) { - bitField0_ |= 0x00000002; - playerId_ = value; - - return this; - } - public Builder clearPlayerId() { - bitField0_ = (bitField0_ & ~0x00000002); - playerId_ = 0; - - return this; - } - - // @@protoc_insertion_point(builder_scope:KickPlayerRequestMessage) - } - - static { - defaultInstance = new KickPlayerRequestMessage(true); - defaultInstance.initFields(); - } - - // @@protoc_insertion_point(class_scope:KickPlayerRequestMessage) - } - - public interface LeaveGameRequestMessageOrBuilder - extends com.google.protobuf.MessageLiteOrBuilder { - - // required uint32 gameId = 1; - boolean hasGameId(); - int getGameId(); - } - public static final class LeaveGameRequestMessage extends - com.google.protobuf.GeneratedMessageLite - implements LeaveGameRequestMessageOrBuilder { - // Use LeaveGameRequestMessage.newBuilder() to construct. - private LeaveGameRequestMessage(Builder builder) { - super(builder); - } - private LeaveGameRequestMessage(boolean noInit) {} - - private static final LeaveGameRequestMessage defaultInstance; - public static LeaveGameRequestMessage getDefaultInstance() { - return defaultInstance; - } - - public LeaveGameRequestMessage getDefaultInstanceForType() { - return defaultInstance; - } - - private int bitField0_; - // required uint32 gameId = 1; - public static final int GAMEID_FIELD_NUMBER = 1; - private int gameId_; - public boolean hasGameId() { - return ((bitField0_ & 0x00000001) == 0x00000001); - } - public int getGameId() { - return gameId_; - } - - private void initFields() { - gameId_ = 0; - } - private byte memoizedIsInitialized = -1; - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; - - if (!hasGameId()) { - memoizedIsInitialized = 0; - return false; - } - memoizedIsInitialized = 1; - return true; - } - - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - getSerializedSize(); - if (((bitField0_ & 0x00000001) == 0x00000001)) { - output.writeUInt32(1, gameId_); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e.getMessage()).setUnfinishedMessage(this); + } finally { + makeExtensionsImmutable(); } } - - private int memoizedSerializedSize = -1; - public int getSerializedSize() { - int size = memoizedSerializedSize; - if (size != -1) return size; - - size = 0; - if (((bitField0_ & 0x00000001) == 0x00000001)) { - size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(1, gameId_); - } - memoizedSerializedSize = size; - return size; - } - - private static final long serialVersionUID = 0L; - @java.lang.Override - protected java.lang.Object writeReplace() - throws java.io.ObjectStreamException { - return super.writeReplace(); - } - - public static de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessage parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data).buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessage parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data, extensionRegistry) - .buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessage parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data).buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessage parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data, extensionRegistry) - .buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessage parseFrom(java.io.InputStream input) - throws java.io.IOException { - return newBuilder().mergeFrom(input).buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessage parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return newBuilder().mergeFrom(input, extensionRegistry) - .buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessage parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - Builder builder = newBuilder(); - if (builder.mergeDelimitedFrom(input)) { - return builder.buildParsed(); - } else { - return null; - } - } - public static de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessage parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - Builder builder = newBuilder(); - if (builder.mergeDelimitedFrom(input, extensionRegistry)) { - return builder.buildParsed(); - } else { - return null; - } - } - public static de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessage parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return newBuilder().mergeFrom(input).buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessage parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return newBuilder().mergeFrom(input, extensionRegistry) - .buildParsed(); - } - - public static Builder newBuilder() { return Builder.create(); } - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessage prototype) { - return newBuilder().mergeFrom(prototype); - } - public Builder toBuilder() { return newBuilder(this); } - - public static final class Builder extends - com.google.protobuf.GeneratedMessageLite.Builder< - de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessageOrBuilder { - // Construct using de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessage.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - } - private static Builder create() { - return new Builder(); - } - - public Builder clear() { - super.clear(); - gameId_ = 0; - bitField0_ = (bitField0_ & ~0x00000001); - return this; - } - - public Builder clone() { - return create().mergeFrom(buildPartial()); - } - - public de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessage getDefaultInstanceForType() { - return de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessage.getDefaultInstance(); - } - - public de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessage build() { - de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessage result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - private de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessage buildParsed() - throws com.google.protobuf.InvalidProtocolBufferException { - de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessage result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException( - result).asInvalidProtocolBufferException(); - } - return result; - } - - public de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessage buildPartial() { - de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessage result = new de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessage(this); - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) == 0x00000001)) { - to_bitField0_ |= 0x00000001; - } - result.gameId_ = gameId_; - result.bitField0_ = to_bitField0_; - return result; - } - - public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessage other) { - if (other == de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessage.getDefaultInstance()) return this; - if (other.hasGameId()) { - setGameId(other.getGameId()); - } - return this; - } - - public final boolean isInitialized() { - if (!hasGameId()) { - - return false; - } - return true; - } - - public Builder mergeFrom( + public static com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + public InvitePlayerToGameMessage parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - while (true) { - int tag = input.readTag(); - switch (tag) { - case 0: - - return this; - default: { - if (!parseUnknownField(input, extensionRegistry, tag)) { - - return this; - } - break; - } - case 8: { - bitField0_ |= 0x00000001; - gameId_ = input.readUInt32(); - break; - } - } - } + throws com.google.protobuf.InvalidProtocolBufferException { + return new InvitePlayerToGameMessage(input, extensionRegistry); } - - private int bitField0_; - - // required uint32 gameId = 1; - private int gameId_ ; - public boolean hasGameId() { - return ((bitField0_ & 0x00000001) == 0x00000001); - } - public int getGameId() { - return gameId_; - } - public Builder setGameId(int value) { - bitField0_ |= 0x00000001; - gameId_ = value; - - return this; - } - public Builder clearGameId() { - bitField0_ = (bitField0_ & ~0x00000001); - gameId_ = 0; - - return this; - } - - // @@protoc_insertion_point(builder_scope:LeaveGameRequestMessage) + }; + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; } - - static { - defaultInstance = new LeaveGameRequestMessage(true); - defaultInstance.initFields(); - } - - // @@protoc_insertion_point(class_scope:LeaveGameRequestMessage) - } - - public interface InvitePlayerToGameMessageOrBuilder - extends com.google.protobuf.MessageLiteOrBuilder { - - // required uint32 gameId = 1; - boolean hasGameId(); - int getGameId(); - - // required uint32 playerId = 2; - boolean hasPlayerId(); - int getPlayerId(); - } - public static final class InvitePlayerToGameMessage extends - com.google.protobuf.GeneratedMessageLite - implements InvitePlayerToGameMessageOrBuilder { - // Use InvitePlayerToGameMessage.newBuilder() to construct. - private InvitePlayerToGameMessage(Builder builder) { - super(builder); - } - private InvitePlayerToGameMessage(boolean noInit) {} - - private static final InvitePlayerToGameMessage defaultInstance; - public static InvitePlayerToGameMessage getDefaultInstance() { - return defaultInstance; - } - - public InvitePlayerToGameMessage getDefaultInstanceForType() { - return defaultInstance; - } - + private int bitField0_; // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; + /** + * required uint32 gameId = 1; + */ public boolean hasGameId() { return ((bitField0_ & 0x00000001) == 0x00000001); } + /** + * required uint32 gameId = 1; + */ public int getGameId() { return gameId_; } - + // required uint32 playerId = 2; public static final int PLAYERID_FIELD_NUMBER = 2; private int playerId_; + /** + * required uint32 playerId = 2; + */ public boolean hasPlayerId() { return ((bitField0_ & 0x00000002) == 0x00000002); } + /** + * required uint32 playerId = 2; + */ public int getPlayerId() { return playerId_; } - + private void initFields() { gameId_ = 0; playerId_ = 0; @@ -18066,7 +23031,7 @@ public final class ProtoBuf { public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; - + if (!hasGameId()) { memoizedIsInitialized = 0; return false; @@ -18078,7 +23043,7 @@ public final class ProtoBuf { memoizedIsInitialized = 1; return true; } - + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); @@ -18089,12 +23054,12 @@ public final class ProtoBuf { output.writeUInt32(2, playerId_); } } - + private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; - + size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream @@ -18107,88 +23072,77 @@ public final class ProtoBuf { memoizedSerializedSize = size; return size; } - + private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } - + public static de.pokerth.protocol.ProtoBuf.InvitePlayerToGameMessage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data).buildParsed(); + return PARSER.parseFrom(data); } public static de.pokerth.protocol.ProtoBuf.InvitePlayerToGameMessage parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(data, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.InvitePlayerToGameMessage parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data).buildParsed(); + return PARSER.parseFrom(data); } public static de.pokerth.protocol.ProtoBuf.InvitePlayerToGameMessage parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(data, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.InvitePlayerToGameMessage parseFrom(java.io.InputStream input) throws java.io.IOException { - return newBuilder().mergeFrom(input).buildParsed(); + return PARSER.parseFrom(input); } public static de.pokerth.protocol.ProtoBuf.InvitePlayerToGameMessage parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return newBuilder().mergeFrom(input, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.InvitePlayerToGameMessage parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - Builder builder = newBuilder(); - if (builder.mergeDelimitedFrom(input)) { - return builder.buildParsed(); - } else { - return null; - } + return PARSER.parseDelimitedFrom(input); } public static de.pokerth.protocol.ProtoBuf.InvitePlayerToGameMessage parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - Builder builder = newBuilder(); - if (builder.mergeDelimitedFrom(input, extensionRegistry)) { - return builder.buildParsed(); - } else { - return null; - } + return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.InvitePlayerToGameMessage parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return newBuilder().mergeFrom(input).buildParsed(); + return PARSER.parseFrom(input); } public static de.pokerth.protocol.ProtoBuf.InvitePlayerToGameMessage parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return newBuilder().mergeFrom(input, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(input, extensionRegistry); } - + public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.InvitePlayerToGameMessage prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } - + + /** + * Protobuf type {@code InvitePlayerToGameMessage} + */ public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.InvitePlayerToGameMessage, Builder> @@ -18197,13 +23151,13 @@ public final class ProtoBuf { private Builder() { maybeForceBuilderInitialization(); } - + private void maybeForceBuilderInitialization() { } private static Builder create() { return new Builder(); } - + public Builder clear() { super.clear(); gameId_ = 0; @@ -18212,15 +23166,15 @@ public final class ProtoBuf { bitField0_ = (bitField0_ & ~0x00000002); return this; } - + public Builder clone() { return create().mergeFrom(buildPartial()); } - + public de.pokerth.protocol.ProtoBuf.InvitePlayerToGameMessage getDefaultInstanceForType() { return de.pokerth.protocol.ProtoBuf.InvitePlayerToGameMessage.getDefaultInstance(); } - + public de.pokerth.protocol.ProtoBuf.InvitePlayerToGameMessage build() { de.pokerth.protocol.ProtoBuf.InvitePlayerToGameMessage result = buildPartial(); if (!result.isInitialized()) { @@ -18228,17 +23182,7 @@ public final class ProtoBuf { } return result; } - - private de.pokerth.protocol.ProtoBuf.InvitePlayerToGameMessage buildParsed() - throws com.google.protobuf.InvalidProtocolBufferException { - de.pokerth.protocol.ProtoBuf.InvitePlayerToGameMessage result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException( - result).asInvalidProtocolBufferException(); - } - return result; - } - + public de.pokerth.protocol.ProtoBuf.InvitePlayerToGameMessage buildPartial() { de.pokerth.protocol.ProtoBuf.InvitePlayerToGameMessage result = new de.pokerth.protocol.ProtoBuf.InvitePlayerToGameMessage(this); int from_bitField0_ = bitField0_; @@ -18254,7 +23198,7 @@ public final class ProtoBuf { result.bitField0_ = to_bitField0_; return result; } - + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.InvitePlayerToGameMessage other) { if (other == de.pokerth.protocol.ProtoBuf.InvitePlayerToGameMessage.getDefaultInstance()) return this; if (other.hasGameId()) { @@ -18265,7 +23209,7 @@ public final class ProtoBuf { } return this; } - + public final boolean isInitialized() { if (!hasGameId()) { @@ -18277,416 +23221,176 @@ public final class ProtoBuf { } return true; } - + public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - while (true) { - int tag = input.readTag(); - switch (tag) { - case 0: - - return this; - default: { - if (!parseUnknownField(input, extensionRegistry, tag)) { - - return this; - } - break; - } - case 8: { - bitField0_ |= 0x00000001; - gameId_ = input.readUInt32(); - break; - } - case 16: { - bitField0_ |= 0x00000002; - playerId_ = input.readUInt32(); - break; - } + de.pokerth.protocol.ProtoBuf.InvitePlayerToGameMessage parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (de.pokerth.protocol.ProtoBuf.InvitePlayerToGameMessage) e.getUnfinishedMessage(); + throw e; + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); } } + return this; } - private int bitField0_; - + // required uint32 gameId = 1; private int gameId_ ; + /** + * required uint32 gameId = 1; + */ public boolean hasGameId() { return ((bitField0_ & 0x00000001) == 0x00000001); } + /** + * required uint32 gameId = 1; + */ public int getGameId() { return gameId_; } + /** + * required uint32 gameId = 1; + */ public Builder setGameId(int value) { bitField0_ |= 0x00000001; gameId_ = value; return this; } + /** + * required uint32 gameId = 1; + */ public Builder clearGameId() { bitField0_ = (bitField0_ & ~0x00000001); gameId_ = 0; return this; } - + // required uint32 playerId = 2; private int playerId_ ; + /** + * required uint32 playerId = 2; + */ public boolean hasPlayerId() { return ((bitField0_ & 0x00000002) == 0x00000002); } + /** + * required uint32 playerId = 2; + */ public int getPlayerId() { return playerId_; } + /** + * required uint32 playerId = 2; + */ public Builder setPlayerId(int value) { bitField0_ |= 0x00000002; playerId_ = value; return this; } + /** + * required uint32 playerId = 2; + */ public Builder clearPlayerId() { bitField0_ = (bitField0_ & ~0x00000002); playerId_ = 0; return this; } - + // @@protoc_insertion_point(builder_scope:InvitePlayerToGameMessage) } - + static { defaultInstance = new InvitePlayerToGameMessage(true); defaultInstance.initFields(); } - + // @@protoc_insertion_point(class_scope:InvitePlayerToGameMessage) } - + public interface InviteNotifyMessageOrBuilder extends com.google.protobuf.MessageLiteOrBuilder { - + // required uint32 gameId = 1; + /** + * required uint32 gameId = 1; + */ boolean hasGameId(); + /** + * required uint32 gameId = 1; + */ int getGameId(); - + // required uint32 playerIdWho = 2; + /** + * required uint32 playerIdWho = 2; + */ boolean hasPlayerIdWho(); + /** + * required uint32 playerIdWho = 2; + */ int getPlayerIdWho(); - + // required uint32 playerIdByWhom = 3; + /** + * required uint32 playerIdByWhom = 3; + */ boolean hasPlayerIdByWhom(); + /** + * required uint32 playerIdByWhom = 3; + */ int getPlayerIdByWhom(); } + /** + * Protobuf type {@code InviteNotifyMessage} + */ public static final class InviteNotifyMessage extends com.google.protobuf.GeneratedMessageLite implements InviteNotifyMessageOrBuilder { // Use InviteNotifyMessage.newBuilder() to construct. - private InviteNotifyMessage(Builder builder) { + private InviteNotifyMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); + } private InviteNotifyMessage(boolean noInit) {} - + private static final InviteNotifyMessage defaultInstance; public static InviteNotifyMessage getDefaultInstance() { return defaultInstance; } - + public InviteNotifyMessage getDefaultInstanceForType() { return defaultInstance; } - - private int bitField0_; - // required uint32 gameId = 1; - public static final int GAMEID_FIELD_NUMBER = 1; - private int gameId_; - public boolean hasGameId() { - return ((bitField0_ & 0x00000001) == 0x00000001); - } - public int getGameId() { - return gameId_; - } - - // required uint32 playerIdWho = 2; - public static final int PLAYERIDWHO_FIELD_NUMBER = 2; - private int playerIdWho_; - public boolean hasPlayerIdWho() { - return ((bitField0_ & 0x00000002) == 0x00000002); - } - public int getPlayerIdWho() { - return playerIdWho_; - } - - // required uint32 playerIdByWhom = 3; - public static final int PLAYERIDBYWHOM_FIELD_NUMBER = 3; - private int playerIdByWhom_; - public boolean hasPlayerIdByWhom() { - return ((bitField0_ & 0x00000004) == 0x00000004); - } - public int getPlayerIdByWhom() { - return playerIdByWhom_; - } - - private void initFields() { - gameId_ = 0; - playerIdWho_ = 0; - playerIdByWhom_ = 0; - } - private byte memoizedIsInitialized = -1; - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; - - if (!hasGameId()) { - memoizedIsInitialized = 0; - return false; - } - if (!hasPlayerIdWho()) { - memoizedIsInitialized = 0; - return false; - } - if (!hasPlayerIdByWhom()) { - memoizedIsInitialized = 0; - return false; - } - memoizedIsInitialized = 1; - return true; - } - - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - getSerializedSize(); - if (((bitField0_ & 0x00000001) == 0x00000001)) { - output.writeUInt32(1, gameId_); - } - if (((bitField0_ & 0x00000002) == 0x00000002)) { - output.writeUInt32(2, playerIdWho_); - } - if (((bitField0_ & 0x00000004) == 0x00000004)) { - output.writeUInt32(3, playerIdByWhom_); - } - } - - private int memoizedSerializedSize = -1; - public int getSerializedSize() { - int size = memoizedSerializedSize; - if (size != -1) return size; - - size = 0; - if (((bitField0_ & 0x00000001) == 0x00000001)) { - size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(1, gameId_); - } - if (((bitField0_ & 0x00000002) == 0x00000002)) { - size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(2, playerIdWho_); - } - if (((bitField0_ & 0x00000004) == 0x00000004)) { - size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(3, playerIdByWhom_); - } - memoizedSerializedSize = size; - return size; - } - - private static final long serialVersionUID = 0L; - @java.lang.Override - protected java.lang.Object writeReplace() - throws java.io.ObjectStreamException { - return super.writeReplace(); - } - - public static de.pokerth.protocol.ProtoBuf.InviteNotifyMessage parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data).buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.InviteNotifyMessage parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data, extensionRegistry) - .buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.InviteNotifyMessage parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data).buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.InviteNotifyMessage parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data, extensionRegistry) - .buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.InviteNotifyMessage parseFrom(java.io.InputStream input) - throws java.io.IOException { - return newBuilder().mergeFrom(input).buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.InviteNotifyMessage parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return newBuilder().mergeFrom(input, extensionRegistry) - .buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.InviteNotifyMessage parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - Builder builder = newBuilder(); - if (builder.mergeDelimitedFrom(input)) { - return builder.buildParsed(); - } else { - return null; - } - } - public static de.pokerth.protocol.ProtoBuf.InviteNotifyMessage parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - Builder builder = newBuilder(); - if (builder.mergeDelimitedFrom(input, extensionRegistry)) { - return builder.buildParsed(); - } else { - return null; - } - } - public static de.pokerth.protocol.ProtoBuf.InviteNotifyMessage parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return newBuilder().mergeFrom(input).buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.InviteNotifyMessage parseFrom( + + private InviteNotifyMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return newBuilder().mergeFrom(input, extensionRegistry) - .buildParsed(); - } - - public static Builder newBuilder() { return Builder.create(); } - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.InviteNotifyMessage prototype) { - return newBuilder().mergeFrom(prototype); - } - public Builder toBuilder() { return newBuilder(this); } - - public static final class Builder extends - com.google.protobuf.GeneratedMessageLite.Builder< - de.pokerth.protocol.ProtoBuf.InviteNotifyMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.InviteNotifyMessageOrBuilder { - // Construct using de.pokerth.protocol.ProtoBuf.InviteNotifyMessage.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - } - private static Builder create() { - return new Builder(); - } - - public Builder clear() { - super.clear(); - gameId_ = 0; - bitField0_ = (bitField0_ & ~0x00000001); - playerIdWho_ = 0; - bitField0_ = (bitField0_ & ~0x00000002); - playerIdByWhom_ = 0; - bitField0_ = (bitField0_ & ~0x00000004); - return this; - } - - public Builder clone() { - return create().mergeFrom(buildPartial()); - } - - public de.pokerth.protocol.ProtoBuf.InviteNotifyMessage getDefaultInstanceForType() { - return de.pokerth.protocol.ProtoBuf.InviteNotifyMessage.getDefaultInstance(); - } - - public de.pokerth.protocol.ProtoBuf.InviteNotifyMessage build() { - de.pokerth.protocol.ProtoBuf.InviteNotifyMessage result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - private de.pokerth.protocol.ProtoBuf.InviteNotifyMessage buildParsed() - throws com.google.protobuf.InvalidProtocolBufferException { - de.pokerth.protocol.ProtoBuf.InviteNotifyMessage result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException( - result).asInvalidProtocolBufferException(); - } - return result; - } - - public de.pokerth.protocol.ProtoBuf.InviteNotifyMessage buildPartial() { - de.pokerth.protocol.ProtoBuf.InviteNotifyMessage result = new de.pokerth.protocol.ProtoBuf.InviteNotifyMessage(this); - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) == 0x00000001)) { - to_bitField0_ |= 0x00000001; - } - result.gameId_ = gameId_; - if (((from_bitField0_ & 0x00000002) == 0x00000002)) { - to_bitField0_ |= 0x00000002; - } - result.playerIdWho_ = playerIdWho_; - if (((from_bitField0_ & 0x00000004) == 0x00000004)) { - to_bitField0_ |= 0x00000004; - } - result.playerIdByWhom_ = playerIdByWhom_; - result.bitField0_ = to_bitField0_; - return result; - } - - public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.InviteNotifyMessage other) { - if (other == de.pokerth.protocol.ProtoBuf.InviteNotifyMessage.getDefaultInstance()) return this; - if (other.hasGameId()) { - setGameId(other.getGameId()); - } - if (other.hasPlayerIdWho()) { - setPlayerIdWho(other.getPlayerIdWho()); - } - if (other.hasPlayerIdByWhom()) { - setPlayerIdByWhom(other.getPlayerIdByWhom()); - } - return this; - } - - public final boolean isInitialized() { - if (!hasGameId()) { - - return false; - } - if (!hasPlayerIdWho()) { - - return false; - } - if (!hasPlayerIdByWhom()) { - - return false; - } - return true; - } - - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - while (true) { + throws com.google.protobuf.InvalidProtocolBufferException { + initFields(); + int mutable_bitField0_ = 0; + try { + boolean done = false; + while (!done) { int tag = input.readTag(); switch (tag) { case 0: - - return this; + done = true; + break; default: { - if (!parseUnknownField(input, extensionRegistry, tag)) { - - return this; + if (!parseUnknownField(input, + extensionRegistry, tag)) { + done = true; } break; } @@ -18707,196 +23411,105 @@ public final class ProtoBuf { } } } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e.getMessage()).setUnfinishedMessage(this); + } finally { + makeExtensionsImmutable(); } - - private int bitField0_; - - // required uint32 gameId = 1; - private int gameId_ ; - public boolean hasGameId() { - return ((bitField0_ & 0x00000001) == 0x00000001); - } - public int getGameId() { - return gameId_; - } - public Builder setGameId(int value) { - bitField0_ |= 0x00000001; - gameId_ = value; - - return this; - } - public Builder clearGameId() { - bitField0_ = (bitField0_ & ~0x00000001); - gameId_ = 0; - - return this; - } - - // required uint32 playerIdWho = 2; - private int playerIdWho_ ; - public boolean hasPlayerIdWho() { - return ((bitField0_ & 0x00000002) == 0x00000002); - } - public int getPlayerIdWho() { - return playerIdWho_; - } - public Builder setPlayerIdWho(int value) { - bitField0_ |= 0x00000002; - playerIdWho_ = value; - - return this; - } - public Builder clearPlayerIdWho() { - bitField0_ = (bitField0_ & ~0x00000002); - playerIdWho_ = 0; - - return this; - } - - // required uint32 playerIdByWhom = 3; - private int playerIdByWhom_ ; - public boolean hasPlayerIdByWhom() { - return ((bitField0_ & 0x00000004) == 0x00000004); - } - public int getPlayerIdByWhom() { - return playerIdByWhom_; - } - public Builder setPlayerIdByWhom(int value) { - bitField0_ |= 0x00000004; - playerIdByWhom_ = value; - - return this; - } - public Builder clearPlayerIdByWhom() { - bitField0_ = (bitField0_ & ~0x00000004); - playerIdByWhom_ = 0; - - return this; - } - - // @@protoc_insertion_point(builder_scope:InviteNotifyMessage) } - - static { - defaultInstance = new InviteNotifyMessage(true); - defaultInstance.initFields(); - } - - // @@protoc_insertion_point(class_scope:InviteNotifyMessage) - } - - public interface RejectGameInvitationMessageOrBuilder - extends com.google.protobuf.MessageLiteOrBuilder { - - // required uint32 gameId = 1; - boolean hasGameId(); - int getGameId(); - - // required .RejectGameInvitationMessage.RejectGameInvReason myRejectReason = 2; - boolean hasMyRejectReason(); - de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage.RejectGameInvReason getMyRejectReason(); - } - public static final class RejectGameInvitationMessage extends - com.google.protobuf.GeneratedMessageLite - implements RejectGameInvitationMessageOrBuilder { - // Use RejectGameInvitationMessage.newBuilder() to construct. - private RejectGameInvitationMessage(Builder builder) { - super(builder); - } - private RejectGameInvitationMessage(boolean noInit) {} - - private static final RejectGameInvitationMessage defaultInstance; - public static RejectGameInvitationMessage getDefaultInstance() { - return defaultInstance; - } - - public RejectGameInvitationMessage getDefaultInstanceForType() { - return defaultInstance; - } - - public enum RejectGameInvReason - implements com.google.protobuf.Internal.EnumLite { - rejectReasonNo(0, 0), - rejectReasonBusy(1, 1), - ; - - public static final int rejectReasonNo_VALUE = 0; - public static final int rejectReasonBusy_VALUE = 1; - - - public final int getNumber() { return value; } - - public static RejectGameInvReason valueOf(int value) { - switch (value) { - case 0: return rejectReasonNo; - case 1: return rejectReasonBusy; - default: return null; - } + public static com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + public InviteNotifyMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new InviteNotifyMessage(input, extensionRegistry); } - - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { - return internalValueMap; - } - private static com.google.protobuf.Internal.EnumLiteMap - internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public RejectGameInvReason findValueByNumber(int number) { - return RejectGameInvReason.valueOf(number); - } - }; - - private final int value; - - private RejectGameInvReason(int index, int value) { - this.value = value; - } - - // @@protoc_insertion_point(enum_scope:RejectGameInvitationMessage.RejectGameInvReason) + }; + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; } - + private int bitField0_; // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; + /** + * required uint32 gameId = 1; + */ public boolean hasGameId() { return ((bitField0_ & 0x00000001) == 0x00000001); } + /** + * required uint32 gameId = 1; + */ public int getGameId() { return gameId_; } - - // required .RejectGameInvitationMessage.RejectGameInvReason myRejectReason = 2; - public static final int MYREJECTREASON_FIELD_NUMBER = 2; - private de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage.RejectGameInvReason myRejectReason_; - public boolean hasMyRejectReason() { + + // required uint32 playerIdWho = 2; + public static final int PLAYERIDWHO_FIELD_NUMBER = 2; + private int playerIdWho_; + /** + * required uint32 playerIdWho = 2; + */ + public boolean hasPlayerIdWho() { return ((bitField0_ & 0x00000002) == 0x00000002); } - public de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage.RejectGameInvReason getMyRejectReason() { - return myRejectReason_; + /** + * required uint32 playerIdWho = 2; + */ + public int getPlayerIdWho() { + return playerIdWho_; } - + + // required uint32 playerIdByWhom = 3; + public static final int PLAYERIDBYWHOM_FIELD_NUMBER = 3; + private int playerIdByWhom_; + /** + * required uint32 playerIdByWhom = 3; + */ + public boolean hasPlayerIdByWhom() { + return ((bitField0_ & 0x00000004) == 0x00000004); + } + /** + * required uint32 playerIdByWhom = 3; + */ + public int getPlayerIdByWhom() { + return playerIdByWhom_; + } + private void initFields() { gameId_ = 0; - myRejectReason_ = de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage.RejectGameInvReason.rejectReasonNo; + playerIdWho_ = 0; + playerIdByWhom_ = 0; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; - + if (!hasGameId()) { memoizedIsInitialized = 0; return false; } - if (!hasMyRejectReason()) { + if (!hasPlayerIdWho()) { + memoizedIsInitialized = 0; + return false; + } + if (!hasPlayerIdByWhom()) { memoizedIsInitialized = 0; return false; } memoizedIsInitialized = 1; return true; } - + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); @@ -18904,15 +23517,18 @@ public final class ProtoBuf { output.writeUInt32(1, gameId_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { - output.writeEnum(2, myRejectReason_.getNumber()); + output.writeUInt32(2, playerIdWho_); + } + if (((bitField0_ & 0x00000004) == 0x00000004)) { + output.writeUInt32(3, playerIdByWhom_); } } - + private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; - + size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream @@ -18920,145 +23536,130 @@ public final class ProtoBuf { } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, myRejectReason_.getNumber()); + .computeUInt32Size(2, playerIdWho_); + } + if (((bitField0_ & 0x00000004) == 0x00000004)) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(3, playerIdByWhom_); } memoizedSerializedSize = size; return size; } - + private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } - - public static de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage parseFrom( + + public static de.pokerth.protocol.ProtoBuf.InviteNotifyMessage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data).buildParsed(); + return PARSER.parseFrom(data); } - public static de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage parseFrom( + public static de.pokerth.protocol.ProtoBuf.InviteNotifyMessage parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(data, extensionRegistry); } - public static de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage parseFrom(byte[] data) + public static de.pokerth.protocol.ProtoBuf.InviteNotifyMessage parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data).buildParsed(); + return PARSER.parseFrom(data); } - public static de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage parseFrom( + public static de.pokerth.protocol.ProtoBuf.InviteNotifyMessage parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(data, extensionRegistry); } - public static de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage parseFrom(java.io.InputStream input) + public static de.pokerth.protocol.ProtoBuf.InviteNotifyMessage parseFrom(java.io.InputStream input) throws java.io.IOException { - return newBuilder().mergeFrom(input).buildParsed(); + return PARSER.parseFrom(input); } - public static de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage parseFrom( + public static de.pokerth.protocol.ProtoBuf.InviteNotifyMessage parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return newBuilder().mergeFrom(input, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(input, extensionRegistry); } - public static de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage parseDelimitedFrom(java.io.InputStream input) + public static de.pokerth.protocol.ProtoBuf.InviteNotifyMessage parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - Builder builder = newBuilder(); - if (builder.mergeDelimitedFrom(input)) { - return builder.buildParsed(); - } else { - return null; - } + return PARSER.parseDelimitedFrom(input); } - public static de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage parseDelimitedFrom( + public static de.pokerth.protocol.ProtoBuf.InviteNotifyMessage parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - Builder builder = newBuilder(); - if (builder.mergeDelimitedFrom(input, extensionRegistry)) { - return builder.buildParsed(); - } else { - return null; - } + return PARSER.parseDelimitedFrom(input, extensionRegistry); } - public static de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage parseFrom( + public static de.pokerth.protocol.ProtoBuf.InviteNotifyMessage parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return newBuilder().mergeFrom(input).buildParsed(); + return PARSER.parseFrom(input); } - public static de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage parseFrom( + public static de.pokerth.protocol.ProtoBuf.InviteNotifyMessage parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return newBuilder().mergeFrom(input, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(input, extensionRegistry); } - + public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage prototype) { + public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.InviteNotifyMessage prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } - + + /** + * Protobuf type {@code InviteNotifyMessage} + */ public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< - de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessageOrBuilder { - // Construct using de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage.newBuilder() + de.pokerth.protocol.ProtoBuf.InviteNotifyMessage, Builder> + implements de.pokerth.protocol.ProtoBuf.InviteNotifyMessageOrBuilder { + // Construct using de.pokerth.protocol.ProtoBuf.InviteNotifyMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - + private void maybeForceBuilderInitialization() { } private static Builder create() { return new Builder(); } - + public Builder clear() { super.clear(); gameId_ = 0; bitField0_ = (bitField0_ & ~0x00000001); - myRejectReason_ = de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage.RejectGameInvReason.rejectReasonNo; + playerIdWho_ = 0; bitField0_ = (bitField0_ & ~0x00000002); + playerIdByWhom_ = 0; + bitField0_ = (bitField0_ & ~0x00000004); return this; } - + public Builder clone() { return create().mergeFrom(buildPartial()); } - - public de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage getDefaultInstanceForType() { - return de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage.getDefaultInstance(); + + public de.pokerth.protocol.ProtoBuf.InviteNotifyMessage getDefaultInstanceForType() { + return de.pokerth.protocol.ProtoBuf.InviteNotifyMessage.getDefaultInstance(); } - - public de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage build() { - de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage result = buildPartial(); + + public de.pokerth.protocol.ProtoBuf.InviteNotifyMessage build() { + de.pokerth.protocol.ProtoBuf.InviteNotifyMessage result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } - - private de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage buildParsed() - throws com.google.protobuf.InvalidProtocolBufferException { - de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException( - result).asInvalidProtocolBufferException(); - } - return result; - } - - public de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage buildPartial() { - de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage result = new de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage(this); + + public de.pokerth.protocol.ProtoBuf.InviteNotifyMessage buildPartial() { + de.pokerth.protocol.ProtoBuf.InviteNotifyMessage result = new de.pokerth.protocol.ProtoBuf.InviteNotifyMessage(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { @@ -19068,48 +23669,237 @@ public final class ProtoBuf { if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } - result.myRejectReason_ = myRejectReason_; + result.playerIdWho_ = playerIdWho_; + if (((from_bitField0_ & 0x00000004) == 0x00000004)) { + to_bitField0_ |= 0x00000004; + } + result.playerIdByWhom_ = playerIdByWhom_; result.bitField0_ = to_bitField0_; return result; } - - public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage other) { - if (other == de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage.getDefaultInstance()) return this; + + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.InviteNotifyMessage other) { + if (other == de.pokerth.protocol.ProtoBuf.InviteNotifyMessage.getDefaultInstance()) return this; if (other.hasGameId()) { setGameId(other.getGameId()); } - if (other.hasMyRejectReason()) { - setMyRejectReason(other.getMyRejectReason()); + if (other.hasPlayerIdWho()) { + setPlayerIdWho(other.getPlayerIdWho()); + } + if (other.hasPlayerIdByWhom()) { + setPlayerIdByWhom(other.getPlayerIdByWhom()); } return this; } - + public final boolean isInitialized() { if (!hasGameId()) { return false; } - if (!hasMyRejectReason()) { + if (!hasPlayerIdWho()) { + + return false; + } + if (!hasPlayerIdByWhom()) { return false; } return true; } - + public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - while (true) { + de.pokerth.protocol.ProtoBuf.InviteNotifyMessage parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (de.pokerth.protocol.ProtoBuf.InviteNotifyMessage) e.getUnfinishedMessage(); + throw e; + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int bitField0_; + + // required uint32 gameId = 1; + private int gameId_ ; + /** + * required uint32 gameId = 1; + */ + public boolean hasGameId() { + return ((bitField0_ & 0x00000001) == 0x00000001); + } + /** + * required uint32 gameId = 1; + */ + public int getGameId() { + return gameId_; + } + /** + * required uint32 gameId = 1; + */ + public Builder setGameId(int value) { + bitField0_ |= 0x00000001; + gameId_ = value; + + return this; + } + /** + * required uint32 gameId = 1; + */ + public Builder clearGameId() { + bitField0_ = (bitField0_ & ~0x00000001); + gameId_ = 0; + + return this; + } + + // required uint32 playerIdWho = 2; + private int playerIdWho_ ; + /** + * required uint32 playerIdWho = 2; + */ + public boolean hasPlayerIdWho() { + return ((bitField0_ & 0x00000002) == 0x00000002); + } + /** + * required uint32 playerIdWho = 2; + */ + public int getPlayerIdWho() { + return playerIdWho_; + } + /** + * required uint32 playerIdWho = 2; + */ + public Builder setPlayerIdWho(int value) { + bitField0_ |= 0x00000002; + playerIdWho_ = value; + + return this; + } + /** + * required uint32 playerIdWho = 2; + */ + public Builder clearPlayerIdWho() { + bitField0_ = (bitField0_ & ~0x00000002); + playerIdWho_ = 0; + + return this; + } + + // required uint32 playerIdByWhom = 3; + private int playerIdByWhom_ ; + /** + * required uint32 playerIdByWhom = 3; + */ + public boolean hasPlayerIdByWhom() { + return ((bitField0_ & 0x00000004) == 0x00000004); + } + /** + * required uint32 playerIdByWhom = 3; + */ + public int getPlayerIdByWhom() { + return playerIdByWhom_; + } + /** + * required uint32 playerIdByWhom = 3; + */ + public Builder setPlayerIdByWhom(int value) { + bitField0_ |= 0x00000004; + playerIdByWhom_ = value; + + return this; + } + /** + * required uint32 playerIdByWhom = 3; + */ + public Builder clearPlayerIdByWhom() { + bitField0_ = (bitField0_ & ~0x00000004); + playerIdByWhom_ = 0; + + return this; + } + + // @@protoc_insertion_point(builder_scope:InviteNotifyMessage) + } + + static { + defaultInstance = new InviteNotifyMessage(true); + defaultInstance.initFields(); + } + + // @@protoc_insertion_point(class_scope:InviteNotifyMessage) + } + + public interface RejectGameInvitationMessageOrBuilder + extends com.google.protobuf.MessageLiteOrBuilder { + + // required uint32 gameId = 1; + /** + * required uint32 gameId = 1; + */ + boolean hasGameId(); + /** + * required uint32 gameId = 1; + */ + int getGameId(); + + // required .RejectGameInvitationMessage.RejectGameInvReason myRejectReason = 2; + /** + * required .RejectGameInvitationMessage.RejectGameInvReason myRejectReason = 2; + */ + boolean hasMyRejectReason(); + /** + * required .RejectGameInvitationMessage.RejectGameInvReason myRejectReason = 2; + */ + de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage.RejectGameInvReason getMyRejectReason(); + } + /** + * Protobuf type {@code RejectGameInvitationMessage} + */ + public static final class RejectGameInvitationMessage extends + com.google.protobuf.GeneratedMessageLite + implements RejectGameInvitationMessageOrBuilder { + // Use RejectGameInvitationMessage.newBuilder() to construct. + private RejectGameInvitationMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { + super(builder); + + } + private RejectGameInvitationMessage(boolean noInit) {} + + private static final RejectGameInvitationMessage defaultInstance; + public static RejectGameInvitationMessage getDefaultInstance() { + return defaultInstance; + } + + public RejectGameInvitationMessage getDefaultInstanceForType() { + return defaultInstance; + } + + private RejectGameInvitationMessage( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + initFields(); + int mutable_bitField0_ = 0; + try { + boolean done = false; + while (!done) { int tag = input.readTag(); switch (tag) { case 0: - - return this; + done = true; + break; default: { - if (!parseUnknownField(input, extensionRegistry, tag)) { - - return this; + if (!parseUnknownField(input, + extensionRegistry, tag)) { + done = true; } break; } @@ -19129,156 +23919,140 @@ public final class ProtoBuf { } } } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e.getMessage()).setUnfinishedMessage(this); + } finally { + makeExtensionsImmutable(); } - - private int bitField0_; - - // required uint32 gameId = 1; - private int gameId_ ; - public boolean hasGameId() { - return ((bitField0_ & 0x00000001) == 0x00000001); + } + public static com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + public RejectGameInvitationMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RejectGameInvitationMessage(input, extensionRegistry); } - public int getGameId() { - return gameId_; - } - public Builder setGameId(int value) { - bitField0_ |= 0x00000001; - gameId_ = value; - - return this; - } - public Builder clearGameId() { - bitField0_ = (bitField0_ & ~0x00000001); - gameId_ = 0; - - return this; - } - - // required .RejectGameInvitationMessage.RejectGameInvReason myRejectReason = 2; - private de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage.RejectGameInvReason myRejectReason_ = de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage.RejectGameInvReason.rejectReasonNo; - public boolean hasMyRejectReason() { - return ((bitField0_ & 0x00000002) == 0x00000002); - } - public de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage.RejectGameInvReason getMyRejectReason() { - return myRejectReason_; - } - public Builder setMyRejectReason(de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage.RejectGameInvReason value) { - if (value == null) { - throw new NullPointerException(); + }; + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + /** + * Protobuf enum {@code RejectGameInvitationMessage.RejectGameInvReason} + */ + public enum RejectGameInvReason + implements com.google.protobuf.Internal.EnumLite { + /** + * rejectReasonNo = 0; + */ + rejectReasonNo(0, 0), + /** + * rejectReasonBusy = 1; + */ + rejectReasonBusy(1, 1), + ; + + /** + * rejectReasonNo = 0; + */ + public static final int rejectReasonNo_VALUE = 0; + /** + * rejectReasonBusy = 1; + */ + public static final int rejectReasonBusy_VALUE = 1; + + + public final int getNumber() { return value; } + + public static RejectGameInvReason valueOf(int value) { + switch (value) { + case 0: return rejectReasonNo; + case 1: return rejectReasonBusy; + default: return null; } - bitField0_ |= 0x00000002; - myRejectReason_ = value; - - return this; } - public Builder clearMyRejectReason() { - bitField0_ = (bitField0_ & ~0x00000002); - myRejectReason_ = de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage.RejectGameInvReason.rejectReasonNo; - - return this; + + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { + return internalValueMap; } - - // @@protoc_insertion_point(builder_scope:RejectGameInvitationMessage) + private static com.google.protobuf.Internal.EnumLiteMap + internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public RejectGameInvReason findValueByNumber(int number) { + return RejectGameInvReason.valueOf(number); + } + }; + + private final int value; + + private RejectGameInvReason(int index, int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:RejectGameInvitationMessage.RejectGameInvReason) } - - static { - defaultInstance = new RejectGameInvitationMessage(true); - defaultInstance.initFields(); - } - - // @@protoc_insertion_point(class_scope:RejectGameInvitationMessage) - } - - public interface RejectInvNotifyMessageOrBuilder - extends com.google.protobuf.MessageLiteOrBuilder { - - // required uint32 gameId = 1; - boolean hasGameId(); - int getGameId(); - - // required uint32 playerId = 2; - boolean hasPlayerId(); - int getPlayerId(); - - // required .RejectGameInvitationMessage.RejectGameInvReason playerRejectReason = 3; - boolean hasPlayerRejectReason(); - de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage.RejectGameInvReason getPlayerRejectReason(); - } - public static final class RejectInvNotifyMessage extends - com.google.protobuf.GeneratedMessageLite - implements RejectInvNotifyMessageOrBuilder { - // Use RejectInvNotifyMessage.newBuilder() to construct. - private RejectInvNotifyMessage(Builder builder) { - super(builder); - } - private RejectInvNotifyMessage(boolean noInit) {} - - private static final RejectInvNotifyMessage defaultInstance; - public static RejectInvNotifyMessage getDefaultInstance() { - return defaultInstance; - } - - public RejectInvNotifyMessage getDefaultInstanceForType() { - return defaultInstance; - } - + private int bitField0_; // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; + /** + * required uint32 gameId = 1; + */ public boolean hasGameId() { return ((bitField0_ & 0x00000001) == 0x00000001); } + /** + * required uint32 gameId = 1; + */ public int getGameId() { return gameId_; } - - // required uint32 playerId = 2; - public static final int PLAYERID_FIELD_NUMBER = 2; - private int playerId_; - public boolean hasPlayerId() { + + // required .RejectGameInvitationMessage.RejectGameInvReason myRejectReason = 2; + public static final int MYREJECTREASON_FIELD_NUMBER = 2; + private de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage.RejectGameInvReason myRejectReason_; + /** + * required .RejectGameInvitationMessage.RejectGameInvReason myRejectReason = 2; + */ + public boolean hasMyRejectReason() { return ((bitField0_ & 0x00000002) == 0x00000002); } - public int getPlayerId() { - return playerId_; + /** + * required .RejectGameInvitationMessage.RejectGameInvReason myRejectReason = 2; + */ + public de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage.RejectGameInvReason getMyRejectReason() { + return myRejectReason_; } - - // required .RejectGameInvitationMessage.RejectGameInvReason playerRejectReason = 3; - public static final int PLAYERREJECTREASON_FIELD_NUMBER = 3; - private de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage.RejectGameInvReason playerRejectReason_; - public boolean hasPlayerRejectReason() { - return ((bitField0_ & 0x00000004) == 0x00000004); - } - public de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage.RejectGameInvReason getPlayerRejectReason() { - return playerRejectReason_; - } - + private void initFields() { gameId_ = 0; - playerId_ = 0; - playerRejectReason_ = de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage.RejectGameInvReason.rejectReasonNo; + myRejectReason_ = de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage.RejectGameInvReason.rejectReasonNo; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; - + if (!hasGameId()) { memoizedIsInitialized = 0; return false; } - if (!hasPlayerId()) { - memoizedIsInitialized = 0; - return false; - } - if (!hasPlayerRejectReason()) { + if (!hasMyRejectReason()) { memoizedIsInitialized = 0; return false; } memoizedIsInitialized = 1; return true; } - + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); @@ -19286,18 +24060,15 @@ public final class ProtoBuf { output.writeUInt32(1, gameId_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { - output.writeUInt32(2, playerId_); - } - if (((bitField0_ & 0x00000004) == 0x00000004)) { - output.writeEnum(3, playerRejectReason_.getNumber()); + output.writeEnum(2, myRejectReason_.getNumber()); } } - + private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; - + size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream @@ -19305,151 +24076,124 @@ public final class ProtoBuf { } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(2, playerId_); - } - if (((bitField0_ & 0x00000004) == 0x00000004)) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(3, playerRejectReason_.getNumber()); + .computeEnumSize(2, myRejectReason_.getNumber()); } memoizedSerializedSize = size; return size; } - + private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } - - public static de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessage parseFrom( + + public static de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data).buildParsed(); + return PARSER.parseFrom(data); } - public static de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessage parseFrom( + public static de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(data, extensionRegistry); } - public static de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessage parseFrom(byte[] data) + public static de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data).buildParsed(); + return PARSER.parseFrom(data); } - public static de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessage parseFrom( + public static de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(data, extensionRegistry); } - public static de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessage parseFrom(java.io.InputStream input) + public static de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage parseFrom(java.io.InputStream input) throws java.io.IOException { - return newBuilder().mergeFrom(input).buildParsed(); + return PARSER.parseFrom(input); } - public static de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessage parseFrom( + public static de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return newBuilder().mergeFrom(input, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(input, extensionRegistry); } - public static de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessage parseDelimitedFrom(java.io.InputStream input) + public static de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - Builder builder = newBuilder(); - if (builder.mergeDelimitedFrom(input)) { - return builder.buildParsed(); - } else { - return null; - } + return PARSER.parseDelimitedFrom(input); } - public static de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessage parseDelimitedFrom( + public static de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - Builder builder = newBuilder(); - if (builder.mergeDelimitedFrom(input, extensionRegistry)) { - return builder.buildParsed(); - } else { - return null; - } + return PARSER.parseDelimitedFrom(input, extensionRegistry); } - public static de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessage parseFrom( + public static de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return newBuilder().mergeFrom(input).buildParsed(); + return PARSER.parseFrom(input); } - public static de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessage parseFrom( + public static de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return newBuilder().mergeFrom(input, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(input, extensionRegistry); } - + public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessage prototype) { + public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } - + + /** + * Protobuf type {@code RejectGameInvitationMessage} + */ public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< - de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessageOrBuilder { - // Construct using de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessage.newBuilder() + de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage, Builder> + implements de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessageOrBuilder { + // Construct using de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - + private void maybeForceBuilderInitialization() { } private static Builder create() { return new Builder(); } - + public Builder clear() { super.clear(); gameId_ = 0; bitField0_ = (bitField0_ & ~0x00000001); - playerId_ = 0; + myRejectReason_ = de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage.RejectGameInvReason.rejectReasonNo; bitField0_ = (bitField0_ & ~0x00000002); - playerRejectReason_ = de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage.RejectGameInvReason.rejectReasonNo; - bitField0_ = (bitField0_ & ~0x00000004); return this; } - + public Builder clone() { return create().mergeFrom(buildPartial()); } - - public de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessage getDefaultInstanceForType() { - return de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessage.getDefaultInstance(); + + public de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage getDefaultInstanceForType() { + return de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage.getDefaultInstance(); } - - public de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessage build() { - de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessage result = buildPartial(); + + public de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage build() { + de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } - - private de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessage buildParsed() - throws com.google.protobuf.InvalidProtocolBufferException { - de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessage result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException( - result).asInvalidProtocolBufferException(); - } - return result; - } - - public de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessage buildPartial() { - de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessage result = new de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessage(this); + + public de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage buildPartial() { + de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage result = new de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { @@ -19459,59 +24203,206 @@ public final class ProtoBuf { if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } - result.playerId_ = playerId_; - if (((from_bitField0_ & 0x00000004) == 0x00000004)) { - to_bitField0_ |= 0x00000004; - } - result.playerRejectReason_ = playerRejectReason_; + result.myRejectReason_ = myRejectReason_; result.bitField0_ = to_bitField0_; return result; } - - public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessage other) { - if (other == de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessage.getDefaultInstance()) return this; + + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage other) { + if (other == de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage.getDefaultInstance()) return this; if (other.hasGameId()) { setGameId(other.getGameId()); } - if (other.hasPlayerId()) { - setPlayerId(other.getPlayerId()); - } - if (other.hasPlayerRejectReason()) { - setPlayerRejectReason(other.getPlayerRejectReason()); + if (other.hasMyRejectReason()) { + setMyRejectReason(other.getMyRejectReason()); } return this; } - + public final boolean isInitialized() { if (!hasGameId()) { return false; } - if (!hasPlayerId()) { - - return false; - } - if (!hasPlayerRejectReason()) { + if (!hasMyRejectReason()) { return false; } return true; } - + public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - while (true) { + de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage) e.getUnfinishedMessage(); + throw e; + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int bitField0_; + + // required uint32 gameId = 1; + private int gameId_ ; + /** + * required uint32 gameId = 1; + */ + public boolean hasGameId() { + return ((bitField0_ & 0x00000001) == 0x00000001); + } + /** + * required uint32 gameId = 1; + */ + public int getGameId() { + return gameId_; + } + /** + * required uint32 gameId = 1; + */ + public Builder setGameId(int value) { + bitField0_ |= 0x00000001; + gameId_ = value; + + return this; + } + /** + * required uint32 gameId = 1; + */ + public Builder clearGameId() { + bitField0_ = (bitField0_ & ~0x00000001); + gameId_ = 0; + + return this; + } + + // required .RejectGameInvitationMessage.RejectGameInvReason myRejectReason = 2; + private de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage.RejectGameInvReason myRejectReason_ = de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage.RejectGameInvReason.rejectReasonNo; + /** + * required .RejectGameInvitationMessage.RejectGameInvReason myRejectReason = 2; + */ + public boolean hasMyRejectReason() { + return ((bitField0_ & 0x00000002) == 0x00000002); + } + /** + * required .RejectGameInvitationMessage.RejectGameInvReason myRejectReason = 2; + */ + public de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage.RejectGameInvReason getMyRejectReason() { + return myRejectReason_; + } + /** + * required .RejectGameInvitationMessage.RejectGameInvReason myRejectReason = 2; + */ + public Builder setMyRejectReason(de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage.RejectGameInvReason value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000002; + myRejectReason_ = value; + + return this; + } + /** + * required .RejectGameInvitationMessage.RejectGameInvReason myRejectReason = 2; + */ + public Builder clearMyRejectReason() { + bitField0_ = (bitField0_ & ~0x00000002); + myRejectReason_ = de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage.RejectGameInvReason.rejectReasonNo; + + return this; + } + + // @@protoc_insertion_point(builder_scope:RejectGameInvitationMessage) + } + + static { + defaultInstance = new RejectGameInvitationMessage(true); + defaultInstance.initFields(); + } + + // @@protoc_insertion_point(class_scope:RejectGameInvitationMessage) + } + + public interface RejectInvNotifyMessageOrBuilder + extends com.google.protobuf.MessageLiteOrBuilder { + + // required uint32 gameId = 1; + /** + * required uint32 gameId = 1; + */ + boolean hasGameId(); + /** + * required uint32 gameId = 1; + */ + int getGameId(); + + // required uint32 playerId = 2; + /** + * required uint32 playerId = 2; + */ + boolean hasPlayerId(); + /** + * required uint32 playerId = 2; + */ + int getPlayerId(); + + // required .RejectGameInvitationMessage.RejectGameInvReason playerRejectReason = 3; + /** + * required .RejectGameInvitationMessage.RejectGameInvReason playerRejectReason = 3; + */ + boolean hasPlayerRejectReason(); + /** + * required .RejectGameInvitationMessage.RejectGameInvReason playerRejectReason = 3; + */ + de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage.RejectGameInvReason getPlayerRejectReason(); + } + /** + * Protobuf type {@code RejectInvNotifyMessage} + */ + public static final class RejectInvNotifyMessage extends + com.google.protobuf.GeneratedMessageLite + implements RejectInvNotifyMessageOrBuilder { + // Use RejectInvNotifyMessage.newBuilder() to construct. + private RejectInvNotifyMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { + super(builder); + + } + private RejectInvNotifyMessage(boolean noInit) {} + + private static final RejectInvNotifyMessage defaultInstance; + public static RejectInvNotifyMessage getDefaultInstance() { + return defaultInstance; + } + + public RejectInvNotifyMessage getDefaultInstanceForType() { + return defaultInstance; + } + + private RejectInvNotifyMessage( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + initFields(); + int mutable_bitField0_ = 0; + try { + boolean done = false; + while (!done) { int tag = input.readTag(); switch (tag) { case 0: - - return this; + done = true; + break; default: { - if (!parseUnknownField(input, extensionRegistry, tag)) { - - return this; + if (!parseUnknownField(input, + extensionRegistry, tag)) { + done = true; } break; } @@ -19536,214 +24427,105 @@ public final class ProtoBuf { } } } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e.getMessage()).setUnfinishedMessage(this); + } finally { + makeExtensionsImmutable(); } - - private int bitField0_; - - // required uint32 gameId = 1; - private int gameId_ ; - public boolean hasGameId() { - return ((bitField0_ & 0x00000001) == 0x00000001); - } - public int getGameId() { - return gameId_; - } - public Builder setGameId(int value) { - bitField0_ |= 0x00000001; - gameId_ = value; - - return this; - } - public Builder clearGameId() { - bitField0_ = (bitField0_ & ~0x00000001); - gameId_ = 0; - - return this; - } - - // required uint32 playerId = 2; - private int playerId_ ; - public boolean hasPlayerId() { - return ((bitField0_ & 0x00000002) == 0x00000002); - } - public int getPlayerId() { - return playerId_; - } - public Builder setPlayerId(int value) { - bitField0_ |= 0x00000002; - playerId_ = value; - - return this; - } - public Builder clearPlayerId() { - bitField0_ = (bitField0_ & ~0x00000002); - playerId_ = 0; - - return this; - } - - // required .RejectGameInvitationMessage.RejectGameInvReason playerRejectReason = 3; - private de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage.RejectGameInvReason playerRejectReason_ = de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage.RejectGameInvReason.rejectReasonNo; - public boolean hasPlayerRejectReason() { - return ((bitField0_ & 0x00000004) == 0x00000004); - } - public de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage.RejectGameInvReason getPlayerRejectReason() { - return playerRejectReason_; - } - public Builder setPlayerRejectReason(de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage.RejectGameInvReason value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000004; - playerRejectReason_ = value; - - return this; - } - public Builder clearPlayerRejectReason() { - bitField0_ = (bitField0_ & ~0x00000004); - playerRejectReason_ = de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage.RejectGameInvReason.rejectReasonNo; - - return this; - } - - // @@protoc_insertion_point(builder_scope:RejectInvNotifyMessage) } - - static { - defaultInstance = new RejectInvNotifyMessage(true); - defaultInstance.initFields(); - } - - // @@protoc_insertion_point(class_scope:RejectInvNotifyMessage) - } - - public interface StartEventMessageOrBuilder - extends com.google.protobuf.MessageLiteOrBuilder { - - // required uint32 gameId = 1; - boolean hasGameId(); - int getGameId(); - - // required .StartEventMessage.StartEventType startEventType = 2; - boolean hasStartEventType(); - de.pokerth.protocol.ProtoBuf.StartEventMessage.StartEventType getStartEventType(); - - // optional bool fillWithComputerPlayers = 3; - boolean hasFillWithComputerPlayers(); - boolean getFillWithComputerPlayers(); - } - public static final class StartEventMessage extends - com.google.protobuf.GeneratedMessageLite - implements StartEventMessageOrBuilder { - // Use StartEventMessage.newBuilder() to construct. - private StartEventMessage(Builder builder) { - super(builder); - } - private StartEventMessage(boolean noInit) {} - - private static final StartEventMessage defaultInstance; - public static StartEventMessage getDefaultInstance() { - return defaultInstance; - } - - public StartEventMessage getDefaultInstanceForType() { - return defaultInstance; - } - - public enum StartEventType - implements com.google.protobuf.Internal.EnumLite { - startEvent(0, 0), - rejoinEvent(1, 1), - ; - - public static final int startEvent_VALUE = 0; - public static final int rejoinEvent_VALUE = 1; - - - public final int getNumber() { return value; } - - public static StartEventType valueOf(int value) { - switch (value) { - case 0: return startEvent; - case 1: return rejoinEvent; - default: return null; - } + public static com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + public RejectInvNotifyMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RejectInvNotifyMessage(input, extensionRegistry); } - - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { - return internalValueMap; - } - private static com.google.protobuf.Internal.EnumLiteMap - internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public StartEventType findValueByNumber(int number) { - return StartEventType.valueOf(number); - } - }; - - private final int value; - - private StartEventType(int index, int value) { - this.value = value; - } - - // @@protoc_insertion_point(enum_scope:StartEventMessage.StartEventType) + }; + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; } - + private int bitField0_; // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; + /** + * required uint32 gameId = 1; + */ public boolean hasGameId() { return ((bitField0_ & 0x00000001) == 0x00000001); } + /** + * required uint32 gameId = 1; + */ public int getGameId() { return gameId_; } - - // required .StartEventMessage.StartEventType startEventType = 2; - public static final int STARTEVENTTYPE_FIELD_NUMBER = 2; - private de.pokerth.protocol.ProtoBuf.StartEventMessage.StartEventType startEventType_; - public boolean hasStartEventType() { + + // required uint32 playerId = 2; + public static final int PLAYERID_FIELD_NUMBER = 2; + private int playerId_; + /** + * required uint32 playerId = 2; + */ + public boolean hasPlayerId() { return ((bitField0_ & 0x00000002) == 0x00000002); } - public de.pokerth.protocol.ProtoBuf.StartEventMessage.StartEventType getStartEventType() { - return startEventType_; + /** + * required uint32 playerId = 2; + */ + public int getPlayerId() { + return playerId_; } - - // optional bool fillWithComputerPlayers = 3; - public static final int FILLWITHCOMPUTERPLAYERS_FIELD_NUMBER = 3; - private boolean fillWithComputerPlayers_; - public boolean hasFillWithComputerPlayers() { + + // required .RejectGameInvitationMessage.RejectGameInvReason playerRejectReason = 3; + public static final int PLAYERREJECTREASON_FIELD_NUMBER = 3; + private de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage.RejectGameInvReason playerRejectReason_; + /** + * required .RejectGameInvitationMessage.RejectGameInvReason playerRejectReason = 3; + */ + public boolean hasPlayerRejectReason() { return ((bitField0_ & 0x00000004) == 0x00000004); } - public boolean getFillWithComputerPlayers() { - return fillWithComputerPlayers_; + /** + * required .RejectGameInvitationMessage.RejectGameInvReason playerRejectReason = 3; + */ + public de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage.RejectGameInvReason getPlayerRejectReason() { + return playerRejectReason_; } - + private void initFields() { gameId_ = 0; - startEventType_ = de.pokerth.protocol.ProtoBuf.StartEventMessage.StartEventType.startEvent; - fillWithComputerPlayers_ = false; + playerId_ = 0; + playerRejectReason_ = de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage.RejectGameInvReason.rejectReasonNo; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; - + if (!hasGameId()) { memoizedIsInitialized = 0; return false; } - if (!hasStartEventType()) { + if (!hasPlayerId()) { + memoizedIsInitialized = 0; + return false; + } + if (!hasPlayerRejectReason()) { memoizedIsInitialized = 0; return false; } memoizedIsInitialized = 1; return true; } - + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); @@ -19751,18 +24533,18 @@ public final class ProtoBuf { output.writeUInt32(1, gameId_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { - output.writeEnum(2, startEventType_.getNumber()); + output.writeUInt32(2, playerId_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { - output.writeBool(3, fillWithComputerPlayers_); + output.writeEnum(3, playerRejectReason_.getNumber()); } } - + private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; - + size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream @@ -19770,151 +24552,130 @@ public final class ProtoBuf { } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, startEventType_.getNumber()); + .computeUInt32Size(2, playerId_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream - .computeBoolSize(3, fillWithComputerPlayers_); + .computeEnumSize(3, playerRejectReason_.getNumber()); } memoizedSerializedSize = size; return size; } - + private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } - - public static de.pokerth.protocol.ProtoBuf.StartEventMessage parseFrom( + + public static de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data).buildParsed(); + return PARSER.parseFrom(data); } - public static de.pokerth.protocol.ProtoBuf.StartEventMessage parseFrom( + public static de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessage parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(data, extensionRegistry); } - public static de.pokerth.protocol.ProtoBuf.StartEventMessage parseFrom(byte[] data) + public static de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessage parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data).buildParsed(); + return PARSER.parseFrom(data); } - public static de.pokerth.protocol.ProtoBuf.StartEventMessage parseFrom( + public static de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessage parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(data, extensionRegistry); } - public static de.pokerth.protocol.ProtoBuf.StartEventMessage parseFrom(java.io.InputStream input) + public static de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessage parseFrom(java.io.InputStream input) throws java.io.IOException { - return newBuilder().mergeFrom(input).buildParsed(); + return PARSER.parseFrom(input); } - public static de.pokerth.protocol.ProtoBuf.StartEventMessage parseFrom( + public static de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessage parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return newBuilder().mergeFrom(input, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(input, extensionRegistry); } - public static de.pokerth.protocol.ProtoBuf.StartEventMessage parseDelimitedFrom(java.io.InputStream input) + public static de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessage parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - Builder builder = newBuilder(); - if (builder.mergeDelimitedFrom(input)) { - return builder.buildParsed(); - } else { - return null; - } + return PARSER.parseDelimitedFrom(input); } - public static de.pokerth.protocol.ProtoBuf.StartEventMessage parseDelimitedFrom( + public static de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessage parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - Builder builder = newBuilder(); - if (builder.mergeDelimitedFrom(input, extensionRegistry)) { - return builder.buildParsed(); - } else { - return null; - } + return PARSER.parseDelimitedFrom(input, extensionRegistry); } - public static de.pokerth.protocol.ProtoBuf.StartEventMessage parseFrom( + public static de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessage parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return newBuilder().mergeFrom(input).buildParsed(); + return PARSER.parseFrom(input); } - public static de.pokerth.protocol.ProtoBuf.StartEventMessage parseFrom( + public static de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessage parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return newBuilder().mergeFrom(input, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(input, extensionRegistry); } - + public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.StartEventMessage prototype) { + public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessage prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } - + + /** + * Protobuf type {@code RejectInvNotifyMessage} + */ public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< - de.pokerth.protocol.ProtoBuf.StartEventMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.StartEventMessageOrBuilder { - // Construct using de.pokerth.protocol.ProtoBuf.StartEventMessage.newBuilder() + de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessage, Builder> + implements de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessageOrBuilder { + // Construct using de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - + private void maybeForceBuilderInitialization() { } private static Builder create() { return new Builder(); } - + public Builder clear() { super.clear(); gameId_ = 0; bitField0_ = (bitField0_ & ~0x00000001); - startEventType_ = de.pokerth.protocol.ProtoBuf.StartEventMessage.StartEventType.startEvent; + playerId_ = 0; bitField0_ = (bitField0_ & ~0x00000002); - fillWithComputerPlayers_ = false; + playerRejectReason_ = de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage.RejectGameInvReason.rejectReasonNo; bitField0_ = (bitField0_ & ~0x00000004); return this; } - + public Builder clone() { return create().mergeFrom(buildPartial()); } - - public de.pokerth.protocol.ProtoBuf.StartEventMessage getDefaultInstanceForType() { - return de.pokerth.protocol.ProtoBuf.StartEventMessage.getDefaultInstance(); + + public de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessage getDefaultInstanceForType() { + return de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessage.getDefaultInstance(); } - - public de.pokerth.protocol.ProtoBuf.StartEventMessage build() { - de.pokerth.protocol.ProtoBuf.StartEventMessage result = buildPartial(); + + public de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessage build() { + de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessage result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } - - private de.pokerth.protocol.ProtoBuf.StartEventMessage buildParsed() - throws com.google.protobuf.InvalidProtocolBufferException { - de.pokerth.protocol.ProtoBuf.StartEventMessage result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException( - result).asInvalidProtocolBufferException(); - } - return result; - } - - public de.pokerth.protocol.ProtoBuf.StartEventMessage buildPartial() { - de.pokerth.protocol.ProtoBuf.StartEventMessage result = new de.pokerth.protocol.ProtoBuf.StartEventMessage(this); + + public de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessage buildPartial() { + de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessage result = new de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessage(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { @@ -19924,55 +24685,250 @@ public final class ProtoBuf { if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } - result.startEventType_ = startEventType_; + result.playerId_ = playerId_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } - result.fillWithComputerPlayers_ = fillWithComputerPlayers_; + result.playerRejectReason_ = playerRejectReason_; result.bitField0_ = to_bitField0_; return result; } - - public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.StartEventMessage other) { - if (other == de.pokerth.protocol.ProtoBuf.StartEventMessage.getDefaultInstance()) return this; + + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessage other) { + if (other == de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessage.getDefaultInstance()) return this; if (other.hasGameId()) { setGameId(other.getGameId()); } - if (other.hasStartEventType()) { - setStartEventType(other.getStartEventType()); + if (other.hasPlayerId()) { + setPlayerId(other.getPlayerId()); } - if (other.hasFillWithComputerPlayers()) { - setFillWithComputerPlayers(other.getFillWithComputerPlayers()); + if (other.hasPlayerRejectReason()) { + setPlayerRejectReason(other.getPlayerRejectReason()); } return this; } - + public final boolean isInitialized() { if (!hasGameId()) { return false; } - if (!hasStartEventType()) { + if (!hasPlayerId()) { + + return false; + } + if (!hasPlayerRejectReason()) { return false; } return true; } - + public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - while (true) { + de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessage parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessage) e.getUnfinishedMessage(); + throw e; + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int bitField0_; + + // required uint32 gameId = 1; + private int gameId_ ; + /** + * required uint32 gameId = 1; + */ + public boolean hasGameId() { + return ((bitField0_ & 0x00000001) == 0x00000001); + } + /** + * required uint32 gameId = 1; + */ + public int getGameId() { + return gameId_; + } + /** + * required uint32 gameId = 1; + */ + public Builder setGameId(int value) { + bitField0_ |= 0x00000001; + gameId_ = value; + + return this; + } + /** + * required uint32 gameId = 1; + */ + public Builder clearGameId() { + bitField0_ = (bitField0_ & ~0x00000001); + gameId_ = 0; + + return this; + } + + // required uint32 playerId = 2; + private int playerId_ ; + /** + * required uint32 playerId = 2; + */ + public boolean hasPlayerId() { + return ((bitField0_ & 0x00000002) == 0x00000002); + } + /** + * required uint32 playerId = 2; + */ + public int getPlayerId() { + return playerId_; + } + /** + * required uint32 playerId = 2; + */ + public Builder setPlayerId(int value) { + bitField0_ |= 0x00000002; + playerId_ = value; + + return this; + } + /** + * required uint32 playerId = 2; + */ + public Builder clearPlayerId() { + bitField0_ = (bitField0_ & ~0x00000002); + playerId_ = 0; + + return this; + } + + // required .RejectGameInvitationMessage.RejectGameInvReason playerRejectReason = 3; + private de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage.RejectGameInvReason playerRejectReason_ = de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage.RejectGameInvReason.rejectReasonNo; + /** + * required .RejectGameInvitationMessage.RejectGameInvReason playerRejectReason = 3; + */ + public boolean hasPlayerRejectReason() { + return ((bitField0_ & 0x00000004) == 0x00000004); + } + /** + * required .RejectGameInvitationMessage.RejectGameInvReason playerRejectReason = 3; + */ + public de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage.RejectGameInvReason getPlayerRejectReason() { + return playerRejectReason_; + } + /** + * required .RejectGameInvitationMessage.RejectGameInvReason playerRejectReason = 3; + */ + public Builder setPlayerRejectReason(de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage.RejectGameInvReason value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000004; + playerRejectReason_ = value; + + return this; + } + /** + * required .RejectGameInvitationMessage.RejectGameInvReason playerRejectReason = 3; + */ + public Builder clearPlayerRejectReason() { + bitField0_ = (bitField0_ & ~0x00000004); + playerRejectReason_ = de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage.RejectGameInvReason.rejectReasonNo; + + return this; + } + + // @@protoc_insertion_point(builder_scope:RejectInvNotifyMessage) + } + + static { + defaultInstance = new RejectInvNotifyMessage(true); + defaultInstance.initFields(); + } + + // @@protoc_insertion_point(class_scope:RejectInvNotifyMessage) + } + + public interface StartEventMessageOrBuilder + extends com.google.protobuf.MessageLiteOrBuilder { + + // required uint32 gameId = 1; + /** + * required uint32 gameId = 1; + */ + boolean hasGameId(); + /** + * required uint32 gameId = 1; + */ + int getGameId(); + + // required .StartEventMessage.StartEventType startEventType = 2; + /** + * required .StartEventMessage.StartEventType startEventType = 2; + */ + boolean hasStartEventType(); + /** + * required .StartEventMessage.StartEventType startEventType = 2; + */ + de.pokerth.protocol.ProtoBuf.StartEventMessage.StartEventType getStartEventType(); + + // optional bool fillWithComputerPlayers = 3; + /** + * optional bool fillWithComputerPlayers = 3; + */ + boolean hasFillWithComputerPlayers(); + /** + * optional bool fillWithComputerPlayers = 3; + */ + boolean getFillWithComputerPlayers(); + } + /** + * Protobuf type {@code StartEventMessage} + */ + public static final class StartEventMessage extends + com.google.protobuf.GeneratedMessageLite + implements StartEventMessageOrBuilder { + // Use StartEventMessage.newBuilder() to construct. + private StartEventMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { + super(builder); + + } + private StartEventMessage(boolean noInit) {} + + private static final StartEventMessage defaultInstance; + public static StartEventMessage getDefaultInstance() { + return defaultInstance; + } + + public StartEventMessage getDefaultInstanceForType() { + return defaultInstance; + } + + private StartEventMessage( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + initFields(); + int mutable_bitField0_ = 0; + try { + boolean done = false; + while (!done) { int tag = input.readTag(); switch (tag) { case 0: - - return this; + done = true; + break; default: { - if (!parseUnknownField(input, extensionRegistry, tag)) { - - return this; + if (!parseUnknownField(input, + extensionRegistry, tag)) { + done = true; } break; } @@ -19997,39 +24953,420 @@ public final class ProtoBuf { } } } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e.getMessage()).setUnfinishedMessage(this); + } finally { + makeExtensionsImmutable(); + } + } + public static com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + public StartEventMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new StartEventMessage(input, extensionRegistry); + } + }; + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + /** + * Protobuf enum {@code StartEventMessage.StartEventType} + */ + public enum StartEventType + implements com.google.protobuf.Internal.EnumLite { + /** + * startEvent = 0; + */ + startEvent(0, 0), + /** + * rejoinEvent = 1; + */ + rejoinEvent(1, 1), + ; + + /** + * startEvent = 0; + */ + public static final int startEvent_VALUE = 0; + /** + * rejoinEvent = 1; + */ + public static final int rejoinEvent_VALUE = 1; + + + public final int getNumber() { return value; } + + public static StartEventType valueOf(int value) { + switch (value) { + case 0: return startEvent; + case 1: return rejoinEvent; + default: return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { + return internalValueMap; + } + private static com.google.protobuf.Internal.EnumLiteMap + internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public StartEventType findValueByNumber(int number) { + return StartEventType.valueOf(number); + } + }; + + private final int value; + + private StartEventType(int index, int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:StartEventMessage.StartEventType) + } + + private int bitField0_; + // required uint32 gameId = 1; + public static final int GAMEID_FIELD_NUMBER = 1; + private int gameId_; + /** + * required uint32 gameId = 1; + */ + public boolean hasGameId() { + return ((bitField0_ & 0x00000001) == 0x00000001); + } + /** + * required uint32 gameId = 1; + */ + public int getGameId() { + return gameId_; + } + + // required .StartEventMessage.StartEventType startEventType = 2; + public static final int STARTEVENTTYPE_FIELD_NUMBER = 2; + private de.pokerth.protocol.ProtoBuf.StartEventMessage.StartEventType startEventType_; + /** + * required .StartEventMessage.StartEventType startEventType = 2; + */ + public boolean hasStartEventType() { + return ((bitField0_ & 0x00000002) == 0x00000002); + } + /** + * required .StartEventMessage.StartEventType startEventType = 2; + */ + public de.pokerth.protocol.ProtoBuf.StartEventMessage.StartEventType getStartEventType() { + return startEventType_; + } + + // optional bool fillWithComputerPlayers = 3; + public static final int FILLWITHCOMPUTERPLAYERS_FIELD_NUMBER = 3; + private boolean fillWithComputerPlayers_; + /** + * optional bool fillWithComputerPlayers = 3; + */ + public boolean hasFillWithComputerPlayers() { + return ((bitField0_ & 0x00000004) == 0x00000004); + } + /** + * optional bool fillWithComputerPlayers = 3; + */ + public boolean getFillWithComputerPlayers() { + return fillWithComputerPlayers_; + } + + private void initFields() { + gameId_ = 0; + startEventType_ = de.pokerth.protocol.ProtoBuf.StartEventMessage.StartEventType.startEvent; + fillWithComputerPlayers_ = false; + } + private byte memoizedIsInitialized = -1; + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized != -1) return isInitialized == 1; + + if (!hasGameId()) { + memoizedIsInitialized = 0; + return false; + } + if (!hasStartEventType()) { + memoizedIsInitialized = 0; + return false; + } + memoizedIsInitialized = 1; + return true; + } + + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + getSerializedSize(); + if (((bitField0_ & 0x00000001) == 0x00000001)) { + output.writeUInt32(1, gameId_); + } + if (((bitField0_ & 0x00000002) == 0x00000002)) { + output.writeEnum(2, startEventType_.getNumber()); + } + if (((bitField0_ & 0x00000004) == 0x00000004)) { + output.writeBool(3, fillWithComputerPlayers_); + } + } + + private int memoizedSerializedSize = -1; + public int getSerializedSize() { + int size = memoizedSerializedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) == 0x00000001)) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(1, gameId_); + } + if (((bitField0_ & 0x00000002) == 0x00000002)) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, startEventType_.getNumber()); + } + if (((bitField0_ & 0x00000004) == 0x00000004)) { + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(3, fillWithComputerPlayers_); + } + memoizedSerializedSize = size; + return size; + } + + private static final long serialVersionUID = 0L; + @java.lang.Override + protected java.lang.Object writeReplace() + throws java.io.ObjectStreamException { + return super.writeReplace(); + } + + public static de.pokerth.protocol.ProtoBuf.StartEventMessage parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static de.pokerth.protocol.ProtoBuf.StartEventMessage parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static de.pokerth.protocol.ProtoBuf.StartEventMessage parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static de.pokerth.protocol.ProtoBuf.StartEventMessage parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static de.pokerth.protocol.ProtoBuf.StartEventMessage parseFrom(java.io.InputStream input) + throws java.io.IOException { + return PARSER.parseFrom(input); + } + public static de.pokerth.protocol.ProtoBuf.StartEventMessage parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseFrom(input, extensionRegistry); + } + public static de.pokerth.protocol.ProtoBuf.StartEventMessage parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return PARSER.parseDelimitedFrom(input); + } + public static de.pokerth.protocol.ProtoBuf.StartEventMessage parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseDelimitedFrom(input, extensionRegistry); + } + public static de.pokerth.protocol.ProtoBuf.StartEventMessage parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return PARSER.parseFrom(input); + } + public static de.pokerth.protocol.ProtoBuf.StartEventMessage parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseFrom(input, extensionRegistry); + } + + public static Builder newBuilder() { return Builder.create(); } + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.StartEventMessage prototype) { + return newBuilder().mergeFrom(prototype); + } + public Builder toBuilder() { return newBuilder(this); } + + /** + * Protobuf type {@code StartEventMessage} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageLite.Builder< + de.pokerth.protocol.ProtoBuf.StartEventMessage, Builder> + implements de.pokerth.protocol.ProtoBuf.StartEventMessageOrBuilder { + // Construct using de.pokerth.protocol.ProtoBuf.StartEventMessage.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + } + private static Builder create() { + return new Builder(); + } + + public Builder clear() { + super.clear(); + gameId_ = 0; + bitField0_ = (bitField0_ & ~0x00000001); + startEventType_ = de.pokerth.protocol.ProtoBuf.StartEventMessage.StartEventType.startEvent; + bitField0_ = (bitField0_ & ~0x00000002); + fillWithComputerPlayers_ = false; + bitField0_ = (bitField0_ & ~0x00000004); + return this; + } + + public Builder clone() { + return create().mergeFrom(buildPartial()); + } + + public de.pokerth.protocol.ProtoBuf.StartEventMessage getDefaultInstanceForType() { + return de.pokerth.protocol.ProtoBuf.StartEventMessage.getDefaultInstance(); + } + + public de.pokerth.protocol.ProtoBuf.StartEventMessage build() { + de.pokerth.protocol.ProtoBuf.StartEventMessage result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + public de.pokerth.protocol.ProtoBuf.StartEventMessage buildPartial() { + de.pokerth.protocol.ProtoBuf.StartEventMessage result = new de.pokerth.protocol.ProtoBuf.StartEventMessage(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) == 0x00000001)) { + to_bitField0_ |= 0x00000001; + } + result.gameId_ = gameId_; + if (((from_bitField0_ & 0x00000002) == 0x00000002)) { + to_bitField0_ |= 0x00000002; + } + result.startEventType_ = startEventType_; + if (((from_bitField0_ & 0x00000004) == 0x00000004)) { + to_bitField0_ |= 0x00000004; + } + result.fillWithComputerPlayers_ = fillWithComputerPlayers_; + result.bitField0_ = to_bitField0_; + return result; + } + + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.StartEventMessage other) { + if (other == de.pokerth.protocol.ProtoBuf.StartEventMessage.getDefaultInstance()) return this; + if (other.hasGameId()) { + setGameId(other.getGameId()); + } + if (other.hasStartEventType()) { + setStartEventType(other.getStartEventType()); + } + if (other.hasFillWithComputerPlayers()) { + setFillWithComputerPlayers(other.getFillWithComputerPlayers()); + } + return this; + } + + public final boolean isInitialized() { + if (!hasGameId()) { + + return false; + } + if (!hasStartEventType()) { + + return false; + } + return true; + } + + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + de.pokerth.protocol.ProtoBuf.StartEventMessage parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (de.pokerth.protocol.ProtoBuf.StartEventMessage) e.getUnfinishedMessage(); + throw e; + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; } - private int bitField0_; - + // required uint32 gameId = 1; private int gameId_ ; + /** + * required uint32 gameId = 1; + */ public boolean hasGameId() { return ((bitField0_ & 0x00000001) == 0x00000001); } + /** + * required uint32 gameId = 1; + */ public int getGameId() { return gameId_; } + /** + * required uint32 gameId = 1; + */ public Builder setGameId(int value) { bitField0_ |= 0x00000001; gameId_ = value; return this; } + /** + * required uint32 gameId = 1; + */ public Builder clearGameId() { bitField0_ = (bitField0_ & ~0x00000001); gameId_ = 0; return this; } - + // required .StartEventMessage.StartEventType startEventType = 2; private de.pokerth.protocol.ProtoBuf.StartEventMessage.StartEventType startEventType_ = de.pokerth.protocol.ProtoBuf.StartEventMessage.StartEventType.startEvent; + /** + * required .StartEventMessage.StartEventType startEventType = 2; + */ public boolean hasStartEventType() { return ((bitField0_ & 0x00000002) == 0x00000002); } + /** + * required .StartEventMessage.StartEventType startEventType = 2; + */ public de.pokerth.protocol.ProtoBuf.StartEventMessage.StartEventType getStartEventType() { return startEventType_; } + /** + * required .StartEventMessage.StartEventType startEventType = 2; + */ public Builder setStartEventType(de.pokerth.protocol.ProtoBuf.StartEventMessage.StartEventType value) { if (value == null) { throw new NullPointerException(); @@ -20039,81 +25376,164 @@ public final class ProtoBuf { return this; } + /** + * required .StartEventMessage.StartEventType startEventType = 2; + */ public Builder clearStartEventType() { bitField0_ = (bitField0_ & ~0x00000002); startEventType_ = de.pokerth.protocol.ProtoBuf.StartEventMessage.StartEventType.startEvent; return this; } - + // optional bool fillWithComputerPlayers = 3; private boolean fillWithComputerPlayers_ ; + /** + * optional bool fillWithComputerPlayers = 3; + */ public boolean hasFillWithComputerPlayers() { return ((bitField0_ & 0x00000004) == 0x00000004); } + /** + * optional bool fillWithComputerPlayers = 3; + */ public boolean getFillWithComputerPlayers() { return fillWithComputerPlayers_; } + /** + * optional bool fillWithComputerPlayers = 3; + */ public Builder setFillWithComputerPlayers(boolean value) { bitField0_ |= 0x00000004; fillWithComputerPlayers_ = value; return this; } + /** + * optional bool fillWithComputerPlayers = 3; + */ public Builder clearFillWithComputerPlayers() { bitField0_ = (bitField0_ & ~0x00000004); fillWithComputerPlayers_ = false; return this; } - + // @@protoc_insertion_point(builder_scope:StartEventMessage) } - + static { defaultInstance = new StartEventMessage(true); defaultInstance.initFields(); } - + // @@protoc_insertion_point(class_scope:StartEventMessage) } - + public interface StartEventAckMessageOrBuilder extends com.google.protobuf.MessageLiteOrBuilder { - + // required uint32 gameId = 1; + /** + * required uint32 gameId = 1; + */ boolean hasGameId(); + /** + * required uint32 gameId = 1; + */ int getGameId(); } + /** + * Protobuf type {@code StartEventAckMessage} + */ public static final class StartEventAckMessage extends com.google.protobuf.GeneratedMessageLite implements StartEventAckMessageOrBuilder { // Use StartEventAckMessage.newBuilder() to construct. - private StartEventAckMessage(Builder builder) { + private StartEventAckMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); + } private StartEventAckMessage(boolean noInit) {} - + private static final StartEventAckMessage defaultInstance; public static StartEventAckMessage getDefaultInstance() { return defaultInstance; } - + public StartEventAckMessage getDefaultInstanceForType() { return defaultInstance; } - + + private StartEventAckMessage( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + initFields(); + int mutable_bitField0_ = 0; + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: { + if (!parseUnknownField(input, + extensionRegistry, tag)) { + done = true; + } + break; + } + case 8: { + bitField0_ |= 0x00000001; + gameId_ = input.readUInt32(); + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e.getMessage()).setUnfinishedMessage(this); + } finally { + makeExtensionsImmutable(); + } + } + public static com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + public StartEventAckMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new StartEventAckMessage(input, extensionRegistry); + } + }; + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + private int bitField0_; // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; + /** + * required uint32 gameId = 1; + */ public boolean hasGameId() { return ((bitField0_ & 0x00000001) == 0x00000001); } + /** + * required uint32 gameId = 1; + */ public int getGameId() { return gameId_; } - + private void initFields() { gameId_ = 0; } @@ -20121,7 +25541,7 @@ public final class ProtoBuf { public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; - + if (!hasGameId()) { memoizedIsInitialized = 0; return false; @@ -20129,7 +25549,7 @@ public final class ProtoBuf { memoizedIsInitialized = 1; return true; } - + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); @@ -20137,12 +25557,12 @@ public final class ProtoBuf { output.writeUInt32(1, gameId_); } } - + private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; - + size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream @@ -20151,88 +25571,77 @@ public final class ProtoBuf { memoizedSerializedSize = size; return size; } - + private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } - + public static de.pokerth.protocol.ProtoBuf.StartEventAckMessage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data).buildParsed(); + return PARSER.parseFrom(data); } public static de.pokerth.protocol.ProtoBuf.StartEventAckMessage parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(data, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.StartEventAckMessage parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data).buildParsed(); + return PARSER.parseFrom(data); } public static de.pokerth.protocol.ProtoBuf.StartEventAckMessage parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(data, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.StartEventAckMessage parseFrom(java.io.InputStream input) throws java.io.IOException { - return newBuilder().mergeFrom(input).buildParsed(); + return PARSER.parseFrom(input); } public static de.pokerth.protocol.ProtoBuf.StartEventAckMessage parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return newBuilder().mergeFrom(input, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.StartEventAckMessage parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - Builder builder = newBuilder(); - if (builder.mergeDelimitedFrom(input)) { - return builder.buildParsed(); - } else { - return null; - } + return PARSER.parseDelimitedFrom(input); } public static de.pokerth.protocol.ProtoBuf.StartEventAckMessage parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - Builder builder = newBuilder(); - if (builder.mergeDelimitedFrom(input, extensionRegistry)) { - return builder.buildParsed(); - } else { - return null; - } + return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.StartEventAckMessage parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return newBuilder().mergeFrom(input).buildParsed(); + return PARSER.parseFrom(input); } public static de.pokerth.protocol.ProtoBuf.StartEventAckMessage parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return newBuilder().mergeFrom(input, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(input, extensionRegistry); } - + public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.StartEventAckMessage prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } - + + /** + * Protobuf type {@code StartEventAckMessage} + */ public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.StartEventAckMessage, Builder> @@ -20241,28 +25650,28 @@ public final class ProtoBuf { private Builder() { maybeForceBuilderInitialization(); } - + private void maybeForceBuilderInitialization() { } private static Builder create() { return new Builder(); } - + public Builder clear() { super.clear(); gameId_ = 0; bitField0_ = (bitField0_ & ~0x00000001); return this; } - + public Builder clone() { return create().mergeFrom(buildPartial()); } - + public de.pokerth.protocol.ProtoBuf.StartEventAckMessage getDefaultInstanceForType() { return de.pokerth.protocol.ProtoBuf.StartEventAckMessage.getDefaultInstance(); } - + public de.pokerth.protocol.ProtoBuf.StartEventAckMessage build() { de.pokerth.protocol.ProtoBuf.StartEventAckMessage result = buildPartial(); if (!result.isInitialized()) { @@ -20270,17 +25679,7 @@ public final class ProtoBuf { } return result; } - - private de.pokerth.protocol.ProtoBuf.StartEventAckMessage buildParsed() - throws com.google.protobuf.InvalidProtocolBufferException { - de.pokerth.protocol.ProtoBuf.StartEventAckMessage result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException( - result).asInvalidProtocolBufferException(); - } - return result; - } - + public de.pokerth.protocol.ProtoBuf.StartEventAckMessage buildPartial() { de.pokerth.protocol.ProtoBuf.StartEventAckMessage result = new de.pokerth.protocol.ProtoBuf.StartEventAckMessage(this); int from_bitField0_ = bitField0_; @@ -20292,7 +25691,7 @@ public final class ProtoBuf { result.bitField0_ = to_bitField0_; return result; } - + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.StartEventAckMessage other) { if (other == de.pokerth.protocol.ProtoBuf.StartEventAckMessage.getDefaultInstance()) return this; if (other.hasGameId()) { @@ -20300,7 +25699,7 @@ public final class ProtoBuf { } return this; } - + public final boolean isInitialized() { if (!hasGameId()) { @@ -20308,21 +25707,147 @@ public final class ProtoBuf { } return true; } - + public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - while (true) { + de.pokerth.protocol.ProtoBuf.StartEventAckMessage parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (de.pokerth.protocol.ProtoBuf.StartEventAckMessage) e.getUnfinishedMessage(); + throw e; + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int bitField0_; + + // required uint32 gameId = 1; + private int gameId_ ; + /** + * required uint32 gameId = 1; + */ + public boolean hasGameId() { + return ((bitField0_ & 0x00000001) == 0x00000001); + } + /** + * required uint32 gameId = 1; + */ + public int getGameId() { + return gameId_; + } + /** + * required uint32 gameId = 1; + */ + public Builder setGameId(int value) { + bitField0_ |= 0x00000001; + gameId_ = value; + + return this; + } + /** + * required uint32 gameId = 1; + */ + public Builder clearGameId() { + bitField0_ = (bitField0_ & ~0x00000001); + gameId_ = 0; + + return this; + } + + // @@protoc_insertion_point(builder_scope:StartEventAckMessage) + } + + static { + defaultInstance = new StartEventAckMessage(true); + defaultInstance.initFields(); + } + + // @@protoc_insertion_point(class_scope:StartEventAckMessage) + } + + public interface GameStartInitialMessageOrBuilder + extends com.google.protobuf.MessageLiteOrBuilder { + + // required uint32 gameId = 1; + /** + * required uint32 gameId = 1; + */ + boolean hasGameId(); + /** + * required uint32 gameId = 1; + */ + int getGameId(); + + // required uint32 startDealerPlayerId = 2; + /** + * required uint32 startDealerPlayerId = 2; + */ + boolean hasStartDealerPlayerId(); + /** + * required uint32 startDealerPlayerId = 2; + */ + int getStartDealerPlayerId(); + + // repeated uint32 playerSeats = 3 [packed = true]; + /** + * repeated uint32 playerSeats = 3 [packed = true]; + */ + java.util.List getPlayerSeatsList(); + /** + * repeated uint32 playerSeats = 3 [packed = true]; + */ + int getPlayerSeatsCount(); + /** + * repeated uint32 playerSeats = 3 [packed = true]; + */ + int getPlayerSeats(int index); + } + /** + * Protobuf type {@code GameStartInitialMessage} + */ + public static final class GameStartInitialMessage extends + com.google.protobuf.GeneratedMessageLite + implements GameStartInitialMessageOrBuilder { + // Use GameStartInitialMessage.newBuilder() to construct. + private GameStartInitialMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { + super(builder); + + } + private GameStartInitialMessage(boolean noInit) {} + + private static final GameStartInitialMessage defaultInstance; + public static GameStartInitialMessage getDefaultInstance() { + return defaultInstance; + } + + public GameStartInitialMessage getDefaultInstanceForType() { + return defaultInstance; + } + + private GameStartInitialMessage( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + initFields(); + int mutable_bitField0_ = 0; + try { + boolean done = false; + while (!done) { int tag = input.readTag(); switch (tag) { case 0: - - return this; + done = true; + break; default: { - if (!parseUnknownField(input, extensionRegistry, tag)) { - - return this; + if (!parseUnknownField(input, + extensionRegistry, tag)) { + done = true; } break; } @@ -20331,124 +25856,128 @@ public final class ProtoBuf { gameId_ = input.readUInt32(); break; } + case 16: { + bitField0_ |= 0x00000002; + startDealerPlayerId_ = input.readUInt32(); + break; + } + case 24: { + if (!((mutable_bitField0_ & 0x00000004) == 0x00000004)) { + playerSeats_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000004; + } + playerSeats_.add(input.readUInt32()); + break; + } + case 26: { + int length = input.readRawVarint32(); + int limit = input.pushLimit(length); + if (!((mutable_bitField0_ & 0x00000004) == 0x00000004) && input.getBytesUntilLimit() > 0) { + playerSeats_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000004; + } + while (input.getBytesUntilLimit() > 0) { + playerSeats_.add(input.readUInt32()); + } + input.popLimit(limit); + break; + } } } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e.getMessage()).setUnfinishedMessage(this); + } finally { + if (((mutable_bitField0_ & 0x00000004) == 0x00000004)) { + playerSeats_ = java.util.Collections.unmodifiableList(playerSeats_); + } + makeExtensionsImmutable(); } - - private int bitField0_; - - // required uint32 gameId = 1; - private int gameId_ ; - public boolean hasGameId() { - return ((bitField0_ & 0x00000001) == 0x00000001); + } + public static com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + public GameStartInitialMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GameStartInitialMessage(input, extensionRegistry); } - public int getGameId() { - return gameId_; - } - public Builder setGameId(int value) { - bitField0_ |= 0x00000001; - gameId_ = value; - - return this; - } - public Builder clearGameId() { - bitField0_ = (bitField0_ & ~0x00000001); - gameId_ = 0; - - return this; - } - - // @@protoc_insertion_point(builder_scope:StartEventAckMessage) + }; + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; } - - static { - defaultInstance = new StartEventAckMessage(true); - defaultInstance.initFields(); - } - - // @@protoc_insertion_point(class_scope:StartEventAckMessage) - } - - public interface GameStartInitialMessageOrBuilder - extends com.google.protobuf.MessageLiteOrBuilder { - - // required uint32 gameId = 1; - boolean hasGameId(); - int getGameId(); - - // required uint32 startDealerPlayerId = 2; - boolean hasStartDealerPlayerId(); - int getStartDealerPlayerId(); - - // repeated uint32 playerSeats = 3 [packed = true]; - java.util.List getPlayerSeatsList(); - int getPlayerSeatsCount(); - int getPlayerSeats(int index); - } - public static final class GameStartInitialMessage extends - com.google.protobuf.GeneratedMessageLite - implements GameStartInitialMessageOrBuilder { - // Use GameStartInitialMessage.newBuilder() to construct. - private GameStartInitialMessage(Builder builder) { - super(builder); - } - private GameStartInitialMessage(boolean noInit) {} - - private static final GameStartInitialMessage defaultInstance; - public static GameStartInitialMessage getDefaultInstance() { - return defaultInstance; - } - - public GameStartInitialMessage getDefaultInstanceForType() { - return defaultInstance; - } - + private int bitField0_; // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; + /** + * required uint32 gameId = 1; + */ public boolean hasGameId() { return ((bitField0_ & 0x00000001) == 0x00000001); } + /** + * required uint32 gameId = 1; + */ public int getGameId() { return gameId_; } - + // required uint32 startDealerPlayerId = 2; public static final int STARTDEALERPLAYERID_FIELD_NUMBER = 2; private int startDealerPlayerId_; + /** + * required uint32 startDealerPlayerId = 2; + */ public boolean hasStartDealerPlayerId() { return ((bitField0_ & 0x00000002) == 0x00000002); } + /** + * required uint32 startDealerPlayerId = 2; + */ public int getStartDealerPlayerId() { return startDealerPlayerId_; } - + // repeated uint32 playerSeats = 3 [packed = true]; public static final int PLAYERSEATS_FIELD_NUMBER = 3; private java.util.List playerSeats_; + /** + * repeated uint32 playerSeats = 3 [packed = true]; + */ public java.util.List getPlayerSeatsList() { return playerSeats_; } + /** + * repeated uint32 playerSeats = 3 [packed = true]; + */ public int getPlayerSeatsCount() { return playerSeats_.size(); } + /** + * repeated uint32 playerSeats = 3 [packed = true]; + */ public int getPlayerSeats(int index) { return playerSeats_.get(index); } private int playerSeatsMemoizedSerializedSize = -1; - + private void initFields() { gameId_ = 0; startDealerPlayerId_ = 0; - playerSeats_ = java.util.Collections.emptyList();; + playerSeats_ = java.util.Collections.emptyList(); } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; - + if (!hasGameId()) { memoizedIsInitialized = 0; return false; @@ -20460,7 +25989,7 @@ public final class ProtoBuf { memoizedIsInitialized = 1; return true; } - + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); @@ -20478,12 +26007,12 @@ public final class ProtoBuf { output.writeUInt32NoTag(playerSeats_.get(i)); } } - + private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; - + size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream @@ -20510,88 +26039,77 @@ public final class ProtoBuf { memoizedSerializedSize = size; return size; } - + private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } - + public static de.pokerth.protocol.ProtoBuf.GameStartInitialMessage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data).buildParsed(); + return PARSER.parseFrom(data); } public static de.pokerth.protocol.ProtoBuf.GameStartInitialMessage parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(data, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.GameStartInitialMessage parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data).buildParsed(); + return PARSER.parseFrom(data); } public static de.pokerth.protocol.ProtoBuf.GameStartInitialMessage parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(data, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.GameStartInitialMessage parseFrom(java.io.InputStream input) throws java.io.IOException { - return newBuilder().mergeFrom(input).buildParsed(); + return PARSER.parseFrom(input); } public static de.pokerth.protocol.ProtoBuf.GameStartInitialMessage parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return newBuilder().mergeFrom(input, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.GameStartInitialMessage parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - Builder builder = newBuilder(); - if (builder.mergeDelimitedFrom(input)) { - return builder.buildParsed(); - } else { - return null; - } + return PARSER.parseDelimitedFrom(input); } public static de.pokerth.protocol.ProtoBuf.GameStartInitialMessage parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - Builder builder = newBuilder(); - if (builder.mergeDelimitedFrom(input, extensionRegistry)) { - return builder.buildParsed(); - } else { - return null; - } + return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.GameStartInitialMessage parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return newBuilder().mergeFrom(input).buildParsed(); + return PARSER.parseFrom(input); } public static de.pokerth.protocol.ProtoBuf.GameStartInitialMessage parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return newBuilder().mergeFrom(input, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(input, extensionRegistry); } - + public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.GameStartInitialMessage prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } - + + /** + * Protobuf type {@code GameStartInitialMessage} + */ public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.GameStartInitialMessage, Builder> @@ -20600,32 +26118,32 @@ public final class ProtoBuf { private Builder() { maybeForceBuilderInitialization(); } - + private void maybeForceBuilderInitialization() { } private static Builder create() { return new Builder(); } - + public Builder clear() { super.clear(); gameId_ = 0; bitField0_ = (bitField0_ & ~0x00000001); startDealerPlayerId_ = 0; bitField0_ = (bitField0_ & ~0x00000002); - playerSeats_ = java.util.Collections.emptyList();; + playerSeats_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000004); return this; } - + public Builder clone() { return create().mergeFrom(buildPartial()); } - + public de.pokerth.protocol.ProtoBuf.GameStartInitialMessage getDefaultInstanceForType() { return de.pokerth.protocol.ProtoBuf.GameStartInitialMessage.getDefaultInstance(); } - + public de.pokerth.protocol.ProtoBuf.GameStartInitialMessage build() { de.pokerth.protocol.ProtoBuf.GameStartInitialMessage result = buildPartial(); if (!result.isInitialized()) { @@ -20633,17 +26151,7 @@ public final class ProtoBuf { } return result; } - - private de.pokerth.protocol.ProtoBuf.GameStartInitialMessage buildParsed() - throws com.google.protobuf.InvalidProtocolBufferException { - de.pokerth.protocol.ProtoBuf.GameStartInitialMessage result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException( - result).asInvalidProtocolBufferException(); - } - return result; - } - + public de.pokerth.protocol.ProtoBuf.GameStartInitialMessage buildPartial() { de.pokerth.protocol.ProtoBuf.GameStartInitialMessage result = new de.pokerth.protocol.ProtoBuf.GameStartInitialMessage(this); int from_bitField0_ = bitField0_; @@ -20664,7 +26172,7 @@ public final class ProtoBuf { result.bitField0_ = to_bitField0_; return result; } - + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.GameStartInitialMessage other) { if (other == de.pokerth.protocol.ProtoBuf.GameStartInitialMessage.getDefaultInstance()) return this; if (other.hasGameId()) { @@ -20685,7 +26193,7 @@ public final class ProtoBuf { } return this; } - + public final boolean isInitialized() { if (!hasGameId()) { @@ -20697,21 +26205,257 @@ public final class ProtoBuf { } return true; } - + public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - while (true) { + de.pokerth.protocol.ProtoBuf.GameStartInitialMessage parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (de.pokerth.protocol.ProtoBuf.GameStartInitialMessage) e.getUnfinishedMessage(); + throw e; + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int bitField0_; + + // required uint32 gameId = 1; + private int gameId_ ; + /** + * required uint32 gameId = 1; + */ + public boolean hasGameId() { + return ((bitField0_ & 0x00000001) == 0x00000001); + } + /** + * required uint32 gameId = 1; + */ + public int getGameId() { + return gameId_; + } + /** + * required uint32 gameId = 1; + */ + public Builder setGameId(int value) { + bitField0_ |= 0x00000001; + gameId_ = value; + + return this; + } + /** + * required uint32 gameId = 1; + */ + public Builder clearGameId() { + bitField0_ = (bitField0_ & ~0x00000001); + gameId_ = 0; + + return this; + } + + // required uint32 startDealerPlayerId = 2; + private int startDealerPlayerId_ ; + /** + * required uint32 startDealerPlayerId = 2; + */ + public boolean hasStartDealerPlayerId() { + return ((bitField0_ & 0x00000002) == 0x00000002); + } + /** + * required uint32 startDealerPlayerId = 2; + */ + public int getStartDealerPlayerId() { + return startDealerPlayerId_; + } + /** + * required uint32 startDealerPlayerId = 2; + */ + public Builder setStartDealerPlayerId(int value) { + bitField0_ |= 0x00000002; + startDealerPlayerId_ = value; + + return this; + } + /** + * required uint32 startDealerPlayerId = 2; + */ + public Builder clearStartDealerPlayerId() { + bitField0_ = (bitField0_ & ~0x00000002); + startDealerPlayerId_ = 0; + + return this; + } + + // repeated uint32 playerSeats = 3 [packed = true]; + private java.util.List playerSeats_ = java.util.Collections.emptyList(); + private void ensurePlayerSeatsIsMutable() { + if (!((bitField0_ & 0x00000004) == 0x00000004)) { + playerSeats_ = new java.util.ArrayList(playerSeats_); + bitField0_ |= 0x00000004; + } + } + /** + * repeated uint32 playerSeats = 3 [packed = true]; + */ + public java.util.List + getPlayerSeatsList() { + return java.util.Collections.unmodifiableList(playerSeats_); + } + /** + * repeated uint32 playerSeats = 3 [packed = true]; + */ + public int getPlayerSeatsCount() { + return playerSeats_.size(); + } + /** + * repeated uint32 playerSeats = 3 [packed = true]; + */ + public int getPlayerSeats(int index) { + return playerSeats_.get(index); + } + /** + * repeated uint32 playerSeats = 3 [packed = true]; + */ + public Builder setPlayerSeats( + int index, int value) { + ensurePlayerSeatsIsMutable(); + playerSeats_.set(index, value); + + return this; + } + /** + * repeated uint32 playerSeats = 3 [packed = true]; + */ + public Builder addPlayerSeats(int value) { + ensurePlayerSeatsIsMutable(); + playerSeats_.add(value); + + return this; + } + /** + * repeated uint32 playerSeats = 3 [packed = true]; + */ + public Builder addAllPlayerSeats( + java.lang.Iterable values) { + ensurePlayerSeatsIsMutable(); + super.addAll(values, playerSeats_); + + return this; + } + /** + * repeated uint32 playerSeats = 3 [packed = true]; + */ + public Builder clearPlayerSeats() { + playerSeats_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004); + + return this; + } + + // @@protoc_insertion_point(builder_scope:GameStartInitialMessage) + } + + static { + defaultInstance = new GameStartInitialMessage(true); + defaultInstance.initFields(); + } + + // @@protoc_insertion_point(class_scope:GameStartInitialMessage) + } + + public interface GameStartRejoinMessageOrBuilder + extends com.google.protobuf.MessageLiteOrBuilder { + + // required uint32 gameId = 1; + /** + * required uint32 gameId = 1; + */ + boolean hasGameId(); + /** + * required uint32 gameId = 1; + */ + int getGameId(); + + // required uint32 startDealerPlayerId = 2; + /** + * required uint32 startDealerPlayerId = 2; + */ + boolean hasStartDealerPlayerId(); + /** + * required uint32 startDealerPlayerId = 2; + */ + int getStartDealerPlayerId(); + + // required uint32 handNum = 3; + /** + * required uint32 handNum = 3; + */ + boolean hasHandNum(); + /** + * required uint32 handNum = 3; + */ + int getHandNum(); + + // repeated .GameStartRejoinMessage.RejoinPlayerData rejoinPlayerData = 4; + /** + * repeated .GameStartRejoinMessage.RejoinPlayerData rejoinPlayerData = 4; + */ + java.util.List + getRejoinPlayerDataList(); + /** + * repeated .GameStartRejoinMessage.RejoinPlayerData rejoinPlayerData = 4; + */ + de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.RejoinPlayerData getRejoinPlayerData(int index); + /** + * repeated .GameStartRejoinMessage.RejoinPlayerData rejoinPlayerData = 4; + */ + int getRejoinPlayerDataCount(); + } + /** + * Protobuf type {@code GameStartRejoinMessage} + */ + public static final class GameStartRejoinMessage extends + com.google.protobuf.GeneratedMessageLite + implements GameStartRejoinMessageOrBuilder { + // Use GameStartRejoinMessage.newBuilder() to construct. + private GameStartRejoinMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { + super(builder); + + } + private GameStartRejoinMessage(boolean noInit) {} + + private static final GameStartRejoinMessage defaultInstance; + public static GameStartRejoinMessage getDefaultInstance() { + return defaultInstance; + } + + public GameStartRejoinMessage getDefaultInstanceForType() { + return defaultInstance; + } + + private GameStartRejoinMessage( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + initFields(); + int mutable_bitField0_ = 0; + try { + boolean done = false; + while (!done) { int tag = input.readTag(); switch (tag) { case 0: - - return this; + done = true; + break; default: { - if (!parseUnknownField(input, extensionRegistry, tag)) { - - return this; + if (!parseUnknownField(input, + extensionRegistry, tag)) { + done = true; } break; } @@ -20726,446 +26470,110 @@ public final class ProtoBuf { break; } case 24: { - ensurePlayerSeatsIsMutable(); - playerSeats_.add(input.readUInt32()); + bitField0_ |= 0x00000004; + handNum_ = input.readUInt32(); break; } - case 26: { - int length = input.readRawVarint32(); - int limit = input.pushLimit(length); - while (input.getBytesUntilLimit() > 0) { - addPlayerSeats(input.readUInt32()); + case 34: { + if (!((mutable_bitField0_ & 0x00000008) == 0x00000008)) { + rejoinPlayerData_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000008; } - input.popLimit(limit); + rejoinPlayerData_.add(input.readMessage(de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.RejoinPlayerData.PARSER, extensionRegistry)); break; } } } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e.getMessage()).setUnfinishedMessage(this); + } finally { + if (((mutable_bitField0_ & 0x00000008) == 0x00000008)) { + rejoinPlayerData_ = java.util.Collections.unmodifiableList(rejoinPlayerData_); + } + makeExtensionsImmutable(); } - - private int bitField0_; - - // required uint32 gameId = 1; - private int gameId_ ; - public boolean hasGameId() { - return ((bitField0_ & 0x00000001) == 0x00000001); - } - public int getGameId() { - return gameId_; - } - public Builder setGameId(int value) { - bitField0_ |= 0x00000001; - gameId_ = value; - - return this; - } - public Builder clearGameId() { - bitField0_ = (bitField0_ & ~0x00000001); - gameId_ = 0; - - return this; - } - - // required uint32 startDealerPlayerId = 2; - private int startDealerPlayerId_ ; - public boolean hasStartDealerPlayerId() { - return ((bitField0_ & 0x00000002) == 0x00000002); - } - public int getStartDealerPlayerId() { - return startDealerPlayerId_; - } - public Builder setStartDealerPlayerId(int value) { - bitField0_ |= 0x00000002; - startDealerPlayerId_ = value; - - return this; - } - public Builder clearStartDealerPlayerId() { - bitField0_ = (bitField0_ & ~0x00000002); - startDealerPlayerId_ = 0; - - return this; - } - - // repeated uint32 playerSeats = 3 [packed = true]; - private java.util.List playerSeats_ = java.util.Collections.emptyList();; - private void ensurePlayerSeatsIsMutable() { - if (!((bitField0_ & 0x00000004) == 0x00000004)) { - playerSeats_ = new java.util.ArrayList(playerSeats_); - bitField0_ |= 0x00000004; - } - } - public java.util.List - getPlayerSeatsList() { - return java.util.Collections.unmodifiableList(playerSeats_); - } - public int getPlayerSeatsCount() { - return playerSeats_.size(); - } - public int getPlayerSeats(int index) { - return playerSeats_.get(index); - } - public Builder setPlayerSeats( - int index, int value) { - ensurePlayerSeatsIsMutable(); - playerSeats_.set(index, value); - - return this; - } - public Builder addPlayerSeats(int value) { - ensurePlayerSeatsIsMutable(); - playerSeats_.add(value); - - return this; - } - public Builder addAllPlayerSeats( - java.lang.Iterable values) { - ensurePlayerSeatsIsMutable(); - super.addAll(values, playerSeats_); - - return this; - } - public Builder clearPlayerSeats() { - playerSeats_ = java.util.Collections.emptyList();; - bitField0_ = (bitField0_ & ~0x00000004); - - return this; - } - - // @@protoc_insertion_point(builder_scope:GameStartInitialMessage) } - - static { - defaultInstance = new GameStartInitialMessage(true); - defaultInstance.initFields(); + public static com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + public GameStartRejoinMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GameStartRejoinMessage(input, extensionRegistry); + } + }; + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; } - - // @@protoc_insertion_point(class_scope:GameStartInitialMessage) - } - - public interface GameStartRejoinMessageOrBuilder - extends com.google.protobuf.MessageLiteOrBuilder { - - // required uint32 gameId = 1; - boolean hasGameId(); - int getGameId(); - - // required uint32 startDealerPlayerId = 2; - boolean hasStartDealerPlayerId(); - int getStartDealerPlayerId(); - - // required uint32 handNum = 3; - boolean hasHandNum(); - int getHandNum(); - - // repeated .GameStartRejoinMessage.RejoinPlayerData rejoinPlayerData = 4; - java.util.List - getRejoinPlayerDataList(); - de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.RejoinPlayerData getRejoinPlayerData(int index); - int getRejoinPlayerDataCount(); - } - public static final class GameStartRejoinMessage extends - com.google.protobuf.GeneratedMessageLite - implements GameStartRejoinMessageOrBuilder { - // Use GameStartRejoinMessage.newBuilder() to construct. - private GameStartRejoinMessage(Builder builder) { - super(builder); - } - private GameStartRejoinMessage(boolean noInit) {} - - private static final GameStartRejoinMessage defaultInstance; - public static GameStartRejoinMessage getDefaultInstance() { - return defaultInstance; - } - - public GameStartRejoinMessage getDefaultInstanceForType() { - return defaultInstance; - } - + public interface RejoinPlayerDataOrBuilder extends com.google.protobuf.MessageLiteOrBuilder { - + // required uint32 playerId = 1; + /** + * required uint32 playerId = 1; + */ boolean hasPlayerId(); + /** + * required uint32 playerId = 1; + */ int getPlayerId(); - + // required uint32 playerMoney = 2; + /** + * required uint32 playerMoney = 2; + */ boolean hasPlayerMoney(); + /** + * required uint32 playerMoney = 2; + */ int getPlayerMoney(); } + /** + * Protobuf type {@code GameStartRejoinMessage.RejoinPlayerData} + */ public static final class RejoinPlayerData extends com.google.protobuf.GeneratedMessageLite implements RejoinPlayerDataOrBuilder { // Use RejoinPlayerData.newBuilder() to construct. - private RejoinPlayerData(Builder builder) { + private RejoinPlayerData(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); + } private RejoinPlayerData(boolean noInit) {} - + private static final RejoinPlayerData defaultInstance; public static RejoinPlayerData getDefaultInstance() { return defaultInstance; } - + public RejoinPlayerData getDefaultInstanceForType() { return defaultInstance; } - - private int bitField0_; - // required uint32 playerId = 1; - public static final int PLAYERID_FIELD_NUMBER = 1; - private int playerId_; - public boolean hasPlayerId() { - return ((bitField0_ & 0x00000001) == 0x00000001); - } - public int getPlayerId() { - return playerId_; - } - - // required uint32 playerMoney = 2; - public static final int PLAYERMONEY_FIELD_NUMBER = 2; - private int playerMoney_; - public boolean hasPlayerMoney() { - return ((bitField0_ & 0x00000002) == 0x00000002); - } - public int getPlayerMoney() { - return playerMoney_; - } - - private void initFields() { - playerId_ = 0; - playerMoney_ = 0; - } - private byte memoizedIsInitialized = -1; - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; - - if (!hasPlayerId()) { - memoizedIsInitialized = 0; - return false; - } - if (!hasPlayerMoney()) { - memoizedIsInitialized = 0; - return false; - } - memoizedIsInitialized = 1; - return true; - } - - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - getSerializedSize(); - if (((bitField0_ & 0x00000001) == 0x00000001)) { - output.writeUInt32(1, playerId_); - } - if (((bitField0_ & 0x00000002) == 0x00000002)) { - output.writeUInt32(2, playerMoney_); - } - } - - private int memoizedSerializedSize = -1; - public int getSerializedSize() { - int size = memoizedSerializedSize; - if (size != -1) return size; - - size = 0; - if (((bitField0_ & 0x00000001) == 0x00000001)) { - size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(1, playerId_); - } - if (((bitField0_ & 0x00000002) == 0x00000002)) { - size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(2, playerMoney_); - } - memoizedSerializedSize = size; - return size; - } - - private static final long serialVersionUID = 0L; - @java.lang.Override - protected java.lang.Object writeReplace() - throws java.io.ObjectStreamException { - return super.writeReplace(); - } - - public static de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.RejoinPlayerData parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data).buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.RejoinPlayerData parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data, extensionRegistry) - .buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.RejoinPlayerData parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data).buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.RejoinPlayerData parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data, extensionRegistry) - .buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.RejoinPlayerData parseFrom(java.io.InputStream input) - throws java.io.IOException { - return newBuilder().mergeFrom(input).buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.RejoinPlayerData parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return newBuilder().mergeFrom(input, extensionRegistry) - .buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.RejoinPlayerData parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - Builder builder = newBuilder(); - if (builder.mergeDelimitedFrom(input)) { - return builder.buildParsed(); - } else { - return null; - } - } - public static de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.RejoinPlayerData parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - Builder builder = newBuilder(); - if (builder.mergeDelimitedFrom(input, extensionRegistry)) { - return builder.buildParsed(); - } else { - return null; - } - } - public static de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.RejoinPlayerData parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return newBuilder().mergeFrom(input).buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.RejoinPlayerData parseFrom( + + private RejoinPlayerData( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return newBuilder().mergeFrom(input, extensionRegistry) - .buildParsed(); - } - - public static Builder newBuilder() { return Builder.create(); } - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.RejoinPlayerData prototype) { - return newBuilder().mergeFrom(prototype); - } - public Builder toBuilder() { return newBuilder(this); } - - public static final class Builder extends - com.google.protobuf.GeneratedMessageLite.Builder< - de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.RejoinPlayerData, Builder> - implements de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.RejoinPlayerDataOrBuilder { - // Construct using de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.RejoinPlayerData.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - } - private static Builder create() { - return new Builder(); - } - - public Builder clear() { - super.clear(); - playerId_ = 0; - bitField0_ = (bitField0_ & ~0x00000001); - playerMoney_ = 0; - bitField0_ = (bitField0_ & ~0x00000002); - return this; - } - - public Builder clone() { - return create().mergeFrom(buildPartial()); - } - - public de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.RejoinPlayerData getDefaultInstanceForType() { - return de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.RejoinPlayerData.getDefaultInstance(); - } - - public de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.RejoinPlayerData build() { - de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.RejoinPlayerData result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - private de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.RejoinPlayerData buildParsed() - throws com.google.protobuf.InvalidProtocolBufferException { - de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.RejoinPlayerData result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException( - result).asInvalidProtocolBufferException(); - } - return result; - } - - public de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.RejoinPlayerData buildPartial() { - de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.RejoinPlayerData result = new de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.RejoinPlayerData(this); - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) == 0x00000001)) { - to_bitField0_ |= 0x00000001; - } - result.playerId_ = playerId_; - if (((from_bitField0_ & 0x00000002) == 0x00000002)) { - to_bitField0_ |= 0x00000002; - } - result.playerMoney_ = playerMoney_; - result.bitField0_ = to_bitField0_; - return result; - } - - public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.RejoinPlayerData other) { - if (other == de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.RejoinPlayerData.getDefaultInstance()) return this; - if (other.hasPlayerId()) { - setPlayerId(other.getPlayerId()); - } - if (other.hasPlayerMoney()) { - setPlayerMoney(other.getPlayerMoney()); - } - return this; - } - - public final boolean isInitialized() { - if (!hasPlayerId()) { - - return false; - } - if (!hasPlayerMoney()) { - - return false; - } - return true; - } - - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - while (true) { + throws com.google.protobuf.InvalidProtocolBufferException { + initFields(); + int mutable_bitField0_ = 0; + try { + boolean done = false; + while (!done) { int tag = input.readTag(); switch (tag) { case 0: - - return this; + done = true; + break; default: { - if (!parseUnknownField(input, extensionRegistry, tag)) { - - return this; + if (!parseUnknownField(input, + extensionRegistry, tag)) { + done = true; } break; } @@ -21181,115 +26589,443 @@ public final class ProtoBuf { } } } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e.getMessage()).setUnfinishedMessage(this); + } finally { + makeExtensionsImmutable(); + } + } + public static com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + public RejoinPlayerData parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RejoinPlayerData(input, extensionRegistry); + } + }; + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + private int bitField0_; + // required uint32 playerId = 1; + public static final int PLAYERID_FIELD_NUMBER = 1; + private int playerId_; + /** + * required uint32 playerId = 1; + */ + public boolean hasPlayerId() { + return ((bitField0_ & 0x00000001) == 0x00000001); + } + /** + * required uint32 playerId = 1; + */ + public int getPlayerId() { + return playerId_; + } + + // required uint32 playerMoney = 2; + public static final int PLAYERMONEY_FIELD_NUMBER = 2; + private int playerMoney_; + /** + * required uint32 playerMoney = 2; + */ + public boolean hasPlayerMoney() { + return ((bitField0_ & 0x00000002) == 0x00000002); + } + /** + * required uint32 playerMoney = 2; + */ + public int getPlayerMoney() { + return playerMoney_; + } + + private void initFields() { + playerId_ = 0; + playerMoney_ = 0; + } + private byte memoizedIsInitialized = -1; + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized != -1) return isInitialized == 1; + + if (!hasPlayerId()) { + memoizedIsInitialized = 0; + return false; + } + if (!hasPlayerMoney()) { + memoizedIsInitialized = 0; + return false; + } + memoizedIsInitialized = 1; + return true; + } + + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + getSerializedSize(); + if (((bitField0_ & 0x00000001) == 0x00000001)) { + output.writeUInt32(1, playerId_); + } + if (((bitField0_ & 0x00000002) == 0x00000002)) { + output.writeUInt32(2, playerMoney_); + } + } + + private int memoizedSerializedSize = -1; + public int getSerializedSize() { + int size = memoizedSerializedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) == 0x00000001)) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(1, playerId_); + } + if (((bitField0_ & 0x00000002) == 0x00000002)) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(2, playerMoney_); + } + memoizedSerializedSize = size; + return size; + } + + private static final long serialVersionUID = 0L; + @java.lang.Override + protected java.lang.Object writeReplace() + throws java.io.ObjectStreamException { + return super.writeReplace(); + } + + public static de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.RejoinPlayerData parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.RejoinPlayerData parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.RejoinPlayerData parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.RejoinPlayerData parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.RejoinPlayerData parseFrom(java.io.InputStream input) + throws java.io.IOException { + return PARSER.parseFrom(input); + } + public static de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.RejoinPlayerData parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseFrom(input, extensionRegistry); + } + public static de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.RejoinPlayerData parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return PARSER.parseDelimitedFrom(input); + } + public static de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.RejoinPlayerData parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseDelimitedFrom(input, extensionRegistry); + } + public static de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.RejoinPlayerData parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return PARSER.parseFrom(input); + } + public static de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.RejoinPlayerData parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseFrom(input, extensionRegistry); + } + + public static Builder newBuilder() { return Builder.create(); } + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.RejoinPlayerData prototype) { + return newBuilder().mergeFrom(prototype); + } + public Builder toBuilder() { return newBuilder(this); } + + /** + * Protobuf type {@code GameStartRejoinMessage.RejoinPlayerData} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageLite.Builder< + de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.RejoinPlayerData, Builder> + implements de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.RejoinPlayerDataOrBuilder { + // Construct using de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.RejoinPlayerData.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + } + private static Builder create() { + return new Builder(); + } + + public Builder clear() { + super.clear(); + playerId_ = 0; + bitField0_ = (bitField0_ & ~0x00000001); + playerMoney_ = 0; + bitField0_ = (bitField0_ & ~0x00000002); + return this; + } + + public Builder clone() { + return create().mergeFrom(buildPartial()); + } + + public de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.RejoinPlayerData getDefaultInstanceForType() { + return de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.RejoinPlayerData.getDefaultInstance(); + } + + public de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.RejoinPlayerData build() { + de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.RejoinPlayerData result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + public de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.RejoinPlayerData buildPartial() { + de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.RejoinPlayerData result = new de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.RejoinPlayerData(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) == 0x00000001)) { + to_bitField0_ |= 0x00000001; + } + result.playerId_ = playerId_; + if (((from_bitField0_ & 0x00000002) == 0x00000002)) { + to_bitField0_ |= 0x00000002; + } + result.playerMoney_ = playerMoney_; + result.bitField0_ = to_bitField0_; + return result; + } + + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.RejoinPlayerData other) { + if (other == de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.RejoinPlayerData.getDefaultInstance()) return this; + if (other.hasPlayerId()) { + setPlayerId(other.getPlayerId()); + } + if (other.hasPlayerMoney()) { + setPlayerMoney(other.getPlayerMoney()); + } + return this; + } + + public final boolean isInitialized() { + if (!hasPlayerId()) { + + return false; + } + if (!hasPlayerMoney()) { + + return false; + } + return true; + } + + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.RejoinPlayerData parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.RejoinPlayerData) e.getUnfinishedMessage(); + throw e; + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; } - private int bitField0_; - + // required uint32 playerId = 1; private int playerId_ ; + /** + * required uint32 playerId = 1; + */ public boolean hasPlayerId() { return ((bitField0_ & 0x00000001) == 0x00000001); } + /** + * required uint32 playerId = 1; + */ public int getPlayerId() { return playerId_; } + /** + * required uint32 playerId = 1; + */ public Builder setPlayerId(int value) { bitField0_ |= 0x00000001; playerId_ = value; return this; } + /** + * required uint32 playerId = 1; + */ public Builder clearPlayerId() { bitField0_ = (bitField0_ & ~0x00000001); playerId_ = 0; return this; } - + // required uint32 playerMoney = 2; private int playerMoney_ ; + /** + * required uint32 playerMoney = 2; + */ public boolean hasPlayerMoney() { return ((bitField0_ & 0x00000002) == 0x00000002); } + /** + * required uint32 playerMoney = 2; + */ public int getPlayerMoney() { return playerMoney_; } + /** + * required uint32 playerMoney = 2; + */ public Builder setPlayerMoney(int value) { bitField0_ |= 0x00000002; playerMoney_ = value; return this; } + /** + * required uint32 playerMoney = 2; + */ public Builder clearPlayerMoney() { bitField0_ = (bitField0_ & ~0x00000002); playerMoney_ = 0; return this; } - + // @@protoc_insertion_point(builder_scope:GameStartRejoinMessage.RejoinPlayerData) } - + static { defaultInstance = new RejoinPlayerData(true); defaultInstance.initFields(); } - + // @@protoc_insertion_point(class_scope:GameStartRejoinMessage.RejoinPlayerData) } - + private int bitField0_; // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; + /** + * required uint32 gameId = 1; + */ public boolean hasGameId() { return ((bitField0_ & 0x00000001) == 0x00000001); } + /** + * required uint32 gameId = 1; + */ public int getGameId() { return gameId_; } - + // required uint32 startDealerPlayerId = 2; public static final int STARTDEALERPLAYERID_FIELD_NUMBER = 2; private int startDealerPlayerId_; + /** + * required uint32 startDealerPlayerId = 2; + */ public boolean hasStartDealerPlayerId() { return ((bitField0_ & 0x00000002) == 0x00000002); } + /** + * required uint32 startDealerPlayerId = 2; + */ public int getStartDealerPlayerId() { return startDealerPlayerId_; } - + // required uint32 handNum = 3; public static final int HANDNUM_FIELD_NUMBER = 3; private int handNum_; + /** + * required uint32 handNum = 3; + */ public boolean hasHandNum() { return ((bitField0_ & 0x00000004) == 0x00000004); } + /** + * required uint32 handNum = 3; + */ public int getHandNum() { return handNum_; } - + // repeated .GameStartRejoinMessage.RejoinPlayerData rejoinPlayerData = 4; public static final int REJOINPLAYERDATA_FIELD_NUMBER = 4; private java.util.List rejoinPlayerData_; + /** + * repeated .GameStartRejoinMessage.RejoinPlayerData rejoinPlayerData = 4; + */ public java.util.List getRejoinPlayerDataList() { return rejoinPlayerData_; } + /** + * repeated .GameStartRejoinMessage.RejoinPlayerData rejoinPlayerData = 4; + */ public java.util.List getRejoinPlayerDataOrBuilderList() { return rejoinPlayerData_; } + /** + * repeated .GameStartRejoinMessage.RejoinPlayerData rejoinPlayerData = 4; + */ public int getRejoinPlayerDataCount() { return rejoinPlayerData_.size(); } + /** + * repeated .GameStartRejoinMessage.RejoinPlayerData rejoinPlayerData = 4; + */ public de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.RejoinPlayerData getRejoinPlayerData(int index) { return rejoinPlayerData_.get(index); } + /** + * repeated .GameStartRejoinMessage.RejoinPlayerData rejoinPlayerData = 4; + */ public de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.RejoinPlayerDataOrBuilder getRejoinPlayerDataOrBuilder( int index) { return rejoinPlayerData_.get(index); } - + private void initFields() { gameId_ = 0; startDealerPlayerId_ = 0; @@ -21300,7 +27036,7 @@ public final class ProtoBuf { public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; - + if (!hasGameId()) { memoizedIsInitialized = 0; return false; @@ -21322,7 +27058,7 @@ public final class ProtoBuf { memoizedIsInitialized = 1; return true; } - + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); @@ -21339,12 +27075,12 @@ public final class ProtoBuf { output.writeMessage(4, rejoinPlayerData_.get(i)); } } - + private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; - + size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream @@ -21365,88 +27101,77 @@ public final class ProtoBuf { memoizedSerializedSize = size; return size; } - + private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } - + public static de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data).buildParsed(); + return PARSER.parseFrom(data); } public static de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(data, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data).buildParsed(); + return PARSER.parseFrom(data); } public static de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(data, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage parseFrom(java.io.InputStream input) throws java.io.IOException { - return newBuilder().mergeFrom(input).buildParsed(); + return PARSER.parseFrom(input); } public static de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return newBuilder().mergeFrom(input, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - Builder builder = newBuilder(); - if (builder.mergeDelimitedFrom(input)) { - return builder.buildParsed(); - } else { - return null; - } + return PARSER.parseDelimitedFrom(input); } public static de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - Builder builder = newBuilder(); - if (builder.mergeDelimitedFrom(input, extensionRegistry)) { - return builder.buildParsed(); - } else { - return null; - } + return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return newBuilder().mergeFrom(input).buildParsed(); + return PARSER.parseFrom(input); } public static de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return newBuilder().mergeFrom(input, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(input, extensionRegistry); } - + public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } - + + /** + * Protobuf type {@code GameStartRejoinMessage} + */ public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage, Builder> @@ -21455,13 +27180,13 @@ public final class ProtoBuf { private Builder() { maybeForceBuilderInitialization(); } - + private void maybeForceBuilderInitialization() { } private static Builder create() { return new Builder(); } - + public Builder clear() { super.clear(); gameId_ = 0; @@ -21474,15 +27199,15 @@ public final class ProtoBuf { bitField0_ = (bitField0_ & ~0x00000008); return this; } - + public Builder clone() { return create().mergeFrom(buildPartial()); } - + public de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage getDefaultInstanceForType() { return de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.getDefaultInstance(); } - + public de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage build() { de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage result = buildPartial(); if (!result.isInitialized()) { @@ -21490,17 +27215,7 @@ public final class ProtoBuf { } return result; } - - private de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage buildParsed() - throws com.google.protobuf.InvalidProtocolBufferException { - de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException( - result).asInvalidProtocolBufferException(); - } - return result; - } - + public de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage buildPartial() { de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage result = new de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage(this); int from_bitField0_ = bitField0_; @@ -21525,7 +27240,7 @@ public final class ProtoBuf { result.bitField0_ = to_bitField0_; return result; } - + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage other) { if (other == de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.getDefaultInstance()) return this; if (other.hasGameId()) { @@ -21549,7 +27264,7 @@ public final class ProtoBuf { } return this; } - + public final boolean isInitialized() { if (!hasGameId()) { @@ -21571,114 +27286,125 @@ public final class ProtoBuf { } return true; } - + public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - while (true) { - int tag = input.readTag(); - switch (tag) { - case 0: - - return this; - default: { - if (!parseUnknownField(input, extensionRegistry, tag)) { - - return this; - } - break; - } - case 8: { - bitField0_ |= 0x00000001; - gameId_ = input.readUInt32(); - break; - } - case 16: { - bitField0_ |= 0x00000002; - startDealerPlayerId_ = input.readUInt32(); - break; - } - case 24: { - bitField0_ |= 0x00000004; - handNum_ = input.readUInt32(); - break; - } - case 34: { - de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.RejoinPlayerData.Builder subBuilder = de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.RejoinPlayerData.newBuilder(); - input.readMessage(subBuilder, extensionRegistry); - addRejoinPlayerData(subBuilder.buildPartial()); - break; - } + de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage) e.getUnfinishedMessage(); + throw e; + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); } } + return this; } - private int bitField0_; - + // required uint32 gameId = 1; private int gameId_ ; + /** + * required uint32 gameId = 1; + */ public boolean hasGameId() { return ((bitField0_ & 0x00000001) == 0x00000001); } + /** + * required uint32 gameId = 1; + */ public int getGameId() { return gameId_; } + /** + * required uint32 gameId = 1; + */ public Builder setGameId(int value) { bitField0_ |= 0x00000001; gameId_ = value; return this; } + /** + * required uint32 gameId = 1; + */ public Builder clearGameId() { bitField0_ = (bitField0_ & ~0x00000001); gameId_ = 0; return this; } - + // required uint32 startDealerPlayerId = 2; private int startDealerPlayerId_ ; + /** + * required uint32 startDealerPlayerId = 2; + */ public boolean hasStartDealerPlayerId() { return ((bitField0_ & 0x00000002) == 0x00000002); } + /** + * required uint32 startDealerPlayerId = 2; + */ public int getStartDealerPlayerId() { return startDealerPlayerId_; } + /** + * required uint32 startDealerPlayerId = 2; + */ public Builder setStartDealerPlayerId(int value) { bitField0_ |= 0x00000002; startDealerPlayerId_ = value; return this; } + /** + * required uint32 startDealerPlayerId = 2; + */ public Builder clearStartDealerPlayerId() { bitField0_ = (bitField0_ & ~0x00000002); startDealerPlayerId_ = 0; return this; } - + // required uint32 handNum = 3; private int handNum_ ; + /** + * required uint32 handNum = 3; + */ public boolean hasHandNum() { return ((bitField0_ & 0x00000004) == 0x00000004); } + /** + * required uint32 handNum = 3; + */ public int getHandNum() { return handNum_; } + /** + * required uint32 handNum = 3; + */ public Builder setHandNum(int value) { bitField0_ |= 0x00000004; handNum_ = value; return this; } + /** + * required uint32 handNum = 3; + */ public Builder clearHandNum() { bitField0_ = (bitField0_ & ~0x00000004); handNum_ = 0; return this; } - + // repeated .GameStartRejoinMessage.RejoinPlayerData rejoinPlayerData = 4; private java.util.List rejoinPlayerData_ = java.util.Collections.emptyList(); @@ -21688,16 +27414,28 @@ public final class ProtoBuf { bitField0_ |= 0x00000008; } } - + + /** + * repeated .GameStartRejoinMessage.RejoinPlayerData rejoinPlayerData = 4; + */ public java.util.List getRejoinPlayerDataList() { return java.util.Collections.unmodifiableList(rejoinPlayerData_); } + /** + * repeated .GameStartRejoinMessage.RejoinPlayerData rejoinPlayerData = 4; + */ public int getRejoinPlayerDataCount() { return rejoinPlayerData_.size(); } + /** + * repeated .GameStartRejoinMessage.RejoinPlayerData rejoinPlayerData = 4; + */ public de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.RejoinPlayerData getRejoinPlayerData(int index) { return rejoinPlayerData_.get(index); } + /** + * repeated .GameStartRejoinMessage.RejoinPlayerData rejoinPlayerData = 4; + */ public Builder setRejoinPlayerData( int index, de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.RejoinPlayerData value) { if (value == null) { @@ -21705,25 +27443,34 @@ public final class ProtoBuf { } ensureRejoinPlayerDataIsMutable(); rejoinPlayerData_.set(index, value); - + return this; } + /** + * repeated .GameStartRejoinMessage.RejoinPlayerData rejoinPlayerData = 4; + */ public Builder setRejoinPlayerData( int index, de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.RejoinPlayerData.Builder builderForValue) { ensureRejoinPlayerDataIsMutable(); rejoinPlayerData_.set(index, builderForValue.build()); - + return this; } + /** + * repeated .GameStartRejoinMessage.RejoinPlayerData rejoinPlayerData = 4; + */ public Builder addRejoinPlayerData(de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.RejoinPlayerData value) { if (value == null) { throw new NullPointerException(); } ensureRejoinPlayerDataIsMutable(); rejoinPlayerData_.add(value); - + return this; } + /** + * repeated .GameStartRejoinMessage.RejoinPlayerData rejoinPlayerData = 4; + */ public Builder addRejoinPlayerData( int index, de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.RejoinPlayerData value) { if (value == null) { @@ -21731,380 +27478,318 @@ public final class ProtoBuf { } ensureRejoinPlayerDataIsMutable(); rejoinPlayerData_.add(index, value); - + return this; } + /** + * repeated .GameStartRejoinMessage.RejoinPlayerData rejoinPlayerData = 4; + */ public Builder addRejoinPlayerData( de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.RejoinPlayerData.Builder builderForValue) { ensureRejoinPlayerDataIsMutable(); rejoinPlayerData_.add(builderForValue.build()); - + return this; } + /** + * repeated .GameStartRejoinMessage.RejoinPlayerData rejoinPlayerData = 4; + */ public Builder addRejoinPlayerData( int index, de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.RejoinPlayerData.Builder builderForValue) { ensureRejoinPlayerDataIsMutable(); rejoinPlayerData_.add(index, builderForValue.build()); - + return this; } + /** + * repeated .GameStartRejoinMessage.RejoinPlayerData rejoinPlayerData = 4; + */ public Builder addAllRejoinPlayerData( java.lang.Iterable values) { ensureRejoinPlayerDataIsMutable(); super.addAll(values, rejoinPlayerData_); - + return this; } + /** + * repeated .GameStartRejoinMessage.RejoinPlayerData rejoinPlayerData = 4; + */ public Builder clearRejoinPlayerData() { rejoinPlayerData_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000008); - + return this; } + /** + * repeated .GameStartRejoinMessage.RejoinPlayerData rejoinPlayerData = 4; + */ public Builder removeRejoinPlayerData(int index) { ensureRejoinPlayerDataIsMutable(); rejoinPlayerData_.remove(index); - + return this; } - + // @@protoc_insertion_point(builder_scope:GameStartRejoinMessage) } - + static { defaultInstance = new GameStartRejoinMessage(true); defaultInstance.initFields(); } - + // @@protoc_insertion_point(class_scope:GameStartRejoinMessage) } - + public interface HandStartMessageOrBuilder extends com.google.protobuf.MessageLiteOrBuilder { - + // required uint32 gameId = 1; + /** + * required uint32 gameId = 1; + */ boolean hasGameId(); + /** + * required uint32 gameId = 1; + */ int getGameId(); - + // optional .HandStartMessage.PlainCards plainCards = 2; + /** + * optional .HandStartMessage.PlainCards plainCards = 2; + */ boolean hasPlainCards(); + /** + * optional .HandStartMessage.PlainCards plainCards = 2; + */ de.pokerth.protocol.ProtoBuf.HandStartMessage.PlainCards getPlainCards(); - + // optional bytes encryptedCards = 3; + /** + * optional bytes encryptedCards = 3; + */ boolean hasEncryptedCards(); + /** + * optional bytes encryptedCards = 3; + */ com.google.protobuf.ByteString getEncryptedCards(); - + // required uint32 smallBlind = 4; + /** + * required uint32 smallBlind = 4; + */ boolean hasSmallBlind(); + /** + * required uint32 smallBlind = 4; + */ int getSmallBlind(); - + // repeated .NetPlayerState seatStates = 5; + /** + * repeated .NetPlayerState seatStates = 5; + */ java.util.List getSeatStatesList(); + /** + * repeated .NetPlayerState seatStates = 5; + */ int getSeatStatesCount(); + /** + * repeated .NetPlayerState seatStates = 5; + */ de.pokerth.protocol.ProtoBuf.NetPlayerState getSeatStates(int index); } + /** + * Protobuf type {@code HandStartMessage} + */ public static final class HandStartMessage extends com.google.protobuf.GeneratedMessageLite implements HandStartMessageOrBuilder { // Use HandStartMessage.newBuilder() to construct. - private HandStartMessage(Builder builder) { + private HandStartMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); + } private HandStartMessage(boolean noInit) {} - + private static final HandStartMessage defaultInstance; public static HandStartMessage getDefaultInstance() { return defaultInstance; } - + public HandStartMessage getDefaultInstanceForType() { return defaultInstance; } - + + private HandStartMessage( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + initFields(); + int mutable_bitField0_ = 0; + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: { + if (!parseUnknownField(input, + extensionRegistry, tag)) { + done = true; + } + break; + } + case 8: { + bitField0_ |= 0x00000001; + gameId_ = input.readUInt32(); + break; + } + case 18: { + de.pokerth.protocol.ProtoBuf.HandStartMessage.PlainCards.Builder subBuilder = null; + if (((bitField0_ & 0x00000002) == 0x00000002)) { + subBuilder = plainCards_.toBuilder(); + } + plainCards_ = input.readMessage(de.pokerth.protocol.ProtoBuf.HandStartMessage.PlainCards.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(plainCards_); + plainCards_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x00000002; + break; + } + case 26: { + bitField0_ |= 0x00000004; + encryptedCards_ = input.readBytes(); + break; + } + case 32: { + bitField0_ |= 0x00000008; + smallBlind_ = input.readUInt32(); + break; + } + case 40: { + int rawValue = input.readEnum(); + de.pokerth.protocol.ProtoBuf.NetPlayerState value = de.pokerth.protocol.ProtoBuf.NetPlayerState.valueOf(rawValue); + if (value != null) { + if (!((mutable_bitField0_ & 0x00000010) == 0x00000010)) { + seatStates_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000010; + } + seatStates_.add(value); + } + break; + } + case 42: { + int length = input.readRawVarint32(); + int oldLimit = input.pushLimit(length); + while(input.getBytesUntilLimit() > 0) { + int rawValue = input.readEnum(); + de.pokerth.protocol.ProtoBuf.NetPlayerState value = de.pokerth.protocol.ProtoBuf.NetPlayerState.valueOf(rawValue); + if (value != null) { + if (!((mutable_bitField0_ & 0x00000010) == 0x00000010)) { + seatStates_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000010; + } + seatStates_.add(value); + } + } + input.popLimit(oldLimit); + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e.getMessage()).setUnfinishedMessage(this); + } finally { + if (((mutable_bitField0_ & 0x00000010) == 0x00000010)) { + seatStates_ = java.util.Collections.unmodifiableList(seatStates_); + } + makeExtensionsImmutable(); + } + } + public static com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + public HandStartMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new HandStartMessage(input, extensionRegistry); + } + }; + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + public interface PlainCardsOrBuilder extends com.google.protobuf.MessageLiteOrBuilder { - + // required uint32 plainCard1 = 1; + /** + * required uint32 plainCard1 = 1; + */ boolean hasPlainCard1(); + /** + * required uint32 plainCard1 = 1; + */ int getPlainCard1(); - + // required uint32 plainCard2 = 2; + /** + * required uint32 plainCard2 = 2; + */ boolean hasPlainCard2(); + /** + * required uint32 plainCard2 = 2; + */ int getPlainCard2(); } + /** + * Protobuf type {@code HandStartMessage.PlainCards} + */ public static final class PlainCards extends com.google.protobuf.GeneratedMessageLite implements PlainCardsOrBuilder { // Use PlainCards.newBuilder() to construct. - private PlainCards(Builder builder) { + private PlainCards(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); + } private PlainCards(boolean noInit) {} - + private static final PlainCards defaultInstance; public static PlainCards getDefaultInstance() { return defaultInstance; } - + public PlainCards getDefaultInstanceForType() { return defaultInstance; } - - private int bitField0_; - // required uint32 plainCard1 = 1; - public static final int PLAINCARD1_FIELD_NUMBER = 1; - private int plainCard1_; - public boolean hasPlainCard1() { - return ((bitField0_ & 0x00000001) == 0x00000001); - } - public int getPlainCard1() { - return plainCard1_; - } - - // required uint32 plainCard2 = 2; - public static final int PLAINCARD2_FIELD_NUMBER = 2; - private int plainCard2_; - public boolean hasPlainCard2() { - return ((bitField0_ & 0x00000002) == 0x00000002); - } - public int getPlainCard2() { - return plainCard2_; - } - - private void initFields() { - plainCard1_ = 0; - plainCard2_ = 0; - } - private byte memoizedIsInitialized = -1; - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; - - if (!hasPlainCard1()) { - memoizedIsInitialized = 0; - return false; - } - if (!hasPlainCard2()) { - memoizedIsInitialized = 0; - return false; - } - memoizedIsInitialized = 1; - return true; - } - - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - getSerializedSize(); - if (((bitField0_ & 0x00000001) == 0x00000001)) { - output.writeUInt32(1, plainCard1_); - } - if (((bitField0_ & 0x00000002) == 0x00000002)) { - output.writeUInt32(2, plainCard2_); - } - } - - private int memoizedSerializedSize = -1; - public int getSerializedSize() { - int size = memoizedSerializedSize; - if (size != -1) return size; - - size = 0; - if (((bitField0_ & 0x00000001) == 0x00000001)) { - size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(1, plainCard1_); - } - if (((bitField0_ & 0x00000002) == 0x00000002)) { - size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(2, plainCard2_); - } - memoizedSerializedSize = size; - return size; - } - - private static final long serialVersionUID = 0L; - @java.lang.Override - protected java.lang.Object writeReplace() - throws java.io.ObjectStreamException { - return super.writeReplace(); - } - - public static de.pokerth.protocol.ProtoBuf.HandStartMessage.PlainCards parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data).buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.HandStartMessage.PlainCards parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data, extensionRegistry) - .buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.HandStartMessage.PlainCards parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data).buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.HandStartMessage.PlainCards parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data, extensionRegistry) - .buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.HandStartMessage.PlainCards parseFrom(java.io.InputStream input) - throws java.io.IOException { - return newBuilder().mergeFrom(input).buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.HandStartMessage.PlainCards parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return newBuilder().mergeFrom(input, extensionRegistry) - .buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.HandStartMessage.PlainCards parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - Builder builder = newBuilder(); - if (builder.mergeDelimitedFrom(input)) { - return builder.buildParsed(); - } else { - return null; - } - } - public static de.pokerth.protocol.ProtoBuf.HandStartMessage.PlainCards parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - Builder builder = newBuilder(); - if (builder.mergeDelimitedFrom(input, extensionRegistry)) { - return builder.buildParsed(); - } else { - return null; - } - } - public static de.pokerth.protocol.ProtoBuf.HandStartMessage.PlainCards parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return newBuilder().mergeFrom(input).buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.HandStartMessage.PlainCards parseFrom( + + private PlainCards( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return newBuilder().mergeFrom(input, extensionRegistry) - .buildParsed(); - } - - public static Builder newBuilder() { return Builder.create(); } - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.HandStartMessage.PlainCards prototype) { - return newBuilder().mergeFrom(prototype); - } - public Builder toBuilder() { return newBuilder(this); } - - public static final class Builder extends - com.google.protobuf.GeneratedMessageLite.Builder< - de.pokerth.protocol.ProtoBuf.HandStartMessage.PlainCards, Builder> - implements de.pokerth.protocol.ProtoBuf.HandStartMessage.PlainCardsOrBuilder { - // Construct using de.pokerth.protocol.ProtoBuf.HandStartMessage.PlainCards.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - } - private static Builder create() { - return new Builder(); - } - - public Builder clear() { - super.clear(); - plainCard1_ = 0; - bitField0_ = (bitField0_ & ~0x00000001); - plainCard2_ = 0; - bitField0_ = (bitField0_ & ~0x00000002); - return this; - } - - public Builder clone() { - return create().mergeFrom(buildPartial()); - } - - public de.pokerth.protocol.ProtoBuf.HandStartMessage.PlainCards getDefaultInstanceForType() { - return de.pokerth.protocol.ProtoBuf.HandStartMessage.PlainCards.getDefaultInstance(); - } - - public de.pokerth.protocol.ProtoBuf.HandStartMessage.PlainCards build() { - de.pokerth.protocol.ProtoBuf.HandStartMessage.PlainCards result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - private de.pokerth.protocol.ProtoBuf.HandStartMessage.PlainCards buildParsed() - throws com.google.protobuf.InvalidProtocolBufferException { - de.pokerth.protocol.ProtoBuf.HandStartMessage.PlainCards result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException( - result).asInvalidProtocolBufferException(); - } - return result; - } - - public de.pokerth.protocol.ProtoBuf.HandStartMessage.PlainCards buildPartial() { - de.pokerth.protocol.ProtoBuf.HandStartMessage.PlainCards result = new de.pokerth.protocol.ProtoBuf.HandStartMessage.PlainCards(this); - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) == 0x00000001)) { - to_bitField0_ |= 0x00000001; - } - result.plainCard1_ = plainCard1_; - if (((from_bitField0_ & 0x00000002) == 0x00000002)) { - to_bitField0_ |= 0x00000002; - } - result.plainCard2_ = plainCard2_; - result.bitField0_ = to_bitField0_; - return result; - } - - public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.HandStartMessage.PlainCards other) { - if (other == de.pokerth.protocol.ProtoBuf.HandStartMessage.PlainCards.getDefaultInstance()) return this; - if (other.hasPlainCard1()) { - setPlainCard1(other.getPlainCard1()); - } - if (other.hasPlainCard2()) { - setPlainCard2(other.getPlainCard2()); - } - return this; - } - - public final boolean isInitialized() { - if (!hasPlainCard1()) { - - return false; - } - if (!hasPlainCard2()) { - - return false; - } - return true; - } - - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - while (true) { + throws com.google.protobuf.InvalidProtocolBufferException { + initFields(); + int mutable_bitField0_ = 0; + try { + boolean done = false; + while (!done) { int tag = input.readTag(); switch (tag) { case 0: - - return this; + done = true; + break; default: { - if (!parseUnknownField(input, extensionRegistry, tag)) { - - return this; + if (!parseUnknownField(input, + extensionRegistry, tag)) { + done = true; } break; } @@ -22120,117 +27805,445 @@ public final class ProtoBuf { } } } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e.getMessage()).setUnfinishedMessage(this); + } finally { + makeExtensionsImmutable(); + } + } + public static com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + public PlainCards parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PlainCards(input, extensionRegistry); + } + }; + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + private int bitField0_; + // required uint32 plainCard1 = 1; + public static final int PLAINCARD1_FIELD_NUMBER = 1; + private int plainCard1_; + /** + * required uint32 plainCard1 = 1; + */ + public boolean hasPlainCard1() { + return ((bitField0_ & 0x00000001) == 0x00000001); + } + /** + * required uint32 plainCard1 = 1; + */ + public int getPlainCard1() { + return plainCard1_; + } + + // required uint32 plainCard2 = 2; + public static final int PLAINCARD2_FIELD_NUMBER = 2; + private int plainCard2_; + /** + * required uint32 plainCard2 = 2; + */ + public boolean hasPlainCard2() { + return ((bitField0_ & 0x00000002) == 0x00000002); + } + /** + * required uint32 plainCard2 = 2; + */ + public int getPlainCard2() { + return plainCard2_; + } + + private void initFields() { + plainCard1_ = 0; + plainCard2_ = 0; + } + private byte memoizedIsInitialized = -1; + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized != -1) return isInitialized == 1; + + if (!hasPlainCard1()) { + memoizedIsInitialized = 0; + return false; + } + if (!hasPlainCard2()) { + memoizedIsInitialized = 0; + return false; + } + memoizedIsInitialized = 1; + return true; + } + + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + getSerializedSize(); + if (((bitField0_ & 0x00000001) == 0x00000001)) { + output.writeUInt32(1, plainCard1_); + } + if (((bitField0_ & 0x00000002) == 0x00000002)) { + output.writeUInt32(2, plainCard2_); + } + } + + private int memoizedSerializedSize = -1; + public int getSerializedSize() { + int size = memoizedSerializedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) == 0x00000001)) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(1, plainCard1_); + } + if (((bitField0_ & 0x00000002) == 0x00000002)) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(2, plainCard2_); + } + memoizedSerializedSize = size; + return size; + } + + private static final long serialVersionUID = 0L; + @java.lang.Override + protected java.lang.Object writeReplace() + throws java.io.ObjectStreamException { + return super.writeReplace(); + } + + public static de.pokerth.protocol.ProtoBuf.HandStartMessage.PlainCards parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static de.pokerth.protocol.ProtoBuf.HandStartMessage.PlainCards parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static de.pokerth.protocol.ProtoBuf.HandStartMessage.PlainCards parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static de.pokerth.protocol.ProtoBuf.HandStartMessage.PlainCards parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static de.pokerth.protocol.ProtoBuf.HandStartMessage.PlainCards parseFrom(java.io.InputStream input) + throws java.io.IOException { + return PARSER.parseFrom(input); + } + public static de.pokerth.protocol.ProtoBuf.HandStartMessage.PlainCards parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseFrom(input, extensionRegistry); + } + public static de.pokerth.protocol.ProtoBuf.HandStartMessage.PlainCards parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return PARSER.parseDelimitedFrom(input); + } + public static de.pokerth.protocol.ProtoBuf.HandStartMessage.PlainCards parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseDelimitedFrom(input, extensionRegistry); + } + public static de.pokerth.protocol.ProtoBuf.HandStartMessage.PlainCards parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return PARSER.parseFrom(input); + } + public static de.pokerth.protocol.ProtoBuf.HandStartMessage.PlainCards parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseFrom(input, extensionRegistry); + } + + public static Builder newBuilder() { return Builder.create(); } + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.HandStartMessage.PlainCards prototype) { + return newBuilder().mergeFrom(prototype); + } + public Builder toBuilder() { return newBuilder(this); } + + /** + * Protobuf type {@code HandStartMessage.PlainCards} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageLite.Builder< + de.pokerth.protocol.ProtoBuf.HandStartMessage.PlainCards, Builder> + implements de.pokerth.protocol.ProtoBuf.HandStartMessage.PlainCardsOrBuilder { + // Construct using de.pokerth.protocol.ProtoBuf.HandStartMessage.PlainCards.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + } + private static Builder create() { + return new Builder(); + } + + public Builder clear() { + super.clear(); + plainCard1_ = 0; + bitField0_ = (bitField0_ & ~0x00000001); + plainCard2_ = 0; + bitField0_ = (bitField0_ & ~0x00000002); + return this; + } + + public Builder clone() { + return create().mergeFrom(buildPartial()); + } + + public de.pokerth.protocol.ProtoBuf.HandStartMessage.PlainCards getDefaultInstanceForType() { + return de.pokerth.protocol.ProtoBuf.HandStartMessage.PlainCards.getDefaultInstance(); + } + + public de.pokerth.protocol.ProtoBuf.HandStartMessage.PlainCards build() { + de.pokerth.protocol.ProtoBuf.HandStartMessage.PlainCards result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + public de.pokerth.protocol.ProtoBuf.HandStartMessage.PlainCards buildPartial() { + de.pokerth.protocol.ProtoBuf.HandStartMessage.PlainCards result = new de.pokerth.protocol.ProtoBuf.HandStartMessage.PlainCards(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) == 0x00000001)) { + to_bitField0_ |= 0x00000001; + } + result.plainCard1_ = plainCard1_; + if (((from_bitField0_ & 0x00000002) == 0x00000002)) { + to_bitField0_ |= 0x00000002; + } + result.plainCard2_ = plainCard2_; + result.bitField0_ = to_bitField0_; + return result; + } + + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.HandStartMessage.PlainCards other) { + if (other == de.pokerth.protocol.ProtoBuf.HandStartMessage.PlainCards.getDefaultInstance()) return this; + if (other.hasPlainCard1()) { + setPlainCard1(other.getPlainCard1()); + } + if (other.hasPlainCard2()) { + setPlainCard2(other.getPlainCard2()); + } + return this; + } + + public final boolean isInitialized() { + if (!hasPlainCard1()) { + + return false; + } + if (!hasPlainCard2()) { + + return false; + } + return true; + } + + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + de.pokerth.protocol.ProtoBuf.HandStartMessage.PlainCards parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (de.pokerth.protocol.ProtoBuf.HandStartMessage.PlainCards) e.getUnfinishedMessage(); + throw e; + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; } - private int bitField0_; - + // required uint32 plainCard1 = 1; private int plainCard1_ ; + /** + * required uint32 plainCard1 = 1; + */ public boolean hasPlainCard1() { return ((bitField0_ & 0x00000001) == 0x00000001); } + /** + * required uint32 plainCard1 = 1; + */ public int getPlainCard1() { return plainCard1_; } + /** + * required uint32 plainCard1 = 1; + */ public Builder setPlainCard1(int value) { bitField0_ |= 0x00000001; plainCard1_ = value; return this; } + /** + * required uint32 plainCard1 = 1; + */ public Builder clearPlainCard1() { bitField0_ = (bitField0_ & ~0x00000001); plainCard1_ = 0; return this; } - + // required uint32 plainCard2 = 2; private int plainCard2_ ; + /** + * required uint32 plainCard2 = 2; + */ public boolean hasPlainCard2() { return ((bitField0_ & 0x00000002) == 0x00000002); } + /** + * required uint32 plainCard2 = 2; + */ public int getPlainCard2() { return plainCard2_; } + /** + * required uint32 plainCard2 = 2; + */ public Builder setPlainCard2(int value) { bitField0_ |= 0x00000002; plainCard2_ = value; return this; } + /** + * required uint32 plainCard2 = 2; + */ public Builder clearPlainCard2() { bitField0_ = (bitField0_ & ~0x00000002); plainCard2_ = 0; return this; } - + // @@protoc_insertion_point(builder_scope:HandStartMessage.PlainCards) } - + static { defaultInstance = new PlainCards(true); defaultInstance.initFields(); } - + // @@protoc_insertion_point(class_scope:HandStartMessage.PlainCards) } - + private int bitField0_; // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; + /** + * required uint32 gameId = 1; + */ public boolean hasGameId() { return ((bitField0_ & 0x00000001) == 0x00000001); } + /** + * required uint32 gameId = 1; + */ public int getGameId() { return gameId_; } - + // optional .HandStartMessage.PlainCards plainCards = 2; public static final int PLAINCARDS_FIELD_NUMBER = 2; private de.pokerth.protocol.ProtoBuf.HandStartMessage.PlainCards plainCards_; + /** + * optional .HandStartMessage.PlainCards plainCards = 2; + */ public boolean hasPlainCards() { return ((bitField0_ & 0x00000002) == 0x00000002); } + /** + * optional .HandStartMessage.PlainCards plainCards = 2; + */ public de.pokerth.protocol.ProtoBuf.HandStartMessage.PlainCards getPlainCards() { return plainCards_; } - + // optional bytes encryptedCards = 3; public static final int ENCRYPTEDCARDS_FIELD_NUMBER = 3; private com.google.protobuf.ByteString encryptedCards_; + /** + * optional bytes encryptedCards = 3; + */ public boolean hasEncryptedCards() { return ((bitField0_ & 0x00000004) == 0x00000004); } + /** + * optional bytes encryptedCards = 3; + */ public com.google.protobuf.ByteString getEncryptedCards() { return encryptedCards_; } - + // required uint32 smallBlind = 4; public static final int SMALLBLIND_FIELD_NUMBER = 4; private int smallBlind_; + /** + * required uint32 smallBlind = 4; + */ public boolean hasSmallBlind() { return ((bitField0_ & 0x00000008) == 0x00000008); } + /** + * required uint32 smallBlind = 4; + */ public int getSmallBlind() { return smallBlind_; } - + // repeated .NetPlayerState seatStates = 5; public static final int SEATSTATES_FIELD_NUMBER = 5; private java.util.List seatStates_; + /** + * repeated .NetPlayerState seatStates = 5; + */ public java.util.List getSeatStatesList() { return seatStates_; } + /** + * repeated .NetPlayerState seatStates = 5; + */ public int getSeatStatesCount() { return seatStates_.size(); } + /** + * repeated .NetPlayerState seatStates = 5; + */ public de.pokerth.protocol.ProtoBuf.NetPlayerState getSeatStates(int index) { return seatStates_.get(index); } - + private void initFields() { gameId_ = 0; plainCards_ = de.pokerth.protocol.ProtoBuf.HandStartMessage.PlainCards.getDefaultInstance(); @@ -22242,7 +28255,7 @@ public final class ProtoBuf { public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; - + if (!hasGameId()) { memoizedIsInitialized = 0; return false; @@ -22260,7 +28273,7 @@ public final class ProtoBuf { memoizedIsInitialized = 1; return true; } - + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); @@ -22280,12 +28293,12 @@ public final class ProtoBuf { output.writeEnum(5, seatStates_.get(i).getNumber()); } } - + private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; - + size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream @@ -22315,88 +28328,77 @@ public final class ProtoBuf { memoizedSerializedSize = size; return size; } - + private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } - + public static de.pokerth.protocol.ProtoBuf.HandStartMessage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data).buildParsed(); + return PARSER.parseFrom(data); } public static de.pokerth.protocol.ProtoBuf.HandStartMessage parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(data, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.HandStartMessage parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data).buildParsed(); + return PARSER.parseFrom(data); } public static de.pokerth.protocol.ProtoBuf.HandStartMessage parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(data, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.HandStartMessage parseFrom(java.io.InputStream input) throws java.io.IOException { - return newBuilder().mergeFrom(input).buildParsed(); + return PARSER.parseFrom(input); } public static de.pokerth.protocol.ProtoBuf.HandStartMessage parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return newBuilder().mergeFrom(input, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.HandStartMessage parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - Builder builder = newBuilder(); - if (builder.mergeDelimitedFrom(input)) { - return builder.buildParsed(); - } else { - return null; - } + return PARSER.parseDelimitedFrom(input); } public static de.pokerth.protocol.ProtoBuf.HandStartMessage parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - Builder builder = newBuilder(); - if (builder.mergeDelimitedFrom(input, extensionRegistry)) { - return builder.buildParsed(); - } else { - return null; - } + return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.HandStartMessage parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return newBuilder().mergeFrom(input).buildParsed(); + return PARSER.parseFrom(input); } public static de.pokerth.protocol.ProtoBuf.HandStartMessage parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return newBuilder().mergeFrom(input, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(input, extensionRegistry); } - + public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.HandStartMessage prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } - + + /** + * Protobuf type {@code HandStartMessage} + */ public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.HandStartMessage, Builder> @@ -22405,13 +28407,13 @@ public final class ProtoBuf { private Builder() { maybeForceBuilderInitialization(); } - + private void maybeForceBuilderInitialization() { } private static Builder create() { return new Builder(); } - + public Builder clear() { super.clear(); gameId_ = 0; @@ -22426,15 +28428,15 @@ public final class ProtoBuf { bitField0_ = (bitField0_ & ~0x00000010); return this; } - + public Builder clone() { return create().mergeFrom(buildPartial()); } - + public de.pokerth.protocol.ProtoBuf.HandStartMessage getDefaultInstanceForType() { return de.pokerth.protocol.ProtoBuf.HandStartMessage.getDefaultInstance(); } - + public de.pokerth.protocol.ProtoBuf.HandStartMessage build() { de.pokerth.protocol.ProtoBuf.HandStartMessage result = buildPartial(); if (!result.isInitialized()) { @@ -22442,17 +28444,7 @@ public final class ProtoBuf { } return result; } - - private de.pokerth.protocol.ProtoBuf.HandStartMessage buildParsed() - throws com.google.protobuf.InvalidProtocolBufferException { - de.pokerth.protocol.ProtoBuf.HandStartMessage result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException( - result).asInvalidProtocolBufferException(); - } - return result; - } - + public de.pokerth.protocol.ProtoBuf.HandStartMessage buildPartial() { de.pokerth.protocol.ProtoBuf.HandStartMessage result = new de.pokerth.protocol.ProtoBuf.HandStartMessage(this); int from_bitField0_ = bitField0_; @@ -22481,7 +28473,7 @@ public final class ProtoBuf { result.bitField0_ = to_bitField0_; return result; } - + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.HandStartMessage other) { if (other == de.pokerth.protocol.ProtoBuf.HandStartMessage.getDefaultInstance()) return this; if (other.hasGameId()) { @@ -22508,7 +28500,7 @@ public final class ProtoBuf { } return this; } - + public final boolean isInitialized() { if (!hasGameId()) { @@ -22526,120 +28518,98 @@ public final class ProtoBuf { } return true; } - + public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - while (true) { - int tag = input.readTag(); - switch (tag) { - case 0: - - return this; - default: { - if (!parseUnknownField(input, extensionRegistry, tag)) { - - return this; - } - break; - } - case 8: { - bitField0_ |= 0x00000001; - gameId_ = input.readUInt32(); - break; - } - case 18: { - de.pokerth.protocol.ProtoBuf.HandStartMessage.PlainCards.Builder subBuilder = de.pokerth.protocol.ProtoBuf.HandStartMessage.PlainCards.newBuilder(); - if (hasPlainCards()) { - subBuilder.mergeFrom(getPlainCards()); - } - input.readMessage(subBuilder, extensionRegistry); - setPlainCards(subBuilder.buildPartial()); - break; - } - case 26: { - bitField0_ |= 0x00000004; - encryptedCards_ = input.readBytes(); - break; - } - case 32: { - bitField0_ |= 0x00000008; - smallBlind_ = input.readUInt32(); - break; - } - case 40: { - int rawValue = input.readEnum(); - de.pokerth.protocol.ProtoBuf.NetPlayerState value = de.pokerth.protocol.ProtoBuf.NetPlayerState.valueOf(rawValue); - if (value != null) { - addSeatStates(value); - } - break; - } - case 42: { - int length = input.readRawVarint32(); - int oldLimit = input.pushLimit(length); - while(input.getBytesUntilLimit() > 0) { - int rawValue = input.readEnum(); - de.pokerth.protocol.ProtoBuf.NetPlayerState value = de.pokerth.protocol.ProtoBuf.NetPlayerState.valueOf(rawValue); - if (value != null) { - addSeatStates(value); - } - } - input.popLimit(oldLimit); - break; - } + de.pokerth.protocol.ProtoBuf.HandStartMessage parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (de.pokerth.protocol.ProtoBuf.HandStartMessage) e.getUnfinishedMessage(); + throw e; + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); } } + return this; } - private int bitField0_; - + // required uint32 gameId = 1; private int gameId_ ; + /** + * required uint32 gameId = 1; + */ public boolean hasGameId() { return ((bitField0_ & 0x00000001) == 0x00000001); } + /** + * required uint32 gameId = 1; + */ public int getGameId() { return gameId_; } + /** + * required uint32 gameId = 1; + */ public Builder setGameId(int value) { bitField0_ |= 0x00000001; gameId_ = value; return this; } + /** + * required uint32 gameId = 1; + */ public Builder clearGameId() { bitField0_ = (bitField0_ & ~0x00000001); gameId_ = 0; return this; } - + // optional .HandStartMessage.PlainCards plainCards = 2; private de.pokerth.protocol.ProtoBuf.HandStartMessage.PlainCards plainCards_ = de.pokerth.protocol.ProtoBuf.HandStartMessage.PlainCards.getDefaultInstance(); + /** + * optional .HandStartMessage.PlainCards plainCards = 2; + */ public boolean hasPlainCards() { return ((bitField0_ & 0x00000002) == 0x00000002); } + /** + * optional .HandStartMessage.PlainCards plainCards = 2; + */ public de.pokerth.protocol.ProtoBuf.HandStartMessage.PlainCards getPlainCards() { return plainCards_; } + /** + * optional .HandStartMessage.PlainCards plainCards = 2; + */ public Builder setPlainCards(de.pokerth.protocol.ProtoBuf.HandStartMessage.PlainCards value) { if (value == null) { throw new NullPointerException(); } plainCards_ = value; - + bitField0_ |= 0x00000002; return this; } + /** + * optional .HandStartMessage.PlainCards plainCards = 2; + */ public Builder setPlainCards( de.pokerth.protocol.ProtoBuf.HandStartMessage.PlainCards.Builder builderForValue) { plainCards_ = builderForValue.build(); - + bitField0_ |= 0x00000002; return this; } + /** + * optional .HandStartMessage.PlainCards plainCards = 2; + */ public Builder mergePlainCards(de.pokerth.protocol.ProtoBuf.HandStartMessage.PlainCards value) { if (((bitField0_ & 0x00000002) == 0x00000002) && plainCards_ != de.pokerth.protocol.ProtoBuf.HandStartMessage.PlainCards.getDefaultInstance()) { @@ -22648,25 +28618,37 @@ public final class ProtoBuf { } else { plainCards_ = value; } - + bitField0_ |= 0x00000002; return this; } + /** + * optional .HandStartMessage.PlainCards plainCards = 2; + */ public Builder clearPlainCards() { plainCards_ = de.pokerth.protocol.ProtoBuf.HandStartMessage.PlainCards.getDefaultInstance(); - + bitField0_ = (bitField0_ & ~0x00000002); return this; } - + // optional bytes encryptedCards = 3; private com.google.protobuf.ByteString encryptedCards_ = com.google.protobuf.ByteString.EMPTY; + /** + * optional bytes encryptedCards = 3; + */ public boolean hasEncryptedCards() { return ((bitField0_ & 0x00000004) == 0x00000004); } + /** + * optional bytes encryptedCards = 3; + */ public com.google.protobuf.ByteString getEncryptedCards() { return encryptedCards_; } + /** + * optional bytes encryptedCards = 3; + */ public Builder setEncryptedCards(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); @@ -22676,34 +28658,49 @@ public final class ProtoBuf { return this; } + /** + * optional bytes encryptedCards = 3; + */ public Builder clearEncryptedCards() { bitField0_ = (bitField0_ & ~0x00000004); encryptedCards_ = getDefaultInstance().getEncryptedCards(); return this; } - + // required uint32 smallBlind = 4; private int smallBlind_ ; + /** + * required uint32 smallBlind = 4; + */ public boolean hasSmallBlind() { return ((bitField0_ & 0x00000008) == 0x00000008); } + /** + * required uint32 smallBlind = 4; + */ public int getSmallBlind() { return smallBlind_; } + /** + * required uint32 smallBlind = 4; + */ public Builder setSmallBlind(int value) { bitField0_ |= 0x00000008; smallBlind_ = value; return this; } + /** + * required uint32 smallBlind = 4; + */ public Builder clearSmallBlind() { bitField0_ = (bitField0_ & ~0x00000008); smallBlind_ = 0; return this; } - + // repeated .NetPlayerState seatStates = 5; private java.util.List seatStates_ = java.util.Collections.emptyList(); @@ -22713,15 +28710,27 @@ public final class ProtoBuf { bitField0_ |= 0x00000010; } } + /** + * repeated .NetPlayerState seatStates = 5; + */ public java.util.List getSeatStatesList() { return java.util.Collections.unmodifiableList(seatStates_); } + /** + * repeated .NetPlayerState seatStates = 5; + */ public int getSeatStatesCount() { return seatStates_.size(); } + /** + * repeated .NetPlayerState seatStates = 5; + */ public de.pokerth.protocol.ProtoBuf.NetPlayerState getSeatStates(int index) { return seatStates_.get(index); } + /** + * repeated .NetPlayerState seatStates = 5; + */ public Builder setSeatStates( int index, de.pokerth.protocol.ProtoBuf.NetPlayerState value) { if (value == null) { @@ -22732,6 +28741,9 @@ public final class ProtoBuf { return this; } + /** + * repeated .NetPlayerState seatStates = 5; + */ public Builder addSeatStates(de.pokerth.protocol.ProtoBuf.NetPlayerState value) { if (value == null) { throw new NullPointerException(); @@ -22741,6 +28753,9 @@ public final class ProtoBuf { return this; } + /** + * repeated .NetPlayerState seatStates = 5; + */ public Builder addAllSeatStates( java.lang.Iterable values) { ensureSeatStatesIsMutable(); @@ -22748,347 +28763,100 @@ public final class ProtoBuf { return this; } + /** + * repeated .NetPlayerState seatStates = 5; + */ public Builder clearSeatStates() { seatStates_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000010); return this; } - + // @@protoc_insertion_point(builder_scope:HandStartMessage) } - + static { defaultInstance = new HandStartMessage(true); defaultInstance.initFields(); } - + // @@protoc_insertion_point(class_scope:HandStartMessage) } - + public interface PlayersTurnMessageOrBuilder extends com.google.protobuf.MessageLiteOrBuilder { - + // required uint32 gameId = 1; + /** + * required uint32 gameId = 1; + */ boolean hasGameId(); + /** + * required uint32 gameId = 1; + */ int getGameId(); - + // required uint32 playerId = 2; + /** + * required uint32 playerId = 2; + */ boolean hasPlayerId(); + /** + * required uint32 playerId = 2; + */ int getPlayerId(); - + // required .NetGameState gameState = 3; + /** + * required .NetGameState gameState = 3; + */ boolean hasGameState(); + /** + * required .NetGameState gameState = 3; + */ de.pokerth.protocol.ProtoBuf.NetGameState getGameState(); } + /** + * Protobuf type {@code PlayersTurnMessage} + */ public static final class PlayersTurnMessage extends com.google.protobuf.GeneratedMessageLite implements PlayersTurnMessageOrBuilder { // Use PlayersTurnMessage.newBuilder() to construct. - private PlayersTurnMessage(Builder builder) { + private PlayersTurnMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); + } private PlayersTurnMessage(boolean noInit) {} - + private static final PlayersTurnMessage defaultInstance; public static PlayersTurnMessage getDefaultInstance() { return defaultInstance; } - + public PlayersTurnMessage getDefaultInstanceForType() { return defaultInstance; } - - private int bitField0_; - // required uint32 gameId = 1; - public static final int GAMEID_FIELD_NUMBER = 1; - private int gameId_; - public boolean hasGameId() { - return ((bitField0_ & 0x00000001) == 0x00000001); - } - public int getGameId() { - return gameId_; - } - - // required uint32 playerId = 2; - public static final int PLAYERID_FIELD_NUMBER = 2; - private int playerId_; - public boolean hasPlayerId() { - return ((bitField0_ & 0x00000002) == 0x00000002); - } - public int getPlayerId() { - return playerId_; - } - - // required .NetGameState gameState = 3; - public static final int GAMESTATE_FIELD_NUMBER = 3; - private de.pokerth.protocol.ProtoBuf.NetGameState gameState_; - public boolean hasGameState() { - return ((bitField0_ & 0x00000004) == 0x00000004); - } - public de.pokerth.protocol.ProtoBuf.NetGameState getGameState() { - return gameState_; - } - - private void initFields() { - gameId_ = 0; - playerId_ = 0; - gameState_ = de.pokerth.protocol.ProtoBuf.NetGameState.netStatePreflop; - } - private byte memoizedIsInitialized = -1; - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; - - if (!hasGameId()) { - memoizedIsInitialized = 0; - return false; - } - if (!hasPlayerId()) { - memoizedIsInitialized = 0; - return false; - } - if (!hasGameState()) { - memoizedIsInitialized = 0; - return false; - } - memoizedIsInitialized = 1; - return true; - } - - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - getSerializedSize(); - if (((bitField0_ & 0x00000001) == 0x00000001)) { - output.writeUInt32(1, gameId_); - } - if (((bitField0_ & 0x00000002) == 0x00000002)) { - output.writeUInt32(2, playerId_); - } - if (((bitField0_ & 0x00000004) == 0x00000004)) { - output.writeEnum(3, gameState_.getNumber()); - } - } - - private int memoizedSerializedSize = -1; - public int getSerializedSize() { - int size = memoizedSerializedSize; - if (size != -1) return size; - - size = 0; - if (((bitField0_ & 0x00000001) == 0x00000001)) { - size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(1, gameId_); - } - if (((bitField0_ & 0x00000002) == 0x00000002)) { - size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(2, playerId_); - } - if (((bitField0_ & 0x00000004) == 0x00000004)) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(3, gameState_.getNumber()); - } - memoizedSerializedSize = size; - return size; - } - - private static final long serialVersionUID = 0L; - @java.lang.Override - protected java.lang.Object writeReplace() - throws java.io.ObjectStreamException { - return super.writeReplace(); - } - - public static de.pokerth.protocol.ProtoBuf.PlayersTurnMessage parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data).buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.PlayersTurnMessage parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data, extensionRegistry) - .buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.PlayersTurnMessage parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data).buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.PlayersTurnMessage parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data, extensionRegistry) - .buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.PlayersTurnMessage parseFrom(java.io.InputStream input) - throws java.io.IOException { - return newBuilder().mergeFrom(input).buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.PlayersTurnMessage parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return newBuilder().mergeFrom(input, extensionRegistry) - .buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.PlayersTurnMessage parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - Builder builder = newBuilder(); - if (builder.mergeDelimitedFrom(input)) { - return builder.buildParsed(); - } else { - return null; - } - } - public static de.pokerth.protocol.ProtoBuf.PlayersTurnMessage parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - Builder builder = newBuilder(); - if (builder.mergeDelimitedFrom(input, extensionRegistry)) { - return builder.buildParsed(); - } else { - return null; - } - } - public static de.pokerth.protocol.ProtoBuf.PlayersTurnMessage parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return newBuilder().mergeFrom(input).buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.PlayersTurnMessage parseFrom( + + private PlayersTurnMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return newBuilder().mergeFrom(input, extensionRegistry) - .buildParsed(); - } - - public static Builder newBuilder() { return Builder.create(); } - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.PlayersTurnMessage prototype) { - return newBuilder().mergeFrom(prototype); - } - public Builder toBuilder() { return newBuilder(this); } - - public static final class Builder extends - com.google.protobuf.GeneratedMessageLite.Builder< - de.pokerth.protocol.ProtoBuf.PlayersTurnMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.PlayersTurnMessageOrBuilder { - // Construct using de.pokerth.protocol.ProtoBuf.PlayersTurnMessage.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - } - private static Builder create() { - return new Builder(); - } - - public Builder clear() { - super.clear(); - gameId_ = 0; - bitField0_ = (bitField0_ & ~0x00000001); - playerId_ = 0; - bitField0_ = (bitField0_ & ~0x00000002); - gameState_ = de.pokerth.protocol.ProtoBuf.NetGameState.netStatePreflop; - bitField0_ = (bitField0_ & ~0x00000004); - return this; - } - - public Builder clone() { - return create().mergeFrom(buildPartial()); - } - - public de.pokerth.protocol.ProtoBuf.PlayersTurnMessage getDefaultInstanceForType() { - return de.pokerth.protocol.ProtoBuf.PlayersTurnMessage.getDefaultInstance(); - } - - public de.pokerth.protocol.ProtoBuf.PlayersTurnMessage build() { - de.pokerth.protocol.ProtoBuf.PlayersTurnMessage result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - private de.pokerth.protocol.ProtoBuf.PlayersTurnMessage buildParsed() - throws com.google.protobuf.InvalidProtocolBufferException { - de.pokerth.protocol.ProtoBuf.PlayersTurnMessage result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException( - result).asInvalidProtocolBufferException(); - } - return result; - } - - public de.pokerth.protocol.ProtoBuf.PlayersTurnMessage buildPartial() { - de.pokerth.protocol.ProtoBuf.PlayersTurnMessage result = new de.pokerth.protocol.ProtoBuf.PlayersTurnMessage(this); - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) == 0x00000001)) { - to_bitField0_ |= 0x00000001; - } - result.gameId_ = gameId_; - if (((from_bitField0_ & 0x00000002) == 0x00000002)) { - to_bitField0_ |= 0x00000002; - } - result.playerId_ = playerId_; - if (((from_bitField0_ & 0x00000004) == 0x00000004)) { - to_bitField0_ |= 0x00000004; - } - result.gameState_ = gameState_; - result.bitField0_ = to_bitField0_; - return result; - } - - public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.PlayersTurnMessage other) { - if (other == de.pokerth.protocol.ProtoBuf.PlayersTurnMessage.getDefaultInstance()) return this; - if (other.hasGameId()) { - setGameId(other.getGameId()); - } - if (other.hasPlayerId()) { - setPlayerId(other.getPlayerId()); - } - if (other.hasGameState()) { - setGameState(other.getGameState()); - } - return this; - } - - public final boolean isInitialized() { - if (!hasGameId()) { - - return false; - } - if (!hasPlayerId()) { - - return false; - } - if (!hasGameState()) { - - return false; - } - return true; - } - - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - while (true) { + throws com.google.protobuf.InvalidProtocolBufferException { + initFields(); + int mutable_bitField0_ = 0; + try { + boolean done = false; + while (!done) { int tag = input.readTag(); switch (tag) { case 0: - - return this; + done = true; + break; default: { - if (!parseUnknownField(input, extensionRegistry, tag)) { - - return this; + if (!parseUnknownField(input, + extensionRegistry, tag)) { + done = true; } break; } @@ -23113,196 +28881,94 @@ public final class ProtoBuf { } } } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e.getMessage()).setUnfinishedMessage(this); + } finally { + makeExtensionsImmutable(); } - - private int bitField0_; - - // required uint32 gameId = 1; - private int gameId_ ; - public boolean hasGameId() { - return ((bitField0_ & 0x00000001) == 0x00000001); - } - public int getGameId() { - return gameId_; - } - public Builder setGameId(int value) { - bitField0_ |= 0x00000001; - gameId_ = value; - - return this; - } - public Builder clearGameId() { - bitField0_ = (bitField0_ & ~0x00000001); - gameId_ = 0; - - return this; - } - - // required uint32 playerId = 2; - private int playerId_ ; - public boolean hasPlayerId() { - return ((bitField0_ & 0x00000002) == 0x00000002); - } - public int getPlayerId() { - return playerId_; - } - public Builder setPlayerId(int value) { - bitField0_ |= 0x00000002; - playerId_ = value; - - return this; - } - public Builder clearPlayerId() { - bitField0_ = (bitField0_ & ~0x00000002); - playerId_ = 0; - - return this; - } - - // required .NetGameState gameState = 3; - private de.pokerth.protocol.ProtoBuf.NetGameState gameState_ = de.pokerth.protocol.ProtoBuf.NetGameState.netStatePreflop; - public boolean hasGameState() { - return ((bitField0_ & 0x00000004) == 0x00000004); - } - public de.pokerth.protocol.ProtoBuf.NetGameState getGameState() { - return gameState_; - } - public Builder setGameState(de.pokerth.protocol.ProtoBuf.NetGameState value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000004; - gameState_ = value; - - return this; - } - public Builder clearGameState() { - bitField0_ = (bitField0_ & ~0x00000004); - gameState_ = de.pokerth.protocol.ProtoBuf.NetGameState.netStatePreflop; - - return this; - } - - // @@protoc_insertion_point(builder_scope:PlayersTurnMessage) } - - static { - defaultInstance = new PlayersTurnMessage(true); - defaultInstance.initFields(); + public static com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + public PlayersTurnMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PlayersTurnMessage(input, extensionRegistry); + } + }; + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; } - - // @@protoc_insertion_point(class_scope:PlayersTurnMessage) - } - - public interface MyActionRequestMessageOrBuilder - extends com.google.protobuf.MessageLiteOrBuilder { - - // required uint32 gameId = 1; - boolean hasGameId(); - int getGameId(); - - // required uint32 handNum = 2; - boolean hasHandNum(); - int getHandNum(); - - // required .NetGameState gameState = 3; - boolean hasGameState(); - de.pokerth.protocol.ProtoBuf.NetGameState getGameState(); - - // required .NetPlayerAction myAction = 4; - boolean hasMyAction(); - de.pokerth.protocol.ProtoBuf.NetPlayerAction getMyAction(); - - // required uint32 myRelativeBet = 5; - boolean hasMyRelativeBet(); - int getMyRelativeBet(); - } - public static final class MyActionRequestMessage extends - com.google.protobuf.GeneratedMessageLite - implements MyActionRequestMessageOrBuilder { - // Use MyActionRequestMessage.newBuilder() to construct. - private MyActionRequestMessage(Builder builder) { - super(builder); - } - private MyActionRequestMessage(boolean noInit) {} - - private static final MyActionRequestMessage defaultInstance; - public static MyActionRequestMessage getDefaultInstance() { - return defaultInstance; - } - - public MyActionRequestMessage getDefaultInstanceForType() { - return defaultInstance; - } - + private int bitField0_; // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; + /** + * required uint32 gameId = 1; + */ public boolean hasGameId() { return ((bitField0_ & 0x00000001) == 0x00000001); } + /** + * required uint32 gameId = 1; + */ public int getGameId() { return gameId_; } - - // required uint32 handNum = 2; - public static final int HANDNUM_FIELD_NUMBER = 2; - private int handNum_; - public boolean hasHandNum() { + + // required uint32 playerId = 2; + public static final int PLAYERID_FIELD_NUMBER = 2; + private int playerId_; + /** + * required uint32 playerId = 2; + */ + public boolean hasPlayerId() { return ((bitField0_ & 0x00000002) == 0x00000002); } - public int getHandNum() { - return handNum_; + /** + * required uint32 playerId = 2; + */ + public int getPlayerId() { + return playerId_; } - + // required .NetGameState gameState = 3; public static final int GAMESTATE_FIELD_NUMBER = 3; private de.pokerth.protocol.ProtoBuf.NetGameState gameState_; + /** + * required .NetGameState gameState = 3; + */ public boolean hasGameState() { return ((bitField0_ & 0x00000004) == 0x00000004); } + /** + * required .NetGameState gameState = 3; + */ public de.pokerth.protocol.ProtoBuf.NetGameState getGameState() { return gameState_; } - - // required .NetPlayerAction myAction = 4; - public static final int MYACTION_FIELD_NUMBER = 4; - private de.pokerth.protocol.ProtoBuf.NetPlayerAction myAction_; - public boolean hasMyAction() { - return ((bitField0_ & 0x00000008) == 0x00000008); - } - public de.pokerth.protocol.ProtoBuf.NetPlayerAction getMyAction() { - return myAction_; - } - - // required uint32 myRelativeBet = 5; - public static final int MYRELATIVEBET_FIELD_NUMBER = 5; - private int myRelativeBet_; - public boolean hasMyRelativeBet() { - return ((bitField0_ & 0x00000010) == 0x00000010); - } - public int getMyRelativeBet() { - return myRelativeBet_; - } - + private void initFields() { gameId_ = 0; - handNum_ = 0; + playerId_ = 0; gameState_ = de.pokerth.protocol.ProtoBuf.NetGameState.netStatePreflop; - myAction_ = de.pokerth.protocol.ProtoBuf.NetPlayerAction.netActionNone; - myRelativeBet_ = 0; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; - + if (!hasGameId()) { memoizedIsInitialized = 0; return false; } - if (!hasHandNum()) { + if (!hasPlayerId()) { memoizedIsInitialized = 0; return false; } @@ -23310,18 +28976,10 @@ public final class ProtoBuf { memoizedIsInitialized = 0; return false; } - if (!hasMyAction()) { - memoizedIsInitialized = 0; - return false; - } - if (!hasMyRelativeBet()) { - memoizedIsInitialized = 0; - return false; - } memoizedIsInitialized = 1; return true; } - + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); @@ -23329,24 +28987,18 @@ public final class ProtoBuf { output.writeUInt32(1, gameId_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { - output.writeUInt32(2, handNum_); + output.writeUInt32(2, playerId_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeEnum(3, gameState_.getNumber()); } - if (((bitField0_ & 0x00000008) == 0x00000008)) { - output.writeEnum(4, myAction_.getNumber()); - } - if (((bitField0_ & 0x00000010) == 0x00000010)) { - output.writeUInt32(5, myRelativeBet_); - } } - + private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; - + size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream @@ -23354,163 +29006,130 @@ public final class ProtoBuf { } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(2, handNum_); + .computeUInt32Size(2, playerId_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(3, gameState_.getNumber()); } - if (((bitField0_ & 0x00000008) == 0x00000008)) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(4, myAction_.getNumber()); - } - if (((bitField0_ & 0x00000010) == 0x00000010)) { - size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(5, myRelativeBet_); - } memoizedSerializedSize = size; return size; } - + private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } - - public static de.pokerth.protocol.ProtoBuf.MyActionRequestMessage parseFrom( + + public static de.pokerth.protocol.ProtoBuf.PlayersTurnMessage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data).buildParsed(); + return PARSER.parseFrom(data); } - public static de.pokerth.protocol.ProtoBuf.MyActionRequestMessage parseFrom( + public static de.pokerth.protocol.ProtoBuf.PlayersTurnMessage parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(data, extensionRegistry); } - public static de.pokerth.protocol.ProtoBuf.MyActionRequestMessage parseFrom(byte[] data) + public static de.pokerth.protocol.ProtoBuf.PlayersTurnMessage parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data).buildParsed(); + return PARSER.parseFrom(data); } - public static de.pokerth.protocol.ProtoBuf.MyActionRequestMessage parseFrom( + public static de.pokerth.protocol.ProtoBuf.PlayersTurnMessage parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(data, extensionRegistry); } - public static de.pokerth.protocol.ProtoBuf.MyActionRequestMessage parseFrom(java.io.InputStream input) + public static de.pokerth.protocol.ProtoBuf.PlayersTurnMessage parseFrom(java.io.InputStream input) throws java.io.IOException { - return newBuilder().mergeFrom(input).buildParsed(); + return PARSER.parseFrom(input); } - public static de.pokerth.protocol.ProtoBuf.MyActionRequestMessage parseFrom( + public static de.pokerth.protocol.ProtoBuf.PlayersTurnMessage parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return newBuilder().mergeFrom(input, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(input, extensionRegistry); } - public static de.pokerth.protocol.ProtoBuf.MyActionRequestMessage parseDelimitedFrom(java.io.InputStream input) + public static de.pokerth.protocol.ProtoBuf.PlayersTurnMessage parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - Builder builder = newBuilder(); - if (builder.mergeDelimitedFrom(input)) { - return builder.buildParsed(); - } else { - return null; - } + return PARSER.parseDelimitedFrom(input); } - public static de.pokerth.protocol.ProtoBuf.MyActionRequestMessage parseDelimitedFrom( + public static de.pokerth.protocol.ProtoBuf.PlayersTurnMessage parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - Builder builder = newBuilder(); - if (builder.mergeDelimitedFrom(input, extensionRegistry)) { - return builder.buildParsed(); - } else { - return null; - } + return PARSER.parseDelimitedFrom(input, extensionRegistry); } - public static de.pokerth.protocol.ProtoBuf.MyActionRequestMessage parseFrom( + public static de.pokerth.protocol.ProtoBuf.PlayersTurnMessage parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return newBuilder().mergeFrom(input).buildParsed(); + return PARSER.parseFrom(input); } - public static de.pokerth.protocol.ProtoBuf.MyActionRequestMessage parseFrom( + public static de.pokerth.protocol.ProtoBuf.PlayersTurnMessage parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return newBuilder().mergeFrom(input, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(input, extensionRegistry); } - + public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.MyActionRequestMessage prototype) { + public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.PlayersTurnMessage prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } - + + /** + * Protobuf type {@code PlayersTurnMessage} + */ public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< - de.pokerth.protocol.ProtoBuf.MyActionRequestMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.MyActionRequestMessageOrBuilder { - // Construct using de.pokerth.protocol.ProtoBuf.MyActionRequestMessage.newBuilder() + de.pokerth.protocol.ProtoBuf.PlayersTurnMessage, Builder> + implements de.pokerth.protocol.ProtoBuf.PlayersTurnMessageOrBuilder { + // Construct using de.pokerth.protocol.ProtoBuf.PlayersTurnMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - + private void maybeForceBuilderInitialization() { } private static Builder create() { return new Builder(); } - + public Builder clear() { super.clear(); gameId_ = 0; bitField0_ = (bitField0_ & ~0x00000001); - handNum_ = 0; + playerId_ = 0; bitField0_ = (bitField0_ & ~0x00000002); gameState_ = de.pokerth.protocol.ProtoBuf.NetGameState.netStatePreflop; bitField0_ = (bitField0_ & ~0x00000004); - myAction_ = de.pokerth.protocol.ProtoBuf.NetPlayerAction.netActionNone; - bitField0_ = (bitField0_ & ~0x00000008); - myRelativeBet_ = 0; - bitField0_ = (bitField0_ & ~0x00000010); return this; } - + public Builder clone() { return create().mergeFrom(buildPartial()); } - - public de.pokerth.protocol.ProtoBuf.MyActionRequestMessage getDefaultInstanceForType() { - return de.pokerth.protocol.ProtoBuf.MyActionRequestMessage.getDefaultInstance(); + + public de.pokerth.protocol.ProtoBuf.PlayersTurnMessage getDefaultInstanceForType() { + return de.pokerth.protocol.ProtoBuf.PlayersTurnMessage.getDefaultInstance(); } - - public de.pokerth.protocol.ProtoBuf.MyActionRequestMessage build() { - de.pokerth.protocol.ProtoBuf.MyActionRequestMessage result = buildPartial(); + + public de.pokerth.protocol.ProtoBuf.PlayersTurnMessage build() { + de.pokerth.protocol.ProtoBuf.PlayersTurnMessage result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } - - private de.pokerth.protocol.ProtoBuf.MyActionRequestMessage buildParsed() - throws com.google.protobuf.InvalidProtocolBufferException { - de.pokerth.protocol.ProtoBuf.MyActionRequestMessage result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException( - result).asInvalidProtocolBufferException(); - } - return result; - } - - public de.pokerth.protocol.ProtoBuf.MyActionRequestMessage buildPartial() { - de.pokerth.protocol.ProtoBuf.MyActionRequestMessage result = new de.pokerth.protocol.ProtoBuf.MyActionRequestMessage(this); + + public de.pokerth.protocol.ProtoBuf.PlayersTurnMessage buildPartial() { + de.pokerth.protocol.ProtoBuf.PlayersTurnMessage result = new de.pokerth.protocol.ProtoBuf.PlayersTurnMessage(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { @@ -23520,49 +29139,35 @@ public final class ProtoBuf { if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } - result.handNum_ = handNum_; + result.playerId_ = playerId_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } result.gameState_ = gameState_; - if (((from_bitField0_ & 0x00000008) == 0x00000008)) { - to_bitField0_ |= 0x00000008; - } - result.myAction_ = myAction_; - if (((from_bitField0_ & 0x00000010) == 0x00000010)) { - to_bitField0_ |= 0x00000010; - } - result.myRelativeBet_ = myRelativeBet_; result.bitField0_ = to_bitField0_; return result; } - - public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.MyActionRequestMessage other) { - if (other == de.pokerth.protocol.ProtoBuf.MyActionRequestMessage.getDefaultInstance()) return this; + + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.PlayersTurnMessage other) { + if (other == de.pokerth.protocol.ProtoBuf.PlayersTurnMessage.getDefaultInstance()) return this; if (other.hasGameId()) { setGameId(other.getGameId()); } - if (other.hasHandNum()) { - setHandNum(other.getHandNum()); + if (other.hasPlayerId()) { + setPlayerId(other.getPlayerId()); } if (other.hasGameState()) { setGameState(other.getGameState()); } - if (other.hasMyAction()) { - setMyAction(other.getMyAction()); - } - if (other.hasMyRelativeBet()) { - setMyRelativeBet(other.getMyRelativeBet()); - } return this; } - + public final boolean isInitialized() { if (!hasGameId()) { return false; } - if (!hasHandNum()) { + if (!hasPlayerId()) { return false; } @@ -23570,31 +29175,234 @@ public final class ProtoBuf { return false; } - if (!hasMyAction()) { - - return false; - } - if (!hasMyRelativeBet()) { - - return false; - } return true; } - + public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - while (true) { + de.pokerth.protocol.ProtoBuf.PlayersTurnMessage parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (de.pokerth.protocol.ProtoBuf.PlayersTurnMessage) e.getUnfinishedMessage(); + throw e; + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int bitField0_; + + // required uint32 gameId = 1; + private int gameId_ ; + /** + * required uint32 gameId = 1; + */ + public boolean hasGameId() { + return ((bitField0_ & 0x00000001) == 0x00000001); + } + /** + * required uint32 gameId = 1; + */ + public int getGameId() { + return gameId_; + } + /** + * required uint32 gameId = 1; + */ + public Builder setGameId(int value) { + bitField0_ |= 0x00000001; + gameId_ = value; + + return this; + } + /** + * required uint32 gameId = 1; + */ + public Builder clearGameId() { + bitField0_ = (bitField0_ & ~0x00000001); + gameId_ = 0; + + return this; + } + + // required uint32 playerId = 2; + private int playerId_ ; + /** + * required uint32 playerId = 2; + */ + public boolean hasPlayerId() { + return ((bitField0_ & 0x00000002) == 0x00000002); + } + /** + * required uint32 playerId = 2; + */ + public int getPlayerId() { + return playerId_; + } + /** + * required uint32 playerId = 2; + */ + public Builder setPlayerId(int value) { + bitField0_ |= 0x00000002; + playerId_ = value; + + return this; + } + /** + * required uint32 playerId = 2; + */ + public Builder clearPlayerId() { + bitField0_ = (bitField0_ & ~0x00000002); + playerId_ = 0; + + return this; + } + + // required .NetGameState gameState = 3; + private de.pokerth.protocol.ProtoBuf.NetGameState gameState_ = de.pokerth.protocol.ProtoBuf.NetGameState.netStatePreflop; + /** + * required .NetGameState gameState = 3; + */ + public boolean hasGameState() { + return ((bitField0_ & 0x00000004) == 0x00000004); + } + /** + * required .NetGameState gameState = 3; + */ + public de.pokerth.protocol.ProtoBuf.NetGameState getGameState() { + return gameState_; + } + /** + * required .NetGameState gameState = 3; + */ + public Builder setGameState(de.pokerth.protocol.ProtoBuf.NetGameState value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000004; + gameState_ = value; + + return this; + } + /** + * required .NetGameState gameState = 3; + */ + public Builder clearGameState() { + bitField0_ = (bitField0_ & ~0x00000004); + gameState_ = de.pokerth.protocol.ProtoBuf.NetGameState.netStatePreflop; + + return this; + } + + // @@protoc_insertion_point(builder_scope:PlayersTurnMessage) + } + + static { + defaultInstance = new PlayersTurnMessage(true); + defaultInstance.initFields(); + } + + // @@protoc_insertion_point(class_scope:PlayersTurnMessage) + } + + public interface MyActionRequestMessageOrBuilder + extends com.google.protobuf.MessageLiteOrBuilder { + + // required uint32 gameId = 1; + /** + * required uint32 gameId = 1; + */ + boolean hasGameId(); + /** + * required uint32 gameId = 1; + */ + int getGameId(); + + // required uint32 handNum = 2; + /** + * required uint32 handNum = 2; + */ + boolean hasHandNum(); + /** + * required uint32 handNum = 2; + */ + int getHandNum(); + + // required .NetGameState gameState = 3; + /** + * required .NetGameState gameState = 3; + */ + boolean hasGameState(); + /** + * required .NetGameState gameState = 3; + */ + de.pokerth.protocol.ProtoBuf.NetGameState getGameState(); + + // required .NetPlayerAction myAction = 4; + /** + * required .NetPlayerAction myAction = 4; + */ + boolean hasMyAction(); + /** + * required .NetPlayerAction myAction = 4; + */ + de.pokerth.protocol.ProtoBuf.NetPlayerAction getMyAction(); + + // required uint32 myRelativeBet = 5; + /** + * required uint32 myRelativeBet = 5; + */ + boolean hasMyRelativeBet(); + /** + * required uint32 myRelativeBet = 5; + */ + int getMyRelativeBet(); + } + /** + * Protobuf type {@code MyActionRequestMessage} + */ + public static final class MyActionRequestMessage extends + com.google.protobuf.GeneratedMessageLite + implements MyActionRequestMessageOrBuilder { + // Use MyActionRequestMessage.newBuilder() to construct. + private MyActionRequestMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { + super(builder); + + } + private MyActionRequestMessage(boolean noInit) {} + + private static final MyActionRequestMessage defaultInstance; + public static MyActionRequestMessage getDefaultInstance() { + return defaultInstance; + } + + public MyActionRequestMessage getDefaultInstanceForType() { + return defaultInstance; + } + + private MyActionRequestMessage( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + initFields(); + int mutable_bitField0_ = 0; + try { + boolean done = false; + while (!done) { int tag = input.readTag(); switch (tag) { case 0: - - return this; + done = true; + break; default: { - if (!parseUnknownField(input, extensionRegistry, tag)) { - - return this; + if (!parseUnknownField(input, + extensionRegistry, tag)) { + done = true; } break; } @@ -23633,304 +29441,147 @@ public final class ProtoBuf { } } } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e.getMessage()).setUnfinishedMessage(this); + } finally { + makeExtensionsImmutable(); } - - private int bitField0_; - - // required uint32 gameId = 1; - private int gameId_ ; - public boolean hasGameId() { - return ((bitField0_ & 0x00000001) == 0x00000001); - } - public int getGameId() { - return gameId_; - } - public Builder setGameId(int value) { - bitField0_ |= 0x00000001; - gameId_ = value; - - return this; - } - public Builder clearGameId() { - bitField0_ = (bitField0_ & ~0x00000001); - gameId_ = 0; - - return this; - } - - // required uint32 handNum = 2; - private int handNum_ ; - public boolean hasHandNum() { - return ((bitField0_ & 0x00000002) == 0x00000002); - } - public int getHandNum() { - return handNum_; - } - public Builder setHandNum(int value) { - bitField0_ |= 0x00000002; - handNum_ = value; - - return this; - } - public Builder clearHandNum() { - bitField0_ = (bitField0_ & ~0x00000002); - handNum_ = 0; - - return this; - } - - // required .NetGameState gameState = 3; - private de.pokerth.protocol.ProtoBuf.NetGameState gameState_ = de.pokerth.protocol.ProtoBuf.NetGameState.netStatePreflop; - public boolean hasGameState() { - return ((bitField0_ & 0x00000004) == 0x00000004); - } - public de.pokerth.protocol.ProtoBuf.NetGameState getGameState() { - return gameState_; - } - public Builder setGameState(de.pokerth.protocol.ProtoBuf.NetGameState value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000004; - gameState_ = value; - - return this; - } - public Builder clearGameState() { - bitField0_ = (bitField0_ & ~0x00000004); - gameState_ = de.pokerth.protocol.ProtoBuf.NetGameState.netStatePreflop; - - return this; - } - - // required .NetPlayerAction myAction = 4; - private de.pokerth.protocol.ProtoBuf.NetPlayerAction myAction_ = de.pokerth.protocol.ProtoBuf.NetPlayerAction.netActionNone; - public boolean hasMyAction() { - return ((bitField0_ & 0x00000008) == 0x00000008); - } - public de.pokerth.protocol.ProtoBuf.NetPlayerAction getMyAction() { - return myAction_; - } - public Builder setMyAction(de.pokerth.protocol.ProtoBuf.NetPlayerAction value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000008; - myAction_ = value; - - return this; - } - public Builder clearMyAction() { - bitField0_ = (bitField0_ & ~0x00000008); - myAction_ = de.pokerth.protocol.ProtoBuf.NetPlayerAction.netActionNone; - - return this; - } - - // required uint32 myRelativeBet = 5; - private int myRelativeBet_ ; - public boolean hasMyRelativeBet() { - return ((bitField0_ & 0x00000010) == 0x00000010); - } - public int getMyRelativeBet() { - return myRelativeBet_; - } - public Builder setMyRelativeBet(int value) { - bitField0_ |= 0x00000010; - myRelativeBet_ = value; - - return this; - } - public Builder clearMyRelativeBet() { - bitField0_ = (bitField0_ & ~0x00000010); - myRelativeBet_ = 0; - - return this; - } - - // @@protoc_insertion_point(builder_scope:MyActionRequestMessage) } - - static { - defaultInstance = new MyActionRequestMessage(true); - defaultInstance.initFields(); - } - - // @@protoc_insertion_point(class_scope:MyActionRequestMessage) - } - - public interface YourActionRejectedMessageOrBuilder - extends com.google.protobuf.MessageLiteOrBuilder { - - // required uint32 gameId = 1; - boolean hasGameId(); - int getGameId(); - - // required .NetGameState gameState = 2; - boolean hasGameState(); - de.pokerth.protocol.ProtoBuf.NetGameState getGameState(); - - // required .NetPlayerAction yourAction = 3; - boolean hasYourAction(); - de.pokerth.protocol.ProtoBuf.NetPlayerAction getYourAction(); - - // required uint32 yourRelativeBet = 4; - boolean hasYourRelativeBet(); - int getYourRelativeBet(); - - // required .YourActionRejectedMessage.RejectionReason rejectionReason = 5; - boolean hasRejectionReason(); - de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage.RejectionReason getRejectionReason(); - } - public static final class YourActionRejectedMessage extends - com.google.protobuf.GeneratedMessageLite - implements YourActionRejectedMessageOrBuilder { - // Use YourActionRejectedMessage.newBuilder() to construct. - private YourActionRejectedMessage(Builder builder) { - super(builder); - } - private YourActionRejectedMessage(boolean noInit) {} - - private static final YourActionRejectedMessage defaultInstance; - public static YourActionRejectedMessage getDefaultInstance() { - return defaultInstance; - } - - public YourActionRejectedMessage getDefaultInstanceForType() { - return defaultInstance; - } - - public enum RejectionReason - implements com.google.protobuf.Internal.EnumLite { - rejectedInvalidGameState(0, 1), - rejectedNotYourTurn(1, 2), - rejectedActionNotAllowed(2, 3), - ; - - public static final int rejectedInvalidGameState_VALUE = 1; - public static final int rejectedNotYourTurn_VALUE = 2; - public static final int rejectedActionNotAllowed_VALUE = 3; - - - public final int getNumber() { return value; } - - public static RejectionReason valueOf(int value) { - switch (value) { - case 1: return rejectedInvalidGameState; - case 2: return rejectedNotYourTurn; - case 3: return rejectedActionNotAllowed; - default: return null; - } + public static com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + public MyActionRequestMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new MyActionRequestMessage(input, extensionRegistry); } - - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { - return internalValueMap; - } - private static com.google.protobuf.Internal.EnumLiteMap - internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public RejectionReason findValueByNumber(int number) { - return RejectionReason.valueOf(number); - } - }; - - private final int value; - - private RejectionReason(int index, int value) { - this.value = value; - } - - // @@protoc_insertion_point(enum_scope:YourActionRejectedMessage.RejectionReason) + }; + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; } - + private int bitField0_; // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; + /** + * required uint32 gameId = 1; + */ public boolean hasGameId() { return ((bitField0_ & 0x00000001) == 0x00000001); } + /** + * required uint32 gameId = 1; + */ public int getGameId() { return gameId_; } - - // required .NetGameState gameState = 2; - public static final int GAMESTATE_FIELD_NUMBER = 2; - private de.pokerth.protocol.ProtoBuf.NetGameState gameState_; - public boolean hasGameState() { + + // required uint32 handNum = 2; + public static final int HANDNUM_FIELD_NUMBER = 2; + private int handNum_; + /** + * required uint32 handNum = 2; + */ + public boolean hasHandNum() { return ((bitField0_ & 0x00000002) == 0x00000002); } + /** + * required uint32 handNum = 2; + */ + public int getHandNum() { + return handNum_; + } + + // required .NetGameState gameState = 3; + public static final int GAMESTATE_FIELD_NUMBER = 3; + private de.pokerth.protocol.ProtoBuf.NetGameState gameState_; + /** + * required .NetGameState gameState = 3; + */ + public boolean hasGameState() { + return ((bitField0_ & 0x00000004) == 0x00000004); + } + /** + * required .NetGameState gameState = 3; + */ public de.pokerth.protocol.ProtoBuf.NetGameState getGameState() { return gameState_; } - - // required .NetPlayerAction yourAction = 3; - public static final int YOURACTION_FIELD_NUMBER = 3; - private de.pokerth.protocol.ProtoBuf.NetPlayerAction yourAction_; - public boolean hasYourAction() { - return ((bitField0_ & 0x00000004) == 0x00000004); - } - public de.pokerth.protocol.ProtoBuf.NetPlayerAction getYourAction() { - return yourAction_; - } - - // required uint32 yourRelativeBet = 4; - public static final int YOURRELATIVEBET_FIELD_NUMBER = 4; - private int yourRelativeBet_; - public boolean hasYourRelativeBet() { + + // required .NetPlayerAction myAction = 4; + public static final int MYACTION_FIELD_NUMBER = 4; + private de.pokerth.protocol.ProtoBuf.NetPlayerAction myAction_; + /** + * required .NetPlayerAction myAction = 4; + */ + public boolean hasMyAction() { return ((bitField0_ & 0x00000008) == 0x00000008); } - public int getYourRelativeBet() { - return yourRelativeBet_; + /** + * required .NetPlayerAction myAction = 4; + */ + public de.pokerth.protocol.ProtoBuf.NetPlayerAction getMyAction() { + return myAction_; } - - // required .YourActionRejectedMessage.RejectionReason rejectionReason = 5; - public static final int REJECTIONREASON_FIELD_NUMBER = 5; - private de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage.RejectionReason rejectionReason_; - public boolean hasRejectionReason() { + + // required uint32 myRelativeBet = 5; + public static final int MYRELATIVEBET_FIELD_NUMBER = 5; + private int myRelativeBet_; + /** + * required uint32 myRelativeBet = 5; + */ + public boolean hasMyRelativeBet() { return ((bitField0_ & 0x00000010) == 0x00000010); } - public de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage.RejectionReason getRejectionReason() { - return rejectionReason_; + /** + * required uint32 myRelativeBet = 5; + */ + public int getMyRelativeBet() { + return myRelativeBet_; } - + private void initFields() { gameId_ = 0; + handNum_ = 0; gameState_ = de.pokerth.protocol.ProtoBuf.NetGameState.netStatePreflop; - yourAction_ = de.pokerth.protocol.ProtoBuf.NetPlayerAction.netActionNone; - yourRelativeBet_ = 0; - rejectionReason_ = de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage.RejectionReason.rejectedInvalidGameState; + myAction_ = de.pokerth.protocol.ProtoBuf.NetPlayerAction.netActionNone; + myRelativeBet_ = 0; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; - + if (!hasGameId()) { memoizedIsInitialized = 0; return false; } + if (!hasHandNum()) { + memoizedIsInitialized = 0; + return false; + } if (!hasGameState()) { memoizedIsInitialized = 0; return false; } - if (!hasYourAction()) { + if (!hasMyAction()) { memoizedIsInitialized = 0; return false; } - if (!hasYourRelativeBet()) { - memoizedIsInitialized = 0; - return false; - } - if (!hasRejectionReason()) { + if (!hasMyRelativeBet()) { memoizedIsInitialized = 0; return false; } memoizedIsInitialized = 1; return true; } - + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); @@ -23938,24 +29589,24 @@ public final class ProtoBuf { output.writeUInt32(1, gameId_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { - output.writeEnum(2, gameState_.getNumber()); + output.writeUInt32(2, handNum_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { - output.writeEnum(3, yourAction_.getNumber()); + output.writeEnum(3, gameState_.getNumber()); } if (((bitField0_ & 0x00000008) == 0x00000008)) { - output.writeUInt32(4, yourRelativeBet_); + output.writeEnum(4, myAction_.getNumber()); } if (((bitField0_ & 0x00000010) == 0x00000010)) { - output.writeEnum(5, rejectionReason_.getNumber()); + output.writeUInt32(5, myRelativeBet_); } } - + private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; - + size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream @@ -23963,163 +29614,142 @@ public final class ProtoBuf { } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, gameState_.getNumber()); + .computeUInt32Size(2, handNum_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream - .computeEnumSize(3, yourAction_.getNumber()); + .computeEnumSize(3, gameState_.getNumber()); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(4, yourRelativeBet_); + .computeEnumSize(4, myAction_.getNumber()); } if (((bitField0_ & 0x00000010) == 0x00000010)) { size += com.google.protobuf.CodedOutputStream - .computeEnumSize(5, rejectionReason_.getNumber()); + .computeUInt32Size(5, myRelativeBet_); } memoizedSerializedSize = size; return size; } - + private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } - - public static de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage parseFrom( + + public static de.pokerth.protocol.ProtoBuf.MyActionRequestMessage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data).buildParsed(); + return PARSER.parseFrom(data); } - public static de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage parseFrom( + public static de.pokerth.protocol.ProtoBuf.MyActionRequestMessage parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(data, extensionRegistry); } - public static de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage parseFrom(byte[] data) + public static de.pokerth.protocol.ProtoBuf.MyActionRequestMessage parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data).buildParsed(); + return PARSER.parseFrom(data); } - public static de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage parseFrom( + public static de.pokerth.protocol.ProtoBuf.MyActionRequestMessage parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(data, extensionRegistry); } - public static de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage parseFrom(java.io.InputStream input) + public static de.pokerth.protocol.ProtoBuf.MyActionRequestMessage parseFrom(java.io.InputStream input) throws java.io.IOException { - return newBuilder().mergeFrom(input).buildParsed(); + return PARSER.parseFrom(input); } - public static de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage parseFrom( + public static de.pokerth.protocol.ProtoBuf.MyActionRequestMessage parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return newBuilder().mergeFrom(input, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(input, extensionRegistry); } - public static de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage parseDelimitedFrom(java.io.InputStream input) + public static de.pokerth.protocol.ProtoBuf.MyActionRequestMessage parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - Builder builder = newBuilder(); - if (builder.mergeDelimitedFrom(input)) { - return builder.buildParsed(); - } else { - return null; - } + return PARSER.parseDelimitedFrom(input); } - public static de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage parseDelimitedFrom( + public static de.pokerth.protocol.ProtoBuf.MyActionRequestMessage parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - Builder builder = newBuilder(); - if (builder.mergeDelimitedFrom(input, extensionRegistry)) { - return builder.buildParsed(); - } else { - return null; - } + return PARSER.parseDelimitedFrom(input, extensionRegistry); } - public static de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage parseFrom( + public static de.pokerth.protocol.ProtoBuf.MyActionRequestMessage parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return newBuilder().mergeFrom(input).buildParsed(); + return PARSER.parseFrom(input); } - public static de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage parseFrom( + public static de.pokerth.protocol.ProtoBuf.MyActionRequestMessage parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return newBuilder().mergeFrom(input, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(input, extensionRegistry); } - + public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage prototype) { + public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.MyActionRequestMessage prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } - + + /** + * Protobuf type {@code MyActionRequestMessage} + */ public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< - de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.YourActionRejectedMessageOrBuilder { - // Construct using de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage.newBuilder() + de.pokerth.protocol.ProtoBuf.MyActionRequestMessage, Builder> + implements de.pokerth.protocol.ProtoBuf.MyActionRequestMessageOrBuilder { + // Construct using de.pokerth.protocol.ProtoBuf.MyActionRequestMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - + private void maybeForceBuilderInitialization() { } private static Builder create() { return new Builder(); } - + public Builder clear() { super.clear(); gameId_ = 0; bitField0_ = (bitField0_ & ~0x00000001); - gameState_ = de.pokerth.protocol.ProtoBuf.NetGameState.netStatePreflop; + handNum_ = 0; bitField0_ = (bitField0_ & ~0x00000002); - yourAction_ = de.pokerth.protocol.ProtoBuf.NetPlayerAction.netActionNone; + gameState_ = de.pokerth.protocol.ProtoBuf.NetGameState.netStatePreflop; bitField0_ = (bitField0_ & ~0x00000004); - yourRelativeBet_ = 0; + myAction_ = de.pokerth.protocol.ProtoBuf.NetPlayerAction.netActionNone; bitField0_ = (bitField0_ & ~0x00000008); - rejectionReason_ = de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage.RejectionReason.rejectedInvalidGameState; + myRelativeBet_ = 0; bitField0_ = (bitField0_ & ~0x00000010); return this; } - + public Builder clone() { return create().mergeFrom(buildPartial()); } - - public de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage getDefaultInstanceForType() { - return de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage.getDefaultInstance(); + + public de.pokerth.protocol.ProtoBuf.MyActionRequestMessage getDefaultInstanceForType() { + return de.pokerth.protocol.ProtoBuf.MyActionRequestMessage.getDefaultInstance(); } - - public de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage build() { - de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage result = buildPartial(); + + public de.pokerth.protocol.ProtoBuf.MyActionRequestMessage build() { + de.pokerth.protocol.ProtoBuf.MyActionRequestMessage result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } - - private de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage buildParsed() - throws com.google.protobuf.InvalidProtocolBufferException { - de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException( - result).asInvalidProtocolBufferException(); - } - return result; - } - - public de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage buildPartial() { - de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage result = new de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage(this); + + public de.pokerth.protocol.ProtoBuf.MyActionRequestMessage buildPartial() { + de.pokerth.protocol.ProtoBuf.MyActionRequestMessage result = new de.pokerth.protocol.ProtoBuf.MyActionRequestMessage(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { @@ -24129,81 +29759,361 @@ public final class ProtoBuf { if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } - result.gameState_ = gameState_; + result.handNum_ = handNum_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } - result.yourAction_ = yourAction_; + result.gameState_ = gameState_; if (((from_bitField0_ & 0x00000008) == 0x00000008)) { to_bitField0_ |= 0x00000008; } - result.yourRelativeBet_ = yourRelativeBet_; + result.myAction_ = myAction_; if (((from_bitField0_ & 0x00000010) == 0x00000010)) { to_bitField0_ |= 0x00000010; } - result.rejectionReason_ = rejectionReason_; + result.myRelativeBet_ = myRelativeBet_; result.bitField0_ = to_bitField0_; return result; } - - public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage other) { - if (other == de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage.getDefaultInstance()) return this; + + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.MyActionRequestMessage other) { + if (other == de.pokerth.protocol.ProtoBuf.MyActionRequestMessage.getDefaultInstance()) return this; if (other.hasGameId()) { setGameId(other.getGameId()); } + if (other.hasHandNum()) { + setHandNum(other.getHandNum()); + } if (other.hasGameState()) { setGameState(other.getGameState()); } - if (other.hasYourAction()) { - setYourAction(other.getYourAction()); + if (other.hasMyAction()) { + setMyAction(other.getMyAction()); } - if (other.hasYourRelativeBet()) { - setYourRelativeBet(other.getYourRelativeBet()); - } - if (other.hasRejectionReason()) { - setRejectionReason(other.getRejectionReason()); + if (other.hasMyRelativeBet()) { + setMyRelativeBet(other.getMyRelativeBet()); } return this; } - + public final boolean isInitialized() { if (!hasGameId()) { return false; } + if (!hasHandNum()) { + + return false; + } if (!hasGameState()) { return false; } - if (!hasYourAction()) { + if (!hasMyAction()) { return false; } - if (!hasYourRelativeBet()) { - - return false; - } - if (!hasRejectionReason()) { + if (!hasMyRelativeBet()) { return false; } return true; } - + public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - while (true) { + de.pokerth.protocol.ProtoBuf.MyActionRequestMessage parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (de.pokerth.protocol.ProtoBuf.MyActionRequestMessage) e.getUnfinishedMessage(); + throw e; + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int bitField0_; + + // required uint32 gameId = 1; + private int gameId_ ; + /** + * required uint32 gameId = 1; + */ + public boolean hasGameId() { + return ((bitField0_ & 0x00000001) == 0x00000001); + } + /** + * required uint32 gameId = 1; + */ + public int getGameId() { + return gameId_; + } + /** + * required uint32 gameId = 1; + */ + public Builder setGameId(int value) { + bitField0_ |= 0x00000001; + gameId_ = value; + + return this; + } + /** + * required uint32 gameId = 1; + */ + public Builder clearGameId() { + bitField0_ = (bitField0_ & ~0x00000001); + gameId_ = 0; + + return this; + } + + // required uint32 handNum = 2; + private int handNum_ ; + /** + * required uint32 handNum = 2; + */ + public boolean hasHandNum() { + return ((bitField0_ & 0x00000002) == 0x00000002); + } + /** + * required uint32 handNum = 2; + */ + public int getHandNum() { + return handNum_; + } + /** + * required uint32 handNum = 2; + */ + public Builder setHandNum(int value) { + bitField0_ |= 0x00000002; + handNum_ = value; + + return this; + } + /** + * required uint32 handNum = 2; + */ + public Builder clearHandNum() { + bitField0_ = (bitField0_ & ~0x00000002); + handNum_ = 0; + + return this; + } + + // required .NetGameState gameState = 3; + private de.pokerth.protocol.ProtoBuf.NetGameState gameState_ = de.pokerth.protocol.ProtoBuf.NetGameState.netStatePreflop; + /** + * required .NetGameState gameState = 3; + */ + public boolean hasGameState() { + return ((bitField0_ & 0x00000004) == 0x00000004); + } + /** + * required .NetGameState gameState = 3; + */ + public de.pokerth.protocol.ProtoBuf.NetGameState getGameState() { + return gameState_; + } + /** + * required .NetGameState gameState = 3; + */ + public Builder setGameState(de.pokerth.protocol.ProtoBuf.NetGameState value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000004; + gameState_ = value; + + return this; + } + /** + * required .NetGameState gameState = 3; + */ + public Builder clearGameState() { + bitField0_ = (bitField0_ & ~0x00000004); + gameState_ = de.pokerth.protocol.ProtoBuf.NetGameState.netStatePreflop; + + return this; + } + + // required .NetPlayerAction myAction = 4; + private de.pokerth.protocol.ProtoBuf.NetPlayerAction myAction_ = de.pokerth.protocol.ProtoBuf.NetPlayerAction.netActionNone; + /** + * required .NetPlayerAction myAction = 4; + */ + public boolean hasMyAction() { + return ((bitField0_ & 0x00000008) == 0x00000008); + } + /** + * required .NetPlayerAction myAction = 4; + */ + public de.pokerth.protocol.ProtoBuf.NetPlayerAction getMyAction() { + return myAction_; + } + /** + * required .NetPlayerAction myAction = 4; + */ + public Builder setMyAction(de.pokerth.protocol.ProtoBuf.NetPlayerAction value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000008; + myAction_ = value; + + return this; + } + /** + * required .NetPlayerAction myAction = 4; + */ + public Builder clearMyAction() { + bitField0_ = (bitField0_ & ~0x00000008); + myAction_ = de.pokerth.protocol.ProtoBuf.NetPlayerAction.netActionNone; + + return this; + } + + // required uint32 myRelativeBet = 5; + private int myRelativeBet_ ; + /** + * required uint32 myRelativeBet = 5; + */ + public boolean hasMyRelativeBet() { + return ((bitField0_ & 0x00000010) == 0x00000010); + } + /** + * required uint32 myRelativeBet = 5; + */ + public int getMyRelativeBet() { + return myRelativeBet_; + } + /** + * required uint32 myRelativeBet = 5; + */ + public Builder setMyRelativeBet(int value) { + bitField0_ |= 0x00000010; + myRelativeBet_ = value; + + return this; + } + /** + * required uint32 myRelativeBet = 5; + */ + public Builder clearMyRelativeBet() { + bitField0_ = (bitField0_ & ~0x00000010); + myRelativeBet_ = 0; + + return this; + } + + // @@protoc_insertion_point(builder_scope:MyActionRequestMessage) + } + + static { + defaultInstance = new MyActionRequestMessage(true); + defaultInstance.initFields(); + } + + // @@protoc_insertion_point(class_scope:MyActionRequestMessage) + } + + public interface YourActionRejectedMessageOrBuilder + extends com.google.protobuf.MessageLiteOrBuilder { + + // required uint32 gameId = 1; + /** + * required uint32 gameId = 1; + */ + boolean hasGameId(); + /** + * required uint32 gameId = 1; + */ + int getGameId(); + + // required .NetGameState gameState = 2; + /** + * required .NetGameState gameState = 2; + */ + boolean hasGameState(); + /** + * required .NetGameState gameState = 2; + */ + de.pokerth.protocol.ProtoBuf.NetGameState getGameState(); + + // required .NetPlayerAction yourAction = 3; + /** + * required .NetPlayerAction yourAction = 3; + */ + boolean hasYourAction(); + /** + * required .NetPlayerAction yourAction = 3; + */ + de.pokerth.protocol.ProtoBuf.NetPlayerAction getYourAction(); + + // required uint32 yourRelativeBet = 4; + /** + * required uint32 yourRelativeBet = 4; + */ + boolean hasYourRelativeBet(); + /** + * required uint32 yourRelativeBet = 4; + */ + int getYourRelativeBet(); + + // required .YourActionRejectedMessage.RejectionReason rejectionReason = 5; + /** + * required .YourActionRejectedMessage.RejectionReason rejectionReason = 5; + */ + boolean hasRejectionReason(); + /** + * required .YourActionRejectedMessage.RejectionReason rejectionReason = 5; + */ + de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage.RejectionReason getRejectionReason(); + } + /** + * Protobuf type {@code YourActionRejectedMessage} + */ + public static final class YourActionRejectedMessage extends + com.google.protobuf.GeneratedMessageLite + implements YourActionRejectedMessageOrBuilder { + // Use YourActionRejectedMessage.newBuilder() to construct. + private YourActionRejectedMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { + super(builder); + + } + private YourActionRejectedMessage(boolean noInit) {} + + private static final YourActionRejectedMessage defaultInstance; + public static YourActionRejectedMessage getDefaultInstance() { + return defaultInstance; + } + + public YourActionRejectedMessage getDefaultInstanceForType() { + return defaultInstance; + } + + private YourActionRejectedMessage( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + initFields(); + int mutable_bitField0_ = 0; + try { + boolean done = false; + while (!done) { int tag = input.readTag(); switch (tag) { case 0: - - return this; + done = true; + break; default: { - if (!parseUnknownField(input, extensionRegistry, tag)) { - - return this; + if (!parseUnknownField(input, + extensionRegistry, tag)) { + done = true; } break; } @@ -24246,320 +30156,212 @@ public final class ProtoBuf { } } } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e.getMessage()).setUnfinishedMessage(this); + } finally { + makeExtensionsImmutable(); } - - private int bitField0_; - - // required uint32 gameId = 1; - private int gameId_ ; - public boolean hasGameId() { - return ((bitField0_ & 0x00000001) == 0x00000001); + } + public static com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + public YourActionRejectedMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new YourActionRejectedMessage(input, extensionRegistry); } - public int getGameId() { - return gameId_; - } - public Builder setGameId(int value) { - bitField0_ |= 0x00000001; - gameId_ = value; - - return this; - } - public Builder clearGameId() { - bitField0_ = (bitField0_ & ~0x00000001); - gameId_ = 0; - - return this; - } - - // required .NetGameState gameState = 2; - private de.pokerth.protocol.ProtoBuf.NetGameState gameState_ = de.pokerth.protocol.ProtoBuf.NetGameState.netStatePreflop; - public boolean hasGameState() { - return ((bitField0_ & 0x00000002) == 0x00000002); - } - public de.pokerth.protocol.ProtoBuf.NetGameState getGameState() { - return gameState_; - } - public Builder setGameState(de.pokerth.protocol.ProtoBuf.NetGameState value) { - if (value == null) { - throw new NullPointerException(); + }; + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + /** + * Protobuf enum {@code YourActionRejectedMessage.RejectionReason} + */ + public enum RejectionReason + implements com.google.protobuf.Internal.EnumLite { + /** + * rejectedInvalidGameState = 1; + */ + rejectedInvalidGameState(0, 1), + /** + * rejectedNotYourTurn = 2; + */ + rejectedNotYourTurn(1, 2), + /** + * rejectedActionNotAllowed = 3; + */ + rejectedActionNotAllowed(2, 3), + ; + + /** + * rejectedInvalidGameState = 1; + */ + public static final int rejectedInvalidGameState_VALUE = 1; + /** + * rejectedNotYourTurn = 2; + */ + public static final int rejectedNotYourTurn_VALUE = 2; + /** + * rejectedActionNotAllowed = 3; + */ + public static final int rejectedActionNotAllowed_VALUE = 3; + + + public final int getNumber() { return value; } + + public static RejectionReason valueOf(int value) { + switch (value) { + case 1: return rejectedInvalidGameState; + case 2: return rejectedNotYourTurn; + case 3: return rejectedActionNotAllowed; + default: return null; } - bitField0_ |= 0x00000002; - gameState_ = value; - - return this; } - public Builder clearGameState() { - bitField0_ = (bitField0_ & ~0x00000002); - gameState_ = de.pokerth.protocol.ProtoBuf.NetGameState.netStatePreflop; - - return this; + + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { + return internalValueMap; } - - // required .NetPlayerAction yourAction = 3; - private de.pokerth.protocol.ProtoBuf.NetPlayerAction yourAction_ = de.pokerth.protocol.ProtoBuf.NetPlayerAction.netActionNone; - public boolean hasYourAction() { - return ((bitField0_ & 0x00000004) == 0x00000004); + private static com.google.protobuf.Internal.EnumLiteMap + internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public RejectionReason findValueByNumber(int number) { + return RejectionReason.valueOf(number); + } + }; + + private final int value; + + private RejectionReason(int index, int value) { + this.value = value; } - public de.pokerth.protocol.ProtoBuf.NetPlayerAction getYourAction() { - return yourAction_; - } - public Builder setYourAction(de.pokerth.protocol.ProtoBuf.NetPlayerAction value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000004; - yourAction_ = value; - - return this; - } - public Builder clearYourAction() { - bitField0_ = (bitField0_ & ~0x00000004); - yourAction_ = de.pokerth.protocol.ProtoBuf.NetPlayerAction.netActionNone; - - return this; - } - - // required uint32 yourRelativeBet = 4; - private int yourRelativeBet_ ; - public boolean hasYourRelativeBet() { - return ((bitField0_ & 0x00000008) == 0x00000008); - } - public int getYourRelativeBet() { - return yourRelativeBet_; - } - public Builder setYourRelativeBet(int value) { - bitField0_ |= 0x00000008; - yourRelativeBet_ = value; - - return this; - } - public Builder clearYourRelativeBet() { - bitField0_ = (bitField0_ & ~0x00000008); - yourRelativeBet_ = 0; - - return this; - } - - // required .YourActionRejectedMessage.RejectionReason rejectionReason = 5; - private de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage.RejectionReason rejectionReason_ = de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage.RejectionReason.rejectedInvalidGameState; - public boolean hasRejectionReason() { - return ((bitField0_ & 0x00000010) == 0x00000010); - } - public de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage.RejectionReason getRejectionReason() { - return rejectionReason_; - } - public Builder setRejectionReason(de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage.RejectionReason value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000010; - rejectionReason_ = value; - - return this; - } - public Builder clearRejectionReason() { - bitField0_ = (bitField0_ & ~0x00000010); - rejectionReason_ = de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage.RejectionReason.rejectedInvalidGameState; - - return this; - } - - // @@protoc_insertion_point(builder_scope:YourActionRejectedMessage) + + // @@protoc_insertion_point(enum_scope:YourActionRejectedMessage.RejectionReason) } - - static { - defaultInstance = new YourActionRejectedMessage(true); - defaultInstance.initFields(); - } - - // @@protoc_insertion_point(class_scope:YourActionRejectedMessage) - } - - public interface PlayersActionDoneMessageOrBuilder - extends com.google.protobuf.MessageLiteOrBuilder { - - // required uint32 gameId = 1; - boolean hasGameId(); - int getGameId(); - - // required uint32 playerId = 2; - boolean hasPlayerId(); - int getPlayerId(); - - // required .NetGameState gameState = 3; - boolean hasGameState(); - de.pokerth.protocol.ProtoBuf.NetGameState getGameState(); - - // required .NetPlayerAction playerAction = 4; - boolean hasPlayerAction(); - de.pokerth.protocol.ProtoBuf.NetPlayerAction getPlayerAction(); - - // required uint32 totalPlayerBet = 5; - boolean hasTotalPlayerBet(); - int getTotalPlayerBet(); - - // required uint32 playerMoney = 6; - boolean hasPlayerMoney(); - int getPlayerMoney(); - - // required uint32 highestSet = 7; - boolean hasHighestSet(); - int getHighestSet(); - - // required uint32 minimumRaise = 8; - boolean hasMinimumRaise(); - int getMinimumRaise(); - } - public static final class PlayersActionDoneMessage extends - com.google.protobuf.GeneratedMessageLite - implements PlayersActionDoneMessageOrBuilder { - // Use PlayersActionDoneMessage.newBuilder() to construct. - private PlayersActionDoneMessage(Builder builder) { - super(builder); - } - private PlayersActionDoneMessage(boolean noInit) {} - - private static final PlayersActionDoneMessage defaultInstance; - public static PlayersActionDoneMessage getDefaultInstance() { - return defaultInstance; - } - - public PlayersActionDoneMessage getDefaultInstanceForType() { - return defaultInstance; - } - + private int bitField0_; // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; + /** + * required uint32 gameId = 1; + */ public boolean hasGameId() { return ((bitField0_ & 0x00000001) == 0x00000001); } + /** + * required uint32 gameId = 1; + */ public int getGameId() { return gameId_; } - - // required uint32 playerId = 2; - public static final int PLAYERID_FIELD_NUMBER = 2; - private int playerId_; - public boolean hasPlayerId() { + + // required .NetGameState gameState = 2; + public static final int GAMESTATE_FIELD_NUMBER = 2; + private de.pokerth.protocol.ProtoBuf.NetGameState gameState_; + /** + * required .NetGameState gameState = 2; + */ + public boolean hasGameState() { return ((bitField0_ & 0x00000002) == 0x00000002); } - public int getPlayerId() { - return playerId_; - } - - // required .NetGameState gameState = 3; - public static final int GAMESTATE_FIELD_NUMBER = 3; - private de.pokerth.protocol.ProtoBuf.NetGameState gameState_; - public boolean hasGameState() { - return ((bitField0_ & 0x00000004) == 0x00000004); - } + /** + * required .NetGameState gameState = 2; + */ public de.pokerth.protocol.ProtoBuf.NetGameState getGameState() { return gameState_; } - - // required .NetPlayerAction playerAction = 4; - public static final int PLAYERACTION_FIELD_NUMBER = 4; - private de.pokerth.protocol.ProtoBuf.NetPlayerAction playerAction_; - public boolean hasPlayerAction() { + + // required .NetPlayerAction yourAction = 3; + public static final int YOURACTION_FIELD_NUMBER = 3; + private de.pokerth.protocol.ProtoBuf.NetPlayerAction yourAction_; + /** + * required .NetPlayerAction yourAction = 3; + */ + public boolean hasYourAction() { + return ((bitField0_ & 0x00000004) == 0x00000004); + } + /** + * required .NetPlayerAction yourAction = 3; + */ + public de.pokerth.protocol.ProtoBuf.NetPlayerAction getYourAction() { + return yourAction_; + } + + // required uint32 yourRelativeBet = 4; + public static final int YOURRELATIVEBET_FIELD_NUMBER = 4; + private int yourRelativeBet_; + /** + * required uint32 yourRelativeBet = 4; + */ + public boolean hasYourRelativeBet() { return ((bitField0_ & 0x00000008) == 0x00000008); } - public de.pokerth.protocol.ProtoBuf.NetPlayerAction getPlayerAction() { - return playerAction_; + /** + * required uint32 yourRelativeBet = 4; + */ + public int getYourRelativeBet() { + return yourRelativeBet_; } - - // required uint32 totalPlayerBet = 5; - public static final int TOTALPLAYERBET_FIELD_NUMBER = 5; - private int totalPlayerBet_; - public boolean hasTotalPlayerBet() { + + // required .YourActionRejectedMessage.RejectionReason rejectionReason = 5; + public static final int REJECTIONREASON_FIELD_NUMBER = 5; + private de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage.RejectionReason rejectionReason_; + /** + * required .YourActionRejectedMessage.RejectionReason rejectionReason = 5; + */ + public boolean hasRejectionReason() { return ((bitField0_ & 0x00000010) == 0x00000010); } - public int getTotalPlayerBet() { - return totalPlayerBet_; + /** + * required .YourActionRejectedMessage.RejectionReason rejectionReason = 5; + */ + public de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage.RejectionReason getRejectionReason() { + return rejectionReason_; } - - // required uint32 playerMoney = 6; - public static final int PLAYERMONEY_FIELD_NUMBER = 6; - private int playerMoney_; - public boolean hasPlayerMoney() { - return ((bitField0_ & 0x00000020) == 0x00000020); - } - public int getPlayerMoney() { - return playerMoney_; - } - - // required uint32 highestSet = 7; - public static final int HIGHESTSET_FIELD_NUMBER = 7; - private int highestSet_; - public boolean hasHighestSet() { - return ((bitField0_ & 0x00000040) == 0x00000040); - } - public int getHighestSet() { - return highestSet_; - } - - // required uint32 minimumRaise = 8; - public static final int MINIMUMRAISE_FIELD_NUMBER = 8; - private int minimumRaise_; - public boolean hasMinimumRaise() { - return ((bitField0_ & 0x00000080) == 0x00000080); - } - public int getMinimumRaise() { - return minimumRaise_; - } - + private void initFields() { gameId_ = 0; - playerId_ = 0; gameState_ = de.pokerth.protocol.ProtoBuf.NetGameState.netStatePreflop; - playerAction_ = de.pokerth.protocol.ProtoBuf.NetPlayerAction.netActionNone; - totalPlayerBet_ = 0; - playerMoney_ = 0; - highestSet_ = 0; - minimumRaise_ = 0; + yourAction_ = de.pokerth.protocol.ProtoBuf.NetPlayerAction.netActionNone; + yourRelativeBet_ = 0; + rejectionReason_ = de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage.RejectionReason.rejectedInvalidGameState; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; - + if (!hasGameId()) { memoizedIsInitialized = 0; return false; } - if (!hasPlayerId()) { - memoizedIsInitialized = 0; - return false; - } if (!hasGameState()) { memoizedIsInitialized = 0; return false; } - if (!hasPlayerAction()) { + if (!hasYourAction()) { memoizedIsInitialized = 0; return false; } - if (!hasTotalPlayerBet()) { + if (!hasYourRelativeBet()) { memoizedIsInitialized = 0; return false; } - if (!hasPlayerMoney()) { - memoizedIsInitialized = 0; - return false; - } - if (!hasHighestSet()) { - memoizedIsInitialized = 0; - return false; - } - if (!hasMinimumRaise()) { + if (!hasRejectionReason()) { memoizedIsInitialized = 0; return false; } memoizedIsInitialized = 1; return true; } - + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); @@ -24567,33 +30369,24 @@ public final class ProtoBuf { output.writeUInt32(1, gameId_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { - output.writeUInt32(2, playerId_); + output.writeEnum(2, gameState_.getNumber()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { - output.writeEnum(3, gameState_.getNumber()); + output.writeEnum(3, yourAction_.getNumber()); } if (((bitField0_ & 0x00000008) == 0x00000008)) { - output.writeEnum(4, playerAction_.getNumber()); + output.writeUInt32(4, yourRelativeBet_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { - output.writeUInt32(5, totalPlayerBet_); - } - if (((bitField0_ & 0x00000020) == 0x00000020)) { - output.writeUInt32(6, playerMoney_); - } - if (((bitField0_ & 0x00000040) == 0x00000040)) { - output.writeUInt32(7, highestSet_); - } - if (((bitField0_ & 0x00000080) == 0x00000080)) { - output.writeUInt32(8, minimumRaise_); + output.writeEnum(5, rejectionReason_.getNumber()); } } - + private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; - + size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream @@ -24601,181 +30394,142 @@ public final class ProtoBuf { } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(2, playerId_); + .computeEnumSize(2, gameState_.getNumber()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream - .computeEnumSize(3, gameState_.getNumber()); + .computeEnumSize(3, yourAction_.getNumber()); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += com.google.protobuf.CodedOutputStream - .computeEnumSize(4, playerAction_.getNumber()); + .computeUInt32Size(4, yourRelativeBet_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(5, totalPlayerBet_); - } - if (((bitField0_ & 0x00000020) == 0x00000020)) { - size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(6, playerMoney_); - } - if (((bitField0_ & 0x00000040) == 0x00000040)) { - size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(7, highestSet_); - } - if (((bitField0_ & 0x00000080) == 0x00000080)) { - size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(8, minimumRaise_); + .computeEnumSize(5, rejectionReason_.getNumber()); } memoizedSerializedSize = size; return size; } - + private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } - - public static de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessage parseFrom( + + public static de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data).buildParsed(); + return PARSER.parseFrom(data); } - public static de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessage parseFrom( + public static de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(data, extensionRegistry); } - public static de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessage parseFrom(byte[] data) + public static de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data).buildParsed(); + return PARSER.parseFrom(data); } - public static de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessage parseFrom( + public static de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(data, extensionRegistry); } - public static de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessage parseFrom(java.io.InputStream input) + public static de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage parseFrom(java.io.InputStream input) throws java.io.IOException { - return newBuilder().mergeFrom(input).buildParsed(); + return PARSER.parseFrom(input); } - public static de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessage parseFrom( + public static de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return newBuilder().mergeFrom(input, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(input, extensionRegistry); } - public static de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessage parseDelimitedFrom(java.io.InputStream input) + public static de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - Builder builder = newBuilder(); - if (builder.mergeDelimitedFrom(input)) { - return builder.buildParsed(); - } else { - return null; - } + return PARSER.parseDelimitedFrom(input); } - public static de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessage parseDelimitedFrom( + public static de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - Builder builder = newBuilder(); - if (builder.mergeDelimitedFrom(input, extensionRegistry)) { - return builder.buildParsed(); - } else { - return null; - } + return PARSER.parseDelimitedFrom(input, extensionRegistry); } - public static de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessage parseFrom( + public static de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return newBuilder().mergeFrom(input).buildParsed(); + return PARSER.parseFrom(input); } - public static de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessage parseFrom( + public static de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return newBuilder().mergeFrom(input, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(input, extensionRegistry); } - + public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessage prototype) { + public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } - + + /** + * Protobuf type {@code YourActionRejectedMessage} + */ public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< - de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessageOrBuilder { - // Construct using de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessage.newBuilder() + de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage, Builder> + implements de.pokerth.protocol.ProtoBuf.YourActionRejectedMessageOrBuilder { + // Construct using de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - + private void maybeForceBuilderInitialization() { } private static Builder create() { return new Builder(); } - + public Builder clear() { super.clear(); gameId_ = 0; bitField0_ = (bitField0_ & ~0x00000001); - playerId_ = 0; - bitField0_ = (bitField0_ & ~0x00000002); gameState_ = de.pokerth.protocol.ProtoBuf.NetGameState.netStatePreflop; + bitField0_ = (bitField0_ & ~0x00000002); + yourAction_ = de.pokerth.protocol.ProtoBuf.NetPlayerAction.netActionNone; bitField0_ = (bitField0_ & ~0x00000004); - playerAction_ = de.pokerth.protocol.ProtoBuf.NetPlayerAction.netActionNone; + yourRelativeBet_ = 0; bitField0_ = (bitField0_ & ~0x00000008); - totalPlayerBet_ = 0; + rejectionReason_ = de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage.RejectionReason.rejectedInvalidGameState; bitField0_ = (bitField0_ & ~0x00000010); - playerMoney_ = 0; - bitField0_ = (bitField0_ & ~0x00000020); - highestSet_ = 0; - bitField0_ = (bitField0_ & ~0x00000040); - minimumRaise_ = 0; - bitField0_ = (bitField0_ & ~0x00000080); return this; } - + public Builder clone() { return create().mergeFrom(buildPartial()); } - - public de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessage getDefaultInstanceForType() { - return de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessage.getDefaultInstance(); + + public de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage getDefaultInstanceForType() { + return de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage.getDefaultInstance(); } - - public de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessage build() { - de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessage result = buildPartial(); + + public de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage build() { + de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } - - private de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessage buildParsed() - throws com.google.protobuf.InvalidProtocolBufferException { - de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessage result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException( - result).asInvalidProtocolBufferException(); - } - return result; - } - - public de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessage buildPartial() { - de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessage result = new de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessage(this); + + public de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage buildPartial() { + de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage result = new de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { @@ -24785,114 +30539,394 @@ public final class ProtoBuf { if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } - result.playerId_ = playerId_; + result.gameState_ = gameState_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } - result.gameState_ = gameState_; + result.yourAction_ = yourAction_; if (((from_bitField0_ & 0x00000008) == 0x00000008)) { to_bitField0_ |= 0x00000008; } - result.playerAction_ = playerAction_; + result.yourRelativeBet_ = yourRelativeBet_; if (((from_bitField0_ & 0x00000010) == 0x00000010)) { to_bitField0_ |= 0x00000010; } - result.totalPlayerBet_ = totalPlayerBet_; - if (((from_bitField0_ & 0x00000020) == 0x00000020)) { - to_bitField0_ |= 0x00000020; - } - result.playerMoney_ = playerMoney_; - if (((from_bitField0_ & 0x00000040) == 0x00000040)) { - to_bitField0_ |= 0x00000040; - } - result.highestSet_ = highestSet_; - if (((from_bitField0_ & 0x00000080) == 0x00000080)) { - to_bitField0_ |= 0x00000080; - } - result.minimumRaise_ = minimumRaise_; + result.rejectionReason_ = rejectionReason_; result.bitField0_ = to_bitField0_; return result; } - - public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessage other) { - if (other == de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessage.getDefaultInstance()) return this; + + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage other) { + if (other == de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage.getDefaultInstance()) return this; if (other.hasGameId()) { setGameId(other.getGameId()); } - if (other.hasPlayerId()) { - setPlayerId(other.getPlayerId()); - } if (other.hasGameState()) { setGameState(other.getGameState()); } - if (other.hasPlayerAction()) { - setPlayerAction(other.getPlayerAction()); + if (other.hasYourAction()) { + setYourAction(other.getYourAction()); } - if (other.hasTotalPlayerBet()) { - setTotalPlayerBet(other.getTotalPlayerBet()); + if (other.hasYourRelativeBet()) { + setYourRelativeBet(other.getYourRelativeBet()); } - if (other.hasPlayerMoney()) { - setPlayerMoney(other.getPlayerMoney()); - } - if (other.hasHighestSet()) { - setHighestSet(other.getHighestSet()); - } - if (other.hasMinimumRaise()) { - setMinimumRaise(other.getMinimumRaise()); + if (other.hasRejectionReason()) { + setRejectionReason(other.getRejectionReason()); } return this; } - + public final boolean isInitialized() { if (!hasGameId()) { return false; } - if (!hasPlayerId()) { - - return false; - } if (!hasGameState()) { return false; } - if (!hasPlayerAction()) { + if (!hasYourAction()) { return false; } - if (!hasTotalPlayerBet()) { + if (!hasYourRelativeBet()) { return false; } - if (!hasPlayerMoney()) { - - return false; - } - if (!hasHighestSet()) { - - return false; - } - if (!hasMinimumRaise()) { + if (!hasRejectionReason()) { return false; } return true; } - + public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - while (true) { + de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage) e.getUnfinishedMessage(); + throw e; + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int bitField0_; + + // required uint32 gameId = 1; + private int gameId_ ; + /** + * required uint32 gameId = 1; + */ + public boolean hasGameId() { + return ((bitField0_ & 0x00000001) == 0x00000001); + } + /** + * required uint32 gameId = 1; + */ + public int getGameId() { + return gameId_; + } + /** + * required uint32 gameId = 1; + */ + public Builder setGameId(int value) { + bitField0_ |= 0x00000001; + gameId_ = value; + + return this; + } + /** + * required uint32 gameId = 1; + */ + public Builder clearGameId() { + bitField0_ = (bitField0_ & ~0x00000001); + gameId_ = 0; + + return this; + } + + // required .NetGameState gameState = 2; + private de.pokerth.protocol.ProtoBuf.NetGameState gameState_ = de.pokerth.protocol.ProtoBuf.NetGameState.netStatePreflop; + /** + * required .NetGameState gameState = 2; + */ + public boolean hasGameState() { + return ((bitField0_ & 0x00000002) == 0x00000002); + } + /** + * required .NetGameState gameState = 2; + */ + public de.pokerth.protocol.ProtoBuf.NetGameState getGameState() { + return gameState_; + } + /** + * required .NetGameState gameState = 2; + */ + public Builder setGameState(de.pokerth.protocol.ProtoBuf.NetGameState value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000002; + gameState_ = value; + + return this; + } + /** + * required .NetGameState gameState = 2; + */ + public Builder clearGameState() { + bitField0_ = (bitField0_ & ~0x00000002); + gameState_ = de.pokerth.protocol.ProtoBuf.NetGameState.netStatePreflop; + + return this; + } + + // required .NetPlayerAction yourAction = 3; + private de.pokerth.protocol.ProtoBuf.NetPlayerAction yourAction_ = de.pokerth.protocol.ProtoBuf.NetPlayerAction.netActionNone; + /** + * required .NetPlayerAction yourAction = 3; + */ + public boolean hasYourAction() { + return ((bitField0_ & 0x00000004) == 0x00000004); + } + /** + * required .NetPlayerAction yourAction = 3; + */ + public de.pokerth.protocol.ProtoBuf.NetPlayerAction getYourAction() { + return yourAction_; + } + /** + * required .NetPlayerAction yourAction = 3; + */ + public Builder setYourAction(de.pokerth.protocol.ProtoBuf.NetPlayerAction value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000004; + yourAction_ = value; + + return this; + } + /** + * required .NetPlayerAction yourAction = 3; + */ + public Builder clearYourAction() { + bitField0_ = (bitField0_ & ~0x00000004); + yourAction_ = de.pokerth.protocol.ProtoBuf.NetPlayerAction.netActionNone; + + return this; + } + + // required uint32 yourRelativeBet = 4; + private int yourRelativeBet_ ; + /** + * required uint32 yourRelativeBet = 4; + */ + public boolean hasYourRelativeBet() { + return ((bitField0_ & 0x00000008) == 0x00000008); + } + /** + * required uint32 yourRelativeBet = 4; + */ + public int getYourRelativeBet() { + return yourRelativeBet_; + } + /** + * required uint32 yourRelativeBet = 4; + */ + public Builder setYourRelativeBet(int value) { + bitField0_ |= 0x00000008; + yourRelativeBet_ = value; + + return this; + } + /** + * required uint32 yourRelativeBet = 4; + */ + public Builder clearYourRelativeBet() { + bitField0_ = (bitField0_ & ~0x00000008); + yourRelativeBet_ = 0; + + return this; + } + + // required .YourActionRejectedMessage.RejectionReason rejectionReason = 5; + private de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage.RejectionReason rejectionReason_ = de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage.RejectionReason.rejectedInvalidGameState; + /** + * required .YourActionRejectedMessage.RejectionReason rejectionReason = 5; + */ + public boolean hasRejectionReason() { + return ((bitField0_ & 0x00000010) == 0x00000010); + } + /** + * required .YourActionRejectedMessage.RejectionReason rejectionReason = 5; + */ + public de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage.RejectionReason getRejectionReason() { + return rejectionReason_; + } + /** + * required .YourActionRejectedMessage.RejectionReason rejectionReason = 5; + */ + public Builder setRejectionReason(de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage.RejectionReason value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000010; + rejectionReason_ = value; + + return this; + } + /** + * required .YourActionRejectedMessage.RejectionReason rejectionReason = 5; + */ + public Builder clearRejectionReason() { + bitField0_ = (bitField0_ & ~0x00000010); + rejectionReason_ = de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage.RejectionReason.rejectedInvalidGameState; + + return this; + } + + // @@protoc_insertion_point(builder_scope:YourActionRejectedMessage) + } + + static { + defaultInstance = new YourActionRejectedMessage(true); + defaultInstance.initFields(); + } + + // @@protoc_insertion_point(class_scope:YourActionRejectedMessage) + } + + public interface PlayersActionDoneMessageOrBuilder + extends com.google.protobuf.MessageLiteOrBuilder { + + // required uint32 gameId = 1; + /** + * required uint32 gameId = 1; + */ + boolean hasGameId(); + /** + * required uint32 gameId = 1; + */ + int getGameId(); + + // required uint32 playerId = 2; + /** + * required uint32 playerId = 2; + */ + boolean hasPlayerId(); + /** + * required uint32 playerId = 2; + */ + int getPlayerId(); + + // required .NetGameState gameState = 3; + /** + * required .NetGameState gameState = 3; + */ + boolean hasGameState(); + /** + * required .NetGameState gameState = 3; + */ + de.pokerth.protocol.ProtoBuf.NetGameState getGameState(); + + // required .NetPlayerAction playerAction = 4; + /** + * required .NetPlayerAction playerAction = 4; + */ + boolean hasPlayerAction(); + /** + * required .NetPlayerAction playerAction = 4; + */ + de.pokerth.protocol.ProtoBuf.NetPlayerAction getPlayerAction(); + + // required uint32 totalPlayerBet = 5; + /** + * required uint32 totalPlayerBet = 5; + */ + boolean hasTotalPlayerBet(); + /** + * required uint32 totalPlayerBet = 5; + */ + int getTotalPlayerBet(); + + // required uint32 playerMoney = 6; + /** + * required uint32 playerMoney = 6; + */ + boolean hasPlayerMoney(); + /** + * required uint32 playerMoney = 6; + */ + int getPlayerMoney(); + + // required uint32 highestSet = 7; + /** + * required uint32 highestSet = 7; + */ + boolean hasHighestSet(); + /** + * required uint32 highestSet = 7; + */ + int getHighestSet(); + + // required uint32 minimumRaise = 8; + /** + * required uint32 minimumRaise = 8; + */ + boolean hasMinimumRaise(); + /** + * required uint32 minimumRaise = 8; + */ + int getMinimumRaise(); + } + /** + * Protobuf type {@code PlayersActionDoneMessage} + */ + public static final class PlayersActionDoneMessage extends + com.google.protobuf.GeneratedMessageLite + implements PlayersActionDoneMessageOrBuilder { + // Use PlayersActionDoneMessage.newBuilder() to construct. + private PlayersActionDoneMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { + super(builder); + + } + private PlayersActionDoneMessage(boolean noInit) {} + + private static final PlayersActionDoneMessage defaultInstance; + public static PlayersActionDoneMessage getDefaultInstance() { + return defaultInstance; + } + + public PlayersActionDoneMessage getDefaultInstanceForType() { + return defaultInstance; + } + + private PlayersActionDoneMessage( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + initFields(); + int mutable_bitField0_ = 0; + try { + boolean done = false; + while (!done) { int tag = input.readTag(); switch (tag) { case 0: - - return this; + done = true; + break; default: { - if (!parseUnknownField(input, extensionRegistry, tag)) { - - return this; + if (!parseUnknownField(input, + extensionRegistry, tag)) { + done = true; } break; } @@ -24946,304 +30980,210 @@ public final class ProtoBuf { } } } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e.getMessage()).setUnfinishedMessage(this); + } finally { + makeExtensionsImmutable(); } - - private int bitField0_; - - // required uint32 gameId = 1; - private int gameId_ ; - public boolean hasGameId() { - return ((bitField0_ & 0x00000001) == 0x00000001); - } - public int getGameId() { - return gameId_; - } - public Builder setGameId(int value) { - bitField0_ |= 0x00000001; - gameId_ = value; - - return this; - } - public Builder clearGameId() { - bitField0_ = (bitField0_ & ~0x00000001); - gameId_ = 0; - - return this; - } - - // required uint32 playerId = 2; - private int playerId_ ; - public boolean hasPlayerId() { - return ((bitField0_ & 0x00000002) == 0x00000002); - } - public int getPlayerId() { - return playerId_; - } - public Builder setPlayerId(int value) { - bitField0_ |= 0x00000002; - playerId_ = value; - - return this; - } - public Builder clearPlayerId() { - bitField0_ = (bitField0_ & ~0x00000002); - playerId_ = 0; - - return this; - } - - // required .NetGameState gameState = 3; - private de.pokerth.protocol.ProtoBuf.NetGameState gameState_ = de.pokerth.protocol.ProtoBuf.NetGameState.netStatePreflop; - public boolean hasGameState() { - return ((bitField0_ & 0x00000004) == 0x00000004); - } - public de.pokerth.protocol.ProtoBuf.NetGameState getGameState() { - return gameState_; - } - public Builder setGameState(de.pokerth.protocol.ProtoBuf.NetGameState value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000004; - gameState_ = value; - - return this; - } - public Builder clearGameState() { - bitField0_ = (bitField0_ & ~0x00000004); - gameState_ = de.pokerth.protocol.ProtoBuf.NetGameState.netStatePreflop; - - return this; - } - - // required .NetPlayerAction playerAction = 4; - private de.pokerth.protocol.ProtoBuf.NetPlayerAction playerAction_ = de.pokerth.protocol.ProtoBuf.NetPlayerAction.netActionNone; - public boolean hasPlayerAction() { - return ((bitField0_ & 0x00000008) == 0x00000008); - } - public de.pokerth.protocol.ProtoBuf.NetPlayerAction getPlayerAction() { - return playerAction_; - } - public Builder setPlayerAction(de.pokerth.protocol.ProtoBuf.NetPlayerAction value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000008; - playerAction_ = value; - - return this; - } - public Builder clearPlayerAction() { - bitField0_ = (bitField0_ & ~0x00000008); - playerAction_ = de.pokerth.protocol.ProtoBuf.NetPlayerAction.netActionNone; - - return this; - } - - // required uint32 totalPlayerBet = 5; - private int totalPlayerBet_ ; - public boolean hasTotalPlayerBet() { - return ((bitField0_ & 0x00000010) == 0x00000010); - } - public int getTotalPlayerBet() { - return totalPlayerBet_; - } - public Builder setTotalPlayerBet(int value) { - bitField0_ |= 0x00000010; - totalPlayerBet_ = value; - - return this; - } - public Builder clearTotalPlayerBet() { - bitField0_ = (bitField0_ & ~0x00000010); - totalPlayerBet_ = 0; - - return this; - } - - // required uint32 playerMoney = 6; - private int playerMoney_ ; - public boolean hasPlayerMoney() { - return ((bitField0_ & 0x00000020) == 0x00000020); - } - public int getPlayerMoney() { - return playerMoney_; - } - public Builder setPlayerMoney(int value) { - bitField0_ |= 0x00000020; - playerMoney_ = value; - - return this; - } - public Builder clearPlayerMoney() { - bitField0_ = (bitField0_ & ~0x00000020); - playerMoney_ = 0; - - return this; - } - - // required uint32 highestSet = 7; - private int highestSet_ ; - public boolean hasHighestSet() { - return ((bitField0_ & 0x00000040) == 0x00000040); - } - public int getHighestSet() { - return highestSet_; - } - public Builder setHighestSet(int value) { - bitField0_ |= 0x00000040; - highestSet_ = value; - - return this; - } - public Builder clearHighestSet() { - bitField0_ = (bitField0_ & ~0x00000040); - highestSet_ = 0; - - return this; - } - - // required uint32 minimumRaise = 8; - private int minimumRaise_ ; - public boolean hasMinimumRaise() { - return ((bitField0_ & 0x00000080) == 0x00000080); - } - public int getMinimumRaise() { - return minimumRaise_; - } - public Builder setMinimumRaise(int value) { - bitField0_ |= 0x00000080; - minimumRaise_ = value; - - return this; - } - public Builder clearMinimumRaise() { - bitField0_ = (bitField0_ & ~0x00000080); - minimumRaise_ = 0; - - return this; - } - - // @@protoc_insertion_point(builder_scope:PlayersActionDoneMessage) } - - static { - defaultInstance = new PlayersActionDoneMessage(true); - defaultInstance.initFields(); + public static com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + public PlayersActionDoneMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PlayersActionDoneMessage(input, extensionRegistry); + } + }; + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; } - - // @@protoc_insertion_point(class_scope:PlayersActionDoneMessage) - } - - public interface DealFlopCardsMessageOrBuilder - extends com.google.protobuf.MessageLiteOrBuilder { - - // required uint32 gameId = 1; - boolean hasGameId(); - int getGameId(); - - // required uint32 flopCard1 = 2; - boolean hasFlopCard1(); - int getFlopCard1(); - - // required uint32 flopCard2 = 3; - boolean hasFlopCard2(); - int getFlopCard2(); - - // required uint32 flopCard3 = 4; - boolean hasFlopCard3(); - int getFlopCard3(); - } - public static final class DealFlopCardsMessage extends - com.google.protobuf.GeneratedMessageLite - implements DealFlopCardsMessageOrBuilder { - // Use DealFlopCardsMessage.newBuilder() to construct. - private DealFlopCardsMessage(Builder builder) { - super(builder); - } - private DealFlopCardsMessage(boolean noInit) {} - - private static final DealFlopCardsMessage defaultInstance; - public static DealFlopCardsMessage getDefaultInstance() { - return defaultInstance; - } - - public DealFlopCardsMessage getDefaultInstanceForType() { - return defaultInstance; - } - + private int bitField0_; // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; + /** + * required uint32 gameId = 1; + */ public boolean hasGameId() { return ((bitField0_ & 0x00000001) == 0x00000001); } + /** + * required uint32 gameId = 1; + */ public int getGameId() { return gameId_; } - - // required uint32 flopCard1 = 2; - public static final int FLOPCARD1_FIELD_NUMBER = 2; - private int flopCard1_; - public boolean hasFlopCard1() { + + // required uint32 playerId = 2; + public static final int PLAYERID_FIELD_NUMBER = 2; + private int playerId_; + /** + * required uint32 playerId = 2; + */ + public boolean hasPlayerId() { return ((bitField0_ & 0x00000002) == 0x00000002); } - public int getFlopCard1() { - return flopCard1_; + /** + * required uint32 playerId = 2; + */ + public int getPlayerId() { + return playerId_; } - - // required uint32 flopCard2 = 3; - public static final int FLOPCARD2_FIELD_NUMBER = 3; - private int flopCard2_; - public boolean hasFlopCard2() { + + // required .NetGameState gameState = 3; + public static final int GAMESTATE_FIELD_NUMBER = 3; + private de.pokerth.protocol.ProtoBuf.NetGameState gameState_; + /** + * required .NetGameState gameState = 3; + */ + public boolean hasGameState() { return ((bitField0_ & 0x00000004) == 0x00000004); } - public int getFlopCard2() { - return flopCard2_; + /** + * required .NetGameState gameState = 3; + */ + public de.pokerth.protocol.ProtoBuf.NetGameState getGameState() { + return gameState_; } - - // required uint32 flopCard3 = 4; - public static final int FLOPCARD3_FIELD_NUMBER = 4; - private int flopCard3_; - public boolean hasFlopCard3() { + + // required .NetPlayerAction playerAction = 4; + public static final int PLAYERACTION_FIELD_NUMBER = 4; + private de.pokerth.protocol.ProtoBuf.NetPlayerAction playerAction_; + /** + * required .NetPlayerAction playerAction = 4; + */ + public boolean hasPlayerAction() { return ((bitField0_ & 0x00000008) == 0x00000008); } - public int getFlopCard3() { - return flopCard3_; + /** + * required .NetPlayerAction playerAction = 4; + */ + public de.pokerth.protocol.ProtoBuf.NetPlayerAction getPlayerAction() { + return playerAction_; } - + + // required uint32 totalPlayerBet = 5; + public static final int TOTALPLAYERBET_FIELD_NUMBER = 5; + private int totalPlayerBet_; + /** + * required uint32 totalPlayerBet = 5; + */ + public boolean hasTotalPlayerBet() { + return ((bitField0_ & 0x00000010) == 0x00000010); + } + /** + * required uint32 totalPlayerBet = 5; + */ + public int getTotalPlayerBet() { + return totalPlayerBet_; + } + + // required uint32 playerMoney = 6; + public static final int PLAYERMONEY_FIELD_NUMBER = 6; + private int playerMoney_; + /** + * required uint32 playerMoney = 6; + */ + public boolean hasPlayerMoney() { + return ((bitField0_ & 0x00000020) == 0x00000020); + } + /** + * required uint32 playerMoney = 6; + */ + public int getPlayerMoney() { + return playerMoney_; + } + + // required uint32 highestSet = 7; + public static final int HIGHESTSET_FIELD_NUMBER = 7; + private int highestSet_; + /** + * required uint32 highestSet = 7; + */ + public boolean hasHighestSet() { + return ((bitField0_ & 0x00000040) == 0x00000040); + } + /** + * required uint32 highestSet = 7; + */ + public int getHighestSet() { + return highestSet_; + } + + // required uint32 minimumRaise = 8; + public static final int MINIMUMRAISE_FIELD_NUMBER = 8; + private int minimumRaise_; + /** + * required uint32 minimumRaise = 8; + */ + public boolean hasMinimumRaise() { + return ((bitField0_ & 0x00000080) == 0x00000080); + } + /** + * required uint32 minimumRaise = 8; + */ + public int getMinimumRaise() { + return minimumRaise_; + } + private void initFields() { gameId_ = 0; - flopCard1_ = 0; - flopCard2_ = 0; - flopCard3_ = 0; + playerId_ = 0; + gameState_ = de.pokerth.protocol.ProtoBuf.NetGameState.netStatePreflop; + playerAction_ = de.pokerth.protocol.ProtoBuf.NetPlayerAction.netActionNone; + totalPlayerBet_ = 0; + playerMoney_ = 0; + highestSet_ = 0; + minimumRaise_ = 0; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; - + if (!hasGameId()) { memoizedIsInitialized = 0; return false; } - if (!hasFlopCard1()) { + if (!hasPlayerId()) { memoizedIsInitialized = 0; return false; } - if (!hasFlopCard2()) { + if (!hasGameState()) { memoizedIsInitialized = 0; return false; } - if (!hasFlopCard3()) { + if (!hasPlayerAction()) { + memoizedIsInitialized = 0; + return false; + } + if (!hasTotalPlayerBet()) { + memoizedIsInitialized = 0; + return false; + } + if (!hasPlayerMoney()) { + memoizedIsInitialized = 0; + return false; + } + if (!hasHighestSet()) { + memoizedIsInitialized = 0; + return false; + } + if (!hasMinimumRaise()) { memoizedIsInitialized = 0; return false; } memoizedIsInitialized = 1; return true; } - + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); @@ -25251,21 +31191,33 @@ public final class ProtoBuf { output.writeUInt32(1, gameId_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { - output.writeUInt32(2, flopCard1_); + output.writeUInt32(2, playerId_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { - output.writeUInt32(3, flopCard2_); + output.writeEnum(3, gameState_.getNumber()); } if (((bitField0_ & 0x00000008) == 0x00000008)) { - output.writeUInt32(4, flopCard3_); + output.writeEnum(4, playerAction_.getNumber()); + } + if (((bitField0_ & 0x00000010) == 0x00000010)) { + output.writeUInt32(5, totalPlayerBet_); + } + if (((bitField0_ & 0x00000020) == 0x00000020)) { + output.writeUInt32(6, playerMoney_); + } + if (((bitField0_ & 0x00000040) == 0x00000040)) { + output.writeUInt32(7, highestSet_); + } + if (((bitField0_ & 0x00000080) == 0x00000080)) { + output.writeUInt32(8, minimumRaise_); } } - + private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; - + size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream @@ -25273,157 +31225,160 @@ public final class ProtoBuf { } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(2, flopCard1_); + .computeUInt32Size(2, playerId_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(3, flopCard2_); + .computeEnumSize(3, gameState_.getNumber()); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(4, flopCard3_); + .computeEnumSize(4, playerAction_.getNumber()); + } + if (((bitField0_ & 0x00000010) == 0x00000010)) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(5, totalPlayerBet_); + } + if (((bitField0_ & 0x00000020) == 0x00000020)) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(6, playerMoney_); + } + if (((bitField0_ & 0x00000040) == 0x00000040)) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(7, highestSet_); + } + if (((bitField0_ & 0x00000080) == 0x00000080)) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(8, minimumRaise_); } memoizedSerializedSize = size; return size; } - + private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } - - public static de.pokerth.protocol.ProtoBuf.DealFlopCardsMessage parseFrom( + + public static de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data).buildParsed(); + return PARSER.parseFrom(data); } - public static de.pokerth.protocol.ProtoBuf.DealFlopCardsMessage parseFrom( + public static de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessage parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(data, extensionRegistry); } - public static de.pokerth.protocol.ProtoBuf.DealFlopCardsMessage parseFrom(byte[] data) + public static de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessage parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data).buildParsed(); + return PARSER.parseFrom(data); } - public static de.pokerth.protocol.ProtoBuf.DealFlopCardsMessage parseFrom( + public static de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessage parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(data, extensionRegistry); } - public static de.pokerth.protocol.ProtoBuf.DealFlopCardsMessage parseFrom(java.io.InputStream input) + public static de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessage parseFrom(java.io.InputStream input) throws java.io.IOException { - return newBuilder().mergeFrom(input).buildParsed(); + return PARSER.parseFrom(input); } - public static de.pokerth.protocol.ProtoBuf.DealFlopCardsMessage parseFrom( + public static de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessage parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return newBuilder().mergeFrom(input, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(input, extensionRegistry); } - public static de.pokerth.protocol.ProtoBuf.DealFlopCardsMessage parseDelimitedFrom(java.io.InputStream input) + public static de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessage parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - Builder builder = newBuilder(); - if (builder.mergeDelimitedFrom(input)) { - return builder.buildParsed(); - } else { - return null; - } + return PARSER.parseDelimitedFrom(input); } - public static de.pokerth.protocol.ProtoBuf.DealFlopCardsMessage parseDelimitedFrom( + public static de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessage parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - Builder builder = newBuilder(); - if (builder.mergeDelimitedFrom(input, extensionRegistry)) { - return builder.buildParsed(); - } else { - return null; - } + return PARSER.parseDelimitedFrom(input, extensionRegistry); } - public static de.pokerth.protocol.ProtoBuf.DealFlopCardsMessage parseFrom( + public static de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessage parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return newBuilder().mergeFrom(input).buildParsed(); + return PARSER.parseFrom(input); } - public static de.pokerth.protocol.ProtoBuf.DealFlopCardsMessage parseFrom( + public static de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessage parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return newBuilder().mergeFrom(input, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(input, extensionRegistry); } - + public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.DealFlopCardsMessage prototype) { + public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessage prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } - + + /** + * Protobuf type {@code PlayersActionDoneMessage} + */ public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< - de.pokerth.protocol.ProtoBuf.DealFlopCardsMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.DealFlopCardsMessageOrBuilder { - // Construct using de.pokerth.protocol.ProtoBuf.DealFlopCardsMessage.newBuilder() + de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessage, Builder> + implements de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessageOrBuilder { + // Construct using de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - + private void maybeForceBuilderInitialization() { } private static Builder create() { return new Builder(); } - + public Builder clear() { super.clear(); gameId_ = 0; bitField0_ = (bitField0_ & ~0x00000001); - flopCard1_ = 0; + playerId_ = 0; bitField0_ = (bitField0_ & ~0x00000002); - flopCard2_ = 0; + gameState_ = de.pokerth.protocol.ProtoBuf.NetGameState.netStatePreflop; bitField0_ = (bitField0_ & ~0x00000004); - flopCard3_ = 0; + playerAction_ = de.pokerth.protocol.ProtoBuf.NetPlayerAction.netActionNone; bitField0_ = (bitField0_ & ~0x00000008); + totalPlayerBet_ = 0; + bitField0_ = (bitField0_ & ~0x00000010); + playerMoney_ = 0; + bitField0_ = (bitField0_ & ~0x00000020); + highestSet_ = 0; + bitField0_ = (bitField0_ & ~0x00000040); + minimumRaise_ = 0; + bitField0_ = (bitField0_ & ~0x00000080); return this; } - + public Builder clone() { return create().mergeFrom(buildPartial()); } - - public de.pokerth.protocol.ProtoBuf.DealFlopCardsMessage getDefaultInstanceForType() { - return de.pokerth.protocol.ProtoBuf.DealFlopCardsMessage.getDefaultInstance(); + + public de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessage getDefaultInstanceForType() { + return de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessage.getDefaultInstance(); } - - public de.pokerth.protocol.ProtoBuf.DealFlopCardsMessage build() { - de.pokerth.protocol.ProtoBuf.DealFlopCardsMessage result = buildPartial(); + + public de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessage build() { + de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessage result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } - - private de.pokerth.protocol.ProtoBuf.DealFlopCardsMessage buildParsed() - throws com.google.protobuf.InvalidProtocolBufferException { - de.pokerth.protocol.ProtoBuf.DealFlopCardsMessage result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException( - result).asInvalidProtocolBufferException(); - } - return result; - } - - public de.pokerth.protocol.ProtoBuf.DealFlopCardsMessage buildPartial() { - de.pokerth.protocol.ProtoBuf.DealFlopCardsMessage result = new de.pokerth.protocol.ProtoBuf.DealFlopCardsMessage(this); + + public de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessage buildPartial() { + de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessage result = new de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessage(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { @@ -25433,70 +31388,483 @@ public final class ProtoBuf { if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } - result.flopCard1_ = flopCard1_; + result.playerId_ = playerId_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } - result.flopCard2_ = flopCard2_; + result.gameState_ = gameState_; if (((from_bitField0_ & 0x00000008) == 0x00000008)) { to_bitField0_ |= 0x00000008; } - result.flopCard3_ = flopCard3_; + result.playerAction_ = playerAction_; + if (((from_bitField0_ & 0x00000010) == 0x00000010)) { + to_bitField0_ |= 0x00000010; + } + result.totalPlayerBet_ = totalPlayerBet_; + if (((from_bitField0_ & 0x00000020) == 0x00000020)) { + to_bitField0_ |= 0x00000020; + } + result.playerMoney_ = playerMoney_; + if (((from_bitField0_ & 0x00000040) == 0x00000040)) { + to_bitField0_ |= 0x00000040; + } + result.highestSet_ = highestSet_; + if (((from_bitField0_ & 0x00000080) == 0x00000080)) { + to_bitField0_ |= 0x00000080; + } + result.minimumRaise_ = minimumRaise_; result.bitField0_ = to_bitField0_; return result; } - - public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.DealFlopCardsMessage other) { - if (other == de.pokerth.protocol.ProtoBuf.DealFlopCardsMessage.getDefaultInstance()) return this; + + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessage other) { + if (other == de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessage.getDefaultInstance()) return this; if (other.hasGameId()) { setGameId(other.getGameId()); } - if (other.hasFlopCard1()) { - setFlopCard1(other.getFlopCard1()); + if (other.hasPlayerId()) { + setPlayerId(other.getPlayerId()); } - if (other.hasFlopCard2()) { - setFlopCard2(other.getFlopCard2()); + if (other.hasGameState()) { + setGameState(other.getGameState()); } - if (other.hasFlopCard3()) { - setFlopCard3(other.getFlopCard3()); + if (other.hasPlayerAction()) { + setPlayerAction(other.getPlayerAction()); + } + if (other.hasTotalPlayerBet()) { + setTotalPlayerBet(other.getTotalPlayerBet()); + } + if (other.hasPlayerMoney()) { + setPlayerMoney(other.getPlayerMoney()); + } + if (other.hasHighestSet()) { + setHighestSet(other.getHighestSet()); + } + if (other.hasMinimumRaise()) { + setMinimumRaise(other.getMinimumRaise()); } return this; } - + public final boolean isInitialized() { if (!hasGameId()) { return false; } - if (!hasFlopCard1()) { + if (!hasPlayerId()) { return false; } - if (!hasFlopCard2()) { + if (!hasGameState()) { return false; } - if (!hasFlopCard3()) { + if (!hasPlayerAction()) { + + return false; + } + if (!hasTotalPlayerBet()) { + + return false; + } + if (!hasPlayerMoney()) { + + return false; + } + if (!hasHighestSet()) { + + return false; + } + if (!hasMinimumRaise()) { return false; } return true; } - + public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - while (true) { + de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessage parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessage) e.getUnfinishedMessage(); + throw e; + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int bitField0_; + + // required uint32 gameId = 1; + private int gameId_ ; + /** + * required uint32 gameId = 1; + */ + public boolean hasGameId() { + return ((bitField0_ & 0x00000001) == 0x00000001); + } + /** + * required uint32 gameId = 1; + */ + public int getGameId() { + return gameId_; + } + /** + * required uint32 gameId = 1; + */ + public Builder setGameId(int value) { + bitField0_ |= 0x00000001; + gameId_ = value; + + return this; + } + /** + * required uint32 gameId = 1; + */ + public Builder clearGameId() { + bitField0_ = (bitField0_ & ~0x00000001); + gameId_ = 0; + + return this; + } + + // required uint32 playerId = 2; + private int playerId_ ; + /** + * required uint32 playerId = 2; + */ + public boolean hasPlayerId() { + return ((bitField0_ & 0x00000002) == 0x00000002); + } + /** + * required uint32 playerId = 2; + */ + public int getPlayerId() { + return playerId_; + } + /** + * required uint32 playerId = 2; + */ + public Builder setPlayerId(int value) { + bitField0_ |= 0x00000002; + playerId_ = value; + + return this; + } + /** + * required uint32 playerId = 2; + */ + public Builder clearPlayerId() { + bitField0_ = (bitField0_ & ~0x00000002); + playerId_ = 0; + + return this; + } + + // required .NetGameState gameState = 3; + private de.pokerth.protocol.ProtoBuf.NetGameState gameState_ = de.pokerth.protocol.ProtoBuf.NetGameState.netStatePreflop; + /** + * required .NetGameState gameState = 3; + */ + public boolean hasGameState() { + return ((bitField0_ & 0x00000004) == 0x00000004); + } + /** + * required .NetGameState gameState = 3; + */ + public de.pokerth.protocol.ProtoBuf.NetGameState getGameState() { + return gameState_; + } + /** + * required .NetGameState gameState = 3; + */ + public Builder setGameState(de.pokerth.protocol.ProtoBuf.NetGameState value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000004; + gameState_ = value; + + return this; + } + /** + * required .NetGameState gameState = 3; + */ + public Builder clearGameState() { + bitField0_ = (bitField0_ & ~0x00000004); + gameState_ = de.pokerth.protocol.ProtoBuf.NetGameState.netStatePreflop; + + return this; + } + + // required .NetPlayerAction playerAction = 4; + private de.pokerth.protocol.ProtoBuf.NetPlayerAction playerAction_ = de.pokerth.protocol.ProtoBuf.NetPlayerAction.netActionNone; + /** + * required .NetPlayerAction playerAction = 4; + */ + public boolean hasPlayerAction() { + return ((bitField0_ & 0x00000008) == 0x00000008); + } + /** + * required .NetPlayerAction playerAction = 4; + */ + public de.pokerth.protocol.ProtoBuf.NetPlayerAction getPlayerAction() { + return playerAction_; + } + /** + * required .NetPlayerAction playerAction = 4; + */ + public Builder setPlayerAction(de.pokerth.protocol.ProtoBuf.NetPlayerAction value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000008; + playerAction_ = value; + + return this; + } + /** + * required .NetPlayerAction playerAction = 4; + */ + public Builder clearPlayerAction() { + bitField0_ = (bitField0_ & ~0x00000008); + playerAction_ = de.pokerth.protocol.ProtoBuf.NetPlayerAction.netActionNone; + + return this; + } + + // required uint32 totalPlayerBet = 5; + private int totalPlayerBet_ ; + /** + * required uint32 totalPlayerBet = 5; + */ + public boolean hasTotalPlayerBet() { + return ((bitField0_ & 0x00000010) == 0x00000010); + } + /** + * required uint32 totalPlayerBet = 5; + */ + public int getTotalPlayerBet() { + return totalPlayerBet_; + } + /** + * required uint32 totalPlayerBet = 5; + */ + public Builder setTotalPlayerBet(int value) { + bitField0_ |= 0x00000010; + totalPlayerBet_ = value; + + return this; + } + /** + * required uint32 totalPlayerBet = 5; + */ + public Builder clearTotalPlayerBet() { + bitField0_ = (bitField0_ & ~0x00000010); + totalPlayerBet_ = 0; + + return this; + } + + // required uint32 playerMoney = 6; + private int playerMoney_ ; + /** + * required uint32 playerMoney = 6; + */ + public boolean hasPlayerMoney() { + return ((bitField0_ & 0x00000020) == 0x00000020); + } + /** + * required uint32 playerMoney = 6; + */ + public int getPlayerMoney() { + return playerMoney_; + } + /** + * required uint32 playerMoney = 6; + */ + public Builder setPlayerMoney(int value) { + bitField0_ |= 0x00000020; + playerMoney_ = value; + + return this; + } + /** + * required uint32 playerMoney = 6; + */ + public Builder clearPlayerMoney() { + bitField0_ = (bitField0_ & ~0x00000020); + playerMoney_ = 0; + + return this; + } + + // required uint32 highestSet = 7; + private int highestSet_ ; + /** + * required uint32 highestSet = 7; + */ + public boolean hasHighestSet() { + return ((bitField0_ & 0x00000040) == 0x00000040); + } + /** + * required uint32 highestSet = 7; + */ + public int getHighestSet() { + return highestSet_; + } + /** + * required uint32 highestSet = 7; + */ + public Builder setHighestSet(int value) { + bitField0_ |= 0x00000040; + highestSet_ = value; + + return this; + } + /** + * required uint32 highestSet = 7; + */ + public Builder clearHighestSet() { + bitField0_ = (bitField0_ & ~0x00000040); + highestSet_ = 0; + + return this; + } + + // required uint32 minimumRaise = 8; + private int minimumRaise_ ; + /** + * required uint32 minimumRaise = 8; + */ + public boolean hasMinimumRaise() { + return ((bitField0_ & 0x00000080) == 0x00000080); + } + /** + * required uint32 minimumRaise = 8; + */ + public int getMinimumRaise() { + return minimumRaise_; + } + /** + * required uint32 minimumRaise = 8; + */ + public Builder setMinimumRaise(int value) { + bitField0_ |= 0x00000080; + minimumRaise_ = value; + + return this; + } + /** + * required uint32 minimumRaise = 8; + */ + public Builder clearMinimumRaise() { + bitField0_ = (bitField0_ & ~0x00000080); + minimumRaise_ = 0; + + return this; + } + + // @@protoc_insertion_point(builder_scope:PlayersActionDoneMessage) + } + + static { + defaultInstance = new PlayersActionDoneMessage(true); + defaultInstance.initFields(); + } + + // @@protoc_insertion_point(class_scope:PlayersActionDoneMessage) + } + + public interface DealFlopCardsMessageOrBuilder + extends com.google.protobuf.MessageLiteOrBuilder { + + // required uint32 gameId = 1; + /** + * required uint32 gameId = 1; + */ + boolean hasGameId(); + /** + * required uint32 gameId = 1; + */ + int getGameId(); + + // required uint32 flopCard1 = 2; + /** + * required uint32 flopCard1 = 2; + */ + boolean hasFlopCard1(); + /** + * required uint32 flopCard1 = 2; + */ + int getFlopCard1(); + + // required uint32 flopCard2 = 3; + /** + * required uint32 flopCard2 = 3; + */ + boolean hasFlopCard2(); + /** + * required uint32 flopCard2 = 3; + */ + int getFlopCard2(); + + // required uint32 flopCard3 = 4; + /** + * required uint32 flopCard3 = 4; + */ + boolean hasFlopCard3(); + /** + * required uint32 flopCard3 = 4; + */ + int getFlopCard3(); + } + /** + * Protobuf type {@code DealFlopCardsMessage} + */ + public static final class DealFlopCardsMessage extends + com.google.protobuf.GeneratedMessageLite + implements DealFlopCardsMessageOrBuilder { + // Use DealFlopCardsMessage.newBuilder() to construct. + private DealFlopCardsMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { + super(builder); + + } + private DealFlopCardsMessage(boolean noInit) {} + + private static final DealFlopCardsMessage defaultInstance; + public static DealFlopCardsMessage getDefaultInstance() { + return defaultInstance; + } + + public DealFlopCardsMessage getDefaultInstanceForType() { + return defaultInstance; + } + + private DealFlopCardsMessage( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + initFields(); + int mutable_bitField0_ = 0; + try { + boolean done = false; + while (!done) { int tag = input.readTag(); switch (tag) { case 0: - - return this; + done = true; + break; default: { - if (!parseUnknownField(input, extensionRegistry, tag)) { - - return this; + if (!parseUnknownField(input, + extensionRegistry, tag)) { + done = true; } break; } @@ -25522,176 +31890,126 @@ public final class ProtoBuf { } } } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e.getMessage()).setUnfinishedMessage(this); + } finally { + makeExtensionsImmutable(); } - - private int bitField0_; - - // required uint32 gameId = 1; - private int gameId_ ; - public boolean hasGameId() { - return ((bitField0_ & 0x00000001) == 0x00000001); - } - public int getGameId() { - return gameId_; - } - public Builder setGameId(int value) { - bitField0_ |= 0x00000001; - gameId_ = value; - - return this; - } - public Builder clearGameId() { - bitField0_ = (bitField0_ & ~0x00000001); - gameId_ = 0; - - return this; - } - - // required uint32 flopCard1 = 2; - private int flopCard1_ ; - public boolean hasFlopCard1() { - return ((bitField0_ & 0x00000002) == 0x00000002); - } - public int getFlopCard1() { - return flopCard1_; - } - public Builder setFlopCard1(int value) { - bitField0_ |= 0x00000002; - flopCard1_ = value; - - return this; - } - public Builder clearFlopCard1() { - bitField0_ = (bitField0_ & ~0x00000002); - flopCard1_ = 0; - - return this; - } - - // required uint32 flopCard2 = 3; - private int flopCard2_ ; - public boolean hasFlopCard2() { - return ((bitField0_ & 0x00000004) == 0x00000004); - } - public int getFlopCard2() { - return flopCard2_; - } - public Builder setFlopCard2(int value) { - bitField0_ |= 0x00000004; - flopCard2_ = value; - - return this; - } - public Builder clearFlopCard2() { - bitField0_ = (bitField0_ & ~0x00000004); - flopCard2_ = 0; - - return this; - } - - // required uint32 flopCard3 = 4; - private int flopCard3_ ; - public boolean hasFlopCard3() { - return ((bitField0_ & 0x00000008) == 0x00000008); - } - public int getFlopCard3() { - return flopCard3_; - } - public Builder setFlopCard3(int value) { - bitField0_ |= 0x00000008; - flopCard3_ = value; - - return this; - } - public Builder clearFlopCard3() { - bitField0_ = (bitField0_ & ~0x00000008); - flopCard3_ = 0; - - return this; - } - - // @@protoc_insertion_point(builder_scope:DealFlopCardsMessage) } - - static { - defaultInstance = new DealFlopCardsMessage(true); - defaultInstance.initFields(); + public static com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + public DealFlopCardsMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DealFlopCardsMessage(input, extensionRegistry); + } + }; + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; } - - // @@protoc_insertion_point(class_scope:DealFlopCardsMessage) - } - - public interface DealTurnCardMessageOrBuilder - extends com.google.protobuf.MessageLiteOrBuilder { - - // required uint32 gameId = 1; - boolean hasGameId(); - int getGameId(); - - // required uint32 turnCard = 2; - boolean hasTurnCard(); - int getTurnCard(); - } - public static final class DealTurnCardMessage extends - com.google.protobuf.GeneratedMessageLite - implements DealTurnCardMessageOrBuilder { - // Use DealTurnCardMessage.newBuilder() to construct. - private DealTurnCardMessage(Builder builder) { - super(builder); - } - private DealTurnCardMessage(boolean noInit) {} - - private static final DealTurnCardMessage defaultInstance; - public static DealTurnCardMessage getDefaultInstance() { - return defaultInstance; - } - - public DealTurnCardMessage getDefaultInstanceForType() { - return defaultInstance; - } - + private int bitField0_; // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; + /** + * required uint32 gameId = 1; + */ public boolean hasGameId() { return ((bitField0_ & 0x00000001) == 0x00000001); } + /** + * required uint32 gameId = 1; + */ public int getGameId() { return gameId_; } - - // required uint32 turnCard = 2; - public static final int TURNCARD_FIELD_NUMBER = 2; - private int turnCard_; - public boolean hasTurnCard() { + + // required uint32 flopCard1 = 2; + public static final int FLOPCARD1_FIELD_NUMBER = 2; + private int flopCard1_; + /** + * required uint32 flopCard1 = 2; + */ + public boolean hasFlopCard1() { return ((bitField0_ & 0x00000002) == 0x00000002); } - public int getTurnCard() { - return turnCard_; + /** + * required uint32 flopCard1 = 2; + */ + public int getFlopCard1() { + return flopCard1_; } - + + // required uint32 flopCard2 = 3; + public static final int FLOPCARD2_FIELD_NUMBER = 3; + private int flopCard2_; + /** + * required uint32 flopCard2 = 3; + */ + public boolean hasFlopCard2() { + return ((bitField0_ & 0x00000004) == 0x00000004); + } + /** + * required uint32 flopCard2 = 3; + */ + public int getFlopCard2() { + return flopCard2_; + } + + // required uint32 flopCard3 = 4; + public static final int FLOPCARD3_FIELD_NUMBER = 4; + private int flopCard3_; + /** + * required uint32 flopCard3 = 4; + */ + public boolean hasFlopCard3() { + return ((bitField0_ & 0x00000008) == 0x00000008); + } + /** + * required uint32 flopCard3 = 4; + */ + public int getFlopCard3() { + return flopCard3_; + } + private void initFields() { gameId_ = 0; - turnCard_ = 0; + flopCard1_ = 0; + flopCard2_ = 0; + flopCard3_ = 0; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; - + if (!hasGameId()) { memoizedIsInitialized = 0; return false; } - if (!hasTurnCard()) { + if (!hasFlopCard1()) { + memoizedIsInitialized = 0; + return false; + } + if (!hasFlopCard2()) { + memoizedIsInitialized = 0; + return false; + } + if (!hasFlopCard3()) { memoizedIsInitialized = 0; return false; } memoizedIsInitialized = 1; return true; } - + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); @@ -25699,15 +32017,21 @@ public final class ProtoBuf { output.writeUInt32(1, gameId_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { - output.writeUInt32(2, turnCard_); + output.writeUInt32(2, flopCard1_); + } + if (((bitField0_ & 0x00000004) == 0x00000004)) { + output.writeUInt32(3, flopCard2_); + } + if (((bitField0_ & 0x00000008) == 0x00000008)) { + output.writeUInt32(4, flopCard3_); } } - + private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; - + size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream @@ -25715,145 +32039,136 @@ public final class ProtoBuf { } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(2, turnCard_); + .computeUInt32Size(2, flopCard1_); + } + if (((bitField0_ & 0x00000004) == 0x00000004)) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(3, flopCard2_); + } + if (((bitField0_ & 0x00000008) == 0x00000008)) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(4, flopCard3_); } memoizedSerializedSize = size; return size; } - + private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } - - public static de.pokerth.protocol.ProtoBuf.DealTurnCardMessage parseFrom( + + public static de.pokerth.protocol.ProtoBuf.DealFlopCardsMessage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data).buildParsed(); + return PARSER.parseFrom(data); } - public static de.pokerth.protocol.ProtoBuf.DealTurnCardMessage parseFrom( + public static de.pokerth.protocol.ProtoBuf.DealFlopCardsMessage parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(data, extensionRegistry); } - public static de.pokerth.protocol.ProtoBuf.DealTurnCardMessage parseFrom(byte[] data) + public static de.pokerth.protocol.ProtoBuf.DealFlopCardsMessage parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data).buildParsed(); + return PARSER.parseFrom(data); } - public static de.pokerth.protocol.ProtoBuf.DealTurnCardMessage parseFrom( + public static de.pokerth.protocol.ProtoBuf.DealFlopCardsMessage parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(data, extensionRegistry); } - public static de.pokerth.protocol.ProtoBuf.DealTurnCardMessage parseFrom(java.io.InputStream input) + public static de.pokerth.protocol.ProtoBuf.DealFlopCardsMessage parseFrom(java.io.InputStream input) throws java.io.IOException { - return newBuilder().mergeFrom(input).buildParsed(); + return PARSER.parseFrom(input); } - public static de.pokerth.protocol.ProtoBuf.DealTurnCardMessage parseFrom( + public static de.pokerth.protocol.ProtoBuf.DealFlopCardsMessage parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return newBuilder().mergeFrom(input, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(input, extensionRegistry); } - public static de.pokerth.protocol.ProtoBuf.DealTurnCardMessage parseDelimitedFrom(java.io.InputStream input) + public static de.pokerth.protocol.ProtoBuf.DealFlopCardsMessage parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - Builder builder = newBuilder(); - if (builder.mergeDelimitedFrom(input)) { - return builder.buildParsed(); - } else { - return null; - } + return PARSER.parseDelimitedFrom(input); } - public static de.pokerth.protocol.ProtoBuf.DealTurnCardMessage parseDelimitedFrom( + public static de.pokerth.protocol.ProtoBuf.DealFlopCardsMessage parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - Builder builder = newBuilder(); - if (builder.mergeDelimitedFrom(input, extensionRegistry)) { - return builder.buildParsed(); - } else { - return null; - } + return PARSER.parseDelimitedFrom(input, extensionRegistry); } - public static de.pokerth.protocol.ProtoBuf.DealTurnCardMessage parseFrom( + public static de.pokerth.protocol.ProtoBuf.DealFlopCardsMessage parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return newBuilder().mergeFrom(input).buildParsed(); + return PARSER.parseFrom(input); } - public static de.pokerth.protocol.ProtoBuf.DealTurnCardMessage parseFrom( + public static de.pokerth.protocol.ProtoBuf.DealFlopCardsMessage parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return newBuilder().mergeFrom(input, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(input, extensionRegistry); } - + public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.DealTurnCardMessage prototype) { + public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.DealFlopCardsMessage prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } - + + /** + * Protobuf type {@code DealFlopCardsMessage} + */ public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< - de.pokerth.protocol.ProtoBuf.DealTurnCardMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.DealTurnCardMessageOrBuilder { - // Construct using de.pokerth.protocol.ProtoBuf.DealTurnCardMessage.newBuilder() + de.pokerth.protocol.ProtoBuf.DealFlopCardsMessage, Builder> + implements de.pokerth.protocol.ProtoBuf.DealFlopCardsMessageOrBuilder { + // Construct using de.pokerth.protocol.ProtoBuf.DealFlopCardsMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - + private void maybeForceBuilderInitialization() { } private static Builder create() { return new Builder(); } - + public Builder clear() { super.clear(); gameId_ = 0; bitField0_ = (bitField0_ & ~0x00000001); - turnCard_ = 0; + flopCard1_ = 0; bitField0_ = (bitField0_ & ~0x00000002); + flopCard2_ = 0; + bitField0_ = (bitField0_ & ~0x00000004); + flopCard3_ = 0; + bitField0_ = (bitField0_ & ~0x00000008); return this; } - + public Builder clone() { return create().mergeFrom(buildPartial()); } - - public de.pokerth.protocol.ProtoBuf.DealTurnCardMessage getDefaultInstanceForType() { - return de.pokerth.protocol.ProtoBuf.DealTurnCardMessage.getDefaultInstance(); + + public de.pokerth.protocol.ProtoBuf.DealFlopCardsMessage getDefaultInstanceForType() { + return de.pokerth.protocol.ProtoBuf.DealFlopCardsMessage.getDefaultInstance(); } - - public de.pokerth.protocol.ProtoBuf.DealTurnCardMessage build() { - de.pokerth.protocol.ProtoBuf.DealTurnCardMessage result = buildPartial(); + + public de.pokerth.protocol.ProtoBuf.DealFlopCardsMessage build() { + de.pokerth.protocol.ProtoBuf.DealFlopCardsMessage result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } - - private de.pokerth.protocol.ProtoBuf.DealTurnCardMessage buildParsed() - throws com.google.protobuf.InvalidProtocolBufferException { - de.pokerth.protocol.ProtoBuf.DealTurnCardMessage result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException( - result).asInvalidProtocolBufferException(); - } - return result; - } - - public de.pokerth.protocol.ProtoBuf.DealTurnCardMessage buildPartial() { - de.pokerth.protocol.ProtoBuf.DealTurnCardMessage result = new de.pokerth.protocol.ProtoBuf.DealTurnCardMessage(this); + + public de.pokerth.protocol.ProtoBuf.DealFlopCardsMessage buildPartial() { + de.pokerth.protocol.ProtoBuf.DealFlopCardsMessage result = new de.pokerth.protocol.ProtoBuf.DealFlopCardsMessage(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { @@ -25863,48 +32178,281 @@ public final class ProtoBuf { if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } - result.turnCard_ = turnCard_; + result.flopCard1_ = flopCard1_; + if (((from_bitField0_ & 0x00000004) == 0x00000004)) { + to_bitField0_ |= 0x00000004; + } + result.flopCard2_ = flopCard2_; + if (((from_bitField0_ & 0x00000008) == 0x00000008)) { + to_bitField0_ |= 0x00000008; + } + result.flopCard3_ = flopCard3_; result.bitField0_ = to_bitField0_; return result; } - - public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.DealTurnCardMessage other) { - if (other == de.pokerth.protocol.ProtoBuf.DealTurnCardMessage.getDefaultInstance()) return this; + + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.DealFlopCardsMessage other) { + if (other == de.pokerth.protocol.ProtoBuf.DealFlopCardsMessage.getDefaultInstance()) return this; if (other.hasGameId()) { setGameId(other.getGameId()); } - if (other.hasTurnCard()) { - setTurnCard(other.getTurnCard()); + if (other.hasFlopCard1()) { + setFlopCard1(other.getFlopCard1()); + } + if (other.hasFlopCard2()) { + setFlopCard2(other.getFlopCard2()); + } + if (other.hasFlopCard3()) { + setFlopCard3(other.getFlopCard3()); } return this; } - + public final boolean isInitialized() { if (!hasGameId()) { return false; } - if (!hasTurnCard()) { + if (!hasFlopCard1()) { + + return false; + } + if (!hasFlopCard2()) { + + return false; + } + if (!hasFlopCard3()) { return false; } return true; } - + public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - while (true) { + de.pokerth.protocol.ProtoBuf.DealFlopCardsMessage parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (de.pokerth.protocol.ProtoBuf.DealFlopCardsMessage) e.getUnfinishedMessage(); + throw e; + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int bitField0_; + + // required uint32 gameId = 1; + private int gameId_ ; + /** + * required uint32 gameId = 1; + */ + public boolean hasGameId() { + return ((bitField0_ & 0x00000001) == 0x00000001); + } + /** + * required uint32 gameId = 1; + */ + public int getGameId() { + return gameId_; + } + /** + * required uint32 gameId = 1; + */ + public Builder setGameId(int value) { + bitField0_ |= 0x00000001; + gameId_ = value; + + return this; + } + /** + * required uint32 gameId = 1; + */ + public Builder clearGameId() { + bitField0_ = (bitField0_ & ~0x00000001); + gameId_ = 0; + + return this; + } + + // required uint32 flopCard1 = 2; + private int flopCard1_ ; + /** + * required uint32 flopCard1 = 2; + */ + public boolean hasFlopCard1() { + return ((bitField0_ & 0x00000002) == 0x00000002); + } + /** + * required uint32 flopCard1 = 2; + */ + public int getFlopCard1() { + return flopCard1_; + } + /** + * required uint32 flopCard1 = 2; + */ + public Builder setFlopCard1(int value) { + bitField0_ |= 0x00000002; + flopCard1_ = value; + + return this; + } + /** + * required uint32 flopCard1 = 2; + */ + public Builder clearFlopCard1() { + bitField0_ = (bitField0_ & ~0x00000002); + flopCard1_ = 0; + + return this; + } + + // required uint32 flopCard2 = 3; + private int flopCard2_ ; + /** + * required uint32 flopCard2 = 3; + */ + public boolean hasFlopCard2() { + return ((bitField0_ & 0x00000004) == 0x00000004); + } + /** + * required uint32 flopCard2 = 3; + */ + public int getFlopCard2() { + return flopCard2_; + } + /** + * required uint32 flopCard2 = 3; + */ + public Builder setFlopCard2(int value) { + bitField0_ |= 0x00000004; + flopCard2_ = value; + + return this; + } + /** + * required uint32 flopCard2 = 3; + */ + public Builder clearFlopCard2() { + bitField0_ = (bitField0_ & ~0x00000004); + flopCard2_ = 0; + + return this; + } + + // required uint32 flopCard3 = 4; + private int flopCard3_ ; + /** + * required uint32 flopCard3 = 4; + */ + public boolean hasFlopCard3() { + return ((bitField0_ & 0x00000008) == 0x00000008); + } + /** + * required uint32 flopCard3 = 4; + */ + public int getFlopCard3() { + return flopCard3_; + } + /** + * required uint32 flopCard3 = 4; + */ + public Builder setFlopCard3(int value) { + bitField0_ |= 0x00000008; + flopCard3_ = value; + + return this; + } + /** + * required uint32 flopCard3 = 4; + */ + public Builder clearFlopCard3() { + bitField0_ = (bitField0_ & ~0x00000008); + flopCard3_ = 0; + + return this; + } + + // @@protoc_insertion_point(builder_scope:DealFlopCardsMessage) + } + + static { + defaultInstance = new DealFlopCardsMessage(true); + defaultInstance.initFields(); + } + + // @@protoc_insertion_point(class_scope:DealFlopCardsMessage) + } + + public interface DealTurnCardMessageOrBuilder + extends com.google.protobuf.MessageLiteOrBuilder { + + // required uint32 gameId = 1; + /** + * required uint32 gameId = 1; + */ + boolean hasGameId(); + /** + * required uint32 gameId = 1; + */ + int getGameId(); + + // required uint32 turnCard = 2; + /** + * required uint32 turnCard = 2; + */ + boolean hasTurnCard(); + /** + * required uint32 turnCard = 2; + */ + int getTurnCard(); + } + /** + * Protobuf type {@code DealTurnCardMessage} + */ + public static final class DealTurnCardMessage extends + com.google.protobuf.GeneratedMessageLite + implements DealTurnCardMessageOrBuilder { + // Use DealTurnCardMessage.newBuilder() to construct. + private DealTurnCardMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { + super(builder); + + } + private DealTurnCardMessage(boolean noInit) {} + + private static final DealTurnCardMessage defaultInstance; + public static DealTurnCardMessage getDefaultInstance() { + return defaultInstance; + } + + public DealTurnCardMessage getDefaultInstanceForType() { + return defaultInstance; + } + + private DealTurnCardMessage( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + initFields(); + int mutable_bitField0_ = 0; + try { + boolean done = false; + while (!done) { int tag = input.readTag(); switch (tag) { case 0: - - return this; + done = true; + break; default: { - if (!parseUnknownField(input, extensionRegistry, tag)) { - - return this; + if (!parseUnknownField(input, + extensionRegistry, tag)) { + done = true; } break; } @@ -25920,134 +32468,84 @@ public final class ProtoBuf { } } } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e.getMessage()).setUnfinishedMessage(this); + } finally { + makeExtensionsImmutable(); } - - private int bitField0_; - - // required uint32 gameId = 1; - private int gameId_ ; - public boolean hasGameId() { - return ((bitField0_ & 0x00000001) == 0x00000001); - } - public int getGameId() { - return gameId_; - } - public Builder setGameId(int value) { - bitField0_ |= 0x00000001; - gameId_ = value; - - return this; - } - public Builder clearGameId() { - bitField0_ = (bitField0_ & ~0x00000001); - gameId_ = 0; - - return this; - } - - // required uint32 turnCard = 2; - private int turnCard_ ; - public boolean hasTurnCard() { - return ((bitField0_ & 0x00000002) == 0x00000002); - } - public int getTurnCard() { - return turnCard_; - } - public Builder setTurnCard(int value) { - bitField0_ |= 0x00000002; - turnCard_ = value; - - return this; - } - public Builder clearTurnCard() { - bitField0_ = (bitField0_ & ~0x00000002); - turnCard_ = 0; - - return this; - } - - // @@protoc_insertion_point(builder_scope:DealTurnCardMessage) } - - static { - defaultInstance = new DealTurnCardMessage(true); - defaultInstance.initFields(); + public static com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + public DealTurnCardMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DealTurnCardMessage(input, extensionRegistry); + } + }; + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; } - - // @@protoc_insertion_point(class_scope:DealTurnCardMessage) - } - - public interface DealRiverCardMessageOrBuilder - extends com.google.protobuf.MessageLiteOrBuilder { - - // required uint32 gameId = 1; - boolean hasGameId(); - int getGameId(); - - // required uint32 riverCard = 2; - boolean hasRiverCard(); - int getRiverCard(); - } - public static final class DealRiverCardMessage extends - com.google.protobuf.GeneratedMessageLite - implements DealRiverCardMessageOrBuilder { - // Use DealRiverCardMessage.newBuilder() to construct. - private DealRiverCardMessage(Builder builder) { - super(builder); - } - private DealRiverCardMessage(boolean noInit) {} - - private static final DealRiverCardMessage defaultInstance; - public static DealRiverCardMessage getDefaultInstance() { - return defaultInstance; - } - - public DealRiverCardMessage getDefaultInstanceForType() { - return defaultInstance; - } - + private int bitField0_; // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; + /** + * required uint32 gameId = 1; + */ public boolean hasGameId() { return ((bitField0_ & 0x00000001) == 0x00000001); } + /** + * required uint32 gameId = 1; + */ public int getGameId() { return gameId_; } - - // required uint32 riverCard = 2; - public static final int RIVERCARD_FIELD_NUMBER = 2; - private int riverCard_; - public boolean hasRiverCard() { + + // required uint32 turnCard = 2; + public static final int TURNCARD_FIELD_NUMBER = 2; + private int turnCard_; + /** + * required uint32 turnCard = 2; + */ + public boolean hasTurnCard() { return ((bitField0_ & 0x00000002) == 0x00000002); } - public int getRiverCard() { - return riverCard_; + /** + * required uint32 turnCard = 2; + */ + public int getTurnCard() { + return turnCard_; } - + private void initFields() { gameId_ = 0; - riverCard_ = 0; + turnCard_ = 0; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; - + if (!hasGameId()) { memoizedIsInitialized = 0; return false; } - if (!hasRiverCard()) { + if (!hasTurnCard()) { memoizedIsInitialized = 0; return false; } memoizedIsInitialized = 1; return true; } - + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); @@ -26055,15 +32553,15 @@ public final class ProtoBuf { output.writeUInt32(1, gameId_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { - output.writeUInt32(2, riverCard_); + output.writeUInt32(2, turnCard_); } } - + private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; - + size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream @@ -26071,145 +32569,124 @@ public final class ProtoBuf { } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(2, riverCard_); + .computeUInt32Size(2, turnCard_); } memoizedSerializedSize = size; return size; } - + private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } - - public static de.pokerth.protocol.ProtoBuf.DealRiverCardMessage parseFrom( + + public static de.pokerth.protocol.ProtoBuf.DealTurnCardMessage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data).buildParsed(); + return PARSER.parseFrom(data); } - public static de.pokerth.protocol.ProtoBuf.DealRiverCardMessage parseFrom( + public static de.pokerth.protocol.ProtoBuf.DealTurnCardMessage parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(data, extensionRegistry); } - public static de.pokerth.protocol.ProtoBuf.DealRiverCardMessage parseFrom(byte[] data) + public static de.pokerth.protocol.ProtoBuf.DealTurnCardMessage parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data).buildParsed(); + return PARSER.parseFrom(data); } - public static de.pokerth.protocol.ProtoBuf.DealRiverCardMessage parseFrom( + public static de.pokerth.protocol.ProtoBuf.DealTurnCardMessage parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(data, extensionRegistry); } - public static de.pokerth.protocol.ProtoBuf.DealRiverCardMessage parseFrom(java.io.InputStream input) + public static de.pokerth.protocol.ProtoBuf.DealTurnCardMessage parseFrom(java.io.InputStream input) throws java.io.IOException { - return newBuilder().mergeFrom(input).buildParsed(); + return PARSER.parseFrom(input); } - public static de.pokerth.protocol.ProtoBuf.DealRiverCardMessage parseFrom( + public static de.pokerth.protocol.ProtoBuf.DealTurnCardMessage parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return newBuilder().mergeFrom(input, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(input, extensionRegistry); } - public static de.pokerth.protocol.ProtoBuf.DealRiverCardMessage parseDelimitedFrom(java.io.InputStream input) + public static de.pokerth.protocol.ProtoBuf.DealTurnCardMessage parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - Builder builder = newBuilder(); - if (builder.mergeDelimitedFrom(input)) { - return builder.buildParsed(); - } else { - return null; - } + return PARSER.parseDelimitedFrom(input); } - public static de.pokerth.protocol.ProtoBuf.DealRiverCardMessage parseDelimitedFrom( + public static de.pokerth.protocol.ProtoBuf.DealTurnCardMessage parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - Builder builder = newBuilder(); - if (builder.mergeDelimitedFrom(input, extensionRegistry)) { - return builder.buildParsed(); - } else { - return null; - } + return PARSER.parseDelimitedFrom(input, extensionRegistry); } - public static de.pokerth.protocol.ProtoBuf.DealRiverCardMessage parseFrom( + public static de.pokerth.protocol.ProtoBuf.DealTurnCardMessage parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return newBuilder().mergeFrom(input).buildParsed(); + return PARSER.parseFrom(input); } - public static de.pokerth.protocol.ProtoBuf.DealRiverCardMessage parseFrom( + public static de.pokerth.protocol.ProtoBuf.DealTurnCardMessage parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return newBuilder().mergeFrom(input, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(input, extensionRegistry); } - + public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.DealRiverCardMessage prototype) { + public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.DealTurnCardMessage prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } - + + /** + * Protobuf type {@code DealTurnCardMessage} + */ public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< - de.pokerth.protocol.ProtoBuf.DealRiverCardMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.DealRiverCardMessageOrBuilder { - // Construct using de.pokerth.protocol.ProtoBuf.DealRiverCardMessage.newBuilder() + de.pokerth.protocol.ProtoBuf.DealTurnCardMessage, Builder> + implements de.pokerth.protocol.ProtoBuf.DealTurnCardMessageOrBuilder { + // Construct using de.pokerth.protocol.ProtoBuf.DealTurnCardMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - + private void maybeForceBuilderInitialization() { } private static Builder create() { return new Builder(); } - + public Builder clear() { super.clear(); gameId_ = 0; bitField0_ = (bitField0_ & ~0x00000001); - riverCard_ = 0; + turnCard_ = 0; bitField0_ = (bitField0_ & ~0x00000002); return this; } - + public Builder clone() { return create().mergeFrom(buildPartial()); } - - public de.pokerth.protocol.ProtoBuf.DealRiverCardMessage getDefaultInstanceForType() { - return de.pokerth.protocol.ProtoBuf.DealRiverCardMessage.getDefaultInstance(); + + public de.pokerth.protocol.ProtoBuf.DealTurnCardMessage getDefaultInstanceForType() { + return de.pokerth.protocol.ProtoBuf.DealTurnCardMessage.getDefaultInstance(); } - - public de.pokerth.protocol.ProtoBuf.DealRiverCardMessage build() { - de.pokerth.protocol.ProtoBuf.DealRiverCardMessage result = buildPartial(); + + public de.pokerth.protocol.ProtoBuf.DealTurnCardMessage build() { + de.pokerth.protocol.ProtoBuf.DealTurnCardMessage result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } - - private de.pokerth.protocol.ProtoBuf.DealRiverCardMessage buildParsed() - throws com.google.protobuf.InvalidProtocolBufferException { - de.pokerth.protocol.ProtoBuf.DealRiverCardMessage result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException( - result).asInvalidProtocolBufferException(); - } - return result; - } - - public de.pokerth.protocol.ProtoBuf.DealRiverCardMessage buildPartial() { - de.pokerth.protocol.ProtoBuf.DealRiverCardMessage result = new de.pokerth.protocol.ProtoBuf.DealRiverCardMessage(this); + + public de.pokerth.protocol.ProtoBuf.DealTurnCardMessage buildPartial() { + de.pokerth.protocol.ProtoBuf.DealTurnCardMessage result = new de.pokerth.protocol.ProtoBuf.DealTurnCardMessage(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { @@ -26219,48 +32696,193 @@ public final class ProtoBuf { if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } - result.riverCard_ = riverCard_; + result.turnCard_ = turnCard_; result.bitField0_ = to_bitField0_; return result; } - - public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.DealRiverCardMessage other) { - if (other == de.pokerth.protocol.ProtoBuf.DealRiverCardMessage.getDefaultInstance()) return this; + + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.DealTurnCardMessage other) { + if (other == de.pokerth.protocol.ProtoBuf.DealTurnCardMessage.getDefaultInstance()) return this; if (other.hasGameId()) { setGameId(other.getGameId()); } - if (other.hasRiverCard()) { - setRiverCard(other.getRiverCard()); + if (other.hasTurnCard()) { + setTurnCard(other.getTurnCard()); } return this; } - + public final boolean isInitialized() { if (!hasGameId()) { return false; } - if (!hasRiverCard()) { + if (!hasTurnCard()) { return false; } return true; } - + public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - while (true) { + de.pokerth.protocol.ProtoBuf.DealTurnCardMessage parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (de.pokerth.protocol.ProtoBuf.DealTurnCardMessage) e.getUnfinishedMessage(); + throw e; + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int bitField0_; + + // required uint32 gameId = 1; + private int gameId_ ; + /** + * required uint32 gameId = 1; + */ + public boolean hasGameId() { + return ((bitField0_ & 0x00000001) == 0x00000001); + } + /** + * required uint32 gameId = 1; + */ + public int getGameId() { + return gameId_; + } + /** + * required uint32 gameId = 1; + */ + public Builder setGameId(int value) { + bitField0_ |= 0x00000001; + gameId_ = value; + + return this; + } + /** + * required uint32 gameId = 1; + */ + public Builder clearGameId() { + bitField0_ = (bitField0_ & ~0x00000001); + gameId_ = 0; + + return this; + } + + // required uint32 turnCard = 2; + private int turnCard_ ; + /** + * required uint32 turnCard = 2; + */ + public boolean hasTurnCard() { + return ((bitField0_ & 0x00000002) == 0x00000002); + } + /** + * required uint32 turnCard = 2; + */ + public int getTurnCard() { + return turnCard_; + } + /** + * required uint32 turnCard = 2; + */ + public Builder setTurnCard(int value) { + bitField0_ |= 0x00000002; + turnCard_ = value; + + return this; + } + /** + * required uint32 turnCard = 2; + */ + public Builder clearTurnCard() { + bitField0_ = (bitField0_ & ~0x00000002); + turnCard_ = 0; + + return this; + } + + // @@protoc_insertion_point(builder_scope:DealTurnCardMessage) + } + + static { + defaultInstance = new DealTurnCardMessage(true); + defaultInstance.initFields(); + } + + // @@protoc_insertion_point(class_scope:DealTurnCardMessage) + } + + public interface DealRiverCardMessageOrBuilder + extends com.google.protobuf.MessageLiteOrBuilder { + + // required uint32 gameId = 1; + /** + * required uint32 gameId = 1; + */ + boolean hasGameId(); + /** + * required uint32 gameId = 1; + */ + int getGameId(); + + // required uint32 riverCard = 2; + /** + * required uint32 riverCard = 2; + */ + boolean hasRiverCard(); + /** + * required uint32 riverCard = 2; + */ + int getRiverCard(); + } + /** + * Protobuf type {@code DealRiverCardMessage} + */ + public static final class DealRiverCardMessage extends + com.google.protobuf.GeneratedMessageLite + implements DealRiverCardMessageOrBuilder { + // Use DealRiverCardMessage.newBuilder() to construct. + private DealRiverCardMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { + super(builder); + + } + private DealRiverCardMessage(boolean noInit) {} + + private static final DealRiverCardMessage defaultInstance; + public static DealRiverCardMessage getDefaultInstance() { + return defaultInstance; + } + + public DealRiverCardMessage getDefaultInstanceForType() { + return defaultInstance; + } + + private DealRiverCardMessage( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + initFields(); + int mutable_bitField0_ = 0; + try { + boolean done = false; + while (!done) { int tag = input.readTag(); switch (tag) { case 0: - - return this; + done = true; + break; default: { - if (!parseUnknownField(input, extensionRegistry, tag)) { - - return this; + if (!parseUnknownField(input, + extensionRegistry, tag)) { + done = true; } break; } @@ -26276,417 +32898,544 @@ public final class ProtoBuf { } } } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e.getMessage()).setUnfinishedMessage(this); + } finally { + makeExtensionsImmutable(); + } + } + public static com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + public DealRiverCardMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DealRiverCardMessage(input, extensionRegistry); + } + }; + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + private int bitField0_; + // required uint32 gameId = 1; + public static final int GAMEID_FIELD_NUMBER = 1; + private int gameId_; + /** + * required uint32 gameId = 1; + */ + public boolean hasGameId() { + return ((bitField0_ & 0x00000001) == 0x00000001); + } + /** + * required uint32 gameId = 1; + */ + public int getGameId() { + return gameId_; + } + + // required uint32 riverCard = 2; + public static final int RIVERCARD_FIELD_NUMBER = 2; + private int riverCard_; + /** + * required uint32 riverCard = 2; + */ + public boolean hasRiverCard() { + return ((bitField0_ & 0x00000002) == 0x00000002); + } + /** + * required uint32 riverCard = 2; + */ + public int getRiverCard() { + return riverCard_; + } + + private void initFields() { + gameId_ = 0; + riverCard_ = 0; + } + private byte memoizedIsInitialized = -1; + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized != -1) return isInitialized == 1; + + if (!hasGameId()) { + memoizedIsInitialized = 0; + return false; + } + if (!hasRiverCard()) { + memoizedIsInitialized = 0; + return false; + } + memoizedIsInitialized = 1; + return true; + } + + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + getSerializedSize(); + if (((bitField0_ & 0x00000001) == 0x00000001)) { + output.writeUInt32(1, gameId_); + } + if (((bitField0_ & 0x00000002) == 0x00000002)) { + output.writeUInt32(2, riverCard_); + } + } + + private int memoizedSerializedSize = -1; + public int getSerializedSize() { + int size = memoizedSerializedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) == 0x00000001)) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(1, gameId_); + } + if (((bitField0_ & 0x00000002) == 0x00000002)) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(2, riverCard_); + } + memoizedSerializedSize = size; + return size; + } + + private static final long serialVersionUID = 0L; + @java.lang.Override + protected java.lang.Object writeReplace() + throws java.io.ObjectStreamException { + return super.writeReplace(); + } + + public static de.pokerth.protocol.ProtoBuf.DealRiverCardMessage parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static de.pokerth.protocol.ProtoBuf.DealRiverCardMessage parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static de.pokerth.protocol.ProtoBuf.DealRiverCardMessage parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static de.pokerth.protocol.ProtoBuf.DealRiverCardMessage parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static de.pokerth.protocol.ProtoBuf.DealRiverCardMessage parseFrom(java.io.InputStream input) + throws java.io.IOException { + return PARSER.parseFrom(input); + } + public static de.pokerth.protocol.ProtoBuf.DealRiverCardMessage parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseFrom(input, extensionRegistry); + } + public static de.pokerth.protocol.ProtoBuf.DealRiverCardMessage parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return PARSER.parseDelimitedFrom(input); + } + public static de.pokerth.protocol.ProtoBuf.DealRiverCardMessage parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseDelimitedFrom(input, extensionRegistry); + } + public static de.pokerth.protocol.ProtoBuf.DealRiverCardMessage parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return PARSER.parseFrom(input); + } + public static de.pokerth.protocol.ProtoBuf.DealRiverCardMessage parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseFrom(input, extensionRegistry); + } + + public static Builder newBuilder() { return Builder.create(); } + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.DealRiverCardMessage prototype) { + return newBuilder().mergeFrom(prototype); + } + public Builder toBuilder() { return newBuilder(this); } + + /** + * Protobuf type {@code DealRiverCardMessage} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageLite.Builder< + de.pokerth.protocol.ProtoBuf.DealRiverCardMessage, Builder> + implements de.pokerth.protocol.ProtoBuf.DealRiverCardMessageOrBuilder { + // Construct using de.pokerth.protocol.ProtoBuf.DealRiverCardMessage.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + } + private static Builder create() { + return new Builder(); + } + + public Builder clear() { + super.clear(); + gameId_ = 0; + bitField0_ = (bitField0_ & ~0x00000001); + riverCard_ = 0; + bitField0_ = (bitField0_ & ~0x00000002); + return this; + } + + public Builder clone() { + return create().mergeFrom(buildPartial()); + } + + public de.pokerth.protocol.ProtoBuf.DealRiverCardMessage getDefaultInstanceForType() { + return de.pokerth.protocol.ProtoBuf.DealRiverCardMessage.getDefaultInstance(); + } + + public de.pokerth.protocol.ProtoBuf.DealRiverCardMessage build() { + de.pokerth.protocol.ProtoBuf.DealRiverCardMessage result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + public de.pokerth.protocol.ProtoBuf.DealRiverCardMessage buildPartial() { + de.pokerth.protocol.ProtoBuf.DealRiverCardMessage result = new de.pokerth.protocol.ProtoBuf.DealRiverCardMessage(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) == 0x00000001)) { + to_bitField0_ |= 0x00000001; + } + result.gameId_ = gameId_; + if (((from_bitField0_ & 0x00000002) == 0x00000002)) { + to_bitField0_ |= 0x00000002; + } + result.riverCard_ = riverCard_; + result.bitField0_ = to_bitField0_; + return result; + } + + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.DealRiverCardMessage other) { + if (other == de.pokerth.protocol.ProtoBuf.DealRiverCardMessage.getDefaultInstance()) return this; + if (other.hasGameId()) { + setGameId(other.getGameId()); + } + if (other.hasRiverCard()) { + setRiverCard(other.getRiverCard()); + } + return this; + } + + public final boolean isInitialized() { + if (!hasGameId()) { + + return false; + } + if (!hasRiverCard()) { + + return false; + } + return true; + } + + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + de.pokerth.protocol.ProtoBuf.DealRiverCardMessage parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (de.pokerth.protocol.ProtoBuf.DealRiverCardMessage) e.getUnfinishedMessage(); + throw e; + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; } - private int bitField0_; - + // required uint32 gameId = 1; private int gameId_ ; + /** + * required uint32 gameId = 1; + */ public boolean hasGameId() { return ((bitField0_ & 0x00000001) == 0x00000001); } + /** + * required uint32 gameId = 1; + */ public int getGameId() { return gameId_; } + /** + * required uint32 gameId = 1; + */ public Builder setGameId(int value) { bitField0_ |= 0x00000001; gameId_ = value; return this; } + /** + * required uint32 gameId = 1; + */ public Builder clearGameId() { bitField0_ = (bitField0_ & ~0x00000001); gameId_ = 0; return this; } - + // required uint32 riverCard = 2; private int riverCard_ ; + /** + * required uint32 riverCard = 2; + */ public boolean hasRiverCard() { return ((bitField0_ & 0x00000002) == 0x00000002); } + /** + * required uint32 riverCard = 2; + */ public int getRiverCard() { return riverCard_; } + /** + * required uint32 riverCard = 2; + */ public Builder setRiverCard(int value) { bitField0_ |= 0x00000002; riverCard_ = value; return this; } + /** + * required uint32 riverCard = 2; + */ public Builder clearRiverCard() { bitField0_ = (bitField0_ & ~0x00000002); riverCard_ = 0; return this; } - + // @@protoc_insertion_point(builder_scope:DealRiverCardMessage) } - + static { defaultInstance = new DealRiverCardMessage(true); defaultInstance.initFields(); } - + // @@protoc_insertion_point(class_scope:DealRiverCardMessage) } - + public interface AllInShowCardsMessageOrBuilder extends com.google.protobuf.MessageLiteOrBuilder { - + // required uint32 gameId = 1; + /** + * required uint32 gameId = 1; + */ boolean hasGameId(); + /** + * required uint32 gameId = 1; + */ int getGameId(); - + // repeated .AllInShowCardsMessage.PlayerAllIn playersAllIn = 2; + /** + * repeated .AllInShowCardsMessage.PlayerAllIn playersAllIn = 2; + */ java.util.List getPlayersAllInList(); + /** + * repeated .AllInShowCardsMessage.PlayerAllIn playersAllIn = 2; + */ de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.PlayerAllIn getPlayersAllIn(int index); + /** + * repeated .AllInShowCardsMessage.PlayerAllIn playersAllIn = 2; + */ int getPlayersAllInCount(); } + /** + * Protobuf type {@code AllInShowCardsMessage} + */ public static final class AllInShowCardsMessage extends com.google.protobuf.GeneratedMessageLite implements AllInShowCardsMessageOrBuilder { // Use AllInShowCardsMessage.newBuilder() to construct. - private AllInShowCardsMessage(Builder builder) { + private AllInShowCardsMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); + } private AllInShowCardsMessage(boolean noInit) {} - + private static final AllInShowCardsMessage defaultInstance; public static AllInShowCardsMessage getDefaultInstance() { return defaultInstance; } - + public AllInShowCardsMessage getDefaultInstanceForType() { return defaultInstance; } - + + private AllInShowCardsMessage( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + initFields(); + int mutable_bitField0_ = 0; + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: { + if (!parseUnknownField(input, + extensionRegistry, tag)) { + done = true; + } + break; + } + case 8: { + bitField0_ |= 0x00000001; + gameId_ = input.readUInt32(); + break; + } + case 18: { + if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) { + playersAllIn_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000002; + } + playersAllIn_.add(input.readMessage(de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.PlayerAllIn.PARSER, extensionRegistry)); + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e.getMessage()).setUnfinishedMessage(this); + } finally { + if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) { + playersAllIn_ = java.util.Collections.unmodifiableList(playersAllIn_); + } + makeExtensionsImmutable(); + } + } + public static com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + public AllInShowCardsMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AllInShowCardsMessage(input, extensionRegistry); + } + }; + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + public interface PlayerAllInOrBuilder extends com.google.protobuf.MessageLiteOrBuilder { - + // required uint32 playerId = 1; + /** + * required uint32 playerId = 1; + */ boolean hasPlayerId(); + /** + * required uint32 playerId = 1; + */ int getPlayerId(); - + // required uint32 allInCard1 = 2; + /** + * required uint32 allInCard1 = 2; + */ boolean hasAllInCard1(); + /** + * required uint32 allInCard1 = 2; + */ int getAllInCard1(); - + // required uint32 allInCard2 = 3; + /** + * required uint32 allInCard2 = 3; + */ boolean hasAllInCard2(); + /** + * required uint32 allInCard2 = 3; + */ int getAllInCard2(); } + /** + * Protobuf type {@code AllInShowCardsMessage.PlayerAllIn} + */ public static final class PlayerAllIn extends com.google.protobuf.GeneratedMessageLite implements PlayerAllInOrBuilder { // Use PlayerAllIn.newBuilder() to construct. - private PlayerAllIn(Builder builder) { + private PlayerAllIn(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); + } private PlayerAllIn(boolean noInit) {} - + private static final PlayerAllIn defaultInstance; public static PlayerAllIn getDefaultInstance() { return defaultInstance; } - + public PlayerAllIn getDefaultInstanceForType() { return defaultInstance; } - - private int bitField0_; - // required uint32 playerId = 1; - public static final int PLAYERID_FIELD_NUMBER = 1; - private int playerId_; - public boolean hasPlayerId() { - return ((bitField0_ & 0x00000001) == 0x00000001); - } - public int getPlayerId() { - return playerId_; - } - - // required uint32 allInCard1 = 2; - public static final int ALLINCARD1_FIELD_NUMBER = 2; - private int allInCard1_; - public boolean hasAllInCard1() { - return ((bitField0_ & 0x00000002) == 0x00000002); - } - public int getAllInCard1() { - return allInCard1_; - } - - // required uint32 allInCard2 = 3; - public static final int ALLINCARD2_FIELD_NUMBER = 3; - private int allInCard2_; - public boolean hasAllInCard2() { - return ((bitField0_ & 0x00000004) == 0x00000004); - } - public int getAllInCard2() { - return allInCard2_; - } - - private void initFields() { - playerId_ = 0; - allInCard1_ = 0; - allInCard2_ = 0; - } - private byte memoizedIsInitialized = -1; - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; - - if (!hasPlayerId()) { - memoizedIsInitialized = 0; - return false; - } - if (!hasAllInCard1()) { - memoizedIsInitialized = 0; - return false; - } - if (!hasAllInCard2()) { - memoizedIsInitialized = 0; - return false; - } - memoizedIsInitialized = 1; - return true; - } - - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - getSerializedSize(); - if (((bitField0_ & 0x00000001) == 0x00000001)) { - output.writeUInt32(1, playerId_); - } - if (((bitField0_ & 0x00000002) == 0x00000002)) { - output.writeUInt32(2, allInCard1_); - } - if (((bitField0_ & 0x00000004) == 0x00000004)) { - output.writeUInt32(3, allInCard2_); - } - } - - private int memoizedSerializedSize = -1; - public int getSerializedSize() { - int size = memoizedSerializedSize; - if (size != -1) return size; - - size = 0; - if (((bitField0_ & 0x00000001) == 0x00000001)) { - size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(1, playerId_); - } - if (((bitField0_ & 0x00000002) == 0x00000002)) { - size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(2, allInCard1_); - } - if (((bitField0_ & 0x00000004) == 0x00000004)) { - size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(3, allInCard2_); - } - memoizedSerializedSize = size; - return size; - } - - private static final long serialVersionUID = 0L; - @java.lang.Override - protected java.lang.Object writeReplace() - throws java.io.ObjectStreamException { - return super.writeReplace(); - } - - public static de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.PlayerAllIn parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data).buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.PlayerAllIn parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data, extensionRegistry) - .buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.PlayerAllIn parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data).buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.PlayerAllIn parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data, extensionRegistry) - .buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.PlayerAllIn parseFrom(java.io.InputStream input) - throws java.io.IOException { - return newBuilder().mergeFrom(input).buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.PlayerAllIn parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return newBuilder().mergeFrom(input, extensionRegistry) - .buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.PlayerAllIn parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - Builder builder = newBuilder(); - if (builder.mergeDelimitedFrom(input)) { - return builder.buildParsed(); - } else { - return null; - } - } - public static de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.PlayerAllIn parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - Builder builder = newBuilder(); - if (builder.mergeDelimitedFrom(input, extensionRegistry)) { - return builder.buildParsed(); - } else { - return null; - } - } - public static de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.PlayerAllIn parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return newBuilder().mergeFrom(input).buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.PlayerAllIn parseFrom( + + private PlayerAllIn( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return newBuilder().mergeFrom(input, extensionRegistry) - .buildParsed(); - } - - public static Builder newBuilder() { return Builder.create(); } - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.PlayerAllIn prototype) { - return newBuilder().mergeFrom(prototype); - } - public Builder toBuilder() { return newBuilder(this); } - - public static final class Builder extends - com.google.protobuf.GeneratedMessageLite.Builder< - de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.PlayerAllIn, Builder> - implements de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.PlayerAllInOrBuilder { - // Construct using de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.PlayerAllIn.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - } - private static Builder create() { - return new Builder(); - } - - public Builder clear() { - super.clear(); - playerId_ = 0; - bitField0_ = (bitField0_ & ~0x00000001); - allInCard1_ = 0; - bitField0_ = (bitField0_ & ~0x00000002); - allInCard2_ = 0; - bitField0_ = (bitField0_ & ~0x00000004); - return this; - } - - public Builder clone() { - return create().mergeFrom(buildPartial()); - } - - public de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.PlayerAllIn getDefaultInstanceForType() { - return de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.PlayerAllIn.getDefaultInstance(); - } - - public de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.PlayerAllIn build() { - de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.PlayerAllIn result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - private de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.PlayerAllIn buildParsed() - throws com.google.protobuf.InvalidProtocolBufferException { - de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.PlayerAllIn result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException( - result).asInvalidProtocolBufferException(); - } - return result; - } - - public de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.PlayerAllIn buildPartial() { - de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.PlayerAllIn result = new de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.PlayerAllIn(this); - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) == 0x00000001)) { - to_bitField0_ |= 0x00000001; - } - result.playerId_ = playerId_; - if (((from_bitField0_ & 0x00000002) == 0x00000002)) { - to_bitField0_ |= 0x00000002; - } - result.allInCard1_ = allInCard1_; - if (((from_bitField0_ & 0x00000004) == 0x00000004)) { - to_bitField0_ |= 0x00000004; - } - result.allInCard2_ = allInCard2_; - result.bitField0_ = to_bitField0_; - return result; - } - - public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.PlayerAllIn other) { - if (other == de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.PlayerAllIn.getDefaultInstance()) return this; - if (other.hasPlayerId()) { - setPlayerId(other.getPlayerId()); - } - if (other.hasAllInCard1()) { - setAllInCard1(other.getAllInCard1()); - } - if (other.hasAllInCard2()) { - setAllInCard2(other.getAllInCard2()); - } - return this; - } - - public final boolean isInitialized() { - if (!hasPlayerId()) { - - return false; - } - if (!hasAllInCard1()) { - - return false; - } - if (!hasAllInCard2()) { - - return false; - } - return true; - } - - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - while (true) { + throws com.google.protobuf.InvalidProtocolBufferException { + initFields(); + int mutable_bitField0_ = 0; + try { + boolean done = false; + while (!done) { int tag = input.readTag(); switch (tag) { case 0: - - return this; + done = true; + break; default: { - if (!parseUnknownField(input, extensionRegistry, tag)) { - - return this; + if (!parseUnknownField(input, + extensionRegistry, tag)) { + done = true; } break; } @@ -26707,116 +33456,485 @@ public final class ProtoBuf { } } } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e.getMessage()).setUnfinishedMessage(this); + } finally { + makeExtensionsImmutable(); + } + } + public static com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + public PlayerAllIn parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PlayerAllIn(input, extensionRegistry); + } + }; + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + private int bitField0_; + // required uint32 playerId = 1; + public static final int PLAYERID_FIELD_NUMBER = 1; + private int playerId_; + /** + * required uint32 playerId = 1; + */ + public boolean hasPlayerId() { + return ((bitField0_ & 0x00000001) == 0x00000001); + } + /** + * required uint32 playerId = 1; + */ + public int getPlayerId() { + return playerId_; + } + + // required uint32 allInCard1 = 2; + public static final int ALLINCARD1_FIELD_NUMBER = 2; + private int allInCard1_; + /** + * required uint32 allInCard1 = 2; + */ + public boolean hasAllInCard1() { + return ((bitField0_ & 0x00000002) == 0x00000002); + } + /** + * required uint32 allInCard1 = 2; + */ + public int getAllInCard1() { + return allInCard1_; + } + + // required uint32 allInCard2 = 3; + public static final int ALLINCARD2_FIELD_NUMBER = 3; + private int allInCard2_; + /** + * required uint32 allInCard2 = 3; + */ + public boolean hasAllInCard2() { + return ((bitField0_ & 0x00000004) == 0x00000004); + } + /** + * required uint32 allInCard2 = 3; + */ + public int getAllInCard2() { + return allInCard2_; + } + + private void initFields() { + playerId_ = 0; + allInCard1_ = 0; + allInCard2_ = 0; + } + private byte memoizedIsInitialized = -1; + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized != -1) return isInitialized == 1; + + if (!hasPlayerId()) { + memoizedIsInitialized = 0; + return false; + } + if (!hasAllInCard1()) { + memoizedIsInitialized = 0; + return false; + } + if (!hasAllInCard2()) { + memoizedIsInitialized = 0; + return false; + } + memoizedIsInitialized = 1; + return true; + } + + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + getSerializedSize(); + if (((bitField0_ & 0x00000001) == 0x00000001)) { + output.writeUInt32(1, playerId_); + } + if (((bitField0_ & 0x00000002) == 0x00000002)) { + output.writeUInt32(2, allInCard1_); + } + if (((bitField0_ & 0x00000004) == 0x00000004)) { + output.writeUInt32(3, allInCard2_); + } + } + + private int memoizedSerializedSize = -1; + public int getSerializedSize() { + int size = memoizedSerializedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) == 0x00000001)) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(1, playerId_); + } + if (((bitField0_ & 0x00000002) == 0x00000002)) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(2, allInCard1_); + } + if (((bitField0_ & 0x00000004) == 0x00000004)) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(3, allInCard2_); + } + memoizedSerializedSize = size; + return size; + } + + private static final long serialVersionUID = 0L; + @java.lang.Override + protected java.lang.Object writeReplace() + throws java.io.ObjectStreamException { + return super.writeReplace(); + } + + public static de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.PlayerAllIn parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.PlayerAllIn parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.PlayerAllIn parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.PlayerAllIn parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.PlayerAllIn parseFrom(java.io.InputStream input) + throws java.io.IOException { + return PARSER.parseFrom(input); + } + public static de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.PlayerAllIn parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseFrom(input, extensionRegistry); + } + public static de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.PlayerAllIn parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return PARSER.parseDelimitedFrom(input); + } + public static de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.PlayerAllIn parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseDelimitedFrom(input, extensionRegistry); + } + public static de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.PlayerAllIn parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return PARSER.parseFrom(input); + } + public static de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.PlayerAllIn parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseFrom(input, extensionRegistry); + } + + public static Builder newBuilder() { return Builder.create(); } + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.PlayerAllIn prototype) { + return newBuilder().mergeFrom(prototype); + } + public Builder toBuilder() { return newBuilder(this); } + + /** + * Protobuf type {@code AllInShowCardsMessage.PlayerAllIn} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageLite.Builder< + de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.PlayerAllIn, Builder> + implements de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.PlayerAllInOrBuilder { + // Construct using de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.PlayerAllIn.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + } + private static Builder create() { + return new Builder(); + } + + public Builder clear() { + super.clear(); + playerId_ = 0; + bitField0_ = (bitField0_ & ~0x00000001); + allInCard1_ = 0; + bitField0_ = (bitField0_ & ~0x00000002); + allInCard2_ = 0; + bitField0_ = (bitField0_ & ~0x00000004); + return this; + } + + public Builder clone() { + return create().mergeFrom(buildPartial()); + } + + public de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.PlayerAllIn getDefaultInstanceForType() { + return de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.PlayerAllIn.getDefaultInstance(); + } + + public de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.PlayerAllIn build() { + de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.PlayerAllIn result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + public de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.PlayerAllIn buildPartial() { + de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.PlayerAllIn result = new de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.PlayerAllIn(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) == 0x00000001)) { + to_bitField0_ |= 0x00000001; + } + result.playerId_ = playerId_; + if (((from_bitField0_ & 0x00000002) == 0x00000002)) { + to_bitField0_ |= 0x00000002; + } + result.allInCard1_ = allInCard1_; + if (((from_bitField0_ & 0x00000004) == 0x00000004)) { + to_bitField0_ |= 0x00000004; + } + result.allInCard2_ = allInCard2_; + result.bitField0_ = to_bitField0_; + return result; + } + + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.PlayerAllIn other) { + if (other == de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.PlayerAllIn.getDefaultInstance()) return this; + if (other.hasPlayerId()) { + setPlayerId(other.getPlayerId()); + } + if (other.hasAllInCard1()) { + setAllInCard1(other.getAllInCard1()); + } + if (other.hasAllInCard2()) { + setAllInCard2(other.getAllInCard2()); + } + return this; + } + + public final boolean isInitialized() { + if (!hasPlayerId()) { + + return false; + } + if (!hasAllInCard1()) { + + return false; + } + if (!hasAllInCard2()) { + + return false; + } + return true; + } + + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.PlayerAllIn parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.PlayerAllIn) e.getUnfinishedMessage(); + throw e; + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; } - private int bitField0_; - + // required uint32 playerId = 1; private int playerId_ ; + /** + * required uint32 playerId = 1; + */ public boolean hasPlayerId() { return ((bitField0_ & 0x00000001) == 0x00000001); } + /** + * required uint32 playerId = 1; + */ public int getPlayerId() { return playerId_; } + /** + * required uint32 playerId = 1; + */ public Builder setPlayerId(int value) { bitField0_ |= 0x00000001; playerId_ = value; return this; } + /** + * required uint32 playerId = 1; + */ public Builder clearPlayerId() { bitField0_ = (bitField0_ & ~0x00000001); playerId_ = 0; return this; } - + // required uint32 allInCard1 = 2; private int allInCard1_ ; + /** + * required uint32 allInCard1 = 2; + */ public boolean hasAllInCard1() { return ((bitField0_ & 0x00000002) == 0x00000002); } + /** + * required uint32 allInCard1 = 2; + */ public int getAllInCard1() { return allInCard1_; } + /** + * required uint32 allInCard1 = 2; + */ public Builder setAllInCard1(int value) { bitField0_ |= 0x00000002; allInCard1_ = value; return this; } + /** + * required uint32 allInCard1 = 2; + */ public Builder clearAllInCard1() { bitField0_ = (bitField0_ & ~0x00000002); allInCard1_ = 0; return this; } - + // required uint32 allInCard2 = 3; private int allInCard2_ ; + /** + * required uint32 allInCard2 = 3; + */ public boolean hasAllInCard2() { return ((bitField0_ & 0x00000004) == 0x00000004); } + /** + * required uint32 allInCard2 = 3; + */ public int getAllInCard2() { return allInCard2_; } + /** + * required uint32 allInCard2 = 3; + */ public Builder setAllInCard2(int value) { bitField0_ |= 0x00000004; allInCard2_ = value; return this; } + /** + * required uint32 allInCard2 = 3; + */ public Builder clearAllInCard2() { bitField0_ = (bitField0_ & ~0x00000004); allInCard2_ = 0; return this; } - + // @@protoc_insertion_point(builder_scope:AllInShowCardsMessage.PlayerAllIn) } - + static { defaultInstance = new PlayerAllIn(true); defaultInstance.initFields(); } - + // @@protoc_insertion_point(class_scope:AllInShowCardsMessage.PlayerAllIn) } - + private int bitField0_; // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; + /** + * required uint32 gameId = 1; + */ public boolean hasGameId() { return ((bitField0_ & 0x00000001) == 0x00000001); } + /** + * required uint32 gameId = 1; + */ public int getGameId() { return gameId_; } - + // repeated .AllInShowCardsMessage.PlayerAllIn playersAllIn = 2; public static final int PLAYERSALLIN_FIELD_NUMBER = 2; private java.util.List playersAllIn_; + /** + * repeated .AllInShowCardsMessage.PlayerAllIn playersAllIn = 2; + */ public java.util.List getPlayersAllInList() { return playersAllIn_; } + /** + * repeated .AllInShowCardsMessage.PlayerAllIn playersAllIn = 2; + */ public java.util.List getPlayersAllInOrBuilderList() { return playersAllIn_; } + /** + * repeated .AllInShowCardsMessage.PlayerAllIn playersAllIn = 2; + */ public int getPlayersAllInCount() { return playersAllIn_.size(); } + /** + * repeated .AllInShowCardsMessage.PlayerAllIn playersAllIn = 2; + */ public de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.PlayerAllIn getPlayersAllIn(int index) { return playersAllIn_.get(index); } + /** + * repeated .AllInShowCardsMessage.PlayerAllIn playersAllIn = 2; + */ public de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.PlayerAllInOrBuilder getPlayersAllInOrBuilder( int index) { return playersAllIn_.get(index); } - + private void initFields() { gameId_ = 0; playersAllIn_ = java.util.Collections.emptyList(); @@ -26825,7 +33943,7 @@ public final class ProtoBuf { public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; - + if (!hasGameId()) { memoizedIsInitialized = 0; return false; @@ -26839,7 +33957,7 @@ public final class ProtoBuf { memoizedIsInitialized = 1; return true; } - + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); @@ -26850,12 +33968,12 @@ public final class ProtoBuf { output.writeMessage(2, playersAllIn_.get(i)); } } - + private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; - + size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream @@ -26868,88 +33986,77 @@ public final class ProtoBuf { memoizedSerializedSize = size; return size; } - + private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } - + public static de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data).buildParsed(); + return PARSER.parseFrom(data); } public static de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(data, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data).buildParsed(); + return PARSER.parseFrom(data); } public static de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(data, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage parseFrom(java.io.InputStream input) throws java.io.IOException { - return newBuilder().mergeFrom(input).buildParsed(); + return PARSER.parseFrom(input); } public static de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return newBuilder().mergeFrom(input, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - Builder builder = newBuilder(); - if (builder.mergeDelimitedFrom(input)) { - return builder.buildParsed(); - } else { - return null; - } + return PARSER.parseDelimitedFrom(input); } public static de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - Builder builder = newBuilder(); - if (builder.mergeDelimitedFrom(input, extensionRegistry)) { - return builder.buildParsed(); - } else { - return null; - } + return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return newBuilder().mergeFrom(input).buildParsed(); + return PARSER.parseFrom(input); } public static de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return newBuilder().mergeFrom(input, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(input, extensionRegistry); } - + public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } - + + /** + * Protobuf type {@code AllInShowCardsMessage} + */ public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage, Builder> @@ -26958,13 +34065,13 @@ public final class ProtoBuf { private Builder() { maybeForceBuilderInitialization(); } - + private void maybeForceBuilderInitialization() { } private static Builder create() { return new Builder(); } - + public Builder clear() { super.clear(); gameId_ = 0; @@ -26973,15 +34080,15 @@ public final class ProtoBuf { bitField0_ = (bitField0_ & ~0x00000002); return this; } - + public Builder clone() { return create().mergeFrom(buildPartial()); } - + public de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage getDefaultInstanceForType() { return de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.getDefaultInstance(); } - + public de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage build() { de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage result = buildPartial(); if (!result.isInitialized()) { @@ -26989,17 +34096,7 @@ public final class ProtoBuf { } return result; } - - private de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage buildParsed() - throws com.google.protobuf.InvalidProtocolBufferException { - de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException( - result).asInvalidProtocolBufferException(); - } - return result; - } - + public de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage buildPartial() { de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage result = new de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage(this); int from_bitField0_ = bitField0_; @@ -27016,7 +34113,7 @@ public final class ProtoBuf { result.bitField0_ = to_bitField0_; return result; } - + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage other) { if (other == de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.getDefaultInstance()) return this; if (other.hasGameId()) { @@ -27034,7 +34131,7 @@ public final class ProtoBuf { } return this; } - + public final boolean isInitialized() { if (!hasGameId()) { @@ -27048,62 +34145,59 @@ public final class ProtoBuf { } return true; } - + public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - while (true) { - int tag = input.readTag(); - switch (tag) { - case 0: - - return this; - default: { - if (!parseUnknownField(input, extensionRegistry, tag)) { - - return this; - } - break; - } - case 8: { - bitField0_ |= 0x00000001; - gameId_ = input.readUInt32(); - break; - } - case 18: { - de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.PlayerAllIn.Builder subBuilder = de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.PlayerAllIn.newBuilder(); - input.readMessage(subBuilder, extensionRegistry); - addPlayersAllIn(subBuilder.buildPartial()); - break; - } + de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage) e.getUnfinishedMessage(); + throw e; + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); } } + return this; } - private int bitField0_; - + // required uint32 gameId = 1; private int gameId_ ; + /** + * required uint32 gameId = 1; + */ public boolean hasGameId() { return ((bitField0_ & 0x00000001) == 0x00000001); } + /** + * required uint32 gameId = 1; + */ public int getGameId() { return gameId_; } + /** + * required uint32 gameId = 1; + */ public Builder setGameId(int value) { bitField0_ |= 0x00000001; gameId_ = value; return this; } + /** + * required uint32 gameId = 1; + */ public Builder clearGameId() { bitField0_ = (bitField0_ & ~0x00000001); gameId_ = 0; return this; } - + // repeated .AllInShowCardsMessage.PlayerAllIn playersAllIn = 2; private java.util.List playersAllIn_ = java.util.Collections.emptyList(); @@ -27113,16 +34207,28 @@ public final class ProtoBuf { bitField0_ |= 0x00000002; } } - + + /** + * repeated .AllInShowCardsMessage.PlayerAllIn playersAllIn = 2; + */ public java.util.List getPlayersAllInList() { return java.util.Collections.unmodifiableList(playersAllIn_); } + /** + * repeated .AllInShowCardsMessage.PlayerAllIn playersAllIn = 2; + */ public int getPlayersAllInCount() { return playersAllIn_.size(); } + /** + * repeated .AllInShowCardsMessage.PlayerAllIn playersAllIn = 2; + */ public de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.PlayerAllIn getPlayersAllIn(int index) { return playersAllIn_.get(index); } + /** + * repeated .AllInShowCardsMessage.PlayerAllIn playersAllIn = 2; + */ public Builder setPlayersAllIn( int index, de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.PlayerAllIn value) { if (value == null) { @@ -27130,25 +34236,34 @@ public final class ProtoBuf { } ensurePlayersAllInIsMutable(); playersAllIn_.set(index, value); - + return this; } + /** + * repeated .AllInShowCardsMessage.PlayerAllIn playersAllIn = 2; + */ public Builder setPlayersAllIn( int index, de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.PlayerAllIn.Builder builderForValue) { ensurePlayersAllInIsMutable(); playersAllIn_.set(index, builderForValue.build()); - + return this; } + /** + * repeated .AllInShowCardsMessage.PlayerAllIn playersAllIn = 2; + */ public Builder addPlayersAllIn(de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.PlayerAllIn value) { if (value == null) { throw new NullPointerException(); } ensurePlayersAllInIsMutable(); playersAllIn_.add(value); - + return this; } + /** + * repeated .AllInShowCardsMessage.PlayerAllIn playersAllIn = 2; + */ public Builder addPlayersAllIn( int index, de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.PlayerAllIn value) { if (value == null) { @@ -27156,117 +34271,235 @@ public final class ProtoBuf { } ensurePlayersAllInIsMutable(); playersAllIn_.add(index, value); - + return this; } + /** + * repeated .AllInShowCardsMessage.PlayerAllIn playersAllIn = 2; + */ public Builder addPlayersAllIn( de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.PlayerAllIn.Builder builderForValue) { ensurePlayersAllInIsMutable(); playersAllIn_.add(builderForValue.build()); - + return this; } + /** + * repeated .AllInShowCardsMessage.PlayerAllIn playersAllIn = 2; + */ public Builder addPlayersAllIn( int index, de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.PlayerAllIn.Builder builderForValue) { ensurePlayersAllInIsMutable(); playersAllIn_.add(index, builderForValue.build()); - + return this; } + /** + * repeated .AllInShowCardsMessage.PlayerAllIn playersAllIn = 2; + */ public Builder addAllPlayersAllIn( java.lang.Iterable values) { ensurePlayersAllInIsMutable(); super.addAll(values, playersAllIn_); - + return this; } + /** + * repeated .AllInShowCardsMessage.PlayerAllIn playersAllIn = 2; + */ public Builder clearPlayersAllIn() { playersAllIn_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); - + return this; } + /** + * repeated .AllInShowCardsMessage.PlayerAllIn playersAllIn = 2; + */ public Builder removePlayersAllIn(int index) { ensurePlayersAllInIsMutable(); playersAllIn_.remove(index); - + return this; } - + // @@protoc_insertion_point(builder_scope:AllInShowCardsMessage) } - + static { defaultInstance = new AllInShowCardsMessage(true); defaultInstance.initFields(); } - + // @@protoc_insertion_point(class_scope:AllInShowCardsMessage) } - + public interface EndOfHandShowCardsMessageOrBuilder extends com.google.protobuf.MessageLiteOrBuilder { - + // required uint32 gameId = 1; + /** + * required uint32 gameId = 1; + */ boolean hasGameId(); + /** + * required uint32 gameId = 1; + */ int getGameId(); - + // repeated .PlayerResult playerResults = 2; + /** + * repeated .PlayerResult playerResults = 2; + */ java.util.List getPlayerResultsList(); + /** + * repeated .PlayerResult playerResults = 2; + */ de.pokerth.protocol.ProtoBuf.PlayerResult getPlayerResults(int index); + /** + * repeated .PlayerResult playerResults = 2; + */ int getPlayerResultsCount(); } + /** + * Protobuf type {@code EndOfHandShowCardsMessage} + */ public static final class EndOfHandShowCardsMessage extends com.google.protobuf.GeneratedMessageLite implements EndOfHandShowCardsMessageOrBuilder { // Use EndOfHandShowCardsMessage.newBuilder() to construct. - private EndOfHandShowCardsMessage(Builder builder) { + private EndOfHandShowCardsMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); + } private EndOfHandShowCardsMessage(boolean noInit) {} - + private static final EndOfHandShowCardsMessage defaultInstance; public static EndOfHandShowCardsMessage getDefaultInstance() { return defaultInstance; } - + public EndOfHandShowCardsMessage getDefaultInstanceForType() { return defaultInstance; } - + + private EndOfHandShowCardsMessage( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + initFields(); + int mutable_bitField0_ = 0; + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: { + if (!parseUnknownField(input, + extensionRegistry, tag)) { + done = true; + } + break; + } + case 8: { + bitField0_ |= 0x00000001; + gameId_ = input.readUInt32(); + break; + } + case 18: { + if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) { + playerResults_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000002; + } + playerResults_.add(input.readMessage(de.pokerth.protocol.ProtoBuf.PlayerResult.PARSER, extensionRegistry)); + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e.getMessage()).setUnfinishedMessage(this); + } finally { + if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) { + playerResults_ = java.util.Collections.unmodifiableList(playerResults_); + } + makeExtensionsImmutable(); + } + } + public static com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + public EndOfHandShowCardsMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new EndOfHandShowCardsMessage(input, extensionRegistry); + } + }; + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + private int bitField0_; // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; + /** + * required uint32 gameId = 1; + */ public boolean hasGameId() { return ((bitField0_ & 0x00000001) == 0x00000001); } + /** + * required uint32 gameId = 1; + */ public int getGameId() { return gameId_; } - + // repeated .PlayerResult playerResults = 2; public static final int PLAYERRESULTS_FIELD_NUMBER = 2; private java.util.List playerResults_; + /** + * repeated .PlayerResult playerResults = 2; + */ public java.util.List getPlayerResultsList() { return playerResults_; } + /** + * repeated .PlayerResult playerResults = 2; + */ public java.util.List getPlayerResultsOrBuilderList() { return playerResults_; } + /** + * repeated .PlayerResult playerResults = 2; + */ public int getPlayerResultsCount() { return playerResults_.size(); } + /** + * repeated .PlayerResult playerResults = 2; + */ public de.pokerth.protocol.ProtoBuf.PlayerResult getPlayerResults(int index) { return playerResults_.get(index); } + /** + * repeated .PlayerResult playerResults = 2; + */ public de.pokerth.protocol.ProtoBuf.PlayerResultOrBuilder getPlayerResultsOrBuilder( int index) { return playerResults_.get(index); } - + private void initFields() { gameId_ = 0; playerResults_ = java.util.Collections.emptyList(); @@ -27275,7 +34508,7 @@ public final class ProtoBuf { public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; - + if (!hasGameId()) { memoizedIsInitialized = 0; return false; @@ -27289,7 +34522,7 @@ public final class ProtoBuf { memoizedIsInitialized = 1; return true; } - + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); @@ -27300,12 +34533,12 @@ public final class ProtoBuf { output.writeMessage(2, playerResults_.get(i)); } } - + private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; - + size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream @@ -27318,88 +34551,77 @@ public final class ProtoBuf { memoizedSerializedSize = size; return size; } - + private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } - + public static de.pokerth.protocol.ProtoBuf.EndOfHandShowCardsMessage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data).buildParsed(); + return PARSER.parseFrom(data); } public static de.pokerth.protocol.ProtoBuf.EndOfHandShowCardsMessage parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(data, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.EndOfHandShowCardsMessage parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data).buildParsed(); + return PARSER.parseFrom(data); } public static de.pokerth.protocol.ProtoBuf.EndOfHandShowCardsMessage parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(data, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.EndOfHandShowCardsMessage parseFrom(java.io.InputStream input) throws java.io.IOException { - return newBuilder().mergeFrom(input).buildParsed(); + return PARSER.parseFrom(input); } public static de.pokerth.protocol.ProtoBuf.EndOfHandShowCardsMessage parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return newBuilder().mergeFrom(input, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.EndOfHandShowCardsMessage parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - Builder builder = newBuilder(); - if (builder.mergeDelimitedFrom(input)) { - return builder.buildParsed(); - } else { - return null; - } + return PARSER.parseDelimitedFrom(input); } public static de.pokerth.protocol.ProtoBuf.EndOfHandShowCardsMessage parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - Builder builder = newBuilder(); - if (builder.mergeDelimitedFrom(input, extensionRegistry)) { - return builder.buildParsed(); - } else { - return null; - } + return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.EndOfHandShowCardsMessage parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return newBuilder().mergeFrom(input).buildParsed(); + return PARSER.parseFrom(input); } public static de.pokerth.protocol.ProtoBuf.EndOfHandShowCardsMessage parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return newBuilder().mergeFrom(input, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(input, extensionRegistry); } - + public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.EndOfHandShowCardsMessage prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } - + + /** + * Protobuf type {@code EndOfHandShowCardsMessage} + */ public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.EndOfHandShowCardsMessage, Builder> @@ -27408,13 +34630,13 @@ public final class ProtoBuf { private Builder() { maybeForceBuilderInitialization(); } - + private void maybeForceBuilderInitialization() { } private static Builder create() { return new Builder(); } - + public Builder clear() { super.clear(); gameId_ = 0; @@ -27423,15 +34645,15 @@ public final class ProtoBuf { bitField0_ = (bitField0_ & ~0x00000002); return this; } - + public Builder clone() { return create().mergeFrom(buildPartial()); } - + public de.pokerth.protocol.ProtoBuf.EndOfHandShowCardsMessage getDefaultInstanceForType() { return de.pokerth.protocol.ProtoBuf.EndOfHandShowCardsMessage.getDefaultInstance(); } - + public de.pokerth.protocol.ProtoBuf.EndOfHandShowCardsMessage build() { de.pokerth.protocol.ProtoBuf.EndOfHandShowCardsMessage result = buildPartial(); if (!result.isInitialized()) { @@ -27439,17 +34661,7 @@ public final class ProtoBuf { } return result; } - - private de.pokerth.protocol.ProtoBuf.EndOfHandShowCardsMessage buildParsed() - throws com.google.protobuf.InvalidProtocolBufferException { - de.pokerth.protocol.ProtoBuf.EndOfHandShowCardsMessage result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException( - result).asInvalidProtocolBufferException(); - } - return result; - } - + public de.pokerth.protocol.ProtoBuf.EndOfHandShowCardsMessage buildPartial() { de.pokerth.protocol.ProtoBuf.EndOfHandShowCardsMessage result = new de.pokerth.protocol.ProtoBuf.EndOfHandShowCardsMessage(this); int from_bitField0_ = bitField0_; @@ -27466,7 +34678,7 @@ public final class ProtoBuf { result.bitField0_ = to_bitField0_; return result; } - + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.EndOfHandShowCardsMessage other) { if (other == de.pokerth.protocol.ProtoBuf.EndOfHandShowCardsMessage.getDefaultInstance()) return this; if (other.hasGameId()) { @@ -27484,7 +34696,7 @@ public final class ProtoBuf { } return this; } - + public final boolean isInitialized() { if (!hasGameId()) { @@ -27498,62 +34710,59 @@ public final class ProtoBuf { } return true; } - + public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - while (true) { - int tag = input.readTag(); - switch (tag) { - case 0: - - return this; - default: { - if (!parseUnknownField(input, extensionRegistry, tag)) { - - return this; - } - break; - } - case 8: { - bitField0_ |= 0x00000001; - gameId_ = input.readUInt32(); - break; - } - case 18: { - de.pokerth.protocol.ProtoBuf.PlayerResult.Builder subBuilder = de.pokerth.protocol.ProtoBuf.PlayerResult.newBuilder(); - input.readMessage(subBuilder, extensionRegistry); - addPlayerResults(subBuilder.buildPartial()); - break; - } + de.pokerth.protocol.ProtoBuf.EndOfHandShowCardsMessage parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (de.pokerth.protocol.ProtoBuf.EndOfHandShowCardsMessage) e.getUnfinishedMessage(); + throw e; + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); } } + return this; } - private int bitField0_; - + // required uint32 gameId = 1; private int gameId_ ; + /** + * required uint32 gameId = 1; + */ public boolean hasGameId() { return ((bitField0_ & 0x00000001) == 0x00000001); } + /** + * required uint32 gameId = 1; + */ public int getGameId() { return gameId_; } + /** + * required uint32 gameId = 1; + */ public Builder setGameId(int value) { bitField0_ |= 0x00000001; gameId_ = value; return this; } + /** + * required uint32 gameId = 1; + */ public Builder clearGameId() { bitField0_ = (bitField0_ & ~0x00000001); gameId_ = 0; return this; } - + // repeated .PlayerResult playerResults = 2; private java.util.List playerResults_ = java.util.Collections.emptyList(); @@ -27563,16 +34772,28 @@ public final class ProtoBuf { bitField0_ |= 0x00000002; } } - + + /** + * repeated .PlayerResult playerResults = 2; + */ public java.util.List getPlayerResultsList() { return java.util.Collections.unmodifiableList(playerResults_); } + /** + * repeated .PlayerResult playerResults = 2; + */ public int getPlayerResultsCount() { return playerResults_.size(); } + /** + * repeated .PlayerResult playerResults = 2; + */ public de.pokerth.protocol.ProtoBuf.PlayerResult getPlayerResults(int index) { return playerResults_.get(index); } + /** + * repeated .PlayerResult playerResults = 2; + */ public Builder setPlayerResults( int index, de.pokerth.protocol.ProtoBuf.PlayerResult value) { if (value == null) { @@ -27580,25 +34801,34 @@ public final class ProtoBuf { } ensurePlayerResultsIsMutable(); playerResults_.set(index, value); - + return this; } + /** + * repeated .PlayerResult playerResults = 2; + */ public Builder setPlayerResults( int index, de.pokerth.protocol.ProtoBuf.PlayerResult.Builder builderForValue) { ensurePlayerResultsIsMutable(); playerResults_.set(index, builderForValue.build()); - + return this; } + /** + * repeated .PlayerResult playerResults = 2; + */ public Builder addPlayerResults(de.pokerth.protocol.ProtoBuf.PlayerResult value) { if (value == null) { throw new NullPointerException(); } ensurePlayerResultsIsMutable(); playerResults_.add(value); - + return this; } + /** + * repeated .PlayerResult playerResults = 2; + */ public Builder addPlayerResults( int index, de.pokerth.protocol.ProtoBuf.PlayerResult value) { if (value == null) { @@ -27606,416 +34836,152 @@ public final class ProtoBuf { } ensurePlayerResultsIsMutable(); playerResults_.add(index, value); - + return this; } + /** + * repeated .PlayerResult playerResults = 2; + */ public Builder addPlayerResults( de.pokerth.protocol.ProtoBuf.PlayerResult.Builder builderForValue) { ensurePlayerResultsIsMutable(); playerResults_.add(builderForValue.build()); - + return this; } + /** + * repeated .PlayerResult playerResults = 2; + */ public Builder addPlayerResults( int index, de.pokerth.protocol.ProtoBuf.PlayerResult.Builder builderForValue) { ensurePlayerResultsIsMutable(); playerResults_.add(index, builderForValue.build()); - + return this; } + /** + * repeated .PlayerResult playerResults = 2; + */ public Builder addAllPlayerResults( java.lang.Iterable values) { ensurePlayerResultsIsMutable(); super.addAll(values, playerResults_); - + return this; } + /** + * repeated .PlayerResult playerResults = 2; + */ public Builder clearPlayerResults() { playerResults_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); - + return this; } + /** + * repeated .PlayerResult playerResults = 2; + */ public Builder removePlayerResults(int index) { ensurePlayerResultsIsMutable(); playerResults_.remove(index); - + return this; } - + // @@protoc_insertion_point(builder_scope:EndOfHandShowCardsMessage) } - + static { defaultInstance = new EndOfHandShowCardsMessage(true); defaultInstance.initFields(); } - + // @@protoc_insertion_point(class_scope:EndOfHandShowCardsMessage) } - + public interface EndOfHandHideCardsMessageOrBuilder extends com.google.protobuf.MessageLiteOrBuilder { - + // required uint32 gameId = 1; + /** + * required uint32 gameId = 1; + */ boolean hasGameId(); + /** + * required uint32 gameId = 1; + */ int getGameId(); - + // required uint32 playerId = 2; + /** + * required uint32 playerId = 2; + */ boolean hasPlayerId(); + /** + * required uint32 playerId = 2; + */ int getPlayerId(); - + // required uint32 moneyWon = 3; + /** + * required uint32 moneyWon = 3; + */ boolean hasMoneyWon(); + /** + * required uint32 moneyWon = 3; + */ int getMoneyWon(); - + // required uint32 playerMoney = 4; + /** + * required uint32 playerMoney = 4; + */ boolean hasPlayerMoney(); + /** + * required uint32 playerMoney = 4; + */ int getPlayerMoney(); } + /** + * Protobuf type {@code EndOfHandHideCardsMessage} + */ public static final class EndOfHandHideCardsMessage extends com.google.protobuf.GeneratedMessageLite implements EndOfHandHideCardsMessageOrBuilder { // Use EndOfHandHideCardsMessage.newBuilder() to construct. - private EndOfHandHideCardsMessage(Builder builder) { + private EndOfHandHideCardsMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); + } private EndOfHandHideCardsMessage(boolean noInit) {} - + private static final EndOfHandHideCardsMessage defaultInstance; public static EndOfHandHideCardsMessage getDefaultInstance() { return defaultInstance; } - + public EndOfHandHideCardsMessage getDefaultInstanceForType() { return defaultInstance; } - - private int bitField0_; - // required uint32 gameId = 1; - public static final int GAMEID_FIELD_NUMBER = 1; - private int gameId_; - public boolean hasGameId() { - return ((bitField0_ & 0x00000001) == 0x00000001); - } - public int getGameId() { - return gameId_; - } - - // required uint32 playerId = 2; - public static final int PLAYERID_FIELD_NUMBER = 2; - private int playerId_; - public boolean hasPlayerId() { - return ((bitField0_ & 0x00000002) == 0x00000002); - } - public int getPlayerId() { - return playerId_; - } - - // required uint32 moneyWon = 3; - public static final int MONEYWON_FIELD_NUMBER = 3; - private int moneyWon_; - public boolean hasMoneyWon() { - return ((bitField0_ & 0x00000004) == 0x00000004); - } - public int getMoneyWon() { - return moneyWon_; - } - - // required uint32 playerMoney = 4; - public static final int PLAYERMONEY_FIELD_NUMBER = 4; - private int playerMoney_; - public boolean hasPlayerMoney() { - return ((bitField0_ & 0x00000008) == 0x00000008); - } - public int getPlayerMoney() { - return playerMoney_; - } - - private void initFields() { - gameId_ = 0; - playerId_ = 0; - moneyWon_ = 0; - playerMoney_ = 0; - } - private byte memoizedIsInitialized = -1; - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; - - if (!hasGameId()) { - memoizedIsInitialized = 0; - return false; - } - if (!hasPlayerId()) { - memoizedIsInitialized = 0; - return false; - } - if (!hasMoneyWon()) { - memoizedIsInitialized = 0; - return false; - } - if (!hasPlayerMoney()) { - memoizedIsInitialized = 0; - return false; - } - memoizedIsInitialized = 1; - return true; - } - - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - getSerializedSize(); - if (((bitField0_ & 0x00000001) == 0x00000001)) { - output.writeUInt32(1, gameId_); - } - if (((bitField0_ & 0x00000002) == 0x00000002)) { - output.writeUInt32(2, playerId_); - } - if (((bitField0_ & 0x00000004) == 0x00000004)) { - output.writeUInt32(3, moneyWon_); - } - if (((bitField0_ & 0x00000008) == 0x00000008)) { - output.writeUInt32(4, playerMoney_); - } - } - - private int memoizedSerializedSize = -1; - public int getSerializedSize() { - int size = memoizedSerializedSize; - if (size != -1) return size; - - size = 0; - if (((bitField0_ & 0x00000001) == 0x00000001)) { - size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(1, gameId_); - } - if (((bitField0_ & 0x00000002) == 0x00000002)) { - size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(2, playerId_); - } - if (((bitField0_ & 0x00000004) == 0x00000004)) { - size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(3, moneyWon_); - } - if (((bitField0_ & 0x00000008) == 0x00000008)) { - size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(4, playerMoney_); - } - memoizedSerializedSize = size; - return size; - } - - private static final long serialVersionUID = 0L; - @java.lang.Override - protected java.lang.Object writeReplace() - throws java.io.ObjectStreamException { - return super.writeReplace(); - } - - public static de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessage parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data).buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessage parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data, extensionRegistry) - .buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessage parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data).buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessage parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data, extensionRegistry) - .buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessage parseFrom(java.io.InputStream input) - throws java.io.IOException { - return newBuilder().mergeFrom(input).buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessage parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return newBuilder().mergeFrom(input, extensionRegistry) - .buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessage parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - Builder builder = newBuilder(); - if (builder.mergeDelimitedFrom(input)) { - return builder.buildParsed(); - } else { - return null; - } - } - public static de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessage parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - Builder builder = newBuilder(); - if (builder.mergeDelimitedFrom(input, extensionRegistry)) { - return builder.buildParsed(); - } else { - return null; - } - } - public static de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessage parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return newBuilder().mergeFrom(input).buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessage parseFrom( + + private EndOfHandHideCardsMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return newBuilder().mergeFrom(input, extensionRegistry) - .buildParsed(); - } - - public static Builder newBuilder() { return Builder.create(); } - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessage prototype) { - return newBuilder().mergeFrom(prototype); - } - public Builder toBuilder() { return newBuilder(this); } - - public static final class Builder extends - com.google.protobuf.GeneratedMessageLite.Builder< - de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessageOrBuilder { - // Construct using de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessage.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - } - private static Builder create() { - return new Builder(); - } - - public Builder clear() { - super.clear(); - gameId_ = 0; - bitField0_ = (bitField0_ & ~0x00000001); - playerId_ = 0; - bitField0_ = (bitField0_ & ~0x00000002); - moneyWon_ = 0; - bitField0_ = (bitField0_ & ~0x00000004); - playerMoney_ = 0; - bitField0_ = (bitField0_ & ~0x00000008); - return this; - } - - public Builder clone() { - return create().mergeFrom(buildPartial()); - } - - public de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessage getDefaultInstanceForType() { - return de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessage.getDefaultInstance(); - } - - public de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessage build() { - de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessage result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - private de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessage buildParsed() - throws com.google.protobuf.InvalidProtocolBufferException { - de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessage result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException( - result).asInvalidProtocolBufferException(); - } - return result; - } - - public de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessage buildPartial() { - de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessage result = new de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessage(this); - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) == 0x00000001)) { - to_bitField0_ |= 0x00000001; - } - result.gameId_ = gameId_; - if (((from_bitField0_ & 0x00000002) == 0x00000002)) { - to_bitField0_ |= 0x00000002; - } - result.playerId_ = playerId_; - if (((from_bitField0_ & 0x00000004) == 0x00000004)) { - to_bitField0_ |= 0x00000004; - } - result.moneyWon_ = moneyWon_; - if (((from_bitField0_ & 0x00000008) == 0x00000008)) { - to_bitField0_ |= 0x00000008; - } - result.playerMoney_ = playerMoney_; - result.bitField0_ = to_bitField0_; - return result; - } - - public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessage other) { - if (other == de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessage.getDefaultInstance()) return this; - if (other.hasGameId()) { - setGameId(other.getGameId()); - } - if (other.hasPlayerId()) { - setPlayerId(other.getPlayerId()); - } - if (other.hasMoneyWon()) { - setMoneyWon(other.getMoneyWon()); - } - if (other.hasPlayerMoney()) { - setPlayerMoney(other.getPlayerMoney()); - } - return this; - } - - public final boolean isInitialized() { - if (!hasGameId()) { - - return false; - } - if (!hasPlayerId()) { - - return false; - } - if (!hasMoneyWon()) { - - return false; - } - if (!hasPlayerMoney()) { - - return false; - } - return true; - } - - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - while (true) { + throws com.google.protobuf.InvalidProtocolBufferException { + initFields(); + int mutable_bitField0_ = 0; + try { + boolean done = false; + while (!done) { int tag = input.readTag(); switch (tag) { case 0: - - return this; + done = true; + break; default: { - if (!parseUnknownField(input, extensionRegistry, tag)) { - - return this; + if (!parseUnknownField(input, + extensionRegistry, tag)) { + done = true; } break; } @@ -28041,233 +35007,673 @@ public final class ProtoBuf { } } } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e.getMessage()).setUnfinishedMessage(this); + } finally { + makeExtensionsImmutable(); } - - private int bitField0_; - - // required uint32 gameId = 1; - private int gameId_ ; - public boolean hasGameId() { - return ((bitField0_ & 0x00000001) == 0x00000001); - } - public int getGameId() { - return gameId_; - } - public Builder setGameId(int value) { - bitField0_ |= 0x00000001; - gameId_ = value; - - return this; - } - public Builder clearGameId() { - bitField0_ = (bitField0_ & ~0x00000001); - gameId_ = 0; - - return this; - } - - // required uint32 playerId = 2; - private int playerId_ ; - public boolean hasPlayerId() { - return ((bitField0_ & 0x00000002) == 0x00000002); - } - public int getPlayerId() { - return playerId_; - } - public Builder setPlayerId(int value) { - bitField0_ |= 0x00000002; - playerId_ = value; - - return this; - } - public Builder clearPlayerId() { - bitField0_ = (bitField0_ & ~0x00000002); - playerId_ = 0; - - return this; - } - - // required uint32 moneyWon = 3; - private int moneyWon_ ; - public boolean hasMoneyWon() { - return ((bitField0_ & 0x00000004) == 0x00000004); - } - public int getMoneyWon() { - return moneyWon_; - } - public Builder setMoneyWon(int value) { - bitField0_ |= 0x00000004; - moneyWon_ = value; - - return this; - } - public Builder clearMoneyWon() { - bitField0_ = (bitField0_ & ~0x00000004); - moneyWon_ = 0; - - return this; - } - - // required uint32 playerMoney = 4; - private int playerMoney_ ; - public boolean hasPlayerMoney() { - return ((bitField0_ & 0x00000008) == 0x00000008); - } - public int getPlayerMoney() { - return playerMoney_; - } - public Builder setPlayerMoney(int value) { - bitField0_ |= 0x00000008; - playerMoney_ = value; - - return this; - } - public Builder clearPlayerMoney() { - bitField0_ = (bitField0_ & ~0x00000008); - playerMoney_ = 0; - - return this; - } - - // @@protoc_insertion_point(builder_scope:EndOfHandHideCardsMessage) } - - static { - defaultInstance = new EndOfHandHideCardsMessage(true); - defaultInstance.initFields(); + public static com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + public EndOfHandHideCardsMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new EndOfHandHideCardsMessage(input, extensionRegistry); + } + }; + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; } - - // @@protoc_insertion_point(class_scope:EndOfHandHideCardsMessage) - } - - public interface ShowMyCardsRequestMessageOrBuilder - extends com.google.protobuf.MessageLiteOrBuilder { - } - public static final class ShowMyCardsRequestMessage extends - com.google.protobuf.GeneratedMessageLite - implements ShowMyCardsRequestMessageOrBuilder { - // Use ShowMyCardsRequestMessage.newBuilder() to construct. - private ShowMyCardsRequestMessage(Builder builder) { - super(builder); + + private int bitField0_; + // required uint32 gameId = 1; + public static final int GAMEID_FIELD_NUMBER = 1; + private int gameId_; + /** + * required uint32 gameId = 1; + */ + public boolean hasGameId() { + return ((bitField0_ & 0x00000001) == 0x00000001); } - private ShowMyCardsRequestMessage(boolean noInit) {} - - private static final ShowMyCardsRequestMessage defaultInstance; - public static ShowMyCardsRequestMessage getDefaultInstance() { - return defaultInstance; + /** + * required uint32 gameId = 1; + */ + public int getGameId() { + return gameId_; } - - public ShowMyCardsRequestMessage getDefaultInstanceForType() { - return defaultInstance; + + // required uint32 playerId = 2; + public static final int PLAYERID_FIELD_NUMBER = 2; + private int playerId_; + /** + * required uint32 playerId = 2; + */ + public boolean hasPlayerId() { + return ((bitField0_ & 0x00000002) == 0x00000002); } - + /** + * required uint32 playerId = 2; + */ + public int getPlayerId() { + return playerId_; + } + + // required uint32 moneyWon = 3; + public static final int MONEYWON_FIELD_NUMBER = 3; + private int moneyWon_; + /** + * required uint32 moneyWon = 3; + */ + public boolean hasMoneyWon() { + return ((bitField0_ & 0x00000004) == 0x00000004); + } + /** + * required uint32 moneyWon = 3; + */ + public int getMoneyWon() { + return moneyWon_; + } + + // required uint32 playerMoney = 4; + public static final int PLAYERMONEY_FIELD_NUMBER = 4; + private int playerMoney_; + /** + * required uint32 playerMoney = 4; + */ + public boolean hasPlayerMoney() { + return ((bitField0_ & 0x00000008) == 0x00000008); + } + /** + * required uint32 playerMoney = 4; + */ + public int getPlayerMoney() { + return playerMoney_; + } + private void initFields() { + gameId_ = 0; + playerId_ = 0; + moneyWon_ = 0; + playerMoney_ = 0; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; - + + if (!hasGameId()) { + memoizedIsInitialized = 0; + return false; + } + if (!hasPlayerId()) { + memoizedIsInitialized = 0; + return false; + } + if (!hasMoneyWon()) { + memoizedIsInitialized = 0; + return false; + } + if (!hasPlayerMoney()) { + memoizedIsInitialized = 0; + return false; + } memoizedIsInitialized = 1; return true; } - + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); + if (((bitField0_ & 0x00000001) == 0x00000001)) { + output.writeUInt32(1, gameId_); + } + if (((bitField0_ & 0x00000002) == 0x00000002)) { + output.writeUInt32(2, playerId_); + } + if (((bitField0_ & 0x00000004) == 0x00000004)) { + output.writeUInt32(3, moneyWon_); + } + if (((bitField0_ & 0x00000008) == 0x00000008)) { + output.writeUInt32(4, playerMoney_); + } } - + private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; - + size = 0; + if (((bitField0_ & 0x00000001) == 0x00000001)) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(1, gameId_); + } + if (((bitField0_ & 0x00000002) == 0x00000002)) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(2, playerId_); + } + if (((bitField0_ & 0x00000004) == 0x00000004)) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(3, moneyWon_); + } + if (((bitField0_ & 0x00000008) == 0x00000008)) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(4, playerMoney_); + } memoizedSerializedSize = size; return size; } - + private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } - + + public static de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessage parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessage parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessage parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessage parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessage parseFrom(java.io.InputStream input) + throws java.io.IOException { + return PARSER.parseFrom(input); + } + public static de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessage parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseFrom(input, extensionRegistry); + } + public static de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessage parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return PARSER.parseDelimitedFrom(input); + } + public static de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessage parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseDelimitedFrom(input, extensionRegistry); + } + public static de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessage parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return PARSER.parseFrom(input); + } + public static de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessage parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseFrom(input, extensionRegistry); + } + + public static Builder newBuilder() { return Builder.create(); } + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessage prototype) { + return newBuilder().mergeFrom(prototype); + } + public Builder toBuilder() { return newBuilder(this); } + + /** + * Protobuf type {@code EndOfHandHideCardsMessage} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageLite.Builder< + de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessage, Builder> + implements de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessageOrBuilder { + // Construct using de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessage.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + } + private static Builder create() { + return new Builder(); + } + + public Builder clear() { + super.clear(); + gameId_ = 0; + bitField0_ = (bitField0_ & ~0x00000001); + playerId_ = 0; + bitField0_ = (bitField0_ & ~0x00000002); + moneyWon_ = 0; + bitField0_ = (bitField0_ & ~0x00000004); + playerMoney_ = 0; + bitField0_ = (bitField0_ & ~0x00000008); + return this; + } + + public Builder clone() { + return create().mergeFrom(buildPartial()); + } + + public de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessage getDefaultInstanceForType() { + return de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessage.getDefaultInstance(); + } + + public de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessage build() { + de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessage result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + public de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessage buildPartial() { + de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessage result = new de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessage(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) == 0x00000001)) { + to_bitField0_ |= 0x00000001; + } + result.gameId_ = gameId_; + if (((from_bitField0_ & 0x00000002) == 0x00000002)) { + to_bitField0_ |= 0x00000002; + } + result.playerId_ = playerId_; + if (((from_bitField0_ & 0x00000004) == 0x00000004)) { + to_bitField0_ |= 0x00000004; + } + result.moneyWon_ = moneyWon_; + if (((from_bitField0_ & 0x00000008) == 0x00000008)) { + to_bitField0_ |= 0x00000008; + } + result.playerMoney_ = playerMoney_; + result.bitField0_ = to_bitField0_; + return result; + } + + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessage other) { + if (other == de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessage.getDefaultInstance()) return this; + if (other.hasGameId()) { + setGameId(other.getGameId()); + } + if (other.hasPlayerId()) { + setPlayerId(other.getPlayerId()); + } + if (other.hasMoneyWon()) { + setMoneyWon(other.getMoneyWon()); + } + if (other.hasPlayerMoney()) { + setPlayerMoney(other.getPlayerMoney()); + } + return this; + } + + public final boolean isInitialized() { + if (!hasGameId()) { + + return false; + } + if (!hasPlayerId()) { + + return false; + } + if (!hasMoneyWon()) { + + return false; + } + if (!hasPlayerMoney()) { + + return false; + } + return true; + } + + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessage parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessage) e.getUnfinishedMessage(); + throw e; + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int bitField0_; + + // required uint32 gameId = 1; + private int gameId_ ; + /** + * required uint32 gameId = 1; + */ + public boolean hasGameId() { + return ((bitField0_ & 0x00000001) == 0x00000001); + } + /** + * required uint32 gameId = 1; + */ + public int getGameId() { + return gameId_; + } + /** + * required uint32 gameId = 1; + */ + public Builder setGameId(int value) { + bitField0_ |= 0x00000001; + gameId_ = value; + + return this; + } + /** + * required uint32 gameId = 1; + */ + public Builder clearGameId() { + bitField0_ = (bitField0_ & ~0x00000001); + gameId_ = 0; + + return this; + } + + // required uint32 playerId = 2; + private int playerId_ ; + /** + * required uint32 playerId = 2; + */ + public boolean hasPlayerId() { + return ((bitField0_ & 0x00000002) == 0x00000002); + } + /** + * required uint32 playerId = 2; + */ + public int getPlayerId() { + return playerId_; + } + /** + * required uint32 playerId = 2; + */ + public Builder setPlayerId(int value) { + bitField0_ |= 0x00000002; + playerId_ = value; + + return this; + } + /** + * required uint32 playerId = 2; + */ + public Builder clearPlayerId() { + bitField0_ = (bitField0_ & ~0x00000002); + playerId_ = 0; + + return this; + } + + // required uint32 moneyWon = 3; + private int moneyWon_ ; + /** + * required uint32 moneyWon = 3; + */ + public boolean hasMoneyWon() { + return ((bitField0_ & 0x00000004) == 0x00000004); + } + /** + * required uint32 moneyWon = 3; + */ + public int getMoneyWon() { + return moneyWon_; + } + /** + * required uint32 moneyWon = 3; + */ + public Builder setMoneyWon(int value) { + bitField0_ |= 0x00000004; + moneyWon_ = value; + + return this; + } + /** + * required uint32 moneyWon = 3; + */ + public Builder clearMoneyWon() { + bitField0_ = (bitField0_ & ~0x00000004); + moneyWon_ = 0; + + return this; + } + + // required uint32 playerMoney = 4; + private int playerMoney_ ; + /** + * required uint32 playerMoney = 4; + */ + public boolean hasPlayerMoney() { + return ((bitField0_ & 0x00000008) == 0x00000008); + } + /** + * required uint32 playerMoney = 4; + */ + public int getPlayerMoney() { + return playerMoney_; + } + /** + * required uint32 playerMoney = 4; + */ + public Builder setPlayerMoney(int value) { + bitField0_ |= 0x00000008; + playerMoney_ = value; + + return this; + } + /** + * required uint32 playerMoney = 4; + */ + public Builder clearPlayerMoney() { + bitField0_ = (bitField0_ & ~0x00000008); + playerMoney_ = 0; + + return this; + } + + // @@protoc_insertion_point(builder_scope:EndOfHandHideCardsMessage) + } + + static { + defaultInstance = new EndOfHandHideCardsMessage(true); + defaultInstance.initFields(); + } + + // @@protoc_insertion_point(class_scope:EndOfHandHideCardsMessage) + } + + public interface ShowMyCardsRequestMessageOrBuilder + extends com.google.protobuf.MessageLiteOrBuilder { + } + /** + * Protobuf type {@code ShowMyCardsRequestMessage} + */ + public static final class ShowMyCardsRequestMessage extends + com.google.protobuf.GeneratedMessageLite + implements ShowMyCardsRequestMessageOrBuilder { + // Use ShowMyCardsRequestMessage.newBuilder() to construct. + private ShowMyCardsRequestMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { + super(builder); + + } + private ShowMyCardsRequestMessage(boolean noInit) {} + + private static final ShowMyCardsRequestMessage defaultInstance; + public static ShowMyCardsRequestMessage getDefaultInstance() { + return defaultInstance; + } + + public ShowMyCardsRequestMessage getDefaultInstanceForType() { + return defaultInstance; + } + + private ShowMyCardsRequestMessage( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + initFields(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: { + if (!parseUnknownField(input, + extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e.getMessage()).setUnfinishedMessage(this); + } finally { + makeExtensionsImmutable(); + } + } + public static com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + public ShowMyCardsRequestMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ShowMyCardsRequestMessage(input, extensionRegistry); + } + }; + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + private void initFields() { + } + private byte memoizedIsInitialized = -1; + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized != -1) return isInitialized == 1; + + memoizedIsInitialized = 1; + return true; + } + + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + getSerializedSize(); + } + + private int memoizedSerializedSize = -1; + public int getSerializedSize() { + int size = memoizedSerializedSize; + if (size != -1) return size; + + size = 0; + memoizedSerializedSize = size; + return size; + } + + private static final long serialVersionUID = 0L; + @java.lang.Override + protected java.lang.Object writeReplace() + throws java.io.ObjectStreamException { + return super.writeReplace(); + } + public static de.pokerth.protocol.ProtoBuf.ShowMyCardsRequestMessage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data).buildParsed(); + return PARSER.parseFrom(data); } public static de.pokerth.protocol.ProtoBuf.ShowMyCardsRequestMessage parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(data, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.ShowMyCardsRequestMessage parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data).buildParsed(); + return PARSER.parseFrom(data); } public static de.pokerth.protocol.ProtoBuf.ShowMyCardsRequestMessage parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(data, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.ShowMyCardsRequestMessage parseFrom(java.io.InputStream input) throws java.io.IOException { - return newBuilder().mergeFrom(input).buildParsed(); + return PARSER.parseFrom(input); } public static de.pokerth.protocol.ProtoBuf.ShowMyCardsRequestMessage parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return newBuilder().mergeFrom(input, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.ShowMyCardsRequestMessage parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - Builder builder = newBuilder(); - if (builder.mergeDelimitedFrom(input)) { - return builder.buildParsed(); - } else { - return null; - } + return PARSER.parseDelimitedFrom(input); } public static de.pokerth.protocol.ProtoBuf.ShowMyCardsRequestMessage parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - Builder builder = newBuilder(); - if (builder.mergeDelimitedFrom(input, extensionRegistry)) { - return builder.buildParsed(); - } else { - return null; - } + return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.ShowMyCardsRequestMessage parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return newBuilder().mergeFrom(input).buildParsed(); + return PARSER.parseFrom(input); } public static de.pokerth.protocol.ProtoBuf.ShowMyCardsRequestMessage parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return newBuilder().mergeFrom(input, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(input, extensionRegistry); } - + public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.ShowMyCardsRequestMessage prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } - + + /** + * Protobuf type {@code ShowMyCardsRequestMessage} + */ public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.ShowMyCardsRequestMessage, Builder> @@ -28276,26 +35682,26 @@ public final class ProtoBuf { private Builder() { maybeForceBuilderInitialization(); } - + private void maybeForceBuilderInitialization() { } private static Builder create() { return new Builder(); } - + public Builder clear() { super.clear(); return this; } - + public Builder clone() { return create().mergeFrom(buildPartial()); } - + public de.pokerth.protocol.ProtoBuf.ShowMyCardsRequestMessage getDefaultInstanceForType() { return de.pokerth.protocol.ProtoBuf.ShowMyCardsRequestMessage.getDefaultInstance(); } - + public de.pokerth.protocol.ProtoBuf.ShowMyCardsRequestMessage build() { de.pokerth.protocol.ProtoBuf.ShowMyCardsRequestMessage result = buildPartial(); if (!result.isInitialized()) { @@ -28303,100 +35709,162 @@ public final class ProtoBuf { } return result; } - - private de.pokerth.protocol.ProtoBuf.ShowMyCardsRequestMessage buildParsed() - throws com.google.protobuf.InvalidProtocolBufferException { - de.pokerth.protocol.ProtoBuf.ShowMyCardsRequestMessage result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException( - result).asInvalidProtocolBufferException(); - } - return result; - } - + public de.pokerth.protocol.ProtoBuf.ShowMyCardsRequestMessage buildPartial() { de.pokerth.protocol.ProtoBuf.ShowMyCardsRequestMessage result = new de.pokerth.protocol.ProtoBuf.ShowMyCardsRequestMessage(this); return result; } - + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.ShowMyCardsRequestMessage other) { if (other == de.pokerth.protocol.ProtoBuf.ShowMyCardsRequestMessage.getDefaultInstance()) return this; return this; } - + public final boolean isInitialized() { return true; } - + public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - while (true) { - int tag = input.readTag(); - switch (tag) { - case 0: - - return this; - default: { - if (!parseUnknownField(input, extensionRegistry, tag)) { - - return this; - } - break; - } + de.pokerth.protocol.ProtoBuf.ShowMyCardsRequestMessage parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (de.pokerth.protocol.ProtoBuf.ShowMyCardsRequestMessage) e.getUnfinishedMessage(); + throw e; + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); } } + return this; } - - + // @@protoc_insertion_point(builder_scope:ShowMyCardsRequestMessage) } - + static { defaultInstance = new ShowMyCardsRequestMessage(true); defaultInstance.initFields(); } - + // @@protoc_insertion_point(class_scope:ShowMyCardsRequestMessage) } - + public interface AfterHandShowCardsMessageOrBuilder extends com.google.protobuf.MessageLiteOrBuilder { - + // required .PlayerResult playerResult = 1; + /** + * required .PlayerResult playerResult = 1; + */ boolean hasPlayerResult(); + /** + * required .PlayerResult playerResult = 1; + */ de.pokerth.protocol.ProtoBuf.PlayerResult getPlayerResult(); } + /** + * Protobuf type {@code AfterHandShowCardsMessage} + */ public static final class AfterHandShowCardsMessage extends com.google.protobuf.GeneratedMessageLite implements AfterHandShowCardsMessageOrBuilder { // Use AfterHandShowCardsMessage.newBuilder() to construct. - private AfterHandShowCardsMessage(Builder builder) { + private AfterHandShowCardsMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); + } private AfterHandShowCardsMessage(boolean noInit) {} - + private static final AfterHandShowCardsMessage defaultInstance; public static AfterHandShowCardsMessage getDefaultInstance() { return defaultInstance; } - + public AfterHandShowCardsMessage getDefaultInstanceForType() { return defaultInstance; } - + + private AfterHandShowCardsMessage( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + initFields(); + int mutable_bitField0_ = 0; + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: { + if (!parseUnknownField(input, + extensionRegistry, tag)) { + done = true; + } + break; + } + case 10: { + de.pokerth.protocol.ProtoBuf.PlayerResult.Builder subBuilder = null; + if (((bitField0_ & 0x00000001) == 0x00000001)) { + subBuilder = playerResult_.toBuilder(); + } + playerResult_ = input.readMessage(de.pokerth.protocol.ProtoBuf.PlayerResult.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(playerResult_); + playerResult_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x00000001; + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e.getMessage()).setUnfinishedMessage(this); + } finally { + makeExtensionsImmutable(); + } + } + public static com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + public AfterHandShowCardsMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AfterHandShowCardsMessage(input, extensionRegistry); + } + }; + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + private int bitField0_; // required .PlayerResult playerResult = 1; public static final int PLAYERRESULT_FIELD_NUMBER = 1; private de.pokerth.protocol.ProtoBuf.PlayerResult playerResult_; + /** + * required .PlayerResult playerResult = 1; + */ public boolean hasPlayerResult() { return ((bitField0_ & 0x00000001) == 0x00000001); } + /** + * required .PlayerResult playerResult = 1; + */ public de.pokerth.protocol.ProtoBuf.PlayerResult getPlayerResult() { return playerResult_; } - + private void initFields() { playerResult_ = de.pokerth.protocol.ProtoBuf.PlayerResult.getDefaultInstance(); } @@ -28404,7 +35872,7 @@ public final class ProtoBuf { public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; - + if (!hasPlayerResult()) { memoizedIsInitialized = 0; return false; @@ -28416,7 +35884,7 @@ public final class ProtoBuf { memoizedIsInitialized = 1; return true; } - + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); @@ -28424,12 +35892,12 @@ public final class ProtoBuf { output.writeMessage(1, playerResult_); } } - + private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; - + size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream @@ -28438,88 +35906,77 @@ public final class ProtoBuf { memoizedSerializedSize = size; return size; } - + private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } - + public static de.pokerth.protocol.ProtoBuf.AfterHandShowCardsMessage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data).buildParsed(); + return PARSER.parseFrom(data); } public static de.pokerth.protocol.ProtoBuf.AfterHandShowCardsMessage parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(data, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.AfterHandShowCardsMessage parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data).buildParsed(); + return PARSER.parseFrom(data); } public static de.pokerth.protocol.ProtoBuf.AfterHandShowCardsMessage parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(data, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.AfterHandShowCardsMessage parseFrom(java.io.InputStream input) throws java.io.IOException { - return newBuilder().mergeFrom(input).buildParsed(); + return PARSER.parseFrom(input); } public static de.pokerth.protocol.ProtoBuf.AfterHandShowCardsMessage parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return newBuilder().mergeFrom(input, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.AfterHandShowCardsMessage parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - Builder builder = newBuilder(); - if (builder.mergeDelimitedFrom(input)) { - return builder.buildParsed(); - } else { - return null; - } + return PARSER.parseDelimitedFrom(input); } public static de.pokerth.protocol.ProtoBuf.AfterHandShowCardsMessage parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - Builder builder = newBuilder(); - if (builder.mergeDelimitedFrom(input, extensionRegistry)) { - return builder.buildParsed(); - } else { - return null; - } + return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.AfterHandShowCardsMessage parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return newBuilder().mergeFrom(input).buildParsed(); + return PARSER.parseFrom(input); } public static de.pokerth.protocol.ProtoBuf.AfterHandShowCardsMessage parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return newBuilder().mergeFrom(input, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(input, extensionRegistry); } - + public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.AfterHandShowCardsMessage prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } - + + /** + * Protobuf type {@code AfterHandShowCardsMessage} + */ public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.AfterHandShowCardsMessage, Builder> @@ -28528,28 +35985,28 @@ public final class ProtoBuf { private Builder() { maybeForceBuilderInitialization(); } - + private void maybeForceBuilderInitialization() { } private static Builder create() { return new Builder(); } - + public Builder clear() { super.clear(); playerResult_ = de.pokerth.protocol.ProtoBuf.PlayerResult.getDefaultInstance(); bitField0_ = (bitField0_ & ~0x00000001); return this; } - + public Builder clone() { return create().mergeFrom(buildPartial()); } - + public de.pokerth.protocol.ProtoBuf.AfterHandShowCardsMessage getDefaultInstanceForType() { return de.pokerth.protocol.ProtoBuf.AfterHandShowCardsMessage.getDefaultInstance(); } - + public de.pokerth.protocol.ProtoBuf.AfterHandShowCardsMessage build() { de.pokerth.protocol.ProtoBuf.AfterHandShowCardsMessage result = buildPartial(); if (!result.isInitialized()) { @@ -28557,17 +36014,7 @@ public final class ProtoBuf { } return result; } - - private de.pokerth.protocol.ProtoBuf.AfterHandShowCardsMessage buildParsed() - throws com.google.protobuf.InvalidProtocolBufferException { - de.pokerth.protocol.ProtoBuf.AfterHandShowCardsMessage result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException( - result).asInvalidProtocolBufferException(); - } - return result; - } - + public de.pokerth.protocol.ProtoBuf.AfterHandShowCardsMessage buildPartial() { de.pokerth.protocol.ProtoBuf.AfterHandShowCardsMessage result = new de.pokerth.protocol.ProtoBuf.AfterHandShowCardsMessage(this); int from_bitField0_ = bitField0_; @@ -28579,7 +36026,7 @@ public final class ProtoBuf { result.bitField0_ = to_bitField0_; return result; } - + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.AfterHandShowCardsMessage other) { if (other == de.pokerth.protocol.ProtoBuf.AfterHandShowCardsMessage.getDefaultInstance()) return this; if (other.hasPlayerResult()) { @@ -28587,7 +36034,7 @@ public final class ProtoBuf { } return this; } - + public final boolean isInitialized() { if (!hasPlayerResult()) { @@ -28599,63 +36046,65 @@ public final class ProtoBuf { } return true; } - + public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - while (true) { - int tag = input.readTag(); - switch (tag) { - case 0: - - return this; - default: { - if (!parseUnknownField(input, extensionRegistry, tag)) { - - return this; - } - break; - } - case 10: { - de.pokerth.protocol.ProtoBuf.PlayerResult.Builder subBuilder = de.pokerth.protocol.ProtoBuf.PlayerResult.newBuilder(); - if (hasPlayerResult()) { - subBuilder.mergeFrom(getPlayerResult()); - } - input.readMessage(subBuilder, extensionRegistry); - setPlayerResult(subBuilder.buildPartial()); - break; - } + de.pokerth.protocol.ProtoBuf.AfterHandShowCardsMessage parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (de.pokerth.protocol.ProtoBuf.AfterHandShowCardsMessage) e.getUnfinishedMessage(); + throw e; + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); } } + return this; } - private int bitField0_; - + // required .PlayerResult playerResult = 1; private de.pokerth.protocol.ProtoBuf.PlayerResult playerResult_ = de.pokerth.protocol.ProtoBuf.PlayerResult.getDefaultInstance(); + /** + * required .PlayerResult playerResult = 1; + */ public boolean hasPlayerResult() { return ((bitField0_ & 0x00000001) == 0x00000001); } + /** + * required .PlayerResult playerResult = 1; + */ public de.pokerth.protocol.ProtoBuf.PlayerResult getPlayerResult() { return playerResult_; } + /** + * required .PlayerResult playerResult = 1; + */ public Builder setPlayerResult(de.pokerth.protocol.ProtoBuf.PlayerResult value) { if (value == null) { throw new NullPointerException(); } playerResult_ = value; - + bitField0_ |= 0x00000001; return this; } + /** + * required .PlayerResult playerResult = 1; + */ public Builder setPlayerResult( de.pokerth.protocol.ProtoBuf.PlayerResult.Builder builderForValue) { playerResult_ = builderForValue.build(); - + bitField0_ |= 0x00000001; return this; } + /** + * required .PlayerResult playerResult = 1; + */ public Builder mergePlayerResult(de.pokerth.protocol.ProtoBuf.PlayerResult value) { if (((bitField0_ & 0x00000001) == 0x00000001) && playerResult_ != de.pokerth.protocol.ProtoBuf.PlayerResult.getDefaultInstance()) { @@ -28664,312 +36113,94 @@ public final class ProtoBuf { } else { playerResult_ = value; } - + bitField0_ |= 0x00000001; return this; } + /** + * required .PlayerResult playerResult = 1; + */ public Builder clearPlayerResult() { playerResult_ = de.pokerth.protocol.ProtoBuf.PlayerResult.getDefaultInstance(); - + bitField0_ = (bitField0_ & ~0x00000001); return this; } - + // @@protoc_insertion_point(builder_scope:AfterHandShowCardsMessage) } - + static { defaultInstance = new AfterHandShowCardsMessage(true); defaultInstance.initFields(); } - + // @@protoc_insertion_point(class_scope:AfterHandShowCardsMessage) } - + public interface EndOfGameMessageOrBuilder extends com.google.protobuf.MessageLiteOrBuilder { - + // required uint32 gameId = 1; + /** + * required uint32 gameId = 1; + */ boolean hasGameId(); + /** + * required uint32 gameId = 1; + */ int getGameId(); - + // required uint32 winnerPlayerId = 2; + /** + * required uint32 winnerPlayerId = 2; + */ boolean hasWinnerPlayerId(); + /** + * required uint32 winnerPlayerId = 2; + */ int getWinnerPlayerId(); } + /** + * Protobuf type {@code EndOfGameMessage} + */ public static final class EndOfGameMessage extends com.google.protobuf.GeneratedMessageLite implements EndOfGameMessageOrBuilder { // Use EndOfGameMessage.newBuilder() to construct. - private EndOfGameMessage(Builder builder) { + private EndOfGameMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); + } private EndOfGameMessage(boolean noInit) {} - + private static final EndOfGameMessage defaultInstance; public static EndOfGameMessage getDefaultInstance() { return defaultInstance; } - + public EndOfGameMessage getDefaultInstanceForType() { return defaultInstance; } - - private int bitField0_; - // required uint32 gameId = 1; - public static final int GAMEID_FIELD_NUMBER = 1; - private int gameId_; - public boolean hasGameId() { - return ((bitField0_ & 0x00000001) == 0x00000001); - } - public int getGameId() { - return gameId_; - } - - // required uint32 winnerPlayerId = 2; - public static final int WINNERPLAYERID_FIELD_NUMBER = 2; - private int winnerPlayerId_; - public boolean hasWinnerPlayerId() { - return ((bitField0_ & 0x00000002) == 0x00000002); - } - public int getWinnerPlayerId() { - return winnerPlayerId_; - } - - private void initFields() { - gameId_ = 0; - winnerPlayerId_ = 0; - } - private byte memoizedIsInitialized = -1; - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; - - if (!hasGameId()) { - memoizedIsInitialized = 0; - return false; - } - if (!hasWinnerPlayerId()) { - memoizedIsInitialized = 0; - return false; - } - memoizedIsInitialized = 1; - return true; - } - - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - getSerializedSize(); - if (((bitField0_ & 0x00000001) == 0x00000001)) { - output.writeUInt32(1, gameId_); - } - if (((bitField0_ & 0x00000002) == 0x00000002)) { - output.writeUInt32(2, winnerPlayerId_); - } - } - - private int memoizedSerializedSize = -1; - public int getSerializedSize() { - int size = memoizedSerializedSize; - if (size != -1) return size; - - size = 0; - if (((bitField0_ & 0x00000001) == 0x00000001)) { - size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(1, gameId_); - } - if (((bitField0_ & 0x00000002) == 0x00000002)) { - size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(2, winnerPlayerId_); - } - memoizedSerializedSize = size; - return size; - } - - private static final long serialVersionUID = 0L; - @java.lang.Override - protected java.lang.Object writeReplace() - throws java.io.ObjectStreamException { - return super.writeReplace(); - } - - public static de.pokerth.protocol.ProtoBuf.EndOfGameMessage parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data).buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.EndOfGameMessage parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data, extensionRegistry) - .buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.EndOfGameMessage parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data).buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.EndOfGameMessage parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data, extensionRegistry) - .buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.EndOfGameMessage parseFrom(java.io.InputStream input) - throws java.io.IOException { - return newBuilder().mergeFrom(input).buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.EndOfGameMessage parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return newBuilder().mergeFrom(input, extensionRegistry) - .buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.EndOfGameMessage parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - Builder builder = newBuilder(); - if (builder.mergeDelimitedFrom(input)) { - return builder.buildParsed(); - } else { - return null; - } - } - public static de.pokerth.protocol.ProtoBuf.EndOfGameMessage parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - Builder builder = newBuilder(); - if (builder.mergeDelimitedFrom(input, extensionRegistry)) { - return builder.buildParsed(); - } else { - return null; - } - } - public static de.pokerth.protocol.ProtoBuf.EndOfGameMessage parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return newBuilder().mergeFrom(input).buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.EndOfGameMessage parseFrom( + + private EndOfGameMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return newBuilder().mergeFrom(input, extensionRegistry) - .buildParsed(); - } - - public static Builder newBuilder() { return Builder.create(); } - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.EndOfGameMessage prototype) { - return newBuilder().mergeFrom(prototype); - } - public Builder toBuilder() { return newBuilder(this); } - - public static final class Builder extends - com.google.protobuf.GeneratedMessageLite.Builder< - de.pokerth.protocol.ProtoBuf.EndOfGameMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.EndOfGameMessageOrBuilder { - // Construct using de.pokerth.protocol.ProtoBuf.EndOfGameMessage.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - } - private static Builder create() { - return new Builder(); - } - - public Builder clear() { - super.clear(); - gameId_ = 0; - bitField0_ = (bitField0_ & ~0x00000001); - winnerPlayerId_ = 0; - bitField0_ = (bitField0_ & ~0x00000002); - return this; - } - - public Builder clone() { - return create().mergeFrom(buildPartial()); - } - - public de.pokerth.protocol.ProtoBuf.EndOfGameMessage getDefaultInstanceForType() { - return de.pokerth.protocol.ProtoBuf.EndOfGameMessage.getDefaultInstance(); - } - - public de.pokerth.protocol.ProtoBuf.EndOfGameMessage build() { - de.pokerth.protocol.ProtoBuf.EndOfGameMessage result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - private de.pokerth.protocol.ProtoBuf.EndOfGameMessage buildParsed() - throws com.google.protobuf.InvalidProtocolBufferException { - de.pokerth.protocol.ProtoBuf.EndOfGameMessage result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException( - result).asInvalidProtocolBufferException(); - } - return result; - } - - public de.pokerth.protocol.ProtoBuf.EndOfGameMessage buildPartial() { - de.pokerth.protocol.ProtoBuf.EndOfGameMessage result = new de.pokerth.protocol.ProtoBuf.EndOfGameMessage(this); - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) == 0x00000001)) { - to_bitField0_ |= 0x00000001; - } - result.gameId_ = gameId_; - if (((from_bitField0_ & 0x00000002) == 0x00000002)) { - to_bitField0_ |= 0x00000002; - } - result.winnerPlayerId_ = winnerPlayerId_; - result.bitField0_ = to_bitField0_; - return result; - } - - public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.EndOfGameMessage other) { - if (other == de.pokerth.protocol.ProtoBuf.EndOfGameMessage.getDefaultInstance()) return this; - if (other.hasGameId()) { - setGameId(other.getGameId()); - } - if (other.hasWinnerPlayerId()) { - setWinnerPlayerId(other.getWinnerPlayerId()); - } - return this; - } - - public final boolean isInitialized() { - if (!hasGameId()) { - - return false; - } - if (!hasWinnerPlayerId()) { - - return false; - } - return true; - } - - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - while (true) { + throws com.google.protobuf.InvalidProtocolBufferException { + initFields(); + int mutable_bitField0_ = 0; + try { + boolean done = false; + while (!done) { int tag = input.readTag(); switch (tag) { case 0: - - return this; + done = true; + break; default: { - if (!parseUnknownField(input, extensionRegistry, tag)) { - - return this; + if (!parseUnknownField(input, + extensionRegistry, tag)) { + done = true; } break; } @@ -28985,347 +36216,421 @@ public final class ProtoBuf { } } } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e.getMessage()).setUnfinishedMessage(this); + } finally { + makeExtensionsImmutable(); } - - private int bitField0_; - - // required uint32 gameId = 1; - private int gameId_ ; - public boolean hasGameId() { - return ((bitField0_ & 0x00000001) == 0x00000001); - } - public int getGameId() { - return gameId_; - } - public Builder setGameId(int value) { - bitField0_ |= 0x00000001; - gameId_ = value; - - return this; - } - public Builder clearGameId() { - bitField0_ = (bitField0_ & ~0x00000001); - gameId_ = 0; - - return this; - } - - // required uint32 winnerPlayerId = 2; - private int winnerPlayerId_ ; - public boolean hasWinnerPlayerId() { - return ((bitField0_ & 0x00000002) == 0x00000002); - } - public int getWinnerPlayerId() { - return winnerPlayerId_; - } - public Builder setWinnerPlayerId(int value) { - bitField0_ |= 0x00000002; - winnerPlayerId_ = value; - - return this; - } - public Builder clearWinnerPlayerId() { - bitField0_ = (bitField0_ & ~0x00000002); - winnerPlayerId_ = 0; - - return this; - } - - // @@protoc_insertion_point(builder_scope:EndOfGameMessage) } - - static { - defaultInstance = new EndOfGameMessage(true); - defaultInstance.initFields(); + public static com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + public EndOfGameMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new EndOfGameMessage(input, extensionRegistry); + } + }; + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; } - - // @@protoc_insertion_point(class_scope:EndOfGameMessage) - } - - public interface PlayerIdChangedMessageOrBuilder - extends com.google.protobuf.MessageLiteOrBuilder { - - // required uint32 oldPlayerId = 1; - boolean hasOldPlayerId(); - int getOldPlayerId(); - - // required uint32 newPlayerId = 2; - boolean hasNewPlayerId(); - int getNewPlayerId(); - } - public static final class PlayerIdChangedMessage extends - com.google.protobuf.GeneratedMessageLite - implements PlayerIdChangedMessageOrBuilder { - // Use PlayerIdChangedMessage.newBuilder() to construct. - private PlayerIdChangedMessage(Builder builder) { - super(builder); - } - private PlayerIdChangedMessage(boolean noInit) {} - - private static final PlayerIdChangedMessage defaultInstance; - public static PlayerIdChangedMessage getDefaultInstance() { - return defaultInstance; - } - - public PlayerIdChangedMessage getDefaultInstanceForType() { - return defaultInstance; - } - + private int bitField0_; - // required uint32 oldPlayerId = 1; - public static final int OLDPLAYERID_FIELD_NUMBER = 1; - private int oldPlayerId_; - public boolean hasOldPlayerId() { + // required uint32 gameId = 1; + public static final int GAMEID_FIELD_NUMBER = 1; + private int gameId_; + /** + * required uint32 gameId = 1; + */ + public boolean hasGameId() { return ((bitField0_ & 0x00000001) == 0x00000001); } - public int getOldPlayerId() { - return oldPlayerId_; + /** + * required uint32 gameId = 1; + */ + public int getGameId() { + return gameId_; } - - // required uint32 newPlayerId = 2; - public static final int NEWPLAYERID_FIELD_NUMBER = 2; - private int newPlayerId_; - public boolean hasNewPlayerId() { + + // required uint32 winnerPlayerId = 2; + public static final int WINNERPLAYERID_FIELD_NUMBER = 2; + private int winnerPlayerId_; + /** + * required uint32 winnerPlayerId = 2; + */ + public boolean hasWinnerPlayerId() { return ((bitField0_ & 0x00000002) == 0x00000002); } - public int getNewPlayerId() { - return newPlayerId_; + /** + * required uint32 winnerPlayerId = 2; + */ + public int getWinnerPlayerId() { + return winnerPlayerId_; } - + private void initFields() { - oldPlayerId_ = 0; - newPlayerId_ = 0; + gameId_ = 0; + winnerPlayerId_ = 0; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; - - if (!hasOldPlayerId()) { + + if (!hasGameId()) { memoizedIsInitialized = 0; return false; } - if (!hasNewPlayerId()) { + if (!hasWinnerPlayerId()) { memoizedIsInitialized = 0; return false; } memoizedIsInitialized = 1; return true; } - + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { - output.writeUInt32(1, oldPlayerId_); + output.writeUInt32(1, gameId_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { - output.writeUInt32(2, newPlayerId_); + output.writeUInt32(2, winnerPlayerId_); } } - + private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; - + size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(1, oldPlayerId_); + .computeUInt32Size(1, gameId_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(2, newPlayerId_); + .computeUInt32Size(2, winnerPlayerId_); } memoizedSerializedSize = size; return size; } - + private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } - - public static de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessage parseFrom( + + public static de.pokerth.protocol.ProtoBuf.EndOfGameMessage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data).buildParsed(); + return PARSER.parseFrom(data); } - public static de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessage parseFrom( + public static de.pokerth.protocol.ProtoBuf.EndOfGameMessage parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(data, extensionRegistry); } - public static de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessage parseFrom(byte[] data) + public static de.pokerth.protocol.ProtoBuf.EndOfGameMessage parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data).buildParsed(); + return PARSER.parseFrom(data); } - public static de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessage parseFrom( + public static de.pokerth.protocol.ProtoBuf.EndOfGameMessage parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(data, extensionRegistry); } - public static de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessage parseFrom(java.io.InputStream input) + public static de.pokerth.protocol.ProtoBuf.EndOfGameMessage parseFrom(java.io.InputStream input) throws java.io.IOException { - return newBuilder().mergeFrom(input).buildParsed(); + return PARSER.parseFrom(input); } - public static de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessage parseFrom( + public static de.pokerth.protocol.ProtoBuf.EndOfGameMessage parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return newBuilder().mergeFrom(input, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(input, extensionRegistry); } - public static de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessage parseDelimitedFrom(java.io.InputStream input) + public static de.pokerth.protocol.ProtoBuf.EndOfGameMessage parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - Builder builder = newBuilder(); - if (builder.mergeDelimitedFrom(input)) { - return builder.buildParsed(); - } else { - return null; - } + return PARSER.parseDelimitedFrom(input); } - public static de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessage parseDelimitedFrom( + public static de.pokerth.protocol.ProtoBuf.EndOfGameMessage parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - Builder builder = newBuilder(); - if (builder.mergeDelimitedFrom(input, extensionRegistry)) { - return builder.buildParsed(); - } else { - return null; - } + return PARSER.parseDelimitedFrom(input, extensionRegistry); } - public static de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessage parseFrom( + public static de.pokerth.protocol.ProtoBuf.EndOfGameMessage parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return newBuilder().mergeFrom(input).buildParsed(); + return PARSER.parseFrom(input); } - public static de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessage parseFrom( + public static de.pokerth.protocol.ProtoBuf.EndOfGameMessage parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return newBuilder().mergeFrom(input, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(input, extensionRegistry); } - + public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessage prototype) { + public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.EndOfGameMessage prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } - + + /** + * Protobuf type {@code EndOfGameMessage} + */ public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< - de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessageOrBuilder { - // Construct using de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessage.newBuilder() + de.pokerth.protocol.ProtoBuf.EndOfGameMessage, Builder> + implements de.pokerth.protocol.ProtoBuf.EndOfGameMessageOrBuilder { + // Construct using de.pokerth.protocol.ProtoBuf.EndOfGameMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - + private void maybeForceBuilderInitialization() { } private static Builder create() { return new Builder(); } - + public Builder clear() { super.clear(); - oldPlayerId_ = 0; + gameId_ = 0; bitField0_ = (bitField0_ & ~0x00000001); - newPlayerId_ = 0; + winnerPlayerId_ = 0; bitField0_ = (bitField0_ & ~0x00000002); return this; } - + public Builder clone() { return create().mergeFrom(buildPartial()); } - - public de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessage getDefaultInstanceForType() { - return de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessage.getDefaultInstance(); + + public de.pokerth.protocol.ProtoBuf.EndOfGameMessage getDefaultInstanceForType() { + return de.pokerth.protocol.ProtoBuf.EndOfGameMessage.getDefaultInstance(); } - - public de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessage build() { - de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessage result = buildPartial(); + + public de.pokerth.protocol.ProtoBuf.EndOfGameMessage build() { + de.pokerth.protocol.ProtoBuf.EndOfGameMessage result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } - - private de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessage buildParsed() - throws com.google.protobuf.InvalidProtocolBufferException { - de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessage result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException( - result).asInvalidProtocolBufferException(); - } - return result; - } - - public de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessage buildPartial() { - de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessage result = new de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessage(this); + + public de.pokerth.protocol.ProtoBuf.EndOfGameMessage buildPartial() { + de.pokerth.protocol.ProtoBuf.EndOfGameMessage result = new de.pokerth.protocol.ProtoBuf.EndOfGameMessage(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } - result.oldPlayerId_ = oldPlayerId_; + result.gameId_ = gameId_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } - result.newPlayerId_ = newPlayerId_; + result.winnerPlayerId_ = winnerPlayerId_; result.bitField0_ = to_bitField0_; return result; } - - public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessage other) { - if (other == de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessage.getDefaultInstance()) return this; - if (other.hasOldPlayerId()) { - setOldPlayerId(other.getOldPlayerId()); + + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.EndOfGameMessage other) { + if (other == de.pokerth.protocol.ProtoBuf.EndOfGameMessage.getDefaultInstance()) return this; + if (other.hasGameId()) { + setGameId(other.getGameId()); } - if (other.hasNewPlayerId()) { - setNewPlayerId(other.getNewPlayerId()); + if (other.hasWinnerPlayerId()) { + setWinnerPlayerId(other.getWinnerPlayerId()); } return this; } - + public final boolean isInitialized() { - if (!hasOldPlayerId()) { + if (!hasGameId()) { return false; } - if (!hasNewPlayerId()) { + if (!hasWinnerPlayerId()) { return false; } return true; } - + public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - while (true) { + de.pokerth.protocol.ProtoBuf.EndOfGameMessage parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (de.pokerth.protocol.ProtoBuf.EndOfGameMessage) e.getUnfinishedMessage(); + throw e; + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int bitField0_; + + // required uint32 gameId = 1; + private int gameId_ ; + /** + * required uint32 gameId = 1; + */ + public boolean hasGameId() { + return ((bitField0_ & 0x00000001) == 0x00000001); + } + /** + * required uint32 gameId = 1; + */ + public int getGameId() { + return gameId_; + } + /** + * required uint32 gameId = 1; + */ + public Builder setGameId(int value) { + bitField0_ |= 0x00000001; + gameId_ = value; + + return this; + } + /** + * required uint32 gameId = 1; + */ + public Builder clearGameId() { + bitField0_ = (bitField0_ & ~0x00000001); + gameId_ = 0; + + return this; + } + + // required uint32 winnerPlayerId = 2; + private int winnerPlayerId_ ; + /** + * required uint32 winnerPlayerId = 2; + */ + public boolean hasWinnerPlayerId() { + return ((bitField0_ & 0x00000002) == 0x00000002); + } + /** + * required uint32 winnerPlayerId = 2; + */ + public int getWinnerPlayerId() { + return winnerPlayerId_; + } + /** + * required uint32 winnerPlayerId = 2; + */ + public Builder setWinnerPlayerId(int value) { + bitField0_ |= 0x00000002; + winnerPlayerId_ = value; + + return this; + } + /** + * required uint32 winnerPlayerId = 2; + */ + public Builder clearWinnerPlayerId() { + bitField0_ = (bitField0_ & ~0x00000002); + winnerPlayerId_ = 0; + + return this; + } + + // @@protoc_insertion_point(builder_scope:EndOfGameMessage) + } + + static { + defaultInstance = new EndOfGameMessage(true); + defaultInstance.initFields(); + } + + // @@protoc_insertion_point(class_scope:EndOfGameMessage) + } + + public interface PlayerIdChangedMessageOrBuilder + extends com.google.protobuf.MessageLiteOrBuilder { + + // required uint32 oldPlayerId = 1; + /** + * required uint32 oldPlayerId = 1; + */ + boolean hasOldPlayerId(); + /** + * required uint32 oldPlayerId = 1; + */ + int getOldPlayerId(); + + // required uint32 newPlayerId = 2; + /** + * required uint32 newPlayerId = 2; + */ + boolean hasNewPlayerId(); + /** + * required uint32 newPlayerId = 2; + */ + int getNewPlayerId(); + } + /** + * Protobuf type {@code PlayerIdChangedMessage} + */ + public static final class PlayerIdChangedMessage extends + com.google.protobuf.GeneratedMessageLite + implements PlayerIdChangedMessageOrBuilder { + // Use PlayerIdChangedMessage.newBuilder() to construct. + private PlayerIdChangedMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { + super(builder); + + } + private PlayerIdChangedMessage(boolean noInit) {} + + private static final PlayerIdChangedMessage defaultInstance; + public static PlayerIdChangedMessage getDefaultInstance() { + return defaultInstance; + } + + public PlayerIdChangedMessage getDefaultInstanceForType() { + return defaultInstance; + } + + private PlayerIdChangedMessage( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + initFields(); + int mutable_bitField0_ = 0; + try { + boolean done = false; + while (!done) { int tag = input.readTag(); switch (tag) { case 0: - - return this; + done = true; + break; default: { - if (!parseUnknownField(input, extensionRegistry, tag)) { - - return this; + if (!parseUnknownField(input, + extensionRegistry, tag)) { + done = true; } break; } @@ -29341,347 +36646,421 @@ public final class ProtoBuf { } } } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e.getMessage()).setUnfinishedMessage(this); + } finally { + makeExtensionsImmutable(); } - - private int bitField0_; - - // required uint32 oldPlayerId = 1; - private int oldPlayerId_ ; - public boolean hasOldPlayerId() { - return ((bitField0_ & 0x00000001) == 0x00000001); - } - public int getOldPlayerId() { - return oldPlayerId_; - } - public Builder setOldPlayerId(int value) { - bitField0_ |= 0x00000001; - oldPlayerId_ = value; - - return this; - } - public Builder clearOldPlayerId() { - bitField0_ = (bitField0_ & ~0x00000001); - oldPlayerId_ = 0; - - return this; - } - - // required uint32 newPlayerId = 2; - private int newPlayerId_ ; - public boolean hasNewPlayerId() { - return ((bitField0_ & 0x00000002) == 0x00000002); - } - public int getNewPlayerId() { - return newPlayerId_; - } - public Builder setNewPlayerId(int value) { - bitField0_ |= 0x00000002; - newPlayerId_ = value; - - return this; - } - public Builder clearNewPlayerId() { - bitField0_ = (bitField0_ & ~0x00000002); - newPlayerId_ = 0; - - return this; - } - - // @@protoc_insertion_point(builder_scope:PlayerIdChangedMessage) } - - static { - defaultInstance = new PlayerIdChangedMessage(true); - defaultInstance.initFields(); + public static com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + public PlayerIdChangedMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PlayerIdChangedMessage(input, extensionRegistry); + } + }; + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; } - - // @@protoc_insertion_point(class_scope:PlayerIdChangedMessage) - } - - public interface AskKickPlayerMessageOrBuilder - extends com.google.protobuf.MessageLiteOrBuilder { - - // required uint32 gameId = 1; - boolean hasGameId(); - int getGameId(); - - // required uint32 playerId = 2; - boolean hasPlayerId(); - int getPlayerId(); - } - public static final class AskKickPlayerMessage extends - com.google.protobuf.GeneratedMessageLite - implements AskKickPlayerMessageOrBuilder { - // Use AskKickPlayerMessage.newBuilder() to construct. - private AskKickPlayerMessage(Builder builder) { - super(builder); - } - private AskKickPlayerMessage(boolean noInit) {} - - private static final AskKickPlayerMessage defaultInstance; - public static AskKickPlayerMessage getDefaultInstance() { - return defaultInstance; - } - - public AskKickPlayerMessage getDefaultInstanceForType() { - return defaultInstance; - } - + private int bitField0_; - // required uint32 gameId = 1; - public static final int GAMEID_FIELD_NUMBER = 1; - private int gameId_; - public boolean hasGameId() { + // required uint32 oldPlayerId = 1; + public static final int OLDPLAYERID_FIELD_NUMBER = 1; + private int oldPlayerId_; + /** + * required uint32 oldPlayerId = 1; + */ + public boolean hasOldPlayerId() { return ((bitField0_ & 0x00000001) == 0x00000001); } - public int getGameId() { - return gameId_; + /** + * required uint32 oldPlayerId = 1; + */ + public int getOldPlayerId() { + return oldPlayerId_; } - - // required uint32 playerId = 2; - public static final int PLAYERID_FIELD_NUMBER = 2; - private int playerId_; - public boolean hasPlayerId() { + + // required uint32 newPlayerId = 2; + public static final int NEWPLAYERID_FIELD_NUMBER = 2; + private int newPlayerId_; + /** + * required uint32 newPlayerId = 2; + */ + public boolean hasNewPlayerId() { return ((bitField0_ & 0x00000002) == 0x00000002); } - public int getPlayerId() { - return playerId_; + /** + * required uint32 newPlayerId = 2; + */ + public int getNewPlayerId() { + return newPlayerId_; } - + private void initFields() { - gameId_ = 0; - playerId_ = 0; + oldPlayerId_ = 0; + newPlayerId_ = 0; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; - - if (!hasGameId()) { + + if (!hasOldPlayerId()) { memoizedIsInitialized = 0; return false; } - if (!hasPlayerId()) { + if (!hasNewPlayerId()) { memoizedIsInitialized = 0; return false; } memoizedIsInitialized = 1; return true; } - + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { - output.writeUInt32(1, gameId_); + output.writeUInt32(1, oldPlayerId_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { - output.writeUInt32(2, playerId_); + output.writeUInt32(2, newPlayerId_); } } - + private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; - + size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(1, gameId_); + .computeUInt32Size(1, oldPlayerId_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(2, playerId_); + .computeUInt32Size(2, newPlayerId_); } memoizedSerializedSize = size; return size; } - + private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } - - public static de.pokerth.protocol.ProtoBuf.AskKickPlayerMessage parseFrom( + + public static de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data).buildParsed(); + return PARSER.parseFrom(data); } - public static de.pokerth.protocol.ProtoBuf.AskKickPlayerMessage parseFrom( + public static de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessage parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(data, extensionRegistry); } - public static de.pokerth.protocol.ProtoBuf.AskKickPlayerMessage parseFrom(byte[] data) + public static de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessage parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data).buildParsed(); + return PARSER.parseFrom(data); } - public static de.pokerth.protocol.ProtoBuf.AskKickPlayerMessage parseFrom( + public static de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessage parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(data, extensionRegistry); } - public static de.pokerth.protocol.ProtoBuf.AskKickPlayerMessage parseFrom(java.io.InputStream input) + public static de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessage parseFrom(java.io.InputStream input) throws java.io.IOException { - return newBuilder().mergeFrom(input).buildParsed(); + return PARSER.parseFrom(input); } - public static de.pokerth.protocol.ProtoBuf.AskKickPlayerMessage parseFrom( + public static de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessage parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return newBuilder().mergeFrom(input, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(input, extensionRegistry); } - public static de.pokerth.protocol.ProtoBuf.AskKickPlayerMessage parseDelimitedFrom(java.io.InputStream input) + public static de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessage parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - Builder builder = newBuilder(); - if (builder.mergeDelimitedFrom(input)) { - return builder.buildParsed(); - } else { - return null; - } + return PARSER.parseDelimitedFrom(input); } - public static de.pokerth.protocol.ProtoBuf.AskKickPlayerMessage parseDelimitedFrom( + public static de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessage parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - Builder builder = newBuilder(); - if (builder.mergeDelimitedFrom(input, extensionRegistry)) { - return builder.buildParsed(); - } else { - return null; - } + return PARSER.parseDelimitedFrom(input, extensionRegistry); } - public static de.pokerth.protocol.ProtoBuf.AskKickPlayerMessage parseFrom( + public static de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessage parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return newBuilder().mergeFrom(input).buildParsed(); + return PARSER.parseFrom(input); } - public static de.pokerth.protocol.ProtoBuf.AskKickPlayerMessage parseFrom( + public static de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessage parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return newBuilder().mergeFrom(input, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(input, extensionRegistry); } - + public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.AskKickPlayerMessage prototype) { + public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessage prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } - + + /** + * Protobuf type {@code PlayerIdChangedMessage} + */ public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< - de.pokerth.protocol.ProtoBuf.AskKickPlayerMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.AskKickPlayerMessageOrBuilder { - // Construct using de.pokerth.protocol.ProtoBuf.AskKickPlayerMessage.newBuilder() + de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessage, Builder> + implements de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessageOrBuilder { + // Construct using de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - + private void maybeForceBuilderInitialization() { } private static Builder create() { return new Builder(); } - + public Builder clear() { super.clear(); - gameId_ = 0; + oldPlayerId_ = 0; bitField0_ = (bitField0_ & ~0x00000001); - playerId_ = 0; + newPlayerId_ = 0; bitField0_ = (bitField0_ & ~0x00000002); return this; } - + public Builder clone() { return create().mergeFrom(buildPartial()); } - - public de.pokerth.protocol.ProtoBuf.AskKickPlayerMessage getDefaultInstanceForType() { - return de.pokerth.protocol.ProtoBuf.AskKickPlayerMessage.getDefaultInstance(); + + public de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessage getDefaultInstanceForType() { + return de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessage.getDefaultInstance(); } - - public de.pokerth.protocol.ProtoBuf.AskKickPlayerMessage build() { - de.pokerth.protocol.ProtoBuf.AskKickPlayerMessage result = buildPartial(); + + public de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessage build() { + de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessage result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } - - private de.pokerth.protocol.ProtoBuf.AskKickPlayerMessage buildParsed() - throws com.google.protobuf.InvalidProtocolBufferException { - de.pokerth.protocol.ProtoBuf.AskKickPlayerMessage result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException( - result).asInvalidProtocolBufferException(); - } - return result; - } - - public de.pokerth.protocol.ProtoBuf.AskKickPlayerMessage buildPartial() { - de.pokerth.protocol.ProtoBuf.AskKickPlayerMessage result = new de.pokerth.protocol.ProtoBuf.AskKickPlayerMessage(this); + + public de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessage buildPartial() { + de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessage result = new de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessage(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } - result.gameId_ = gameId_; + result.oldPlayerId_ = oldPlayerId_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } - result.playerId_ = playerId_; + result.newPlayerId_ = newPlayerId_; result.bitField0_ = to_bitField0_; return result; } - - public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.AskKickPlayerMessage other) { - if (other == de.pokerth.protocol.ProtoBuf.AskKickPlayerMessage.getDefaultInstance()) return this; - if (other.hasGameId()) { - setGameId(other.getGameId()); + + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessage other) { + if (other == de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessage.getDefaultInstance()) return this; + if (other.hasOldPlayerId()) { + setOldPlayerId(other.getOldPlayerId()); } - if (other.hasPlayerId()) { - setPlayerId(other.getPlayerId()); + if (other.hasNewPlayerId()) { + setNewPlayerId(other.getNewPlayerId()); } return this; } - + public final boolean isInitialized() { - if (!hasGameId()) { + if (!hasOldPlayerId()) { return false; } - if (!hasPlayerId()) { + if (!hasNewPlayerId()) { return false; } return true; } - + public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - while (true) { + de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessage parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessage) e.getUnfinishedMessage(); + throw e; + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int bitField0_; + + // required uint32 oldPlayerId = 1; + private int oldPlayerId_ ; + /** + * required uint32 oldPlayerId = 1; + */ + public boolean hasOldPlayerId() { + return ((bitField0_ & 0x00000001) == 0x00000001); + } + /** + * required uint32 oldPlayerId = 1; + */ + public int getOldPlayerId() { + return oldPlayerId_; + } + /** + * required uint32 oldPlayerId = 1; + */ + public Builder setOldPlayerId(int value) { + bitField0_ |= 0x00000001; + oldPlayerId_ = value; + + return this; + } + /** + * required uint32 oldPlayerId = 1; + */ + public Builder clearOldPlayerId() { + bitField0_ = (bitField0_ & ~0x00000001); + oldPlayerId_ = 0; + + return this; + } + + // required uint32 newPlayerId = 2; + private int newPlayerId_ ; + /** + * required uint32 newPlayerId = 2; + */ + public boolean hasNewPlayerId() { + return ((bitField0_ & 0x00000002) == 0x00000002); + } + /** + * required uint32 newPlayerId = 2; + */ + public int getNewPlayerId() { + return newPlayerId_; + } + /** + * required uint32 newPlayerId = 2; + */ + public Builder setNewPlayerId(int value) { + bitField0_ |= 0x00000002; + newPlayerId_ = value; + + return this; + } + /** + * required uint32 newPlayerId = 2; + */ + public Builder clearNewPlayerId() { + bitField0_ = (bitField0_ & ~0x00000002); + newPlayerId_ = 0; + + return this; + } + + // @@protoc_insertion_point(builder_scope:PlayerIdChangedMessage) + } + + static { + defaultInstance = new PlayerIdChangedMessage(true); + defaultInstance.initFields(); + } + + // @@protoc_insertion_point(class_scope:PlayerIdChangedMessage) + } + + public interface AskKickPlayerMessageOrBuilder + extends com.google.protobuf.MessageLiteOrBuilder { + + // required uint32 gameId = 1; + /** + * required uint32 gameId = 1; + */ + boolean hasGameId(); + /** + * required uint32 gameId = 1; + */ + int getGameId(); + + // required uint32 playerId = 2; + /** + * required uint32 playerId = 2; + */ + boolean hasPlayerId(); + /** + * required uint32 playerId = 2; + */ + int getPlayerId(); + } + /** + * Protobuf type {@code AskKickPlayerMessage} + */ + public static final class AskKickPlayerMessage extends + com.google.protobuf.GeneratedMessageLite + implements AskKickPlayerMessageOrBuilder { + // Use AskKickPlayerMessage.newBuilder() to construct. + private AskKickPlayerMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { + super(builder); + + } + private AskKickPlayerMessage(boolean noInit) {} + + private static final AskKickPlayerMessage defaultInstance; + public static AskKickPlayerMessage getDefaultInstance() { + return defaultInstance; + } + + public AskKickPlayerMessage getDefaultInstanceForType() { + return defaultInstance; + } + + private AskKickPlayerMessage( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + initFields(); + int mutable_bitField0_ = 0; + try { + boolean done = false; + while (!done) { int tag = input.readTag(); switch (tag) { case 0: - - return this; + done = true; + break; default: { - if (!parseUnknownField(input, extensionRegistry, tag)) { - - return this; + if (!parseUnknownField(input, + extensionRegistry, tag)) { + done = true; } break; } @@ -29697,187 +37076,72 @@ public final class ProtoBuf { } } } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e.getMessage()).setUnfinishedMessage(this); + } finally { + makeExtensionsImmutable(); } - - private int bitField0_; - - // required uint32 gameId = 1; - private int gameId_ ; - public boolean hasGameId() { - return ((bitField0_ & 0x00000001) == 0x00000001); - } - public int getGameId() { - return gameId_; - } - public Builder setGameId(int value) { - bitField0_ |= 0x00000001; - gameId_ = value; - - return this; - } - public Builder clearGameId() { - bitField0_ = (bitField0_ & ~0x00000001); - gameId_ = 0; - - return this; - } - - // required uint32 playerId = 2; - private int playerId_ ; - public boolean hasPlayerId() { - return ((bitField0_ & 0x00000002) == 0x00000002); - } - public int getPlayerId() { - return playerId_; - } - public Builder setPlayerId(int value) { - bitField0_ |= 0x00000002; - playerId_ = value; - - return this; - } - public Builder clearPlayerId() { - bitField0_ = (bitField0_ & ~0x00000002); - playerId_ = 0; - - return this; - } - - // @@protoc_insertion_point(builder_scope:AskKickPlayerMessage) } - - static { - defaultInstance = new AskKickPlayerMessage(true); - defaultInstance.initFields(); - } - - // @@protoc_insertion_point(class_scope:AskKickPlayerMessage) - } - - public interface AskKickDeniedMessageOrBuilder - extends com.google.protobuf.MessageLiteOrBuilder { - - // required uint32 gameId = 1; - boolean hasGameId(); - int getGameId(); - - // required uint32 playerId = 2; - boolean hasPlayerId(); - int getPlayerId(); - - // required .AskKickDeniedMessage.KickDeniedReason kickDeniedReason = 3; - boolean hasKickDeniedReason(); - de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage.KickDeniedReason getKickDeniedReason(); - } - public static final class AskKickDeniedMessage extends - com.google.protobuf.GeneratedMessageLite - implements AskKickDeniedMessageOrBuilder { - // Use AskKickDeniedMessage.newBuilder() to construct. - private AskKickDeniedMessage(Builder builder) { - super(builder); - } - private AskKickDeniedMessage(boolean noInit) {} - - private static final AskKickDeniedMessage defaultInstance; - public static AskKickDeniedMessage getDefaultInstance() { - return defaultInstance; - } - - public AskKickDeniedMessage getDefaultInstanceForType() { - return defaultInstance; - } - - public enum KickDeniedReason - implements com.google.protobuf.Internal.EnumLite { - kickDeniedInvalidGameState(0, 0), - kickDeniedNotPossible(1, 1), - kickDeniedTryAgainLater(2, 2), - kickDeniedAlreadyInProgress(3, 3), - kickDeniedInvalidPlayerId(4, 4), - ; - - public static final int kickDeniedInvalidGameState_VALUE = 0; - public static final int kickDeniedNotPossible_VALUE = 1; - public static final int kickDeniedTryAgainLater_VALUE = 2; - public static final int kickDeniedAlreadyInProgress_VALUE = 3; - public static final int kickDeniedInvalidPlayerId_VALUE = 4; - - - public final int getNumber() { return value; } - - public static KickDeniedReason valueOf(int value) { - switch (value) { - case 0: return kickDeniedInvalidGameState; - case 1: return kickDeniedNotPossible; - case 2: return kickDeniedTryAgainLater; - case 3: return kickDeniedAlreadyInProgress; - case 4: return kickDeniedInvalidPlayerId; - default: return null; - } + public static com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + public AskKickPlayerMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AskKickPlayerMessage(input, extensionRegistry); } - - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { - return internalValueMap; - } - private static com.google.protobuf.Internal.EnumLiteMap - internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public KickDeniedReason findValueByNumber(int number) { - return KickDeniedReason.valueOf(number); - } - }; - - private final int value; - - private KickDeniedReason(int index, int value) { - this.value = value; - } - - // @@protoc_insertion_point(enum_scope:AskKickDeniedMessage.KickDeniedReason) + }; + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; } - + private int bitField0_; // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; + /** + * required uint32 gameId = 1; + */ public boolean hasGameId() { return ((bitField0_ & 0x00000001) == 0x00000001); } + /** + * required uint32 gameId = 1; + */ public int getGameId() { return gameId_; } - + // required uint32 playerId = 2; public static final int PLAYERID_FIELD_NUMBER = 2; private int playerId_; + /** + * required uint32 playerId = 2; + */ public boolean hasPlayerId() { return ((bitField0_ & 0x00000002) == 0x00000002); } + /** + * required uint32 playerId = 2; + */ public int getPlayerId() { return playerId_; } - - // required .AskKickDeniedMessage.KickDeniedReason kickDeniedReason = 3; - public static final int KICKDENIEDREASON_FIELD_NUMBER = 3; - private de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage.KickDeniedReason kickDeniedReason_; - public boolean hasKickDeniedReason() { - return ((bitField0_ & 0x00000004) == 0x00000004); - } - public de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage.KickDeniedReason getKickDeniedReason() { - return kickDeniedReason_; - } - + private void initFields() { gameId_ = 0; playerId_ = 0; - kickDeniedReason_ = de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage.KickDeniedReason.kickDeniedInvalidGameState; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; - + if (!hasGameId()) { memoizedIsInitialized = 0; return false; @@ -29886,14 +37150,10 @@ public final class ProtoBuf { memoizedIsInitialized = 0; return false; } - if (!hasKickDeniedReason()) { - memoizedIsInitialized = 0; - return false; - } memoizedIsInitialized = 1; return true; } - + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); @@ -29903,16 +37163,13 @@ public final class ProtoBuf { if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeUInt32(2, playerId_); } - if (((bitField0_ & 0x00000004) == 0x00000004)) { - output.writeEnum(3, kickDeniedReason_.getNumber()); - } } - + private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; - + size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream @@ -29922,149 +37179,122 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(2, playerId_); } - if (((bitField0_ & 0x00000004) == 0x00000004)) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(3, kickDeniedReason_.getNumber()); - } memoizedSerializedSize = size; return size; } - + private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } - - public static de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage parseFrom( + + public static de.pokerth.protocol.ProtoBuf.AskKickPlayerMessage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data).buildParsed(); + return PARSER.parseFrom(data); } - public static de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage parseFrom( + public static de.pokerth.protocol.ProtoBuf.AskKickPlayerMessage parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(data, extensionRegistry); } - public static de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage parseFrom(byte[] data) + public static de.pokerth.protocol.ProtoBuf.AskKickPlayerMessage parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data).buildParsed(); + return PARSER.parseFrom(data); } - public static de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage parseFrom( + public static de.pokerth.protocol.ProtoBuf.AskKickPlayerMessage parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(data, extensionRegistry); } - public static de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage parseFrom(java.io.InputStream input) + public static de.pokerth.protocol.ProtoBuf.AskKickPlayerMessage parseFrom(java.io.InputStream input) throws java.io.IOException { - return newBuilder().mergeFrom(input).buildParsed(); + return PARSER.parseFrom(input); } - public static de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage parseFrom( + public static de.pokerth.protocol.ProtoBuf.AskKickPlayerMessage parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return newBuilder().mergeFrom(input, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(input, extensionRegistry); } - public static de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage parseDelimitedFrom(java.io.InputStream input) + public static de.pokerth.protocol.ProtoBuf.AskKickPlayerMessage parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - Builder builder = newBuilder(); - if (builder.mergeDelimitedFrom(input)) { - return builder.buildParsed(); - } else { - return null; - } + return PARSER.parseDelimitedFrom(input); } - public static de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage parseDelimitedFrom( + public static de.pokerth.protocol.ProtoBuf.AskKickPlayerMessage parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - Builder builder = newBuilder(); - if (builder.mergeDelimitedFrom(input, extensionRegistry)) { - return builder.buildParsed(); - } else { - return null; - } + return PARSER.parseDelimitedFrom(input, extensionRegistry); } - public static de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage parseFrom( + public static de.pokerth.protocol.ProtoBuf.AskKickPlayerMessage parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return newBuilder().mergeFrom(input).buildParsed(); + return PARSER.parseFrom(input); } - public static de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage parseFrom( + public static de.pokerth.protocol.ProtoBuf.AskKickPlayerMessage parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return newBuilder().mergeFrom(input, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(input, extensionRegistry); } - + public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage prototype) { + public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.AskKickPlayerMessage prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } - + + /** + * Protobuf type {@code AskKickPlayerMessage} + */ public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< - de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.AskKickDeniedMessageOrBuilder { - // Construct using de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage.newBuilder() + de.pokerth.protocol.ProtoBuf.AskKickPlayerMessage, Builder> + implements de.pokerth.protocol.ProtoBuf.AskKickPlayerMessageOrBuilder { + // Construct using de.pokerth.protocol.ProtoBuf.AskKickPlayerMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - + private void maybeForceBuilderInitialization() { } private static Builder create() { return new Builder(); } - + public Builder clear() { super.clear(); gameId_ = 0; bitField0_ = (bitField0_ & ~0x00000001); playerId_ = 0; bitField0_ = (bitField0_ & ~0x00000002); - kickDeniedReason_ = de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage.KickDeniedReason.kickDeniedInvalidGameState; - bitField0_ = (bitField0_ & ~0x00000004); return this; } - + public Builder clone() { return create().mergeFrom(buildPartial()); } - - public de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage getDefaultInstanceForType() { - return de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage.getDefaultInstance(); + + public de.pokerth.protocol.ProtoBuf.AskKickPlayerMessage getDefaultInstanceForType() { + return de.pokerth.protocol.ProtoBuf.AskKickPlayerMessage.getDefaultInstance(); } - - public de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage build() { - de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage result = buildPartial(); + + public de.pokerth.protocol.ProtoBuf.AskKickPlayerMessage build() { + de.pokerth.protocol.ProtoBuf.AskKickPlayerMessage result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } - - private de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage buildParsed() - throws com.google.protobuf.InvalidProtocolBufferException { - de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException( - result).asInvalidProtocolBufferException(); - } - return result; - } - - public de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage buildPartial() { - de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage result = new de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage(this); + + public de.pokerth.protocol.ProtoBuf.AskKickPlayerMessage buildPartial() { + de.pokerth.protocol.ProtoBuf.AskKickPlayerMessage result = new de.pokerth.protocol.ProtoBuf.AskKickPlayerMessage(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { @@ -30075,28 +37305,21 @@ public final class ProtoBuf { to_bitField0_ |= 0x00000002; } result.playerId_ = playerId_; - if (((from_bitField0_ & 0x00000004) == 0x00000004)) { - to_bitField0_ |= 0x00000004; - } - result.kickDeniedReason_ = kickDeniedReason_; result.bitField0_ = to_bitField0_; return result; } - - public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage other) { - if (other == de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage.getDefaultInstance()) return this; + + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.AskKickPlayerMessage other) { + if (other == de.pokerth.protocol.ProtoBuf.AskKickPlayerMessage.getDefaultInstance()) return this; if (other.hasGameId()) { setGameId(other.getGameId()); } if (other.hasPlayerId()) { setPlayerId(other.getPlayerId()); } - if (other.hasKickDeniedReason()) { - setKickDeniedReason(other.getKickDeniedReason()); - } return this; } - + public final boolean isInitialized() { if (!hasGameId()) { @@ -30106,27 +37329,178 @@ public final class ProtoBuf { return false; } - if (!hasKickDeniedReason()) { - - return false; - } return true; } - + public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - while (true) { + de.pokerth.protocol.ProtoBuf.AskKickPlayerMessage parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (de.pokerth.protocol.ProtoBuf.AskKickPlayerMessage) e.getUnfinishedMessage(); + throw e; + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int bitField0_; + + // required uint32 gameId = 1; + private int gameId_ ; + /** + * required uint32 gameId = 1; + */ + public boolean hasGameId() { + return ((bitField0_ & 0x00000001) == 0x00000001); + } + /** + * required uint32 gameId = 1; + */ + public int getGameId() { + return gameId_; + } + /** + * required uint32 gameId = 1; + */ + public Builder setGameId(int value) { + bitField0_ |= 0x00000001; + gameId_ = value; + + return this; + } + /** + * required uint32 gameId = 1; + */ + public Builder clearGameId() { + bitField0_ = (bitField0_ & ~0x00000001); + gameId_ = 0; + + return this; + } + + // required uint32 playerId = 2; + private int playerId_ ; + /** + * required uint32 playerId = 2; + */ + public boolean hasPlayerId() { + return ((bitField0_ & 0x00000002) == 0x00000002); + } + /** + * required uint32 playerId = 2; + */ + public int getPlayerId() { + return playerId_; + } + /** + * required uint32 playerId = 2; + */ + public Builder setPlayerId(int value) { + bitField0_ |= 0x00000002; + playerId_ = value; + + return this; + } + /** + * required uint32 playerId = 2; + */ + public Builder clearPlayerId() { + bitField0_ = (bitField0_ & ~0x00000002); + playerId_ = 0; + + return this; + } + + // @@protoc_insertion_point(builder_scope:AskKickPlayerMessage) + } + + static { + defaultInstance = new AskKickPlayerMessage(true); + defaultInstance.initFields(); + } + + // @@protoc_insertion_point(class_scope:AskKickPlayerMessage) + } + + public interface AskKickDeniedMessageOrBuilder + extends com.google.protobuf.MessageLiteOrBuilder { + + // required uint32 gameId = 1; + /** + * required uint32 gameId = 1; + */ + boolean hasGameId(); + /** + * required uint32 gameId = 1; + */ + int getGameId(); + + // required uint32 playerId = 2; + /** + * required uint32 playerId = 2; + */ + boolean hasPlayerId(); + /** + * required uint32 playerId = 2; + */ + int getPlayerId(); + + // required .AskKickDeniedMessage.KickDeniedReason kickDeniedReason = 3; + /** + * required .AskKickDeniedMessage.KickDeniedReason kickDeniedReason = 3; + */ + boolean hasKickDeniedReason(); + /** + * required .AskKickDeniedMessage.KickDeniedReason kickDeniedReason = 3; + */ + de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage.KickDeniedReason getKickDeniedReason(); + } + /** + * Protobuf type {@code AskKickDeniedMessage} + */ + public static final class AskKickDeniedMessage extends + com.google.protobuf.GeneratedMessageLite + implements AskKickDeniedMessageOrBuilder { + // Use AskKickDeniedMessage.newBuilder() to construct. + private AskKickDeniedMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { + super(builder); + + } + private AskKickDeniedMessage(boolean noInit) {} + + private static final AskKickDeniedMessage defaultInstance; + public static AskKickDeniedMessage getDefaultInstance() { + return defaultInstance; + } + + public AskKickDeniedMessage getDefaultInstanceForType() { + return defaultInstance; + } + + private AskKickDeniedMessage( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + initFields(); + int mutable_bitField0_ = 0; + try { + boolean done = false; + while (!done) { int tag = input.readTag(); switch (tag) { case 0: - - return this; + done = true; + break; default: { - if (!parseUnknownField(input, extensionRegistry, tag)) { - - return this; + if (!parseUnknownField(input, + extensionRegistry, tag)) { + done = true; } break; } @@ -30151,234 +37525,188 @@ public final class ProtoBuf { } } } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e.getMessage()).setUnfinishedMessage(this); + } finally { + makeExtensionsImmutable(); } - - private int bitField0_; - - // required uint32 gameId = 1; - private int gameId_ ; - public boolean hasGameId() { - return ((bitField0_ & 0x00000001) == 0x00000001); + } + public static com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + public AskKickDeniedMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AskKickDeniedMessage(input, extensionRegistry); } - public int getGameId() { - return gameId_; - } - public Builder setGameId(int value) { - bitField0_ |= 0x00000001; - gameId_ = value; - - return this; - } - public Builder clearGameId() { - bitField0_ = (bitField0_ & ~0x00000001); - gameId_ = 0; - - return this; - } - - // required uint32 playerId = 2; - private int playerId_ ; - public boolean hasPlayerId() { - return ((bitField0_ & 0x00000002) == 0x00000002); - } - public int getPlayerId() { - return playerId_; - } - public Builder setPlayerId(int value) { - bitField0_ |= 0x00000002; - playerId_ = value; - - return this; - } - public Builder clearPlayerId() { - bitField0_ = (bitField0_ & ~0x00000002); - playerId_ = 0; - - return this; - } - - // required .AskKickDeniedMessage.KickDeniedReason kickDeniedReason = 3; - private de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage.KickDeniedReason kickDeniedReason_ = de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage.KickDeniedReason.kickDeniedInvalidGameState; - public boolean hasKickDeniedReason() { - return ((bitField0_ & 0x00000004) == 0x00000004); - } - public de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage.KickDeniedReason getKickDeniedReason() { - return kickDeniedReason_; - } - public Builder setKickDeniedReason(de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage.KickDeniedReason value) { - if (value == null) { - throw new NullPointerException(); + }; + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + /** + * Protobuf enum {@code AskKickDeniedMessage.KickDeniedReason} + */ + public enum KickDeniedReason + implements com.google.protobuf.Internal.EnumLite { + /** + * kickDeniedInvalidGameState = 0; + */ + kickDeniedInvalidGameState(0, 0), + /** + * kickDeniedNotPossible = 1; + */ + kickDeniedNotPossible(1, 1), + /** + * kickDeniedTryAgainLater = 2; + */ + kickDeniedTryAgainLater(2, 2), + /** + * kickDeniedAlreadyInProgress = 3; + */ + kickDeniedAlreadyInProgress(3, 3), + /** + * kickDeniedInvalidPlayerId = 4; + */ + kickDeniedInvalidPlayerId(4, 4), + ; + + /** + * kickDeniedInvalidGameState = 0; + */ + public static final int kickDeniedInvalidGameState_VALUE = 0; + /** + * kickDeniedNotPossible = 1; + */ + public static final int kickDeniedNotPossible_VALUE = 1; + /** + * kickDeniedTryAgainLater = 2; + */ + public static final int kickDeniedTryAgainLater_VALUE = 2; + /** + * kickDeniedAlreadyInProgress = 3; + */ + public static final int kickDeniedAlreadyInProgress_VALUE = 3; + /** + * kickDeniedInvalidPlayerId = 4; + */ + public static final int kickDeniedInvalidPlayerId_VALUE = 4; + + + public final int getNumber() { return value; } + + public static KickDeniedReason valueOf(int value) { + switch (value) { + case 0: return kickDeniedInvalidGameState; + case 1: return kickDeniedNotPossible; + case 2: return kickDeniedTryAgainLater; + case 3: return kickDeniedAlreadyInProgress; + case 4: return kickDeniedInvalidPlayerId; + default: return null; } - bitField0_ |= 0x00000004; - kickDeniedReason_ = value; - - return this; } - public Builder clearKickDeniedReason() { - bitField0_ = (bitField0_ & ~0x00000004); - kickDeniedReason_ = de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage.KickDeniedReason.kickDeniedInvalidGameState; - - return this; + + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { + return internalValueMap; } - - // @@protoc_insertion_point(builder_scope:AskKickDeniedMessage) + private static com.google.protobuf.Internal.EnumLiteMap + internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public KickDeniedReason findValueByNumber(int number) { + return KickDeniedReason.valueOf(number); + } + }; + + private final int value; + + private KickDeniedReason(int index, int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:AskKickDeniedMessage.KickDeniedReason) } - - static { - defaultInstance = new AskKickDeniedMessage(true); - defaultInstance.initFields(); - } - - // @@protoc_insertion_point(class_scope:AskKickDeniedMessage) - } - - public interface StartKickPetitionMessageOrBuilder - extends com.google.protobuf.MessageLiteOrBuilder { - - // required uint32 gameId = 1; - boolean hasGameId(); - int getGameId(); - - // required uint32 petitionId = 2; - boolean hasPetitionId(); - int getPetitionId(); - - // required uint32 proposingPlayerId = 3; - boolean hasProposingPlayerId(); - int getProposingPlayerId(); - - // required uint32 kickPlayerId = 4; - boolean hasKickPlayerId(); - int getKickPlayerId(); - - // required uint32 kickTimeoutSec = 5; - boolean hasKickTimeoutSec(); - int getKickTimeoutSec(); - - // required uint32 numVotesNeededToKick = 6; - boolean hasNumVotesNeededToKick(); - int getNumVotesNeededToKick(); - } - public static final class StartKickPetitionMessage extends - com.google.protobuf.GeneratedMessageLite - implements StartKickPetitionMessageOrBuilder { - // Use StartKickPetitionMessage.newBuilder() to construct. - private StartKickPetitionMessage(Builder builder) { - super(builder); - } - private StartKickPetitionMessage(boolean noInit) {} - - private static final StartKickPetitionMessage defaultInstance; - public static StartKickPetitionMessage getDefaultInstance() { - return defaultInstance; - } - - public StartKickPetitionMessage getDefaultInstanceForType() { - return defaultInstance; - } - + private int bitField0_; // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; + /** + * required uint32 gameId = 1; + */ public boolean hasGameId() { return ((bitField0_ & 0x00000001) == 0x00000001); } + /** + * required uint32 gameId = 1; + */ public int getGameId() { return gameId_; } - - // required uint32 petitionId = 2; - public static final int PETITIONID_FIELD_NUMBER = 2; - private int petitionId_; - public boolean hasPetitionId() { + + // required uint32 playerId = 2; + public static final int PLAYERID_FIELD_NUMBER = 2; + private int playerId_; + /** + * required uint32 playerId = 2; + */ + public boolean hasPlayerId() { return ((bitField0_ & 0x00000002) == 0x00000002); } - public int getPetitionId() { - return petitionId_; + /** + * required uint32 playerId = 2; + */ + public int getPlayerId() { + return playerId_; } - - // required uint32 proposingPlayerId = 3; - public static final int PROPOSINGPLAYERID_FIELD_NUMBER = 3; - private int proposingPlayerId_; - public boolean hasProposingPlayerId() { + + // required .AskKickDeniedMessage.KickDeniedReason kickDeniedReason = 3; + public static final int KICKDENIEDREASON_FIELD_NUMBER = 3; + private de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage.KickDeniedReason kickDeniedReason_; + /** + * required .AskKickDeniedMessage.KickDeniedReason kickDeniedReason = 3; + */ + public boolean hasKickDeniedReason() { return ((bitField0_ & 0x00000004) == 0x00000004); } - public int getProposingPlayerId() { - return proposingPlayerId_; + /** + * required .AskKickDeniedMessage.KickDeniedReason kickDeniedReason = 3; + */ + public de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage.KickDeniedReason getKickDeniedReason() { + return kickDeniedReason_; } - - // required uint32 kickPlayerId = 4; - public static final int KICKPLAYERID_FIELD_NUMBER = 4; - private int kickPlayerId_; - public boolean hasKickPlayerId() { - return ((bitField0_ & 0x00000008) == 0x00000008); - } - public int getKickPlayerId() { - return kickPlayerId_; - } - - // required uint32 kickTimeoutSec = 5; - public static final int KICKTIMEOUTSEC_FIELD_NUMBER = 5; - private int kickTimeoutSec_; - public boolean hasKickTimeoutSec() { - return ((bitField0_ & 0x00000010) == 0x00000010); - } - public int getKickTimeoutSec() { - return kickTimeoutSec_; - } - - // required uint32 numVotesNeededToKick = 6; - public static final int NUMVOTESNEEDEDTOKICK_FIELD_NUMBER = 6; - private int numVotesNeededToKick_; - public boolean hasNumVotesNeededToKick() { - return ((bitField0_ & 0x00000020) == 0x00000020); - } - public int getNumVotesNeededToKick() { - return numVotesNeededToKick_; - } - + private void initFields() { gameId_ = 0; - petitionId_ = 0; - proposingPlayerId_ = 0; - kickPlayerId_ = 0; - kickTimeoutSec_ = 0; - numVotesNeededToKick_ = 0; + playerId_ = 0; + kickDeniedReason_ = de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage.KickDeniedReason.kickDeniedInvalidGameState; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; - + if (!hasGameId()) { memoizedIsInitialized = 0; return false; } - if (!hasPetitionId()) { + if (!hasPlayerId()) { memoizedIsInitialized = 0; return false; } - if (!hasProposingPlayerId()) { - memoizedIsInitialized = 0; - return false; - } - if (!hasKickPlayerId()) { - memoizedIsInitialized = 0; - return false; - } - if (!hasKickTimeoutSec()) { - memoizedIsInitialized = 0; - return false; - } - if (!hasNumVotesNeededToKick()) { + if (!hasKickDeniedReason()) { memoizedIsInitialized = 0; return false; } memoizedIsInitialized = 1; return true; } - + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); @@ -30386,27 +37714,18 @@ public final class ProtoBuf { output.writeUInt32(1, gameId_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { - output.writeUInt32(2, petitionId_); + output.writeUInt32(2, playerId_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { - output.writeUInt32(3, proposingPlayerId_); - } - if (((bitField0_ & 0x00000008) == 0x00000008)) { - output.writeUInt32(4, kickPlayerId_); - } - if (((bitField0_ & 0x00000010) == 0x00000010)) { - output.writeUInt32(5, kickTimeoutSec_); - } - if (((bitField0_ & 0x00000020) == 0x00000020)) { - output.writeUInt32(6, numVotesNeededToKick_); + output.writeEnum(3, kickDeniedReason_.getNumber()); } } - + private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; - + size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream @@ -30414,169 +37733,130 @@ public final class ProtoBuf { } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(2, petitionId_); + .computeUInt32Size(2, playerId_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(3, proposingPlayerId_); - } - if (((bitField0_ & 0x00000008) == 0x00000008)) { - size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(4, kickPlayerId_); - } - if (((bitField0_ & 0x00000010) == 0x00000010)) { - size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(5, kickTimeoutSec_); - } - if (((bitField0_ & 0x00000020) == 0x00000020)) { - size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(6, numVotesNeededToKick_); + .computeEnumSize(3, kickDeniedReason_.getNumber()); } memoizedSerializedSize = size; return size; } - + private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } - - public static de.pokerth.protocol.ProtoBuf.StartKickPetitionMessage parseFrom( + + public static de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data).buildParsed(); + return PARSER.parseFrom(data); } - public static de.pokerth.protocol.ProtoBuf.StartKickPetitionMessage parseFrom( + public static de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(data, extensionRegistry); } - public static de.pokerth.protocol.ProtoBuf.StartKickPetitionMessage parseFrom(byte[] data) + public static de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data).buildParsed(); + return PARSER.parseFrom(data); } - public static de.pokerth.protocol.ProtoBuf.StartKickPetitionMessage parseFrom( + public static de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(data, extensionRegistry); } - public static de.pokerth.protocol.ProtoBuf.StartKickPetitionMessage parseFrom(java.io.InputStream input) + public static de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage parseFrom(java.io.InputStream input) throws java.io.IOException { - return newBuilder().mergeFrom(input).buildParsed(); + return PARSER.parseFrom(input); } - public static de.pokerth.protocol.ProtoBuf.StartKickPetitionMessage parseFrom( + public static de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return newBuilder().mergeFrom(input, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(input, extensionRegistry); } - public static de.pokerth.protocol.ProtoBuf.StartKickPetitionMessage parseDelimitedFrom(java.io.InputStream input) + public static de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - Builder builder = newBuilder(); - if (builder.mergeDelimitedFrom(input)) { - return builder.buildParsed(); - } else { - return null; - } + return PARSER.parseDelimitedFrom(input); } - public static de.pokerth.protocol.ProtoBuf.StartKickPetitionMessage parseDelimitedFrom( + public static de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - Builder builder = newBuilder(); - if (builder.mergeDelimitedFrom(input, extensionRegistry)) { - return builder.buildParsed(); - } else { - return null; - } + return PARSER.parseDelimitedFrom(input, extensionRegistry); } - public static de.pokerth.protocol.ProtoBuf.StartKickPetitionMessage parseFrom( + public static de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return newBuilder().mergeFrom(input).buildParsed(); + return PARSER.parseFrom(input); } - public static de.pokerth.protocol.ProtoBuf.StartKickPetitionMessage parseFrom( + public static de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return newBuilder().mergeFrom(input, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(input, extensionRegistry); } - + public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.StartKickPetitionMessage prototype) { + public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } - + + /** + * Protobuf type {@code AskKickDeniedMessage} + */ public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< - de.pokerth.protocol.ProtoBuf.StartKickPetitionMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.StartKickPetitionMessageOrBuilder { - // Construct using de.pokerth.protocol.ProtoBuf.StartKickPetitionMessage.newBuilder() + de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage, Builder> + implements de.pokerth.protocol.ProtoBuf.AskKickDeniedMessageOrBuilder { + // Construct using de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - + private void maybeForceBuilderInitialization() { } private static Builder create() { return new Builder(); } - + public Builder clear() { super.clear(); gameId_ = 0; bitField0_ = (bitField0_ & ~0x00000001); - petitionId_ = 0; + playerId_ = 0; bitField0_ = (bitField0_ & ~0x00000002); - proposingPlayerId_ = 0; + kickDeniedReason_ = de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage.KickDeniedReason.kickDeniedInvalidGameState; bitField0_ = (bitField0_ & ~0x00000004); - kickPlayerId_ = 0; - bitField0_ = (bitField0_ & ~0x00000008); - kickTimeoutSec_ = 0; - bitField0_ = (bitField0_ & ~0x00000010); - numVotesNeededToKick_ = 0; - bitField0_ = (bitField0_ & ~0x00000020); return this; } - + public Builder clone() { return create().mergeFrom(buildPartial()); } - - public de.pokerth.protocol.ProtoBuf.StartKickPetitionMessage getDefaultInstanceForType() { - return de.pokerth.protocol.ProtoBuf.StartKickPetitionMessage.getDefaultInstance(); + + public de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage getDefaultInstanceForType() { + return de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage.getDefaultInstance(); } - - public de.pokerth.protocol.ProtoBuf.StartKickPetitionMessage build() { - de.pokerth.protocol.ProtoBuf.StartKickPetitionMessage result = buildPartial(); + + public de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage build() { + de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } - - private de.pokerth.protocol.ProtoBuf.StartKickPetitionMessage buildParsed() - throws com.google.protobuf.InvalidProtocolBufferException { - de.pokerth.protocol.ProtoBuf.StartKickPetitionMessage result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException( - result).asInvalidProtocolBufferException(); - } - return result; - } - - public de.pokerth.protocol.ProtoBuf.StartKickPetitionMessage buildPartial() { - de.pokerth.protocol.ProtoBuf.StartKickPetitionMessage result = new de.pokerth.protocol.ProtoBuf.StartKickPetitionMessage(this); + + public de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage buildPartial() { + de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage result = new de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { @@ -30586,92 +37866,280 @@ public final class ProtoBuf { if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } - result.petitionId_ = petitionId_; + result.playerId_ = playerId_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } - result.proposingPlayerId_ = proposingPlayerId_; - if (((from_bitField0_ & 0x00000008) == 0x00000008)) { - to_bitField0_ |= 0x00000008; - } - result.kickPlayerId_ = kickPlayerId_; - if (((from_bitField0_ & 0x00000010) == 0x00000010)) { - to_bitField0_ |= 0x00000010; - } - result.kickTimeoutSec_ = kickTimeoutSec_; - if (((from_bitField0_ & 0x00000020) == 0x00000020)) { - to_bitField0_ |= 0x00000020; - } - result.numVotesNeededToKick_ = numVotesNeededToKick_; + result.kickDeniedReason_ = kickDeniedReason_; result.bitField0_ = to_bitField0_; return result; } - - public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.StartKickPetitionMessage other) { - if (other == de.pokerth.protocol.ProtoBuf.StartKickPetitionMessage.getDefaultInstance()) return this; + + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage other) { + if (other == de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage.getDefaultInstance()) return this; if (other.hasGameId()) { setGameId(other.getGameId()); } - if (other.hasPetitionId()) { - setPetitionId(other.getPetitionId()); + if (other.hasPlayerId()) { + setPlayerId(other.getPlayerId()); } - if (other.hasProposingPlayerId()) { - setProposingPlayerId(other.getProposingPlayerId()); - } - if (other.hasKickPlayerId()) { - setKickPlayerId(other.getKickPlayerId()); - } - if (other.hasKickTimeoutSec()) { - setKickTimeoutSec(other.getKickTimeoutSec()); - } - if (other.hasNumVotesNeededToKick()) { - setNumVotesNeededToKick(other.getNumVotesNeededToKick()); + if (other.hasKickDeniedReason()) { + setKickDeniedReason(other.getKickDeniedReason()); } return this; } - + public final boolean isInitialized() { if (!hasGameId()) { return false; } - if (!hasPetitionId()) { + if (!hasPlayerId()) { return false; } - if (!hasProposingPlayerId()) { - - return false; - } - if (!hasKickPlayerId()) { - - return false; - } - if (!hasKickTimeoutSec()) { - - return false; - } - if (!hasNumVotesNeededToKick()) { + if (!hasKickDeniedReason()) { return false; } return true; } - + public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - while (true) { + de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage) e.getUnfinishedMessage(); + throw e; + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int bitField0_; + + // required uint32 gameId = 1; + private int gameId_ ; + /** + * required uint32 gameId = 1; + */ + public boolean hasGameId() { + return ((bitField0_ & 0x00000001) == 0x00000001); + } + /** + * required uint32 gameId = 1; + */ + public int getGameId() { + return gameId_; + } + /** + * required uint32 gameId = 1; + */ + public Builder setGameId(int value) { + bitField0_ |= 0x00000001; + gameId_ = value; + + return this; + } + /** + * required uint32 gameId = 1; + */ + public Builder clearGameId() { + bitField0_ = (bitField0_ & ~0x00000001); + gameId_ = 0; + + return this; + } + + // required uint32 playerId = 2; + private int playerId_ ; + /** + * required uint32 playerId = 2; + */ + public boolean hasPlayerId() { + return ((bitField0_ & 0x00000002) == 0x00000002); + } + /** + * required uint32 playerId = 2; + */ + public int getPlayerId() { + return playerId_; + } + /** + * required uint32 playerId = 2; + */ + public Builder setPlayerId(int value) { + bitField0_ |= 0x00000002; + playerId_ = value; + + return this; + } + /** + * required uint32 playerId = 2; + */ + public Builder clearPlayerId() { + bitField0_ = (bitField0_ & ~0x00000002); + playerId_ = 0; + + return this; + } + + // required .AskKickDeniedMessage.KickDeniedReason kickDeniedReason = 3; + private de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage.KickDeniedReason kickDeniedReason_ = de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage.KickDeniedReason.kickDeniedInvalidGameState; + /** + * required .AskKickDeniedMessage.KickDeniedReason kickDeniedReason = 3; + */ + public boolean hasKickDeniedReason() { + return ((bitField0_ & 0x00000004) == 0x00000004); + } + /** + * required .AskKickDeniedMessage.KickDeniedReason kickDeniedReason = 3; + */ + public de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage.KickDeniedReason getKickDeniedReason() { + return kickDeniedReason_; + } + /** + * required .AskKickDeniedMessage.KickDeniedReason kickDeniedReason = 3; + */ + public Builder setKickDeniedReason(de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage.KickDeniedReason value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000004; + kickDeniedReason_ = value; + + return this; + } + /** + * required .AskKickDeniedMessage.KickDeniedReason kickDeniedReason = 3; + */ + public Builder clearKickDeniedReason() { + bitField0_ = (bitField0_ & ~0x00000004); + kickDeniedReason_ = de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage.KickDeniedReason.kickDeniedInvalidGameState; + + return this; + } + + // @@protoc_insertion_point(builder_scope:AskKickDeniedMessage) + } + + static { + defaultInstance = new AskKickDeniedMessage(true); + defaultInstance.initFields(); + } + + // @@protoc_insertion_point(class_scope:AskKickDeniedMessage) + } + + public interface StartKickPetitionMessageOrBuilder + extends com.google.protobuf.MessageLiteOrBuilder { + + // required uint32 gameId = 1; + /** + * required uint32 gameId = 1; + */ + boolean hasGameId(); + /** + * required uint32 gameId = 1; + */ + int getGameId(); + + // required uint32 petitionId = 2; + /** + * required uint32 petitionId = 2; + */ + boolean hasPetitionId(); + /** + * required uint32 petitionId = 2; + */ + int getPetitionId(); + + // required uint32 proposingPlayerId = 3; + /** + * required uint32 proposingPlayerId = 3; + */ + boolean hasProposingPlayerId(); + /** + * required uint32 proposingPlayerId = 3; + */ + int getProposingPlayerId(); + + // required uint32 kickPlayerId = 4; + /** + * required uint32 kickPlayerId = 4; + */ + boolean hasKickPlayerId(); + /** + * required uint32 kickPlayerId = 4; + */ + int getKickPlayerId(); + + // required uint32 kickTimeoutSec = 5; + /** + * required uint32 kickTimeoutSec = 5; + */ + boolean hasKickTimeoutSec(); + /** + * required uint32 kickTimeoutSec = 5; + */ + int getKickTimeoutSec(); + + // required uint32 numVotesNeededToKick = 6; + /** + * required uint32 numVotesNeededToKick = 6; + */ + boolean hasNumVotesNeededToKick(); + /** + * required uint32 numVotesNeededToKick = 6; + */ + int getNumVotesNeededToKick(); + } + /** + * Protobuf type {@code StartKickPetitionMessage} + */ + public static final class StartKickPetitionMessage extends + com.google.protobuf.GeneratedMessageLite + implements StartKickPetitionMessageOrBuilder { + // Use StartKickPetitionMessage.newBuilder() to construct. + private StartKickPetitionMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { + super(builder); + + } + private StartKickPetitionMessage(boolean noInit) {} + + private static final StartKickPetitionMessage defaultInstance; + public static StartKickPetitionMessage getDefaultInstance() { + return defaultInstance; + } + + public StartKickPetitionMessage getDefaultInstanceForType() { + return defaultInstance; + } + + private StartKickPetitionMessage( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + initFields(); + int mutable_bitField0_ = 0; + try { + boolean done = false; + while (!done) { int tag = input.readTag(); switch (tag) { case 0: - - return this; + done = true; + break; default: { - if (!parseUnknownField(input, extensionRegistry, tag)) { - - return this; + if (!parseUnknownField(input, + extensionRegistry, tag)) { + done = true; } break; } @@ -30707,221 +38175,140 @@ public final class ProtoBuf { } } } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e.getMessage()).setUnfinishedMessage(this); + } finally { + makeExtensionsImmutable(); } - - private int bitField0_; - - // required uint32 gameId = 1; - private int gameId_ ; - public boolean hasGameId() { - return ((bitField0_ & 0x00000001) == 0x00000001); - } - public int getGameId() { - return gameId_; - } - public Builder setGameId(int value) { - bitField0_ |= 0x00000001; - gameId_ = value; - - return this; - } - public Builder clearGameId() { - bitField0_ = (bitField0_ & ~0x00000001); - gameId_ = 0; - - return this; - } - - // required uint32 petitionId = 2; - private int petitionId_ ; - public boolean hasPetitionId() { - return ((bitField0_ & 0x00000002) == 0x00000002); - } - public int getPetitionId() { - return petitionId_; - } - public Builder setPetitionId(int value) { - bitField0_ |= 0x00000002; - petitionId_ = value; - - return this; - } - public Builder clearPetitionId() { - bitField0_ = (bitField0_ & ~0x00000002); - petitionId_ = 0; - - return this; - } - - // required uint32 proposingPlayerId = 3; - private int proposingPlayerId_ ; - public boolean hasProposingPlayerId() { - return ((bitField0_ & 0x00000004) == 0x00000004); - } - public int getProposingPlayerId() { - return proposingPlayerId_; - } - public Builder setProposingPlayerId(int value) { - bitField0_ |= 0x00000004; - proposingPlayerId_ = value; - - return this; - } - public Builder clearProposingPlayerId() { - bitField0_ = (bitField0_ & ~0x00000004); - proposingPlayerId_ = 0; - - return this; - } - - // required uint32 kickPlayerId = 4; - private int kickPlayerId_ ; - public boolean hasKickPlayerId() { - return ((bitField0_ & 0x00000008) == 0x00000008); - } - public int getKickPlayerId() { - return kickPlayerId_; - } - public Builder setKickPlayerId(int value) { - bitField0_ |= 0x00000008; - kickPlayerId_ = value; - - return this; - } - public Builder clearKickPlayerId() { - bitField0_ = (bitField0_ & ~0x00000008); - kickPlayerId_ = 0; - - return this; - } - - // required uint32 kickTimeoutSec = 5; - private int kickTimeoutSec_ ; - public boolean hasKickTimeoutSec() { - return ((bitField0_ & 0x00000010) == 0x00000010); - } - public int getKickTimeoutSec() { - return kickTimeoutSec_; - } - public Builder setKickTimeoutSec(int value) { - bitField0_ |= 0x00000010; - kickTimeoutSec_ = value; - - return this; - } - public Builder clearKickTimeoutSec() { - bitField0_ = (bitField0_ & ~0x00000010); - kickTimeoutSec_ = 0; - - return this; - } - - // required uint32 numVotesNeededToKick = 6; - private int numVotesNeededToKick_ ; - public boolean hasNumVotesNeededToKick() { - return ((bitField0_ & 0x00000020) == 0x00000020); - } - public int getNumVotesNeededToKick() { - return numVotesNeededToKick_; - } - public Builder setNumVotesNeededToKick(int value) { - bitField0_ |= 0x00000020; - numVotesNeededToKick_ = value; - - return this; - } - public Builder clearNumVotesNeededToKick() { - bitField0_ = (bitField0_ & ~0x00000020); - numVotesNeededToKick_ = 0; - - return this; - } - - // @@protoc_insertion_point(builder_scope:StartKickPetitionMessage) } - - static { - defaultInstance = new StartKickPetitionMessage(true); - defaultInstance.initFields(); + public static com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + public StartKickPetitionMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new StartKickPetitionMessage(input, extensionRegistry); + } + }; + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; } - - // @@protoc_insertion_point(class_scope:StartKickPetitionMessage) - } - - public interface VoteKickRequestMessageOrBuilder - extends com.google.protobuf.MessageLiteOrBuilder { - - // required uint32 gameId = 1; - boolean hasGameId(); - int getGameId(); - - // required uint32 petitionId = 2; - boolean hasPetitionId(); - int getPetitionId(); - - // required bool voteKick = 3; - boolean hasVoteKick(); - boolean getVoteKick(); - } - public static final class VoteKickRequestMessage extends - com.google.protobuf.GeneratedMessageLite - implements VoteKickRequestMessageOrBuilder { - // Use VoteKickRequestMessage.newBuilder() to construct. - private VoteKickRequestMessage(Builder builder) { - super(builder); - } - private VoteKickRequestMessage(boolean noInit) {} - - private static final VoteKickRequestMessage defaultInstance; - public static VoteKickRequestMessage getDefaultInstance() { - return defaultInstance; - } - - public VoteKickRequestMessage getDefaultInstanceForType() { - return defaultInstance; - } - + private int bitField0_; // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; + /** + * required uint32 gameId = 1; + */ public boolean hasGameId() { return ((bitField0_ & 0x00000001) == 0x00000001); } + /** + * required uint32 gameId = 1; + */ public int getGameId() { return gameId_; } - + // required uint32 petitionId = 2; public static final int PETITIONID_FIELD_NUMBER = 2; private int petitionId_; + /** + * required uint32 petitionId = 2; + */ public boolean hasPetitionId() { return ((bitField0_ & 0x00000002) == 0x00000002); } + /** + * required uint32 petitionId = 2; + */ public int getPetitionId() { return petitionId_; } - - // required bool voteKick = 3; - public static final int VOTEKICK_FIELD_NUMBER = 3; - private boolean voteKick_; - public boolean hasVoteKick() { + + // required uint32 proposingPlayerId = 3; + public static final int PROPOSINGPLAYERID_FIELD_NUMBER = 3; + private int proposingPlayerId_; + /** + * required uint32 proposingPlayerId = 3; + */ + public boolean hasProposingPlayerId() { return ((bitField0_ & 0x00000004) == 0x00000004); } - public boolean getVoteKick() { - return voteKick_; + /** + * required uint32 proposingPlayerId = 3; + */ + public int getProposingPlayerId() { + return proposingPlayerId_; } - + + // required uint32 kickPlayerId = 4; + public static final int KICKPLAYERID_FIELD_NUMBER = 4; + private int kickPlayerId_; + /** + * required uint32 kickPlayerId = 4; + */ + public boolean hasKickPlayerId() { + return ((bitField0_ & 0x00000008) == 0x00000008); + } + /** + * required uint32 kickPlayerId = 4; + */ + public int getKickPlayerId() { + return kickPlayerId_; + } + + // required uint32 kickTimeoutSec = 5; + public static final int KICKTIMEOUTSEC_FIELD_NUMBER = 5; + private int kickTimeoutSec_; + /** + * required uint32 kickTimeoutSec = 5; + */ + public boolean hasKickTimeoutSec() { + return ((bitField0_ & 0x00000010) == 0x00000010); + } + /** + * required uint32 kickTimeoutSec = 5; + */ + public int getKickTimeoutSec() { + return kickTimeoutSec_; + } + + // required uint32 numVotesNeededToKick = 6; + public static final int NUMVOTESNEEDEDTOKICK_FIELD_NUMBER = 6; + private int numVotesNeededToKick_; + /** + * required uint32 numVotesNeededToKick = 6; + */ + public boolean hasNumVotesNeededToKick() { + return ((bitField0_ & 0x00000020) == 0x00000020); + } + /** + * required uint32 numVotesNeededToKick = 6; + */ + public int getNumVotesNeededToKick() { + return numVotesNeededToKick_; + } + private void initFields() { gameId_ = 0; petitionId_ = 0; - voteKick_ = false; + proposingPlayerId_ = 0; + kickPlayerId_ = 0; + kickTimeoutSec_ = 0; + numVotesNeededToKick_ = 0; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; - + if (!hasGameId()) { memoizedIsInitialized = 0; return false; @@ -30930,14 +38317,26 @@ public final class ProtoBuf { memoizedIsInitialized = 0; return false; } - if (!hasVoteKick()) { + if (!hasProposingPlayerId()) { + memoizedIsInitialized = 0; + return false; + } + if (!hasKickPlayerId()) { + memoizedIsInitialized = 0; + return false; + } + if (!hasKickTimeoutSec()) { + memoizedIsInitialized = 0; + return false; + } + if (!hasNumVotesNeededToKick()) { memoizedIsInitialized = 0; return false; } memoizedIsInitialized = 1; return true; } - + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); @@ -30948,15 +38347,24 @@ public final class ProtoBuf { output.writeUInt32(2, petitionId_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { - output.writeBool(3, voteKick_); + output.writeUInt32(3, proposingPlayerId_); + } + if (((bitField0_ & 0x00000008) == 0x00000008)) { + output.writeUInt32(4, kickPlayerId_); + } + if (((bitField0_ & 0x00000010) == 0x00000010)) { + output.writeUInt32(5, kickTimeoutSec_); + } + if (((bitField0_ & 0x00000020) == 0x00000020)) { + output.writeUInt32(6, numVotesNeededToKick_); } } - + private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; - + size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream @@ -30968,147 +38376,144 @@ public final class ProtoBuf { } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream - .computeBoolSize(3, voteKick_); + .computeUInt32Size(3, proposingPlayerId_); + } + if (((bitField0_ & 0x00000008) == 0x00000008)) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(4, kickPlayerId_); + } + if (((bitField0_ & 0x00000010) == 0x00000010)) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(5, kickTimeoutSec_); + } + if (((bitField0_ & 0x00000020) == 0x00000020)) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(6, numVotesNeededToKick_); } memoizedSerializedSize = size; return size; } - + private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } - - public static de.pokerth.protocol.ProtoBuf.VoteKickRequestMessage parseFrom( + + public static de.pokerth.protocol.ProtoBuf.StartKickPetitionMessage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data).buildParsed(); + return PARSER.parseFrom(data); } - public static de.pokerth.protocol.ProtoBuf.VoteKickRequestMessage parseFrom( + public static de.pokerth.protocol.ProtoBuf.StartKickPetitionMessage parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(data, extensionRegistry); } - public static de.pokerth.protocol.ProtoBuf.VoteKickRequestMessage parseFrom(byte[] data) + public static de.pokerth.protocol.ProtoBuf.StartKickPetitionMessage parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data).buildParsed(); + return PARSER.parseFrom(data); } - public static de.pokerth.protocol.ProtoBuf.VoteKickRequestMessage parseFrom( + public static de.pokerth.protocol.ProtoBuf.StartKickPetitionMessage parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(data, extensionRegistry); } - public static de.pokerth.protocol.ProtoBuf.VoteKickRequestMessage parseFrom(java.io.InputStream input) + public static de.pokerth.protocol.ProtoBuf.StartKickPetitionMessage parseFrom(java.io.InputStream input) throws java.io.IOException { - return newBuilder().mergeFrom(input).buildParsed(); + return PARSER.parseFrom(input); } - public static de.pokerth.protocol.ProtoBuf.VoteKickRequestMessage parseFrom( + public static de.pokerth.protocol.ProtoBuf.StartKickPetitionMessage parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return newBuilder().mergeFrom(input, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(input, extensionRegistry); } - public static de.pokerth.protocol.ProtoBuf.VoteKickRequestMessage parseDelimitedFrom(java.io.InputStream input) + public static de.pokerth.protocol.ProtoBuf.StartKickPetitionMessage parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - Builder builder = newBuilder(); - if (builder.mergeDelimitedFrom(input)) { - return builder.buildParsed(); - } else { - return null; - } + return PARSER.parseDelimitedFrom(input); } - public static de.pokerth.protocol.ProtoBuf.VoteKickRequestMessage parseDelimitedFrom( + public static de.pokerth.protocol.ProtoBuf.StartKickPetitionMessage parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - Builder builder = newBuilder(); - if (builder.mergeDelimitedFrom(input, extensionRegistry)) { - return builder.buildParsed(); - } else { - return null; - } + return PARSER.parseDelimitedFrom(input, extensionRegistry); } - public static de.pokerth.protocol.ProtoBuf.VoteKickRequestMessage parseFrom( + public static de.pokerth.protocol.ProtoBuf.StartKickPetitionMessage parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return newBuilder().mergeFrom(input).buildParsed(); + return PARSER.parseFrom(input); } - public static de.pokerth.protocol.ProtoBuf.VoteKickRequestMessage parseFrom( + public static de.pokerth.protocol.ProtoBuf.StartKickPetitionMessage parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return newBuilder().mergeFrom(input, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(input, extensionRegistry); } - + public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.VoteKickRequestMessage prototype) { + public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.StartKickPetitionMessage prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } - + + /** + * Protobuf type {@code StartKickPetitionMessage} + */ public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< - de.pokerth.protocol.ProtoBuf.VoteKickRequestMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.VoteKickRequestMessageOrBuilder { - // Construct using de.pokerth.protocol.ProtoBuf.VoteKickRequestMessage.newBuilder() + de.pokerth.protocol.ProtoBuf.StartKickPetitionMessage, Builder> + implements de.pokerth.protocol.ProtoBuf.StartKickPetitionMessageOrBuilder { + // Construct using de.pokerth.protocol.ProtoBuf.StartKickPetitionMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - + private void maybeForceBuilderInitialization() { } private static Builder create() { return new Builder(); } - + public Builder clear() { super.clear(); gameId_ = 0; bitField0_ = (bitField0_ & ~0x00000001); petitionId_ = 0; bitField0_ = (bitField0_ & ~0x00000002); - voteKick_ = false; + proposingPlayerId_ = 0; bitField0_ = (bitField0_ & ~0x00000004); + kickPlayerId_ = 0; + bitField0_ = (bitField0_ & ~0x00000008); + kickTimeoutSec_ = 0; + bitField0_ = (bitField0_ & ~0x00000010); + numVotesNeededToKick_ = 0; + bitField0_ = (bitField0_ & ~0x00000020); return this; } - + public Builder clone() { return create().mergeFrom(buildPartial()); } - - public de.pokerth.protocol.ProtoBuf.VoteKickRequestMessage getDefaultInstanceForType() { - return de.pokerth.protocol.ProtoBuf.VoteKickRequestMessage.getDefaultInstance(); + + public de.pokerth.protocol.ProtoBuf.StartKickPetitionMessage getDefaultInstanceForType() { + return de.pokerth.protocol.ProtoBuf.StartKickPetitionMessage.getDefaultInstance(); } - - public de.pokerth.protocol.ProtoBuf.VoteKickRequestMessage build() { - de.pokerth.protocol.ProtoBuf.VoteKickRequestMessage result = buildPartial(); + + public de.pokerth.protocol.ProtoBuf.StartKickPetitionMessage build() { + de.pokerth.protocol.ProtoBuf.StartKickPetitionMessage result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } - - private de.pokerth.protocol.ProtoBuf.VoteKickRequestMessage buildParsed() - throws com.google.protobuf.InvalidProtocolBufferException { - de.pokerth.protocol.ProtoBuf.VoteKickRequestMessage result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException( - result).asInvalidProtocolBufferException(); - } - return result; - } - - public de.pokerth.protocol.ProtoBuf.VoteKickRequestMessage buildPartial() { - de.pokerth.protocol.ProtoBuf.VoteKickRequestMessage result = new de.pokerth.protocol.ProtoBuf.VoteKickRequestMessage(this); + + public de.pokerth.protocol.ProtoBuf.StartKickPetitionMessage buildPartial() { + de.pokerth.protocol.ProtoBuf.StartKickPetitionMessage result = new de.pokerth.protocol.ProtoBuf.StartKickPetitionMessage(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { @@ -31122,25 +38527,46 @@ public final class ProtoBuf { if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } - result.voteKick_ = voteKick_; + result.proposingPlayerId_ = proposingPlayerId_; + if (((from_bitField0_ & 0x00000008) == 0x00000008)) { + to_bitField0_ |= 0x00000008; + } + result.kickPlayerId_ = kickPlayerId_; + if (((from_bitField0_ & 0x00000010) == 0x00000010)) { + to_bitField0_ |= 0x00000010; + } + result.kickTimeoutSec_ = kickTimeoutSec_; + if (((from_bitField0_ & 0x00000020) == 0x00000020)) { + to_bitField0_ |= 0x00000020; + } + result.numVotesNeededToKick_ = numVotesNeededToKick_; result.bitField0_ = to_bitField0_; return result; } - - public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.VoteKickRequestMessage other) { - if (other == de.pokerth.protocol.ProtoBuf.VoteKickRequestMessage.getDefaultInstance()) return this; + + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.StartKickPetitionMessage other) { + if (other == de.pokerth.protocol.ProtoBuf.StartKickPetitionMessage.getDefaultInstance()) return this; if (other.hasGameId()) { setGameId(other.getGameId()); } if (other.hasPetitionId()) { setPetitionId(other.getPetitionId()); } - if (other.hasVoteKick()) { - setVoteKick(other.getVoteKick()); + if (other.hasProposingPlayerId()) { + setProposingPlayerId(other.getProposingPlayerId()); + } + if (other.hasKickPlayerId()) { + setKickPlayerId(other.getKickPlayerId()); + } + if (other.hasKickTimeoutSec()) { + setKickTimeoutSec(other.getKickTimeoutSec()); + } + if (other.hasNumVotesNeededToKick()) { + setNumVotesNeededToKick(other.getNumVotesNeededToKick()); } return this; } - + public final boolean isInitialized() { if (!hasGameId()) { @@ -31150,27 +38576,326 @@ public final class ProtoBuf { return false; } - if (!hasVoteKick()) { + if (!hasProposingPlayerId()) { + + return false; + } + if (!hasKickPlayerId()) { + + return false; + } + if (!hasKickTimeoutSec()) { + + return false; + } + if (!hasNumVotesNeededToKick()) { return false; } return true; } - + public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - while (true) { + de.pokerth.protocol.ProtoBuf.StartKickPetitionMessage parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (de.pokerth.protocol.ProtoBuf.StartKickPetitionMessage) e.getUnfinishedMessage(); + throw e; + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int bitField0_; + + // required uint32 gameId = 1; + private int gameId_ ; + /** + * required uint32 gameId = 1; + */ + public boolean hasGameId() { + return ((bitField0_ & 0x00000001) == 0x00000001); + } + /** + * required uint32 gameId = 1; + */ + public int getGameId() { + return gameId_; + } + /** + * required uint32 gameId = 1; + */ + public Builder setGameId(int value) { + bitField0_ |= 0x00000001; + gameId_ = value; + + return this; + } + /** + * required uint32 gameId = 1; + */ + public Builder clearGameId() { + bitField0_ = (bitField0_ & ~0x00000001); + gameId_ = 0; + + return this; + } + + // required uint32 petitionId = 2; + private int petitionId_ ; + /** + * required uint32 petitionId = 2; + */ + public boolean hasPetitionId() { + return ((bitField0_ & 0x00000002) == 0x00000002); + } + /** + * required uint32 petitionId = 2; + */ + public int getPetitionId() { + return petitionId_; + } + /** + * required uint32 petitionId = 2; + */ + public Builder setPetitionId(int value) { + bitField0_ |= 0x00000002; + petitionId_ = value; + + return this; + } + /** + * required uint32 petitionId = 2; + */ + public Builder clearPetitionId() { + bitField0_ = (bitField0_ & ~0x00000002); + petitionId_ = 0; + + return this; + } + + // required uint32 proposingPlayerId = 3; + private int proposingPlayerId_ ; + /** + * required uint32 proposingPlayerId = 3; + */ + public boolean hasProposingPlayerId() { + return ((bitField0_ & 0x00000004) == 0x00000004); + } + /** + * required uint32 proposingPlayerId = 3; + */ + public int getProposingPlayerId() { + return proposingPlayerId_; + } + /** + * required uint32 proposingPlayerId = 3; + */ + public Builder setProposingPlayerId(int value) { + bitField0_ |= 0x00000004; + proposingPlayerId_ = value; + + return this; + } + /** + * required uint32 proposingPlayerId = 3; + */ + public Builder clearProposingPlayerId() { + bitField0_ = (bitField0_ & ~0x00000004); + proposingPlayerId_ = 0; + + return this; + } + + // required uint32 kickPlayerId = 4; + private int kickPlayerId_ ; + /** + * required uint32 kickPlayerId = 4; + */ + public boolean hasKickPlayerId() { + return ((bitField0_ & 0x00000008) == 0x00000008); + } + /** + * required uint32 kickPlayerId = 4; + */ + public int getKickPlayerId() { + return kickPlayerId_; + } + /** + * required uint32 kickPlayerId = 4; + */ + public Builder setKickPlayerId(int value) { + bitField0_ |= 0x00000008; + kickPlayerId_ = value; + + return this; + } + /** + * required uint32 kickPlayerId = 4; + */ + public Builder clearKickPlayerId() { + bitField0_ = (bitField0_ & ~0x00000008); + kickPlayerId_ = 0; + + return this; + } + + // required uint32 kickTimeoutSec = 5; + private int kickTimeoutSec_ ; + /** + * required uint32 kickTimeoutSec = 5; + */ + public boolean hasKickTimeoutSec() { + return ((bitField0_ & 0x00000010) == 0x00000010); + } + /** + * required uint32 kickTimeoutSec = 5; + */ + public int getKickTimeoutSec() { + return kickTimeoutSec_; + } + /** + * required uint32 kickTimeoutSec = 5; + */ + public Builder setKickTimeoutSec(int value) { + bitField0_ |= 0x00000010; + kickTimeoutSec_ = value; + + return this; + } + /** + * required uint32 kickTimeoutSec = 5; + */ + public Builder clearKickTimeoutSec() { + bitField0_ = (bitField0_ & ~0x00000010); + kickTimeoutSec_ = 0; + + return this; + } + + // required uint32 numVotesNeededToKick = 6; + private int numVotesNeededToKick_ ; + /** + * required uint32 numVotesNeededToKick = 6; + */ + public boolean hasNumVotesNeededToKick() { + return ((bitField0_ & 0x00000020) == 0x00000020); + } + /** + * required uint32 numVotesNeededToKick = 6; + */ + public int getNumVotesNeededToKick() { + return numVotesNeededToKick_; + } + /** + * required uint32 numVotesNeededToKick = 6; + */ + public Builder setNumVotesNeededToKick(int value) { + bitField0_ |= 0x00000020; + numVotesNeededToKick_ = value; + + return this; + } + /** + * required uint32 numVotesNeededToKick = 6; + */ + public Builder clearNumVotesNeededToKick() { + bitField0_ = (bitField0_ & ~0x00000020); + numVotesNeededToKick_ = 0; + + return this; + } + + // @@protoc_insertion_point(builder_scope:StartKickPetitionMessage) + } + + static { + defaultInstance = new StartKickPetitionMessage(true); + defaultInstance.initFields(); + } + + // @@protoc_insertion_point(class_scope:StartKickPetitionMessage) + } + + public interface VoteKickRequestMessageOrBuilder + extends com.google.protobuf.MessageLiteOrBuilder { + + // required uint32 gameId = 1; + /** + * required uint32 gameId = 1; + */ + boolean hasGameId(); + /** + * required uint32 gameId = 1; + */ + int getGameId(); + + // required uint32 petitionId = 2; + /** + * required uint32 petitionId = 2; + */ + boolean hasPetitionId(); + /** + * required uint32 petitionId = 2; + */ + int getPetitionId(); + + // required bool voteKick = 3; + /** + * required bool voteKick = 3; + */ + boolean hasVoteKick(); + /** + * required bool voteKick = 3; + */ + boolean getVoteKick(); + } + /** + * Protobuf type {@code VoteKickRequestMessage} + */ + public static final class VoteKickRequestMessage extends + com.google.protobuf.GeneratedMessageLite + implements VoteKickRequestMessageOrBuilder { + // Use VoteKickRequestMessage.newBuilder() to construct. + private VoteKickRequestMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { + super(builder); + + } + private VoteKickRequestMessage(boolean noInit) {} + + private static final VoteKickRequestMessage defaultInstance; + public static VoteKickRequestMessage getDefaultInstance() { + return defaultInstance; + } + + public VoteKickRequestMessage getDefaultInstanceForType() { + return defaultInstance; + } + + private VoteKickRequestMessage( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + initFields(); + int mutable_bitField0_ = 0; + try { + boolean done = false; + while (!done) { int tag = input.readTag(); switch (tag) { case 0: - - return this; + done = true; + break; default: { - if (!parseUnknownField(input, extensionRegistry, tag)) { - - return this; + if (!parseUnknownField(input, + extensionRegistry, tag)) { + done = true; } break; } @@ -31191,202 +38916,89 @@ public final class ProtoBuf { } } } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e.getMessage()).setUnfinishedMessage(this); + } finally { + makeExtensionsImmutable(); } - - private int bitField0_; - - // required uint32 gameId = 1; - private int gameId_ ; - public boolean hasGameId() { - return ((bitField0_ & 0x00000001) == 0x00000001); - } - public int getGameId() { - return gameId_; - } - public Builder setGameId(int value) { - bitField0_ |= 0x00000001; - gameId_ = value; - - return this; - } - public Builder clearGameId() { - bitField0_ = (bitField0_ & ~0x00000001); - gameId_ = 0; - - return this; - } - - // required uint32 petitionId = 2; - private int petitionId_ ; - public boolean hasPetitionId() { - return ((bitField0_ & 0x00000002) == 0x00000002); - } - public int getPetitionId() { - return petitionId_; - } - public Builder setPetitionId(int value) { - bitField0_ |= 0x00000002; - petitionId_ = value; - - return this; - } - public Builder clearPetitionId() { - bitField0_ = (bitField0_ & ~0x00000002); - petitionId_ = 0; - - return this; - } - - // required bool voteKick = 3; - private boolean voteKick_ ; - public boolean hasVoteKick() { - return ((bitField0_ & 0x00000004) == 0x00000004); - } - public boolean getVoteKick() { - return voteKick_; - } - public Builder setVoteKick(boolean value) { - bitField0_ |= 0x00000004; - voteKick_ = value; - - return this; - } - public Builder clearVoteKick() { - bitField0_ = (bitField0_ & ~0x00000004); - voteKick_ = false; - - return this; - } - - // @@protoc_insertion_point(builder_scope:VoteKickRequestMessage) } - - static { - defaultInstance = new VoteKickRequestMessage(true); - defaultInstance.initFields(); - } - - // @@protoc_insertion_point(class_scope:VoteKickRequestMessage) - } - - public interface VoteKickReplyMessageOrBuilder - extends com.google.protobuf.MessageLiteOrBuilder { - - // required uint32 gameId = 1; - boolean hasGameId(); - int getGameId(); - - // required uint32 petitionId = 2; - boolean hasPetitionId(); - int getPetitionId(); - - // required .VoteKickReplyMessage.VoteKickReplyType voteKickReplyType = 3; - boolean hasVoteKickReplyType(); - de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage.VoteKickReplyType getVoteKickReplyType(); - } - public static final class VoteKickReplyMessage extends - com.google.protobuf.GeneratedMessageLite - implements VoteKickReplyMessageOrBuilder { - // Use VoteKickReplyMessage.newBuilder() to construct. - private VoteKickReplyMessage(Builder builder) { - super(builder); - } - private VoteKickReplyMessage(boolean noInit) {} - - private static final VoteKickReplyMessage defaultInstance; - public static VoteKickReplyMessage getDefaultInstance() { - return defaultInstance; - } - - public VoteKickReplyMessage getDefaultInstanceForType() { - return defaultInstance; - } - - public enum VoteKickReplyType - implements com.google.protobuf.Internal.EnumLite { - voteKickAck(0, 0), - voteKickDeniedInvalid(1, 1), - voteKickDeniedAlreadyVoted(2, 2), - ; - - public static final int voteKickAck_VALUE = 0; - public static final int voteKickDeniedInvalid_VALUE = 1; - public static final int voteKickDeniedAlreadyVoted_VALUE = 2; - - - public final int getNumber() { return value; } - - public static VoteKickReplyType valueOf(int value) { - switch (value) { - case 0: return voteKickAck; - case 1: return voteKickDeniedInvalid; - case 2: return voteKickDeniedAlreadyVoted; - default: return null; - } + public static com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + public VoteKickRequestMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new VoteKickRequestMessage(input, extensionRegistry); } - - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { - return internalValueMap; - } - private static com.google.protobuf.Internal.EnumLiteMap - internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public VoteKickReplyType findValueByNumber(int number) { - return VoteKickReplyType.valueOf(number); - } - }; - - private final int value; - - private VoteKickReplyType(int index, int value) { - this.value = value; - } - - // @@protoc_insertion_point(enum_scope:VoteKickReplyMessage.VoteKickReplyType) + }; + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; } - + private int bitField0_; // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; + /** + * required uint32 gameId = 1; + */ public boolean hasGameId() { return ((bitField0_ & 0x00000001) == 0x00000001); } + /** + * required uint32 gameId = 1; + */ public int getGameId() { return gameId_; } - + // required uint32 petitionId = 2; public static final int PETITIONID_FIELD_NUMBER = 2; private int petitionId_; + /** + * required uint32 petitionId = 2; + */ public boolean hasPetitionId() { return ((bitField0_ & 0x00000002) == 0x00000002); } + /** + * required uint32 petitionId = 2; + */ public int getPetitionId() { return petitionId_; } - - // required .VoteKickReplyMessage.VoteKickReplyType voteKickReplyType = 3; - public static final int VOTEKICKREPLYTYPE_FIELD_NUMBER = 3; - private de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage.VoteKickReplyType voteKickReplyType_; - public boolean hasVoteKickReplyType() { + + // required bool voteKick = 3; + public static final int VOTEKICK_FIELD_NUMBER = 3; + private boolean voteKick_; + /** + * required bool voteKick = 3; + */ + public boolean hasVoteKick() { return ((bitField0_ & 0x00000004) == 0x00000004); } - public de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage.VoteKickReplyType getVoteKickReplyType() { - return voteKickReplyType_; + /** + * required bool voteKick = 3; + */ + public boolean getVoteKick() { + return voteKick_; } - + private void initFields() { gameId_ = 0; petitionId_ = 0; - voteKickReplyType_ = de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage.VoteKickReplyType.voteKickAck; + voteKick_ = false; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; - + if (!hasGameId()) { memoizedIsInitialized = 0; return false; @@ -31395,14 +39007,14 @@ public final class ProtoBuf { memoizedIsInitialized = 0; return false; } - if (!hasVoteKickReplyType()) { + if (!hasVoteKick()) { memoizedIsInitialized = 0; return false; } memoizedIsInitialized = 1; return true; } - + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); @@ -31413,15 +39025,15 @@ public final class ProtoBuf { output.writeUInt32(2, petitionId_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { - output.writeEnum(3, voteKickReplyType_.getNumber()); + output.writeBool(3, voteKick_); } } - + private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; - + size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream @@ -31433,147 +39045,126 @@ public final class ProtoBuf { } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream - .computeEnumSize(3, voteKickReplyType_.getNumber()); + .computeBoolSize(3, voteKick_); } memoizedSerializedSize = size; return size; } - + private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } - - public static de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage parseFrom( + + public static de.pokerth.protocol.ProtoBuf.VoteKickRequestMessage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data).buildParsed(); + return PARSER.parseFrom(data); } - public static de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage parseFrom( + public static de.pokerth.protocol.ProtoBuf.VoteKickRequestMessage parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(data, extensionRegistry); } - public static de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage parseFrom(byte[] data) + public static de.pokerth.protocol.ProtoBuf.VoteKickRequestMessage parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data).buildParsed(); + return PARSER.parseFrom(data); } - public static de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage parseFrom( + public static de.pokerth.protocol.ProtoBuf.VoteKickRequestMessage parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(data, extensionRegistry); } - public static de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage parseFrom(java.io.InputStream input) + public static de.pokerth.protocol.ProtoBuf.VoteKickRequestMessage parseFrom(java.io.InputStream input) throws java.io.IOException { - return newBuilder().mergeFrom(input).buildParsed(); + return PARSER.parseFrom(input); } - public static de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage parseFrom( + public static de.pokerth.protocol.ProtoBuf.VoteKickRequestMessage parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return newBuilder().mergeFrom(input, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(input, extensionRegistry); } - public static de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage parseDelimitedFrom(java.io.InputStream input) + public static de.pokerth.protocol.ProtoBuf.VoteKickRequestMessage parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - Builder builder = newBuilder(); - if (builder.mergeDelimitedFrom(input)) { - return builder.buildParsed(); - } else { - return null; - } + return PARSER.parseDelimitedFrom(input); } - public static de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage parseDelimitedFrom( + public static de.pokerth.protocol.ProtoBuf.VoteKickRequestMessage parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - Builder builder = newBuilder(); - if (builder.mergeDelimitedFrom(input, extensionRegistry)) { - return builder.buildParsed(); - } else { - return null; - } + return PARSER.parseDelimitedFrom(input, extensionRegistry); } - public static de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage parseFrom( + public static de.pokerth.protocol.ProtoBuf.VoteKickRequestMessage parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return newBuilder().mergeFrom(input).buildParsed(); + return PARSER.parseFrom(input); } - public static de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage parseFrom( + public static de.pokerth.protocol.ProtoBuf.VoteKickRequestMessage parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return newBuilder().mergeFrom(input, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(input, extensionRegistry); } - + public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage prototype) { + public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.VoteKickRequestMessage prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } - + + /** + * Protobuf type {@code VoteKickRequestMessage} + */ public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< - de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.VoteKickReplyMessageOrBuilder { - // Construct using de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage.newBuilder() + de.pokerth.protocol.ProtoBuf.VoteKickRequestMessage, Builder> + implements de.pokerth.protocol.ProtoBuf.VoteKickRequestMessageOrBuilder { + // Construct using de.pokerth.protocol.ProtoBuf.VoteKickRequestMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - + private void maybeForceBuilderInitialization() { } private static Builder create() { return new Builder(); } - + public Builder clear() { super.clear(); gameId_ = 0; bitField0_ = (bitField0_ & ~0x00000001); petitionId_ = 0; bitField0_ = (bitField0_ & ~0x00000002); - voteKickReplyType_ = de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage.VoteKickReplyType.voteKickAck; + voteKick_ = false; bitField0_ = (bitField0_ & ~0x00000004); return this; } - + public Builder clone() { return create().mergeFrom(buildPartial()); } - - public de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage getDefaultInstanceForType() { - return de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage.getDefaultInstance(); + + public de.pokerth.protocol.ProtoBuf.VoteKickRequestMessage getDefaultInstanceForType() { + return de.pokerth.protocol.ProtoBuf.VoteKickRequestMessage.getDefaultInstance(); } - - public de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage build() { - de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage result = buildPartial(); + + public de.pokerth.protocol.ProtoBuf.VoteKickRequestMessage build() { + de.pokerth.protocol.ProtoBuf.VoteKickRequestMessage result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } - - private de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage buildParsed() - throws com.google.protobuf.InvalidProtocolBufferException { - de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException( - result).asInvalidProtocolBufferException(); - } - return result; - } - - public de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage buildPartial() { - de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage result = new de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage(this); + + public de.pokerth.protocol.ProtoBuf.VoteKickRequestMessage buildPartial() { + de.pokerth.protocol.ProtoBuf.VoteKickRequestMessage result = new de.pokerth.protocol.ProtoBuf.VoteKickRequestMessage(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { @@ -31587,25 +39178,25 @@ public final class ProtoBuf { if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } - result.voteKickReplyType_ = voteKickReplyType_; + result.voteKick_ = voteKick_; result.bitField0_ = to_bitField0_; return result; } - - public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage other) { - if (other == de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage.getDefaultInstance()) return this; + + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.VoteKickRequestMessage other) { + if (other == de.pokerth.protocol.ProtoBuf.VoteKickRequestMessage.getDefaultInstance()) return this; if (other.hasGameId()) { setGameId(other.getGameId()); } if (other.hasPetitionId()) { setPetitionId(other.getPetitionId()); } - if (other.hasVoteKickReplyType()) { - setVoteKickReplyType(other.getVoteKickReplyType()); + if (other.hasVoteKick()) { + setVoteKick(other.getVoteKick()); } return this; } - + public final boolean isInitialized() { if (!hasGameId()) { @@ -31615,27 +39206,215 @@ public final class ProtoBuf { return false; } - if (!hasVoteKickReplyType()) { + if (!hasVoteKick()) { return false; } return true; } - + public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - while (true) { + de.pokerth.protocol.ProtoBuf.VoteKickRequestMessage parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (de.pokerth.protocol.ProtoBuf.VoteKickRequestMessage) e.getUnfinishedMessage(); + throw e; + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int bitField0_; + + // required uint32 gameId = 1; + private int gameId_ ; + /** + * required uint32 gameId = 1; + */ + public boolean hasGameId() { + return ((bitField0_ & 0x00000001) == 0x00000001); + } + /** + * required uint32 gameId = 1; + */ + public int getGameId() { + return gameId_; + } + /** + * required uint32 gameId = 1; + */ + public Builder setGameId(int value) { + bitField0_ |= 0x00000001; + gameId_ = value; + + return this; + } + /** + * required uint32 gameId = 1; + */ + public Builder clearGameId() { + bitField0_ = (bitField0_ & ~0x00000001); + gameId_ = 0; + + return this; + } + + // required uint32 petitionId = 2; + private int petitionId_ ; + /** + * required uint32 petitionId = 2; + */ + public boolean hasPetitionId() { + return ((bitField0_ & 0x00000002) == 0x00000002); + } + /** + * required uint32 petitionId = 2; + */ + public int getPetitionId() { + return petitionId_; + } + /** + * required uint32 petitionId = 2; + */ + public Builder setPetitionId(int value) { + bitField0_ |= 0x00000002; + petitionId_ = value; + + return this; + } + /** + * required uint32 petitionId = 2; + */ + public Builder clearPetitionId() { + bitField0_ = (bitField0_ & ~0x00000002); + petitionId_ = 0; + + return this; + } + + // required bool voteKick = 3; + private boolean voteKick_ ; + /** + * required bool voteKick = 3; + */ + public boolean hasVoteKick() { + return ((bitField0_ & 0x00000004) == 0x00000004); + } + /** + * required bool voteKick = 3; + */ + public boolean getVoteKick() { + return voteKick_; + } + /** + * required bool voteKick = 3; + */ + public Builder setVoteKick(boolean value) { + bitField0_ |= 0x00000004; + voteKick_ = value; + + return this; + } + /** + * required bool voteKick = 3; + */ + public Builder clearVoteKick() { + bitField0_ = (bitField0_ & ~0x00000004); + voteKick_ = false; + + return this; + } + + // @@protoc_insertion_point(builder_scope:VoteKickRequestMessage) + } + + static { + defaultInstance = new VoteKickRequestMessage(true); + defaultInstance.initFields(); + } + + // @@protoc_insertion_point(class_scope:VoteKickRequestMessage) + } + + public interface VoteKickReplyMessageOrBuilder + extends com.google.protobuf.MessageLiteOrBuilder { + + // required uint32 gameId = 1; + /** + * required uint32 gameId = 1; + */ + boolean hasGameId(); + /** + * required uint32 gameId = 1; + */ + int getGameId(); + + // required uint32 petitionId = 2; + /** + * required uint32 petitionId = 2; + */ + boolean hasPetitionId(); + /** + * required uint32 petitionId = 2; + */ + int getPetitionId(); + + // required .VoteKickReplyMessage.VoteKickReplyType voteKickReplyType = 3; + /** + * required .VoteKickReplyMessage.VoteKickReplyType voteKickReplyType = 3; + */ + boolean hasVoteKickReplyType(); + /** + * required .VoteKickReplyMessage.VoteKickReplyType voteKickReplyType = 3; + */ + de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage.VoteKickReplyType getVoteKickReplyType(); + } + /** + * Protobuf type {@code VoteKickReplyMessage} + */ + public static final class VoteKickReplyMessage extends + com.google.protobuf.GeneratedMessageLite + implements VoteKickReplyMessageOrBuilder { + // Use VoteKickReplyMessage.newBuilder() to construct. + private VoteKickReplyMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { + super(builder); + + } + private VoteKickReplyMessage(boolean noInit) {} + + private static final VoteKickReplyMessage defaultInstance; + public static VoteKickReplyMessage getDefaultInstance() { + return defaultInstance; + } + + public VoteKickReplyMessage getDefaultInstanceForType() { + return defaultInstance; + } + + private VoteKickReplyMessage( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + initFields(); + int mutable_bitField0_ = 0; + try { + boolean done = false; + while (!done) { int tag = input.readTag(); switch (tag) { case 0: - - return this; + done = true; + break; default: { - if (!parseUnknownField(input, extensionRegistry, tag)) { - - return this; + if (!parseUnknownField(input, + extensionRegistry, tag)) { + done = true; } break; } @@ -31660,191 +39439,154 @@ public final class ProtoBuf { } } } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e.getMessage()).setUnfinishedMessage(this); + } finally { + makeExtensionsImmutable(); } - - private int bitField0_; - - // required uint32 gameId = 1; - private int gameId_ ; - public boolean hasGameId() { - return ((bitField0_ & 0x00000001) == 0x00000001); + } + public static com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + public VoteKickReplyMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new VoteKickReplyMessage(input, extensionRegistry); } - public int getGameId() { - return gameId_; - } - public Builder setGameId(int value) { - bitField0_ |= 0x00000001; - gameId_ = value; - - return this; - } - public Builder clearGameId() { - bitField0_ = (bitField0_ & ~0x00000001); - gameId_ = 0; - - return this; - } - - // required uint32 petitionId = 2; - private int petitionId_ ; - public boolean hasPetitionId() { - return ((bitField0_ & 0x00000002) == 0x00000002); - } - public int getPetitionId() { - return petitionId_; - } - public Builder setPetitionId(int value) { - bitField0_ |= 0x00000002; - petitionId_ = value; - - return this; - } - public Builder clearPetitionId() { - bitField0_ = (bitField0_ & ~0x00000002); - petitionId_ = 0; - - return this; - } - - // required .VoteKickReplyMessage.VoteKickReplyType voteKickReplyType = 3; - private de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage.VoteKickReplyType voteKickReplyType_ = de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage.VoteKickReplyType.voteKickAck; - public boolean hasVoteKickReplyType() { - return ((bitField0_ & 0x00000004) == 0x00000004); - } - public de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage.VoteKickReplyType getVoteKickReplyType() { - return voteKickReplyType_; - } - public Builder setVoteKickReplyType(de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage.VoteKickReplyType value) { - if (value == null) { - throw new NullPointerException(); + }; + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + /** + * Protobuf enum {@code VoteKickReplyMessage.VoteKickReplyType} + */ + public enum VoteKickReplyType + implements com.google.protobuf.Internal.EnumLite { + /** + * voteKickAck = 0; + */ + voteKickAck(0, 0), + /** + * voteKickDeniedInvalid = 1; + */ + voteKickDeniedInvalid(1, 1), + /** + * voteKickDeniedAlreadyVoted = 2; + */ + voteKickDeniedAlreadyVoted(2, 2), + ; + + /** + * voteKickAck = 0; + */ + public static final int voteKickAck_VALUE = 0; + /** + * voteKickDeniedInvalid = 1; + */ + public static final int voteKickDeniedInvalid_VALUE = 1; + /** + * voteKickDeniedAlreadyVoted = 2; + */ + public static final int voteKickDeniedAlreadyVoted_VALUE = 2; + + + public final int getNumber() { return value; } + + public static VoteKickReplyType valueOf(int value) { + switch (value) { + case 0: return voteKickAck; + case 1: return voteKickDeniedInvalid; + case 2: return voteKickDeniedAlreadyVoted; + default: return null; } - bitField0_ |= 0x00000004; - voteKickReplyType_ = value; - - return this; } - public Builder clearVoteKickReplyType() { - bitField0_ = (bitField0_ & ~0x00000004); - voteKickReplyType_ = de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage.VoteKickReplyType.voteKickAck; - - return this; + + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { + return internalValueMap; } - - // @@protoc_insertion_point(builder_scope:VoteKickReplyMessage) + private static com.google.protobuf.Internal.EnumLiteMap + internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public VoteKickReplyType findValueByNumber(int number) { + return VoteKickReplyType.valueOf(number); + } + }; + + private final int value; + + private VoteKickReplyType(int index, int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:VoteKickReplyMessage.VoteKickReplyType) } - - static { - defaultInstance = new VoteKickReplyMessage(true); - defaultInstance.initFields(); - } - - // @@protoc_insertion_point(class_scope:VoteKickReplyMessage) - } - - public interface KickPetitionUpdateMessageOrBuilder - extends com.google.protobuf.MessageLiteOrBuilder { - - // required uint32 gameId = 1; - boolean hasGameId(); - int getGameId(); - - // required uint32 petitionId = 2; - boolean hasPetitionId(); - int getPetitionId(); - - // required uint32 numVotesAgainstKicking = 3; - boolean hasNumVotesAgainstKicking(); - int getNumVotesAgainstKicking(); - - // required uint32 numVotesInFavourOfKicking = 4; - boolean hasNumVotesInFavourOfKicking(); - int getNumVotesInFavourOfKicking(); - - // required uint32 numVotesNeededToKick = 5; - boolean hasNumVotesNeededToKick(); - int getNumVotesNeededToKick(); - } - public static final class KickPetitionUpdateMessage extends - com.google.protobuf.GeneratedMessageLite - implements KickPetitionUpdateMessageOrBuilder { - // Use KickPetitionUpdateMessage.newBuilder() to construct. - private KickPetitionUpdateMessage(Builder builder) { - super(builder); - } - private KickPetitionUpdateMessage(boolean noInit) {} - - private static final KickPetitionUpdateMessage defaultInstance; - public static KickPetitionUpdateMessage getDefaultInstance() { - return defaultInstance; - } - - public KickPetitionUpdateMessage getDefaultInstanceForType() { - return defaultInstance; - } - + private int bitField0_; // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; + /** + * required uint32 gameId = 1; + */ public boolean hasGameId() { return ((bitField0_ & 0x00000001) == 0x00000001); } + /** + * required uint32 gameId = 1; + */ public int getGameId() { return gameId_; } - + // required uint32 petitionId = 2; public static final int PETITIONID_FIELD_NUMBER = 2; private int petitionId_; + /** + * required uint32 petitionId = 2; + */ public boolean hasPetitionId() { return ((bitField0_ & 0x00000002) == 0x00000002); } + /** + * required uint32 petitionId = 2; + */ public int getPetitionId() { return petitionId_; } - - // required uint32 numVotesAgainstKicking = 3; - public static final int NUMVOTESAGAINSTKICKING_FIELD_NUMBER = 3; - private int numVotesAgainstKicking_; - public boolean hasNumVotesAgainstKicking() { + + // required .VoteKickReplyMessage.VoteKickReplyType voteKickReplyType = 3; + public static final int VOTEKICKREPLYTYPE_FIELD_NUMBER = 3; + private de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage.VoteKickReplyType voteKickReplyType_; + /** + * required .VoteKickReplyMessage.VoteKickReplyType voteKickReplyType = 3; + */ + public boolean hasVoteKickReplyType() { return ((bitField0_ & 0x00000004) == 0x00000004); } - public int getNumVotesAgainstKicking() { - return numVotesAgainstKicking_; + /** + * required .VoteKickReplyMessage.VoteKickReplyType voteKickReplyType = 3; + */ + public de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage.VoteKickReplyType getVoteKickReplyType() { + return voteKickReplyType_; } - - // required uint32 numVotesInFavourOfKicking = 4; - public static final int NUMVOTESINFAVOUROFKICKING_FIELD_NUMBER = 4; - private int numVotesInFavourOfKicking_; - public boolean hasNumVotesInFavourOfKicking() { - return ((bitField0_ & 0x00000008) == 0x00000008); - } - public int getNumVotesInFavourOfKicking() { - return numVotesInFavourOfKicking_; - } - - // required uint32 numVotesNeededToKick = 5; - public static final int NUMVOTESNEEDEDTOKICK_FIELD_NUMBER = 5; - private int numVotesNeededToKick_; - public boolean hasNumVotesNeededToKick() { - return ((bitField0_ & 0x00000010) == 0x00000010); - } - public int getNumVotesNeededToKick() { - return numVotesNeededToKick_; - } - + private void initFields() { gameId_ = 0; petitionId_ = 0; - numVotesAgainstKicking_ = 0; - numVotesInFavourOfKicking_ = 0; - numVotesNeededToKick_ = 0; + voteKickReplyType_ = de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage.VoteKickReplyType.voteKickAck; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; - + if (!hasGameId()) { memoizedIsInitialized = 0; return false; @@ -31853,22 +39595,14 @@ public final class ProtoBuf { memoizedIsInitialized = 0; return false; } - if (!hasNumVotesAgainstKicking()) { - memoizedIsInitialized = 0; - return false; - } - if (!hasNumVotesInFavourOfKicking()) { - memoizedIsInitialized = 0; - return false; - } - if (!hasNumVotesNeededToKick()) { + if (!hasVoteKickReplyType()) { memoizedIsInitialized = 0; return false; } memoizedIsInitialized = 1; return true; } - + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); @@ -31879,21 +39613,15 @@ public final class ProtoBuf { output.writeUInt32(2, petitionId_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { - output.writeUInt32(3, numVotesAgainstKicking_); - } - if (((bitField0_ & 0x00000008) == 0x00000008)) { - output.writeUInt32(4, numVotesInFavourOfKicking_); - } - if (((bitField0_ & 0x00000010) == 0x00000010)) { - output.writeUInt32(5, numVotesNeededToKick_); + output.writeEnum(3, voteKickReplyType_.getNumber()); } } - + private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; - + size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream @@ -31905,159 +39633,126 @@ public final class ProtoBuf { } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(3, numVotesAgainstKicking_); - } - if (((bitField0_ & 0x00000008) == 0x00000008)) { - size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(4, numVotesInFavourOfKicking_); - } - if (((bitField0_ & 0x00000010) == 0x00000010)) { - size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(5, numVotesNeededToKick_); + .computeEnumSize(3, voteKickReplyType_.getNumber()); } memoizedSerializedSize = size; return size; } - + private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } - - public static de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessage parseFrom( + + public static de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data).buildParsed(); + return PARSER.parseFrom(data); } - public static de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessage parseFrom( + public static de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(data, extensionRegistry); } - public static de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessage parseFrom(byte[] data) + public static de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data).buildParsed(); + return PARSER.parseFrom(data); } - public static de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessage parseFrom( + public static de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(data, extensionRegistry); } - public static de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessage parseFrom(java.io.InputStream input) + public static de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage parseFrom(java.io.InputStream input) throws java.io.IOException { - return newBuilder().mergeFrom(input).buildParsed(); + return PARSER.parseFrom(input); } - public static de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessage parseFrom( + public static de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return newBuilder().mergeFrom(input, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(input, extensionRegistry); } - public static de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessage parseDelimitedFrom(java.io.InputStream input) + public static de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - Builder builder = newBuilder(); - if (builder.mergeDelimitedFrom(input)) { - return builder.buildParsed(); - } else { - return null; - } + return PARSER.parseDelimitedFrom(input); } - public static de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessage parseDelimitedFrom( + public static de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - Builder builder = newBuilder(); - if (builder.mergeDelimitedFrom(input, extensionRegistry)) { - return builder.buildParsed(); - } else { - return null; - } + return PARSER.parseDelimitedFrom(input, extensionRegistry); } - public static de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessage parseFrom( + public static de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return newBuilder().mergeFrom(input).buildParsed(); + return PARSER.parseFrom(input); } - public static de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessage parseFrom( + public static de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return newBuilder().mergeFrom(input, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(input, extensionRegistry); } - + public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessage prototype) { + public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } - + + /** + * Protobuf type {@code VoteKickReplyMessage} + */ public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< - de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessageOrBuilder { - // Construct using de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessage.newBuilder() + de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage, Builder> + implements de.pokerth.protocol.ProtoBuf.VoteKickReplyMessageOrBuilder { + // Construct using de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - + private void maybeForceBuilderInitialization() { } private static Builder create() { return new Builder(); } - + public Builder clear() { super.clear(); gameId_ = 0; bitField0_ = (bitField0_ & ~0x00000001); petitionId_ = 0; bitField0_ = (bitField0_ & ~0x00000002); - numVotesAgainstKicking_ = 0; + voteKickReplyType_ = de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage.VoteKickReplyType.voteKickAck; bitField0_ = (bitField0_ & ~0x00000004); - numVotesInFavourOfKicking_ = 0; - bitField0_ = (bitField0_ & ~0x00000008); - numVotesNeededToKick_ = 0; - bitField0_ = (bitField0_ & ~0x00000010); return this; } - + public Builder clone() { return create().mergeFrom(buildPartial()); } - - public de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessage getDefaultInstanceForType() { - return de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessage.getDefaultInstance(); + + public de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage getDefaultInstanceForType() { + return de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage.getDefaultInstance(); } - - public de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessage build() { - de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessage result = buildPartial(); + + public de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage build() { + de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } - - private de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessage buildParsed() - throws com.google.protobuf.InvalidProtocolBufferException { - de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessage result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException( - result).asInvalidProtocolBufferException(); - } - return result; - } - - public de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessage buildPartial() { - de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessage result = new de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessage(this); + + public de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage buildPartial() { + de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage result = new de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { @@ -32071,39 +39766,25 @@ public final class ProtoBuf { if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } - result.numVotesAgainstKicking_ = numVotesAgainstKicking_; - if (((from_bitField0_ & 0x00000008) == 0x00000008)) { - to_bitField0_ |= 0x00000008; - } - result.numVotesInFavourOfKicking_ = numVotesInFavourOfKicking_; - if (((from_bitField0_ & 0x00000010) == 0x00000010)) { - to_bitField0_ |= 0x00000010; - } - result.numVotesNeededToKick_ = numVotesNeededToKick_; + result.voteKickReplyType_ = voteKickReplyType_; result.bitField0_ = to_bitField0_; return result; } - - public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessage other) { - if (other == de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessage.getDefaultInstance()) return this; + + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage other) { + if (other == de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage.getDefaultInstance()) return this; if (other.hasGameId()) { setGameId(other.getGameId()); } if (other.hasPetitionId()) { setPetitionId(other.getPetitionId()); } - if (other.hasNumVotesAgainstKicking()) { - setNumVotesAgainstKicking(other.getNumVotesAgainstKicking()); - } - if (other.hasNumVotesInFavourOfKicking()) { - setNumVotesInFavourOfKicking(other.getNumVotesInFavourOfKicking()); - } - if (other.hasNumVotesNeededToKick()) { - setNumVotesNeededToKick(other.getNumVotesNeededToKick()); + if (other.hasVoteKickReplyType()) { + setVoteKickReplyType(other.getVoteKickReplyType()); } return this; } - + public final boolean isInitialized() { if (!hasGameId()) { @@ -32113,35 +39794,238 @@ public final class ProtoBuf { return false; } - if (!hasNumVotesAgainstKicking()) { - - return false; - } - if (!hasNumVotesInFavourOfKicking()) { - - return false; - } - if (!hasNumVotesNeededToKick()) { + if (!hasVoteKickReplyType()) { return false; } return true; } - + public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - while (true) { + de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage) e.getUnfinishedMessage(); + throw e; + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int bitField0_; + + // required uint32 gameId = 1; + private int gameId_ ; + /** + * required uint32 gameId = 1; + */ + public boolean hasGameId() { + return ((bitField0_ & 0x00000001) == 0x00000001); + } + /** + * required uint32 gameId = 1; + */ + public int getGameId() { + return gameId_; + } + /** + * required uint32 gameId = 1; + */ + public Builder setGameId(int value) { + bitField0_ |= 0x00000001; + gameId_ = value; + + return this; + } + /** + * required uint32 gameId = 1; + */ + public Builder clearGameId() { + bitField0_ = (bitField0_ & ~0x00000001); + gameId_ = 0; + + return this; + } + + // required uint32 petitionId = 2; + private int petitionId_ ; + /** + * required uint32 petitionId = 2; + */ + public boolean hasPetitionId() { + return ((bitField0_ & 0x00000002) == 0x00000002); + } + /** + * required uint32 petitionId = 2; + */ + public int getPetitionId() { + return petitionId_; + } + /** + * required uint32 petitionId = 2; + */ + public Builder setPetitionId(int value) { + bitField0_ |= 0x00000002; + petitionId_ = value; + + return this; + } + /** + * required uint32 petitionId = 2; + */ + public Builder clearPetitionId() { + bitField0_ = (bitField0_ & ~0x00000002); + petitionId_ = 0; + + return this; + } + + // required .VoteKickReplyMessage.VoteKickReplyType voteKickReplyType = 3; + private de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage.VoteKickReplyType voteKickReplyType_ = de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage.VoteKickReplyType.voteKickAck; + /** + * required .VoteKickReplyMessage.VoteKickReplyType voteKickReplyType = 3; + */ + public boolean hasVoteKickReplyType() { + return ((bitField0_ & 0x00000004) == 0x00000004); + } + /** + * required .VoteKickReplyMessage.VoteKickReplyType voteKickReplyType = 3; + */ + public de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage.VoteKickReplyType getVoteKickReplyType() { + return voteKickReplyType_; + } + /** + * required .VoteKickReplyMessage.VoteKickReplyType voteKickReplyType = 3; + */ + public Builder setVoteKickReplyType(de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage.VoteKickReplyType value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000004; + voteKickReplyType_ = value; + + return this; + } + /** + * required .VoteKickReplyMessage.VoteKickReplyType voteKickReplyType = 3; + */ + public Builder clearVoteKickReplyType() { + bitField0_ = (bitField0_ & ~0x00000004); + voteKickReplyType_ = de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage.VoteKickReplyType.voteKickAck; + + return this; + } + + // @@protoc_insertion_point(builder_scope:VoteKickReplyMessage) + } + + static { + defaultInstance = new VoteKickReplyMessage(true); + defaultInstance.initFields(); + } + + // @@protoc_insertion_point(class_scope:VoteKickReplyMessage) + } + + public interface KickPetitionUpdateMessageOrBuilder + extends com.google.protobuf.MessageLiteOrBuilder { + + // required uint32 gameId = 1; + /** + * required uint32 gameId = 1; + */ + boolean hasGameId(); + /** + * required uint32 gameId = 1; + */ + int getGameId(); + + // required uint32 petitionId = 2; + /** + * required uint32 petitionId = 2; + */ + boolean hasPetitionId(); + /** + * required uint32 petitionId = 2; + */ + int getPetitionId(); + + // required uint32 numVotesAgainstKicking = 3; + /** + * required uint32 numVotesAgainstKicking = 3; + */ + boolean hasNumVotesAgainstKicking(); + /** + * required uint32 numVotesAgainstKicking = 3; + */ + int getNumVotesAgainstKicking(); + + // required uint32 numVotesInFavourOfKicking = 4; + /** + * required uint32 numVotesInFavourOfKicking = 4; + */ + boolean hasNumVotesInFavourOfKicking(); + /** + * required uint32 numVotesInFavourOfKicking = 4; + */ + int getNumVotesInFavourOfKicking(); + + // required uint32 numVotesNeededToKick = 5; + /** + * required uint32 numVotesNeededToKick = 5; + */ + boolean hasNumVotesNeededToKick(); + /** + * required uint32 numVotesNeededToKick = 5; + */ + int getNumVotesNeededToKick(); + } + /** + * Protobuf type {@code KickPetitionUpdateMessage} + */ + public static final class KickPetitionUpdateMessage extends + com.google.protobuf.GeneratedMessageLite + implements KickPetitionUpdateMessageOrBuilder { + // Use KickPetitionUpdateMessage.newBuilder() to construct. + private KickPetitionUpdateMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { + super(builder); + + } + private KickPetitionUpdateMessage(boolean noInit) {} + + private static final KickPetitionUpdateMessage defaultInstance; + public static KickPetitionUpdateMessage getDefaultInstance() { + return defaultInstance; + } + + public KickPetitionUpdateMessage getDefaultInstanceForType() { + return defaultInstance; + } + + private KickPetitionUpdateMessage( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + initFields(); + int mutable_bitField0_ = 0; + try { + boolean done = false; + while (!done) { int tag = input.readTag(); switch (tag) { case 0: - - return this; + done = true; + break; default: { - if (!parseUnknownField(input, extensionRegistry, tag)) { - - return this; + if (!parseUnknownField(input, + extensionRegistry, tag)) { + done = true; } break; } @@ -32172,292 +40056,123 @@ public final class ProtoBuf { } } } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e.getMessage()).setUnfinishedMessage(this); + } finally { + makeExtensionsImmutable(); } - - private int bitField0_; - - // required uint32 gameId = 1; - private int gameId_ ; - public boolean hasGameId() { - return ((bitField0_ & 0x00000001) == 0x00000001); - } - public int getGameId() { - return gameId_; - } - public Builder setGameId(int value) { - bitField0_ |= 0x00000001; - gameId_ = value; - - return this; - } - public Builder clearGameId() { - bitField0_ = (bitField0_ & ~0x00000001); - gameId_ = 0; - - return this; - } - - // required uint32 petitionId = 2; - private int petitionId_ ; - public boolean hasPetitionId() { - return ((bitField0_ & 0x00000002) == 0x00000002); - } - public int getPetitionId() { - return petitionId_; - } - public Builder setPetitionId(int value) { - bitField0_ |= 0x00000002; - petitionId_ = value; - - return this; - } - public Builder clearPetitionId() { - bitField0_ = (bitField0_ & ~0x00000002); - petitionId_ = 0; - - return this; - } - - // required uint32 numVotesAgainstKicking = 3; - private int numVotesAgainstKicking_ ; - public boolean hasNumVotesAgainstKicking() { - return ((bitField0_ & 0x00000004) == 0x00000004); - } - public int getNumVotesAgainstKicking() { - return numVotesAgainstKicking_; - } - public Builder setNumVotesAgainstKicking(int value) { - bitField0_ |= 0x00000004; - numVotesAgainstKicking_ = value; - - return this; - } - public Builder clearNumVotesAgainstKicking() { - bitField0_ = (bitField0_ & ~0x00000004); - numVotesAgainstKicking_ = 0; - - return this; - } - - // required uint32 numVotesInFavourOfKicking = 4; - private int numVotesInFavourOfKicking_ ; - public boolean hasNumVotesInFavourOfKicking() { - return ((bitField0_ & 0x00000008) == 0x00000008); - } - public int getNumVotesInFavourOfKicking() { - return numVotesInFavourOfKicking_; - } - public Builder setNumVotesInFavourOfKicking(int value) { - bitField0_ |= 0x00000008; - numVotesInFavourOfKicking_ = value; - - return this; - } - public Builder clearNumVotesInFavourOfKicking() { - bitField0_ = (bitField0_ & ~0x00000008); - numVotesInFavourOfKicking_ = 0; - - return this; - } - - // required uint32 numVotesNeededToKick = 5; - private int numVotesNeededToKick_ ; - public boolean hasNumVotesNeededToKick() { - return ((bitField0_ & 0x00000010) == 0x00000010); - } - public int getNumVotesNeededToKick() { - return numVotesNeededToKick_; - } - public Builder setNumVotesNeededToKick(int value) { - bitField0_ |= 0x00000010; - numVotesNeededToKick_ = value; - - return this; - } - public Builder clearNumVotesNeededToKick() { - bitField0_ = (bitField0_ & ~0x00000010); - numVotesNeededToKick_ = 0; - - return this; - } - - // @@protoc_insertion_point(builder_scope:KickPetitionUpdateMessage) } - - static { - defaultInstance = new KickPetitionUpdateMessage(true); - defaultInstance.initFields(); - } - - // @@protoc_insertion_point(class_scope:KickPetitionUpdateMessage) - } - - public interface EndKickPetitionMessageOrBuilder - extends com.google.protobuf.MessageLiteOrBuilder { - - // required uint32 gameId = 1; - boolean hasGameId(); - int getGameId(); - - // required uint32 petitionId = 2; - boolean hasPetitionId(); - int getPetitionId(); - - // required uint32 numVotesAgainstKicking = 3; - boolean hasNumVotesAgainstKicking(); - int getNumVotesAgainstKicking(); - - // required uint32 numVotesInFavourOfKicking = 4; - boolean hasNumVotesInFavourOfKicking(); - int getNumVotesInFavourOfKicking(); - - // required uint32 resultPlayerKicked = 5; - boolean hasResultPlayerKicked(); - int getResultPlayerKicked(); - - // required .EndKickPetitionMessage.PetitionEndReason petitionEndReason = 6; - boolean hasPetitionEndReason(); - de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage.PetitionEndReason getPetitionEndReason(); - } - public static final class EndKickPetitionMessage extends - com.google.protobuf.GeneratedMessageLite - implements EndKickPetitionMessageOrBuilder { - // Use EndKickPetitionMessage.newBuilder() to construct. - private EndKickPetitionMessage(Builder builder) { - super(builder); - } - private EndKickPetitionMessage(boolean noInit) {} - - private static final EndKickPetitionMessage defaultInstance; - public static EndKickPetitionMessage getDefaultInstance() { - return defaultInstance; - } - - public EndKickPetitionMessage getDefaultInstanceForType() { - return defaultInstance; - } - - public enum PetitionEndReason - implements com.google.protobuf.Internal.EnumLite { - petitionEndEnoughVotes(0, 0), - petitionEndTooFewPlayers(1, 1), - petitionEndPlayerLeft(2, 2), - petitionEndTimeout(3, 3), - ; - - public static final int petitionEndEnoughVotes_VALUE = 0; - public static final int petitionEndTooFewPlayers_VALUE = 1; - public static final int petitionEndPlayerLeft_VALUE = 2; - public static final int petitionEndTimeout_VALUE = 3; - - - public final int getNumber() { return value; } - - public static PetitionEndReason valueOf(int value) { - switch (value) { - case 0: return petitionEndEnoughVotes; - case 1: return petitionEndTooFewPlayers; - case 2: return petitionEndPlayerLeft; - case 3: return petitionEndTimeout; - default: return null; - } + public static com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + public KickPetitionUpdateMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new KickPetitionUpdateMessage(input, extensionRegistry); } - - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { - return internalValueMap; - } - private static com.google.protobuf.Internal.EnumLiteMap - internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public PetitionEndReason findValueByNumber(int number) { - return PetitionEndReason.valueOf(number); - } - }; - - private final int value; - - private PetitionEndReason(int index, int value) { - this.value = value; - } - - // @@protoc_insertion_point(enum_scope:EndKickPetitionMessage.PetitionEndReason) + }; + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; } - + private int bitField0_; // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; + /** + * required uint32 gameId = 1; + */ public boolean hasGameId() { return ((bitField0_ & 0x00000001) == 0x00000001); } + /** + * required uint32 gameId = 1; + */ public int getGameId() { return gameId_; } - + // required uint32 petitionId = 2; public static final int PETITIONID_FIELD_NUMBER = 2; private int petitionId_; + /** + * required uint32 petitionId = 2; + */ public boolean hasPetitionId() { return ((bitField0_ & 0x00000002) == 0x00000002); } + /** + * required uint32 petitionId = 2; + */ public int getPetitionId() { return petitionId_; } - + // required uint32 numVotesAgainstKicking = 3; public static final int NUMVOTESAGAINSTKICKING_FIELD_NUMBER = 3; private int numVotesAgainstKicking_; + /** + * required uint32 numVotesAgainstKicking = 3; + */ public boolean hasNumVotesAgainstKicking() { return ((bitField0_ & 0x00000004) == 0x00000004); } + /** + * required uint32 numVotesAgainstKicking = 3; + */ public int getNumVotesAgainstKicking() { return numVotesAgainstKicking_; } - + // required uint32 numVotesInFavourOfKicking = 4; public static final int NUMVOTESINFAVOUROFKICKING_FIELD_NUMBER = 4; private int numVotesInFavourOfKicking_; + /** + * required uint32 numVotesInFavourOfKicking = 4; + */ public boolean hasNumVotesInFavourOfKicking() { return ((bitField0_ & 0x00000008) == 0x00000008); } + /** + * required uint32 numVotesInFavourOfKicking = 4; + */ public int getNumVotesInFavourOfKicking() { return numVotesInFavourOfKicking_; } - - // required uint32 resultPlayerKicked = 5; - public static final int RESULTPLAYERKICKED_FIELD_NUMBER = 5; - private int resultPlayerKicked_; - public boolean hasResultPlayerKicked() { + + // required uint32 numVotesNeededToKick = 5; + public static final int NUMVOTESNEEDEDTOKICK_FIELD_NUMBER = 5; + private int numVotesNeededToKick_; + /** + * required uint32 numVotesNeededToKick = 5; + */ + public boolean hasNumVotesNeededToKick() { return ((bitField0_ & 0x00000010) == 0x00000010); } - public int getResultPlayerKicked() { - return resultPlayerKicked_; + /** + * required uint32 numVotesNeededToKick = 5; + */ + public int getNumVotesNeededToKick() { + return numVotesNeededToKick_; } - - // required .EndKickPetitionMessage.PetitionEndReason petitionEndReason = 6; - public static final int PETITIONENDREASON_FIELD_NUMBER = 6; - private de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage.PetitionEndReason petitionEndReason_; - public boolean hasPetitionEndReason() { - return ((bitField0_ & 0x00000020) == 0x00000020); - } - public de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage.PetitionEndReason getPetitionEndReason() { - return petitionEndReason_; - } - + private void initFields() { gameId_ = 0; petitionId_ = 0; numVotesAgainstKicking_ = 0; numVotesInFavourOfKicking_ = 0; - resultPlayerKicked_ = 0; - petitionEndReason_ = de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage.PetitionEndReason.petitionEndEnoughVotes; + numVotesNeededToKick_ = 0; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; - + if (!hasGameId()) { memoizedIsInitialized = 0; return false; @@ -32474,18 +40189,14 @@ public final class ProtoBuf { memoizedIsInitialized = 0; return false; } - if (!hasResultPlayerKicked()) { - memoizedIsInitialized = 0; - return false; - } - if (!hasPetitionEndReason()) { + if (!hasNumVotesNeededToKick()) { memoizedIsInitialized = 0; return false; } memoizedIsInitialized = 1; return true; } - + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); @@ -32502,18 +40213,15 @@ public final class ProtoBuf { output.writeUInt32(4, numVotesInFavourOfKicking_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { - output.writeUInt32(5, resultPlayerKicked_); - } - if (((bitField0_ & 0x00000020) == 0x00000020)) { - output.writeEnum(6, petitionEndReason_.getNumber()); + output.writeUInt32(5, numVotesNeededToKick_); } } - + private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; - + size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream @@ -32533,112 +40241,97 @@ public final class ProtoBuf { } if (((bitField0_ & 0x00000010) == 0x00000010)) { size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(5, resultPlayerKicked_); - } - if (((bitField0_ & 0x00000020) == 0x00000020)) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(6, petitionEndReason_.getNumber()); + .computeUInt32Size(5, numVotesNeededToKick_); } memoizedSerializedSize = size; return size; } - + private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } - - public static de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage parseFrom( + + public static de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data).buildParsed(); + return PARSER.parseFrom(data); } - public static de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage parseFrom( + public static de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessage parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(data, extensionRegistry); } - public static de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage parseFrom(byte[] data) + public static de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessage parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data).buildParsed(); + return PARSER.parseFrom(data); } - public static de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage parseFrom( + public static de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessage parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(data, extensionRegistry); } - public static de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage parseFrom(java.io.InputStream input) + public static de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessage parseFrom(java.io.InputStream input) throws java.io.IOException { - return newBuilder().mergeFrom(input).buildParsed(); + return PARSER.parseFrom(input); } - public static de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage parseFrom( + public static de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessage parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return newBuilder().mergeFrom(input, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(input, extensionRegistry); } - public static de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage parseDelimitedFrom(java.io.InputStream input) + public static de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessage parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - Builder builder = newBuilder(); - if (builder.mergeDelimitedFrom(input)) { - return builder.buildParsed(); - } else { - return null; - } + return PARSER.parseDelimitedFrom(input); } - public static de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage parseDelimitedFrom( + public static de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessage parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - Builder builder = newBuilder(); - if (builder.mergeDelimitedFrom(input, extensionRegistry)) { - return builder.buildParsed(); - } else { - return null; - } + return PARSER.parseDelimitedFrom(input, extensionRegistry); } - public static de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage parseFrom( + public static de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessage parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return newBuilder().mergeFrom(input).buildParsed(); + return PARSER.parseFrom(input); } - public static de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage parseFrom( + public static de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessage parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return newBuilder().mergeFrom(input, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(input, extensionRegistry); } - + public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage prototype) { + public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessage prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } - + + /** + * Protobuf type {@code KickPetitionUpdateMessage} + */ public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< - de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.EndKickPetitionMessageOrBuilder { - // Construct using de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage.newBuilder() + de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessage, Builder> + implements de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessageOrBuilder { + // Construct using de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - + private void maybeForceBuilderInitialization() { } private static Builder create() { return new Builder(); } - + public Builder clear() { super.clear(); gameId_ = 0; @@ -32649,41 +40342,29 @@ public final class ProtoBuf { bitField0_ = (bitField0_ & ~0x00000004); numVotesInFavourOfKicking_ = 0; bitField0_ = (bitField0_ & ~0x00000008); - resultPlayerKicked_ = 0; + numVotesNeededToKick_ = 0; bitField0_ = (bitField0_ & ~0x00000010); - petitionEndReason_ = de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage.PetitionEndReason.petitionEndEnoughVotes; - bitField0_ = (bitField0_ & ~0x00000020); return this; } - + public Builder clone() { return create().mergeFrom(buildPartial()); } - - public de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage getDefaultInstanceForType() { - return de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage.getDefaultInstance(); + + public de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessage getDefaultInstanceForType() { + return de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessage.getDefaultInstance(); } - - public de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage build() { - de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage result = buildPartial(); + + public de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessage build() { + de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessage result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } - - private de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage buildParsed() - throws com.google.protobuf.InvalidProtocolBufferException { - de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException( - result).asInvalidProtocolBufferException(); - } - return result; - } - - public de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage buildPartial() { - de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage result = new de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage(this); + + public de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessage buildPartial() { + de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessage result = new de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessage(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { @@ -32705,17 +40386,13 @@ public final class ProtoBuf { if (((from_bitField0_ & 0x00000010) == 0x00000010)) { to_bitField0_ |= 0x00000010; } - result.resultPlayerKicked_ = resultPlayerKicked_; - if (((from_bitField0_ & 0x00000020) == 0x00000020)) { - to_bitField0_ |= 0x00000020; - } - result.petitionEndReason_ = petitionEndReason_; + result.numVotesNeededToKick_ = numVotesNeededToKick_; result.bitField0_ = to_bitField0_; return result; } - - public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage other) { - if (other == de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage.getDefaultInstance()) return this; + + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessage other) { + if (other == de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessage.getDefaultInstance()) return this; if (other.hasGameId()) { setGameId(other.getGameId()); } @@ -32728,15 +40405,12 @@ public final class ProtoBuf { if (other.hasNumVotesInFavourOfKicking()) { setNumVotesInFavourOfKicking(other.getNumVotesInFavourOfKicking()); } - if (other.hasResultPlayerKicked()) { - setResultPlayerKicked(other.getResultPlayerKicked()); - } - if (other.hasPetitionEndReason()) { - setPetitionEndReason(other.getPetitionEndReason()); + if (other.hasNumVotesNeededToKick()) { + setNumVotesNeededToKick(other.getNumVotesNeededToKick()); } return this; } - + public final boolean isInitialized() { if (!hasGameId()) { @@ -32754,31 +40428,311 @@ public final class ProtoBuf { return false; } - if (!hasResultPlayerKicked()) { - - return false; - } - if (!hasPetitionEndReason()) { + if (!hasNumVotesNeededToKick()) { return false; } return true; } - + public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - while (true) { + de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessage parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessage) e.getUnfinishedMessage(); + throw e; + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int bitField0_; + + // required uint32 gameId = 1; + private int gameId_ ; + /** + * required uint32 gameId = 1; + */ + public boolean hasGameId() { + return ((bitField0_ & 0x00000001) == 0x00000001); + } + /** + * required uint32 gameId = 1; + */ + public int getGameId() { + return gameId_; + } + /** + * required uint32 gameId = 1; + */ + public Builder setGameId(int value) { + bitField0_ |= 0x00000001; + gameId_ = value; + + return this; + } + /** + * required uint32 gameId = 1; + */ + public Builder clearGameId() { + bitField0_ = (bitField0_ & ~0x00000001); + gameId_ = 0; + + return this; + } + + // required uint32 petitionId = 2; + private int petitionId_ ; + /** + * required uint32 petitionId = 2; + */ + public boolean hasPetitionId() { + return ((bitField0_ & 0x00000002) == 0x00000002); + } + /** + * required uint32 petitionId = 2; + */ + public int getPetitionId() { + return petitionId_; + } + /** + * required uint32 petitionId = 2; + */ + public Builder setPetitionId(int value) { + bitField0_ |= 0x00000002; + petitionId_ = value; + + return this; + } + /** + * required uint32 petitionId = 2; + */ + public Builder clearPetitionId() { + bitField0_ = (bitField0_ & ~0x00000002); + petitionId_ = 0; + + return this; + } + + // required uint32 numVotesAgainstKicking = 3; + private int numVotesAgainstKicking_ ; + /** + * required uint32 numVotesAgainstKicking = 3; + */ + public boolean hasNumVotesAgainstKicking() { + return ((bitField0_ & 0x00000004) == 0x00000004); + } + /** + * required uint32 numVotesAgainstKicking = 3; + */ + public int getNumVotesAgainstKicking() { + return numVotesAgainstKicking_; + } + /** + * required uint32 numVotesAgainstKicking = 3; + */ + public Builder setNumVotesAgainstKicking(int value) { + bitField0_ |= 0x00000004; + numVotesAgainstKicking_ = value; + + return this; + } + /** + * required uint32 numVotesAgainstKicking = 3; + */ + public Builder clearNumVotesAgainstKicking() { + bitField0_ = (bitField0_ & ~0x00000004); + numVotesAgainstKicking_ = 0; + + return this; + } + + // required uint32 numVotesInFavourOfKicking = 4; + private int numVotesInFavourOfKicking_ ; + /** + * required uint32 numVotesInFavourOfKicking = 4; + */ + public boolean hasNumVotesInFavourOfKicking() { + return ((bitField0_ & 0x00000008) == 0x00000008); + } + /** + * required uint32 numVotesInFavourOfKicking = 4; + */ + public int getNumVotesInFavourOfKicking() { + return numVotesInFavourOfKicking_; + } + /** + * required uint32 numVotesInFavourOfKicking = 4; + */ + public Builder setNumVotesInFavourOfKicking(int value) { + bitField0_ |= 0x00000008; + numVotesInFavourOfKicking_ = value; + + return this; + } + /** + * required uint32 numVotesInFavourOfKicking = 4; + */ + public Builder clearNumVotesInFavourOfKicking() { + bitField0_ = (bitField0_ & ~0x00000008); + numVotesInFavourOfKicking_ = 0; + + return this; + } + + // required uint32 numVotesNeededToKick = 5; + private int numVotesNeededToKick_ ; + /** + * required uint32 numVotesNeededToKick = 5; + */ + public boolean hasNumVotesNeededToKick() { + return ((bitField0_ & 0x00000010) == 0x00000010); + } + /** + * required uint32 numVotesNeededToKick = 5; + */ + public int getNumVotesNeededToKick() { + return numVotesNeededToKick_; + } + /** + * required uint32 numVotesNeededToKick = 5; + */ + public Builder setNumVotesNeededToKick(int value) { + bitField0_ |= 0x00000010; + numVotesNeededToKick_ = value; + + return this; + } + /** + * required uint32 numVotesNeededToKick = 5; + */ + public Builder clearNumVotesNeededToKick() { + bitField0_ = (bitField0_ & ~0x00000010); + numVotesNeededToKick_ = 0; + + return this; + } + + // @@protoc_insertion_point(builder_scope:KickPetitionUpdateMessage) + } + + static { + defaultInstance = new KickPetitionUpdateMessage(true); + defaultInstance.initFields(); + } + + // @@protoc_insertion_point(class_scope:KickPetitionUpdateMessage) + } + + public interface EndKickPetitionMessageOrBuilder + extends com.google.protobuf.MessageLiteOrBuilder { + + // required uint32 gameId = 1; + /** + * required uint32 gameId = 1; + */ + boolean hasGameId(); + /** + * required uint32 gameId = 1; + */ + int getGameId(); + + // required uint32 petitionId = 2; + /** + * required uint32 petitionId = 2; + */ + boolean hasPetitionId(); + /** + * required uint32 petitionId = 2; + */ + int getPetitionId(); + + // required uint32 numVotesAgainstKicking = 3; + /** + * required uint32 numVotesAgainstKicking = 3; + */ + boolean hasNumVotesAgainstKicking(); + /** + * required uint32 numVotesAgainstKicking = 3; + */ + int getNumVotesAgainstKicking(); + + // required uint32 numVotesInFavourOfKicking = 4; + /** + * required uint32 numVotesInFavourOfKicking = 4; + */ + boolean hasNumVotesInFavourOfKicking(); + /** + * required uint32 numVotesInFavourOfKicking = 4; + */ + int getNumVotesInFavourOfKicking(); + + // required uint32 resultPlayerKicked = 5; + /** + * required uint32 resultPlayerKicked = 5; + */ + boolean hasResultPlayerKicked(); + /** + * required uint32 resultPlayerKicked = 5; + */ + int getResultPlayerKicked(); + + // required .EndKickPetitionMessage.PetitionEndReason petitionEndReason = 6; + /** + * required .EndKickPetitionMessage.PetitionEndReason petitionEndReason = 6; + */ + boolean hasPetitionEndReason(); + /** + * required .EndKickPetitionMessage.PetitionEndReason petitionEndReason = 6; + */ + de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage.PetitionEndReason getPetitionEndReason(); + } + /** + * Protobuf type {@code EndKickPetitionMessage} + */ + public static final class EndKickPetitionMessage extends + com.google.protobuf.GeneratedMessageLite + implements EndKickPetitionMessageOrBuilder { + // Use EndKickPetitionMessage.newBuilder() to construct. + private EndKickPetitionMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { + super(builder); + + } + private EndKickPetitionMessage(boolean noInit) {} + + private static final EndKickPetitionMessage defaultInstance; + public static EndKickPetitionMessage getDefaultInstance() { + return defaultInstance; + } + + public EndKickPetitionMessage getDefaultInstanceForType() { + return defaultInstance; + } + + private EndKickPetitionMessage( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + initFields(); + int mutable_bitField0_ = 0; + try { + boolean done = false; + while (!done) { int tag = input.readTag(); switch (tag) { case 0: - - return this; + done = true; + break; default: { - if (!parseUnknownField(input, extensionRegistry, tag)) { - - return this; + if (!parseUnknownField(input, + extensionRegistry, tag)) { + done = true; } break; } @@ -32818,123 +40772,701 @@ public final class ProtoBuf { } } } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e.getMessage()).setUnfinishedMessage(this); + } finally { + makeExtensionsImmutable(); + } + } + public static com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + public EndKickPetitionMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new EndKickPetitionMessage(input, extensionRegistry); + } + }; + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + /** + * Protobuf enum {@code EndKickPetitionMessage.PetitionEndReason} + */ + public enum PetitionEndReason + implements com.google.protobuf.Internal.EnumLite { + /** + * petitionEndEnoughVotes = 0; + */ + petitionEndEnoughVotes(0, 0), + /** + * petitionEndTooFewPlayers = 1; + */ + petitionEndTooFewPlayers(1, 1), + /** + * petitionEndPlayerLeft = 2; + */ + petitionEndPlayerLeft(2, 2), + /** + * petitionEndTimeout = 3; + */ + petitionEndTimeout(3, 3), + ; + + /** + * petitionEndEnoughVotes = 0; + */ + public static final int petitionEndEnoughVotes_VALUE = 0; + /** + * petitionEndTooFewPlayers = 1; + */ + public static final int petitionEndTooFewPlayers_VALUE = 1; + /** + * petitionEndPlayerLeft = 2; + */ + public static final int petitionEndPlayerLeft_VALUE = 2; + /** + * petitionEndTimeout = 3; + */ + public static final int petitionEndTimeout_VALUE = 3; + + + public final int getNumber() { return value; } + + public static PetitionEndReason valueOf(int value) { + switch (value) { + case 0: return petitionEndEnoughVotes; + case 1: return petitionEndTooFewPlayers; + case 2: return petitionEndPlayerLeft; + case 3: return petitionEndTimeout; + default: return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { + return internalValueMap; + } + private static com.google.protobuf.Internal.EnumLiteMap + internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public PetitionEndReason findValueByNumber(int number) { + return PetitionEndReason.valueOf(number); + } + }; + + private final int value; + + private PetitionEndReason(int index, int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:EndKickPetitionMessage.PetitionEndReason) + } + + private int bitField0_; + // required uint32 gameId = 1; + public static final int GAMEID_FIELD_NUMBER = 1; + private int gameId_; + /** + * required uint32 gameId = 1; + */ + public boolean hasGameId() { + return ((bitField0_ & 0x00000001) == 0x00000001); + } + /** + * required uint32 gameId = 1; + */ + public int getGameId() { + return gameId_; + } + + // required uint32 petitionId = 2; + public static final int PETITIONID_FIELD_NUMBER = 2; + private int petitionId_; + /** + * required uint32 petitionId = 2; + */ + public boolean hasPetitionId() { + return ((bitField0_ & 0x00000002) == 0x00000002); + } + /** + * required uint32 petitionId = 2; + */ + public int getPetitionId() { + return petitionId_; + } + + // required uint32 numVotesAgainstKicking = 3; + public static final int NUMVOTESAGAINSTKICKING_FIELD_NUMBER = 3; + private int numVotesAgainstKicking_; + /** + * required uint32 numVotesAgainstKicking = 3; + */ + public boolean hasNumVotesAgainstKicking() { + return ((bitField0_ & 0x00000004) == 0x00000004); + } + /** + * required uint32 numVotesAgainstKicking = 3; + */ + public int getNumVotesAgainstKicking() { + return numVotesAgainstKicking_; + } + + // required uint32 numVotesInFavourOfKicking = 4; + public static final int NUMVOTESINFAVOUROFKICKING_FIELD_NUMBER = 4; + private int numVotesInFavourOfKicking_; + /** + * required uint32 numVotesInFavourOfKicking = 4; + */ + public boolean hasNumVotesInFavourOfKicking() { + return ((bitField0_ & 0x00000008) == 0x00000008); + } + /** + * required uint32 numVotesInFavourOfKicking = 4; + */ + public int getNumVotesInFavourOfKicking() { + return numVotesInFavourOfKicking_; + } + + // required uint32 resultPlayerKicked = 5; + public static final int RESULTPLAYERKICKED_FIELD_NUMBER = 5; + private int resultPlayerKicked_; + /** + * required uint32 resultPlayerKicked = 5; + */ + public boolean hasResultPlayerKicked() { + return ((bitField0_ & 0x00000010) == 0x00000010); + } + /** + * required uint32 resultPlayerKicked = 5; + */ + public int getResultPlayerKicked() { + return resultPlayerKicked_; + } + + // required .EndKickPetitionMessage.PetitionEndReason petitionEndReason = 6; + public static final int PETITIONENDREASON_FIELD_NUMBER = 6; + private de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage.PetitionEndReason petitionEndReason_; + /** + * required .EndKickPetitionMessage.PetitionEndReason petitionEndReason = 6; + */ + public boolean hasPetitionEndReason() { + return ((bitField0_ & 0x00000020) == 0x00000020); + } + /** + * required .EndKickPetitionMessage.PetitionEndReason petitionEndReason = 6; + */ + public de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage.PetitionEndReason getPetitionEndReason() { + return petitionEndReason_; + } + + private void initFields() { + gameId_ = 0; + petitionId_ = 0; + numVotesAgainstKicking_ = 0; + numVotesInFavourOfKicking_ = 0; + resultPlayerKicked_ = 0; + petitionEndReason_ = de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage.PetitionEndReason.petitionEndEnoughVotes; + } + private byte memoizedIsInitialized = -1; + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized != -1) return isInitialized == 1; + + if (!hasGameId()) { + memoizedIsInitialized = 0; + return false; + } + if (!hasPetitionId()) { + memoizedIsInitialized = 0; + return false; + } + if (!hasNumVotesAgainstKicking()) { + memoizedIsInitialized = 0; + return false; + } + if (!hasNumVotesInFavourOfKicking()) { + memoizedIsInitialized = 0; + return false; + } + if (!hasResultPlayerKicked()) { + memoizedIsInitialized = 0; + return false; + } + if (!hasPetitionEndReason()) { + memoizedIsInitialized = 0; + return false; + } + memoizedIsInitialized = 1; + return true; + } + + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + getSerializedSize(); + if (((bitField0_ & 0x00000001) == 0x00000001)) { + output.writeUInt32(1, gameId_); + } + if (((bitField0_ & 0x00000002) == 0x00000002)) { + output.writeUInt32(2, petitionId_); + } + if (((bitField0_ & 0x00000004) == 0x00000004)) { + output.writeUInt32(3, numVotesAgainstKicking_); + } + if (((bitField0_ & 0x00000008) == 0x00000008)) { + output.writeUInt32(4, numVotesInFavourOfKicking_); + } + if (((bitField0_ & 0x00000010) == 0x00000010)) { + output.writeUInt32(5, resultPlayerKicked_); + } + if (((bitField0_ & 0x00000020) == 0x00000020)) { + output.writeEnum(6, petitionEndReason_.getNumber()); + } + } + + private int memoizedSerializedSize = -1; + public int getSerializedSize() { + int size = memoizedSerializedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) == 0x00000001)) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(1, gameId_); + } + if (((bitField0_ & 0x00000002) == 0x00000002)) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(2, petitionId_); + } + if (((bitField0_ & 0x00000004) == 0x00000004)) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(3, numVotesAgainstKicking_); + } + if (((bitField0_ & 0x00000008) == 0x00000008)) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(4, numVotesInFavourOfKicking_); + } + if (((bitField0_ & 0x00000010) == 0x00000010)) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(5, resultPlayerKicked_); + } + if (((bitField0_ & 0x00000020) == 0x00000020)) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(6, petitionEndReason_.getNumber()); + } + memoizedSerializedSize = size; + return size; + } + + private static final long serialVersionUID = 0L; + @java.lang.Override + protected java.lang.Object writeReplace() + throws java.io.ObjectStreamException { + return super.writeReplace(); + } + + public static de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage parseFrom(java.io.InputStream input) + throws java.io.IOException { + return PARSER.parseFrom(input); + } + public static de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseFrom(input, extensionRegistry); + } + public static de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return PARSER.parseDelimitedFrom(input); + } + public static de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseDelimitedFrom(input, extensionRegistry); + } + public static de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return PARSER.parseFrom(input); + } + public static de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseFrom(input, extensionRegistry); + } + + public static Builder newBuilder() { return Builder.create(); } + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage prototype) { + return newBuilder().mergeFrom(prototype); + } + public Builder toBuilder() { return newBuilder(this); } + + /** + * Protobuf type {@code EndKickPetitionMessage} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageLite.Builder< + de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage, Builder> + implements de.pokerth.protocol.ProtoBuf.EndKickPetitionMessageOrBuilder { + // Construct using de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + } + private static Builder create() { + return new Builder(); + } + + public Builder clear() { + super.clear(); + gameId_ = 0; + bitField0_ = (bitField0_ & ~0x00000001); + petitionId_ = 0; + bitField0_ = (bitField0_ & ~0x00000002); + numVotesAgainstKicking_ = 0; + bitField0_ = (bitField0_ & ~0x00000004); + numVotesInFavourOfKicking_ = 0; + bitField0_ = (bitField0_ & ~0x00000008); + resultPlayerKicked_ = 0; + bitField0_ = (bitField0_ & ~0x00000010); + petitionEndReason_ = de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage.PetitionEndReason.petitionEndEnoughVotes; + bitField0_ = (bitField0_ & ~0x00000020); + return this; + } + + public Builder clone() { + return create().mergeFrom(buildPartial()); + } + + public de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage getDefaultInstanceForType() { + return de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage.getDefaultInstance(); + } + + public de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage build() { + de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + public de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage buildPartial() { + de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage result = new de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) == 0x00000001)) { + to_bitField0_ |= 0x00000001; + } + result.gameId_ = gameId_; + if (((from_bitField0_ & 0x00000002) == 0x00000002)) { + to_bitField0_ |= 0x00000002; + } + result.petitionId_ = petitionId_; + if (((from_bitField0_ & 0x00000004) == 0x00000004)) { + to_bitField0_ |= 0x00000004; + } + result.numVotesAgainstKicking_ = numVotesAgainstKicking_; + if (((from_bitField0_ & 0x00000008) == 0x00000008)) { + to_bitField0_ |= 0x00000008; + } + result.numVotesInFavourOfKicking_ = numVotesInFavourOfKicking_; + if (((from_bitField0_ & 0x00000010) == 0x00000010)) { + to_bitField0_ |= 0x00000010; + } + result.resultPlayerKicked_ = resultPlayerKicked_; + if (((from_bitField0_ & 0x00000020) == 0x00000020)) { + to_bitField0_ |= 0x00000020; + } + result.petitionEndReason_ = petitionEndReason_; + result.bitField0_ = to_bitField0_; + return result; + } + + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage other) { + if (other == de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage.getDefaultInstance()) return this; + if (other.hasGameId()) { + setGameId(other.getGameId()); + } + if (other.hasPetitionId()) { + setPetitionId(other.getPetitionId()); + } + if (other.hasNumVotesAgainstKicking()) { + setNumVotesAgainstKicking(other.getNumVotesAgainstKicking()); + } + if (other.hasNumVotesInFavourOfKicking()) { + setNumVotesInFavourOfKicking(other.getNumVotesInFavourOfKicking()); + } + if (other.hasResultPlayerKicked()) { + setResultPlayerKicked(other.getResultPlayerKicked()); + } + if (other.hasPetitionEndReason()) { + setPetitionEndReason(other.getPetitionEndReason()); + } + return this; + } + + public final boolean isInitialized() { + if (!hasGameId()) { + + return false; + } + if (!hasPetitionId()) { + + return false; + } + if (!hasNumVotesAgainstKicking()) { + + return false; + } + if (!hasNumVotesInFavourOfKicking()) { + + return false; + } + if (!hasResultPlayerKicked()) { + + return false; + } + if (!hasPetitionEndReason()) { + + return false; + } + return true; + } + + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage) e.getUnfinishedMessage(); + throw e; + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; } - private int bitField0_; - + // required uint32 gameId = 1; private int gameId_ ; + /** + * required uint32 gameId = 1; + */ public boolean hasGameId() { return ((bitField0_ & 0x00000001) == 0x00000001); } + /** + * required uint32 gameId = 1; + */ public int getGameId() { return gameId_; } + /** + * required uint32 gameId = 1; + */ public Builder setGameId(int value) { bitField0_ |= 0x00000001; gameId_ = value; return this; } + /** + * required uint32 gameId = 1; + */ public Builder clearGameId() { bitField0_ = (bitField0_ & ~0x00000001); gameId_ = 0; return this; } - + // required uint32 petitionId = 2; private int petitionId_ ; + /** + * required uint32 petitionId = 2; + */ public boolean hasPetitionId() { return ((bitField0_ & 0x00000002) == 0x00000002); } + /** + * required uint32 petitionId = 2; + */ public int getPetitionId() { return petitionId_; } + /** + * required uint32 petitionId = 2; + */ public Builder setPetitionId(int value) { bitField0_ |= 0x00000002; petitionId_ = value; return this; } + /** + * required uint32 petitionId = 2; + */ public Builder clearPetitionId() { bitField0_ = (bitField0_ & ~0x00000002); petitionId_ = 0; return this; } - + // required uint32 numVotesAgainstKicking = 3; private int numVotesAgainstKicking_ ; + /** + * required uint32 numVotesAgainstKicking = 3; + */ public boolean hasNumVotesAgainstKicking() { return ((bitField0_ & 0x00000004) == 0x00000004); } + /** + * required uint32 numVotesAgainstKicking = 3; + */ public int getNumVotesAgainstKicking() { return numVotesAgainstKicking_; } + /** + * required uint32 numVotesAgainstKicking = 3; + */ public Builder setNumVotesAgainstKicking(int value) { bitField0_ |= 0x00000004; numVotesAgainstKicking_ = value; return this; } + /** + * required uint32 numVotesAgainstKicking = 3; + */ public Builder clearNumVotesAgainstKicking() { bitField0_ = (bitField0_ & ~0x00000004); numVotesAgainstKicking_ = 0; return this; } - + // required uint32 numVotesInFavourOfKicking = 4; private int numVotesInFavourOfKicking_ ; + /** + * required uint32 numVotesInFavourOfKicking = 4; + */ public boolean hasNumVotesInFavourOfKicking() { return ((bitField0_ & 0x00000008) == 0x00000008); } + /** + * required uint32 numVotesInFavourOfKicking = 4; + */ public int getNumVotesInFavourOfKicking() { return numVotesInFavourOfKicking_; } + /** + * required uint32 numVotesInFavourOfKicking = 4; + */ public Builder setNumVotesInFavourOfKicking(int value) { bitField0_ |= 0x00000008; numVotesInFavourOfKicking_ = value; return this; } + /** + * required uint32 numVotesInFavourOfKicking = 4; + */ public Builder clearNumVotesInFavourOfKicking() { bitField0_ = (bitField0_ & ~0x00000008); numVotesInFavourOfKicking_ = 0; return this; } - + // required uint32 resultPlayerKicked = 5; private int resultPlayerKicked_ ; + /** + * required uint32 resultPlayerKicked = 5; + */ public boolean hasResultPlayerKicked() { return ((bitField0_ & 0x00000010) == 0x00000010); } + /** + * required uint32 resultPlayerKicked = 5; + */ public int getResultPlayerKicked() { return resultPlayerKicked_; } + /** + * required uint32 resultPlayerKicked = 5; + */ public Builder setResultPlayerKicked(int value) { bitField0_ |= 0x00000010; resultPlayerKicked_ = value; return this; } + /** + * required uint32 resultPlayerKicked = 5; + */ public Builder clearResultPlayerKicked() { bitField0_ = (bitField0_ & ~0x00000010); resultPlayerKicked_ = 0; return this; } - + // required .EndKickPetitionMessage.PetitionEndReason petitionEndReason = 6; private de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage.PetitionEndReason petitionEndReason_ = de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage.PetitionEndReason.petitionEndEnoughVotes; + /** + * required .EndKickPetitionMessage.PetitionEndReason petitionEndReason = 6; + */ public boolean hasPetitionEndReason() { return ((bitField0_ & 0x00000020) == 0x00000020); } + /** + * required .EndKickPetitionMessage.PetitionEndReason petitionEndReason = 6; + */ public de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage.PetitionEndReason getPetitionEndReason() { return petitionEndReason_; } + /** + * required .EndKickPetitionMessage.PetitionEndReason petitionEndReason = 6; + */ public Builder setPetitionEndReason(de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage.PetitionEndReason value) { if (value == null) { throw new NullPointerException(); @@ -32944,373 +41476,188 @@ public final class ProtoBuf { return this; } + /** + * required .EndKickPetitionMessage.PetitionEndReason petitionEndReason = 6; + */ public Builder clearPetitionEndReason() { bitField0_ = (bitField0_ & ~0x00000020); petitionEndReason_ = de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage.PetitionEndReason.petitionEndEnoughVotes; return this; } - + // @@protoc_insertion_point(builder_scope:EndKickPetitionMessage) } - + static { defaultInstance = new EndKickPetitionMessage(true); defaultInstance.initFields(); } - + // @@protoc_insertion_point(class_scope:EndKickPetitionMessage) } - + public interface StatisticsMessageOrBuilder extends com.google.protobuf.MessageLiteOrBuilder { - + // repeated .StatisticsMessage.StatisticsData statisticsData = 1; + /** + * repeated .StatisticsMessage.StatisticsData statisticsData = 1; + */ java.util.List getStatisticsDataList(); + /** + * repeated .StatisticsMessage.StatisticsData statisticsData = 1; + */ de.pokerth.protocol.ProtoBuf.StatisticsMessage.StatisticsData getStatisticsData(int index); + /** + * repeated .StatisticsMessage.StatisticsData statisticsData = 1; + */ int getStatisticsDataCount(); } + /** + * Protobuf type {@code StatisticsMessage} + */ public static final class StatisticsMessage extends com.google.protobuf.GeneratedMessageLite implements StatisticsMessageOrBuilder { // Use StatisticsMessage.newBuilder() to construct. - private StatisticsMessage(Builder builder) { + private StatisticsMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); + } private StatisticsMessage(boolean noInit) {} - + private static final StatisticsMessage defaultInstance; public static StatisticsMessage getDefaultInstance() { return defaultInstance; } - + public StatisticsMessage getDefaultInstanceForType() { return defaultInstance; } - + + private StatisticsMessage( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + initFields(); + int mutable_bitField0_ = 0; + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: { + if (!parseUnknownField(input, + extensionRegistry, tag)) { + done = true; + } + break; + } + case 10: { + if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { + statisticsData_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + statisticsData_.add(input.readMessage(de.pokerth.protocol.ProtoBuf.StatisticsMessage.StatisticsData.PARSER, extensionRegistry)); + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e.getMessage()).setUnfinishedMessage(this); + } finally { + if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) { + statisticsData_ = java.util.Collections.unmodifiableList(statisticsData_); + } + makeExtensionsImmutable(); + } + } + public static com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + public StatisticsMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new StatisticsMessage(input, extensionRegistry); + } + }; + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + public interface StatisticsDataOrBuilder extends com.google.protobuf.MessageLiteOrBuilder { - + // required .StatisticsMessage.StatisticsData.StatisticsType statisticsType = 1; + /** + * required .StatisticsMessage.StatisticsData.StatisticsType statisticsType = 1; + */ boolean hasStatisticsType(); + /** + * required .StatisticsMessage.StatisticsData.StatisticsType statisticsType = 1; + */ de.pokerth.protocol.ProtoBuf.StatisticsMessage.StatisticsData.StatisticsType getStatisticsType(); - + // required uint32 statisticsValue = 2; + /** + * required uint32 statisticsValue = 2; + */ boolean hasStatisticsValue(); + /** + * required uint32 statisticsValue = 2; + */ int getStatisticsValue(); } + /** + * Protobuf type {@code StatisticsMessage.StatisticsData} + */ public static final class StatisticsData extends com.google.protobuf.GeneratedMessageLite implements StatisticsDataOrBuilder { // Use StatisticsData.newBuilder() to construct. - private StatisticsData(Builder builder) { + private StatisticsData(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); + } private StatisticsData(boolean noInit) {} - + private static final StatisticsData defaultInstance; public static StatisticsData getDefaultInstance() { return defaultInstance; } - + public StatisticsData getDefaultInstanceForType() { return defaultInstance; } - - public enum StatisticsType - implements com.google.protobuf.Internal.EnumLite { - statNumberOfPlayers(0, 1), - ; - - public static final int statNumberOfPlayers_VALUE = 1; - - - public final int getNumber() { return value; } - - public static StatisticsType valueOf(int value) { - switch (value) { - case 1: return statNumberOfPlayers; - default: return null; - } - } - - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { - return internalValueMap; - } - private static com.google.protobuf.Internal.EnumLiteMap - internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public StatisticsType findValueByNumber(int number) { - return StatisticsType.valueOf(number); - } - }; - - private final int value; - - private StatisticsType(int index, int value) { - this.value = value; - } - - // @@protoc_insertion_point(enum_scope:StatisticsMessage.StatisticsData.StatisticsType) - } - - private int bitField0_; - // required .StatisticsMessage.StatisticsData.StatisticsType statisticsType = 1; - public static final int STATISTICSTYPE_FIELD_NUMBER = 1; - private de.pokerth.protocol.ProtoBuf.StatisticsMessage.StatisticsData.StatisticsType statisticsType_; - public boolean hasStatisticsType() { - return ((bitField0_ & 0x00000001) == 0x00000001); - } - public de.pokerth.protocol.ProtoBuf.StatisticsMessage.StatisticsData.StatisticsType getStatisticsType() { - return statisticsType_; - } - - // required uint32 statisticsValue = 2; - public static final int STATISTICSVALUE_FIELD_NUMBER = 2; - private int statisticsValue_; - public boolean hasStatisticsValue() { - return ((bitField0_ & 0x00000002) == 0x00000002); - } - public int getStatisticsValue() { - return statisticsValue_; - } - - private void initFields() { - statisticsType_ = de.pokerth.protocol.ProtoBuf.StatisticsMessage.StatisticsData.StatisticsType.statNumberOfPlayers; - statisticsValue_ = 0; - } - private byte memoizedIsInitialized = -1; - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; - - if (!hasStatisticsType()) { - memoizedIsInitialized = 0; - return false; - } - if (!hasStatisticsValue()) { - memoizedIsInitialized = 0; - return false; - } - memoizedIsInitialized = 1; - return true; - } - - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - getSerializedSize(); - if (((bitField0_ & 0x00000001) == 0x00000001)) { - output.writeEnum(1, statisticsType_.getNumber()); - } - if (((bitField0_ & 0x00000002) == 0x00000002)) { - output.writeUInt32(2, statisticsValue_); - } - } - - private int memoizedSerializedSize = -1; - public int getSerializedSize() { - int size = memoizedSerializedSize; - if (size != -1) return size; - - size = 0; - if (((bitField0_ & 0x00000001) == 0x00000001)) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, statisticsType_.getNumber()); - } - if (((bitField0_ & 0x00000002) == 0x00000002)) { - size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(2, statisticsValue_); - } - memoizedSerializedSize = size; - return size; - } - - private static final long serialVersionUID = 0L; - @java.lang.Override - protected java.lang.Object writeReplace() - throws java.io.ObjectStreamException { - return super.writeReplace(); - } - - public static de.pokerth.protocol.ProtoBuf.StatisticsMessage.StatisticsData parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data).buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.StatisticsMessage.StatisticsData parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data, extensionRegistry) - .buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.StatisticsMessage.StatisticsData parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data).buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.StatisticsMessage.StatisticsData parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data, extensionRegistry) - .buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.StatisticsMessage.StatisticsData parseFrom(java.io.InputStream input) - throws java.io.IOException { - return newBuilder().mergeFrom(input).buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.StatisticsMessage.StatisticsData parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return newBuilder().mergeFrom(input, extensionRegistry) - .buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.StatisticsMessage.StatisticsData parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - Builder builder = newBuilder(); - if (builder.mergeDelimitedFrom(input)) { - return builder.buildParsed(); - } else { - return null; - } - } - public static de.pokerth.protocol.ProtoBuf.StatisticsMessage.StatisticsData parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - Builder builder = newBuilder(); - if (builder.mergeDelimitedFrom(input, extensionRegistry)) { - return builder.buildParsed(); - } else { - return null; - } - } - public static de.pokerth.protocol.ProtoBuf.StatisticsMessage.StatisticsData parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return newBuilder().mergeFrom(input).buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.StatisticsMessage.StatisticsData parseFrom( + + private StatisticsData( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return newBuilder().mergeFrom(input, extensionRegistry) - .buildParsed(); - } - - public static Builder newBuilder() { return Builder.create(); } - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.StatisticsMessage.StatisticsData prototype) { - return newBuilder().mergeFrom(prototype); - } - public Builder toBuilder() { return newBuilder(this); } - - public static final class Builder extends - com.google.protobuf.GeneratedMessageLite.Builder< - de.pokerth.protocol.ProtoBuf.StatisticsMessage.StatisticsData, Builder> - implements de.pokerth.protocol.ProtoBuf.StatisticsMessage.StatisticsDataOrBuilder { - // Construct using de.pokerth.protocol.ProtoBuf.StatisticsMessage.StatisticsData.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - } - private static Builder create() { - return new Builder(); - } - - public Builder clear() { - super.clear(); - statisticsType_ = de.pokerth.protocol.ProtoBuf.StatisticsMessage.StatisticsData.StatisticsType.statNumberOfPlayers; - bitField0_ = (bitField0_ & ~0x00000001); - statisticsValue_ = 0; - bitField0_ = (bitField0_ & ~0x00000002); - return this; - } - - public Builder clone() { - return create().mergeFrom(buildPartial()); - } - - public de.pokerth.protocol.ProtoBuf.StatisticsMessage.StatisticsData getDefaultInstanceForType() { - return de.pokerth.protocol.ProtoBuf.StatisticsMessage.StatisticsData.getDefaultInstance(); - } - - public de.pokerth.protocol.ProtoBuf.StatisticsMessage.StatisticsData build() { - de.pokerth.protocol.ProtoBuf.StatisticsMessage.StatisticsData result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - private de.pokerth.protocol.ProtoBuf.StatisticsMessage.StatisticsData buildParsed() - throws com.google.protobuf.InvalidProtocolBufferException { - de.pokerth.protocol.ProtoBuf.StatisticsMessage.StatisticsData result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException( - result).asInvalidProtocolBufferException(); - } - return result; - } - - public de.pokerth.protocol.ProtoBuf.StatisticsMessage.StatisticsData buildPartial() { - de.pokerth.protocol.ProtoBuf.StatisticsMessage.StatisticsData result = new de.pokerth.protocol.ProtoBuf.StatisticsMessage.StatisticsData(this); - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) == 0x00000001)) { - to_bitField0_ |= 0x00000001; - } - result.statisticsType_ = statisticsType_; - if (((from_bitField0_ & 0x00000002) == 0x00000002)) { - to_bitField0_ |= 0x00000002; - } - result.statisticsValue_ = statisticsValue_; - result.bitField0_ = to_bitField0_; - return result; - } - - public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.StatisticsMessage.StatisticsData other) { - if (other == de.pokerth.protocol.ProtoBuf.StatisticsMessage.StatisticsData.getDefaultInstance()) return this; - if (other.hasStatisticsType()) { - setStatisticsType(other.getStatisticsType()); - } - if (other.hasStatisticsValue()) { - setStatisticsValue(other.getStatisticsValue()); - } - return this; - } - - public final boolean isInitialized() { - if (!hasStatisticsType()) { - - return false; - } - if (!hasStatisticsValue()) { - - return false; - } - return true; - } - - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - while (true) { + throws com.google.protobuf.InvalidProtocolBufferException { + initFields(); + int mutable_bitField0_ = 0; + try { + boolean done = false; + while (!done) { int tag = input.readTag(); switch (tag) { case 0: - - return this; + done = true; + break; default: { - if (!parseUnknownField(input, extensionRegistry, tag)) { - - return this; + if (!parseUnknownField(input, + extensionRegistry, tag)) { + done = true; } break; } @@ -33330,18 +41677,345 @@ public final class ProtoBuf { } } } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e.getMessage()).setUnfinishedMessage(this); + } finally { + makeExtensionsImmutable(); + } + } + public static com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + public StatisticsData parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new StatisticsData(input, extensionRegistry); + } + }; + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + /** + * Protobuf enum {@code StatisticsMessage.StatisticsData.StatisticsType} + */ + public enum StatisticsType + implements com.google.protobuf.Internal.EnumLite { + /** + * statNumberOfPlayers = 1; + */ + statNumberOfPlayers(0, 1), + ; + + /** + * statNumberOfPlayers = 1; + */ + public static final int statNumberOfPlayers_VALUE = 1; + + + public final int getNumber() { return value; } + + public static StatisticsType valueOf(int value) { + switch (value) { + case 1: return statNumberOfPlayers; + default: return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { + return internalValueMap; + } + private static com.google.protobuf.Internal.EnumLiteMap + internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public StatisticsType findValueByNumber(int number) { + return StatisticsType.valueOf(number); + } + }; + + private final int value; + + private StatisticsType(int index, int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:StatisticsMessage.StatisticsData.StatisticsType) + } + + private int bitField0_; + // required .StatisticsMessage.StatisticsData.StatisticsType statisticsType = 1; + public static final int STATISTICSTYPE_FIELD_NUMBER = 1; + private de.pokerth.protocol.ProtoBuf.StatisticsMessage.StatisticsData.StatisticsType statisticsType_; + /** + * required .StatisticsMessage.StatisticsData.StatisticsType statisticsType = 1; + */ + public boolean hasStatisticsType() { + return ((bitField0_ & 0x00000001) == 0x00000001); + } + /** + * required .StatisticsMessage.StatisticsData.StatisticsType statisticsType = 1; + */ + public de.pokerth.protocol.ProtoBuf.StatisticsMessage.StatisticsData.StatisticsType getStatisticsType() { + return statisticsType_; + } + + // required uint32 statisticsValue = 2; + public static final int STATISTICSVALUE_FIELD_NUMBER = 2; + private int statisticsValue_; + /** + * required uint32 statisticsValue = 2; + */ + public boolean hasStatisticsValue() { + return ((bitField0_ & 0x00000002) == 0x00000002); + } + /** + * required uint32 statisticsValue = 2; + */ + public int getStatisticsValue() { + return statisticsValue_; + } + + private void initFields() { + statisticsType_ = de.pokerth.protocol.ProtoBuf.StatisticsMessage.StatisticsData.StatisticsType.statNumberOfPlayers; + statisticsValue_ = 0; + } + private byte memoizedIsInitialized = -1; + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized != -1) return isInitialized == 1; + + if (!hasStatisticsType()) { + memoizedIsInitialized = 0; + return false; + } + if (!hasStatisticsValue()) { + memoizedIsInitialized = 0; + return false; + } + memoizedIsInitialized = 1; + return true; + } + + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + getSerializedSize(); + if (((bitField0_ & 0x00000001) == 0x00000001)) { + output.writeEnum(1, statisticsType_.getNumber()); + } + if (((bitField0_ & 0x00000002) == 0x00000002)) { + output.writeUInt32(2, statisticsValue_); + } + } + + private int memoizedSerializedSize = -1; + public int getSerializedSize() { + int size = memoizedSerializedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) == 0x00000001)) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, statisticsType_.getNumber()); + } + if (((bitField0_ & 0x00000002) == 0x00000002)) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(2, statisticsValue_); + } + memoizedSerializedSize = size; + return size; + } + + private static final long serialVersionUID = 0L; + @java.lang.Override + protected java.lang.Object writeReplace() + throws java.io.ObjectStreamException { + return super.writeReplace(); + } + + public static de.pokerth.protocol.ProtoBuf.StatisticsMessage.StatisticsData parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static de.pokerth.protocol.ProtoBuf.StatisticsMessage.StatisticsData parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static de.pokerth.protocol.ProtoBuf.StatisticsMessage.StatisticsData parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static de.pokerth.protocol.ProtoBuf.StatisticsMessage.StatisticsData parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static de.pokerth.protocol.ProtoBuf.StatisticsMessage.StatisticsData parseFrom(java.io.InputStream input) + throws java.io.IOException { + return PARSER.parseFrom(input); + } + public static de.pokerth.protocol.ProtoBuf.StatisticsMessage.StatisticsData parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseFrom(input, extensionRegistry); + } + public static de.pokerth.protocol.ProtoBuf.StatisticsMessage.StatisticsData parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return PARSER.parseDelimitedFrom(input); + } + public static de.pokerth.protocol.ProtoBuf.StatisticsMessage.StatisticsData parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseDelimitedFrom(input, extensionRegistry); + } + public static de.pokerth.protocol.ProtoBuf.StatisticsMessage.StatisticsData parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return PARSER.parseFrom(input); + } + public static de.pokerth.protocol.ProtoBuf.StatisticsMessage.StatisticsData parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseFrom(input, extensionRegistry); + } + + public static Builder newBuilder() { return Builder.create(); } + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.StatisticsMessage.StatisticsData prototype) { + return newBuilder().mergeFrom(prototype); + } + public Builder toBuilder() { return newBuilder(this); } + + /** + * Protobuf type {@code StatisticsMessage.StatisticsData} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageLite.Builder< + de.pokerth.protocol.ProtoBuf.StatisticsMessage.StatisticsData, Builder> + implements de.pokerth.protocol.ProtoBuf.StatisticsMessage.StatisticsDataOrBuilder { + // Construct using de.pokerth.protocol.ProtoBuf.StatisticsMessage.StatisticsData.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + } + private static Builder create() { + return new Builder(); + } + + public Builder clear() { + super.clear(); + statisticsType_ = de.pokerth.protocol.ProtoBuf.StatisticsMessage.StatisticsData.StatisticsType.statNumberOfPlayers; + bitField0_ = (bitField0_ & ~0x00000001); + statisticsValue_ = 0; + bitField0_ = (bitField0_ & ~0x00000002); + return this; + } + + public Builder clone() { + return create().mergeFrom(buildPartial()); + } + + public de.pokerth.protocol.ProtoBuf.StatisticsMessage.StatisticsData getDefaultInstanceForType() { + return de.pokerth.protocol.ProtoBuf.StatisticsMessage.StatisticsData.getDefaultInstance(); + } + + public de.pokerth.protocol.ProtoBuf.StatisticsMessage.StatisticsData build() { + de.pokerth.protocol.ProtoBuf.StatisticsMessage.StatisticsData result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + public de.pokerth.protocol.ProtoBuf.StatisticsMessage.StatisticsData buildPartial() { + de.pokerth.protocol.ProtoBuf.StatisticsMessage.StatisticsData result = new de.pokerth.protocol.ProtoBuf.StatisticsMessage.StatisticsData(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) == 0x00000001)) { + to_bitField0_ |= 0x00000001; + } + result.statisticsType_ = statisticsType_; + if (((from_bitField0_ & 0x00000002) == 0x00000002)) { + to_bitField0_ |= 0x00000002; + } + result.statisticsValue_ = statisticsValue_; + result.bitField0_ = to_bitField0_; + return result; + } + + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.StatisticsMessage.StatisticsData other) { + if (other == de.pokerth.protocol.ProtoBuf.StatisticsMessage.StatisticsData.getDefaultInstance()) return this; + if (other.hasStatisticsType()) { + setStatisticsType(other.getStatisticsType()); + } + if (other.hasStatisticsValue()) { + setStatisticsValue(other.getStatisticsValue()); + } + return this; + } + + public final boolean isInitialized() { + if (!hasStatisticsType()) { + + return false; + } + if (!hasStatisticsValue()) { + + return false; + } + return true; + } + + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + de.pokerth.protocol.ProtoBuf.StatisticsMessage.StatisticsData parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (de.pokerth.protocol.ProtoBuf.StatisticsMessage.StatisticsData) e.getUnfinishedMessage(); + throw e; + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; } - private int bitField0_; - + // required .StatisticsMessage.StatisticsData.StatisticsType statisticsType = 1; private de.pokerth.protocol.ProtoBuf.StatisticsMessage.StatisticsData.StatisticsType statisticsType_ = de.pokerth.protocol.ProtoBuf.StatisticsMessage.StatisticsData.StatisticsType.statNumberOfPlayers; + /** + * required .StatisticsMessage.StatisticsData.StatisticsType statisticsType = 1; + */ public boolean hasStatisticsType() { return ((bitField0_ & 0x00000001) == 0x00000001); } + /** + * required .StatisticsMessage.StatisticsData.StatisticsType statisticsType = 1; + */ public de.pokerth.protocol.ProtoBuf.StatisticsMessage.StatisticsData.StatisticsType getStatisticsType() { return statisticsType_; } + /** + * required .StatisticsMessage.StatisticsData.StatisticsType statisticsType = 1; + */ public Builder setStatisticsType(de.pokerth.protocol.ProtoBuf.StatisticsMessage.StatisticsData.StatisticsType value) { if (value == null) { throw new NullPointerException(); @@ -33351,66 +42025,96 @@ public final class ProtoBuf { return this; } + /** + * required .StatisticsMessage.StatisticsData.StatisticsType statisticsType = 1; + */ public Builder clearStatisticsType() { bitField0_ = (bitField0_ & ~0x00000001); statisticsType_ = de.pokerth.protocol.ProtoBuf.StatisticsMessage.StatisticsData.StatisticsType.statNumberOfPlayers; return this; } - + // required uint32 statisticsValue = 2; private int statisticsValue_ ; + /** + * required uint32 statisticsValue = 2; + */ public boolean hasStatisticsValue() { return ((bitField0_ & 0x00000002) == 0x00000002); } + /** + * required uint32 statisticsValue = 2; + */ public int getStatisticsValue() { return statisticsValue_; } + /** + * required uint32 statisticsValue = 2; + */ public Builder setStatisticsValue(int value) { bitField0_ |= 0x00000002; statisticsValue_ = value; return this; } + /** + * required uint32 statisticsValue = 2; + */ public Builder clearStatisticsValue() { bitField0_ = (bitField0_ & ~0x00000002); statisticsValue_ = 0; return this; } - + // @@protoc_insertion_point(builder_scope:StatisticsMessage.StatisticsData) } - + static { defaultInstance = new StatisticsData(true); defaultInstance.initFields(); } - + // @@protoc_insertion_point(class_scope:StatisticsMessage.StatisticsData) } - + // repeated .StatisticsMessage.StatisticsData statisticsData = 1; public static final int STATISTICSDATA_FIELD_NUMBER = 1; private java.util.List statisticsData_; + /** + * repeated .StatisticsMessage.StatisticsData statisticsData = 1; + */ public java.util.List getStatisticsDataList() { return statisticsData_; } + /** + * repeated .StatisticsMessage.StatisticsData statisticsData = 1; + */ public java.util.List getStatisticsDataOrBuilderList() { return statisticsData_; } + /** + * repeated .StatisticsMessage.StatisticsData statisticsData = 1; + */ public int getStatisticsDataCount() { return statisticsData_.size(); } + /** + * repeated .StatisticsMessage.StatisticsData statisticsData = 1; + */ public de.pokerth.protocol.ProtoBuf.StatisticsMessage.StatisticsData getStatisticsData(int index) { return statisticsData_.get(index); } + /** + * repeated .StatisticsMessage.StatisticsData statisticsData = 1; + */ public de.pokerth.protocol.ProtoBuf.StatisticsMessage.StatisticsDataOrBuilder getStatisticsDataOrBuilder( int index) { return statisticsData_.get(index); } - + private void initFields() { statisticsData_ = java.util.Collections.emptyList(); } @@ -33418,7 +42122,7 @@ public final class ProtoBuf { public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; - + for (int i = 0; i < getStatisticsDataCount(); i++) { if (!getStatisticsData(i).isInitialized()) { memoizedIsInitialized = 0; @@ -33428,7 +42132,7 @@ public final class ProtoBuf { memoizedIsInitialized = 1; return true; } - + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); @@ -33436,12 +42140,12 @@ public final class ProtoBuf { output.writeMessage(1, statisticsData_.get(i)); } } - + private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; - + size = 0; for (int i = 0; i < statisticsData_.size(); i++) { size += com.google.protobuf.CodedOutputStream @@ -33450,88 +42154,77 @@ public final class ProtoBuf { memoizedSerializedSize = size; return size; } - + private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } - + public static de.pokerth.protocol.ProtoBuf.StatisticsMessage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data).buildParsed(); + return PARSER.parseFrom(data); } public static de.pokerth.protocol.ProtoBuf.StatisticsMessage parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(data, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.StatisticsMessage parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data).buildParsed(); + return PARSER.parseFrom(data); } public static de.pokerth.protocol.ProtoBuf.StatisticsMessage parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(data, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.StatisticsMessage parseFrom(java.io.InputStream input) throws java.io.IOException { - return newBuilder().mergeFrom(input).buildParsed(); + return PARSER.parseFrom(input); } public static de.pokerth.protocol.ProtoBuf.StatisticsMessage parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return newBuilder().mergeFrom(input, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.StatisticsMessage parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - Builder builder = newBuilder(); - if (builder.mergeDelimitedFrom(input)) { - return builder.buildParsed(); - } else { - return null; - } + return PARSER.parseDelimitedFrom(input); } public static de.pokerth.protocol.ProtoBuf.StatisticsMessage parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - Builder builder = newBuilder(); - if (builder.mergeDelimitedFrom(input, extensionRegistry)) { - return builder.buildParsed(); - } else { - return null; - } + return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.StatisticsMessage parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return newBuilder().mergeFrom(input).buildParsed(); + return PARSER.parseFrom(input); } public static de.pokerth.protocol.ProtoBuf.StatisticsMessage parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return newBuilder().mergeFrom(input, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(input, extensionRegistry); } - + public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.StatisticsMessage prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } - + + /** + * Protobuf type {@code StatisticsMessage} + */ public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.StatisticsMessage, Builder> @@ -33540,28 +42233,28 @@ public final class ProtoBuf { private Builder() { maybeForceBuilderInitialization(); } - + private void maybeForceBuilderInitialization() { } private static Builder create() { return new Builder(); } - + public Builder clear() { super.clear(); statisticsData_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); return this; } - + public Builder clone() { return create().mergeFrom(buildPartial()); } - + public de.pokerth.protocol.ProtoBuf.StatisticsMessage getDefaultInstanceForType() { return de.pokerth.protocol.ProtoBuf.StatisticsMessage.getDefaultInstance(); } - + public de.pokerth.protocol.ProtoBuf.StatisticsMessage build() { de.pokerth.protocol.ProtoBuf.StatisticsMessage result = buildPartial(); if (!result.isInitialized()) { @@ -33569,17 +42262,7 @@ public final class ProtoBuf { } return result; } - - private de.pokerth.protocol.ProtoBuf.StatisticsMessage buildParsed() - throws com.google.protobuf.InvalidProtocolBufferException { - de.pokerth.protocol.ProtoBuf.StatisticsMessage result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException( - result).asInvalidProtocolBufferException(); - } - return result; - } - + public de.pokerth.protocol.ProtoBuf.StatisticsMessage buildPartial() { de.pokerth.protocol.ProtoBuf.StatisticsMessage result = new de.pokerth.protocol.ProtoBuf.StatisticsMessage(this); int from_bitField0_ = bitField0_; @@ -33590,7 +42273,7 @@ public final class ProtoBuf { result.statisticsData_ = statisticsData_; return result; } - + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.StatisticsMessage other) { if (other == de.pokerth.protocol.ProtoBuf.StatisticsMessage.getDefaultInstance()) return this; if (!other.statisticsData_.isEmpty()) { @@ -33605,7 +42288,7 @@ public final class ProtoBuf { } return this; } - + public final boolean isInitialized() { for (int i = 0; i < getStatisticsDataCount(); i++) { if (!getStatisticsData(i).isInitialized()) { @@ -33615,36 +42298,26 @@ public final class ProtoBuf { } return true; } - + public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - while (true) { - int tag = input.readTag(); - switch (tag) { - case 0: - - return this; - default: { - if (!parseUnknownField(input, extensionRegistry, tag)) { - - return this; - } - break; - } - case 10: { - de.pokerth.protocol.ProtoBuf.StatisticsMessage.StatisticsData.Builder subBuilder = de.pokerth.protocol.ProtoBuf.StatisticsMessage.StatisticsData.newBuilder(); - input.readMessage(subBuilder, extensionRegistry); - addStatisticsData(subBuilder.buildPartial()); - break; - } + de.pokerth.protocol.ProtoBuf.StatisticsMessage parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (de.pokerth.protocol.ProtoBuf.StatisticsMessage) e.getUnfinishedMessage(); + throw e; + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); } } + return this; } - private int bitField0_; - + // repeated .StatisticsMessage.StatisticsData statisticsData = 1; private java.util.List statisticsData_ = java.util.Collections.emptyList(); @@ -33654,16 +42327,28 @@ public final class ProtoBuf { bitField0_ |= 0x00000001; } } - + + /** + * repeated .StatisticsMessage.StatisticsData statisticsData = 1; + */ public java.util.List getStatisticsDataList() { return java.util.Collections.unmodifiableList(statisticsData_); } + /** + * repeated .StatisticsMessage.StatisticsData statisticsData = 1; + */ public int getStatisticsDataCount() { return statisticsData_.size(); } + /** + * repeated .StatisticsMessage.StatisticsData statisticsData = 1; + */ public de.pokerth.protocol.ProtoBuf.StatisticsMessage.StatisticsData getStatisticsData(int index) { return statisticsData_.get(index); } + /** + * repeated .StatisticsMessage.StatisticsData statisticsData = 1; + */ public Builder setStatisticsData( int index, de.pokerth.protocol.ProtoBuf.StatisticsMessage.StatisticsData value) { if (value == null) { @@ -33671,25 +42356,34 @@ public final class ProtoBuf { } ensureStatisticsDataIsMutable(); statisticsData_.set(index, value); - + return this; } + /** + * repeated .StatisticsMessage.StatisticsData statisticsData = 1; + */ public Builder setStatisticsData( int index, de.pokerth.protocol.ProtoBuf.StatisticsMessage.StatisticsData.Builder builderForValue) { ensureStatisticsDataIsMutable(); statisticsData_.set(index, builderForValue.build()); - + return this; } + /** + * repeated .StatisticsMessage.StatisticsData statisticsData = 1; + */ public Builder addStatisticsData(de.pokerth.protocol.ProtoBuf.StatisticsMessage.StatisticsData value) { if (value == null) { throw new NullPointerException(); } ensureStatisticsDataIsMutable(); statisticsData_.add(value); - + return this; } + /** + * repeated .StatisticsMessage.StatisticsData statisticsData = 1; + */ public Builder addStatisticsData( int index, de.pokerth.protocol.ProtoBuf.StatisticsMessage.StatisticsData value) { if (value == null) { @@ -33697,383 +42391,147 @@ public final class ProtoBuf { } ensureStatisticsDataIsMutable(); statisticsData_.add(index, value); - + return this; } + /** + * repeated .StatisticsMessage.StatisticsData statisticsData = 1; + */ public Builder addStatisticsData( de.pokerth.protocol.ProtoBuf.StatisticsMessage.StatisticsData.Builder builderForValue) { ensureStatisticsDataIsMutable(); statisticsData_.add(builderForValue.build()); - + return this; } + /** + * repeated .StatisticsMessage.StatisticsData statisticsData = 1; + */ public Builder addStatisticsData( int index, de.pokerth.protocol.ProtoBuf.StatisticsMessage.StatisticsData.Builder builderForValue) { ensureStatisticsDataIsMutable(); statisticsData_.add(index, builderForValue.build()); - + return this; } + /** + * repeated .StatisticsMessage.StatisticsData statisticsData = 1; + */ public Builder addAllStatisticsData( java.lang.Iterable values) { ensureStatisticsDataIsMutable(); super.addAll(values, statisticsData_); - + return this; } + /** + * repeated .StatisticsMessage.StatisticsData statisticsData = 1; + */ public Builder clearStatisticsData() { statisticsData_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); - + return this; } + /** + * repeated .StatisticsMessage.StatisticsData statisticsData = 1; + */ public Builder removeStatisticsData(int index) { ensureStatisticsDataIsMutable(); statisticsData_.remove(index); - + return this; } - + // @@protoc_insertion_point(builder_scope:StatisticsMessage) } - + static { defaultInstance = new StatisticsMessage(true); defaultInstance.initFields(); } - + // @@protoc_insertion_point(class_scope:StatisticsMessage) } - + public interface ChatRequestMessageOrBuilder extends com.google.protobuf.MessageLiteOrBuilder { - + // optional uint32 targetGameId = 1; + /** + * optional uint32 targetGameId = 1; + */ boolean hasTargetGameId(); + /** + * optional uint32 targetGameId = 1; + */ int getTargetGameId(); - + // optional uint32 targetPlayerId = 2; + /** + * optional uint32 targetPlayerId = 2; + */ boolean hasTargetPlayerId(); + /** + * optional uint32 targetPlayerId = 2; + */ int getTargetPlayerId(); - + // required string chatText = 3; + /** + * required string chatText = 3; + */ boolean hasChatText(); - String getChatText(); + /** + * required string chatText = 3; + */ + java.lang.String getChatText(); + /** + * required string chatText = 3; + */ + com.google.protobuf.ByteString + getChatTextBytes(); } + /** + * Protobuf type {@code ChatRequestMessage} + */ public static final class ChatRequestMessage extends com.google.protobuf.GeneratedMessageLite implements ChatRequestMessageOrBuilder { // Use ChatRequestMessage.newBuilder() to construct. - private ChatRequestMessage(Builder builder) { + private ChatRequestMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); + } private ChatRequestMessage(boolean noInit) {} - + private static final ChatRequestMessage defaultInstance; public static ChatRequestMessage getDefaultInstance() { return defaultInstance; } - + public ChatRequestMessage getDefaultInstanceForType() { return defaultInstance; } - - private int bitField0_; - // optional uint32 targetGameId = 1; - public static final int TARGETGAMEID_FIELD_NUMBER = 1; - private int targetGameId_; - public boolean hasTargetGameId() { - return ((bitField0_ & 0x00000001) == 0x00000001); - } - public int getTargetGameId() { - return targetGameId_; - } - - // optional uint32 targetPlayerId = 2; - public static final int TARGETPLAYERID_FIELD_NUMBER = 2; - private int targetPlayerId_; - public boolean hasTargetPlayerId() { - return ((bitField0_ & 0x00000002) == 0x00000002); - } - public int getTargetPlayerId() { - return targetPlayerId_; - } - - // required string chatText = 3; - public static final int CHATTEXT_FIELD_NUMBER = 3; - private java.lang.Object chatText_; - public boolean hasChatText() { - return ((bitField0_ & 0x00000004) == 0x00000004); - } - public String getChatText() { - java.lang.Object ref = chatText_; - if (ref instanceof String) { - return (String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - String s = bs.toStringUtf8(); - if (com.google.protobuf.Internal.isValidUtf8(bs)) { - chatText_ = s; - } - return s; - } - } - private com.google.protobuf.ByteString getChatTextBytes() { - java.lang.Object ref = chatText_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((String) ref); - chatText_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - private void initFields() { - targetGameId_ = 0; - targetPlayerId_ = 0; - chatText_ = ""; - } - private byte memoizedIsInitialized = -1; - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; - - if (!hasChatText()) { - memoizedIsInitialized = 0; - return false; - } - memoizedIsInitialized = 1; - return true; - } - - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - getSerializedSize(); - if (((bitField0_ & 0x00000001) == 0x00000001)) { - output.writeUInt32(1, targetGameId_); - } - if (((bitField0_ & 0x00000002) == 0x00000002)) { - output.writeUInt32(2, targetPlayerId_); - } - if (((bitField0_ & 0x00000004) == 0x00000004)) { - output.writeBytes(3, getChatTextBytes()); - } - } - - private int memoizedSerializedSize = -1; - public int getSerializedSize() { - int size = memoizedSerializedSize; - if (size != -1) return size; - - size = 0; - if (((bitField0_ & 0x00000001) == 0x00000001)) { - size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(1, targetGameId_); - } - if (((bitField0_ & 0x00000002) == 0x00000002)) { - size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(2, targetPlayerId_); - } - if (((bitField0_ & 0x00000004) == 0x00000004)) { - size += com.google.protobuf.CodedOutputStream - .computeBytesSize(3, getChatTextBytes()); - } - memoizedSerializedSize = size; - return size; - } - - private static final long serialVersionUID = 0L; - @java.lang.Override - protected java.lang.Object writeReplace() - throws java.io.ObjectStreamException { - return super.writeReplace(); - } - - public static de.pokerth.protocol.ProtoBuf.ChatRequestMessage parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data).buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.ChatRequestMessage parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data, extensionRegistry) - .buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.ChatRequestMessage parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data).buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.ChatRequestMessage parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data, extensionRegistry) - .buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.ChatRequestMessage parseFrom(java.io.InputStream input) - throws java.io.IOException { - return newBuilder().mergeFrom(input).buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.ChatRequestMessage parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return newBuilder().mergeFrom(input, extensionRegistry) - .buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.ChatRequestMessage parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - Builder builder = newBuilder(); - if (builder.mergeDelimitedFrom(input)) { - return builder.buildParsed(); - } else { - return null; - } - } - public static de.pokerth.protocol.ProtoBuf.ChatRequestMessage parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - Builder builder = newBuilder(); - if (builder.mergeDelimitedFrom(input, extensionRegistry)) { - return builder.buildParsed(); - } else { - return null; - } - } - public static de.pokerth.protocol.ProtoBuf.ChatRequestMessage parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return newBuilder().mergeFrom(input).buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.ChatRequestMessage parseFrom( + + private ChatRequestMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return newBuilder().mergeFrom(input, extensionRegistry) - .buildParsed(); - } - - public static Builder newBuilder() { return Builder.create(); } - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.ChatRequestMessage prototype) { - return newBuilder().mergeFrom(prototype); - } - public Builder toBuilder() { return newBuilder(this); } - - public static final class Builder extends - com.google.protobuf.GeneratedMessageLite.Builder< - de.pokerth.protocol.ProtoBuf.ChatRequestMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.ChatRequestMessageOrBuilder { - // Construct using de.pokerth.protocol.ProtoBuf.ChatRequestMessage.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - } - private static Builder create() { - return new Builder(); - } - - public Builder clear() { - super.clear(); - targetGameId_ = 0; - bitField0_ = (bitField0_ & ~0x00000001); - targetPlayerId_ = 0; - bitField0_ = (bitField0_ & ~0x00000002); - chatText_ = ""; - bitField0_ = (bitField0_ & ~0x00000004); - return this; - } - - public Builder clone() { - return create().mergeFrom(buildPartial()); - } - - public de.pokerth.protocol.ProtoBuf.ChatRequestMessage getDefaultInstanceForType() { - return de.pokerth.protocol.ProtoBuf.ChatRequestMessage.getDefaultInstance(); - } - - public de.pokerth.protocol.ProtoBuf.ChatRequestMessage build() { - de.pokerth.protocol.ProtoBuf.ChatRequestMessage result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - private de.pokerth.protocol.ProtoBuf.ChatRequestMessage buildParsed() - throws com.google.protobuf.InvalidProtocolBufferException { - de.pokerth.protocol.ProtoBuf.ChatRequestMessage result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException( - result).asInvalidProtocolBufferException(); - } - return result; - } - - public de.pokerth.protocol.ProtoBuf.ChatRequestMessage buildPartial() { - de.pokerth.protocol.ProtoBuf.ChatRequestMessage result = new de.pokerth.protocol.ProtoBuf.ChatRequestMessage(this); - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) == 0x00000001)) { - to_bitField0_ |= 0x00000001; - } - result.targetGameId_ = targetGameId_; - if (((from_bitField0_ & 0x00000002) == 0x00000002)) { - to_bitField0_ |= 0x00000002; - } - result.targetPlayerId_ = targetPlayerId_; - if (((from_bitField0_ & 0x00000004) == 0x00000004)) { - to_bitField0_ |= 0x00000004; - } - result.chatText_ = chatText_; - result.bitField0_ = to_bitField0_; - return result; - } - - public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.ChatRequestMessage other) { - if (other == de.pokerth.protocol.ProtoBuf.ChatRequestMessage.getDefaultInstance()) return this; - if (other.hasTargetGameId()) { - setTargetGameId(other.getTargetGameId()); - } - if (other.hasTargetPlayerId()) { - setTargetPlayerId(other.getTargetPlayerId()); - } - if (other.hasChatText()) { - setChatText(other.getChatText()); - } - return this; - } - - public final boolean isInitialized() { - if (!hasChatText()) { - - return false; - } - return true; - } - - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - while (true) { + throws com.google.protobuf.InvalidProtocolBufferException { + initFields(); + int mutable_bitField0_ = 0; + try { + boolean done = false; + while (!done) { int tag = input.readTag(); switch (tag) { case 0: - - return this; + done = true; + break; default: { - if (!parseUnknownField(input, extensionRegistry, tag)) { - - return this; + if (!parseUnknownField(input, + extensionRegistry, tag)) { + done = true; } break; } @@ -34094,68 +42552,444 @@ public final class ProtoBuf { } } } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e.getMessage()).setUnfinishedMessage(this); + } finally { + makeExtensionsImmutable(); + } + } + public static com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + public ChatRequestMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ChatRequestMessage(input, extensionRegistry); + } + }; + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + private int bitField0_; + // optional uint32 targetGameId = 1; + public static final int TARGETGAMEID_FIELD_NUMBER = 1; + private int targetGameId_; + /** + * optional uint32 targetGameId = 1; + */ + public boolean hasTargetGameId() { + return ((bitField0_ & 0x00000001) == 0x00000001); + } + /** + * optional uint32 targetGameId = 1; + */ + public int getTargetGameId() { + return targetGameId_; + } + + // optional uint32 targetPlayerId = 2; + public static final int TARGETPLAYERID_FIELD_NUMBER = 2; + private int targetPlayerId_; + /** + * optional uint32 targetPlayerId = 2; + */ + public boolean hasTargetPlayerId() { + return ((bitField0_ & 0x00000002) == 0x00000002); + } + /** + * optional uint32 targetPlayerId = 2; + */ + public int getTargetPlayerId() { + return targetPlayerId_; + } + + // required string chatText = 3; + public static final int CHATTEXT_FIELD_NUMBER = 3; + private java.lang.Object chatText_; + /** + * required string chatText = 3; + */ + public boolean hasChatText() { + return ((bitField0_ & 0x00000004) == 0x00000004); + } + /** + * required string chatText = 3; + */ + public java.lang.String getChatText() { + java.lang.Object ref = chatText_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + chatText_ = s; + } + return s; + } + } + /** + * required string chatText = 3; + */ + public com.google.protobuf.ByteString + getChatTextBytes() { + java.lang.Object ref = chatText_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + chatText_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private void initFields() { + targetGameId_ = 0; + targetPlayerId_ = 0; + chatText_ = ""; + } + private byte memoizedIsInitialized = -1; + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized != -1) return isInitialized == 1; + + if (!hasChatText()) { + memoizedIsInitialized = 0; + return false; + } + memoizedIsInitialized = 1; + return true; + } + + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + getSerializedSize(); + if (((bitField0_ & 0x00000001) == 0x00000001)) { + output.writeUInt32(1, targetGameId_); + } + if (((bitField0_ & 0x00000002) == 0x00000002)) { + output.writeUInt32(2, targetPlayerId_); + } + if (((bitField0_ & 0x00000004) == 0x00000004)) { + output.writeBytes(3, getChatTextBytes()); + } + } + + private int memoizedSerializedSize = -1; + public int getSerializedSize() { + int size = memoizedSerializedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) == 0x00000001)) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(1, targetGameId_); + } + if (((bitField0_ & 0x00000002) == 0x00000002)) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(2, targetPlayerId_); + } + if (((bitField0_ & 0x00000004) == 0x00000004)) { + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(3, getChatTextBytes()); + } + memoizedSerializedSize = size; + return size; + } + + private static final long serialVersionUID = 0L; + @java.lang.Override + protected java.lang.Object writeReplace() + throws java.io.ObjectStreamException { + return super.writeReplace(); + } + + public static de.pokerth.protocol.ProtoBuf.ChatRequestMessage parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static de.pokerth.protocol.ProtoBuf.ChatRequestMessage parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static de.pokerth.protocol.ProtoBuf.ChatRequestMessage parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static de.pokerth.protocol.ProtoBuf.ChatRequestMessage parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static de.pokerth.protocol.ProtoBuf.ChatRequestMessage parseFrom(java.io.InputStream input) + throws java.io.IOException { + return PARSER.parseFrom(input); + } + public static de.pokerth.protocol.ProtoBuf.ChatRequestMessage parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseFrom(input, extensionRegistry); + } + public static de.pokerth.protocol.ProtoBuf.ChatRequestMessage parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return PARSER.parseDelimitedFrom(input); + } + public static de.pokerth.protocol.ProtoBuf.ChatRequestMessage parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseDelimitedFrom(input, extensionRegistry); + } + public static de.pokerth.protocol.ProtoBuf.ChatRequestMessage parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return PARSER.parseFrom(input); + } + public static de.pokerth.protocol.ProtoBuf.ChatRequestMessage parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseFrom(input, extensionRegistry); + } + + public static Builder newBuilder() { return Builder.create(); } + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.ChatRequestMessage prototype) { + return newBuilder().mergeFrom(prototype); + } + public Builder toBuilder() { return newBuilder(this); } + + /** + * Protobuf type {@code ChatRequestMessage} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageLite.Builder< + de.pokerth.protocol.ProtoBuf.ChatRequestMessage, Builder> + implements de.pokerth.protocol.ProtoBuf.ChatRequestMessageOrBuilder { + // Construct using de.pokerth.protocol.ProtoBuf.ChatRequestMessage.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + } + private static Builder create() { + return new Builder(); + } + + public Builder clear() { + super.clear(); + targetGameId_ = 0; + bitField0_ = (bitField0_ & ~0x00000001); + targetPlayerId_ = 0; + bitField0_ = (bitField0_ & ~0x00000002); + chatText_ = ""; + bitField0_ = (bitField0_ & ~0x00000004); + return this; + } + + public Builder clone() { + return create().mergeFrom(buildPartial()); + } + + public de.pokerth.protocol.ProtoBuf.ChatRequestMessage getDefaultInstanceForType() { + return de.pokerth.protocol.ProtoBuf.ChatRequestMessage.getDefaultInstance(); + } + + public de.pokerth.protocol.ProtoBuf.ChatRequestMessage build() { + de.pokerth.protocol.ProtoBuf.ChatRequestMessage result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + public de.pokerth.protocol.ProtoBuf.ChatRequestMessage buildPartial() { + de.pokerth.protocol.ProtoBuf.ChatRequestMessage result = new de.pokerth.protocol.ProtoBuf.ChatRequestMessage(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) == 0x00000001)) { + to_bitField0_ |= 0x00000001; + } + result.targetGameId_ = targetGameId_; + if (((from_bitField0_ & 0x00000002) == 0x00000002)) { + to_bitField0_ |= 0x00000002; + } + result.targetPlayerId_ = targetPlayerId_; + if (((from_bitField0_ & 0x00000004) == 0x00000004)) { + to_bitField0_ |= 0x00000004; + } + result.chatText_ = chatText_; + result.bitField0_ = to_bitField0_; + return result; + } + + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.ChatRequestMessage other) { + if (other == de.pokerth.protocol.ProtoBuf.ChatRequestMessage.getDefaultInstance()) return this; + if (other.hasTargetGameId()) { + setTargetGameId(other.getTargetGameId()); + } + if (other.hasTargetPlayerId()) { + setTargetPlayerId(other.getTargetPlayerId()); + } + if (other.hasChatText()) { + bitField0_ |= 0x00000004; + chatText_ = other.chatText_; + + } + return this; + } + + public final boolean isInitialized() { + if (!hasChatText()) { + + return false; + } + return true; + } + + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + de.pokerth.protocol.ProtoBuf.ChatRequestMessage parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (de.pokerth.protocol.ProtoBuf.ChatRequestMessage) e.getUnfinishedMessage(); + throw e; + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; } - private int bitField0_; - + // optional uint32 targetGameId = 1; private int targetGameId_ ; + /** + * optional uint32 targetGameId = 1; + */ public boolean hasTargetGameId() { return ((bitField0_ & 0x00000001) == 0x00000001); } + /** + * optional uint32 targetGameId = 1; + */ public int getTargetGameId() { return targetGameId_; } + /** + * optional uint32 targetGameId = 1; + */ public Builder setTargetGameId(int value) { bitField0_ |= 0x00000001; targetGameId_ = value; return this; } + /** + * optional uint32 targetGameId = 1; + */ public Builder clearTargetGameId() { bitField0_ = (bitField0_ & ~0x00000001); targetGameId_ = 0; return this; } - + // optional uint32 targetPlayerId = 2; private int targetPlayerId_ ; + /** + * optional uint32 targetPlayerId = 2; + */ public boolean hasTargetPlayerId() { return ((bitField0_ & 0x00000002) == 0x00000002); } + /** + * optional uint32 targetPlayerId = 2; + */ public int getTargetPlayerId() { return targetPlayerId_; } + /** + * optional uint32 targetPlayerId = 2; + */ public Builder setTargetPlayerId(int value) { bitField0_ |= 0x00000002; targetPlayerId_ = value; return this; } + /** + * optional uint32 targetPlayerId = 2; + */ public Builder clearTargetPlayerId() { bitField0_ = (bitField0_ & ~0x00000002); targetPlayerId_ = 0; return this; } - + // required string chatText = 3; private java.lang.Object chatText_ = ""; + /** + * required string chatText = 3; + */ public boolean hasChatText() { return ((bitField0_ & 0x00000004) == 0x00000004); } - public String getChatText() { + /** + * required string chatText = 3; + */ + public java.lang.String getChatText() { java.lang.Object ref = chatText_; - if (!(ref instanceof String)) { - String s = ((com.google.protobuf.ByteString) ref).toStringUtf8(); + if (!(ref instanceof java.lang.String)) { + java.lang.String s = ((com.google.protobuf.ByteString) ref) + .toStringUtf8(); chatText_ = s; return s; } else { - return (String) ref; + return (java.lang.String) ref; } } - public Builder setChatText(String value) { + /** + * required string chatText = 3; + */ + public com.google.protobuf.ByteString + getChatTextBytes() { + java.lang.Object ref = chatText_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + chatText_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * required string chatText = 3; + */ + public Builder setChatText( + java.lang.String value) { if (value == null) { throw new NullPointerException(); } @@ -34164,447 +42998,128 @@ public final class ProtoBuf { return this; } + /** + * required string chatText = 3; + */ public Builder clearChatText() { bitField0_ = (bitField0_ & ~0x00000004); chatText_ = getDefaultInstance().getChatText(); return this; } - void setChatText(com.google.protobuf.ByteString value) { - bitField0_ |= 0x00000004; + /** + * required string chatText = 3; + */ + public Builder setChatTextBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000004; chatText_ = value; + return this; } - + // @@protoc_insertion_point(builder_scope:ChatRequestMessage) } - + static { defaultInstance = new ChatRequestMessage(true); defaultInstance.initFields(); } - + // @@protoc_insertion_point(class_scope:ChatRequestMessage) } - + public interface ChatMessageOrBuilder extends com.google.protobuf.MessageLiteOrBuilder { - + // optional uint32 gameId = 1; + /** + * optional uint32 gameId = 1; + */ boolean hasGameId(); + /** + * optional uint32 gameId = 1; + */ int getGameId(); - + // optional uint32 playerId = 2; + /** + * optional uint32 playerId = 2; + */ boolean hasPlayerId(); + /** + * optional uint32 playerId = 2; + */ int getPlayerId(); - + // required .ChatMessage.ChatType chatType = 3; + /** + * required .ChatMessage.ChatType chatType = 3; + */ boolean hasChatType(); + /** + * required .ChatMessage.ChatType chatType = 3; + */ de.pokerth.protocol.ProtoBuf.ChatMessage.ChatType getChatType(); - + // required string chatText = 4; + /** + * required string chatText = 4; + */ boolean hasChatText(); - String getChatText(); + /** + * required string chatText = 4; + */ + java.lang.String getChatText(); + /** + * required string chatText = 4; + */ + com.google.protobuf.ByteString + getChatTextBytes(); } + /** + * Protobuf type {@code ChatMessage} + */ public static final class ChatMessage extends com.google.protobuf.GeneratedMessageLite implements ChatMessageOrBuilder { // Use ChatMessage.newBuilder() to construct. - private ChatMessage(Builder builder) { + private ChatMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); + } private ChatMessage(boolean noInit) {} - + private static final ChatMessage defaultInstance; public static ChatMessage getDefaultInstance() { return defaultInstance; } - + public ChatMessage getDefaultInstanceForType() { return defaultInstance; } - - public enum ChatType - implements com.google.protobuf.Internal.EnumLite { - chatTypeLobby(0, 0), - chatTypeGame(1, 1), - chatTypeBot(2, 2), - chatTypeBroadcast(3, 3), - chatTypePrivate(4, 4), - ; - - public static final int chatTypeLobby_VALUE = 0; - public static final int chatTypeGame_VALUE = 1; - public static final int chatTypeBot_VALUE = 2; - public static final int chatTypeBroadcast_VALUE = 3; - public static final int chatTypePrivate_VALUE = 4; - - - public final int getNumber() { return value; } - - public static ChatType valueOf(int value) { - switch (value) { - case 0: return chatTypeLobby; - case 1: return chatTypeGame; - case 2: return chatTypeBot; - case 3: return chatTypeBroadcast; - case 4: return chatTypePrivate; - default: return null; - } - } - - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { - return internalValueMap; - } - private static com.google.protobuf.Internal.EnumLiteMap - internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public ChatType findValueByNumber(int number) { - return ChatType.valueOf(number); - } - }; - - private final int value; - - private ChatType(int index, int value) { - this.value = value; - } - - // @@protoc_insertion_point(enum_scope:ChatMessage.ChatType) - } - - private int bitField0_; - // optional uint32 gameId = 1; - public static final int GAMEID_FIELD_NUMBER = 1; - private int gameId_; - public boolean hasGameId() { - return ((bitField0_ & 0x00000001) == 0x00000001); - } - public int getGameId() { - return gameId_; - } - - // optional uint32 playerId = 2; - public static final int PLAYERID_FIELD_NUMBER = 2; - private int playerId_; - public boolean hasPlayerId() { - return ((bitField0_ & 0x00000002) == 0x00000002); - } - public int getPlayerId() { - return playerId_; - } - - // required .ChatMessage.ChatType chatType = 3; - public static final int CHATTYPE_FIELD_NUMBER = 3; - private de.pokerth.protocol.ProtoBuf.ChatMessage.ChatType chatType_; - public boolean hasChatType() { - return ((bitField0_ & 0x00000004) == 0x00000004); - } - public de.pokerth.protocol.ProtoBuf.ChatMessage.ChatType getChatType() { - return chatType_; - } - - // required string chatText = 4; - public static final int CHATTEXT_FIELD_NUMBER = 4; - private java.lang.Object chatText_; - public boolean hasChatText() { - return ((bitField0_ & 0x00000008) == 0x00000008); - } - public String getChatText() { - java.lang.Object ref = chatText_; - if (ref instanceof String) { - return (String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - String s = bs.toStringUtf8(); - if (com.google.protobuf.Internal.isValidUtf8(bs)) { - chatText_ = s; - } - return s; - } - } - private com.google.protobuf.ByteString getChatTextBytes() { - java.lang.Object ref = chatText_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((String) ref); - chatText_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - private void initFields() { - gameId_ = 0; - playerId_ = 0; - chatType_ = de.pokerth.protocol.ProtoBuf.ChatMessage.ChatType.chatTypeLobby; - chatText_ = ""; - } - private byte memoizedIsInitialized = -1; - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; - - if (!hasChatType()) { - memoizedIsInitialized = 0; - return false; - } - if (!hasChatText()) { - memoizedIsInitialized = 0; - return false; - } - memoizedIsInitialized = 1; - return true; - } - - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - getSerializedSize(); - if (((bitField0_ & 0x00000001) == 0x00000001)) { - output.writeUInt32(1, gameId_); - } - if (((bitField0_ & 0x00000002) == 0x00000002)) { - output.writeUInt32(2, playerId_); - } - if (((bitField0_ & 0x00000004) == 0x00000004)) { - output.writeEnum(3, chatType_.getNumber()); - } - if (((bitField0_ & 0x00000008) == 0x00000008)) { - output.writeBytes(4, getChatTextBytes()); - } - } - - private int memoizedSerializedSize = -1; - public int getSerializedSize() { - int size = memoizedSerializedSize; - if (size != -1) return size; - - size = 0; - if (((bitField0_ & 0x00000001) == 0x00000001)) { - size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(1, gameId_); - } - if (((bitField0_ & 0x00000002) == 0x00000002)) { - size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(2, playerId_); - } - if (((bitField0_ & 0x00000004) == 0x00000004)) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(3, chatType_.getNumber()); - } - if (((bitField0_ & 0x00000008) == 0x00000008)) { - size += com.google.protobuf.CodedOutputStream - .computeBytesSize(4, getChatTextBytes()); - } - memoizedSerializedSize = size; - return size; - } - - private static final long serialVersionUID = 0L; - @java.lang.Override - protected java.lang.Object writeReplace() - throws java.io.ObjectStreamException { - return super.writeReplace(); - } - - public static de.pokerth.protocol.ProtoBuf.ChatMessage parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data).buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.ChatMessage parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data, extensionRegistry) - .buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.ChatMessage parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data).buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.ChatMessage parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data, extensionRegistry) - .buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.ChatMessage parseFrom(java.io.InputStream input) - throws java.io.IOException { - return newBuilder().mergeFrom(input).buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.ChatMessage parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return newBuilder().mergeFrom(input, extensionRegistry) - .buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.ChatMessage parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - Builder builder = newBuilder(); - if (builder.mergeDelimitedFrom(input)) { - return builder.buildParsed(); - } else { - return null; - } - } - public static de.pokerth.protocol.ProtoBuf.ChatMessage parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - Builder builder = newBuilder(); - if (builder.mergeDelimitedFrom(input, extensionRegistry)) { - return builder.buildParsed(); - } else { - return null; - } - } - public static de.pokerth.protocol.ProtoBuf.ChatMessage parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return newBuilder().mergeFrom(input).buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.ChatMessage parseFrom( + + private ChatMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return newBuilder().mergeFrom(input, extensionRegistry) - .buildParsed(); - } - - public static Builder newBuilder() { return Builder.create(); } - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.ChatMessage prototype) { - return newBuilder().mergeFrom(prototype); - } - public Builder toBuilder() { return newBuilder(this); } - - public static final class Builder extends - com.google.protobuf.GeneratedMessageLite.Builder< - de.pokerth.protocol.ProtoBuf.ChatMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.ChatMessageOrBuilder { - // Construct using de.pokerth.protocol.ProtoBuf.ChatMessage.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - } - private static Builder create() { - return new Builder(); - } - - public Builder clear() { - super.clear(); - gameId_ = 0; - bitField0_ = (bitField0_ & ~0x00000001); - playerId_ = 0; - bitField0_ = (bitField0_ & ~0x00000002); - chatType_ = de.pokerth.protocol.ProtoBuf.ChatMessage.ChatType.chatTypeLobby; - bitField0_ = (bitField0_ & ~0x00000004); - chatText_ = ""; - bitField0_ = (bitField0_ & ~0x00000008); - return this; - } - - public Builder clone() { - return create().mergeFrom(buildPartial()); - } - - public de.pokerth.protocol.ProtoBuf.ChatMessage getDefaultInstanceForType() { - return de.pokerth.protocol.ProtoBuf.ChatMessage.getDefaultInstance(); - } - - public de.pokerth.protocol.ProtoBuf.ChatMessage build() { - de.pokerth.protocol.ProtoBuf.ChatMessage result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - private de.pokerth.protocol.ProtoBuf.ChatMessage buildParsed() - throws com.google.protobuf.InvalidProtocolBufferException { - de.pokerth.protocol.ProtoBuf.ChatMessage result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException( - result).asInvalidProtocolBufferException(); - } - return result; - } - - public de.pokerth.protocol.ProtoBuf.ChatMessage buildPartial() { - de.pokerth.protocol.ProtoBuf.ChatMessage result = new de.pokerth.protocol.ProtoBuf.ChatMessage(this); - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) == 0x00000001)) { - to_bitField0_ |= 0x00000001; - } - result.gameId_ = gameId_; - if (((from_bitField0_ & 0x00000002) == 0x00000002)) { - to_bitField0_ |= 0x00000002; - } - result.playerId_ = playerId_; - if (((from_bitField0_ & 0x00000004) == 0x00000004)) { - to_bitField0_ |= 0x00000004; - } - result.chatType_ = chatType_; - if (((from_bitField0_ & 0x00000008) == 0x00000008)) { - to_bitField0_ |= 0x00000008; - } - result.chatText_ = chatText_; - result.bitField0_ = to_bitField0_; - return result; - } - - public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.ChatMessage other) { - if (other == de.pokerth.protocol.ProtoBuf.ChatMessage.getDefaultInstance()) return this; - if (other.hasGameId()) { - setGameId(other.getGameId()); - } - if (other.hasPlayerId()) { - setPlayerId(other.getPlayerId()); - } - if (other.hasChatType()) { - setChatType(other.getChatType()); - } - if (other.hasChatText()) { - setChatText(other.getChatText()); - } - return this; - } - - public final boolean isInitialized() { - if (!hasChatType()) { - - return false; - } - if (!hasChatText()) { - - return false; - } - return true; - } - - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - while (true) { + throws com.google.protobuf.InvalidProtocolBufferException { + initFields(); + int mutable_bitField0_ = 0; + try { + boolean done = false; + while (!done) { int tag = input.readTag(); switch (tag) { case 0: - - return this; + done = true; + break; default: { - if (!parseUnknownField(input, extensionRegistry, tag)) { - - return this; + if (!parseUnknownField(input, + extensionRegistry, tag)) { + done = true; } break; } @@ -34634,60 +43149,542 @@ public final class ProtoBuf { } } } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e.getMessage()).setUnfinishedMessage(this); + } finally { + makeExtensionsImmutable(); + } + } + public static com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + public ChatMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ChatMessage(input, extensionRegistry); + } + }; + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + /** + * Protobuf enum {@code ChatMessage.ChatType} + */ + public enum ChatType + implements com.google.protobuf.Internal.EnumLite { + /** + * chatTypeLobby = 0; + */ + chatTypeLobby(0, 0), + /** + * chatTypeGame = 1; + */ + chatTypeGame(1, 1), + /** + * chatTypeBot = 2; + */ + chatTypeBot(2, 2), + /** + * chatTypeBroadcast = 3; + */ + chatTypeBroadcast(3, 3), + /** + * chatTypePrivate = 4; + */ + chatTypePrivate(4, 4), + ; + + /** + * chatTypeLobby = 0; + */ + public static final int chatTypeLobby_VALUE = 0; + /** + * chatTypeGame = 1; + */ + public static final int chatTypeGame_VALUE = 1; + /** + * chatTypeBot = 2; + */ + public static final int chatTypeBot_VALUE = 2; + /** + * chatTypeBroadcast = 3; + */ + public static final int chatTypeBroadcast_VALUE = 3; + /** + * chatTypePrivate = 4; + */ + public static final int chatTypePrivate_VALUE = 4; + + + public final int getNumber() { return value; } + + public static ChatType valueOf(int value) { + switch (value) { + case 0: return chatTypeLobby; + case 1: return chatTypeGame; + case 2: return chatTypeBot; + case 3: return chatTypeBroadcast; + case 4: return chatTypePrivate; + default: return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { + return internalValueMap; + } + private static com.google.protobuf.Internal.EnumLiteMap + internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public ChatType findValueByNumber(int number) { + return ChatType.valueOf(number); + } + }; + + private final int value; + + private ChatType(int index, int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:ChatMessage.ChatType) + } + + private int bitField0_; + // optional uint32 gameId = 1; + public static final int GAMEID_FIELD_NUMBER = 1; + private int gameId_; + /** + * optional uint32 gameId = 1; + */ + public boolean hasGameId() { + return ((bitField0_ & 0x00000001) == 0x00000001); + } + /** + * optional uint32 gameId = 1; + */ + public int getGameId() { + return gameId_; + } + + // optional uint32 playerId = 2; + public static final int PLAYERID_FIELD_NUMBER = 2; + private int playerId_; + /** + * optional uint32 playerId = 2; + */ + public boolean hasPlayerId() { + return ((bitField0_ & 0x00000002) == 0x00000002); + } + /** + * optional uint32 playerId = 2; + */ + public int getPlayerId() { + return playerId_; + } + + // required .ChatMessage.ChatType chatType = 3; + public static final int CHATTYPE_FIELD_NUMBER = 3; + private de.pokerth.protocol.ProtoBuf.ChatMessage.ChatType chatType_; + /** + * required .ChatMessage.ChatType chatType = 3; + */ + public boolean hasChatType() { + return ((bitField0_ & 0x00000004) == 0x00000004); + } + /** + * required .ChatMessage.ChatType chatType = 3; + */ + public de.pokerth.protocol.ProtoBuf.ChatMessage.ChatType getChatType() { + return chatType_; + } + + // required string chatText = 4; + public static final int CHATTEXT_FIELD_NUMBER = 4; + private java.lang.Object chatText_; + /** + * required string chatText = 4; + */ + public boolean hasChatText() { + return ((bitField0_ & 0x00000008) == 0x00000008); + } + /** + * required string chatText = 4; + */ + public java.lang.String getChatText() { + java.lang.Object ref = chatText_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + chatText_ = s; + } + return s; + } + } + /** + * required string chatText = 4; + */ + public com.google.protobuf.ByteString + getChatTextBytes() { + java.lang.Object ref = chatText_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + chatText_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private void initFields() { + gameId_ = 0; + playerId_ = 0; + chatType_ = de.pokerth.protocol.ProtoBuf.ChatMessage.ChatType.chatTypeLobby; + chatText_ = ""; + } + private byte memoizedIsInitialized = -1; + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized != -1) return isInitialized == 1; + + if (!hasChatType()) { + memoizedIsInitialized = 0; + return false; + } + if (!hasChatText()) { + memoizedIsInitialized = 0; + return false; + } + memoizedIsInitialized = 1; + return true; + } + + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + getSerializedSize(); + if (((bitField0_ & 0x00000001) == 0x00000001)) { + output.writeUInt32(1, gameId_); + } + if (((bitField0_ & 0x00000002) == 0x00000002)) { + output.writeUInt32(2, playerId_); + } + if (((bitField0_ & 0x00000004) == 0x00000004)) { + output.writeEnum(3, chatType_.getNumber()); + } + if (((bitField0_ & 0x00000008) == 0x00000008)) { + output.writeBytes(4, getChatTextBytes()); + } + } + + private int memoizedSerializedSize = -1; + public int getSerializedSize() { + int size = memoizedSerializedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) == 0x00000001)) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(1, gameId_); + } + if (((bitField0_ & 0x00000002) == 0x00000002)) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(2, playerId_); + } + if (((bitField0_ & 0x00000004) == 0x00000004)) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(3, chatType_.getNumber()); + } + if (((bitField0_ & 0x00000008) == 0x00000008)) { + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(4, getChatTextBytes()); + } + memoizedSerializedSize = size; + return size; + } + + private static final long serialVersionUID = 0L; + @java.lang.Override + protected java.lang.Object writeReplace() + throws java.io.ObjectStreamException { + return super.writeReplace(); + } + + public static de.pokerth.protocol.ProtoBuf.ChatMessage parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static de.pokerth.protocol.ProtoBuf.ChatMessage parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static de.pokerth.protocol.ProtoBuf.ChatMessage parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static de.pokerth.protocol.ProtoBuf.ChatMessage parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static de.pokerth.protocol.ProtoBuf.ChatMessage parseFrom(java.io.InputStream input) + throws java.io.IOException { + return PARSER.parseFrom(input); + } + public static de.pokerth.protocol.ProtoBuf.ChatMessage parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseFrom(input, extensionRegistry); + } + public static de.pokerth.protocol.ProtoBuf.ChatMessage parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return PARSER.parseDelimitedFrom(input); + } + public static de.pokerth.protocol.ProtoBuf.ChatMessage parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseDelimitedFrom(input, extensionRegistry); + } + public static de.pokerth.protocol.ProtoBuf.ChatMessage parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return PARSER.parseFrom(input); + } + public static de.pokerth.protocol.ProtoBuf.ChatMessage parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseFrom(input, extensionRegistry); + } + + public static Builder newBuilder() { return Builder.create(); } + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.ChatMessage prototype) { + return newBuilder().mergeFrom(prototype); + } + public Builder toBuilder() { return newBuilder(this); } + + /** + * Protobuf type {@code ChatMessage} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageLite.Builder< + de.pokerth.protocol.ProtoBuf.ChatMessage, Builder> + implements de.pokerth.protocol.ProtoBuf.ChatMessageOrBuilder { + // Construct using de.pokerth.protocol.ProtoBuf.ChatMessage.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + } + private static Builder create() { + return new Builder(); + } + + public Builder clear() { + super.clear(); + gameId_ = 0; + bitField0_ = (bitField0_ & ~0x00000001); + playerId_ = 0; + bitField0_ = (bitField0_ & ~0x00000002); + chatType_ = de.pokerth.protocol.ProtoBuf.ChatMessage.ChatType.chatTypeLobby; + bitField0_ = (bitField0_ & ~0x00000004); + chatText_ = ""; + bitField0_ = (bitField0_ & ~0x00000008); + return this; + } + + public Builder clone() { + return create().mergeFrom(buildPartial()); + } + + public de.pokerth.protocol.ProtoBuf.ChatMessage getDefaultInstanceForType() { + return de.pokerth.protocol.ProtoBuf.ChatMessage.getDefaultInstance(); + } + + public de.pokerth.protocol.ProtoBuf.ChatMessage build() { + de.pokerth.protocol.ProtoBuf.ChatMessage result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + public de.pokerth.protocol.ProtoBuf.ChatMessage buildPartial() { + de.pokerth.protocol.ProtoBuf.ChatMessage result = new de.pokerth.protocol.ProtoBuf.ChatMessage(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) == 0x00000001)) { + to_bitField0_ |= 0x00000001; + } + result.gameId_ = gameId_; + if (((from_bitField0_ & 0x00000002) == 0x00000002)) { + to_bitField0_ |= 0x00000002; + } + result.playerId_ = playerId_; + if (((from_bitField0_ & 0x00000004) == 0x00000004)) { + to_bitField0_ |= 0x00000004; + } + result.chatType_ = chatType_; + if (((from_bitField0_ & 0x00000008) == 0x00000008)) { + to_bitField0_ |= 0x00000008; + } + result.chatText_ = chatText_; + result.bitField0_ = to_bitField0_; + return result; + } + + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.ChatMessage other) { + if (other == de.pokerth.protocol.ProtoBuf.ChatMessage.getDefaultInstance()) return this; + if (other.hasGameId()) { + setGameId(other.getGameId()); + } + if (other.hasPlayerId()) { + setPlayerId(other.getPlayerId()); + } + if (other.hasChatType()) { + setChatType(other.getChatType()); + } + if (other.hasChatText()) { + bitField0_ |= 0x00000008; + chatText_ = other.chatText_; + + } + return this; + } + + public final boolean isInitialized() { + if (!hasChatType()) { + + return false; + } + if (!hasChatText()) { + + return false; + } + return true; + } + + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + de.pokerth.protocol.ProtoBuf.ChatMessage parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (de.pokerth.protocol.ProtoBuf.ChatMessage) e.getUnfinishedMessage(); + throw e; + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; } - private int bitField0_; - + // optional uint32 gameId = 1; private int gameId_ ; + /** + * optional uint32 gameId = 1; + */ public boolean hasGameId() { return ((bitField0_ & 0x00000001) == 0x00000001); } + /** + * optional uint32 gameId = 1; + */ public int getGameId() { return gameId_; } + /** + * optional uint32 gameId = 1; + */ public Builder setGameId(int value) { bitField0_ |= 0x00000001; gameId_ = value; return this; } + /** + * optional uint32 gameId = 1; + */ public Builder clearGameId() { bitField0_ = (bitField0_ & ~0x00000001); gameId_ = 0; return this; } - + // optional uint32 playerId = 2; private int playerId_ ; + /** + * optional uint32 playerId = 2; + */ public boolean hasPlayerId() { return ((bitField0_ & 0x00000002) == 0x00000002); } + /** + * optional uint32 playerId = 2; + */ public int getPlayerId() { return playerId_; } + /** + * optional uint32 playerId = 2; + */ public Builder setPlayerId(int value) { bitField0_ |= 0x00000002; playerId_ = value; return this; } + /** + * optional uint32 playerId = 2; + */ public Builder clearPlayerId() { bitField0_ = (bitField0_ & ~0x00000002); playerId_ = 0; return this; } - + // required .ChatMessage.ChatType chatType = 3; private de.pokerth.protocol.ProtoBuf.ChatMessage.ChatType chatType_ = de.pokerth.protocol.ProtoBuf.ChatMessage.ChatType.chatTypeLobby; + /** + * required .ChatMessage.ChatType chatType = 3; + */ public boolean hasChatType() { return ((bitField0_ & 0x00000004) == 0x00000004); } + /** + * required .ChatMessage.ChatType chatType = 3; + */ public de.pokerth.protocol.ProtoBuf.ChatMessage.ChatType getChatType() { return chatType_; } + /** + * required .ChatMessage.ChatType chatType = 3; + */ public Builder setChatType(de.pokerth.protocol.ProtoBuf.ChatMessage.ChatType value) { if (value == null) { throw new NullPointerException(); @@ -34697,29 +43694,59 @@ public final class ProtoBuf { return this; } + /** + * required .ChatMessage.ChatType chatType = 3; + */ public Builder clearChatType() { bitField0_ = (bitField0_ & ~0x00000004); chatType_ = de.pokerth.protocol.ProtoBuf.ChatMessage.ChatType.chatTypeLobby; return this; } - + // required string chatText = 4; private java.lang.Object chatText_ = ""; + /** + * required string chatText = 4; + */ public boolean hasChatText() { return ((bitField0_ & 0x00000008) == 0x00000008); } - public String getChatText() { + /** + * required string chatText = 4; + */ + public java.lang.String getChatText() { java.lang.Object ref = chatText_; - if (!(ref instanceof String)) { - String s = ((com.google.protobuf.ByteString) ref).toStringUtf8(); + if (!(ref instanceof java.lang.String)) { + java.lang.String s = ((com.google.protobuf.ByteString) ref) + .toStringUtf8(); chatText_ = s; return s; } else { - return (String) ref; + return (java.lang.String) ref; } } - public Builder setChatText(String value) { + /** + * required string chatText = 4; + */ + public com.google.protobuf.ByteString + getChatTextBytes() { + java.lang.Object ref = chatText_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + chatText_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * required string chatText = 4; + */ + public Builder setChatText( + java.lang.String value) { if (value == null) { throw new NullPointerException(); } @@ -34728,87 +43755,176 @@ public final class ProtoBuf { return this; } + /** + * required string chatText = 4; + */ public Builder clearChatText() { bitField0_ = (bitField0_ & ~0x00000008); chatText_ = getDefaultInstance().getChatText(); return this; } - void setChatText(com.google.protobuf.ByteString value) { - bitField0_ |= 0x00000008; + /** + * required string chatText = 4; + */ + public Builder setChatTextBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000008; chatText_ = value; + return this; } - + // @@protoc_insertion_point(builder_scope:ChatMessage) } - + static { defaultInstance = new ChatMessage(true); defaultInstance.initFields(); } - + // @@protoc_insertion_point(class_scope:ChatMessage) } - + public interface ChatRejectMessageOrBuilder extends com.google.protobuf.MessageLiteOrBuilder { - + // required string chatText = 1; + /** + * required string chatText = 1; + */ boolean hasChatText(); - String getChatText(); + /** + * required string chatText = 1; + */ + java.lang.String getChatText(); + /** + * required string chatText = 1; + */ + com.google.protobuf.ByteString + getChatTextBytes(); } + /** + * Protobuf type {@code ChatRejectMessage} + */ public static final class ChatRejectMessage extends com.google.protobuf.GeneratedMessageLite implements ChatRejectMessageOrBuilder { // Use ChatRejectMessage.newBuilder() to construct. - private ChatRejectMessage(Builder builder) { + private ChatRejectMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); + } private ChatRejectMessage(boolean noInit) {} - + private static final ChatRejectMessage defaultInstance; public static ChatRejectMessage getDefaultInstance() { return defaultInstance; } - + public ChatRejectMessage getDefaultInstanceForType() { return defaultInstance; } - + + private ChatRejectMessage( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + initFields(); + int mutable_bitField0_ = 0; + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: { + if (!parseUnknownField(input, + extensionRegistry, tag)) { + done = true; + } + break; + } + case 10: { + bitField0_ |= 0x00000001; + chatText_ = input.readBytes(); + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e.getMessage()).setUnfinishedMessage(this); + } finally { + makeExtensionsImmutable(); + } + } + public static com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + public ChatRejectMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ChatRejectMessage(input, extensionRegistry); + } + }; + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + private int bitField0_; // required string chatText = 1; public static final int CHATTEXT_FIELD_NUMBER = 1; private java.lang.Object chatText_; + /** + * required string chatText = 1; + */ public boolean hasChatText() { return ((bitField0_ & 0x00000001) == 0x00000001); } - public String getChatText() { + /** + * required string chatText = 1; + */ + public java.lang.String getChatText() { java.lang.Object ref = chatText_; - if (ref instanceof String) { - return (String) ref; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - String s = bs.toStringUtf8(); - if (com.google.protobuf.Internal.isValidUtf8(bs)) { + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { chatText_ = s; } return s; } } - private com.google.protobuf.ByteString getChatTextBytes() { + /** + * required string chatText = 1; + */ + public com.google.protobuf.ByteString + getChatTextBytes() { java.lang.Object ref = chatText_; - if (ref instanceof String) { + if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((String) ref); + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); chatText_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } - + private void initFields() { chatText_ = ""; } @@ -34816,7 +43932,7 @@ public final class ProtoBuf { public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; - + if (!hasChatText()) { memoizedIsInitialized = 0; return false; @@ -34824,7 +43940,7 @@ public final class ProtoBuf { memoizedIsInitialized = 1; return true; } - + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); @@ -34832,12 +43948,12 @@ public final class ProtoBuf { output.writeBytes(1, getChatTextBytes()); } } - + private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; - + size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream @@ -34846,88 +43962,77 @@ public final class ProtoBuf { memoizedSerializedSize = size; return size; } - + private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } - + public static de.pokerth.protocol.ProtoBuf.ChatRejectMessage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data).buildParsed(); + return PARSER.parseFrom(data); } public static de.pokerth.protocol.ProtoBuf.ChatRejectMessage parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(data, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.ChatRejectMessage parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data).buildParsed(); + return PARSER.parseFrom(data); } public static de.pokerth.protocol.ProtoBuf.ChatRejectMessage parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(data, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.ChatRejectMessage parseFrom(java.io.InputStream input) throws java.io.IOException { - return newBuilder().mergeFrom(input).buildParsed(); + return PARSER.parseFrom(input); } public static de.pokerth.protocol.ProtoBuf.ChatRejectMessage parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return newBuilder().mergeFrom(input, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.ChatRejectMessage parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - Builder builder = newBuilder(); - if (builder.mergeDelimitedFrom(input)) { - return builder.buildParsed(); - } else { - return null; - } + return PARSER.parseDelimitedFrom(input); } public static de.pokerth.protocol.ProtoBuf.ChatRejectMessage parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - Builder builder = newBuilder(); - if (builder.mergeDelimitedFrom(input, extensionRegistry)) { - return builder.buildParsed(); - } else { - return null; - } + return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.ChatRejectMessage parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return newBuilder().mergeFrom(input).buildParsed(); + return PARSER.parseFrom(input); } public static de.pokerth.protocol.ProtoBuf.ChatRejectMessage parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return newBuilder().mergeFrom(input, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(input, extensionRegistry); } - + public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.ChatRejectMessage prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } - + + /** + * Protobuf type {@code ChatRejectMessage} + */ public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.ChatRejectMessage, Builder> @@ -34936,28 +44041,28 @@ public final class ProtoBuf { private Builder() { maybeForceBuilderInitialization(); } - + private void maybeForceBuilderInitialization() { } private static Builder create() { return new Builder(); } - + public Builder clear() { super.clear(); chatText_ = ""; bitField0_ = (bitField0_ & ~0x00000001); return this; } - + public Builder clone() { return create().mergeFrom(buildPartial()); } - + public de.pokerth.protocol.ProtoBuf.ChatRejectMessage getDefaultInstanceForType() { return de.pokerth.protocol.ProtoBuf.ChatRejectMessage.getDefaultInstance(); } - + public de.pokerth.protocol.ProtoBuf.ChatRejectMessage build() { de.pokerth.protocol.ProtoBuf.ChatRejectMessage result = buildPartial(); if (!result.isInitialized()) { @@ -34965,17 +44070,7 @@ public final class ProtoBuf { } return result; } - - private de.pokerth.protocol.ProtoBuf.ChatRejectMessage buildParsed() - throws com.google.protobuf.InvalidProtocolBufferException { - de.pokerth.protocol.ProtoBuf.ChatRejectMessage result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException( - result).asInvalidProtocolBufferException(); - } - return result; - } - + public de.pokerth.protocol.ProtoBuf.ChatRejectMessage buildPartial() { de.pokerth.protocol.ProtoBuf.ChatRejectMessage result = new de.pokerth.protocol.ProtoBuf.ChatRejectMessage(this); int from_bitField0_ = bitField0_; @@ -34987,15 +44082,17 @@ public final class ProtoBuf { result.bitField0_ = to_bitField0_; return result; } - + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.ChatRejectMessage other) { if (other == de.pokerth.protocol.ProtoBuf.ChatRejectMessage.getDefaultInstance()) return this; if (other.hasChatText()) { - setChatText(other.getChatText()); + bitField0_ |= 0x00000001; + chatText_ = other.chatText_; + } return this; } - + public final boolean isInitialized() { if (!hasChatText()) { @@ -35003,51 +44100,69 @@ public final class ProtoBuf { } return true; } - + public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - while (true) { - int tag = input.readTag(); - switch (tag) { - case 0: - - return this; - default: { - if (!parseUnknownField(input, extensionRegistry, tag)) { - - return this; - } - break; - } - case 10: { - bitField0_ |= 0x00000001; - chatText_ = input.readBytes(); - break; - } + de.pokerth.protocol.ProtoBuf.ChatRejectMessage parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (de.pokerth.protocol.ProtoBuf.ChatRejectMessage) e.getUnfinishedMessage(); + throw e; + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); } } + return this; } - private int bitField0_; - + // required string chatText = 1; private java.lang.Object chatText_ = ""; + /** + * required string chatText = 1; + */ public boolean hasChatText() { return ((bitField0_ & 0x00000001) == 0x00000001); } - public String getChatText() { + /** + * required string chatText = 1; + */ + public java.lang.String getChatText() { java.lang.Object ref = chatText_; - if (!(ref instanceof String)) { - String s = ((com.google.protobuf.ByteString) ref).toStringUtf8(); + if (!(ref instanceof java.lang.String)) { + java.lang.String s = ((com.google.protobuf.ByteString) ref) + .toStringUtf8(); chatText_ = s; return s; } else { - return (String) ref; + return (java.lang.String) ref; } } - public Builder setChatText(String value) { + /** + * required string chatText = 1; + */ + public com.google.protobuf.ByteString + getChatTextBytes() { + java.lang.Object ref = chatText_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + chatText_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * required string chatText = 1; + */ + public Builder setChatText( + java.lang.String value) { if (value == null) { throw new NullPointerException(); } @@ -35056,87 +44171,176 @@ public final class ProtoBuf { return this; } + /** + * required string chatText = 1; + */ public Builder clearChatText() { bitField0_ = (bitField0_ & ~0x00000001); chatText_ = getDefaultInstance().getChatText(); return this; } - void setChatText(com.google.protobuf.ByteString value) { - bitField0_ |= 0x00000001; + /** + * required string chatText = 1; + */ + public Builder setChatTextBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000001; chatText_ = value; + return this; } - + // @@protoc_insertion_point(builder_scope:ChatRejectMessage) } - + static { defaultInstance = new ChatRejectMessage(true); defaultInstance.initFields(); } - + // @@protoc_insertion_point(class_scope:ChatRejectMessage) } - + public interface DialogMessageOrBuilder extends com.google.protobuf.MessageLiteOrBuilder { - + // required string notificationText = 1; + /** + * required string notificationText = 1; + */ boolean hasNotificationText(); - String getNotificationText(); + /** + * required string notificationText = 1; + */ + java.lang.String getNotificationText(); + /** + * required string notificationText = 1; + */ + com.google.protobuf.ByteString + getNotificationTextBytes(); } + /** + * Protobuf type {@code DialogMessage} + */ public static final class DialogMessage extends com.google.protobuf.GeneratedMessageLite implements DialogMessageOrBuilder { // Use DialogMessage.newBuilder() to construct. - private DialogMessage(Builder builder) { + private DialogMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); + } private DialogMessage(boolean noInit) {} - + private static final DialogMessage defaultInstance; public static DialogMessage getDefaultInstance() { return defaultInstance; } - + public DialogMessage getDefaultInstanceForType() { return defaultInstance; } - + + private DialogMessage( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + initFields(); + int mutable_bitField0_ = 0; + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: { + if (!parseUnknownField(input, + extensionRegistry, tag)) { + done = true; + } + break; + } + case 10: { + bitField0_ |= 0x00000001; + notificationText_ = input.readBytes(); + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e.getMessage()).setUnfinishedMessage(this); + } finally { + makeExtensionsImmutable(); + } + } + public static com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + public DialogMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DialogMessage(input, extensionRegistry); + } + }; + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + private int bitField0_; // required string notificationText = 1; public static final int NOTIFICATIONTEXT_FIELD_NUMBER = 1; private java.lang.Object notificationText_; + /** + * required string notificationText = 1; + */ public boolean hasNotificationText() { return ((bitField0_ & 0x00000001) == 0x00000001); } - public String getNotificationText() { + /** + * required string notificationText = 1; + */ + public java.lang.String getNotificationText() { java.lang.Object ref = notificationText_; - if (ref instanceof String) { - return (String) ref; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - String s = bs.toStringUtf8(); - if (com.google.protobuf.Internal.isValidUtf8(bs)) { + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { notificationText_ = s; } return s; } } - private com.google.protobuf.ByteString getNotificationTextBytes() { + /** + * required string notificationText = 1; + */ + public com.google.protobuf.ByteString + getNotificationTextBytes() { java.lang.Object ref = notificationText_; - if (ref instanceof String) { + if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((String) ref); + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); notificationText_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } - + private void initFields() { notificationText_ = ""; } @@ -35144,7 +44348,7 @@ public final class ProtoBuf { public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; - + if (!hasNotificationText()) { memoizedIsInitialized = 0; return false; @@ -35152,7 +44356,7 @@ public final class ProtoBuf { memoizedIsInitialized = 1; return true; } - + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); @@ -35160,12 +44364,12 @@ public final class ProtoBuf { output.writeBytes(1, getNotificationTextBytes()); } } - + private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; - + size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream @@ -35174,88 +44378,77 @@ public final class ProtoBuf { memoizedSerializedSize = size; return size; } - + private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } - + public static de.pokerth.protocol.ProtoBuf.DialogMessage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data).buildParsed(); + return PARSER.parseFrom(data); } public static de.pokerth.protocol.ProtoBuf.DialogMessage parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(data, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.DialogMessage parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data).buildParsed(); + return PARSER.parseFrom(data); } public static de.pokerth.protocol.ProtoBuf.DialogMessage parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(data, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.DialogMessage parseFrom(java.io.InputStream input) throws java.io.IOException { - return newBuilder().mergeFrom(input).buildParsed(); + return PARSER.parseFrom(input); } public static de.pokerth.protocol.ProtoBuf.DialogMessage parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return newBuilder().mergeFrom(input, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.DialogMessage parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - Builder builder = newBuilder(); - if (builder.mergeDelimitedFrom(input)) { - return builder.buildParsed(); - } else { - return null; - } + return PARSER.parseDelimitedFrom(input); } public static de.pokerth.protocol.ProtoBuf.DialogMessage parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - Builder builder = newBuilder(); - if (builder.mergeDelimitedFrom(input, extensionRegistry)) { - return builder.buildParsed(); - } else { - return null; - } + return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.DialogMessage parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return newBuilder().mergeFrom(input).buildParsed(); + return PARSER.parseFrom(input); } public static de.pokerth.protocol.ProtoBuf.DialogMessage parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return newBuilder().mergeFrom(input, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(input, extensionRegistry); } - + public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.DialogMessage prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } - + + /** + * Protobuf type {@code DialogMessage} + */ public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.DialogMessage, Builder> @@ -35264,28 +44457,28 @@ public final class ProtoBuf { private Builder() { maybeForceBuilderInitialization(); } - + private void maybeForceBuilderInitialization() { } private static Builder create() { return new Builder(); } - + public Builder clear() { super.clear(); notificationText_ = ""; bitField0_ = (bitField0_ & ~0x00000001); return this; } - + public Builder clone() { return create().mergeFrom(buildPartial()); } - + public de.pokerth.protocol.ProtoBuf.DialogMessage getDefaultInstanceForType() { return de.pokerth.protocol.ProtoBuf.DialogMessage.getDefaultInstance(); } - + public de.pokerth.protocol.ProtoBuf.DialogMessage build() { de.pokerth.protocol.ProtoBuf.DialogMessage result = buildPartial(); if (!result.isInitialized()) { @@ -35293,17 +44486,7 @@ public final class ProtoBuf { } return result; } - - private de.pokerth.protocol.ProtoBuf.DialogMessage buildParsed() - throws com.google.protobuf.InvalidProtocolBufferException { - de.pokerth.protocol.ProtoBuf.DialogMessage result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException( - result).asInvalidProtocolBufferException(); - } - return result; - } - + public de.pokerth.protocol.ProtoBuf.DialogMessage buildPartial() { de.pokerth.protocol.ProtoBuf.DialogMessage result = new de.pokerth.protocol.ProtoBuf.DialogMessage(this); int from_bitField0_ = bitField0_; @@ -35315,15 +44498,17 @@ public final class ProtoBuf { result.bitField0_ = to_bitField0_; return result; } - + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.DialogMessage other) { if (other == de.pokerth.protocol.ProtoBuf.DialogMessage.getDefaultInstance()) return this; if (other.hasNotificationText()) { - setNotificationText(other.getNotificationText()); + bitField0_ |= 0x00000001; + notificationText_ = other.notificationText_; + } return this; } - + public final boolean isInitialized() { if (!hasNotificationText()) { @@ -35331,51 +44516,69 @@ public final class ProtoBuf { } return true; } - + public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - while (true) { - int tag = input.readTag(); - switch (tag) { - case 0: - - return this; - default: { - if (!parseUnknownField(input, extensionRegistry, tag)) { - - return this; - } - break; - } - case 10: { - bitField0_ |= 0x00000001; - notificationText_ = input.readBytes(); - break; - } + de.pokerth.protocol.ProtoBuf.DialogMessage parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (de.pokerth.protocol.ProtoBuf.DialogMessage) e.getUnfinishedMessage(); + throw e; + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); } } + return this; } - private int bitField0_; - + // required string notificationText = 1; private java.lang.Object notificationText_ = ""; + /** + * required string notificationText = 1; + */ public boolean hasNotificationText() { return ((bitField0_ & 0x00000001) == 0x00000001); } - public String getNotificationText() { + /** + * required string notificationText = 1; + */ + public java.lang.String getNotificationText() { java.lang.Object ref = notificationText_; - if (!(ref instanceof String)) { - String s = ((com.google.protobuf.ByteString) ref).toStringUtf8(); + if (!(ref instanceof java.lang.String)) { + java.lang.String s = ((com.google.protobuf.ByteString) ref) + .toStringUtf8(); notificationText_ = s; return s; } else { - return (String) ref; + return (java.lang.String) ref; } } - public Builder setNotificationText(String value) { + /** + * required string notificationText = 1; + */ + public com.google.protobuf.ByteString + getNotificationTextBytes() { + java.lang.Object ref = notificationText_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + notificationText_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * required string notificationText = 1; + */ + public Builder setNotificationText( + java.lang.String value) { if (value == null) { throw new NullPointerException(); } @@ -35384,357 +44587,103 @@ public final class ProtoBuf { return this; } + /** + * required string notificationText = 1; + */ public Builder clearNotificationText() { bitField0_ = (bitField0_ & ~0x00000001); notificationText_ = getDefaultInstance().getNotificationText(); return this; } - void setNotificationText(com.google.protobuf.ByteString value) { - bitField0_ |= 0x00000001; + /** + * required string notificationText = 1; + */ + public Builder setNotificationTextBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000001; notificationText_ = value; + return this; } - + // @@protoc_insertion_point(builder_scope:DialogMessage) } - + static { defaultInstance = new DialogMessage(true); defaultInstance.initFields(); } - + // @@protoc_insertion_point(class_scope:DialogMessage) } - + public interface TimeoutWarningMessageOrBuilder extends com.google.protobuf.MessageLiteOrBuilder { - + // required .TimeoutWarningMessage.TimeoutReason timeoutReason = 1; + /** + * required .TimeoutWarningMessage.TimeoutReason timeoutReason = 1; + */ boolean hasTimeoutReason(); + /** + * required .TimeoutWarningMessage.TimeoutReason timeoutReason = 1; + */ de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage.TimeoutReason getTimeoutReason(); - + // required uint32 remainingSeconds = 2; + /** + * required uint32 remainingSeconds = 2; + */ boolean hasRemainingSeconds(); + /** + * required uint32 remainingSeconds = 2; + */ int getRemainingSeconds(); } + /** + * Protobuf type {@code TimeoutWarningMessage} + */ public static final class TimeoutWarningMessage extends com.google.protobuf.GeneratedMessageLite implements TimeoutWarningMessageOrBuilder { // Use TimeoutWarningMessage.newBuilder() to construct. - private TimeoutWarningMessage(Builder builder) { + private TimeoutWarningMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); + } private TimeoutWarningMessage(boolean noInit) {} - + private static final TimeoutWarningMessage defaultInstance; public static TimeoutWarningMessage getDefaultInstance() { return defaultInstance; } - + public TimeoutWarningMessage getDefaultInstanceForType() { return defaultInstance; } - - public enum TimeoutReason - implements com.google.protobuf.Internal.EnumLite { - timeoutNoDataReceived(0, 0), - timeoutInactiveGame(1, 1), - timeoutKickAfterAutofold(2, 2), - ; - - public static final int timeoutNoDataReceived_VALUE = 0; - public static final int timeoutInactiveGame_VALUE = 1; - public static final int timeoutKickAfterAutofold_VALUE = 2; - - - public final int getNumber() { return value; } - - public static TimeoutReason valueOf(int value) { - switch (value) { - case 0: return timeoutNoDataReceived; - case 1: return timeoutInactiveGame; - case 2: return timeoutKickAfterAutofold; - default: return null; - } - } - - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { - return internalValueMap; - } - private static com.google.protobuf.Internal.EnumLiteMap - internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public TimeoutReason findValueByNumber(int number) { - return TimeoutReason.valueOf(number); - } - }; - - private final int value; - - private TimeoutReason(int index, int value) { - this.value = value; - } - - // @@protoc_insertion_point(enum_scope:TimeoutWarningMessage.TimeoutReason) - } - - private int bitField0_; - // required .TimeoutWarningMessage.TimeoutReason timeoutReason = 1; - public static final int TIMEOUTREASON_FIELD_NUMBER = 1; - private de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage.TimeoutReason timeoutReason_; - public boolean hasTimeoutReason() { - return ((bitField0_ & 0x00000001) == 0x00000001); - } - public de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage.TimeoutReason getTimeoutReason() { - return timeoutReason_; - } - - // required uint32 remainingSeconds = 2; - public static final int REMAININGSECONDS_FIELD_NUMBER = 2; - private int remainingSeconds_; - public boolean hasRemainingSeconds() { - return ((bitField0_ & 0x00000002) == 0x00000002); - } - public int getRemainingSeconds() { - return remainingSeconds_; - } - - private void initFields() { - timeoutReason_ = de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage.TimeoutReason.timeoutNoDataReceived; - remainingSeconds_ = 0; - } - private byte memoizedIsInitialized = -1; - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; - - if (!hasTimeoutReason()) { - memoizedIsInitialized = 0; - return false; - } - if (!hasRemainingSeconds()) { - memoizedIsInitialized = 0; - return false; - } - memoizedIsInitialized = 1; - return true; - } - - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - getSerializedSize(); - if (((bitField0_ & 0x00000001) == 0x00000001)) { - output.writeEnum(1, timeoutReason_.getNumber()); - } - if (((bitField0_ & 0x00000002) == 0x00000002)) { - output.writeUInt32(2, remainingSeconds_); - } - } - - private int memoizedSerializedSize = -1; - public int getSerializedSize() { - int size = memoizedSerializedSize; - if (size != -1) return size; - - size = 0; - if (((bitField0_ & 0x00000001) == 0x00000001)) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, timeoutReason_.getNumber()); - } - if (((bitField0_ & 0x00000002) == 0x00000002)) { - size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(2, remainingSeconds_); - } - memoizedSerializedSize = size; - return size; - } - - private static final long serialVersionUID = 0L; - @java.lang.Override - protected java.lang.Object writeReplace() - throws java.io.ObjectStreamException { - return super.writeReplace(); - } - - public static de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data).buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data, extensionRegistry) - .buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data).buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data, extensionRegistry) - .buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage parseFrom(java.io.InputStream input) - throws java.io.IOException { - return newBuilder().mergeFrom(input).buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return newBuilder().mergeFrom(input, extensionRegistry) - .buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - Builder builder = newBuilder(); - if (builder.mergeDelimitedFrom(input)) { - return builder.buildParsed(); - } else { - return null; - } - } - public static de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - Builder builder = newBuilder(); - if (builder.mergeDelimitedFrom(input, extensionRegistry)) { - return builder.buildParsed(); - } else { - return null; - } - } - public static de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return newBuilder().mergeFrom(input).buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage parseFrom( + + private TimeoutWarningMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return newBuilder().mergeFrom(input, extensionRegistry) - .buildParsed(); - } - - public static Builder newBuilder() { return Builder.create(); } - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage prototype) { - return newBuilder().mergeFrom(prototype); - } - public Builder toBuilder() { return newBuilder(this); } - - public static final class Builder extends - com.google.protobuf.GeneratedMessageLite.Builder< - de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.TimeoutWarningMessageOrBuilder { - // Construct using de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - } - private static Builder create() { - return new Builder(); - } - - public Builder clear() { - super.clear(); - timeoutReason_ = de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage.TimeoutReason.timeoutNoDataReceived; - bitField0_ = (bitField0_ & ~0x00000001); - remainingSeconds_ = 0; - bitField0_ = (bitField0_ & ~0x00000002); - return this; - } - - public Builder clone() { - return create().mergeFrom(buildPartial()); - } - - public de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage getDefaultInstanceForType() { - return de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage.getDefaultInstance(); - } - - public de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage build() { - de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - private de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage buildParsed() - throws com.google.protobuf.InvalidProtocolBufferException { - de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException( - result).asInvalidProtocolBufferException(); - } - return result; - } - - public de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage buildPartial() { - de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage result = new de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage(this); - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) == 0x00000001)) { - to_bitField0_ |= 0x00000001; - } - result.timeoutReason_ = timeoutReason_; - if (((from_bitField0_ & 0x00000002) == 0x00000002)) { - to_bitField0_ |= 0x00000002; - } - result.remainingSeconds_ = remainingSeconds_; - result.bitField0_ = to_bitField0_; - return result; - } - - public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage other) { - if (other == de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage.getDefaultInstance()) return this; - if (other.hasTimeoutReason()) { - setTimeoutReason(other.getTimeoutReason()); - } - if (other.hasRemainingSeconds()) { - setRemainingSeconds(other.getRemainingSeconds()); - } - return this; - } - - public final boolean isInitialized() { - if (!hasTimeoutReason()) { - - return false; - } - if (!hasRemainingSeconds()) { - - return false; - } - return true; - } - - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - while (true) { + throws com.google.protobuf.InvalidProtocolBufferException { + initFields(); + int mutable_bitField0_ = 0; + try { + boolean done = false; + while (!done) { int tag = input.readTag(); switch (tag) { case 0: - - return this; + done = true; + break; default: { - if (!parseUnknownField(input, extensionRegistry, tag)) { - - return this; + if (!parseUnknownField(input, + extensionRegistry, tag)) { + done = true; } break; } @@ -35754,18 +44703,363 @@ public final class ProtoBuf { } } } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e.getMessage()).setUnfinishedMessage(this); + } finally { + makeExtensionsImmutable(); + } + } + public static com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + public TimeoutWarningMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new TimeoutWarningMessage(input, extensionRegistry); + } + }; + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + /** + * Protobuf enum {@code TimeoutWarningMessage.TimeoutReason} + */ + public enum TimeoutReason + implements com.google.protobuf.Internal.EnumLite { + /** + * timeoutNoDataReceived = 0; + */ + timeoutNoDataReceived(0, 0), + /** + * timeoutInactiveGame = 1; + */ + timeoutInactiveGame(1, 1), + /** + * timeoutKickAfterAutofold = 2; + */ + timeoutKickAfterAutofold(2, 2), + ; + + /** + * timeoutNoDataReceived = 0; + */ + public static final int timeoutNoDataReceived_VALUE = 0; + /** + * timeoutInactiveGame = 1; + */ + public static final int timeoutInactiveGame_VALUE = 1; + /** + * timeoutKickAfterAutofold = 2; + */ + public static final int timeoutKickAfterAutofold_VALUE = 2; + + + public final int getNumber() { return value; } + + public static TimeoutReason valueOf(int value) { + switch (value) { + case 0: return timeoutNoDataReceived; + case 1: return timeoutInactiveGame; + case 2: return timeoutKickAfterAutofold; + default: return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { + return internalValueMap; + } + private static com.google.protobuf.Internal.EnumLiteMap + internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public TimeoutReason findValueByNumber(int number) { + return TimeoutReason.valueOf(number); + } + }; + + private final int value; + + private TimeoutReason(int index, int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:TimeoutWarningMessage.TimeoutReason) + } + + private int bitField0_; + // required .TimeoutWarningMessage.TimeoutReason timeoutReason = 1; + public static final int TIMEOUTREASON_FIELD_NUMBER = 1; + private de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage.TimeoutReason timeoutReason_; + /** + * required .TimeoutWarningMessage.TimeoutReason timeoutReason = 1; + */ + public boolean hasTimeoutReason() { + return ((bitField0_ & 0x00000001) == 0x00000001); + } + /** + * required .TimeoutWarningMessage.TimeoutReason timeoutReason = 1; + */ + public de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage.TimeoutReason getTimeoutReason() { + return timeoutReason_; + } + + // required uint32 remainingSeconds = 2; + public static final int REMAININGSECONDS_FIELD_NUMBER = 2; + private int remainingSeconds_; + /** + * required uint32 remainingSeconds = 2; + */ + public boolean hasRemainingSeconds() { + return ((bitField0_ & 0x00000002) == 0x00000002); + } + /** + * required uint32 remainingSeconds = 2; + */ + public int getRemainingSeconds() { + return remainingSeconds_; + } + + private void initFields() { + timeoutReason_ = de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage.TimeoutReason.timeoutNoDataReceived; + remainingSeconds_ = 0; + } + private byte memoizedIsInitialized = -1; + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized != -1) return isInitialized == 1; + + if (!hasTimeoutReason()) { + memoizedIsInitialized = 0; + return false; + } + if (!hasRemainingSeconds()) { + memoizedIsInitialized = 0; + return false; + } + memoizedIsInitialized = 1; + return true; + } + + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + getSerializedSize(); + if (((bitField0_ & 0x00000001) == 0x00000001)) { + output.writeEnum(1, timeoutReason_.getNumber()); + } + if (((bitField0_ & 0x00000002) == 0x00000002)) { + output.writeUInt32(2, remainingSeconds_); + } + } + + private int memoizedSerializedSize = -1; + public int getSerializedSize() { + int size = memoizedSerializedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) == 0x00000001)) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, timeoutReason_.getNumber()); + } + if (((bitField0_ & 0x00000002) == 0x00000002)) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(2, remainingSeconds_); + } + memoizedSerializedSize = size; + return size; + } + + private static final long serialVersionUID = 0L; + @java.lang.Override + protected java.lang.Object writeReplace() + throws java.io.ObjectStreamException { + return super.writeReplace(); + } + + public static de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage parseFrom(java.io.InputStream input) + throws java.io.IOException { + return PARSER.parseFrom(input); + } + public static de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseFrom(input, extensionRegistry); + } + public static de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return PARSER.parseDelimitedFrom(input); + } + public static de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseDelimitedFrom(input, extensionRegistry); + } + public static de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return PARSER.parseFrom(input); + } + public static de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseFrom(input, extensionRegistry); + } + + public static Builder newBuilder() { return Builder.create(); } + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage prototype) { + return newBuilder().mergeFrom(prototype); + } + public Builder toBuilder() { return newBuilder(this); } + + /** + * Protobuf type {@code TimeoutWarningMessage} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageLite.Builder< + de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage, Builder> + implements de.pokerth.protocol.ProtoBuf.TimeoutWarningMessageOrBuilder { + // Construct using de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + } + private static Builder create() { + return new Builder(); + } + + public Builder clear() { + super.clear(); + timeoutReason_ = de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage.TimeoutReason.timeoutNoDataReceived; + bitField0_ = (bitField0_ & ~0x00000001); + remainingSeconds_ = 0; + bitField0_ = (bitField0_ & ~0x00000002); + return this; + } + + public Builder clone() { + return create().mergeFrom(buildPartial()); + } + + public de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage getDefaultInstanceForType() { + return de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage.getDefaultInstance(); + } + + public de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage build() { + de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + public de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage buildPartial() { + de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage result = new de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) == 0x00000001)) { + to_bitField0_ |= 0x00000001; + } + result.timeoutReason_ = timeoutReason_; + if (((from_bitField0_ & 0x00000002) == 0x00000002)) { + to_bitField0_ |= 0x00000002; + } + result.remainingSeconds_ = remainingSeconds_; + result.bitField0_ = to_bitField0_; + return result; + } + + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage other) { + if (other == de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage.getDefaultInstance()) return this; + if (other.hasTimeoutReason()) { + setTimeoutReason(other.getTimeoutReason()); + } + if (other.hasRemainingSeconds()) { + setRemainingSeconds(other.getRemainingSeconds()); + } + return this; + } + + public final boolean isInitialized() { + if (!hasTimeoutReason()) { + + return false; + } + if (!hasRemainingSeconds()) { + + return false; + } + return true; + } + + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage) e.getUnfinishedMessage(); + throw e; + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; } - private int bitField0_; - + // required .TimeoutWarningMessage.TimeoutReason timeoutReason = 1; private de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage.TimeoutReason timeoutReason_ = de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage.TimeoutReason.timeoutNoDataReceived; + /** + * required .TimeoutWarningMessage.TimeoutReason timeoutReason = 1; + */ public boolean hasTimeoutReason() { return ((bitField0_ & 0x00000001) == 0x00000001); } + /** + * required .TimeoutWarningMessage.TimeoutReason timeoutReason = 1; + */ public de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage.TimeoutReason getTimeoutReason() { return timeoutReason_; } + /** + * required .TimeoutWarningMessage.TimeoutReason timeoutReason = 1; + */ public Builder setTimeoutReason(de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage.TimeoutReason value) { if (value == null) { throw new NullPointerException(); @@ -35775,173 +45069,227 @@ public final class ProtoBuf { return this; } + /** + * required .TimeoutWarningMessage.TimeoutReason timeoutReason = 1; + */ public Builder clearTimeoutReason() { bitField0_ = (bitField0_ & ~0x00000001); timeoutReason_ = de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage.TimeoutReason.timeoutNoDataReceived; return this; } - + // required uint32 remainingSeconds = 2; private int remainingSeconds_ ; + /** + * required uint32 remainingSeconds = 2; + */ public boolean hasRemainingSeconds() { return ((bitField0_ & 0x00000002) == 0x00000002); } + /** + * required uint32 remainingSeconds = 2; + */ public int getRemainingSeconds() { return remainingSeconds_; } + /** + * required uint32 remainingSeconds = 2; + */ public Builder setRemainingSeconds(int value) { bitField0_ |= 0x00000002; remainingSeconds_ = value; return this; } + /** + * required uint32 remainingSeconds = 2; + */ public Builder clearRemainingSeconds() { bitField0_ = (bitField0_ & ~0x00000002); remainingSeconds_ = 0; return this; } - + // @@protoc_insertion_point(builder_scope:TimeoutWarningMessage) } - + static { defaultInstance = new TimeoutWarningMessage(true); defaultInstance.initFields(); } - + // @@protoc_insertion_point(class_scope:TimeoutWarningMessage) } - + public interface ResetTimeoutMessageOrBuilder extends com.google.protobuf.MessageLiteOrBuilder { } + /** + * Protobuf type {@code ResetTimeoutMessage} + */ public static final class ResetTimeoutMessage extends com.google.protobuf.GeneratedMessageLite implements ResetTimeoutMessageOrBuilder { // Use ResetTimeoutMessage.newBuilder() to construct. - private ResetTimeoutMessage(Builder builder) { + private ResetTimeoutMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); + } private ResetTimeoutMessage(boolean noInit) {} - + private static final ResetTimeoutMessage defaultInstance; public static ResetTimeoutMessage getDefaultInstance() { return defaultInstance; } - + public ResetTimeoutMessage getDefaultInstanceForType() { return defaultInstance; } - + + private ResetTimeoutMessage( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + initFields(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: { + if (!parseUnknownField(input, + extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e.getMessage()).setUnfinishedMessage(this); + } finally { + makeExtensionsImmutable(); + } + } + public static com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + public ResetTimeoutMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ResetTimeoutMessage(input, extensionRegistry); + } + }; + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + private void initFields() { } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; - + memoizedIsInitialized = 1; return true; } - + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); } - + private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; - + size = 0; memoizedSerializedSize = size; return size; } - + private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } - + public static de.pokerth.protocol.ProtoBuf.ResetTimeoutMessage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data).buildParsed(); + return PARSER.parseFrom(data); } public static de.pokerth.protocol.ProtoBuf.ResetTimeoutMessage parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(data, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.ResetTimeoutMessage parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data).buildParsed(); + return PARSER.parseFrom(data); } public static de.pokerth.protocol.ProtoBuf.ResetTimeoutMessage parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(data, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.ResetTimeoutMessage parseFrom(java.io.InputStream input) throws java.io.IOException { - return newBuilder().mergeFrom(input).buildParsed(); + return PARSER.parseFrom(input); } public static de.pokerth.protocol.ProtoBuf.ResetTimeoutMessage parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return newBuilder().mergeFrom(input, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.ResetTimeoutMessage parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - Builder builder = newBuilder(); - if (builder.mergeDelimitedFrom(input)) { - return builder.buildParsed(); - } else { - return null; - } + return PARSER.parseDelimitedFrom(input); } public static de.pokerth.protocol.ProtoBuf.ResetTimeoutMessage parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - Builder builder = newBuilder(); - if (builder.mergeDelimitedFrom(input, extensionRegistry)) { - return builder.buildParsed(); - } else { - return null; - } + return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.ResetTimeoutMessage parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return newBuilder().mergeFrom(input).buildParsed(); + return PARSER.parseFrom(input); } public static de.pokerth.protocol.ProtoBuf.ResetTimeoutMessage parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return newBuilder().mergeFrom(input, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(input, extensionRegistry); } - + public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.ResetTimeoutMessage prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } - + + /** + * Protobuf type {@code ResetTimeoutMessage} + */ public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.ResetTimeoutMessage, Builder> @@ -35950,26 +45298,26 @@ public final class ProtoBuf { private Builder() { maybeForceBuilderInitialization(); } - + private void maybeForceBuilderInitialization() { } private static Builder create() { return new Builder(); } - + public Builder clear() { super.clear(); return this; } - + public Builder clone() { return create().mergeFrom(buildPartial()); } - + public de.pokerth.protocol.ProtoBuf.ResetTimeoutMessage getDefaultInstanceForType() { return de.pokerth.protocol.ProtoBuf.ResetTimeoutMessage.getDefaultInstance(); } - + public de.pokerth.protocol.ProtoBuf.ResetTimeoutMessage build() { de.pokerth.protocol.ProtoBuf.ResetTimeoutMessage result = buildPartial(); if (!result.isInitialized()) { @@ -35977,348 +45325,113 @@ public final class ProtoBuf { } return result; } - - private de.pokerth.protocol.ProtoBuf.ResetTimeoutMessage buildParsed() - throws com.google.protobuf.InvalidProtocolBufferException { - de.pokerth.protocol.ProtoBuf.ResetTimeoutMessage result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException( - result).asInvalidProtocolBufferException(); - } - return result; - } - + public de.pokerth.protocol.ProtoBuf.ResetTimeoutMessage buildPartial() { de.pokerth.protocol.ProtoBuf.ResetTimeoutMessage result = new de.pokerth.protocol.ProtoBuf.ResetTimeoutMessage(this); return result; } - + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.ResetTimeoutMessage other) { if (other == de.pokerth.protocol.ProtoBuf.ResetTimeoutMessage.getDefaultInstance()) return this; return this; } - + public final boolean isInitialized() { return true; } - + public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - while (true) { - int tag = input.readTag(); - switch (tag) { - case 0: - - return this; - default: { - if (!parseUnknownField(input, extensionRegistry, tag)) { - - return this; - } - break; - } + de.pokerth.protocol.ProtoBuf.ResetTimeoutMessage parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (de.pokerth.protocol.ProtoBuf.ResetTimeoutMessage) e.getUnfinishedMessage(); + throw e; + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); } } + return this; } - - + // @@protoc_insertion_point(builder_scope:ResetTimeoutMessage) } - + static { defaultInstance = new ResetTimeoutMessage(true); defaultInstance.initFields(); } - + // @@protoc_insertion_point(class_scope:ResetTimeoutMessage) } - + public interface ReportAvatarMessageOrBuilder extends com.google.protobuf.MessageLiteOrBuilder { - + // required uint32 reportedPlayerId = 1; + /** + * required uint32 reportedPlayerId = 1; + */ boolean hasReportedPlayerId(); + /** + * required uint32 reportedPlayerId = 1; + */ int getReportedPlayerId(); - + // required bytes reportedAvatarHash = 2; + /** + * required bytes reportedAvatarHash = 2; + */ boolean hasReportedAvatarHash(); + /** + * required bytes reportedAvatarHash = 2; + */ com.google.protobuf.ByteString getReportedAvatarHash(); } + /** + * Protobuf type {@code ReportAvatarMessage} + */ public static final class ReportAvatarMessage extends com.google.protobuf.GeneratedMessageLite implements ReportAvatarMessageOrBuilder { // Use ReportAvatarMessage.newBuilder() to construct. - private ReportAvatarMessage(Builder builder) { + private ReportAvatarMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); + } private ReportAvatarMessage(boolean noInit) {} - + private static final ReportAvatarMessage defaultInstance; public static ReportAvatarMessage getDefaultInstance() { return defaultInstance; } - + public ReportAvatarMessage getDefaultInstanceForType() { return defaultInstance; } - - private int bitField0_; - // required uint32 reportedPlayerId = 1; - public static final int REPORTEDPLAYERID_FIELD_NUMBER = 1; - private int reportedPlayerId_; - public boolean hasReportedPlayerId() { - return ((bitField0_ & 0x00000001) == 0x00000001); - } - public int getReportedPlayerId() { - return reportedPlayerId_; - } - - // required bytes reportedAvatarHash = 2; - public static final int REPORTEDAVATARHASH_FIELD_NUMBER = 2; - private com.google.protobuf.ByteString reportedAvatarHash_; - public boolean hasReportedAvatarHash() { - return ((bitField0_ & 0x00000002) == 0x00000002); - } - public com.google.protobuf.ByteString getReportedAvatarHash() { - return reportedAvatarHash_; - } - - private void initFields() { - reportedPlayerId_ = 0; - reportedAvatarHash_ = com.google.protobuf.ByteString.EMPTY; - } - private byte memoizedIsInitialized = -1; - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; - - if (!hasReportedPlayerId()) { - memoizedIsInitialized = 0; - return false; - } - if (!hasReportedAvatarHash()) { - memoizedIsInitialized = 0; - return false; - } - memoizedIsInitialized = 1; - return true; - } - - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - getSerializedSize(); - if (((bitField0_ & 0x00000001) == 0x00000001)) { - output.writeUInt32(1, reportedPlayerId_); - } - if (((bitField0_ & 0x00000002) == 0x00000002)) { - output.writeBytes(2, reportedAvatarHash_); - } - } - - private int memoizedSerializedSize = -1; - public int getSerializedSize() { - int size = memoizedSerializedSize; - if (size != -1) return size; - - size = 0; - if (((bitField0_ & 0x00000001) == 0x00000001)) { - size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(1, reportedPlayerId_); - } - if (((bitField0_ & 0x00000002) == 0x00000002)) { - size += com.google.protobuf.CodedOutputStream - .computeBytesSize(2, reportedAvatarHash_); - } - memoizedSerializedSize = size; - return size; - } - - private static final long serialVersionUID = 0L; - @java.lang.Override - protected java.lang.Object writeReplace() - throws java.io.ObjectStreamException { - return super.writeReplace(); - } - - public static de.pokerth.protocol.ProtoBuf.ReportAvatarMessage parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data).buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.ReportAvatarMessage parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data, extensionRegistry) - .buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.ReportAvatarMessage parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data).buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.ReportAvatarMessage parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data, extensionRegistry) - .buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.ReportAvatarMessage parseFrom(java.io.InputStream input) - throws java.io.IOException { - return newBuilder().mergeFrom(input).buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.ReportAvatarMessage parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return newBuilder().mergeFrom(input, extensionRegistry) - .buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.ReportAvatarMessage parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - Builder builder = newBuilder(); - if (builder.mergeDelimitedFrom(input)) { - return builder.buildParsed(); - } else { - return null; - } - } - public static de.pokerth.protocol.ProtoBuf.ReportAvatarMessage parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - Builder builder = newBuilder(); - if (builder.mergeDelimitedFrom(input, extensionRegistry)) { - return builder.buildParsed(); - } else { - return null; - } - } - public static de.pokerth.protocol.ProtoBuf.ReportAvatarMessage parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return newBuilder().mergeFrom(input).buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.ReportAvatarMessage parseFrom( + + private ReportAvatarMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return newBuilder().mergeFrom(input, extensionRegistry) - .buildParsed(); - } - - public static Builder newBuilder() { return Builder.create(); } - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.ReportAvatarMessage prototype) { - return newBuilder().mergeFrom(prototype); - } - public Builder toBuilder() { return newBuilder(this); } - - public static final class Builder extends - com.google.protobuf.GeneratedMessageLite.Builder< - de.pokerth.protocol.ProtoBuf.ReportAvatarMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.ReportAvatarMessageOrBuilder { - // Construct using de.pokerth.protocol.ProtoBuf.ReportAvatarMessage.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - } - private static Builder create() { - return new Builder(); - } - - public Builder clear() { - super.clear(); - reportedPlayerId_ = 0; - bitField0_ = (bitField0_ & ~0x00000001); - reportedAvatarHash_ = com.google.protobuf.ByteString.EMPTY; - bitField0_ = (bitField0_ & ~0x00000002); - return this; - } - - public Builder clone() { - return create().mergeFrom(buildPartial()); - } - - public de.pokerth.protocol.ProtoBuf.ReportAvatarMessage getDefaultInstanceForType() { - return de.pokerth.protocol.ProtoBuf.ReportAvatarMessage.getDefaultInstance(); - } - - public de.pokerth.protocol.ProtoBuf.ReportAvatarMessage build() { - de.pokerth.protocol.ProtoBuf.ReportAvatarMessage result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - private de.pokerth.protocol.ProtoBuf.ReportAvatarMessage buildParsed() - throws com.google.protobuf.InvalidProtocolBufferException { - de.pokerth.protocol.ProtoBuf.ReportAvatarMessage result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException( - result).asInvalidProtocolBufferException(); - } - return result; - } - - public de.pokerth.protocol.ProtoBuf.ReportAvatarMessage buildPartial() { - de.pokerth.protocol.ProtoBuf.ReportAvatarMessage result = new de.pokerth.protocol.ProtoBuf.ReportAvatarMessage(this); - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) == 0x00000001)) { - to_bitField0_ |= 0x00000001; - } - result.reportedPlayerId_ = reportedPlayerId_; - if (((from_bitField0_ & 0x00000002) == 0x00000002)) { - to_bitField0_ |= 0x00000002; - } - result.reportedAvatarHash_ = reportedAvatarHash_; - result.bitField0_ = to_bitField0_; - return result; - } - - public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.ReportAvatarMessage other) { - if (other == de.pokerth.protocol.ProtoBuf.ReportAvatarMessage.getDefaultInstance()) return this; - if (other.hasReportedPlayerId()) { - setReportedPlayerId(other.getReportedPlayerId()); - } - if (other.hasReportedAvatarHash()) { - setReportedAvatarHash(other.getReportedAvatarHash()); - } - return this; - } - - public final boolean isInitialized() { - if (!hasReportedPlayerId()) { - - return false; - } - if (!hasReportedAvatarHash()) { - - return false; - } - return true; - } - - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - while (true) { + throws com.google.protobuf.InvalidProtocolBufferException { + initFields(); + int mutable_bitField0_ = 0; + try { + boolean done = false; + while (!done) { int tag = input.readTag(); switch (tag) { case 0: - - return this; + done = true; + break; default: { - if (!parseUnknownField(input, extensionRegistry, tag)) { - - return this; + if (!parseUnknownField(input, + extensionRegistry, tag)) { + done = true; } break; } @@ -36334,181 +45447,84 @@ public final class ProtoBuf { } } } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e.getMessage()).setUnfinishedMessage(this); + } finally { + makeExtensionsImmutable(); } - - private int bitField0_; - - // required uint32 reportedPlayerId = 1; - private int reportedPlayerId_ ; - public boolean hasReportedPlayerId() { - return ((bitField0_ & 0x00000001) == 0x00000001); - } - public int getReportedPlayerId() { - return reportedPlayerId_; - } - public Builder setReportedPlayerId(int value) { - bitField0_ |= 0x00000001; - reportedPlayerId_ = value; - - return this; - } - public Builder clearReportedPlayerId() { - bitField0_ = (bitField0_ & ~0x00000001); - reportedPlayerId_ = 0; - - return this; - } - - // required bytes reportedAvatarHash = 2; - private com.google.protobuf.ByteString reportedAvatarHash_ = com.google.protobuf.ByteString.EMPTY; - public boolean hasReportedAvatarHash() { - return ((bitField0_ & 0x00000002) == 0x00000002); - } - public com.google.protobuf.ByteString getReportedAvatarHash() { - return reportedAvatarHash_; - } - public Builder setReportedAvatarHash(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000002; - reportedAvatarHash_ = value; - - return this; - } - public Builder clearReportedAvatarHash() { - bitField0_ = (bitField0_ & ~0x00000002); - reportedAvatarHash_ = getDefaultInstance().getReportedAvatarHash(); - - return this; - } - - // @@protoc_insertion_point(builder_scope:ReportAvatarMessage) } - - static { - defaultInstance = new ReportAvatarMessage(true); - defaultInstance.initFields(); - } - - // @@protoc_insertion_point(class_scope:ReportAvatarMessage) - } - - public interface ReportAvatarAckMessageOrBuilder - extends com.google.protobuf.MessageLiteOrBuilder { - - // required uint32 reportedPlayerId = 1; - boolean hasReportedPlayerId(); - int getReportedPlayerId(); - - // required .ReportAvatarAckMessage.ReportAvatarResult reportAvatarResult = 2; - boolean hasReportAvatarResult(); - de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage.ReportAvatarResult getReportAvatarResult(); - } - public static final class ReportAvatarAckMessage extends - com.google.protobuf.GeneratedMessageLite - implements ReportAvatarAckMessageOrBuilder { - // Use ReportAvatarAckMessage.newBuilder() to construct. - private ReportAvatarAckMessage(Builder builder) { - super(builder); - } - private ReportAvatarAckMessage(boolean noInit) {} - - private static final ReportAvatarAckMessage defaultInstance; - public static ReportAvatarAckMessage getDefaultInstance() { - return defaultInstance; - } - - public ReportAvatarAckMessage getDefaultInstanceForType() { - return defaultInstance; - } - - public enum ReportAvatarResult - implements com.google.protobuf.Internal.EnumLite { - avatarReportAccepted(0, 0), - avatarReportDuplicate(1, 1), - avatarReportInvalid(2, 2), - ; - - public static final int avatarReportAccepted_VALUE = 0; - public static final int avatarReportDuplicate_VALUE = 1; - public static final int avatarReportInvalid_VALUE = 2; - - - public final int getNumber() { return value; } - - public static ReportAvatarResult valueOf(int value) { - switch (value) { - case 0: return avatarReportAccepted; - case 1: return avatarReportDuplicate; - case 2: return avatarReportInvalid; - default: return null; - } + public static com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + public ReportAvatarMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ReportAvatarMessage(input, extensionRegistry); } - - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { - return internalValueMap; - } - private static com.google.protobuf.Internal.EnumLiteMap - internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public ReportAvatarResult findValueByNumber(int number) { - return ReportAvatarResult.valueOf(number); - } - }; - - private final int value; - - private ReportAvatarResult(int index, int value) { - this.value = value; - } - - // @@protoc_insertion_point(enum_scope:ReportAvatarAckMessage.ReportAvatarResult) + }; + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; } - + private int bitField0_; // required uint32 reportedPlayerId = 1; public static final int REPORTEDPLAYERID_FIELD_NUMBER = 1; private int reportedPlayerId_; + /** + * required uint32 reportedPlayerId = 1; + */ public boolean hasReportedPlayerId() { return ((bitField0_ & 0x00000001) == 0x00000001); } + /** + * required uint32 reportedPlayerId = 1; + */ public int getReportedPlayerId() { return reportedPlayerId_; } - - // required .ReportAvatarAckMessage.ReportAvatarResult reportAvatarResult = 2; - public static final int REPORTAVATARRESULT_FIELD_NUMBER = 2; - private de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage.ReportAvatarResult reportAvatarResult_; - public boolean hasReportAvatarResult() { + + // required bytes reportedAvatarHash = 2; + public static final int REPORTEDAVATARHASH_FIELD_NUMBER = 2; + private com.google.protobuf.ByteString reportedAvatarHash_; + /** + * required bytes reportedAvatarHash = 2; + */ + public boolean hasReportedAvatarHash() { return ((bitField0_ & 0x00000002) == 0x00000002); } - public de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage.ReportAvatarResult getReportAvatarResult() { - return reportAvatarResult_; + /** + * required bytes reportedAvatarHash = 2; + */ + public com.google.protobuf.ByteString getReportedAvatarHash() { + return reportedAvatarHash_; } - + private void initFields() { reportedPlayerId_ = 0; - reportAvatarResult_ = de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage.ReportAvatarResult.avatarReportAccepted; + reportedAvatarHash_ = com.google.protobuf.ByteString.EMPTY; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; - + if (!hasReportedPlayerId()) { memoizedIsInitialized = 0; return false; } - if (!hasReportAvatarResult()) { + if (!hasReportedAvatarHash()) { memoizedIsInitialized = 0; return false; } memoizedIsInitialized = 1; return true; } - + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); @@ -36516,15 +45532,15 @@ public final class ProtoBuf { output.writeUInt32(1, reportedPlayerId_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { - output.writeEnum(2, reportAvatarResult_.getNumber()); + output.writeBytes(2, reportedAvatarHash_); } } - + private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; - + size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream @@ -36532,145 +45548,124 @@ public final class ProtoBuf { } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, reportAvatarResult_.getNumber()); + .computeBytesSize(2, reportedAvatarHash_); } memoizedSerializedSize = size; return size; } - + private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } - - public static de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage parseFrom( + + public static de.pokerth.protocol.ProtoBuf.ReportAvatarMessage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data).buildParsed(); + return PARSER.parseFrom(data); } - public static de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage parseFrom( + public static de.pokerth.protocol.ProtoBuf.ReportAvatarMessage parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(data, extensionRegistry); } - public static de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage parseFrom(byte[] data) + public static de.pokerth.protocol.ProtoBuf.ReportAvatarMessage parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data).buildParsed(); + return PARSER.parseFrom(data); } - public static de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage parseFrom( + public static de.pokerth.protocol.ProtoBuf.ReportAvatarMessage parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(data, extensionRegistry); } - public static de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage parseFrom(java.io.InputStream input) + public static de.pokerth.protocol.ProtoBuf.ReportAvatarMessage parseFrom(java.io.InputStream input) throws java.io.IOException { - return newBuilder().mergeFrom(input).buildParsed(); + return PARSER.parseFrom(input); } - public static de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage parseFrom( + public static de.pokerth.protocol.ProtoBuf.ReportAvatarMessage parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return newBuilder().mergeFrom(input, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(input, extensionRegistry); } - public static de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage parseDelimitedFrom(java.io.InputStream input) + public static de.pokerth.protocol.ProtoBuf.ReportAvatarMessage parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - Builder builder = newBuilder(); - if (builder.mergeDelimitedFrom(input)) { - return builder.buildParsed(); - } else { - return null; - } + return PARSER.parseDelimitedFrom(input); } - public static de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage parseDelimitedFrom( + public static de.pokerth.protocol.ProtoBuf.ReportAvatarMessage parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - Builder builder = newBuilder(); - if (builder.mergeDelimitedFrom(input, extensionRegistry)) { - return builder.buildParsed(); - } else { - return null; - } + return PARSER.parseDelimitedFrom(input, extensionRegistry); } - public static de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage parseFrom( + public static de.pokerth.protocol.ProtoBuf.ReportAvatarMessage parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return newBuilder().mergeFrom(input).buildParsed(); + return PARSER.parseFrom(input); } - public static de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage parseFrom( + public static de.pokerth.protocol.ProtoBuf.ReportAvatarMessage parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return newBuilder().mergeFrom(input, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(input, extensionRegistry); } - + public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage prototype) { + public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.ReportAvatarMessage prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } - + + /** + * Protobuf type {@code ReportAvatarMessage} + */ public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< - de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessageOrBuilder { - // Construct using de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage.newBuilder() + de.pokerth.protocol.ProtoBuf.ReportAvatarMessage, Builder> + implements de.pokerth.protocol.ProtoBuf.ReportAvatarMessageOrBuilder { + // Construct using de.pokerth.protocol.ProtoBuf.ReportAvatarMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - + private void maybeForceBuilderInitialization() { } private static Builder create() { return new Builder(); } - + public Builder clear() { super.clear(); reportedPlayerId_ = 0; bitField0_ = (bitField0_ & ~0x00000001); - reportAvatarResult_ = de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage.ReportAvatarResult.avatarReportAccepted; + reportedAvatarHash_ = com.google.protobuf.ByteString.EMPTY; bitField0_ = (bitField0_ & ~0x00000002); return this; } - + public Builder clone() { return create().mergeFrom(buildPartial()); } - - public de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage getDefaultInstanceForType() { - return de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage.getDefaultInstance(); + + public de.pokerth.protocol.ProtoBuf.ReportAvatarMessage getDefaultInstanceForType() { + return de.pokerth.protocol.ProtoBuf.ReportAvatarMessage.getDefaultInstance(); } - - public de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage build() { - de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage result = buildPartial(); + + public de.pokerth.protocol.ProtoBuf.ReportAvatarMessage build() { + de.pokerth.protocol.ProtoBuf.ReportAvatarMessage result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } - - private de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage buildParsed() - throws com.google.protobuf.InvalidProtocolBufferException { - de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException( - result).asInvalidProtocolBufferException(); - } - return result; - } - - public de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage buildPartial() { - de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage result = new de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage(this); + + public de.pokerth.protocol.ProtoBuf.ReportAvatarMessage buildPartial() { + de.pokerth.protocol.ProtoBuf.ReportAvatarMessage result = new de.pokerth.protocol.ProtoBuf.ReportAvatarMessage(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { @@ -36680,48 +45675,196 @@ public final class ProtoBuf { if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } - result.reportAvatarResult_ = reportAvatarResult_; + result.reportedAvatarHash_ = reportedAvatarHash_; result.bitField0_ = to_bitField0_; return result; } - - public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage other) { - if (other == de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage.getDefaultInstance()) return this; + + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.ReportAvatarMessage other) { + if (other == de.pokerth.protocol.ProtoBuf.ReportAvatarMessage.getDefaultInstance()) return this; if (other.hasReportedPlayerId()) { setReportedPlayerId(other.getReportedPlayerId()); } - if (other.hasReportAvatarResult()) { - setReportAvatarResult(other.getReportAvatarResult()); + if (other.hasReportedAvatarHash()) { + setReportedAvatarHash(other.getReportedAvatarHash()); } return this; } - + public final boolean isInitialized() { if (!hasReportedPlayerId()) { return false; } - if (!hasReportAvatarResult()) { + if (!hasReportedAvatarHash()) { return false; } return true; } - + public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - while (true) { + de.pokerth.protocol.ProtoBuf.ReportAvatarMessage parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (de.pokerth.protocol.ProtoBuf.ReportAvatarMessage) e.getUnfinishedMessage(); + throw e; + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int bitField0_; + + // required uint32 reportedPlayerId = 1; + private int reportedPlayerId_ ; + /** + * required uint32 reportedPlayerId = 1; + */ + public boolean hasReportedPlayerId() { + return ((bitField0_ & 0x00000001) == 0x00000001); + } + /** + * required uint32 reportedPlayerId = 1; + */ + public int getReportedPlayerId() { + return reportedPlayerId_; + } + /** + * required uint32 reportedPlayerId = 1; + */ + public Builder setReportedPlayerId(int value) { + bitField0_ |= 0x00000001; + reportedPlayerId_ = value; + + return this; + } + /** + * required uint32 reportedPlayerId = 1; + */ + public Builder clearReportedPlayerId() { + bitField0_ = (bitField0_ & ~0x00000001); + reportedPlayerId_ = 0; + + return this; + } + + // required bytes reportedAvatarHash = 2; + private com.google.protobuf.ByteString reportedAvatarHash_ = com.google.protobuf.ByteString.EMPTY; + /** + * required bytes reportedAvatarHash = 2; + */ + public boolean hasReportedAvatarHash() { + return ((bitField0_ & 0x00000002) == 0x00000002); + } + /** + * required bytes reportedAvatarHash = 2; + */ + public com.google.protobuf.ByteString getReportedAvatarHash() { + return reportedAvatarHash_; + } + /** + * required bytes reportedAvatarHash = 2; + */ + public Builder setReportedAvatarHash(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000002; + reportedAvatarHash_ = value; + + return this; + } + /** + * required bytes reportedAvatarHash = 2; + */ + public Builder clearReportedAvatarHash() { + bitField0_ = (bitField0_ & ~0x00000002); + reportedAvatarHash_ = getDefaultInstance().getReportedAvatarHash(); + + return this; + } + + // @@protoc_insertion_point(builder_scope:ReportAvatarMessage) + } + + static { + defaultInstance = new ReportAvatarMessage(true); + defaultInstance.initFields(); + } + + // @@protoc_insertion_point(class_scope:ReportAvatarMessage) + } + + public interface ReportAvatarAckMessageOrBuilder + extends com.google.protobuf.MessageLiteOrBuilder { + + // required uint32 reportedPlayerId = 1; + /** + * required uint32 reportedPlayerId = 1; + */ + boolean hasReportedPlayerId(); + /** + * required uint32 reportedPlayerId = 1; + */ + int getReportedPlayerId(); + + // required .ReportAvatarAckMessage.ReportAvatarResult reportAvatarResult = 2; + /** + * required .ReportAvatarAckMessage.ReportAvatarResult reportAvatarResult = 2; + */ + boolean hasReportAvatarResult(); + /** + * required .ReportAvatarAckMessage.ReportAvatarResult reportAvatarResult = 2; + */ + de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage.ReportAvatarResult getReportAvatarResult(); + } + /** + * Protobuf type {@code ReportAvatarAckMessage} + */ + public static final class ReportAvatarAckMessage extends + com.google.protobuf.GeneratedMessageLite + implements ReportAvatarAckMessageOrBuilder { + // Use ReportAvatarAckMessage.newBuilder() to construct. + private ReportAvatarAckMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { + super(builder); + + } + private ReportAvatarAckMessage(boolean noInit) {} + + private static final ReportAvatarAckMessage defaultInstance; + public static ReportAvatarAckMessage getDefaultInstance() { + return defaultInstance; + } + + public ReportAvatarAckMessage getDefaultInstanceForType() { + return defaultInstance; + } + + private ReportAvatarAckMessage( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + initFields(); + int mutable_bitField0_ = 0; + try { + boolean done = false; + while (!done) { int tag = input.readTag(); switch (tag) { case 0: - - return this; + done = true; + break; default: { - if (!parseUnknownField(input, extensionRegistry, tag)) { - - return this; + if (!parseUnknownField(input, + extensionRegistry, tag)) { + done = true; } break; } @@ -36741,39 +45884,396 @@ public final class ProtoBuf { } } } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e.getMessage()).setUnfinishedMessage(this); + } finally { + makeExtensionsImmutable(); + } + } + public static com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + public ReportAvatarAckMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ReportAvatarAckMessage(input, extensionRegistry); + } + }; + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + /** + * Protobuf enum {@code ReportAvatarAckMessage.ReportAvatarResult} + */ + public enum ReportAvatarResult + implements com.google.protobuf.Internal.EnumLite { + /** + * avatarReportAccepted = 0; + */ + avatarReportAccepted(0, 0), + /** + * avatarReportDuplicate = 1; + */ + avatarReportDuplicate(1, 1), + /** + * avatarReportInvalid = 2; + */ + avatarReportInvalid(2, 2), + ; + + /** + * avatarReportAccepted = 0; + */ + public static final int avatarReportAccepted_VALUE = 0; + /** + * avatarReportDuplicate = 1; + */ + public static final int avatarReportDuplicate_VALUE = 1; + /** + * avatarReportInvalid = 2; + */ + public static final int avatarReportInvalid_VALUE = 2; + + + public final int getNumber() { return value; } + + public static ReportAvatarResult valueOf(int value) { + switch (value) { + case 0: return avatarReportAccepted; + case 1: return avatarReportDuplicate; + case 2: return avatarReportInvalid; + default: return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { + return internalValueMap; + } + private static com.google.protobuf.Internal.EnumLiteMap + internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public ReportAvatarResult findValueByNumber(int number) { + return ReportAvatarResult.valueOf(number); + } + }; + + private final int value; + + private ReportAvatarResult(int index, int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:ReportAvatarAckMessage.ReportAvatarResult) + } + + private int bitField0_; + // required uint32 reportedPlayerId = 1; + public static final int REPORTEDPLAYERID_FIELD_NUMBER = 1; + private int reportedPlayerId_; + /** + * required uint32 reportedPlayerId = 1; + */ + public boolean hasReportedPlayerId() { + return ((bitField0_ & 0x00000001) == 0x00000001); + } + /** + * required uint32 reportedPlayerId = 1; + */ + public int getReportedPlayerId() { + return reportedPlayerId_; + } + + // required .ReportAvatarAckMessage.ReportAvatarResult reportAvatarResult = 2; + public static final int REPORTAVATARRESULT_FIELD_NUMBER = 2; + private de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage.ReportAvatarResult reportAvatarResult_; + /** + * required .ReportAvatarAckMessage.ReportAvatarResult reportAvatarResult = 2; + */ + public boolean hasReportAvatarResult() { + return ((bitField0_ & 0x00000002) == 0x00000002); + } + /** + * required .ReportAvatarAckMessage.ReportAvatarResult reportAvatarResult = 2; + */ + public de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage.ReportAvatarResult getReportAvatarResult() { + return reportAvatarResult_; + } + + private void initFields() { + reportedPlayerId_ = 0; + reportAvatarResult_ = de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage.ReportAvatarResult.avatarReportAccepted; + } + private byte memoizedIsInitialized = -1; + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized != -1) return isInitialized == 1; + + if (!hasReportedPlayerId()) { + memoizedIsInitialized = 0; + return false; + } + if (!hasReportAvatarResult()) { + memoizedIsInitialized = 0; + return false; + } + memoizedIsInitialized = 1; + return true; + } + + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + getSerializedSize(); + if (((bitField0_ & 0x00000001) == 0x00000001)) { + output.writeUInt32(1, reportedPlayerId_); + } + if (((bitField0_ & 0x00000002) == 0x00000002)) { + output.writeEnum(2, reportAvatarResult_.getNumber()); + } + } + + private int memoizedSerializedSize = -1; + public int getSerializedSize() { + int size = memoizedSerializedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) == 0x00000001)) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(1, reportedPlayerId_); + } + if (((bitField0_ & 0x00000002) == 0x00000002)) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, reportAvatarResult_.getNumber()); + } + memoizedSerializedSize = size; + return size; + } + + private static final long serialVersionUID = 0L; + @java.lang.Override + protected java.lang.Object writeReplace() + throws java.io.ObjectStreamException { + return super.writeReplace(); + } + + public static de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage parseFrom(java.io.InputStream input) + throws java.io.IOException { + return PARSER.parseFrom(input); + } + public static de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseFrom(input, extensionRegistry); + } + public static de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return PARSER.parseDelimitedFrom(input); + } + public static de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseDelimitedFrom(input, extensionRegistry); + } + public static de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return PARSER.parseFrom(input); + } + public static de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseFrom(input, extensionRegistry); + } + + public static Builder newBuilder() { return Builder.create(); } + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage prototype) { + return newBuilder().mergeFrom(prototype); + } + public Builder toBuilder() { return newBuilder(this); } + + /** + * Protobuf type {@code ReportAvatarAckMessage} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageLite.Builder< + de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage, Builder> + implements de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessageOrBuilder { + // Construct using de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + } + private static Builder create() { + return new Builder(); + } + + public Builder clear() { + super.clear(); + reportedPlayerId_ = 0; + bitField0_ = (bitField0_ & ~0x00000001); + reportAvatarResult_ = de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage.ReportAvatarResult.avatarReportAccepted; + bitField0_ = (bitField0_ & ~0x00000002); + return this; + } + + public Builder clone() { + return create().mergeFrom(buildPartial()); + } + + public de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage getDefaultInstanceForType() { + return de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage.getDefaultInstance(); + } + + public de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage build() { + de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + public de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage buildPartial() { + de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage result = new de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) == 0x00000001)) { + to_bitField0_ |= 0x00000001; + } + result.reportedPlayerId_ = reportedPlayerId_; + if (((from_bitField0_ & 0x00000002) == 0x00000002)) { + to_bitField0_ |= 0x00000002; + } + result.reportAvatarResult_ = reportAvatarResult_; + result.bitField0_ = to_bitField0_; + return result; + } + + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage other) { + if (other == de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage.getDefaultInstance()) return this; + if (other.hasReportedPlayerId()) { + setReportedPlayerId(other.getReportedPlayerId()); + } + if (other.hasReportAvatarResult()) { + setReportAvatarResult(other.getReportAvatarResult()); + } + return this; + } + + public final boolean isInitialized() { + if (!hasReportedPlayerId()) { + + return false; + } + if (!hasReportAvatarResult()) { + + return false; + } + return true; + } + + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage) e.getUnfinishedMessage(); + throw e; + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; } - private int bitField0_; - + // required uint32 reportedPlayerId = 1; private int reportedPlayerId_ ; + /** + * required uint32 reportedPlayerId = 1; + */ public boolean hasReportedPlayerId() { return ((bitField0_ & 0x00000001) == 0x00000001); } + /** + * required uint32 reportedPlayerId = 1; + */ public int getReportedPlayerId() { return reportedPlayerId_; } + /** + * required uint32 reportedPlayerId = 1; + */ public Builder setReportedPlayerId(int value) { bitField0_ |= 0x00000001; reportedPlayerId_ = value; return this; } + /** + * required uint32 reportedPlayerId = 1; + */ public Builder clearReportedPlayerId() { bitField0_ = (bitField0_ & ~0x00000001); reportedPlayerId_ = 0; return this; } - + // required .ReportAvatarAckMessage.ReportAvatarResult reportAvatarResult = 2; private de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage.ReportAvatarResult reportAvatarResult_ = de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage.ReportAvatarResult.avatarReportAccepted; + /** + * required .ReportAvatarAckMessage.ReportAvatarResult reportAvatarResult = 2; + */ public boolean hasReportAvatarResult() { return ((bitField0_ & 0x00000002) == 0x00000002); } + /** + * required .ReportAvatarAckMessage.ReportAvatarResult reportAvatarResult = 2; + */ public de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage.ReportAvatarResult getReportAvatarResult() { return reportAvatarResult_; } + /** + * required .ReportAvatarAckMessage.ReportAvatarResult reportAvatarResult = 2; + */ public Builder setReportAvatarResult(de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage.ReportAvatarResult value) { if (value == null) { throw new NullPointerException(); @@ -36783,60 +46283,131 @@ public final class ProtoBuf { return this; } + /** + * required .ReportAvatarAckMessage.ReportAvatarResult reportAvatarResult = 2; + */ public Builder clearReportAvatarResult() { bitField0_ = (bitField0_ & ~0x00000002); reportAvatarResult_ = de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage.ReportAvatarResult.avatarReportAccepted; return this; } - + // @@protoc_insertion_point(builder_scope:ReportAvatarAckMessage) } - + static { defaultInstance = new ReportAvatarAckMessage(true); defaultInstance.initFields(); } - + // @@protoc_insertion_point(class_scope:ReportAvatarAckMessage) } - + public interface ReportGameMessageOrBuilder extends com.google.protobuf.MessageLiteOrBuilder { - + // required uint32 reportedGameId = 1; + /** + * required uint32 reportedGameId = 1; + */ boolean hasReportedGameId(); + /** + * required uint32 reportedGameId = 1; + */ int getReportedGameId(); } + /** + * Protobuf type {@code ReportGameMessage} + */ public static final class ReportGameMessage extends com.google.protobuf.GeneratedMessageLite implements ReportGameMessageOrBuilder { // Use ReportGameMessage.newBuilder() to construct. - private ReportGameMessage(Builder builder) { + private ReportGameMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); + } private ReportGameMessage(boolean noInit) {} - + private static final ReportGameMessage defaultInstance; public static ReportGameMessage getDefaultInstance() { return defaultInstance; } - + public ReportGameMessage getDefaultInstanceForType() { return defaultInstance; } - + + private ReportGameMessage( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + initFields(); + int mutable_bitField0_ = 0; + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: { + if (!parseUnknownField(input, + extensionRegistry, tag)) { + done = true; + } + break; + } + case 8: { + bitField0_ |= 0x00000001; + reportedGameId_ = input.readUInt32(); + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e.getMessage()).setUnfinishedMessage(this); + } finally { + makeExtensionsImmutable(); + } + } + public static com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + public ReportGameMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ReportGameMessage(input, extensionRegistry); + } + }; + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + private int bitField0_; // required uint32 reportedGameId = 1; public static final int REPORTEDGAMEID_FIELD_NUMBER = 1; private int reportedGameId_; + /** + * required uint32 reportedGameId = 1; + */ public boolean hasReportedGameId() { return ((bitField0_ & 0x00000001) == 0x00000001); } + /** + * required uint32 reportedGameId = 1; + */ public int getReportedGameId() { return reportedGameId_; } - + private void initFields() { reportedGameId_ = 0; } @@ -36844,7 +46415,7 @@ public final class ProtoBuf { public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; - + if (!hasReportedGameId()) { memoizedIsInitialized = 0; return false; @@ -36852,7 +46423,7 @@ public final class ProtoBuf { memoizedIsInitialized = 1; return true; } - + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); @@ -36860,12 +46431,12 @@ public final class ProtoBuf { output.writeUInt32(1, reportedGameId_); } } - + private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; - + size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream @@ -36874,88 +46445,77 @@ public final class ProtoBuf { memoizedSerializedSize = size; return size; } - + private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } - + public static de.pokerth.protocol.ProtoBuf.ReportGameMessage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data).buildParsed(); + return PARSER.parseFrom(data); } public static de.pokerth.protocol.ProtoBuf.ReportGameMessage parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(data, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.ReportGameMessage parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data).buildParsed(); + return PARSER.parseFrom(data); } public static de.pokerth.protocol.ProtoBuf.ReportGameMessage parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(data, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.ReportGameMessage parseFrom(java.io.InputStream input) throws java.io.IOException { - return newBuilder().mergeFrom(input).buildParsed(); + return PARSER.parseFrom(input); } public static de.pokerth.protocol.ProtoBuf.ReportGameMessage parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return newBuilder().mergeFrom(input, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.ReportGameMessage parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - Builder builder = newBuilder(); - if (builder.mergeDelimitedFrom(input)) { - return builder.buildParsed(); - } else { - return null; - } + return PARSER.parseDelimitedFrom(input); } public static de.pokerth.protocol.ProtoBuf.ReportGameMessage parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - Builder builder = newBuilder(); - if (builder.mergeDelimitedFrom(input, extensionRegistry)) { - return builder.buildParsed(); - } else { - return null; - } + return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.ReportGameMessage parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return newBuilder().mergeFrom(input).buildParsed(); + return PARSER.parseFrom(input); } public static de.pokerth.protocol.ProtoBuf.ReportGameMessage parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return newBuilder().mergeFrom(input, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(input, extensionRegistry); } - + public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.ReportGameMessage prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } - + + /** + * Protobuf type {@code ReportGameMessage} + */ public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.ReportGameMessage, Builder> @@ -36964,28 +46524,28 @@ public final class ProtoBuf { private Builder() { maybeForceBuilderInitialization(); } - + private void maybeForceBuilderInitialization() { } private static Builder create() { return new Builder(); } - + public Builder clear() { super.clear(); reportedGameId_ = 0; bitField0_ = (bitField0_ & ~0x00000001); return this; } - + public Builder clone() { return create().mergeFrom(buildPartial()); } - + public de.pokerth.protocol.ProtoBuf.ReportGameMessage getDefaultInstanceForType() { return de.pokerth.protocol.ProtoBuf.ReportGameMessage.getDefaultInstance(); } - + public de.pokerth.protocol.ProtoBuf.ReportGameMessage build() { de.pokerth.protocol.ProtoBuf.ReportGameMessage result = buildPartial(); if (!result.isInitialized()) { @@ -36993,17 +46553,7 @@ public final class ProtoBuf { } return result; } - - private de.pokerth.protocol.ProtoBuf.ReportGameMessage buildParsed() - throws com.google.protobuf.InvalidProtocolBufferException { - de.pokerth.protocol.ProtoBuf.ReportGameMessage result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException( - result).asInvalidProtocolBufferException(); - } - return result; - } - + public de.pokerth.protocol.ProtoBuf.ReportGameMessage buildPartial() { de.pokerth.protocol.ProtoBuf.ReportGameMessage result = new de.pokerth.protocol.ProtoBuf.ReportGameMessage(this); int from_bitField0_ = bitField0_; @@ -37015,7 +46565,7 @@ public final class ProtoBuf { result.bitField0_ = to_bitField0_; return result; } - + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.ReportGameMessage other) { if (other == de.pokerth.protocol.ProtoBuf.ReportGameMessage.getDefaultInstance()) return this; if (other.hasReportedGameId()) { @@ -37023,7 +46573,7 @@ public final class ProtoBuf { } return this; } - + public final boolean isInitialized() { if (!hasReportedGameId()) { @@ -37031,395 +46581,133 @@ public final class ProtoBuf { } return true; } - + public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - while (true) { - int tag = input.readTag(); - switch (tag) { - case 0: - - return this; - default: { - if (!parseUnknownField(input, extensionRegistry, tag)) { - - return this; - } - break; - } - case 8: { - bitField0_ |= 0x00000001; - reportedGameId_ = input.readUInt32(); - break; - } + de.pokerth.protocol.ProtoBuf.ReportGameMessage parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (de.pokerth.protocol.ProtoBuf.ReportGameMessage) e.getUnfinishedMessage(); + throw e; + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); } } + return this; } - private int bitField0_; - + // required uint32 reportedGameId = 1; private int reportedGameId_ ; + /** + * required uint32 reportedGameId = 1; + */ public boolean hasReportedGameId() { return ((bitField0_ & 0x00000001) == 0x00000001); } + /** + * required uint32 reportedGameId = 1; + */ public int getReportedGameId() { return reportedGameId_; } + /** + * required uint32 reportedGameId = 1; + */ public Builder setReportedGameId(int value) { bitField0_ |= 0x00000001; reportedGameId_ = value; return this; } + /** + * required uint32 reportedGameId = 1; + */ public Builder clearReportedGameId() { bitField0_ = (bitField0_ & ~0x00000001); reportedGameId_ = 0; return this; } - + // @@protoc_insertion_point(builder_scope:ReportGameMessage) } - + static { defaultInstance = new ReportGameMessage(true); defaultInstance.initFields(); } - + // @@protoc_insertion_point(class_scope:ReportGameMessage) } - + public interface ReportGameAckMessageOrBuilder extends com.google.protobuf.MessageLiteOrBuilder { - + // required uint32 reportedGameId = 1; + /** + * required uint32 reportedGameId = 1; + */ boolean hasReportedGameId(); + /** + * required uint32 reportedGameId = 1; + */ int getReportedGameId(); - + // required .ReportGameAckMessage.ReportGameResult reportGameResult = 2; + /** + * required .ReportGameAckMessage.ReportGameResult reportGameResult = 2; + */ boolean hasReportGameResult(); + /** + * required .ReportGameAckMessage.ReportGameResult reportGameResult = 2; + */ de.pokerth.protocol.ProtoBuf.ReportGameAckMessage.ReportGameResult getReportGameResult(); } + /** + * Protobuf type {@code ReportGameAckMessage} + */ public static final class ReportGameAckMessage extends com.google.protobuf.GeneratedMessageLite implements ReportGameAckMessageOrBuilder { // Use ReportGameAckMessage.newBuilder() to construct. - private ReportGameAckMessage(Builder builder) { + private ReportGameAckMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); + } private ReportGameAckMessage(boolean noInit) {} - + private static final ReportGameAckMessage defaultInstance; public static ReportGameAckMessage getDefaultInstance() { return defaultInstance; } - + public ReportGameAckMessage getDefaultInstanceForType() { return defaultInstance; } - - public enum ReportGameResult - implements com.google.protobuf.Internal.EnumLite { - gameReportAccepted(0, 0), - gameReportDuplicate(1, 1), - gameReportInvalid(2, 2), - ; - - public static final int gameReportAccepted_VALUE = 0; - public static final int gameReportDuplicate_VALUE = 1; - public static final int gameReportInvalid_VALUE = 2; - - - public final int getNumber() { return value; } - - public static ReportGameResult valueOf(int value) { - switch (value) { - case 0: return gameReportAccepted; - case 1: return gameReportDuplicate; - case 2: return gameReportInvalid; - default: return null; - } - } - - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { - return internalValueMap; - } - private static com.google.protobuf.Internal.EnumLiteMap - internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public ReportGameResult findValueByNumber(int number) { - return ReportGameResult.valueOf(number); - } - }; - - private final int value; - - private ReportGameResult(int index, int value) { - this.value = value; - } - - // @@protoc_insertion_point(enum_scope:ReportGameAckMessage.ReportGameResult) - } - - private int bitField0_; - // required uint32 reportedGameId = 1; - public static final int REPORTEDGAMEID_FIELD_NUMBER = 1; - private int reportedGameId_; - public boolean hasReportedGameId() { - return ((bitField0_ & 0x00000001) == 0x00000001); - } - public int getReportedGameId() { - return reportedGameId_; - } - - // required .ReportGameAckMessage.ReportGameResult reportGameResult = 2; - public static final int REPORTGAMERESULT_FIELD_NUMBER = 2; - private de.pokerth.protocol.ProtoBuf.ReportGameAckMessage.ReportGameResult reportGameResult_; - public boolean hasReportGameResult() { - return ((bitField0_ & 0x00000002) == 0x00000002); - } - public de.pokerth.protocol.ProtoBuf.ReportGameAckMessage.ReportGameResult getReportGameResult() { - return reportGameResult_; - } - - private void initFields() { - reportedGameId_ = 0; - reportGameResult_ = de.pokerth.protocol.ProtoBuf.ReportGameAckMessage.ReportGameResult.gameReportAccepted; - } - private byte memoizedIsInitialized = -1; - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; - - if (!hasReportedGameId()) { - memoizedIsInitialized = 0; - return false; - } - if (!hasReportGameResult()) { - memoizedIsInitialized = 0; - return false; - } - memoizedIsInitialized = 1; - return true; - } - - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - getSerializedSize(); - if (((bitField0_ & 0x00000001) == 0x00000001)) { - output.writeUInt32(1, reportedGameId_); - } - if (((bitField0_ & 0x00000002) == 0x00000002)) { - output.writeEnum(2, reportGameResult_.getNumber()); - } - } - - private int memoizedSerializedSize = -1; - public int getSerializedSize() { - int size = memoizedSerializedSize; - if (size != -1) return size; - - size = 0; - if (((bitField0_ & 0x00000001) == 0x00000001)) { - size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(1, reportedGameId_); - } - if (((bitField0_ & 0x00000002) == 0x00000002)) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, reportGameResult_.getNumber()); - } - memoizedSerializedSize = size; - return size; - } - - private static final long serialVersionUID = 0L; - @java.lang.Override - protected java.lang.Object writeReplace() - throws java.io.ObjectStreamException { - return super.writeReplace(); - } - - public static de.pokerth.protocol.ProtoBuf.ReportGameAckMessage parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data).buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.ReportGameAckMessage parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data, extensionRegistry) - .buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.ReportGameAckMessage parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data).buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.ReportGameAckMessage parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data, extensionRegistry) - .buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.ReportGameAckMessage parseFrom(java.io.InputStream input) - throws java.io.IOException { - return newBuilder().mergeFrom(input).buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.ReportGameAckMessage parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return newBuilder().mergeFrom(input, extensionRegistry) - .buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.ReportGameAckMessage parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - Builder builder = newBuilder(); - if (builder.mergeDelimitedFrom(input)) { - return builder.buildParsed(); - } else { - return null; - } - } - public static de.pokerth.protocol.ProtoBuf.ReportGameAckMessage parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - Builder builder = newBuilder(); - if (builder.mergeDelimitedFrom(input, extensionRegistry)) { - return builder.buildParsed(); - } else { - return null; - } - } - public static de.pokerth.protocol.ProtoBuf.ReportGameAckMessage parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return newBuilder().mergeFrom(input).buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.ReportGameAckMessage parseFrom( + + private ReportGameAckMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return newBuilder().mergeFrom(input, extensionRegistry) - .buildParsed(); - } - - public static Builder newBuilder() { return Builder.create(); } - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.ReportGameAckMessage prototype) { - return newBuilder().mergeFrom(prototype); - } - public Builder toBuilder() { return newBuilder(this); } - - public static final class Builder extends - com.google.protobuf.GeneratedMessageLite.Builder< - de.pokerth.protocol.ProtoBuf.ReportGameAckMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.ReportGameAckMessageOrBuilder { - // Construct using de.pokerth.protocol.ProtoBuf.ReportGameAckMessage.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - } - private static Builder create() { - return new Builder(); - } - - public Builder clear() { - super.clear(); - reportedGameId_ = 0; - bitField0_ = (bitField0_ & ~0x00000001); - reportGameResult_ = de.pokerth.protocol.ProtoBuf.ReportGameAckMessage.ReportGameResult.gameReportAccepted; - bitField0_ = (bitField0_ & ~0x00000002); - return this; - } - - public Builder clone() { - return create().mergeFrom(buildPartial()); - } - - public de.pokerth.protocol.ProtoBuf.ReportGameAckMessage getDefaultInstanceForType() { - return de.pokerth.protocol.ProtoBuf.ReportGameAckMessage.getDefaultInstance(); - } - - public de.pokerth.protocol.ProtoBuf.ReportGameAckMessage build() { - de.pokerth.protocol.ProtoBuf.ReportGameAckMessage result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - private de.pokerth.protocol.ProtoBuf.ReportGameAckMessage buildParsed() - throws com.google.protobuf.InvalidProtocolBufferException { - de.pokerth.protocol.ProtoBuf.ReportGameAckMessage result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException( - result).asInvalidProtocolBufferException(); - } - return result; - } - - public de.pokerth.protocol.ProtoBuf.ReportGameAckMessage buildPartial() { - de.pokerth.protocol.ProtoBuf.ReportGameAckMessage result = new de.pokerth.protocol.ProtoBuf.ReportGameAckMessage(this); - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) == 0x00000001)) { - to_bitField0_ |= 0x00000001; - } - result.reportedGameId_ = reportedGameId_; - if (((from_bitField0_ & 0x00000002) == 0x00000002)) { - to_bitField0_ |= 0x00000002; - } - result.reportGameResult_ = reportGameResult_; - result.bitField0_ = to_bitField0_; - return result; - } - - public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.ReportGameAckMessage other) { - if (other == de.pokerth.protocol.ProtoBuf.ReportGameAckMessage.getDefaultInstance()) return this; - if (other.hasReportedGameId()) { - setReportedGameId(other.getReportedGameId()); - } - if (other.hasReportGameResult()) { - setReportGameResult(other.getReportGameResult()); - } - return this; - } - - public final boolean isInitialized() { - if (!hasReportedGameId()) { - - return false; - } - if (!hasReportGameResult()) { - - return false; - } - return true; - } - - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - while (true) { + throws com.google.protobuf.InvalidProtocolBufferException { + initFields(); + int mutable_bitField0_ = 0; + try { + boolean done = false; + while (!done) { int tag = input.readTag(); switch (tag) { case 0: - - return this; + done = true; + break; default: { - if (!parseUnknownField(input, extensionRegistry, tag)) { - - return this; + if (!parseUnknownField(input, + extensionRegistry, tag)) { + done = true; } break; } @@ -37439,39 +46727,396 @@ public final class ProtoBuf { } } } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e.getMessage()).setUnfinishedMessage(this); + } finally { + makeExtensionsImmutable(); + } + } + public static com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + public ReportGameAckMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ReportGameAckMessage(input, extensionRegistry); + } + }; + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + /** + * Protobuf enum {@code ReportGameAckMessage.ReportGameResult} + */ + public enum ReportGameResult + implements com.google.protobuf.Internal.EnumLite { + /** + * gameReportAccepted = 0; + */ + gameReportAccepted(0, 0), + /** + * gameReportDuplicate = 1; + */ + gameReportDuplicate(1, 1), + /** + * gameReportInvalid = 2; + */ + gameReportInvalid(2, 2), + ; + + /** + * gameReportAccepted = 0; + */ + public static final int gameReportAccepted_VALUE = 0; + /** + * gameReportDuplicate = 1; + */ + public static final int gameReportDuplicate_VALUE = 1; + /** + * gameReportInvalid = 2; + */ + public static final int gameReportInvalid_VALUE = 2; + + + public final int getNumber() { return value; } + + public static ReportGameResult valueOf(int value) { + switch (value) { + case 0: return gameReportAccepted; + case 1: return gameReportDuplicate; + case 2: return gameReportInvalid; + default: return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { + return internalValueMap; + } + private static com.google.protobuf.Internal.EnumLiteMap + internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public ReportGameResult findValueByNumber(int number) { + return ReportGameResult.valueOf(number); + } + }; + + private final int value; + + private ReportGameResult(int index, int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:ReportGameAckMessage.ReportGameResult) + } + + private int bitField0_; + // required uint32 reportedGameId = 1; + public static final int REPORTEDGAMEID_FIELD_NUMBER = 1; + private int reportedGameId_; + /** + * required uint32 reportedGameId = 1; + */ + public boolean hasReportedGameId() { + return ((bitField0_ & 0x00000001) == 0x00000001); + } + /** + * required uint32 reportedGameId = 1; + */ + public int getReportedGameId() { + return reportedGameId_; + } + + // required .ReportGameAckMessage.ReportGameResult reportGameResult = 2; + public static final int REPORTGAMERESULT_FIELD_NUMBER = 2; + private de.pokerth.protocol.ProtoBuf.ReportGameAckMessage.ReportGameResult reportGameResult_; + /** + * required .ReportGameAckMessage.ReportGameResult reportGameResult = 2; + */ + public boolean hasReportGameResult() { + return ((bitField0_ & 0x00000002) == 0x00000002); + } + /** + * required .ReportGameAckMessage.ReportGameResult reportGameResult = 2; + */ + public de.pokerth.protocol.ProtoBuf.ReportGameAckMessage.ReportGameResult getReportGameResult() { + return reportGameResult_; + } + + private void initFields() { + reportedGameId_ = 0; + reportGameResult_ = de.pokerth.protocol.ProtoBuf.ReportGameAckMessage.ReportGameResult.gameReportAccepted; + } + private byte memoizedIsInitialized = -1; + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized != -1) return isInitialized == 1; + + if (!hasReportedGameId()) { + memoizedIsInitialized = 0; + return false; + } + if (!hasReportGameResult()) { + memoizedIsInitialized = 0; + return false; + } + memoizedIsInitialized = 1; + return true; + } + + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + getSerializedSize(); + if (((bitField0_ & 0x00000001) == 0x00000001)) { + output.writeUInt32(1, reportedGameId_); + } + if (((bitField0_ & 0x00000002) == 0x00000002)) { + output.writeEnum(2, reportGameResult_.getNumber()); + } + } + + private int memoizedSerializedSize = -1; + public int getSerializedSize() { + int size = memoizedSerializedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) == 0x00000001)) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(1, reportedGameId_); + } + if (((bitField0_ & 0x00000002) == 0x00000002)) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, reportGameResult_.getNumber()); + } + memoizedSerializedSize = size; + return size; + } + + private static final long serialVersionUID = 0L; + @java.lang.Override + protected java.lang.Object writeReplace() + throws java.io.ObjectStreamException { + return super.writeReplace(); + } + + public static de.pokerth.protocol.ProtoBuf.ReportGameAckMessage parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static de.pokerth.protocol.ProtoBuf.ReportGameAckMessage parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static de.pokerth.protocol.ProtoBuf.ReportGameAckMessage parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static de.pokerth.protocol.ProtoBuf.ReportGameAckMessage parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static de.pokerth.protocol.ProtoBuf.ReportGameAckMessage parseFrom(java.io.InputStream input) + throws java.io.IOException { + return PARSER.parseFrom(input); + } + public static de.pokerth.protocol.ProtoBuf.ReportGameAckMessage parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseFrom(input, extensionRegistry); + } + public static de.pokerth.protocol.ProtoBuf.ReportGameAckMessage parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return PARSER.parseDelimitedFrom(input); + } + public static de.pokerth.protocol.ProtoBuf.ReportGameAckMessage parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseDelimitedFrom(input, extensionRegistry); + } + public static de.pokerth.protocol.ProtoBuf.ReportGameAckMessage parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return PARSER.parseFrom(input); + } + public static de.pokerth.protocol.ProtoBuf.ReportGameAckMessage parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseFrom(input, extensionRegistry); + } + + public static Builder newBuilder() { return Builder.create(); } + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.ReportGameAckMessage prototype) { + return newBuilder().mergeFrom(prototype); + } + public Builder toBuilder() { return newBuilder(this); } + + /** + * Protobuf type {@code ReportGameAckMessage} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageLite.Builder< + de.pokerth.protocol.ProtoBuf.ReportGameAckMessage, Builder> + implements de.pokerth.protocol.ProtoBuf.ReportGameAckMessageOrBuilder { + // Construct using de.pokerth.protocol.ProtoBuf.ReportGameAckMessage.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + } + private static Builder create() { + return new Builder(); + } + + public Builder clear() { + super.clear(); + reportedGameId_ = 0; + bitField0_ = (bitField0_ & ~0x00000001); + reportGameResult_ = de.pokerth.protocol.ProtoBuf.ReportGameAckMessage.ReportGameResult.gameReportAccepted; + bitField0_ = (bitField0_ & ~0x00000002); + return this; + } + + public Builder clone() { + return create().mergeFrom(buildPartial()); + } + + public de.pokerth.protocol.ProtoBuf.ReportGameAckMessage getDefaultInstanceForType() { + return de.pokerth.protocol.ProtoBuf.ReportGameAckMessage.getDefaultInstance(); + } + + public de.pokerth.protocol.ProtoBuf.ReportGameAckMessage build() { + de.pokerth.protocol.ProtoBuf.ReportGameAckMessage result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + public de.pokerth.protocol.ProtoBuf.ReportGameAckMessage buildPartial() { + de.pokerth.protocol.ProtoBuf.ReportGameAckMessage result = new de.pokerth.protocol.ProtoBuf.ReportGameAckMessage(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) == 0x00000001)) { + to_bitField0_ |= 0x00000001; + } + result.reportedGameId_ = reportedGameId_; + if (((from_bitField0_ & 0x00000002) == 0x00000002)) { + to_bitField0_ |= 0x00000002; + } + result.reportGameResult_ = reportGameResult_; + result.bitField0_ = to_bitField0_; + return result; + } + + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.ReportGameAckMessage other) { + if (other == de.pokerth.protocol.ProtoBuf.ReportGameAckMessage.getDefaultInstance()) return this; + if (other.hasReportedGameId()) { + setReportedGameId(other.getReportedGameId()); + } + if (other.hasReportGameResult()) { + setReportGameResult(other.getReportGameResult()); + } + return this; + } + + public final boolean isInitialized() { + if (!hasReportedGameId()) { + + return false; + } + if (!hasReportGameResult()) { + + return false; + } + return true; + } + + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + de.pokerth.protocol.ProtoBuf.ReportGameAckMessage parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (de.pokerth.protocol.ProtoBuf.ReportGameAckMessage) e.getUnfinishedMessage(); + throw e; + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; } - private int bitField0_; - + // required uint32 reportedGameId = 1; private int reportedGameId_ ; + /** + * required uint32 reportedGameId = 1; + */ public boolean hasReportedGameId() { return ((bitField0_ & 0x00000001) == 0x00000001); } + /** + * required uint32 reportedGameId = 1; + */ public int getReportedGameId() { return reportedGameId_; } + /** + * required uint32 reportedGameId = 1; + */ public Builder setReportedGameId(int value) { bitField0_ |= 0x00000001; reportedGameId_ = value; return this; } + /** + * required uint32 reportedGameId = 1; + */ public Builder clearReportedGameId() { bitField0_ = (bitField0_ & ~0x00000001); reportedGameId_ = 0; return this; } - + // required .ReportGameAckMessage.ReportGameResult reportGameResult = 2; private de.pokerth.protocol.ProtoBuf.ReportGameAckMessage.ReportGameResult reportGameResult_ = de.pokerth.protocol.ProtoBuf.ReportGameAckMessage.ReportGameResult.gameReportAccepted; + /** + * required .ReportGameAckMessage.ReportGameResult reportGameResult = 2; + */ public boolean hasReportGameResult() { return ((bitField0_ & 0x00000002) == 0x00000002); } + /** + * required .ReportGameAckMessage.ReportGameResult reportGameResult = 2; + */ public de.pokerth.protocol.ProtoBuf.ReportGameAckMessage.ReportGameResult getReportGameResult() { return reportGameResult_; } + /** + * required .ReportGameAckMessage.ReportGameResult reportGameResult = 2; + */ public Builder setReportGameResult(de.pokerth.protocol.ProtoBuf.ReportGameAckMessage.ReportGameResult value) { if (value == null) { throw new NullPointerException(); @@ -37481,87 +47126,249 @@ public final class ProtoBuf { return this; } + /** + * required .ReportGameAckMessage.ReportGameResult reportGameResult = 2; + */ public Builder clearReportGameResult() { bitField0_ = (bitField0_ & ~0x00000002); reportGameResult_ = de.pokerth.protocol.ProtoBuf.ReportGameAckMessage.ReportGameResult.gameReportAccepted; return this; } - + // @@protoc_insertion_point(builder_scope:ReportGameAckMessage) } - + static { defaultInstance = new ReportGameAckMessage(true); defaultInstance.initFields(); } - + // @@protoc_insertion_point(class_scope:ReportGameAckMessage) } - + public interface ErrorMessageOrBuilder extends com.google.protobuf.MessageLiteOrBuilder { - + // required .ErrorMessage.ErrorReason errorReason = 1; + /** + * required .ErrorMessage.ErrorReason errorReason = 1; + */ boolean hasErrorReason(); + /** + * required .ErrorMessage.ErrorReason errorReason = 1; + */ de.pokerth.protocol.ProtoBuf.ErrorMessage.ErrorReason getErrorReason(); } + /** + * Protobuf type {@code ErrorMessage} + */ public static final class ErrorMessage extends com.google.protobuf.GeneratedMessageLite implements ErrorMessageOrBuilder { // Use ErrorMessage.newBuilder() to construct. - private ErrorMessage(Builder builder) { + private ErrorMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); + } private ErrorMessage(boolean noInit) {} - + private static final ErrorMessage defaultInstance; public static ErrorMessage getDefaultInstance() { return defaultInstance; } - + public ErrorMessage getDefaultInstanceForType() { return defaultInstance; } - + + private ErrorMessage( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + initFields(); + int mutable_bitField0_ = 0; + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: { + if (!parseUnknownField(input, + extensionRegistry, tag)) { + done = true; + } + break; + } + case 8: { + int rawValue = input.readEnum(); + de.pokerth.protocol.ProtoBuf.ErrorMessage.ErrorReason value = de.pokerth.protocol.ProtoBuf.ErrorMessage.ErrorReason.valueOf(rawValue); + if (value != null) { + bitField0_ |= 0x00000001; + errorReason_ = value; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e.getMessage()).setUnfinishedMessage(this); + } finally { + makeExtensionsImmutable(); + } + } + public static com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + public ErrorMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ErrorMessage(input, extensionRegistry); + } + }; + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + /** + * Protobuf enum {@code ErrorMessage.ErrorReason} + */ public enum ErrorReason implements com.google.protobuf.Internal.EnumLite { + /** + * reserved = 0; + */ reserved(0, 0), + /** + * initVersionNotSupported = 1; + */ initVersionNotSupported(1, 1), + /** + * initServerFull = 2; + */ initServerFull(2, 2), + /** + * initAuthFailure = 3; + */ initAuthFailure(3, 3), + /** + * initPlayerNameInUse = 4; + */ initPlayerNameInUse(4, 4), + /** + * initInvalidPlayerName = 5; + */ initInvalidPlayerName(5, 5), + /** + * initServerMaintenance = 6; + */ initServerMaintenance(6, 6), + /** + * initBlocked = 7; + */ initBlocked(7, 7), + /** + * avatarTooLarge = 8; + */ avatarTooLarge(8, 8), + /** + * invalidPacket = 9; + */ invalidPacket(9, 9), + /** + * invalidState = 10; + */ invalidState(10, 10), + /** + * kickedFromServer = 11; + */ kickedFromServer(11, 11), + /** + * bannedFromServer = 12; + */ bannedFromServer(12, 12), + /** + * blockedByServer = 13; + */ blockedByServer(13, 13), + /** + * sessionTimeout = 14; + */ sessionTimeout(14, 14), ; - + + /** + * reserved = 0; + */ public static final int reserved_VALUE = 0; + /** + * initVersionNotSupported = 1; + */ public static final int initVersionNotSupported_VALUE = 1; + /** + * initServerFull = 2; + */ public static final int initServerFull_VALUE = 2; + /** + * initAuthFailure = 3; + */ public static final int initAuthFailure_VALUE = 3; + /** + * initPlayerNameInUse = 4; + */ public static final int initPlayerNameInUse_VALUE = 4; + /** + * initInvalidPlayerName = 5; + */ public static final int initInvalidPlayerName_VALUE = 5; + /** + * initServerMaintenance = 6; + */ public static final int initServerMaintenance_VALUE = 6; + /** + * initBlocked = 7; + */ public static final int initBlocked_VALUE = 7; + /** + * avatarTooLarge = 8; + */ public static final int avatarTooLarge_VALUE = 8; + /** + * invalidPacket = 9; + */ public static final int invalidPacket_VALUE = 9; + /** + * invalidState = 10; + */ public static final int invalidState_VALUE = 10; + /** + * kickedFromServer = 11; + */ public static final int kickedFromServer_VALUE = 11; + /** + * bannedFromServer = 12; + */ public static final int bannedFromServer_VALUE = 12; + /** + * blockedByServer = 13; + */ public static final int blockedByServer_VALUE = 13; + /** + * sessionTimeout = 14; + */ public static final int sessionTimeout_VALUE = 14; - - + + public final int getNumber() { return value; } - + public static ErrorReason valueOf(int value) { switch (value) { case 0: return reserved; @@ -37582,7 +47389,7 @@ public final class ProtoBuf { default: return null; } } - + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; @@ -37594,27 +47401,33 @@ public final class ProtoBuf { return ErrorReason.valueOf(number); } }; - + private final int value; - + private ErrorReason(int index, int value) { this.value = value; } - + // @@protoc_insertion_point(enum_scope:ErrorMessage.ErrorReason) } - + private int bitField0_; // required .ErrorMessage.ErrorReason errorReason = 1; public static final int ERRORREASON_FIELD_NUMBER = 1; private de.pokerth.protocol.ProtoBuf.ErrorMessage.ErrorReason errorReason_; + /** + * required .ErrorMessage.ErrorReason errorReason = 1; + */ public boolean hasErrorReason() { return ((bitField0_ & 0x00000001) == 0x00000001); } + /** + * required .ErrorMessage.ErrorReason errorReason = 1; + */ public de.pokerth.protocol.ProtoBuf.ErrorMessage.ErrorReason getErrorReason() { return errorReason_; } - + private void initFields() { errorReason_ = de.pokerth.protocol.ProtoBuf.ErrorMessage.ErrorReason.reserved; } @@ -37622,7 +47435,7 @@ public final class ProtoBuf { public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; - + if (!hasErrorReason()) { memoizedIsInitialized = 0; return false; @@ -37630,7 +47443,7 @@ public final class ProtoBuf { memoizedIsInitialized = 1; return true; } - + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); @@ -37638,12 +47451,12 @@ public final class ProtoBuf { output.writeEnum(1, errorReason_.getNumber()); } } - + private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; - + size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream @@ -37652,88 +47465,77 @@ public final class ProtoBuf { memoizedSerializedSize = size; return size; } - + private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } - + public static de.pokerth.protocol.ProtoBuf.ErrorMessage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data).buildParsed(); + return PARSER.parseFrom(data); } public static de.pokerth.protocol.ProtoBuf.ErrorMessage parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(data, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.ErrorMessage parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data).buildParsed(); + return PARSER.parseFrom(data); } public static de.pokerth.protocol.ProtoBuf.ErrorMessage parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(data, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.ErrorMessage parseFrom(java.io.InputStream input) throws java.io.IOException { - return newBuilder().mergeFrom(input).buildParsed(); + return PARSER.parseFrom(input); } public static de.pokerth.protocol.ProtoBuf.ErrorMessage parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return newBuilder().mergeFrom(input, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.ErrorMessage parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - Builder builder = newBuilder(); - if (builder.mergeDelimitedFrom(input)) { - return builder.buildParsed(); - } else { - return null; - } + return PARSER.parseDelimitedFrom(input); } public static de.pokerth.protocol.ProtoBuf.ErrorMessage parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - Builder builder = newBuilder(); - if (builder.mergeDelimitedFrom(input, extensionRegistry)) { - return builder.buildParsed(); - } else { - return null; - } + return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.ErrorMessage parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return newBuilder().mergeFrom(input).buildParsed(); + return PARSER.parseFrom(input); } public static de.pokerth.protocol.ProtoBuf.ErrorMessage parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return newBuilder().mergeFrom(input, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(input, extensionRegistry); } - + public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.ErrorMessage prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } - + + /** + * Protobuf type {@code ErrorMessage} + */ public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.ErrorMessage, Builder> @@ -37742,28 +47544,28 @@ public final class ProtoBuf { private Builder() { maybeForceBuilderInitialization(); } - + private void maybeForceBuilderInitialization() { } private static Builder create() { return new Builder(); } - + public Builder clear() { super.clear(); errorReason_ = de.pokerth.protocol.ProtoBuf.ErrorMessage.ErrorReason.reserved; bitField0_ = (bitField0_ & ~0x00000001); return this; } - + public Builder clone() { return create().mergeFrom(buildPartial()); } - + public de.pokerth.protocol.ProtoBuf.ErrorMessage getDefaultInstanceForType() { return de.pokerth.protocol.ProtoBuf.ErrorMessage.getDefaultInstance(); } - + public de.pokerth.protocol.ProtoBuf.ErrorMessage build() { de.pokerth.protocol.ProtoBuf.ErrorMessage result = buildPartial(); if (!result.isInitialized()) { @@ -37771,17 +47573,7 @@ public final class ProtoBuf { } return result; } - - private de.pokerth.protocol.ProtoBuf.ErrorMessage buildParsed() - throws com.google.protobuf.InvalidProtocolBufferException { - de.pokerth.protocol.ProtoBuf.ErrorMessage result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException( - result).asInvalidProtocolBufferException(); - } - return result; - } - + public de.pokerth.protocol.ProtoBuf.ErrorMessage buildPartial() { de.pokerth.protocol.ProtoBuf.ErrorMessage result = new de.pokerth.protocol.ProtoBuf.ErrorMessage(this); int from_bitField0_ = bitField0_; @@ -37793,7 +47585,7 @@ public final class ProtoBuf { result.bitField0_ = to_bitField0_; return result; } - + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.ErrorMessage other) { if (other == de.pokerth.protocol.ProtoBuf.ErrorMessage.getDefaultInstance()) return this; if (other.hasErrorReason()) { @@ -37801,7 +47593,7 @@ public final class ProtoBuf { } return this; } - + public final boolean isInitialized() { if (!hasErrorReason()) { @@ -37809,47 +47601,43 @@ public final class ProtoBuf { } return true; } - + public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - while (true) { - int tag = input.readTag(); - switch (tag) { - case 0: - - return this; - default: { - if (!parseUnknownField(input, extensionRegistry, tag)) { - - return this; - } - break; - } - case 8: { - int rawValue = input.readEnum(); - de.pokerth.protocol.ProtoBuf.ErrorMessage.ErrorReason value = de.pokerth.protocol.ProtoBuf.ErrorMessage.ErrorReason.valueOf(rawValue); - if (value != null) { - bitField0_ |= 0x00000001; - errorReason_ = value; - } - break; - } + de.pokerth.protocol.ProtoBuf.ErrorMessage parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (de.pokerth.protocol.ProtoBuf.ErrorMessage) e.getUnfinishedMessage(); + throw e; + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); } } + return this; } - private int bitField0_; - + // required .ErrorMessage.ErrorReason errorReason = 1; private de.pokerth.protocol.ProtoBuf.ErrorMessage.ErrorReason errorReason_ = de.pokerth.protocol.ProtoBuf.ErrorMessage.ErrorReason.reserved; + /** + * required .ErrorMessage.ErrorReason errorReason = 1; + */ public boolean hasErrorReason() { return ((bitField0_ & 0x00000001) == 0x00000001); } + /** + * required .ErrorMessage.ErrorReason errorReason = 1; + */ public de.pokerth.protocol.ProtoBuf.ErrorMessage.ErrorReason getErrorReason() { return errorReason_; } + /** + * required .ErrorMessage.ErrorReason errorReason = 1; + */ public Builder setErrorReason(de.pokerth.protocol.ProtoBuf.ErrorMessage.ErrorReason value) { if (value == null) { throw new NullPointerException(); @@ -37859,60 +47647,131 @@ public final class ProtoBuf { return this; } + /** + * required .ErrorMessage.ErrorReason errorReason = 1; + */ public Builder clearErrorReason() { bitField0_ = (bitField0_ & ~0x00000001); errorReason_ = de.pokerth.protocol.ProtoBuf.ErrorMessage.ErrorReason.reserved; return this; } - + // @@protoc_insertion_point(builder_scope:ErrorMessage) } - + static { defaultInstance = new ErrorMessage(true); defaultInstance.initFields(); } - + // @@protoc_insertion_point(class_scope:ErrorMessage) } - + public interface AdminRemoveGameMessageOrBuilder extends com.google.protobuf.MessageLiteOrBuilder { - + // required uint32 removeGameId = 1; + /** + * required uint32 removeGameId = 1; + */ boolean hasRemoveGameId(); + /** + * required uint32 removeGameId = 1; + */ int getRemoveGameId(); } + /** + * Protobuf type {@code AdminRemoveGameMessage} + */ public static final class AdminRemoveGameMessage extends com.google.protobuf.GeneratedMessageLite implements AdminRemoveGameMessageOrBuilder { // Use AdminRemoveGameMessage.newBuilder() to construct. - private AdminRemoveGameMessage(Builder builder) { + private AdminRemoveGameMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); + } private AdminRemoveGameMessage(boolean noInit) {} - + private static final AdminRemoveGameMessage defaultInstance; public static AdminRemoveGameMessage getDefaultInstance() { return defaultInstance; } - + public AdminRemoveGameMessage getDefaultInstanceForType() { return defaultInstance; } - + + private AdminRemoveGameMessage( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + initFields(); + int mutable_bitField0_ = 0; + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: { + if (!parseUnknownField(input, + extensionRegistry, tag)) { + done = true; + } + break; + } + case 8: { + bitField0_ |= 0x00000001; + removeGameId_ = input.readUInt32(); + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e.getMessage()).setUnfinishedMessage(this); + } finally { + makeExtensionsImmutable(); + } + } + public static com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + public AdminRemoveGameMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AdminRemoveGameMessage(input, extensionRegistry); + } + }; + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + private int bitField0_; // required uint32 removeGameId = 1; public static final int REMOVEGAMEID_FIELD_NUMBER = 1; private int removeGameId_; + /** + * required uint32 removeGameId = 1; + */ public boolean hasRemoveGameId() { return ((bitField0_ & 0x00000001) == 0x00000001); } + /** + * required uint32 removeGameId = 1; + */ public int getRemoveGameId() { return removeGameId_; } - + private void initFields() { removeGameId_ = 0; } @@ -37920,7 +47779,7 @@ public final class ProtoBuf { public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; - + if (!hasRemoveGameId()) { memoizedIsInitialized = 0; return false; @@ -37928,7 +47787,7 @@ public final class ProtoBuf { memoizedIsInitialized = 1; return true; } - + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); @@ -37936,12 +47795,12 @@ public final class ProtoBuf { output.writeUInt32(1, removeGameId_); } } - + private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; - + size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream @@ -37950,88 +47809,77 @@ public final class ProtoBuf { memoizedSerializedSize = size; return size; } - + private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } - + public static de.pokerth.protocol.ProtoBuf.AdminRemoveGameMessage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data).buildParsed(); + return PARSER.parseFrom(data); } public static de.pokerth.protocol.ProtoBuf.AdminRemoveGameMessage parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(data, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.AdminRemoveGameMessage parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data).buildParsed(); + return PARSER.parseFrom(data); } public static de.pokerth.protocol.ProtoBuf.AdminRemoveGameMessage parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(data, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.AdminRemoveGameMessage parseFrom(java.io.InputStream input) throws java.io.IOException { - return newBuilder().mergeFrom(input).buildParsed(); + return PARSER.parseFrom(input); } public static de.pokerth.protocol.ProtoBuf.AdminRemoveGameMessage parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return newBuilder().mergeFrom(input, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.AdminRemoveGameMessage parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - Builder builder = newBuilder(); - if (builder.mergeDelimitedFrom(input)) { - return builder.buildParsed(); - } else { - return null; - } + return PARSER.parseDelimitedFrom(input); } public static de.pokerth.protocol.ProtoBuf.AdminRemoveGameMessage parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - Builder builder = newBuilder(); - if (builder.mergeDelimitedFrom(input, extensionRegistry)) { - return builder.buildParsed(); - } else { - return null; - } + return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.AdminRemoveGameMessage parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return newBuilder().mergeFrom(input).buildParsed(); + return PARSER.parseFrom(input); } public static de.pokerth.protocol.ProtoBuf.AdminRemoveGameMessage parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return newBuilder().mergeFrom(input, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(input, extensionRegistry); } - + public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.AdminRemoveGameMessage prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } - + + /** + * Protobuf type {@code AdminRemoveGameMessage} + */ public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.AdminRemoveGameMessage, Builder> @@ -38040,28 +47888,28 @@ public final class ProtoBuf { private Builder() { maybeForceBuilderInitialization(); } - + private void maybeForceBuilderInitialization() { } private static Builder create() { return new Builder(); } - + public Builder clear() { super.clear(); removeGameId_ = 0; bitField0_ = (bitField0_ & ~0x00000001); return this; } - + public Builder clone() { return create().mergeFrom(buildPartial()); } - + public de.pokerth.protocol.ProtoBuf.AdminRemoveGameMessage getDefaultInstanceForType() { return de.pokerth.protocol.ProtoBuf.AdminRemoveGameMessage.getDefaultInstance(); } - + public de.pokerth.protocol.ProtoBuf.AdminRemoveGameMessage build() { de.pokerth.protocol.ProtoBuf.AdminRemoveGameMessage result = buildPartial(); if (!result.isInitialized()) { @@ -38069,17 +47917,7 @@ public final class ProtoBuf { } return result; } - - private de.pokerth.protocol.ProtoBuf.AdminRemoveGameMessage buildParsed() - throws com.google.protobuf.InvalidProtocolBufferException { - de.pokerth.protocol.ProtoBuf.AdminRemoveGameMessage result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException( - result).asInvalidProtocolBufferException(); - } - return result; - } - + public de.pokerth.protocol.ProtoBuf.AdminRemoveGameMessage buildPartial() { de.pokerth.protocol.ProtoBuf.AdminRemoveGameMessage result = new de.pokerth.protocol.ProtoBuf.AdminRemoveGameMessage(this); int from_bitField0_ = bitField0_; @@ -38091,7 +47929,7 @@ public final class ProtoBuf { result.bitField0_ = to_bitField0_; return result; } - + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.AdminRemoveGameMessage other) { if (other == de.pokerth.protocol.ProtoBuf.AdminRemoveGameMessage.getDefaultInstance()) return this; if (other.hasRemoveGameId()) { @@ -38099,7 +47937,7 @@ public final class ProtoBuf { } return this; } - + public final boolean isInitialized() { if (!hasRemoveGameId()) { @@ -38107,392 +47945,133 @@ public final class ProtoBuf { } return true; } - + public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - while (true) { - int tag = input.readTag(); - switch (tag) { - case 0: - - return this; - default: { - if (!parseUnknownField(input, extensionRegistry, tag)) { - - return this; - } - break; - } - case 8: { - bitField0_ |= 0x00000001; - removeGameId_ = input.readUInt32(); - break; - } + de.pokerth.protocol.ProtoBuf.AdminRemoveGameMessage parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (de.pokerth.protocol.ProtoBuf.AdminRemoveGameMessage) e.getUnfinishedMessage(); + throw e; + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); } } + return this; } - private int bitField0_; - + // required uint32 removeGameId = 1; private int removeGameId_ ; + /** + * required uint32 removeGameId = 1; + */ public boolean hasRemoveGameId() { return ((bitField0_ & 0x00000001) == 0x00000001); } + /** + * required uint32 removeGameId = 1; + */ public int getRemoveGameId() { return removeGameId_; } + /** + * required uint32 removeGameId = 1; + */ public Builder setRemoveGameId(int value) { bitField0_ |= 0x00000001; removeGameId_ = value; return this; } + /** + * required uint32 removeGameId = 1; + */ public Builder clearRemoveGameId() { bitField0_ = (bitField0_ & ~0x00000001); removeGameId_ = 0; return this; } - + // @@protoc_insertion_point(builder_scope:AdminRemoveGameMessage) } - + static { defaultInstance = new AdminRemoveGameMessage(true); defaultInstance.initFields(); } - + // @@protoc_insertion_point(class_scope:AdminRemoveGameMessage) } - + public interface AdminRemoveGameAckMessageOrBuilder extends com.google.protobuf.MessageLiteOrBuilder { - + // required uint32 removeGameId = 1; + /** + * required uint32 removeGameId = 1; + */ boolean hasRemoveGameId(); + /** + * required uint32 removeGameId = 1; + */ int getRemoveGameId(); - + // required .AdminRemoveGameAckMessage.AdminRemoveGameResult removeGameResult = 2; + /** + * required .AdminRemoveGameAckMessage.AdminRemoveGameResult removeGameResult = 2; + */ boolean hasRemoveGameResult(); + /** + * required .AdminRemoveGameAckMessage.AdminRemoveGameResult removeGameResult = 2; + */ de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage.AdminRemoveGameResult getRemoveGameResult(); } + /** + * Protobuf type {@code AdminRemoveGameAckMessage} + */ public static final class AdminRemoveGameAckMessage extends com.google.protobuf.GeneratedMessageLite implements AdminRemoveGameAckMessageOrBuilder { // Use AdminRemoveGameAckMessage.newBuilder() to construct. - private AdminRemoveGameAckMessage(Builder builder) { + private AdminRemoveGameAckMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); + } private AdminRemoveGameAckMessage(boolean noInit) {} - + private static final AdminRemoveGameAckMessage defaultInstance; public static AdminRemoveGameAckMessage getDefaultInstance() { return defaultInstance; } - + public AdminRemoveGameAckMessage getDefaultInstanceForType() { return defaultInstance; } - - public enum AdminRemoveGameResult - implements com.google.protobuf.Internal.EnumLite { - gameRemoveAccepted(0, 0), - gameRemoveInvalid(1, 1), - ; - - public static final int gameRemoveAccepted_VALUE = 0; - public static final int gameRemoveInvalid_VALUE = 1; - - - public final int getNumber() { return value; } - - public static AdminRemoveGameResult valueOf(int value) { - switch (value) { - case 0: return gameRemoveAccepted; - case 1: return gameRemoveInvalid; - default: return null; - } - } - - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { - return internalValueMap; - } - private static com.google.protobuf.Internal.EnumLiteMap - internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public AdminRemoveGameResult findValueByNumber(int number) { - return AdminRemoveGameResult.valueOf(number); - } - }; - - private final int value; - - private AdminRemoveGameResult(int index, int value) { - this.value = value; - } - - // @@protoc_insertion_point(enum_scope:AdminRemoveGameAckMessage.AdminRemoveGameResult) - } - - private int bitField0_; - // required uint32 removeGameId = 1; - public static final int REMOVEGAMEID_FIELD_NUMBER = 1; - private int removeGameId_; - public boolean hasRemoveGameId() { - return ((bitField0_ & 0x00000001) == 0x00000001); - } - public int getRemoveGameId() { - return removeGameId_; - } - - // required .AdminRemoveGameAckMessage.AdminRemoveGameResult removeGameResult = 2; - public static final int REMOVEGAMERESULT_FIELD_NUMBER = 2; - private de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage.AdminRemoveGameResult removeGameResult_; - public boolean hasRemoveGameResult() { - return ((bitField0_ & 0x00000002) == 0x00000002); - } - public de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage.AdminRemoveGameResult getRemoveGameResult() { - return removeGameResult_; - } - - private void initFields() { - removeGameId_ = 0; - removeGameResult_ = de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage.AdminRemoveGameResult.gameRemoveAccepted; - } - private byte memoizedIsInitialized = -1; - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; - - if (!hasRemoveGameId()) { - memoizedIsInitialized = 0; - return false; - } - if (!hasRemoveGameResult()) { - memoizedIsInitialized = 0; - return false; - } - memoizedIsInitialized = 1; - return true; - } - - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - getSerializedSize(); - if (((bitField0_ & 0x00000001) == 0x00000001)) { - output.writeUInt32(1, removeGameId_); - } - if (((bitField0_ & 0x00000002) == 0x00000002)) { - output.writeEnum(2, removeGameResult_.getNumber()); - } - } - - private int memoizedSerializedSize = -1; - public int getSerializedSize() { - int size = memoizedSerializedSize; - if (size != -1) return size; - - size = 0; - if (((bitField0_ & 0x00000001) == 0x00000001)) { - size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(1, removeGameId_); - } - if (((bitField0_ & 0x00000002) == 0x00000002)) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, removeGameResult_.getNumber()); - } - memoizedSerializedSize = size; - return size; - } - - private static final long serialVersionUID = 0L; - @java.lang.Override - protected java.lang.Object writeReplace() - throws java.io.ObjectStreamException { - return super.writeReplace(); - } - - public static de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data).buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data, extensionRegistry) - .buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data).buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data, extensionRegistry) - .buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage parseFrom(java.io.InputStream input) - throws java.io.IOException { - return newBuilder().mergeFrom(input).buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return newBuilder().mergeFrom(input, extensionRegistry) - .buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - Builder builder = newBuilder(); - if (builder.mergeDelimitedFrom(input)) { - return builder.buildParsed(); - } else { - return null; - } - } - public static de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - Builder builder = newBuilder(); - if (builder.mergeDelimitedFrom(input, extensionRegistry)) { - return builder.buildParsed(); - } else { - return null; - } - } - public static de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return newBuilder().mergeFrom(input).buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage parseFrom( + + private AdminRemoveGameAckMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return newBuilder().mergeFrom(input, extensionRegistry) - .buildParsed(); - } - - public static Builder newBuilder() { return Builder.create(); } - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage prototype) { - return newBuilder().mergeFrom(prototype); - } - public Builder toBuilder() { return newBuilder(this); } - - public static final class Builder extends - com.google.protobuf.GeneratedMessageLite.Builder< - de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessageOrBuilder { - // Construct using de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - } - private static Builder create() { - return new Builder(); - } - - public Builder clear() { - super.clear(); - removeGameId_ = 0; - bitField0_ = (bitField0_ & ~0x00000001); - removeGameResult_ = de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage.AdminRemoveGameResult.gameRemoveAccepted; - bitField0_ = (bitField0_ & ~0x00000002); - return this; - } - - public Builder clone() { - return create().mergeFrom(buildPartial()); - } - - public de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage getDefaultInstanceForType() { - return de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage.getDefaultInstance(); - } - - public de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage build() { - de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - private de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage buildParsed() - throws com.google.protobuf.InvalidProtocolBufferException { - de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException( - result).asInvalidProtocolBufferException(); - } - return result; - } - - public de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage buildPartial() { - de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage result = new de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage(this); - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) == 0x00000001)) { - to_bitField0_ |= 0x00000001; - } - result.removeGameId_ = removeGameId_; - if (((from_bitField0_ & 0x00000002) == 0x00000002)) { - to_bitField0_ |= 0x00000002; - } - result.removeGameResult_ = removeGameResult_; - result.bitField0_ = to_bitField0_; - return result; - } - - public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage other) { - if (other == de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage.getDefaultInstance()) return this; - if (other.hasRemoveGameId()) { - setRemoveGameId(other.getRemoveGameId()); - } - if (other.hasRemoveGameResult()) { - setRemoveGameResult(other.getRemoveGameResult()); - } - return this; - } - - public final boolean isInitialized() { - if (!hasRemoveGameId()) { - - return false; - } - if (!hasRemoveGameResult()) { - - return false; - } - return true; - } - - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - while (true) { + throws com.google.protobuf.InvalidProtocolBufferException { + initFields(); + int mutable_bitField0_ = 0; + try { + boolean done = false; + while (!done) { int tag = input.readTag(); switch (tag) { case 0: - - return this; + done = true; + break; default: { - if (!parseUnknownField(input, extensionRegistry, tag)) { - - return this; + if (!parseUnknownField(input, + extensionRegistry, tag)) { + done = true; } break; } @@ -38512,39 +48091,387 @@ public final class ProtoBuf { } } } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e.getMessage()).setUnfinishedMessage(this); + } finally { + makeExtensionsImmutable(); + } + } + public static com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + public AdminRemoveGameAckMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AdminRemoveGameAckMessage(input, extensionRegistry); + } + }; + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + /** + * Protobuf enum {@code AdminRemoveGameAckMessage.AdminRemoveGameResult} + */ + public enum AdminRemoveGameResult + implements com.google.protobuf.Internal.EnumLite { + /** + * gameRemoveAccepted = 0; + */ + gameRemoveAccepted(0, 0), + /** + * gameRemoveInvalid = 1; + */ + gameRemoveInvalid(1, 1), + ; + + /** + * gameRemoveAccepted = 0; + */ + public static final int gameRemoveAccepted_VALUE = 0; + /** + * gameRemoveInvalid = 1; + */ + public static final int gameRemoveInvalid_VALUE = 1; + + + public final int getNumber() { return value; } + + public static AdminRemoveGameResult valueOf(int value) { + switch (value) { + case 0: return gameRemoveAccepted; + case 1: return gameRemoveInvalid; + default: return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { + return internalValueMap; + } + private static com.google.protobuf.Internal.EnumLiteMap + internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public AdminRemoveGameResult findValueByNumber(int number) { + return AdminRemoveGameResult.valueOf(number); + } + }; + + private final int value; + + private AdminRemoveGameResult(int index, int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:AdminRemoveGameAckMessage.AdminRemoveGameResult) + } + + private int bitField0_; + // required uint32 removeGameId = 1; + public static final int REMOVEGAMEID_FIELD_NUMBER = 1; + private int removeGameId_; + /** + * required uint32 removeGameId = 1; + */ + public boolean hasRemoveGameId() { + return ((bitField0_ & 0x00000001) == 0x00000001); + } + /** + * required uint32 removeGameId = 1; + */ + public int getRemoveGameId() { + return removeGameId_; + } + + // required .AdminRemoveGameAckMessage.AdminRemoveGameResult removeGameResult = 2; + public static final int REMOVEGAMERESULT_FIELD_NUMBER = 2; + private de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage.AdminRemoveGameResult removeGameResult_; + /** + * required .AdminRemoveGameAckMessage.AdminRemoveGameResult removeGameResult = 2; + */ + public boolean hasRemoveGameResult() { + return ((bitField0_ & 0x00000002) == 0x00000002); + } + /** + * required .AdminRemoveGameAckMessage.AdminRemoveGameResult removeGameResult = 2; + */ + public de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage.AdminRemoveGameResult getRemoveGameResult() { + return removeGameResult_; + } + + private void initFields() { + removeGameId_ = 0; + removeGameResult_ = de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage.AdminRemoveGameResult.gameRemoveAccepted; + } + private byte memoizedIsInitialized = -1; + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized != -1) return isInitialized == 1; + + if (!hasRemoveGameId()) { + memoizedIsInitialized = 0; + return false; + } + if (!hasRemoveGameResult()) { + memoizedIsInitialized = 0; + return false; + } + memoizedIsInitialized = 1; + return true; + } + + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + getSerializedSize(); + if (((bitField0_ & 0x00000001) == 0x00000001)) { + output.writeUInt32(1, removeGameId_); + } + if (((bitField0_ & 0x00000002) == 0x00000002)) { + output.writeEnum(2, removeGameResult_.getNumber()); + } + } + + private int memoizedSerializedSize = -1; + public int getSerializedSize() { + int size = memoizedSerializedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) == 0x00000001)) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(1, removeGameId_); + } + if (((bitField0_ & 0x00000002) == 0x00000002)) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, removeGameResult_.getNumber()); + } + memoizedSerializedSize = size; + return size; + } + + private static final long serialVersionUID = 0L; + @java.lang.Override + protected java.lang.Object writeReplace() + throws java.io.ObjectStreamException { + return super.writeReplace(); + } + + public static de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage parseFrom(java.io.InputStream input) + throws java.io.IOException { + return PARSER.parseFrom(input); + } + public static de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseFrom(input, extensionRegistry); + } + public static de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return PARSER.parseDelimitedFrom(input); + } + public static de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseDelimitedFrom(input, extensionRegistry); + } + public static de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return PARSER.parseFrom(input); + } + public static de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseFrom(input, extensionRegistry); + } + + public static Builder newBuilder() { return Builder.create(); } + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage prototype) { + return newBuilder().mergeFrom(prototype); + } + public Builder toBuilder() { return newBuilder(this); } + + /** + * Protobuf type {@code AdminRemoveGameAckMessage} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageLite.Builder< + de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage, Builder> + implements de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessageOrBuilder { + // Construct using de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + } + private static Builder create() { + return new Builder(); + } + + public Builder clear() { + super.clear(); + removeGameId_ = 0; + bitField0_ = (bitField0_ & ~0x00000001); + removeGameResult_ = de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage.AdminRemoveGameResult.gameRemoveAccepted; + bitField0_ = (bitField0_ & ~0x00000002); + return this; + } + + public Builder clone() { + return create().mergeFrom(buildPartial()); + } + + public de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage getDefaultInstanceForType() { + return de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage.getDefaultInstance(); + } + + public de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage build() { + de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + public de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage buildPartial() { + de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage result = new de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) == 0x00000001)) { + to_bitField0_ |= 0x00000001; + } + result.removeGameId_ = removeGameId_; + if (((from_bitField0_ & 0x00000002) == 0x00000002)) { + to_bitField0_ |= 0x00000002; + } + result.removeGameResult_ = removeGameResult_; + result.bitField0_ = to_bitField0_; + return result; + } + + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage other) { + if (other == de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage.getDefaultInstance()) return this; + if (other.hasRemoveGameId()) { + setRemoveGameId(other.getRemoveGameId()); + } + if (other.hasRemoveGameResult()) { + setRemoveGameResult(other.getRemoveGameResult()); + } + return this; + } + + public final boolean isInitialized() { + if (!hasRemoveGameId()) { + + return false; + } + if (!hasRemoveGameResult()) { + + return false; + } + return true; + } + + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage) e.getUnfinishedMessage(); + throw e; + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; } - private int bitField0_; - + // required uint32 removeGameId = 1; private int removeGameId_ ; + /** + * required uint32 removeGameId = 1; + */ public boolean hasRemoveGameId() { return ((bitField0_ & 0x00000001) == 0x00000001); } + /** + * required uint32 removeGameId = 1; + */ public int getRemoveGameId() { return removeGameId_; } + /** + * required uint32 removeGameId = 1; + */ public Builder setRemoveGameId(int value) { bitField0_ |= 0x00000001; removeGameId_ = value; return this; } + /** + * required uint32 removeGameId = 1; + */ public Builder clearRemoveGameId() { bitField0_ = (bitField0_ & ~0x00000001); removeGameId_ = 0; return this; } - + // required .AdminRemoveGameAckMessage.AdminRemoveGameResult removeGameResult = 2; private de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage.AdminRemoveGameResult removeGameResult_ = de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage.AdminRemoveGameResult.gameRemoveAccepted; + /** + * required .AdminRemoveGameAckMessage.AdminRemoveGameResult removeGameResult = 2; + */ public boolean hasRemoveGameResult() { return ((bitField0_ & 0x00000002) == 0x00000002); } + /** + * required .AdminRemoveGameAckMessage.AdminRemoveGameResult removeGameResult = 2; + */ public de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage.AdminRemoveGameResult getRemoveGameResult() { return removeGameResult_; } + /** + * required .AdminRemoveGameAckMessage.AdminRemoveGameResult removeGameResult = 2; + */ public Builder setRemoveGameResult(de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage.AdminRemoveGameResult value) { if (value == null) { throw new NullPointerException(); @@ -38554,60 +48481,131 @@ public final class ProtoBuf { return this; } + /** + * required .AdminRemoveGameAckMessage.AdminRemoveGameResult removeGameResult = 2; + */ public Builder clearRemoveGameResult() { bitField0_ = (bitField0_ & ~0x00000002); removeGameResult_ = de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage.AdminRemoveGameResult.gameRemoveAccepted; return this; } - + // @@protoc_insertion_point(builder_scope:AdminRemoveGameAckMessage) } - + static { defaultInstance = new AdminRemoveGameAckMessage(true); defaultInstance.initFields(); } - + // @@protoc_insertion_point(class_scope:AdminRemoveGameAckMessage) } - + public interface AdminBanPlayerMessageOrBuilder extends com.google.protobuf.MessageLiteOrBuilder { - + // required uint32 banPlayerId = 1; + /** + * required uint32 banPlayerId = 1; + */ boolean hasBanPlayerId(); + /** + * required uint32 banPlayerId = 1; + */ int getBanPlayerId(); } + /** + * Protobuf type {@code AdminBanPlayerMessage} + */ public static final class AdminBanPlayerMessage extends com.google.protobuf.GeneratedMessageLite implements AdminBanPlayerMessageOrBuilder { // Use AdminBanPlayerMessage.newBuilder() to construct. - private AdminBanPlayerMessage(Builder builder) { + private AdminBanPlayerMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); + } private AdminBanPlayerMessage(boolean noInit) {} - + private static final AdminBanPlayerMessage defaultInstance; public static AdminBanPlayerMessage getDefaultInstance() { return defaultInstance; } - + public AdminBanPlayerMessage getDefaultInstanceForType() { return defaultInstance; } - + + private AdminBanPlayerMessage( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + initFields(); + int mutable_bitField0_ = 0; + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: { + if (!parseUnknownField(input, + extensionRegistry, tag)) { + done = true; + } + break; + } + case 8: { + bitField0_ |= 0x00000001; + banPlayerId_ = input.readUInt32(); + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e.getMessage()).setUnfinishedMessage(this); + } finally { + makeExtensionsImmutable(); + } + } + public static com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + public AdminBanPlayerMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AdminBanPlayerMessage(input, extensionRegistry); + } + }; + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + private int bitField0_; // required uint32 banPlayerId = 1; public static final int BANPLAYERID_FIELD_NUMBER = 1; private int banPlayerId_; + /** + * required uint32 banPlayerId = 1; + */ public boolean hasBanPlayerId() { return ((bitField0_ & 0x00000001) == 0x00000001); } + /** + * required uint32 banPlayerId = 1; + */ public int getBanPlayerId() { return banPlayerId_; } - + private void initFields() { banPlayerId_ = 0; } @@ -38615,7 +48613,7 @@ public final class ProtoBuf { public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; - + if (!hasBanPlayerId()) { memoizedIsInitialized = 0; return false; @@ -38623,7 +48621,7 @@ public final class ProtoBuf { memoizedIsInitialized = 1; return true; } - + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); @@ -38631,12 +48629,12 @@ public final class ProtoBuf { output.writeUInt32(1, banPlayerId_); } } - + private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; - + size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream @@ -38645,88 +48643,77 @@ public final class ProtoBuf { memoizedSerializedSize = size; return size; } - + private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } - + public static de.pokerth.protocol.ProtoBuf.AdminBanPlayerMessage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data).buildParsed(); + return PARSER.parseFrom(data); } public static de.pokerth.protocol.ProtoBuf.AdminBanPlayerMessage parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(data, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.AdminBanPlayerMessage parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data).buildParsed(); + return PARSER.parseFrom(data); } public static de.pokerth.protocol.ProtoBuf.AdminBanPlayerMessage parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(data, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.AdminBanPlayerMessage parseFrom(java.io.InputStream input) throws java.io.IOException { - return newBuilder().mergeFrom(input).buildParsed(); + return PARSER.parseFrom(input); } public static de.pokerth.protocol.ProtoBuf.AdminBanPlayerMessage parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return newBuilder().mergeFrom(input, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.AdminBanPlayerMessage parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - Builder builder = newBuilder(); - if (builder.mergeDelimitedFrom(input)) { - return builder.buildParsed(); - } else { - return null; - } + return PARSER.parseDelimitedFrom(input); } public static de.pokerth.protocol.ProtoBuf.AdminBanPlayerMessage parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - Builder builder = newBuilder(); - if (builder.mergeDelimitedFrom(input, extensionRegistry)) { - return builder.buildParsed(); - } else { - return null; - } + return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.AdminBanPlayerMessage parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return newBuilder().mergeFrom(input).buildParsed(); + return PARSER.parseFrom(input); } public static de.pokerth.protocol.ProtoBuf.AdminBanPlayerMessage parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return newBuilder().mergeFrom(input, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(input, extensionRegistry); } - + public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.AdminBanPlayerMessage prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } - + + /** + * Protobuf type {@code AdminBanPlayerMessage} + */ public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.AdminBanPlayerMessage, Builder> @@ -38735,28 +48722,28 @@ public final class ProtoBuf { private Builder() { maybeForceBuilderInitialization(); } - + private void maybeForceBuilderInitialization() { } private static Builder create() { return new Builder(); } - + public Builder clear() { super.clear(); banPlayerId_ = 0; bitField0_ = (bitField0_ & ~0x00000001); return this; } - + public Builder clone() { return create().mergeFrom(buildPartial()); } - + public de.pokerth.protocol.ProtoBuf.AdminBanPlayerMessage getDefaultInstanceForType() { return de.pokerth.protocol.ProtoBuf.AdminBanPlayerMessage.getDefaultInstance(); } - + public de.pokerth.protocol.ProtoBuf.AdminBanPlayerMessage build() { de.pokerth.protocol.ProtoBuf.AdminBanPlayerMessage result = buildPartial(); if (!result.isInitialized()) { @@ -38764,17 +48751,7 @@ public final class ProtoBuf { } return result; } - - private de.pokerth.protocol.ProtoBuf.AdminBanPlayerMessage buildParsed() - throws com.google.protobuf.InvalidProtocolBufferException { - de.pokerth.protocol.ProtoBuf.AdminBanPlayerMessage result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException( - result).asInvalidProtocolBufferException(); - } - return result; - } - + public de.pokerth.protocol.ProtoBuf.AdminBanPlayerMessage buildPartial() { de.pokerth.protocol.ProtoBuf.AdminBanPlayerMessage result = new de.pokerth.protocol.ProtoBuf.AdminBanPlayerMessage(this); int from_bitField0_ = bitField0_; @@ -38786,7 +48763,7 @@ public final class ProtoBuf { result.bitField0_ = to_bitField0_; return result; } - + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.AdminBanPlayerMessage other) { if (other == de.pokerth.protocol.ProtoBuf.AdminBanPlayerMessage.getDefaultInstance()) return this; if (other.hasBanPlayerId()) { @@ -38794,7 +48771,7 @@ public final class ProtoBuf { } return this; } - + public final boolean isInitialized() { if (!hasBanPlayerId()) { @@ -38802,401 +48779,133 @@ public final class ProtoBuf { } return true; } - + public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - while (true) { - int tag = input.readTag(); - switch (tag) { - case 0: - - return this; - default: { - if (!parseUnknownField(input, extensionRegistry, tag)) { - - return this; - } - break; - } - case 8: { - bitField0_ |= 0x00000001; - banPlayerId_ = input.readUInt32(); - break; - } + de.pokerth.protocol.ProtoBuf.AdminBanPlayerMessage parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (de.pokerth.protocol.ProtoBuf.AdminBanPlayerMessage) e.getUnfinishedMessage(); + throw e; + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); } } + return this; } - private int bitField0_; - + // required uint32 banPlayerId = 1; private int banPlayerId_ ; + /** + * required uint32 banPlayerId = 1; + */ public boolean hasBanPlayerId() { return ((bitField0_ & 0x00000001) == 0x00000001); } + /** + * required uint32 banPlayerId = 1; + */ public int getBanPlayerId() { return banPlayerId_; } + /** + * required uint32 banPlayerId = 1; + */ public Builder setBanPlayerId(int value) { bitField0_ |= 0x00000001; banPlayerId_ = value; return this; } + /** + * required uint32 banPlayerId = 1; + */ public Builder clearBanPlayerId() { bitField0_ = (bitField0_ & ~0x00000001); banPlayerId_ = 0; return this; } - + // @@protoc_insertion_point(builder_scope:AdminBanPlayerMessage) } - + static { defaultInstance = new AdminBanPlayerMessage(true); defaultInstance.initFields(); } - + // @@protoc_insertion_point(class_scope:AdminBanPlayerMessage) } - + public interface AdminBanPlayerAckMessageOrBuilder extends com.google.protobuf.MessageLiteOrBuilder { - + // required uint32 banPlayerId = 1; + /** + * required uint32 banPlayerId = 1; + */ boolean hasBanPlayerId(); + /** + * required uint32 banPlayerId = 1; + */ int getBanPlayerId(); - + // required .AdminBanPlayerAckMessage.AdminBanPlayerResult banPlayerResult = 2; + /** + * required .AdminBanPlayerAckMessage.AdminBanPlayerResult banPlayerResult = 2; + */ boolean hasBanPlayerResult(); + /** + * required .AdminBanPlayerAckMessage.AdminBanPlayerResult banPlayerResult = 2; + */ de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage.AdminBanPlayerResult getBanPlayerResult(); } + /** + * Protobuf type {@code AdminBanPlayerAckMessage} + */ public static final class AdminBanPlayerAckMessage extends com.google.protobuf.GeneratedMessageLite implements AdminBanPlayerAckMessageOrBuilder { // Use AdminBanPlayerAckMessage.newBuilder() to construct. - private AdminBanPlayerAckMessage(Builder builder) { + private AdminBanPlayerAckMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); + } private AdminBanPlayerAckMessage(boolean noInit) {} - + private static final AdminBanPlayerAckMessage defaultInstance; public static AdminBanPlayerAckMessage getDefaultInstance() { return defaultInstance; } - + public AdminBanPlayerAckMessage getDefaultInstanceForType() { return defaultInstance; } - - public enum AdminBanPlayerResult - implements com.google.protobuf.Internal.EnumLite { - banPlayerAccepted(0, 0), - banPlayerPending(1, 1), - banPlayerNoDB(2, 2), - banPlayerDBError(3, 3), - banPlayerInvalid(4, 4), - ; - - public static final int banPlayerAccepted_VALUE = 0; - public static final int banPlayerPending_VALUE = 1; - public static final int banPlayerNoDB_VALUE = 2; - public static final int banPlayerDBError_VALUE = 3; - public static final int banPlayerInvalid_VALUE = 4; - - - public final int getNumber() { return value; } - - public static AdminBanPlayerResult valueOf(int value) { - switch (value) { - case 0: return banPlayerAccepted; - case 1: return banPlayerPending; - case 2: return banPlayerNoDB; - case 3: return banPlayerDBError; - case 4: return banPlayerInvalid; - default: return null; - } - } - - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { - return internalValueMap; - } - private static com.google.protobuf.Internal.EnumLiteMap - internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public AdminBanPlayerResult findValueByNumber(int number) { - return AdminBanPlayerResult.valueOf(number); - } - }; - - private final int value; - - private AdminBanPlayerResult(int index, int value) { - this.value = value; - } - - // @@protoc_insertion_point(enum_scope:AdminBanPlayerAckMessage.AdminBanPlayerResult) - } - - private int bitField0_; - // required uint32 banPlayerId = 1; - public static final int BANPLAYERID_FIELD_NUMBER = 1; - private int banPlayerId_; - public boolean hasBanPlayerId() { - return ((bitField0_ & 0x00000001) == 0x00000001); - } - public int getBanPlayerId() { - return banPlayerId_; - } - - // required .AdminBanPlayerAckMessage.AdminBanPlayerResult banPlayerResult = 2; - public static final int BANPLAYERRESULT_FIELD_NUMBER = 2; - private de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage.AdminBanPlayerResult banPlayerResult_; - public boolean hasBanPlayerResult() { - return ((bitField0_ & 0x00000002) == 0x00000002); - } - public de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage.AdminBanPlayerResult getBanPlayerResult() { - return banPlayerResult_; - } - - private void initFields() { - banPlayerId_ = 0; - banPlayerResult_ = de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage.AdminBanPlayerResult.banPlayerAccepted; - } - private byte memoizedIsInitialized = -1; - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; - - if (!hasBanPlayerId()) { - memoizedIsInitialized = 0; - return false; - } - if (!hasBanPlayerResult()) { - memoizedIsInitialized = 0; - return false; - } - memoizedIsInitialized = 1; - return true; - } - - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - getSerializedSize(); - if (((bitField0_ & 0x00000001) == 0x00000001)) { - output.writeUInt32(1, banPlayerId_); - } - if (((bitField0_ & 0x00000002) == 0x00000002)) { - output.writeEnum(2, banPlayerResult_.getNumber()); - } - } - - private int memoizedSerializedSize = -1; - public int getSerializedSize() { - int size = memoizedSerializedSize; - if (size != -1) return size; - - size = 0; - if (((bitField0_ & 0x00000001) == 0x00000001)) { - size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(1, banPlayerId_); - } - if (((bitField0_ & 0x00000002) == 0x00000002)) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, banPlayerResult_.getNumber()); - } - memoizedSerializedSize = size; - return size; - } - - private static final long serialVersionUID = 0L; - @java.lang.Override - protected java.lang.Object writeReplace() - throws java.io.ObjectStreamException { - return super.writeReplace(); - } - - public static de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data).buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data, extensionRegistry) - .buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data).buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data, extensionRegistry) - .buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage parseFrom(java.io.InputStream input) - throws java.io.IOException { - return newBuilder().mergeFrom(input).buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return newBuilder().mergeFrom(input, extensionRegistry) - .buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - Builder builder = newBuilder(); - if (builder.mergeDelimitedFrom(input)) { - return builder.buildParsed(); - } else { - return null; - } - } - public static de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - Builder builder = newBuilder(); - if (builder.mergeDelimitedFrom(input, extensionRegistry)) { - return builder.buildParsed(); - } else { - return null; - } - } - public static de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return newBuilder().mergeFrom(input).buildParsed(); - } - public static de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage parseFrom( + + private AdminBanPlayerAckMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return newBuilder().mergeFrom(input, extensionRegistry) - .buildParsed(); - } - - public static Builder newBuilder() { return Builder.create(); } - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage prototype) { - return newBuilder().mergeFrom(prototype); - } - public Builder toBuilder() { return newBuilder(this); } - - public static final class Builder extends - com.google.protobuf.GeneratedMessageLite.Builder< - de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessageOrBuilder { - // Construct using de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - } - private static Builder create() { - return new Builder(); - } - - public Builder clear() { - super.clear(); - banPlayerId_ = 0; - bitField0_ = (bitField0_ & ~0x00000001); - banPlayerResult_ = de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage.AdminBanPlayerResult.banPlayerAccepted; - bitField0_ = (bitField0_ & ~0x00000002); - return this; - } - - public Builder clone() { - return create().mergeFrom(buildPartial()); - } - - public de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage getDefaultInstanceForType() { - return de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage.getDefaultInstance(); - } - - public de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage build() { - de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - private de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage buildParsed() - throws com.google.protobuf.InvalidProtocolBufferException { - de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException( - result).asInvalidProtocolBufferException(); - } - return result; - } - - public de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage buildPartial() { - de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage result = new de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage(this); - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) == 0x00000001)) { - to_bitField0_ |= 0x00000001; - } - result.banPlayerId_ = banPlayerId_; - if (((from_bitField0_ & 0x00000002) == 0x00000002)) { - to_bitField0_ |= 0x00000002; - } - result.banPlayerResult_ = banPlayerResult_; - result.bitField0_ = to_bitField0_; - return result; - } - - public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage other) { - if (other == de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage.getDefaultInstance()) return this; - if (other.hasBanPlayerId()) { - setBanPlayerId(other.getBanPlayerId()); - } - if (other.hasBanPlayerResult()) { - setBanPlayerResult(other.getBanPlayerResult()); - } - return this; - } - - public final boolean isInitialized() { - if (!hasBanPlayerId()) { - - return false; - } - if (!hasBanPlayerResult()) { - - return false; - } - return true; - } - - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - while (true) { + throws com.google.protobuf.InvalidProtocolBufferException { + initFields(); + int mutable_bitField0_ = 0; + try { + boolean done = false; + while (!done) { int tag = input.readTag(); switch (tag) { case 0: - - return this; + done = true; + break; default: { - if (!parseUnknownField(input, extensionRegistry, tag)) { - - return this; + if (!parseUnknownField(input, + extensionRegistry, tag)) { + done = true; } break; } @@ -39216,39 +48925,414 @@ public final class ProtoBuf { } } } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e.getMessage()).setUnfinishedMessage(this); + } finally { + makeExtensionsImmutable(); + } + } + public static com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + public AdminBanPlayerAckMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AdminBanPlayerAckMessage(input, extensionRegistry); + } + }; + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + /** + * Protobuf enum {@code AdminBanPlayerAckMessage.AdminBanPlayerResult} + */ + public enum AdminBanPlayerResult + implements com.google.protobuf.Internal.EnumLite { + /** + * banPlayerAccepted = 0; + */ + banPlayerAccepted(0, 0), + /** + * banPlayerPending = 1; + */ + banPlayerPending(1, 1), + /** + * banPlayerNoDB = 2; + */ + banPlayerNoDB(2, 2), + /** + * banPlayerDBError = 3; + */ + banPlayerDBError(3, 3), + /** + * banPlayerInvalid = 4; + */ + banPlayerInvalid(4, 4), + ; + + /** + * banPlayerAccepted = 0; + */ + public static final int banPlayerAccepted_VALUE = 0; + /** + * banPlayerPending = 1; + */ + public static final int banPlayerPending_VALUE = 1; + /** + * banPlayerNoDB = 2; + */ + public static final int banPlayerNoDB_VALUE = 2; + /** + * banPlayerDBError = 3; + */ + public static final int banPlayerDBError_VALUE = 3; + /** + * banPlayerInvalid = 4; + */ + public static final int banPlayerInvalid_VALUE = 4; + + + public final int getNumber() { return value; } + + public static AdminBanPlayerResult valueOf(int value) { + switch (value) { + case 0: return banPlayerAccepted; + case 1: return banPlayerPending; + case 2: return banPlayerNoDB; + case 3: return banPlayerDBError; + case 4: return banPlayerInvalid; + default: return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { + return internalValueMap; + } + private static com.google.protobuf.Internal.EnumLiteMap + internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public AdminBanPlayerResult findValueByNumber(int number) { + return AdminBanPlayerResult.valueOf(number); + } + }; + + private final int value; + + private AdminBanPlayerResult(int index, int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:AdminBanPlayerAckMessage.AdminBanPlayerResult) + } + + private int bitField0_; + // required uint32 banPlayerId = 1; + public static final int BANPLAYERID_FIELD_NUMBER = 1; + private int banPlayerId_; + /** + * required uint32 banPlayerId = 1; + */ + public boolean hasBanPlayerId() { + return ((bitField0_ & 0x00000001) == 0x00000001); + } + /** + * required uint32 banPlayerId = 1; + */ + public int getBanPlayerId() { + return banPlayerId_; + } + + // required .AdminBanPlayerAckMessage.AdminBanPlayerResult banPlayerResult = 2; + public static final int BANPLAYERRESULT_FIELD_NUMBER = 2; + private de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage.AdminBanPlayerResult banPlayerResult_; + /** + * required .AdminBanPlayerAckMessage.AdminBanPlayerResult banPlayerResult = 2; + */ + public boolean hasBanPlayerResult() { + return ((bitField0_ & 0x00000002) == 0x00000002); + } + /** + * required .AdminBanPlayerAckMessage.AdminBanPlayerResult banPlayerResult = 2; + */ + public de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage.AdminBanPlayerResult getBanPlayerResult() { + return banPlayerResult_; + } + + private void initFields() { + banPlayerId_ = 0; + banPlayerResult_ = de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage.AdminBanPlayerResult.banPlayerAccepted; + } + private byte memoizedIsInitialized = -1; + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized != -1) return isInitialized == 1; + + if (!hasBanPlayerId()) { + memoizedIsInitialized = 0; + return false; + } + if (!hasBanPlayerResult()) { + memoizedIsInitialized = 0; + return false; + } + memoizedIsInitialized = 1; + return true; + } + + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + getSerializedSize(); + if (((bitField0_ & 0x00000001) == 0x00000001)) { + output.writeUInt32(1, banPlayerId_); + } + if (((bitField0_ & 0x00000002) == 0x00000002)) { + output.writeEnum(2, banPlayerResult_.getNumber()); + } + } + + private int memoizedSerializedSize = -1; + public int getSerializedSize() { + int size = memoizedSerializedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) == 0x00000001)) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(1, banPlayerId_); + } + if (((bitField0_ & 0x00000002) == 0x00000002)) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, banPlayerResult_.getNumber()); + } + memoizedSerializedSize = size; + return size; + } + + private static final long serialVersionUID = 0L; + @java.lang.Override + protected java.lang.Object writeReplace() + throws java.io.ObjectStreamException { + return super.writeReplace(); + } + + public static de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage parseFrom(java.io.InputStream input) + throws java.io.IOException { + return PARSER.parseFrom(input); + } + public static de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseFrom(input, extensionRegistry); + } + public static de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return PARSER.parseDelimitedFrom(input); + } + public static de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseDelimitedFrom(input, extensionRegistry); + } + public static de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return PARSER.parseFrom(input); + } + public static de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseFrom(input, extensionRegistry); + } + + public static Builder newBuilder() { return Builder.create(); } + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage prototype) { + return newBuilder().mergeFrom(prototype); + } + public Builder toBuilder() { return newBuilder(this); } + + /** + * Protobuf type {@code AdminBanPlayerAckMessage} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageLite.Builder< + de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage, Builder> + implements de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessageOrBuilder { + // Construct using de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + } + private static Builder create() { + return new Builder(); + } + + public Builder clear() { + super.clear(); + banPlayerId_ = 0; + bitField0_ = (bitField0_ & ~0x00000001); + banPlayerResult_ = de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage.AdminBanPlayerResult.banPlayerAccepted; + bitField0_ = (bitField0_ & ~0x00000002); + return this; + } + + public Builder clone() { + return create().mergeFrom(buildPartial()); + } + + public de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage getDefaultInstanceForType() { + return de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage.getDefaultInstance(); + } + + public de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage build() { + de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + public de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage buildPartial() { + de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage result = new de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) == 0x00000001)) { + to_bitField0_ |= 0x00000001; + } + result.banPlayerId_ = banPlayerId_; + if (((from_bitField0_ & 0x00000002) == 0x00000002)) { + to_bitField0_ |= 0x00000002; + } + result.banPlayerResult_ = banPlayerResult_; + result.bitField0_ = to_bitField0_; + return result; + } + + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage other) { + if (other == de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage.getDefaultInstance()) return this; + if (other.hasBanPlayerId()) { + setBanPlayerId(other.getBanPlayerId()); + } + if (other.hasBanPlayerResult()) { + setBanPlayerResult(other.getBanPlayerResult()); + } + return this; + } + + public final boolean isInitialized() { + if (!hasBanPlayerId()) { + + return false; + } + if (!hasBanPlayerResult()) { + + return false; + } + return true; + } + + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage) e.getUnfinishedMessage(); + throw e; + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; } - private int bitField0_; - + // required uint32 banPlayerId = 1; private int banPlayerId_ ; + /** + * required uint32 banPlayerId = 1; + */ public boolean hasBanPlayerId() { return ((bitField0_ & 0x00000001) == 0x00000001); } + /** + * required uint32 banPlayerId = 1; + */ public int getBanPlayerId() { return banPlayerId_; } + /** + * required uint32 banPlayerId = 1; + */ public Builder setBanPlayerId(int value) { bitField0_ |= 0x00000001; banPlayerId_ = value; return this; } + /** + * required uint32 banPlayerId = 1; + */ public Builder clearBanPlayerId() { bitField0_ = (bitField0_ & ~0x00000001); banPlayerId_ = 0; return this; } - + // required .AdminBanPlayerAckMessage.AdminBanPlayerResult banPlayerResult = 2; private de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage.AdminBanPlayerResult banPlayerResult_ = de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage.AdminBanPlayerResult.banPlayerAccepted; + /** + * required .AdminBanPlayerAckMessage.AdminBanPlayerResult banPlayerResult = 2; + */ public boolean hasBanPlayerResult() { return ((bitField0_ & 0x00000002) == 0x00000002); } + /** + * required .AdminBanPlayerAckMessage.AdminBanPlayerResult banPlayerResult = 2; + */ public de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage.AdminBanPlayerResult getBanPlayerResult() { return banPlayerResult_; } + /** + * required .AdminBanPlayerAckMessage.AdminBanPlayerResult banPlayerResult = 2; + */ public Builder setBanPlayerResult(de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage.AdminBanPlayerResult value) { if (value == null) { throw new NullPointerException(); @@ -39258,543 +49342,2642 @@ public final class ProtoBuf { return this; } + /** + * required .AdminBanPlayerAckMessage.AdminBanPlayerResult banPlayerResult = 2; + */ public Builder clearBanPlayerResult() { bitField0_ = (bitField0_ & ~0x00000002); banPlayerResult_ = de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage.AdminBanPlayerResult.banPlayerAccepted; return this; } - + // @@protoc_insertion_point(builder_scope:AdminBanPlayerAckMessage) } - + static { defaultInstance = new AdminBanPlayerAckMessage(true); defaultInstance.initFields(); } - + // @@protoc_insertion_point(class_scope:AdminBanPlayerAckMessage) } - + public interface PokerTHMessageOrBuilder extends com.google.protobuf.MessageLiteOrBuilder { - + // required .PokerTHMessage.PokerTHMessageType messageType = 1; + /** + * required .PokerTHMessage.PokerTHMessageType messageType = 1; + */ boolean hasMessageType(); + /** + * required .PokerTHMessage.PokerTHMessageType messageType = 1; + */ de.pokerth.protocol.ProtoBuf.PokerTHMessage.PokerTHMessageType getMessageType(); - + // optional .AnnounceMessage announceMessage = 2; + /** + * optional .AnnounceMessage announceMessage = 2; + */ boolean hasAnnounceMessage(); + /** + * optional .AnnounceMessage announceMessage = 2; + */ de.pokerth.protocol.ProtoBuf.AnnounceMessage getAnnounceMessage(); - + // optional .InitMessage initMessage = 3; + /** + * optional .InitMessage initMessage = 3; + */ boolean hasInitMessage(); + /** + * optional .InitMessage initMessage = 3; + */ de.pokerth.protocol.ProtoBuf.InitMessage getInitMessage(); - + // optional .AuthServerChallengeMessage authServerChallengeMessage = 4; + /** + * optional .AuthServerChallengeMessage authServerChallengeMessage = 4; + */ boolean hasAuthServerChallengeMessage(); + /** + * optional .AuthServerChallengeMessage authServerChallengeMessage = 4; + */ de.pokerth.protocol.ProtoBuf.AuthServerChallengeMessage getAuthServerChallengeMessage(); - + // optional .AuthClientResponseMessage authClientResponseMessage = 5; + /** + * optional .AuthClientResponseMessage authClientResponseMessage = 5; + */ boolean hasAuthClientResponseMessage(); + /** + * optional .AuthClientResponseMessage authClientResponseMessage = 5; + */ de.pokerth.protocol.ProtoBuf.AuthClientResponseMessage getAuthClientResponseMessage(); - + // optional .AuthServerVerificationMessage authServerVerificationMessage = 6; + /** + * optional .AuthServerVerificationMessage authServerVerificationMessage = 6; + */ boolean hasAuthServerVerificationMessage(); + /** + * optional .AuthServerVerificationMessage authServerVerificationMessage = 6; + */ de.pokerth.protocol.ProtoBuf.AuthServerVerificationMessage getAuthServerVerificationMessage(); - + // optional .InitAckMessage initAckMessage = 7; + /** + * optional .InitAckMessage initAckMessage = 7; + */ boolean hasInitAckMessage(); + /** + * optional .InitAckMessage initAckMessage = 7; + */ de.pokerth.protocol.ProtoBuf.InitAckMessage getInitAckMessage(); - + // optional .AvatarRequestMessage avatarRequestMessage = 8; + /** + * optional .AvatarRequestMessage avatarRequestMessage = 8; + */ boolean hasAvatarRequestMessage(); + /** + * optional .AvatarRequestMessage avatarRequestMessage = 8; + */ de.pokerth.protocol.ProtoBuf.AvatarRequestMessage getAvatarRequestMessage(); - + // optional .AvatarHeaderMessage avatarHeaderMessage = 9; + /** + * optional .AvatarHeaderMessage avatarHeaderMessage = 9; + */ boolean hasAvatarHeaderMessage(); + /** + * optional .AvatarHeaderMessage avatarHeaderMessage = 9; + */ de.pokerth.protocol.ProtoBuf.AvatarHeaderMessage getAvatarHeaderMessage(); - + // optional .AvatarDataMessage avatarDataMessage = 10; + /** + * optional .AvatarDataMessage avatarDataMessage = 10; + */ boolean hasAvatarDataMessage(); + /** + * optional .AvatarDataMessage avatarDataMessage = 10; + */ de.pokerth.protocol.ProtoBuf.AvatarDataMessage getAvatarDataMessage(); - + // optional .AvatarEndMessage avatarEndMessage = 11; + /** + * optional .AvatarEndMessage avatarEndMessage = 11; + */ boolean hasAvatarEndMessage(); + /** + * optional .AvatarEndMessage avatarEndMessage = 11; + */ de.pokerth.protocol.ProtoBuf.AvatarEndMessage getAvatarEndMessage(); - + // optional .UnknownAvatarMessage unknownAvatarMessage = 12; + /** + * optional .UnknownAvatarMessage unknownAvatarMessage = 12; + */ boolean hasUnknownAvatarMessage(); + /** + * optional .UnknownAvatarMessage unknownAvatarMessage = 12; + */ de.pokerth.protocol.ProtoBuf.UnknownAvatarMessage getUnknownAvatarMessage(); - + // optional .PlayerListMessage playerListMessage = 13; + /** + * optional .PlayerListMessage playerListMessage = 13; + */ boolean hasPlayerListMessage(); + /** + * optional .PlayerListMessage playerListMessage = 13; + */ de.pokerth.protocol.ProtoBuf.PlayerListMessage getPlayerListMessage(); - + // optional .GameListNewMessage gameListNewMessage = 14; + /** + * optional .GameListNewMessage gameListNewMessage = 14; + */ boolean hasGameListNewMessage(); + /** + * optional .GameListNewMessage gameListNewMessage = 14; + */ de.pokerth.protocol.ProtoBuf.GameListNewMessage getGameListNewMessage(); - + // optional .GameListUpdateMessage gameListUpdateMessage = 15; + /** + * optional .GameListUpdateMessage gameListUpdateMessage = 15; + */ boolean hasGameListUpdateMessage(); + /** + * optional .GameListUpdateMessage gameListUpdateMessage = 15; + */ de.pokerth.protocol.ProtoBuf.GameListUpdateMessage getGameListUpdateMessage(); - + // optional .GameListPlayerJoinedMessage gameListPlayerJoinedMessage = 16; + /** + * optional .GameListPlayerJoinedMessage gameListPlayerJoinedMessage = 16; + */ boolean hasGameListPlayerJoinedMessage(); + /** + * optional .GameListPlayerJoinedMessage gameListPlayerJoinedMessage = 16; + */ de.pokerth.protocol.ProtoBuf.GameListPlayerJoinedMessage getGameListPlayerJoinedMessage(); - + // optional .GameListPlayerLeftMessage gameListPlayerLeftMessage = 17; + /** + * optional .GameListPlayerLeftMessage gameListPlayerLeftMessage = 17; + */ boolean hasGameListPlayerLeftMessage(); + /** + * optional .GameListPlayerLeftMessage gameListPlayerLeftMessage = 17; + */ de.pokerth.protocol.ProtoBuf.GameListPlayerLeftMessage getGameListPlayerLeftMessage(); - + // optional .GameListAdminChangedMessage gameListAdminChangedMessage = 18; + /** + * optional .GameListAdminChangedMessage gameListAdminChangedMessage = 18; + */ boolean hasGameListAdminChangedMessage(); + /** + * optional .GameListAdminChangedMessage gameListAdminChangedMessage = 18; + */ de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessage getGameListAdminChangedMessage(); - + // optional .PlayerInfoRequestMessage playerInfoRequestMessage = 19; + /** + * optional .PlayerInfoRequestMessage playerInfoRequestMessage = 19; + */ boolean hasPlayerInfoRequestMessage(); + /** + * optional .PlayerInfoRequestMessage playerInfoRequestMessage = 19; + */ de.pokerth.protocol.ProtoBuf.PlayerInfoRequestMessage getPlayerInfoRequestMessage(); - + // optional .PlayerInfoReplyMessage playerInfoReplyMessage = 20; + /** + * optional .PlayerInfoReplyMessage playerInfoReplyMessage = 20; + */ boolean hasPlayerInfoReplyMessage(); + /** + * optional .PlayerInfoReplyMessage playerInfoReplyMessage = 20; + */ de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage getPlayerInfoReplyMessage(); - + // optional .SubscriptionRequestMessage subscriptionRequestMessage = 21; + /** + * optional .SubscriptionRequestMessage subscriptionRequestMessage = 21; + */ boolean hasSubscriptionRequestMessage(); + /** + * optional .SubscriptionRequestMessage subscriptionRequestMessage = 21; + */ de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage getSubscriptionRequestMessage(); - + // optional .JoinExistingGameMessage joinExistingGameMessage = 22; + /** + * optional .JoinExistingGameMessage joinExistingGameMessage = 22; + */ boolean hasJoinExistingGameMessage(); + /** + * optional .JoinExistingGameMessage joinExistingGameMessage = 22; + */ de.pokerth.protocol.ProtoBuf.JoinExistingGameMessage getJoinExistingGameMessage(); - + // optional .JoinNewGameMessage joinNewGameMessage = 23; + /** + * optional .JoinNewGameMessage joinNewGameMessage = 23; + */ boolean hasJoinNewGameMessage(); + /** + * optional .JoinNewGameMessage joinNewGameMessage = 23; + */ de.pokerth.protocol.ProtoBuf.JoinNewGameMessage getJoinNewGameMessage(); - + // optional .RejoinExistingGameMessage rejoinExistingGameMessage = 24; + /** + * optional .RejoinExistingGameMessage rejoinExistingGameMessage = 24; + */ boolean hasRejoinExistingGameMessage(); + /** + * optional .RejoinExistingGameMessage rejoinExistingGameMessage = 24; + */ de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessage getRejoinExistingGameMessage(); - + // optional .JoinGameAckMessage joinGameAckMessage = 25; + /** + * optional .JoinGameAckMessage joinGameAckMessage = 25; + */ boolean hasJoinGameAckMessage(); + /** + * optional .JoinGameAckMessage joinGameAckMessage = 25; + */ de.pokerth.protocol.ProtoBuf.JoinGameAckMessage getJoinGameAckMessage(); - + // optional .JoinGameFailedMessage joinGameFailedMessage = 26; + /** + * optional .JoinGameFailedMessage joinGameFailedMessage = 26; + */ boolean hasJoinGameFailedMessage(); + /** + * optional .JoinGameFailedMessage joinGameFailedMessage = 26; + */ de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage getJoinGameFailedMessage(); - + // optional .GamePlayerJoinedMessage gamePlayerJoinedMessage = 27; + /** + * optional .GamePlayerJoinedMessage gamePlayerJoinedMessage = 27; + */ boolean hasGamePlayerJoinedMessage(); + /** + * optional .GamePlayerJoinedMessage gamePlayerJoinedMessage = 27; + */ de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessage getGamePlayerJoinedMessage(); - + // optional .GamePlayerLeftMessage gamePlayerLeftMessage = 28; + /** + * optional .GamePlayerLeftMessage gamePlayerLeftMessage = 28; + */ boolean hasGamePlayerLeftMessage(); + /** + * optional .GamePlayerLeftMessage gamePlayerLeftMessage = 28; + */ de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage getGamePlayerLeftMessage(); - + // optional .GameAdminChangedMessage gameAdminChangedMessage = 29; + /** + * optional .GameAdminChangedMessage gameAdminChangedMessage = 29; + */ boolean hasGameAdminChangedMessage(); + /** + * optional .GameAdminChangedMessage gameAdminChangedMessage = 29; + */ de.pokerth.protocol.ProtoBuf.GameAdminChangedMessage getGameAdminChangedMessage(); - + // optional .RemovedFromGameMessage removedFromGameMessage = 30; + /** + * optional .RemovedFromGameMessage removedFromGameMessage = 30; + */ boolean hasRemovedFromGameMessage(); + /** + * optional .RemovedFromGameMessage removedFromGameMessage = 30; + */ de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage getRemovedFromGameMessage(); - + // optional .KickPlayerRequestMessage kickPlayerRequestMessage = 31; + /** + * optional .KickPlayerRequestMessage kickPlayerRequestMessage = 31; + */ boolean hasKickPlayerRequestMessage(); + /** + * optional .KickPlayerRequestMessage kickPlayerRequestMessage = 31; + */ de.pokerth.protocol.ProtoBuf.KickPlayerRequestMessage getKickPlayerRequestMessage(); - + // optional .LeaveGameRequestMessage leaveGameRequestMessage = 32; + /** + * optional .LeaveGameRequestMessage leaveGameRequestMessage = 32; + */ boolean hasLeaveGameRequestMessage(); + /** + * optional .LeaveGameRequestMessage leaveGameRequestMessage = 32; + */ de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessage getLeaveGameRequestMessage(); - + // optional .InvitePlayerToGameMessage invitePlayerToGameMessage = 33; + /** + * optional .InvitePlayerToGameMessage invitePlayerToGameMessage = 33; + */ boolean hasInvitePlayerToGameMessage(); + /** + * optional .InvitePlayerToGameMessage invitePlayerToGameMessage = 33; + */ de.pokerth.protocol.ProtoBuf.InvitePlayerToGameMessage getInvitePlayerToGameMessage(); - + // optional .InviteNotifyMessage inviteNotifyMessage = 34; + /** + * optional .InviteNotifyMessage inviteNotifyMessage = 34; + */ boolean hasInviteNotifyMessage(); + /** + * optional .InviteNotifyMessage inviteNotifyMessage = 34; + */ de.pokerth.protocol.ProtoBuf.InviteNotifyMessage getInviteNotifyMessage(); - + // optional .RejectGameInvitationMessage rejectGameInvitationMessage = 35; + /** + * optional .RejectGameInvitationMessage rejectGameInvitationMessage = 35; + */ boolean hasRejectGameInvitationMessage(); + /** + * optional .RejectGameInvitationMessage rejectGameInvitationMessage = 35; + */ de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage getRejectGameInvitationMessage(); - + // optional .RejectInvNotifyMessage rejectInvNotifyMessage = 36; + /** + * optional .RejectInvNotifyMessage rejectInvNotifyMessage = 36; + */ boolean hasRejectInvNotifyMessage(); + /** + * optional .RejectInvNotifyMessage rejectInvNotifyMessage = 36; + */ de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessage getRejectInvNotifyMessage(); - + // optional .StartEventMessage startEventMessage = 37; + /** + * optional .StartEventMessage startEventMessage = 37; + */ boolean hasStartEventMessage(); + /** + * optional .StartEventMessage startEventMessage = 37; + */ de.pokerth.protocol.ProtoBuf.StartEventMessage getStartEventMessage(); - + // optional .StartEventAckMessage startEventAckMessage = 38; + /** + * optional .StartEventAckMessage startEventAckMessage = 38; + */ boolean hasStartEventAckMessage(); + /** + * optional .StartEventAckMessage startEventAckMessage = 38; + */ de.pokerth.protocol.ProtoBuf.StartEventAckMessage getStartEventAckMessage(); - + // optional .GameStartInitialMessage gameStartInitialMessage = 39; + /** + * optional .GameStartInitialMessage gameStartInitialMessage = 39; + */ boolean hasGameStartInitialMessage(); + /** + * optional .GameStartInitialMessage gameStartInitialMessage = 39; + */ de.pokerth.protocol.ProtoBuf.GameStartInitialMessage getGameStartInitialMessage(); - + // optional .GameStartRejoinMessage gameStartRejoinMessage = 40; + /** + * optional .GameStartRejoinMessage gameStartRejoinMessage = 40; + */ boolean hasGameStartRejoinMessage(); + /** + * optional .GameStartRejoinMessage gameStartRejoinMessage = 40; + */ de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage getGameStartRejoinMessage(); - + // optional .HandStartMessage handStartMessage = 41; + /** + * optional .HandStartMessage handStartMessage = 41; + */ boolean hasHandStartMessage(); + /** + * optional .HandStartMessage handStartMessage = 41; + */ de.pokerth.protocol.ProtoBuf.HandStartMessage getHandStartMessage(); - + // optional .PlayersTurnMessage playersTurnMessage = 42; + /** + * optional .PlayersTurnMessage playersTurnMessage = 42; + */ boolean hasPlayersTurnMessage(); + /** + * optional .PlayersTurnMessage playersTurnMessage = 42; + */ de.pokerth.protocol.ProtoBuf.PlayersTurnMessage getPlayersTurnMessage(); - + // optional .MyActionRequestMessage myActionRequestMessage = 43; + /** + * optional .MyActionRequestMessage myActionRequestMessage = 43; + */ boolean hasMyActionRequestMessage(); + /** + * optional .MyActionRequestMessage myActionRequestMessage = 43; + */ de.pokerth.protocol.ProtoBuf.MyActionRequestMessage getMyActionRequestMessage(); - + // optional .YourActionRejectedMessage yourActionRejectedMessage = 44; + /** + * optional .YourActionRejectedMessage yourActionRejectedMessage = 44; + */ boolean hasYourActionRejectedMessage(); + /** + * optional .YourActionRejectedMessage yourActionRejectedMessage = 44; + */ de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage getYourActionRejectedMessage(); - + // optional .PlayersActionDoneMessage playersActionDoneMessage = 45; + /** + * optional .PlayersActionDoneMessage playersActionDoneMessage = 45; + */ boolean hasPlayersActionDoneMessage(); + /** + * optional .PlayersActionDoneMessage playersActionDoneMessage = 45; + */ de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessage getPlayersActionDoneMessage(); - + // optional .DealFlopCardsMessage dealFlopCardsMessage = 46; + /** + * optional .DealFlopCardsMessage dealFlopCardsMessage = 46; + */ boolean hasDealFlopCardsMessage(); + /** + * optional .DealFlopCardsMessage dealFlopCardsMessage = 46; + */ de.pokerth.protocol.ProtoBuf.DealFlopCardsMessage getDealFlopCardsMessage(); - + // optional .DealTurnCardMessage dealTurnCardMessage = 47; + /** + * optional .DealTurnCardMessage dealTurnCardMessage = 47; + */ boolean hasDealTurnCardMessage(); + /** + * optional .DealTurnCardMessage dealTurnCardMessage = 47; + */ de.pokerth.protocol.ProtoBuf.DealTurnCardMessage getDealTurnCardMessage(); - + // optional .DealRiverCardMessage dealRiverCardMessage = 48; + /** + * optional .DealRiverCardMessage dealRiverCardMessage = 48; + */ boolean hasDealRiverCardMessage(); + /** + * optional .DealRiverCardMessage dealRiverCardMessage = 48; + */ de.pokerth.protocol.ProtoBuf.DealRiverCardMessage getDealRiverCardMessage(); - + // optional .AllInShowCardsMessage allInShowCardsMessage = 49; + /** + * optional .AllInShowCardsMessage allInShowCardsMessage = 49; + */ boolean hasAllInShowCardsMessage(); + /** + * optional .AllInShowCardsMessage allInShowCardsMessage = 49; + */ de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage getAllInShowCardsMessage(); - + // optional .EndOfHandShowCardsMessage endOfHandShowCardsMessage = 50; + /** + * optional .EndOfHandShowCardsMessage endOfHandShowCardsMessage = 50; + */ boolean hasEndOfHandShowCardsMessage(); + /** + * optional .EndOfHandShowCardsMessage endOfHandShowCardsMessage = 50; + */ de.pokerth.protocol.ProtoBuf.EndOfHandShowCardsMessage getEndOfHandShowCardsMessage(); - + // optional .EndOfHandHideCardsMessage endOfHandHideCardsMessage = 51; + /** + * optional .EndOfHandHideCardsMessage endOfHandHideCardsMessage = 51; + */ boolean hasEndOfHandHideCardsMessage(); + /** + * optional .EndOfHandHideCardsMessage endOfHandHideCardsMessage = 51; + */ de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessage getEndOfHandHideCardsMessage(); - + // optional .ShowMyCardsRequestMessage showMyCardsRequestMessage = 52; + /** + * optional .ShowMyCardsRequestMessage showMyCardsRequestMessage = 52; + */ boolean hasShowMyCardsRequestMessage(); + /** + * optional .ShowMyCardsRequestMessage showMyCardsRequestMessage = 52; + */ de.pokerth.protocol.ProtoBuf.ShowMyCardsRequestMessage getShowMyCardsRequestMessage(); - + // optional .AfterHandShowCardsMessage afterHandShowCardsMessage = 53; + /** + * optional .AfterHandShowCardsMessage afterHandShowCardsMessage = 53; + */ boolean hasAfterHandShowCardsMessage(); + /** + * optional .AfterHandShowCardsMessage afterHandShowCardsMessage = 53; + */ de.pokerth.protocol.ProtoBuf.AfterHandShowCardsMessage getAfterHandShowCardsMessage(); - + // optional .EndOfGameMessage endOfGameMessage = 54; + /** + * optional .EndOfGameMessage endOfGameMessage = 54; + */ boolean hasEndOfGameMessage(); + /** + * optional .EndOfGameMessage endOfGameMessage = 54; + */ de.pokerth.protocol.ProtoBuf.EndOfGameMessage getEndOfGameMessage(); - + // optional .PlayerIdChangedMessage playerIdChangedMessage = 55; + /** + * optional .PlayerIdChangedMessage playerIdChangedMessage = 55; + */ boolean hasPlayerIdChangedMessage(); + /** + * optional .PlayerIdChangedMessage playerIdChangedMessage = 55; + */ de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessage getPlayerIdChangedMessage(); - + // optional .AskKickPlayerMessage askKickPlayerMessage = 56; + /** + * optional .AskKickPlayerMessage askKickPlayerMessage = 56; + */ boolean hasAskKickPlayerMessage(); + /** + * optional .AskKickPlayerMessage askKickPlayerMessage = 56; + */ de.pokerth.protocol.ProtoBuf.AskKickPlayerMessage getAskKickPlayerMessage(); - + // optional .AskKickDeniedMessage askKickDeniedMessage = 57; + /** + * optional .AskKickDeniedMessage askKickDeniedMessage = 57; + */ boolean hasAskKickDeniedMessage(); + /** + * optional .AskKickDeniedMessage askKickDeniedMessage = 57; + */ de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage getAskKickDeniedMessage(); - + // optional .StartKickPetitionMessage startKickPetitionMessage = 58; + /** + * optional .StartKickPetitionMessage startKickPetitionMessage = 58; + */ boolean hasStartKickPetitionMessage(); + /** + * optional .StartKickPetitionMessage startKickPetitionMessage = 58; + */ de.pokerth.protocol.ProtoBuf.StartKickPetitionMessage getStartKickPetitionMessage(); - + // optional .VoteKickRequestMessage voteKickRequestMessage = 59; + /** + * optional .VoteKickRequestMessage voteKickRequestMessage = 59; + */ boolean hasVoteKickRequestMessage(); + /** + * optional .VoteKickRequestMessage voteKickRequestMessage = 59; + */ de.pokerth.protocol.ProtoBuf.VoteKickRequestMessage getVoteKickRequestMessage(); - + // optional .VoteKickReplyMessage voteKickReplyMessage = 60; + /** + * optional .VoteKickReplyMessage voteKickReplyMessage = 60; + */ boolean hasVoteKickReplyMessage(); + /** + * optional .VoteKickReplyMessage voteKickReplyMessage = 60; + */ de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage getVoteKickReplyMessage(); - + // optional .KickPetitionUpdateMessage kickPetitionUpdateMessage = 61; + /** + * optional .KickPetitionUpdateMessage kickPetitionUpdateMessage = 61; + */ boolean hasKickPetitionUpdateMessage(); + /** + * optional .KickPetitionUpdateMessage kickPetitionUpdateMessage = 61; + */ de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessage getKickPetitionUpdateMessage(); - + // optional .EndKickPetitionMessage endKickPetitionMessage = 62; + /** + * optional .EndKickPetitionMessage endKickPetitionMessage = 62; + */ boolean hasEndKickPetitionMessage(); + /** + * optional .EndKickPetitionMessage endKickPetitionMessage = 62; + */ de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage getEndKickPetitionMessage(); - + // optional .StatisticsMessage statisticsMessage = 63; + /** + * optional .StatisticsMessage statisticsMessage = 63; + */ boolean hasStatisticsMessage(); + /** + * optional .StatisticsMessage statisticsMessage = 63; + */ de.pokerth.protocol.ProtoBuf.StatisticsMessage getStatisticsMessage(); - + // optional .ChatRequestMessage chatRequestMessage = 64; + /** + * optional .ChatRequestMessage chatRequestMessage = 64; + */ boolean hasChatRequestMessage(); + /** + * optional .ChatRequestMessage chatRequestMessage = 64; + */ de.pokerth.protocol.ProtoBuf.ChatRequestMessage getChatRequestMessage(); - + // optional .ChatMessage chatMessage = 65; + /** + * optional .ChatMessage chatMessage = 65; + */ boolean hasChatMessage(); + /** + * optional .ChatMessage chatMessage = 65; + */ de.pokerth.protocol.ProtoBuf.ChatMessage getChatMessage(); - + // optional .ChatRejectMessage chatRejectMessage = 66; + /** + * optional .ChatRejectMessage chatRejectMessage = 66; + */ boolean hasChatRejectMessage(); + /** + * optional .ChatRejectMessage chatRejectMessage = 66; + */ de.pokerth.protocol.ProtoBuf.ChatRejectMessage getChatRejectMessage(); - + // optional .DialogMessage dialogMessage = 67; + /** + * optional .DialogMessage dialogMessage = 67; + */ boolean hasDialogMessage(); + /** + * optional .DialogMessage dialogMessage = 67; + */ de.pokerth.protocol.ProtoBuf.DialogMessage getDialogMessage(); - + // optional .TimeoutWarningMessage timeoutWarningMessage = 68; + /** + * optional .TimeoutWarningMessage timeoutWarningMessage = 68; + */ boolean hasTimeoutWarningMessage(); + /** + * optional .TimeoutWarningMessage timeoutWarningMessage = 68; + */ de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage getTimeoutWarningMessage(); - + // optional .ResetTimeoutMessage resetTimeoutMessage = 69; + /** + * optional .ResetTimeoutMessage resetTimeoutMessage = 69; + */ boolean hasResetTimeoutMessage(); + /** + * optional .ResetTimeoutMessage resetTimeoutMessage = 69; + */ de.pokerth.protocol.ProtoBuf.ResetTimeoutMessage getResetTimeoutMessage(); - + // optional .ReportAvatarMessage reportAvatarMessage = 70; + /** + * optional .ReportAvatarMessage reportAvatarMessage = 70; + */ boolean hasReportAvatarMessage(); + /** + * optional .ReportAvatarMessage reportAvatarMessage = 70; + */ de.pokerth.protocol.ProtoBuf.ReportAvatarMessage getReportAvatarMessage(); - + // optional .ReportAvatarAckMessage reportAvatarAckMessage = 71; + /** + * optional .ReportAvatarAckMessage reportAvatarAckMessage = 71; + */ boolean hasReportAvatarAckMessage(); + /** + * optional .ReportAvatarAckMessage reportAvatarAckMessage = 71; + */ de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage getReportAvatarAckMessage(); - + // optional .ReportGameMessage reportGameMessage = 72; + /** + * optional .ReportGameMessage reportGameMessage = 72; + */ boolean hasReportGameMessage(); + /** + * optional .ReportGameMessage reportGameMessage = 72; + */ de.pokerth.protocol.ProtoBuf.ReportGameMessage getReportGameMessage(); - + // optional .ReportGameAckMessage reportGameAckMessage = 73; + /** + * optional .ReportGameAckMessage reportGameAckMessage = 73; + */ boolean hasReportGameAckMessage(); + /** + * optional .ReportGameAckMessage reportGameAckMessage = 73; + */ de.pokerth.protocol.ProtoBuf.ReportGameAckMessage getReportGameAckMessage(); - + // optional .ErrorMessage errorMessage = 74; + /** + * optional .ErrorMessage errorMessage = 74; + */ boolean hasErrorMessage(); + /** + * optional .ErrorMessage errorMessage = 74; + */ de.pokerth.protocol.ProtoBuf.ErrorMessage getErrorMessage(); - + // optional .AdminRemoveGameMessage adminRemoveGameMessage = 75; + /** + * optional .AdminRemoveGameMessage adminRemoveGameMessage = 75; + */ boolean hasAdminRemoveGameMessage(); + /** + * optional .AdminRemoveGameMessage adminRemoveGameMessage = 75; + */ de.pokerth.protocol.ProtoBuf.AdminRemoveGameMessage getAdminRemoveGameMessage(); - + // optional .AdminRemoveGameAckMessage adminRemoveGameAckMessage = 76; + /** + * optional .AdminRemoveGameAckMessage adminRemoveGameAckMessage = 76; + */ boolean hasAdminRemoveGameAckMessage(); + /** + * optional .AdminRemoveGameAckMessage adminRemoveGameAckMessage = 76; + */ de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage getAdminRemoveGameAckMessage(); - + // optional .AdminBanPlayerMessage adminBanPlayerMessage = 77; + /** + * optional .AdminBanPlayerMessage adminBanPlayerMessage = 77; + */ boolean hasAdminBanPlayerMessage(); + /** + * optional .AdminBanPlayerMessage adminBanPlayerMessage = 77; + */ de.pokerth.protocol.ProtoBuf.AdminBanPlayerMessage getAdminBanPlayerMessage(); - + // optional .AdminBanPlayerAckMessage adminBanPlayerAckMessage = 78; + /** + * optional .AdminBanPlayerAckMessage adminBanPlayerAckMessage = 78; + */ boolean hasAdminBanPlayerAckMessage(); + /** + * optional .AdminBanPlayerAckMessage adminBanPlayerAckMessage = 78; + */ de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage getAdminBanPlayerAckMessage(); - + // optional .GameListSpectatorJoinedMessage gameListSpectatorJoinedMessage = 79; + /** + * optional .GameListSpectatorJoinedMessage gameListSpectatorJoinedMessage = 79; + */ boolean hasGameListSpectatorJoinedMessage(); + /** + * optional .GameListSpectatorJoinedMessage gameListSpectatorJoinedMessage = 79; + */ de.pokerth.protocol.ProtoBuf.GameListSpectatorJoinedMessage getGameListSpectatorJoinedMessage(); - + // optional .GameListSpectatorLeftMessage gameListSpectatorLeftMessage = 80; + /** + * optional .GameListSpectatorLeftMessage gameListSpectatorLeftMessage = 80; + */ boolean hasGameListSpectatorLeftMessage(); + /** + * optional .GameListSpectatorLeftMessage gameListSpectatorLeftMessage = 80; + */ de.pokerth.protocol.ProtoBuf.GameListSpectatorLeftMessage getGameListSpectatorLeftMessage(); - + // optional .GameSpectatorJoinedMessage gameSpectatorJoinedMessage = 81; + /** + * optional .GameSpectatorJoinedMessage gameSpectatorJoinedMessage = 81; + */ boolean hasGameSpectatorJoinedMessage(); + /** + * optional .GameSpectatorJoinedMessage gameSpectatorJoinedMessage = 81; + */ de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessage getGameSpectatorJoinedMessage(); - + // optional .GameSpectatorLeftMessage gameSpectatorLeftMessage = 82; + /** + * optional .GameSpectatorLeftMessage gameSpectatorLeftMessage = 82; + */ boolean hasGameSpectatorLeftMessage(); + /** + * optional .GameSpectatorLeftMessage gameSpectatorLeftMessage = 82; + */ de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessage getGameSpectatorLeftMessage(); } + /** + * Protobuf type {@code PokerTHMessage} + */ public static final class PokerTHMessage extends com.google.protobuf.GeneratedMessageLite implements PokerTHMessageOrBuilder { // Use PokerTHMessage.newBuilder() to construct. - private PokerTHMessage(Builder builder) { + private PokerTHMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { super(builder); + } private PokerTHMessage(boolean noInit) {} - + private static final PokerTHMessage defaultInstance; public static PokerTHMessage getDefaultInstance() { return defaultInstance; } - + public PokerTHMessage getDefaultInstanceForType() { return defaultInstance; } - + + private PokerTHMessage( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + initFields(); + int mutable_bitField0_ = 0; + int mutable_bitField1_ = 0; + int mutable_bitField2_ = 0; + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: { + if (!parseUnknownField(input, + extensionRegistry, tag)) { + done = true; + } + break; + } + case 8: { + int rawValue = input.readEnum(); + de.pokerth.protocol.ProtoBuf.PokerTHMessage.PokerTHMessageType value = de.pokerth.protocol.ProtoBuf.PokerTHMessage.PokerTHMessageType.valueOf(rawValue); + if (value != null) { + bitField0_ |= 0x00000001; + messageType_ = value; + } + break; + } + case 18: { + de.pokerth.protocol.ProtoBuf.AnnounceMessage.Builder subBuilder = null; + if (((bitField0_ & 0x00000002) == 0x00000002)) { + subBuilder = announceMessage_.toBuilder(); + } + announceMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.AnnounceMessage.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(announceMessage_); + announceMessage_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x00000002; + break; + } + case 26: { + de.pokerth.protocol.ProtoBuf.InitMessage.Builder subBuilder = null; + if (((bitField0_ & 0x00000004) == 0x00000004)) { + subBuilder = initMessage_.toBuilder(); + } + initMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.InitMessage.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(initMessage_); + initMessage_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x00000004; + break; + } + case 34: { + de.pokerth.protocol.ProtoBuf.AuthServerChallengeMessage.Builder subBuilder = null; + if (((bitField0_ & 0x00000008) == 0x00000008)) { + subBuilder = authServerChallengeMessage_.toBuilder(); + } + authServerChallengeMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.AuthServerChallengeMessage.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(authServerChallengeMessage_); + authServerChallengeMessage_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x00000008; + break; + } + case 42: { + de.pokerth.protocol.ProtoBuf.AuthClientResponseMessage.Builder subBuilder = null; + if (((bitField0_ & 0x00000010) == 0x00000010)) { + subBuilder = authClientResponseMessage_.toBuilder(); + } + authClientResponseMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.AuthClientResponseMessage.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(authClientResponseMessage_); + authClientResponseMessage_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x00000010; + break; + } + case 50: { + de.pokerth.protocol.ProtoBuf.AuthServerVerificationMessage.Builder subBuilder = null; + if (((bitField0_ & 0x00000020) == 0x00000020)) { + subBuilder = authServerVerificationMessage_.toBuilder(); + } + authServerVerificationMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.AuthServerVerificationMessage.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(authServerVerificationMessage_); + authServerVerificationMessage_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x00000020; + break; + } + case 58: { + de.pokerth.protocol.ProtoBuf.InitAckMessage.Builder subBuilder = null; + if (((bitField0_ & 0x00000040) == 0x00000040)) { + subBuilder = initAckMessage_.toBuilder(); + } + initAckMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.InitAckMessage.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(initAckMessage_); + initAckMessage_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x00000040; + break; + } + case 66: { + de.pokerth.protocol.ProtoBuf.AvatarRequestMessage.Builder subBuilder = null; + if (((bitField0_ & 0x00000080) == 0x00000080)) { + subBuilder = avatarRequestMessage_.toBuilder(); + } + avatarRequestMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.AvatarRequestMessage.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(avatarRequestMessage_); + avatarRequestMessage_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x00000080; + break; + } + case 74: { + de.pokerth.protocol.ProtoBuf.AvatarHeaderMessage.Builder subBuilder = null; + if (((bitField0_ & 0x00000100) == 0x00000100)) { + subBuilder = avatarHeaderMessage_.toBuilder(); + } + avatarHeaderMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.AvatarHeaderMessage.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(avatarHeaderMessage_); + avatarHeaderMessage_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x00000100; + break; + } + case 82: { + de.pokerth.protocol.ProtoBuf.AvatarDataMessage.Builder subBuilder = null; + if (((bitField0_ & 0x00000200) == 0x00000200)) { + subBuilder = avatarDataMessage_.toBuilder(); + } + avatarDataMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.AvatarDataMessage.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(avatarDataMessage_); + avatarDataMessage_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x00000200; + break; + } + case 90: { + de.pokerth.protocol.ProtoBuf.AvatarEndMessage.Builder subBuilder = null; + if (((bitField0_ & 0x00000400) == 0x00000400)) { + subBuilder = avatarEndMessage_.toBuilder(); + } + avatarEndMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.AvatarEndMessage.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(avatarEndMessage_); + avatarEndMessage_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x00000400; + break; + } + case 98: { + de.pokerth.protocol.ProtoBuf.UnknownAvatarMessage.Builder subBuilder = null; + if (((bitField0_ & 0x00000800) == 0x00000800)) { + subBuilder = unknownAvatarMessage_.toBuilder(); + } + unknownAvatarMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.UnknownAvatarMessage.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(unknownAvatarMessage_); + unknownAvatarMessage_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x00000800; + break; + } + case 106: { + de.pokerth.protocol.ProtoBuf.PlayerListMessage.Builder subBuilder = null; + if (((bitField0_ & 0x00001000) == 0x00001000)) { + subBuilder = playerListMessage_.toBuilder(); + } + playerListMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.PlayerListMessage.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(playerListMessage_); + playerListMessage_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x00001000; + break; + } + case 114: { + de.pokerth.protocol.ProtoBuf.GameListNewMessage.Builder subBuilder = null; + if (((bitField0_ & 0x00002000) == 0x00002000)) { + subBuilder = gameListNewMessage_.toBuilder(); + } + gameListNewMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.GameListNewMessage.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(gameListNewMessage_); + gameListNewMessage_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x00002000; + break; + } + case 122: { + de.pokerth.protocol.ProtoBuf.GameListUpdateMessage.Builder subBuilder = null; + if (((bitField0_ & 0x00004000) == 0x00004000)) { + subBuilder = gameListUpdateMessage_.toBuilder(); + } + gameListUpdateMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.GameListUpdateMessage.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(gameListUpdateMessage_); + gameListUpdateMessage_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x00004000; + break; + } + case 130: { + de.pokerth.protocol.ProtoBuf.GameListPlayerJoinedMessage.Builder subBuilder = null; + if (((bitField0_ & 0x00008000) == 0x00008000)) { + subBuilder = gameListPlayerJoinedMessage_.toBuilder(); + } + gameListPlayerJoinedMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.GameListPlayerJoinedMessage.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(gameListPlayerJoinedMessage_); + gameListPlayerJoinedMessage_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x00008000; + break; + } + case 138: { + de.pokerth.protocol.ProtoBuf.GameListPlayerLeftMessage.Builder subBuilder = null; + if (((bitField0_ & 0x00010000) == 0x00010000)) { + subBuilder = gameListPlayerLeftMessage_.toBuilder(); + } + gameListPlayerLeftMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.GameListPlayerLeftMessage.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(gameListPlayerLeftMessage_); + gameListPlayerLeftMessage_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x00010000; + break; + } + case 146: { + de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessage.Builder subBuilder = null; + if (((bitField0_ & 0x00020000) == 0x00020000)) { + subBuilder = gameListAdminChangedMessage_.toBuilder(); + } + gameListAdminChangedMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessage.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(gameListAdminChangedMessage_); + gameListAdminChangedMessage_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x00020000; + break; + } + case 154: { + de.pokerth.protocol.ProtoBuf.PlayerInfoRequestMessage.Builder subBuilder = null; + if (((bitField0_ & 0x00040000) == 0x00040000)) { + subBuilder = playerInfoRequestMessage_.toBuilder(); + } + playerInfoRequestMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.PlayerInfoRequestMessage.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(playerInfoRequestMessage_); + playerInfoRequestMessage_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x00040000; + break; + } + case 162: { + de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.Builder subBuilder = null; + if (((bitField0_ & 0x00080000) == 0x00080000)) { + subBuilder = playerInfoReplyMessage_.toBuilder(); + } + playerInfoReplyMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(playerInfoReplyMessage_); + playerInfoReplyMessage_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x00080000; + break; + } + case 170: { + de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage.Builder subBuilder = null; + if (((bitField0_ & 0x00100000) == 0x00100000)) { + subBuilder = subscriptionRequestMessage_.toBuilder(); + } + subscriptionRequestMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(subscriptionRequestMessage_); + subscriptionRequestMessage_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x00100000; + break; + } + case 178: { + de.pokerth.protocol.ProtoBuf.JoinExistingGameMessage.Builder subBuilder = null; + if (((bitField0_ & 0x00200000) == 0x00200000)) { + subBuilder = joinExistingGameMessage_.toBuilder(); + } + joinExistingGameMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.JoinExistingGameMessage.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(joinExistingGameMessage_); + joinExistingGameMessage_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x00200000; + break; + } + case 186: { + de.pokerth.protocol.ProtoBuf.JoinNewGameMessage.Builder subBuilder = null; + if (((bitField0_ & 0x00400000) == 0x00400000)) { + subBuilder = joinNewGameMessage_.toBuilder(); + } + joinNewGameMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.JoinNewGameMessage.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(joinNewGameMessage_); + joinNewGameMessage_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x00400000; + break; + } + case 194: { + de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessage.Builder subBuilder = null; + if (((bitField0_ & 0x00800000) == 0x00800000)) { + subBuilder = rejoinExistingGameMessage_.toBuilder(); + } + rejoinExistingGameMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessage.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(rejoinExistingGameMessage_); + rejoinExistingGameMessage_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x00800000; + break; + } + case 202: { + de.pokerth.protocol.ProtoBuf.JoinGameAckMessage.Builder subBuilder = null; + if (((bitField0_ & 0x01000000) == 0x01000000)) { + subBuilder = joinGameAckMessage_.toBuilder(); + } + joinGameAckMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.JoinGameAckMessage.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(joinGameAckMessage_); + joinGameAckMessage_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x01000000; + break; + } + case 210: { + de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage.Builder subBuilder = null; + if (((bitField0_ & 0x02000000) == 0x02000000)) { + subBuilder = joinGameFailedMessage_.toBuilder(); + } + joinGameFailedMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(joinGameFailedMessage_); + joinGameFailedMessage_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x02000000; + break; + } + case 218: { + de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessage.Builder subBuilder = null; + if (((bitField0_ & 0x04000000) == 0x04000000)) { + subBuilder = gamePlayerJoinedMessage_.toBuilder(); + } + gamePlayerJoinedMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessage.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(gamePlayerJoinedMessage_); + gamePlayerJoinedMessage_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x04000000; + break; + } + case 226: { + de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.Builder subBuilder = null; + if (((bitField0_ & 0x08000000) == 0x08000000)) { + subBuilder = gamePlayerLeftMessage_.toBuilder(); + } + gamePlayerLeftMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(gamePlayerLeftMessage_); + gamePlayerLeftMessage_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x08000000; + break; + } + case 234: { + de.pokerth.protocol.ProtoBuf.GameAdminChangedMessage.Builder subBuilder = null; + if (((bitField0_ & 0x10000000) == 0x10000000)) { + subBuilder = gameAdminChangedMessage_.toBuilder(); + } + gameAdminChangedMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.GameAdminChangedMessage.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(gameAdminChangedMessage_); + gameAdminChangedMessage_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x10000000; + break; + } + case 242: { + de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage.Builder subBuilder = null; + if (((bitField0_ & 0x20000000) == 0x20000000)) { + subBuilder = removedFromGameMessage_.toBuilder(); + } + removedFromGameMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(removedFromGameMessage_); + removedFromGameMessage_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x20000000; + break; + } + case 250: { + de.pokerth.protocol.ProtoBuf.KickPlayerRequestMessage.Builder subBuilder = null; + if (((bitField0_ & 0x40000000) == 0x40000000)) { + subBuilder = kickPlayerRequestMessage_.toBuilder(); + } + kickPlayerRequestMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.KickPlayerRequestMessage.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(kickPlayerRequestMessage_); + kickPlayerRequestMessage_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x40000000; + break; + } + case 258: { + de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessage.Builder subBuilder = null; + if (((bitField0_ & 0x80000000) == 0x80000000)) { + subBuilder = leaveGameRequestMessage_.toBuilder(); + } + leaveGameRequestMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessage.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(leaveGameRequestMessage_); + leaveGameRequestMessage_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x80000000; + break; + } + case 266: { + de.pokerth.protocol.ProtoBuf.InvitePlayerToGameMessage.Builder subBuilder = null; + if (((bitField1_ & 0x00000001) == 0x00000001)) { + subBuilder = invitePlayerToGameMessage_.toBuilder(); + } + invitePlayerToGameMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.InvitePlayerToGameMessage.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(invitePlayerToGameMessage_); + invitePlayerToGameMessage_ = subBuilder.buildPartial(); + } + bitField1_ |= 0x00000001; + break; + } + case 274: { + de.pokerth.protocol.ProtoBuf.InviteNotifyMessage.Builder subBuilder = null; + if (((bitField1_ & 0x00000002) == 0x00000002)) { + subBuilder = inviteNotifyMessage_.toBuilder(); + } + inviteNotifyMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.InviteNotifyMessage.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(inviteNotifyMessage_); + inviteNotifyMessage_ = subBuilder.buildPartial(); + } + bitField1_ |= 0x00000002; + break; + } + case 282: { + de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage.Builder subBuilder = null; + if (((bitField1_ & 0x00000004) == 0x00000004)) { + subBuilder = rejectGameInvitationMessage_.toBuilder(); + } + rejectGameInvitationMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(rejectGameInvitationMessage_); + rejectGameInvitationMessage_ = subBuilder.buildPartial(); + } + bitField1_ |= 0x00000004; + break; + } + case 290: { + de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessage.Builder subBuilder = null; + if (((bitField1_ & 0x00000008) == 0x00000008)) { + subBuilder = rejectInvNotifyMessage_.toBuilder(); + } + rejectInvNotifyMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessage.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(rejectInvNotifyMessage_); + rejectInvNotifyMessage_ = subBuilder.buildPartial(); + } + bitField1_ |= 0x00000008; + break; + } + case 298: { + de.pokerth.protocol.ProtoBuf.StartEventMessage.Builder subBuilder = null; + if (((bitField1_ & 0x00000010) == 0x00000010)) { + subBuilder = startEventMessage_.toBuilder(); + } + startEventMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.StartEventMessage.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(startEventMessage_); + startEventMessage_ = subBuilder.buildPartial(); + } + bitField1_ |= 0x00000010; + break; + } + case 306: { + de.pokerth.protocol.ProtoBuf.StartEventAckMessage.Builder subBuilder = null; + if (((bitField1_ & 0x00000020) == 0x00000020)) { + subBuilder = startEventAckMessage_.toBuilder(); + } + startEventAckMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.StartEventAckMessage.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(startEventAckMessage_); + startEventAckMessage_ = subBuilder.buildPartial(); + } + bitField1_ |= 0x00000020; + break; + } + case 314: { + de.pokerth.protocol.ProtoBuf.GameStartInitialMessage.Builder subBuilder = null; + if (((bitField1_ & 0x00000040) == 0x00000040)) { + subBuilder = gameStartInitialMessage_.toBuilder(); + } + gameStartInitialMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.GameStartInitialMessage.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(gameStartInitialMessage_); + gameStartInitialMessage_ = subBuilder.buildPartial(); + } + bitField1_ |= 0x00000040; + break; + } + case 322: { + de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.Builder subBuilder = null; + if (((bitField1_ & 0x00000080) == 0x00000080)) { + subBuilder = gameStartRejoinMessage_.toBuilder(); + } + gameStartRejoinMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(gameStartRejoinMessage_); + gameStartRejoinMessage_ = subBuilder.buildPartial(); + } + bitField1_ |= 0x00000080; + break; + } + case 330: { + de.pokerth.protocol.ProtoBuf.HandStartMessage.Builder subBuilder = null; + if (((bitField1_ & 0x00000100) == 0x00000100)) { + subBuilder = handStartMessage_.toBuilder(); + } + handStartMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.HandStartMessage.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(handStartMessage_); + handStartMessage_ = subBuilder.buildPartial(); + } + bitField1_ |= 0x00000100; + break; + } + case 338: { + de.pokerth.protocol.ProtoBuf.PlayersTurnMessage.Builder subBuilder = null; + if (((bitField1_ & 0x00000200) == 0x00000200)) { + subBuilder = playersTurnMessage_.toBuilder(); + } + playersTurnMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.PlayersTurnMessage.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(playersTurnMessage_); + playersTurnMessage_ = subBuilder.buildPartial(); + } + bitField1_ |= 0x00000200; + break; + } + case 346: { + de.pokerth.protocol.ProtoBuf.MyActionRequestMessage.Builder subBuilder = null; + if (((bitField1_ & 0x00000400) == 0x00000400)) { + subBuilder = myActionRequestMessage_.toBuilder(); + } + myActionRequestMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.MyActionRequestMessage.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(myActionRequestMessage_); + myActionRequestMessage_ = subBuilder.buildPartial(); + } + bitField1_ |= 0x00000400; + break; + } + case 354: { + de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage.Builder subBuilder = null; + if (((bitField1_ & 0x00000800) == 0x00000800)) { + subBuilder = yourActionRejectedMessage_.toBuilder(); + } + yourActionRejectedMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(yourActionRejectedMessage_); + yourActionRejectedMessage_ = subBuilder.buildPartial(); + } + bitField1_ |= 0x00000800; + break; + } + case 362: { + de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessage.Builder subBuilder = null; + if (((bitField1_ & 0x00001000) == 0x00001000)) { + subBuilder = playersActionDoneMessage_.toBuilder(); + } + playersActionDoneMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessage.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(playersActionDoneMessage_); + playersActionDoneMessage_ = subBuilder.buildPartial(); + } + bitField1_ |= 0x00001000; + break; + } + case 370: { + de.pokerth.protocol.ProtoBuf.DealFlopCardsMessage.Builder subBuilder = null; + if (((bitField1_ & 0x00002000) == 0x00002000)) { + subBuilder = dealFlopCardsMessage_.toBuilder(); + } + dealFlopCardsMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.DealFlopCardsMessage.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(dealFlopCardsMessage_); + dealFlopCardsMessage_ = subBuilder.buildPartial(); + } + bitField1_ |= 0x00002000; + break; + } + case 378: { + de.pokerth.protocol.ProtoBuf.DealTurnCardMessage.Builder subBuilder = null; + if (((bitField1_ & 0x00004000) == 0x00004000)) { + subBuilder = dealTurnCardMessage_.toBuilder(); + } + dealTurnCardMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.DealTurnCardMessage.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(dealTurnCardMessage_); + dealTurnCardMessage_ = subBuilder.buildPartial(); + } + bitField1_ |= 0x00004000; + break; + } + case 386: { + de.pokerth.protocol.ProtoBuf.DealRiverCardMessage.Builder subBuilder = null; + if (((bitField1_ & 0x00008000) == 0x00008000)) { + subBuilder = dealRiverCardMessage_.toBuilder(); + } + dealRiverCardMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.DealRiverCardMessage.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(dealRiverCardMessage_); + dealRiverCardMessage_ = subBuilder.buildPartial(); + } + bitField1_ |= 0x00008000; + break; + } + case 394: { + de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.Builder subBuilder = null; + if (((bitField1_ & 0x00010000) == 0x00010000)) { + subBuilder = allInShowCardsMessage_.toBuilder(); + } + allInShowCardsMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(allInShowCardsMessage_); + allInShowCardsMessage_ = subBuilder.buildPartial(); + } + bitField1_ |= 0x00010000; + break; + } + case 402: { + de.pokerth.protocol.ProtoBuf.EndOfHandShowCardsMessage.Builder subBuilder = null; + if (((bitField1_ & 0x00020000) == 0x00020000)) { + subBuilder = endOfHandShowCardsMessage_.toBuilder(); + } + endOfHandShowCardsMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.EndOfHandShowCardsMessage.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(endOfHandShowCardsMessage_); + endOfHandShowCardsMessage_ = subBuilder.buildPartial(); + } + bitField1_ |= 0x00020000; + break; + } + case 410: { + de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessage.Builder subBuilder = null; + if (((bitField1_ & 0x00040000) == 0x00040000)) { + subBuilder = endOfHandHideCardsMessage_.toBuilder(); + } + endOfHandHideCardsMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessage.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(endOfHandHideCardsMessage_); + endOfHandHideCardsMessage_ = subBuilder.buildPartial(); + } + bitField1_ |= 0x00040000; + break; + } + case 418: { + de.pokerth.protocol.ProtoBuf.ShowMyCardsRequestMessage.Builder subBuilder = null; + if (((bitField1_ & 0x00080000) == 0x00080000)) { + subBuilder = showMyCardsRequestMessage_.toBuilder(); + } + showMyCardsRequestMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.ShowMyCardsRequestMessage.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(showMyCardsRequestMessage_); + showMyCardsRequestMessage_ = subBuilder.buildPartial(); + } + bitField1_ |= 0x00080000; + break; + } + case 426: { + de.pokerth.protocol.ProtoBuf.AfterHandShowCardsMessage.Builder subBuilder = null; + if (((bitField1_ & 0x00100000) == 0x00100000)) { + subBuilder = afterHandShowCardsMessage_.toBuilder(); + } + afterHandShowCardsMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.AfterHandShowCardsMessage.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(afterHandShowCardsMessage_); + afterHandShowCardsMessage_ = subBuilder.buildPartial(); + } + bitField1_ |= 0x00100000; + break; + } + case 434: { + de.pokerth.protocol.ProtoBuf.EndOfGameMessage.Builder subBuilder = null; + if (((bitField1_ & 0x00200000) == 0x00200000)) { + subBuilder = endOfGameMessage_.toBuilder(); + } + endOfGameMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.EndOfGameMessage.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(endOfGameMessage_); + endOfGameMessage_ = subBuilder.buildPartial(); + } + bitField1_ |= 0x00200000; + break; + } + case 442: { + de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessage.Builder subBuilder = null; + if (((bitField1_ & 0x00400000) == 0x00400000)) { + subBuilder = playerIdChangedMessage_.toBuilder(); + } + playerIdChangedMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessage.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(playerIdChangedMessage_); + playerIdChangedMessage_ = subBuilder.buildPartial(); + } + bitField1_ |= 0x00400000; + break; + } + case 450: { + de.pokerth.protocol.ProtoBuf.AskKickPlayerMessage.Builder subBuilder = null; + if (((bitField1_ & 0x00800000) == 0x00800000)) { + subBuilder = askKickPlayerMessage_.toBuilder(); + } + askKickPlayerMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.AskKickPlayerMessage.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(askKickPlayerMessage_); + askKickPlayerMessage_ = subBuilder.buildPartial(); + } + bitField1_ |= 0x00800000; + break; + } + case 458: { + de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage.Builder subBuilder = null; + if (((bitField1_ & 0x01000000) == 0x01000000)) { + subBuilder = askKickDeniedMessage_.toBuilder(); + } + askKickDeniedMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(askKickDeniedMessage_); + askKickDeniedMessage_ = subBuilder.buildPartial(); + } + bitField1_ |= 0x01000000; + break; + } + case 466: { + de.pokerth.protocol.ProtoBuf.StartKickPetitionMessage.Builder subBuilder = null; + if (((bitField1_ & 0x02000000) == 0x02000000)) { + subBuilder = startKickPetitionMessage_.toBuilder(); + } + startKickPetitionMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.StartKickPetitionMessage.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(startKickPetitionMessage_); + startKickPetitionMessage_ = subBuilder.buildPartial(); + } + bitField1_ |= 0x02000000; + break; + } + case 474: { + de.pokerth.protocol.ProtoBuf.VoteKickRequestMessage.Builder subBuilder = null; + if (((bitField1_ & 0x04000000) == 0x04000000)) { + subBuilder = voteKickRequestMessage_.toBuilder(); + } + voteKickRequestMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.VoteKickRequestMessage.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(voteKickRequestMessage_); + voteKickRequestMessage_ = subBuilder.buildPartial(); + } + bitField1_ |= 0x04000000; + break; + } + case 482: { + de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage.Builder subBuilder = null; + if (((bitField1_ & 0x08000000) == 0x08000000)) { + subBuilder = voteKickReplyMessage_.toBuilder(); + } + voteKickReplyMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(voteKickReplyMessage_); + voteKickReplyMessage_ = subBuilder.buildPartial(); + } + bitField1_ |= 0x08000000; + break; + } + case 490: { + de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessage.Builder subBuilder = null; + if (((bitField1_ & 0x10000000) == 0x10000000)) { + subBuilder = kickPetitionUpdateMessage_.toBuilder(); + } + kickPetitionUpdateMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessage.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(kickPetitionUpdateMessage_); + kickPetitionUpdateMessage_ = subBuilder.buildPartial(); + } + bitField1_ |= 0x10000000; + break; + } + case 498: { + de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage.Builder subBuilder = null; + if (((bitField1_ & 0x20000000) == 0x20000000)) { + subBuilder = endKickPetitionMessage_.toBuilder(); + } + endKickPetitionMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(endKickPetitionMessage_); + endKickPetitionMessage_ = subBuilder.buildPartial(); + } + bitField1_ |= 0x20000000; + break; + } + case 506: { + de.pokerth.protocol.ProtoBuf.StatisticsMessage.Builder subBuilder = null; + if (((bitField1_ & 0x40000000) == 0x40000000)) { + subBuilder = statisticsMessage_.toBuilder(); + } + statisticsMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.StatisticsMessage.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(statisticsMessage_); + statisticsMessage_ = subBuilder.buildPartial(); + } + bitField1_ |= 0x40000000; + break; + } + case 514: { + de.pokerth.protocol.ProtoBuf.ChatRequestMessage.Builder subBuilder = null; + if (((bitField1_ & 0x80000000) == 0x80000000)) { + subBuilder = chatRequestMessage_.toBuilder(); + } + chatRequestMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.ChatRequestMessage.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(chatRequestMessage_); + chatRequestMessage_ = subBuilder.buildPartial(); + } + bitField1_ |= 0x80000000; + break; + } + case 522: { + de.pokerth.protocol.ProtoBuf.ChatMessage.Builder subBuilder = null; + if (((bitField2_ & 0x00000001) == 0x00000001)) { + subBuilder = chatMessage_.toBuilder(); + } + chatMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.ChatMessage.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(chatMessage_); + chatMessage_ = subBuilder.buildPartial(); + } + bitField2_ |= 0x00000001; + break; + } + case 530: { + de.pokerth.protocol.ProtoBuf.ChatRejectMessage.Builder subBuilder = null; + if (((bitField2_ & 0x00000002) == 0x00000002)) { + subBuilder = chatRejectMessage_.toBuilder(); + } + chatRejectMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.ChatRejectMessage.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(chatRejectMessage_); + chatRejectMessage_ = subBuilder.buildPartial(); + } + bitField2_ |= 0x00000002; + break; + } + case 538: { + de.pokerth.protocol.ProtoBuf.DialogMessage.Builder subBuilder = null; + if (((bitField2_ & 0x00000004) == 0x00000004)) { + subBuilder = dialogMessage_.toBuilder(); + } + dialogMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.DialogMessage.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(dialogMessage_); + dialogMessage_ = subBuilder.buildPartial(); + } + bitField2_ |= 0x00000004; + break; + } + case 546: { + de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage.Builder subBuilder = null; + if (((bitField2_ & 0x00000008) == 0x00000008)) { + subBuilder = timeoutWarningMessage_.toBuilder(); + } + timeoutWarningMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(timeoutWarningMessage_); + timeoutWarningMessage_ = subBuilder.buildPartial(); + } + bitField2_ |= 0x00000008; + break; + } + case 554: { + de.pokerth.protocol.ProtoBuf.ResetTimeoutMessage.Builder subBuilder = null; + if (((bitField2_ & 0x00000010) == 0x00000010)) { + subBuilder = resetTimeoutMessage_.toBuilder(); + } + resetTimeoutMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.ResetTimeoutMessage.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(resetTimeoutMessage_); + resetTimeoutMessage_ = subBuilder.buildPartial(); + } + bitField2_ |= 0x00000010; + break; + } + case 562: { + de.pokerth.protocol.ProtoBuf.ReportAvatarMessage.Builder subBuilder = null; + if (((bitField2_ & 0x00000020) == 0x00000020)) { + subBuilder = reportAvatarMessage_.toBuilder(); + } + reportAvatarMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.ReportAvatarMessage.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(reportAvatarMessage_); + reportAvatarMessage_ = subBuilder.buildPartial(); + } + bitField2_ |= 0x00000020; + break; + } + case 570: { + de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage.Builder subBuilder = null; + if (((bitField2_ & 0x00000040) == 0x00000040)) { + subBuilder = reportAvatarAckMessage_.toBuilder(); + } + reportAvatarAckMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(reportAvatarAckMessage_); + reportAvatarAckMessage_ = subBuilder.buildPartial(); + } + bitField2_ |= 0x00000040; + break; + } + case 578: { + de.pokerth.protocol.ProtoBuf.ReportGameMessage.Builder subBuilder = null; + if (((bitField2_ & 0x00000080) == 0x00000080)) { + subBuilder = reportGameMessage_.toBuilder(); + } + reportGameMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.ReportGameMessage.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(reportGameMessage_); + reportGameMessage_ = subBuilder.buildPartial(); + } + bitField2_ |= 0x00000080; + break; + } + case 586: { + de.pokerth.protocol.ProtoBuf.ReportGameAckMessage.Builder subBuilder = null; + if (((bitField2_ & 0x00000100) == 0x00000100)) { + subBuilder = reportGameAckMessage_.toBuilder(); + } + reportGameAckMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.ReportGameAckMessage.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(reportGameAckMessage_); + reportGameAckMessage_ = subBuilder.buildPartial(); + } + bitField2_ |= 0x00000100; + break; + } + case 594: { + de.pokerth.protocol.ProtoBuf.ErrorMessage.Builder subBuilder = null; + if (((bitField2_ & 0x00000200) == 0x00000200)) { + subBuilder = errorMessage_.toBuilder(); + } + errorMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.ErrorMessage.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(errorMessage_); + errorMessage_ = subBuilder.buildPartial(); + } + bitField2_ |= 0x00000200; + break; + } + case 602: { + de.pokerth.protocol.ProtoBuf.AdminRemoveGameMessage.Builder subBuilder = null; + if (((bitField2_ & 0x00000400) == 0x00000400)) { + subBuilder = adminRemoveGameMessage_.toBuilder(); + } + adminRemoveGameMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.AdminRemoveGameMessage.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(adminRemoveGameMessage_); + adminRemoveGameMessage_ = subBuilder.buildPartial(); + } + bitField2_ |= 0x00000400; + break; + } + case 610: { + de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage.Builder subBuilder = null; + if (((bitField2_ & 0x00000800) == 0x00000800)) { + subBuilder = adminRemoveGameAckMessage_.toBuilder(); + } + adminRemoveGameAckMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(adminRemoveGameAckMessage_); + adminRemoveGameAckMessage_ = subBuilder.buildPartial(); + } + bitField2_ |= 0x00000800; + break; + } + case 618: { + de.pokerth.protocol.ProtoBuf.AdminBanPlayerMessage.Builder subBuilder = null; + if (((bitField2_ & 0x00001000) == 0x00001000)) { + subBuilder = adminBanPlayerMessage_.toBuilder(); + } + adminBanPlayerMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.AdminBanPlayerMessage.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(adminBanPlayerMessage_); + adminBanPlayerMessage_ = subBuilder.buildPartial(); + } + bitField2_ |= 0x00001000; + break; + } + case 626: { + de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage.Builder subBuilder = null; + if (((bitField2_ & 0x00002000) == 0x00002000)) { + subBuilder = adminBanPlayerAckMessage_.toBuilder(); + } + adminBanPlayerAckMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(adminBanPlayerAckMessage_); + adminBanPlayerAckMessage_ = subBuilder.buildPartial(); + } + bitField2_ |= 0x00002000; + break; + } + case 634: { + de.pokerth.protocol.ProtoBuf.GameListSpectatorJoinedMessage.Builder subBuilder = null; + if (((bitField2_ & 0x00004000) == 0x00004000)) { + subBuilder = gameListSpectatorJoinedMessage_.toBuilder(); + } + gameListSpectatorJoinedMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.GameListSpectatorJoinedMessage.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(gameListSpectatorJoinedMessage_); + gameListSpectatorJoinedMessage_ = subBuilder.buildPartial(); + } + bitField2_ |= 0x00004000; + break; + } + case 642: { + de.pokerth.protocol.ProtoBuf.GameListSpectatorLeftMessage.Builder subBuilder = null; + if (((bitField2_ & 0x00008000) == 0x00008000)) { + subBuilder = gameListSpectatorLeftMessage_.toBuilder(); + } + gameListSpectatorLeftMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.GameListSpectatorLeftMessage.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(gameListSpectatorLeftMessage_); + gameListSpectatorLeftMessage_ = subBuilder.buildPartial(); + } + bitField2_ |= 0x00008000; + break; + } + case 650: { + de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessage.Builder subBuilder = null; + if (((bitField2_ & 0x00010000) == 0x00010000)) { + subBuilder = gameSpectatorJoinedMessage_.toBuilder(); + } + gameSpectatorJoinedMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessage.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(gameSpectatorJoinedMessage_); + gameSpectatorJoinedMessage_ = subBuilder.buildPartial(); + } + bitField2_ |= 0x00010000; + break; + } + case 658: { + de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessage.Builder subBuilder = null; + if (((bitField2_ & 0x00020000) == 0x00020000)) { + subBuilder = gameSpectatorLeftMessage_.toBuilder(); + } + gameSpectatorLeftMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessage.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(gameSpectatorLeftMessage_); + gameSpectatorLeftMessage_ = subBuilder.buildPartial(); + } + bitField2_ |= 0x00020000; + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e.getMessage()).setUnfinishedMessage(this); + } finally { + makeExtensionsImmutable(); + } + } + public static com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + public PokerTHMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PokerTHMessage(input, extensionRegistry); + } + }; + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + /** + * Protobuf enum {@code PokerTHMessage.PokerTHMessageType} + */ public enum PokerTHMessageType implements com.google.protobuf.Internal.EnumLite { + /** + * Type_AnnounceMessage = 1; + */ Type_AnnounceMessage(0, 1), + /** + * Type_InitMessage = 2; + */ Type_InitMessage(1, 2), + /** + * Type_AuthServerChallengeMessage = 3; + */ Type_AuthServerChallengeMessage(2, 3), + /** + * Type_AuthClientResponseMessage = 4; + */ Type_AuthClientResponseMessage(3, 4), + /** + * Type_AuthServerVerificationMessage = 5; + */ Type_AuthServerVerificationMessage(4, 5), + /** + * Type_InitAckMessage = 6; + */ Type_InitAckMessage(5, 6), + /** + * Type_AvatarRequestMessage = 7; + */ Type_AvatarRequestMessage(6, 7), + /** + * Type_AvatarHeaderMessage = 8; + */ Type_AvatarHeaderMessage(7, 8), + /** + * Type_AvatarDataMessage = 9; + */ Type_AvatarDataMessage(8, 9), + /** + * Type_AvatarEndMessage = 10; + */ Type_AvatarEndMessage(9, 10), + /** + * Type_UnknownAvatarMessage = 11; + */ Type_UnknownAvatarMessage(10, 11), + /** + * Type_PlayerListMessage = 12; + */ Type_PlayerListMessage(11, 12), + /** + * Type_GameListNewMessage = 13; + */ Type_GameListNewMessage(12, 13), + /** + * Type_GameListUpdateMessage = 14; + */ Type_GameListUpdateMessage(13, 14), + /** + * Type_GameListPlayerJoinedMessage = 15; + */ Type_GameListPlayerJoinedMessage(14, 15), + /** + * Type_GameListPlayerLeftMessage = 16; + */ Type_GameListPlayerLeftMessage(15, 16), + /** + * Type_GameListAdminChangedMessage = 17; + */ Type_GameListAdminChangedMessage(16, 17), + /** + * Type_PlayerInfoRequestMessage = 18; + */ Type_PlayerInfoRequestMessage(17, 18), + /** + * Type_PlayerInfoReplyMessage = 19; + */ Type_PlayerInfoReplyMessage(18, 19), + /** + * Type_SubscriptionRequestMessage = 20; + */ Type_SubscriptionRequestMessage(19, 20), + /** + * Type_JoinExistingGameMessage = 21; + */ Type_JoinExistingGameMessage(20, 21), + /** + * Type_JoinNewGameMessage = 22; + */ Type_JoinNewGameMessage(21, 22), + /** + * Type_RejoinExistingGameMessage = 23; + */ Type_RejoinExistingGameMessage(22, 23), + /** + * Type_JoinGameAckMessage = 24; + */ Type_JoinGameAckMessage(23, 24), + /** + * Type_JoinGameFailedMessage = 25; + */ Type_JoinGameFailedMessage(24, 25), + /** + * Type_GamePlayerJoinedMessage = 26; + */ Type_GamePlayerJoinedMessage(25, 26), + /** + * Type_GamePlayerLeftMessage = 27; + */ Type_GamePlayerLeftMessage(26, 27), + /** + * Type_GameAdminChangedMessage = 28; + */ Type_GameAdminChangedMessage(27, 28), + /** + * Type_RemovedFromGameMessage = 29; + */ Type_RemovedFromGameMessage(28, 29), + /** + * Type_KickPlayerRequestMessage = 30; + */ Type_KickPlayerRequestMessage(29, 30), + /** + * Type_LeaveGameRequestMessage = 31; + */ Type_LeaveGameRequestMessage(30, 31), + /** + * Type_InvitePlayerToGameMessage = 32; + */ Type_InvitePlayerToGameMessage(31, 32), + /** + * Type_InviteNotifyMessage = 33; + */ Type_InviteNotifyMessage(32, 33), + /** + * Type_RejectGameInvitationMessage = 34; + */ Type_RejectGameInvitationMessage(33, 34), + /** + * Type_RejectInvNotifyMessage = 35; + */ Type_RejectInvNotifyMessage(34, 35), + /** + * Type_StartEventMessage = 36; + */ Type_StartEventMessage(35, 36), + /** + * Type_StartEventAckMessage = 37; + */ Type_StartEventAckMessage(36, 37), + /** + * Type_GameStartInitialMessage = 38; + */ Type_GameStartInitialMessage(37, 38), + /** + * Type_GameStartRejoinMessage = 39; + */ Type_GameStartRejoinMessage(38, 39), + /** + * Type_HandStartMessage = 40; + */ Type_HandStartMessage(39, 40), + /** + * Type_PlayersTurnMessage = 41; + */ Type_PlayersTurnMessage(40, 41), + /** + * Type_MyActionRequestMessage = 42; + */ Type_MyActionRequestMessage(41, 42), + /** + * Type_YourActionRejectedMessage = 43; + */ Type_YourActionRejectedMessage(42, 43), + /** + * Type_PlayersActionDoneMessage = 44; + */ Type_PlayersActionDoneMessage(43, 44), + /** + * Type_DealFlopCardsMessage = 45; + */ Type_DealFlopCardsMessage(44, 45), + /** + * Type_DealTurnCardMessage = 46; + */ Type_DealTurnCardMessage(45, 46), + /** + * Type_DealRiverCardMessage = 47; + */ Type_DealRiverCardMessage(46, 47), + /** + * Type_AllInShowCardsMessage = 48; + */ Type_AllInShowCardsMessage(47, 48), + /** + * Type_EndOfHandShowCardsMessage = 49; + */ Type_EndOfHandShowCardsMessage(48, 49), + /** + * Type_EndOfHandHideCardsMessage = 50; + */ Type_EndOfHandHideCardsMessage(49, 50), + /** + * Type_ShowMyCardsRequestMessage = 51; + */ Type_ShowMyCardsRequestMessage(50, 51), + /** + * Type_AfterHandShowCardsMessage = 52; + */ Type_AfterHandShowCardsMessage(51, 52), + /** + * Type_EndOfGameMessage = 53; + */ Type_EndOfGameMessage(52, 53), + /** + * Type_PlayerIdChangedMessage = 54; + */ Type_PlayerIdChangedMessage(53, 54), + /** + * Type_AskKickPlayerMessage = 55; + */ Type_AskKickPlayerMessage(54, 55), + /** + * Type_AskKickDeniedMessage = 56; + */ Type_AskKickDeniedMessage(55, 56), + /** + * Type_StartKickPetitionMessage = 57; + */ Type_StartKickPetitionMessage(56, 57), + /** + * Type_VoteKickRequestMessage = 58; + */ Type_VoteKickRequestMessage(57, 58), + /** + * Type_VoteKickReplyMessage = 59; + */ Type_VoteKickReplyMessage(58, 59), + /** + * Type_KickPetitionUpdateMessage = 60; + */ Type_KickPetitionUpdateMessage(59, 60), + /** + * Type_EndKickPetitionMessage = 61; + */ Type_EndKickPetitionMessage(60, 61), + /** + * Type_StatisticsMessage = 62; + */ Type_StatisticsMessage(61, 62), + /** + * Type_ChatRequestMessage = 63; + */ Type_ChatRequestMessage(62, 63), + /** + * Type_ChatMessage = 64; + */ Type_ChatMessage(63, 64), + /** + * Type_ChatRejectMessage = 65; + */ Type_ChatRejectMessage(64, 65), + /** + * Type_DialogMessage = 66; + */ Type_DialogMessage(65, 66), + /** + * Type_TimeoutWarningMessage = 67; + */ Type_TimeoutWarningMessage(66, 67), + /** + * Type_ResetTimeoutMessage = 68; + */ Type_ResetTimeoutMessage(67, 68), + /** + * Type_ReportAvatarMessage = 69; + */ Type_ReportAvatarMessage(68, 69), + /** + * Type_ReportAvatarAckMessage = 70; + */ Type_ReportAvatarAckMessage(69, 70), + /** + * Type_ReportGameMessage = 71; + */ Type_ReportGameMessage(70, 71), + /** + * Type_ReportGameAckMessage = 72; + */ Type_ReportGameAckMessage(71, 72), + /** + * Type_ErrorMessage = 73; + */ Type_ErrorMessage(72, 73), + /** + * Type_AdminRemoveGameMessage = 74; + */ Type_AdminRemoveGameMessage(73, 74), + /** + * Type_AdminRemoveGameAckMessage = 75; + */ Type_AdminRemoveGameAckMessage(74, 75), + /** + * Type_AdminBanPlayerMessage = 76; + */ Type_AdminBanPlayerMessage(75, 76), + /** + * Type_AdminBanPlayerAckMessage = 77; + */ Type_AdminBanPlayerAckMessage(76, 77), + /** + * Type_GameListSpectatorJoinedMessage = 78; + */ Type_GameListSpectatorJoinedMessage(77, 78), + /** + * Type_GameListSpectatorLeftMessage = 79; + */ Type_GameListSpectatorLeftMessage(78, 79), + /** + * Type_GameSpectatorJoinedMessage = 80; + */ Type_GameSpectatorJoinedMessage(79, 80), + /** + * Type_GameSpectatorLeftMessage = 81; + */ Type_GameSpectatorLeftMessage(80, 81), ; - + + /** + * Type_AnnounceMessage = 1; + */ public static final int Type_AnnounceMessage_VALUE = 1; + /** + * Type_InitMessage = 2; + */ public static final int Type_InitMessage_VALUE = 2; + /** + * Type_AuthServerChallengeMessage = 3; + */ public static final int Type_AuthServerChallengeMessage_VALUE = 3; + /** + * Type_AuthClientResponseMessage = 4; + */ public static final int Type_AuthClientResponseMessage_VALUE = 4; + /** + * Type_AuthServerVerificationMessage = 5; + */ public static final int Type_AuthServerVerificationMessage_VALUE = 5; + /** + * Type_InitAckMessage = 6; + */ public static final int Type_InitAckMessage_VALUE = 6; + /** + * Type_AvatarRequestMessage = 7; + */ public static final int Type_AvatarRequestMessage_VALUE = 7; + /** + * Type_AvatarHeaderMessage = 8; + */ public static final int Type_AvatarHeaderMessage_VALUE = 8; + /** + * Type_AvatarDataMessage = 9; + */ public static final int Type_AvatarDataMessage_VALUE = 9; + /** + * Type_AvatarEndMessage = 10; + */ public static final int Type_AvatarEndMessage_VALUE = 10; + /** + * Type_UnknownAvatarMessage = 11; + */ public static final int Type_UnknownAvatarMessage_VALUE = 11; + /** + * Type_PlayerListMessage = 12; + */ public static final int Type_PlayerListMessage_VALUE = 12; + /** + * Type_GameListNewMessage = 13; + */ public static final int Type_GameListNewMessage_VALUE = 13; + /** + * Type_GameListUpdateMessage = 14; + */ public static final int Type_GameListUpdateMessage_VALUE = 14; + /** + * Type_GameListPlayerJoinedMessage = 15; + */ public static final int Type_GameListPlayerJoinedMessage_VALUE = 15; + /** + * Type_GameListPlayerLeftMessage = 16; + */ public static final int Type_GameListPlayerLeftMessage_VALUE = 16; + /** + * Type_GameListAdminChangedMessage = 17; + */ public static final int Type_GameListAdminChangedMessage_VALUE = 17; + /** + * Type_PlayerInfoRequestMessage = 18; + */ public static final int Type_PlayerInfoRequestMessage_VALUE = 18; + /** + * Type_PlayerInfoReplyMessage = 19; + */ public static final int Type_PlayerInfoReplyMessage_VALUE = 19; + /** + * Type_SubscriptionRequestMessage = 20; + */ public static final int Type_SubscriptionRequestMessage_VALUE = 20; + /** + * Type_JoinExistingGameMessage = 21; + */ public static final int Type_JoinExistingGameMessage_VALUE = 21; + /** + * Type_JoinNewGameMessage = 22; + */ public static final int Type_JoinNewGameMessage_VALUE = 22; + /** + * Type_RejoinExistingGameMessage = 23; + */ public static final int Type_RejoinExistingGameMessage_VALUE = 23; + /** + * Type_JoinGameAckMessage = 24; + */ public static final int Type_JoinGameAckMessage_VALUE = 24; + /** + * Type_JoinGameFailedMessage = 25; + */ public static final int Type_JoinGameFailedMessage_VALUE = 25; + /** + * Type_GamePlayerJoinedMessage = 26; + */ public static final int Type_GamePlayerJoinedMessage_VALUE = 26; + /** + * Type_GamePlayerLeftMessage = 27; + */ public static final int Type_GamePlayerLeftMessage_VALUE = 27; + /** + * Type_GameAdminChangedMessage = 28; + */ public static final int Type_GameAdminChangedMessage_VALUE = 28; + /** + * Type_RemovedFromGameMessage = 29; + */ public static final int Type_RemovedFromGameMessage_VALUE = 29; + /** + * Type_KickPlayerRequestMessage = 30; + */ public static final int Type_KickPlayerRequestMessage_VALUE = 30; + /** + * Type_LeaveGameRequestMessage = 31; + */ public static final int Type_LeaveGameRequestMessage_VALUE = 31; + /** + * Type_InvitePlayerToGameMessage = 32; + */ public static final int Type_InvitePlayerToGameMessage_VALUE = 32; + /** + * Type_InviteNotifyMessage = 33; + */ public static final int Type_InviteNotifyMessage_VALUE = 33; + /** + * Type_RejectGameInvitationMessage = 34; + */ public static final int Type_RejectGameInvitationMessage_VALUE = 34; + /** + * Type_RejectInvNotifyMessage = 35; + */ public static final int Type_RejectInvNotifyMessage_VALUE = 35; + /** + * Type_StartEventMessage = 36; + */ public static final int Type_StartEventMessage_VALUE = 36; + /** + * Type_StartEventAckMessage = 37; + */ public static final int Type_StartEventAckMessage_VALUE = 37; + /** + * Type_GameStartInitialMessage = 38; + */ public static final int Type_GameStartInitialMessage_VALUE = 38; + /** + * Type_GameStartRejoinMessage = 39; + */ public static final int Type_GameStartRejoinMessage_VALUE = 39; + /** + * Type_HandStartMessage = 40; + */ public static final int Type_HandStartMessage_VALUE = 40; + /** + * Type_PlayersTurnMessage = 41; + */ public static final int Type_PlayersTurnMessage_VALUE = 41; + /** + * Type_MyActionRequestMessage = 42; + */ public static final int Type_MyActionRequestMessage_VALUE = 42; + /** + * Type_YourActionRejectedMessage = 43; + */ public static final int Type_YourActionRejectedMessage_VALUE = 43; + /** + * Type_PlayersActionDoneMessage = 44; + */ public static final int Type_PlayersActionDoneMessage_VALUE = 44; + /** + * Type_DealFlopCardsMessage = 45; + */ public static final int Type_DealFlopCardsMessage_VALUE = 45; + /** + * Type_DealTurnCardMessage = 46; + */ public static final int Type_DealTurnCardMessage_VALUE = 46; + /** + * Type_DealRiverCardMessage = 47; + */ public static final int Type_DealRiverCardMessage_VALUE = 47; + /** + * Type_AllInShowCardsMessage = 48; + */ public static final int Type_AllInShowCardsMessage_VALUE = 48; + /** + * Type_EndOfHandShowCardsMessage = 49; + */ public static final int Type_EndOfHandShowCardsMessage_VALUE = 49; + /** + * Type_EndOfHandHideCardsMessage = 50; + */ public static final int Type_EndOfHandHideCardsMessage_VALUE = 50; + /** + * Type_ShowMyCardsRequestMessage = 51; + */ public static final int Type_ShowMyCardsRequestMessage_VALUE = 51; + /** + * Type_AfterHandShowCardsMessage = 52; + */ public static final int Type_AfterHandShowCardsMessage_VALUE = 52; + /** + * Type_EndOfGameMessage = 53; + */ public static final int Type_EndOfGameMessage_VALUE = 53; + /** + * Type_PlayerIdChangedMessage = 54; + */ public static final int Type_PlayerIdChangedMessage_VALUE = 54; + /** + * Type_AskKickPlayerMessage = 55; + */ public static final int Type_AskKickPlayerMessage_VALUE = 55; + /** + * Type_AskKickDeniedMessage = 56; + */ public static final int Type_AskKickDeniedMessage_VALUE = 56; + /** + * Type_StartKickPetitionMessage = 57; + */ public static final int Type_StartKickPetitionMessage_VALUE = 57; + /** + * Type_VoteKickRequestMessage = 58; + */ public static final int Type_VoteKickRequestMessage_VALUE = 58; + /** + * Type_VoteKickReplyMessage = 59; + */ public static final int Type_VoteKickReplyMessage_VALUE = 59; + /** + * Type_KickPetitionUpdateMessage = 60; + */ public static final int Type_KickPetitionUpdateMessage_VALUE = 60; + /** + * Type_EndKickPetitionMessage = 61; + */ public static final int Type_EndKickPetitionMessage_VALUE = 61; + /** + * Type_StatisticsMessage = 62; + */ public static final int Type_StatisticsMessage_VALUE = 62; + /** + * Type_ChatRequestMessage = 63; + */ public static final int Type_ChatRequestMessage_VALUE = 63; + /** + * Type_ChatMessage = 64; + */ public static final int Type_ChatMessage_VALUE = 64; + /** + * Type_ChatRejectMessage = 65; + */ public static final int Type_ChatRejectMessage_VALUE = 65; + /** + * Type_DialogMessage = 66; + */ public static final int Type_DialogMessage_VALUE = 66; + /** + * Type_TimeoutWarningMessage = 67; + */ public static final int Type_TimeoutWarningMessage_VALUE = 67; + /** + * Type_ResetTimeoutMessage = 68; + */ public static final int Type_ResetTimeoutMessage_VALUE = 68; + /** + * Type_ReportAvatarMessage = 69; + */ public static final int Type_ReportAvatarMessage_VALUE = 69; + /** + * Type_ReportAvatarAckMessage = 70; + */ public static final int Type_ReportAvatarAckMessage_VALUE = 70; + /** + * Type_ReportGameMessage = 71; + */ public static final int Type_ReportGameMessage_VALUE = 71; + /** + * Type_ReportGameAckMessage = 72; + */ public static final int Type_ReportGameAckMessage_VALUE = 72; + /** + * Type_ErrorMessage = 73; + */ public static final int Type_ErrorMessage_VALUE = 73; + /** + * Type_AdminRemoveGameMessage = 74; + */ public static final int Type_AdminRemoveGameMessage_VALUE = 74; + /** + * Type_AdminRemoveGameAckMessage = 75; + */ public static final int Type_AdminRemoveGameAckMessage_VALUE = 75; + /** + * Type_AdminBanPlayerMessage = 76; + */ public static final int Type_AdminBanPlayerMessage_VALUE = 76; + /** + * Type_AdminBanPlayerAckMessage = 77; + */ public static final int Type_AdminBanPlayerAckMessage_VALUE = 77; + /** + * Type_GameListSpectatorJoinedMessage = 78; + */ public static final int Type_GameListSpectatorJoinedMessage_VALUE = 78; + /** + * Type_GameListSpectatorLeftMessage = 79; + */ public static final int Type_GameListSpectatorLeftMessage_VALUE = 79; + /** + * Type_GameSpectatorJoinedMessage = 80; + */ public static final int Type_GameSpectatorJoinedMessage_VALUE = 80; + /** + * Type_GameSpectatorLeftMessage = 81; + */ public static final int Type_GameSpectatorLeftMessage_VALUE = 81; - - + + public final int getNumber() { return value; } - + public static PokerTHMessageType valueOf(int value) { switch (value) { case 1: return Type_AnnounceMessage; @@ -39881,7 +52064,7 @@ public final class ProtoBuf { default: return null; } } - + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; @@ -39893,839 +52076,1331 @@ public final class ProtoBuf { return PokerTHMessageType.valueOf(number); } }; - + private final int value; - + private PokerTHMessageType(int index, int value) { this.value = value; } - + // @@protoc_insertion_point(enum_scope:PokerTHMessage.PokerTHMessageType) } - + private int bitField0_; private int bitField1_; private int bitField2_; // required .PokerTHMessage.PokerTHMessageType messageType = 1; public static final int MESSAGETYPE_FIELD_NUMBER = 1; private de.pokerth.protocol.ProtoBuf.PokerTHMessage.PokerTHMessageType messageType_; + /** + * required .PokerTHMessage.PokerTHMessageType messageType = 1; + */ public boolean hasMessageType() { return ((bitField0_ & 0x00000001) == 0x00000001); } + /** + * required .PokerTHMessage.PokerTHMessageType messageType = 1; + */ public de.pokerth.protocol.ProtoBuf.PokerTHMessage.PokerTHMessageType getMessageType() { return messageType_; } - + // optional .AnnounceMessage announceMessage = 2; public static final int ANNOUNCEMESSAGE_FIELD_NUMBER = 2; private de.pokerth.protocol.ProtoBuf.AnnounceMessage announceMessage_; + /** + * optional .AnnounceMessage announceMessage = 2; + */ public boolean hasAnnounceMessage() { return ((bitField0_ & 0x00000002) == 0x00000002); } + /** + * optional .AnnounceMessage announceMessage = 2; + */ public de.pokerth.protocol.ProtoBuf.AnnounceMessage getAnnounceMessage() { return announceMessage_; } - + // optional .InitMessage initMessage = 3; public static final int INITMESSAGE_FIELD_NUMBER = 3; private de.pokerth.protocol.ProtoBuf.InitMessage initMessage_; + /** + * optional .InitMessage initMessage = 3; + */ public boolean hasInitMessage() { return ((bitField0_ & 0x00000004) == 0x00000004); } + /** + * optional .InitMessage initMessage = 3; + */ public de.pokerth.protocol.ProtoBuf.InitMessage getInitMessage() { return initMessage_; } - + // optional .AuthServerChallengeMessage authServerChallengeMessage = 4; public static final int AUTHSERVERCHALLENGEMESSAGE_FIELD_NUMBER = 4; private de.pokerth.protocol.ProtoBuf.AuthServerChallengeMessage authServerChallengeMessage_; + /** + * optional .AuthServerChallengeMessage authServerChallengeMessage = 4; + */ public boolean hasAuthServerChallengeMessage() { return ((bitField0_ & 0x00000008) == 0x00000008); } + /** + * optional .AuthServerChallengeMessage authServerChallengeMessage = 4; + */ public de.pokerth.protocol.ProtoBuf.AuthServerChallengeMessage getAuthServerChallengeMessage() { return authServerChallengeMessage_; } - + // optional .AuthClientResponseMessage authClientResponseMessage = 5; public static final int AUTHCLIENTRESPONSEMESSAGE_FIELD_NUMBER = 5; private de.pokerth.protocol.ProtoBuf.AuthClientResponseMessage authClientResponseMessage_; + /** + * optional .AuthClientResponseMessage authClientResponseMessage = 5; + */ public boolean hasAuthClientResponseMessage() { return ((bitField0_ & 0x00000010) == 0x00000010); } + /** + * optional .AuthClientResponseMessage authClientResponseMessage = 5; + */ public de.pokerth.protocol.ProtoBuf.AuthClientResponseMessage getAuthClientResponseMessage() { return authClientResponseMessage_; } - + // optional .AuthServerVerificationMessage authServerVerificationMessage = 6; public static final int AUTHSERVERVERIFICATIONMESSAGE_FIELD_NUMBER = 6; private de.pokerth.protocol.ProtoBuf.AuthServerVerificationMessage authServerVerificationMessage_; + /** + * optional .AuthServerVerificationMessage authServerVerificationMessage = 6; + */ public boolean hasAuthServerVerificationMessage() { return ((bitField0_ & 0x00000020) == 0x00000020); } + /** + * optional .AuthServerVerificationMessage authServerVerificationMessage = 6; + */ public de.pokerth.protocol.ProtoBuf.AuthServerVerificationMessage getAuthServerVerificationMessage() { return authServerVerificationMessage_; } - + // optional .InitAckMessage initAckMessage = 7; public static final int INITACKMESSAGE_FIELD_NUMBER = 7; private de.pokerth.protocol.ProtoBuf.InitAckMessage initAckMessage_; + /** + * optional .InitAckMessage initAckMessage = 7; + */ public boolean hasInitAckMessage() { return ((bitField0_ & 0x00000040) == 0x00000040); } + /** + * optional .InitAckMessage initAckMessage = 7; + */ public de.pokerth.protocol.ProtoBuf.InitAckMessage getInitAckMessage() { return initAckMessage_; } - + // optional .AvatarRequestMessage avatarRequestMessage = 8; public static final int AVATARREQUESTMESSAGE_FIELD_NUMBER = 8; private de.pokerth.protocol.ProtoBuf.AvatarRequestMessage avatarRequestMessage_; + /** + * optional .AvatarRequestMessage avatarRequestMessage = 8; + */ public boolean hasAvatarRequestMessage() { return ((bitField0_ & 0x00000080) == 0x00000080); } + /** + * optional .AvatarRequestMessage avatarRequestMessage = 8; + */ public de.pokerth.protocol.ProtoBuf.AvatarRequestMessage getAvatarRequestMessage() { return avatarRequestMessage_; } - + // optional .AvatarHeaderMessage avatarHeaderMessage = 9; public static final int AVATARHEADERMESSAGE_FIELD_NUMBER = 9; private de.pokerth.protocol.ProtoBuf.AvatarHeaderMessage avatarHeaderMessage_; + /** + * optional .AvatarHeaderMessage avatarHeaderMessage = 9; + */ public boolean hasAvatarHeaderMessage() { return ((bitField0_ & 0x00000100) == 0x00000100); } + /** + * optional .AvatarHeaderMessage avatarHeaderMessage = 9; + */ public de.pokerth.protocol.ProtoBuf.AvatarHeaderMessage getAvatarHeaderMessage() { return avatarHeaderMessage_; } - + // optional .AvatarDataMessage avatarDataMessage = 10; public static final int AVATARDATAMESSAGE_FIELD_NUMBER = 10; private de.pokerth.protocol.ProtoBuf.AvatarDataMessage avatarDataMessage_; + /** + * optional .AvatarDataMessage avatarDataMessage = 10; + */ public boolean hasAvatarDataMessage() { return ((bitField0_ & 0x00000200) == 0x00000200); } + /** + * optional .AvatarDataMessage avatarDataMessage = 10; + */ public de.pokerth.protocol.ProtoBuf.AvatarDataMessage getAvatarDataMessage() { return avatarDataMessage_; } - + // optional .AvatarEndMessage avatarEndMessage = 11; public static final int AVATARENDMESSAGE_FIELD_NUMBER = 11; private de.pokerth.protocol.ProtoBuf.AvatarEndMessage avatarEndMessage_; + /** + * optional .AvatarEndMessage avatarEndMessage = 11; + */ public boolean hasAvatarEndMessage() { return ((bitField0_ & 0x00000400) == 0x00000400); } + /** + * optional .AvatarEndMessage avatarEndMessage = 11; + */ public de.pokerth.protocol.ProtoBuf.AvatarEndMessage getAvatarEndMessage() { return avatarEndMessage_; } - + // optional .UnknownAvatarMessage unknownAvatarMessage = 12; public static final int UNKNOWNAVATARMESSAGE_FIELD_NUMBER = 12; private de.pokerth.protocol.ProtoBuf.UnknownAvatarMessage unknownAvatarMessage_; + /** + * optional .UnknownAvatarMessage unknownAvatarMessage = 12; + */ public boolean hasUnknownAvatarMessage() { return ((bitField0_ & 0x00000800) == 0x00000800); } + /** + * optional .UnknownAvatarMessage unknownAvatarMessage = 12; + */ public de.pokerth.protocol.ProtoBuf.UnknownAvatarMessage getUnknownAvatarMessage() { return unknownAvatarMessage_; } - + // optional .PlayerListMessage playerListMessage = 13; public static final int PLAYERLISTMESSAGE_FIELD_NUMBER = 13; private de.pokerth.protocol.ProtoBuf.PlayerListMessage playerListMessage_; + /** + * optional .PlayerListMessage playerListMessage = 13; + */ public boolean hasPlayerListMessage() { return ((bitField0_ & 0x00001000) == 0x00001000); } + /** + * optional .PlayerListMessage playerListMessage = 13; + */ public de.pokerth.protocol.ProtoBuf.PlayerListMessage getPlayerListMessage() { return playerListMessage_; } - + // optional .GameListNewMessage gameListNewMessage = 14; public static final int GAMELISTNEWMESSAGE_FIELD_NUMBER = 14; private de.pokerth.protocol.ProtoBuf.GameListNewMessage gameListNewMessage_; + /** + * optional .GameListNewMessage gameListNewMessage = 14; + */ public boolean hasGameListNewMessage() { return ((bitField0_ & 0x00002000) == 0x00002000); } + /** + * optional .GameListNewMessage gameListNewMessage = 14; + */ public de.pokerth.protocol.ProtoBuf.GameListNewMessage getGameListNewMessage() { return gameListNewMessage_; } - + // optional .GameListUpdateMessage gameListUpdateMessage = 15; public static final int GAMELISTUPDATEMESSAGE_FIELD_NUMBER = 15; private de.pokerth.protocol.ProtoBuf.GameListUpdateMessage gameListUpdateMessage_; + /** + * optional .GameListUpdateMessage gameListUpdateMessage = 15; + */ public boolean hasGameListUpdateMessage() { return ((bitField0_ & 0x00004000) == 0x00004000); } + /** + * optional .GameListUpdateMessage gameListUpdateMessage = 15; + */ public de.pokerth.protocol.ProtoBuf.GameListUpdateMessage getGameListUpdateMessage() { return gameListUpdateMessage_; } - + // optional .GameListPlayerJoinedMessage gameListPlayerJoinedMessage = 16; public static final int GAMELISTPLAYERJOINEDMESSAGE_FIELD_NUMBER = 16; private de.pokerth.protocol.ProtoBuf.GameListPlayerJoinedMessage gameListPlayerJoinedMessage_; + /** + * optional .GameListPlayerJoinedMessage gameListPlayerJoinedMessage = 16; + */ public boolean hasGameListPlayerJoinedMessage() { return ((bitField0_ & 0x00008000) == 0x00008000); } + /** + * optional .GameListPlayerJoinedMessage gameListPlayerJoinedMessage = 16; + */ public de.pokerth.protocol.ProtoBuf.GameListPlayerJoinedMessage getGameListPlayerJoinedMessage() { return gameListPlayerJoinedMessage_; } - + // optional .GameListPlayerLeftMessage gameListPlayerLeftMessage = 17; public static final int GAMELISTPLAYERLEFTMESSAGE_FIELD_NUMBER = 17; private de.pokerth.protocol.ProtoBuf.GameListPlayerLeftMessage gameListPlayerLeftMessage_; + /** + * optional .GameListPlayerLeftMessage gameListPlayerLeftMessage = 17; + */ public boolean hasGameListPlayerLeftMessage() { return ((bitField0_ & 0x00010000) == 0x00010000); } + /** + * optional .GameListPlayerLeftMessage gameListPlayerLeftMessage = 17; + */ public de.pokerth.protocol.ProtoBuf.GameListPlayerLeftMessage getGameListPlayerLeftMessage() { return gameListPlayerLeftMessage_; } - + // optional .GameListAdminChangedMessage gameListAdminChangedMessage = 18; public static final int GAMELISTADMINCHANGEDMESSAGE_FIELD_NUMBER = 18; private de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessage gameListAdminChangedMessage_; + /** + * optional .GameListAdminChangedMessage gameListAdminChangedMessage = 18; + */ public boolean hasGameListAdminChangedMessage() { return ((bitField0_ & 0x00020000) == 0x00020000); } + /** + * optional .GameListAdminChangedMessage gameListAdminChangedMessage = 18; + */ public de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessage getGameListAdminChangedMessage() { return gameListAdminChangedMessage_; } - + // optional .PlayerInfoRequestMessage playerInfoRequestMessage = 19; public static final int PLAYERINFOREQUESTMESSAGE_FIELD_NUMBER = 19; private de.pokerth.protocol.ProtoBuf.PlayerInfoRequestMessage playerInfoRequestMessage_; + /** + * optional .PlayerInfoRequestMessage playerInfoRequestMessage = 19; + */ public boolean hasPlayerInfoRequestMessage() { return ((bitField0_ & 0x00040000) == 0x00040000); } + /** + * optional .PlayerInfoRequestMessage playerInfoRequestMessage = 19; + */ public de.pokerth.protocol.ProtoBuf.PlayerInfoRequestMessage getPlayerInfoRequestMessage() { return playerInfoRequestMessage_; } - + // optional .PlayerInfoReplyMessage playerInfoReplyMessage = 20; public static final int PLAYERINFOREPLYMESSAGE_FIELD_NUMBER = 20; private de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage playerInfoReplyMessage_; + /** + * optional .PlayerInfoReplyMessage playerInfoReplyMessage = 20; + */ public boolean hasPlayerInfoReplyMessage() { return ((bitField0_ & 0x00080000) == 0x00080000); } + /** + * optional .PlayerInfoReplyMessage playerInfoReplyMessage = 20; + */ public de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage getPlayerInfoReplyMessage() { return playerInfoReplyMessage_; } - + // optional .SubscriptionRequestMessage subscriptionRequestMessage = 21; public static final int SUBSCRIPTIONREQUESTMESSAGE_FIELD_NUMBER = 21; private de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage subscriptionRequestMessage_; + /** + * optional .SubscriptionRequestMessage subscriptionRequestMessage = 21; + */ public boolean hasSubscriptionRequestMessage() { return ((bitField0_ & 0x00100000) == 0x00100000); } + /** + * optional .SubscriptionRequestMessage subscriptionRequestMessage = 21; + */ public de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage getSubscriptionRequestMessage() { return subscriptionRequestMessage_; } - + // optional .JoinExistingGameMessage joinExistingGameMessage = 22; public static final int JOINEXISTINGGAMEMESSAGE_FIELD_NUMBER = 22; private de.pokerth.protocol.ProtoBuf.JoinExistingGameMessage joinExistingGameMessage_; + /** + * optional .JoinExistingGameMessage joinExistingGameMessage = 22; + */ public boolean hasJoinExistingGameMessage() { return ((bitField0_ & 0x00200000) == 0x00200000); } + /** + * optional .JoinExistingGameMessage joinExistingGameMessage = 22; + */ public de.pokerth.protocol.ProtoBuf.JoinExistingGameMessage getJoinExistingGameMessage() { return joinExistingGameMessage_; } - + // optional .JoinNewGameMessage joinNewGameMessage = 23; public static final int JOINNEWGAMEMESSAGE_FIELD_NUMBER = 23; private de.pokerth.protocol.ProtoBuf.JoinNewGameMessage joinNewGameMessage_; + /** + * optional .JoinNewGameMessage joinNewGameMessage = 23; + */ public boolean hasJoinNewGameMessage() { return ((bitField0_ & 0x00400000) == 0x00400000); } + /** + * optional .JoinNewGameMessage joinNewGameMessage = 23; + */ public de.pokerth.protocol.ProtoBuf.JoinNewGameMessage getJoinNewGameMessage() { return joinNewGameMessage_; } - + // optional .RejoinExistingGameMessage rejoinExistingGameMessage = 24; public static final int REJOINEXISTINGGAMEMESSAGE_FIELD_NUMBER = 24; private de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessage rejoinExistingGameMessage_; + /** + * optional .RejoinExistingGameMessage rejoinExistingGameMessage = 24; + */ public boolean hasRejoinExistingGameMessage() { return ((bitField0_ & 0x00800000) == 0x00800000); } + /** + * optional .RejoinExistingGameMessage rejoinExistingGameMessage = 24; + */ public de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessage getRejoinExistingGameMessage() { return rejoinExistingGameMessage_; } - + // optional .JoinGameAckMessage joinGameAckMessage = 25; public static final int JOINGAMEACKMESSAGE_FIELD_NUMBER = 25; private de.pokerth.protocol.ProtoBuf.JoinGameAckMessage joinGameAckMessage_; + /** + * optional .JoinGameAckMessage joinGameAckMessage = 25; + */ public boolean hasJoinGameAckMessage() { return ((bitField0_ & 0x01000000) == 0x01000000); } + /** + * optional .JoinGameAckMessage joinGameAckMessage = 25; + */ public de.pokerth.protocol.ProtoBuf.JoinGameAckMessage getJoinGameAckMessage() { return joinGameAckMessage_; } - + // optional .JoinGameFailedMessage joinGameFailedMessage = 26; public static final int JOINGAMEFAILEDMESSAGE_FIELD_NUMBER = 26; private de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage joinGameFailedMessage_; + /** + * optional .JoinGameFailedMessage joinGameFailedMessage = 26; + */ public boolean hasJoinGameFailedMessage() { return ((bitField0_ & 0x02000000) == 0x02000000); } + /** + * optional .JoinGameFailedMessage joinGameFailedMessage = 26; + */ public de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage getJoinGameFailedMessage() { return joinGameFailedMessage_; } - + // optional .GamePlayerJoinedMessage gamePlayerJoinedMessage = 27; public static final int GAMEPLAYERJOINEDMESSAGE_FIELD_NUMBER = 27; private de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessage gamePlayerJoinedMessage_; + /** + * optional .GamePlayerJoinedMessage gamePlayerJoinedMessage = 27; + */ public boolean hasGamePlayerJoinedMessage() { return ((bitField0_ & 0x04000000) == 0x04000000); } + /** + * optional .GamePlayerJoinedMessage gamePlayerJoinedMessage = 27; + */ public de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessage getGamePlayerJoinedMessage() { return gamePlayerJoinedMessage_; } - + // optional .GamePlayerLeftMessage gamePlayerLeftMessage = 28; public static final int GAMEPLAYERLEFTMESSAGE_FIELD_NUMBER = 28; private de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage gamePlayerLeftMessage_; + /** + * optional .GamePlayerLeftMessage gamePlayerLeftMessage = 28; + */ public boolean hasGamePlayerLeftMessage() { return ((bitField0_ & 0x08000000) == 0x08000000); } + /** + * optional .GamePlayerLeftMessage gamePlayerLeftMessage = 28; + */ public de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage getGamePlayerLeftMessage() { return gamePlayerLeftMessage_; } - + // optional .GameAdminChangedMessage gameAdminChangedMessage = 29; public static final int GAMEADMINCHANGEDMESSAGE_FIELD_NUMBER = 29; private de.pokerth.protocol.ProtoBuf.GameAdminChangedMessage gameAdminChangedMessage_; + /** + * optional .GameAdminChangedMessage gameAdminChangedMessage = 29; + */ public boolean hasGameAdminChangedMessage() { return ((bitField0_ & 0x10000000) == 0x10000000); } + /** + * optional .GameAdminChangedMessage gameAdminChangedMessage = 29; + */ public de.pokerth.protocol.ProtoBuf.GameAdminChangedMessage getGameAdminChangedMessage() { return gameAdminChangedMessage_; } - + // optional .RemovedFromGameMessage removedFromGameMessage = 30; public static final int REMOVEDFROMGAMEMESSAGE_FIELD_NUMBER = 30; private de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage removedFromGameMessage_; + /** + * optional .RemovedFromGameMessage removedFromGameMessage = 30; + */ public boolean hasRemovedFromGameMessage() { return ((bitField0_ & 0x20000000) == 0x20000000); } + /** + * optional .RemovedFromGameMessage removedFromGameMessage = 30; + */ public de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage getRemovedFromGameMessage() { return removedFromGameMessage_; } - + // optional .KickPlayerRequestMessage kickPlayerRequestMessage = 31; public static final int KICKPLAYERREQUESTMESSAGE_FIELD_NUMBER = 31; private de.pokerth.protocol.ProtoBuf.KickPlayerRequestMessage kickPlayerRequestMessage_; + /** + * optional .KickPlayerRequestMessage kickPlayerRequestMessage = 31; + */ public boolean hasKickPlayerRequestMessage() { return ((bitField0_ & 0x40000000) == 0x40000000); } + /** + * optional .KickPlayerRequestMessage kickPlayerRequestMessage = 31; + */ public de.pokerth.protocol.ProtoBuf.KickPlayerRequestMessage getKickPlayerRequestMessage() { return kickPlayerRequestMessage_; } - + // optional .LeaveGameRequestMessage leaveGameRequestMessage = 32; public static final int LEAVEGAMEREQUESTMESSAGE_FIELD_NUMBER = 32; private de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessage leaveGameRequestMessage_; + /** + * optional .LeaveGameRequestMessage leaveGameRequestMessage = 32; + */ public boolean hasLeaveGameRequestMessage() { return ((bitField0_ & 0x80000000) == 0x80000000); } + /** + * optional .LeaveGameRequestMessage leaveGameRequestMessage = 32; + */ public de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessage getLeaveGameRequestMessage() { return leaveGameRequestMessage_; } - + // optional .InvitePlayerToGameMessage invitePlayerToGameMessage = 33; public static final int INVITEPLAYERTOGAMEMESSAGE_FIELD_NUMBER = 33; private de.pokerth.protocol.ProtoBuf.InvitePlayerToGameMessage invitePlayerToGameMessage_; + /** + * optional .InvitePlayerToGameMessage invitePlayerToGameMessage = 33; + */ public boolean hasInvitePlayerToGameMessage() { return ((bitField1_ & 0x00000001) == 0x00000001); } + /** + * optional .InvitePlayerToGameMessage invitePlayerToGameMessage = 33; + */ public de.pokerth.protocol.ProtoBuf.InvitePlayerToGameMessage getInvitePlayerToGameMessage() { return invitePlayerToGameMessage_; } - + // optional .InviteNotifyMessage inviteNotifyMessage = 34; public static final int INVITENOTIFYMESSAGE_FIELD_NUMBER = 34; private de.pokerth.protocol.ProtoBuf.InviteNotifyMessage inviteNotifyMessage_; + /** + * optional .InviteNotifyMessage inviteNotifyMessage = 34; + */ public boolean hasInviteNotifyMessage() { return ((bitField1_ & 0x00000002) == 0x00000002); } + /** + * optional .InviteNotifyMessage inviteNotifyMessage = 34; + */ public de.pokerth.protocol.ProtoBuf.InviteNotifyMessage getInviteNotifyMessage() { return inviteNotifyMessage_; } - + // optional .RejectGameInvitationMessage rejectGameInvitationMessage = 35; public static final int REJECTGAMEINVITATIONMESSAGE_FIELD_NUMBER = 35; private de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage rejectGameInvitationMessage_; + /** + * optional .RejectGameInvitationMessage rejectGameInvitationMessage = 35; + */ public boolean hasRejectGameInvitationMessage() { return ((bitField1_ & 0x00000004) == 0x00000004); } + /** + * optional .RejectGameInvitationMessage rejectGameInvitationMessage = 35; + */ public de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage getRejectGameInvitationMessage() { return rejectGameInvitationMessage_; } - + // optional .RejectInvNotifyMessage rejectInvNotifyMessage = 36; public static final int REJECTINVNOTIFYMESSAGE_FIELD_NUMBER = 36; private de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessage rejectInvNotifyMessage_; + /** + * optional .RejectInvNotifyMessage rejectInvNotifyMessage = 36; + */ public boolean hasRejectInvNotifyMessage() { return ((bitField1_ & 0x00000008) == 0x00000008); } + /** + * optional .RejectInvNotifyMessage rejectInvNotifyMessage = 36; + */ public de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessage getRejectInvNotifyMessage() { return rejectInvNotifyMessage_; } - + // optional .StartEventMessage startEventMessage = 37; public static final int STARTEVENTMESSAGE_FIELD_NUMBER = 37; private de.pokerth.protocol.ProtoBuf.StartEventMessage startEventMessage_; + /** + * optional .StartEventMessage startEventMessage = 37; + */ public boolean hasStartEventMessage() { return ((bitField1_ & 0x00000010) == 0x00000010); } + /** + * optional .StartEventMessage startEventMessage = 37; + */ public de.pokerth.protocol.ProtoBuf.StartEventMessage getStartEventMessage() { return startEventMessage_; } - + // optional .StartEventAckMessage startEventAckMessage = 38; public static final int STARTEVENTACKMESSAGE_FIELD_NUMBER = 38; private de.pokerth.protocol.ProtoBuf.StartEventAckMessage startEventAckMessage_; + /** + * optional .StartEventAckMessage startEventAckMessage = 38; + */ public boolean hasStartEventAckMessage() { return ((bitField1_ & 0x00000020) == 0x00000020); } + /** + * optional .StartEventAckMessage startEventAckMessage = 38; + */ public de.pokerth.protocol.ProtoBuf.StartEventAckMessage getStartEventAckMessage() { return startEventAckMessage_; } - + // optional .GameStartInitialMessage gameStartInitialMessage = 39; public static final int GAMESTARTINITIALMESSAGE_FIELD_NUMBER = 39; private de.pokerth.protocol.ProtoBuf.GameStartInitialMessage gameStartInitialMessage_; + /** + * optional .GameStartInitialMessage gameStartInitialMessage = 39; + */ public boolean hasGameStartInitialMessage() { return ((bitField1_ & 0x00000040) == 0x00000040); } + /** + * optional .GameStartInitialMessage gameStartInitialMessage = 39; + */ public de.pokerth.protocol.ProtoBuf.GameStartInitialMessage getGameStartInitialMessage() { return gameStartInitialMessage_; } - + // optional .GameStartRejoinMessage gameStartRejoinMessage = 40; public static final int GAMESTARTREJOINMESSAGE_FIELD_NUMBER = 40; private de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage gameStartRejoinMessage_; + /** + * optional .GameStartRejoinMessage gameStartRejoinMessage = 40; + */ public boolean hasGameStartRejoinMessage() { return ((bitField1_ & 0x00000080) == 0x00000080); } + /** + * optional .GameStartRejoinMessage gameStartRejoinMessage = 40; + */ public de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage getGameStartRejoinMessage() { return gameStartRejoinMessage_; } - + // optional .HandStartMessage handStartMessage = 41; public static final int HANDSTARTMESSAGE_FIELD_NUMBER = 41; private de.pokerth.protocol.ProtoBuf.HandStartMessage handStartMessage_; + /** + * optional .HandStartMessage handStartMessage = 41; + */ public boolean hasHandStartMessage() { return ((bitField1_ & 0x00000100) == 0x00000100); } + /** + * optional .HandStartMessage handStartMessage = 41; + */ public de.pokerth.protocol.ProtoBuf.HandStartMessage getHandStartMessage() { return handStartMessage_; } - + // optional .PlayersTurnMessage playersTurnMessage = 42; public static final int PLAYERSTURNMESSAGE_FIELD_NUMBER = 42; private de.pokerth.protocol.ProtoBuf.PlayersTurnMessage playersTurnMessage_; + /** + * optional .PlayersTurnMessage playersTurnMessage = 42; + */ public boolean hasPlayersTurnMessage() { return ((bitField1_ & 0x00000200) == 0x00000200); } + /** + * optional .PlayersTurnMessage playersTurnMessage = 42; + */ public de.pokerth.protocol.ProtoBuf.PlayersTurnMessage getPlayersTurnMessage() { return playersTurnMessage_; } - + // optional .MyActionRequestMessage myActionRequestMessage = 43; public static final int MYACTIONREQUESTMESSAGE_FIELD_NUMBER = 43; private de.pokerth.protocol.ProtoBuf.MyActionRequestMessage myActionRequestMessage_; + /** + * optional .MyActionRequestMessage myActionRequestMessage = 43; + */ public boolean hasMyActionRequestMessage() { return ((bitField1_ & 0x00000400) == 0x00000400); } + /** + * optional .MyActionRequestMessage myActionRequestMessage = 43; + */ public de.pokerth.protocol.ProtoBuf.MyActionRequestMessage getMyActionRequestMessage() { return myActionRequestMessage_; } - + // optional .YourActionRejectedMessage yourActionRejectedMessage = 44; public static final int YOURACTIONREJECTEDMESSAGE_FIELD_NUMBER = 44; private de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage yourActionRejectedMessage_; + /** + * optional .YourActionRejectedMessage yourActionRejectedMessage = 44; + */ public boolean hasYourActionRejectedMessage() { return ((bitField1_ & 0x00000800) == 0x00000800); } + /** + * optional .YourActionRejectedMessage yourActionRejectedMessage = 44; + */ public de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage getYourActionRejectedMessage() { return yourActionRejectedMessage_; } - + // optional .PlayersActionDoneMessage playersActionDoneMessage = 45; public static final int PLAYERSACTIONDONEMESSAGE_FIELD_NUMBER = 45; private de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessage playersActionDoneMessage_; + /** + * optional .PlayersActionDoneMessage playersActionDoneMessage = 45; + */ public boolean hasPlayersActionDoneMessage() { return ((bitField1_ & 0x00001000) == 0x00001000); } + /** + * optional .PlayersActionDoneMessage playersActionDoneMessage = 45; + */ public de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessage getPlayersActionDoneMessage() { return playersActionDoneMessage_; } - + // optional .DealFlopCardsMessage dealFlopCardsMessage = 46; public static final int DEALFLOPCARDSMESSAGE_FIELD_NUMBER = 46; private de.pokerth.protocol.ProtoBuf.DealFlopCardsMessage dealFlopCardsMessage_; + /** + * optional .DealFlopCardsMessage dealFlopCardsMessage = 46; + */ public boolean hasDealFlopCardsMessage() { return ((bitField1_ & 0x00002000) == 0x00002000); } + /** + * optional .DealFlopCardsMessage dealFlopCardsMessage = 46; + */ public de.pokerth.protocol.ProtoBuf.DealFlopCardsMessage getDealFlopCardsMessage() { return dealFlopCardsMessage_; } - + // optional .DealTurnCardMessage dealTurnCardMessage = 47; public static final int DEALTURNCARDMESSAGE_FIELD_NUMBER = 47; private de.pokerth.protocol.ProtoBuf.DealTurnCardMessage dealTurnCardMessage_; + /** + * optional .DealTurnCardMessage dealTurnCardMessage = 47; + */ public boolean hasDealTurnCardMessage() { return ((bitField1_ & 0x00004000) == 0x00004000); } + /** + * optional .DealTurnCardMessage dealTurnCardMessage = 47; + */ public de.pokerth.protocol.ProtoBuf.DealTurnCardMessage getDealTurnCardMessage() { return dealTurnCardMessage_; } - + // optional .DealRiverCardMessage dealRiverCardMessage = 48; public static final int DEALRIVERCARDMESSAGE_FIELD_NUMBER = 48; private de.pokerth.protocol.ProtoBuf.DealRiverCardMessage dealRiverCardMessage_; + /** + * optional .DealRiverCardMessage dealRiverCardMessage = 48; + */ public boolean hasDealRiverCardMessage() { return ((bitField1_ & 0x00008000) == 0x00008000); } + /** + * optional .DealRiverCardMessage dealRiverCardMessage = 48; + */ public de.pokerth.protocol.ProtoBuf.DealRiverCardMessage getDealRiverCardMessage() { return dealRiverCardMessage_; } - + // optional .AllInShowCardsMessage allInShowCardsMessage = 49; public static final int ALLINSHOWCARDSMESSAGE_FIELD_NUMBER = 49; private de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage allInShowCardsMessage_; + /** + * optional .AllInShowCardsMessage allInShowCardsMessage = 49; + */ public boolean hasAllInShowCardsMessage() { return ((bitField1_ & 0x00010000) == 0x00010000); } + /** + * optional .AllInShowCardsMessage allInShowCardsMessage = 49; + */ public de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage getAllInShowCardsMessage() { return allInShowCardsMessage_; } - + // optional .EndOfHandShowCardsMessage endOfHandShowCardsMessage = 50; public static final int ENDOFHANDSHOWCARDSMESSAGE_FIELD_NUMBER = 50; private de.pokerth.protocol.ProtoBuf.EndOfHandShowCardsMessage endOfHandShowCardsMessage_; + /** + * optional .EndOfHandShowCardsMessage endOfHandShowCardsMessage = 50; + */ public boolean hasEndOfHandShowCardsMessage() { return ((bitField1_ & 0x00020000) == 0x00020000); } + /** + * optional .EndOfHandShowCardsMessage endOfHandShowCardsMessage = 50; + */ public de.pokerth.protocol.ProtoBuf.EndOfHandShowCardsMessage getEndOfHandShowCardsMessage() { return endOfHandShowCardsMessage_; } - + // optional .EndOfHandHideCardsMessage endOfHandHideCardsMessage = 51; public static final int ENDOFHANDHIDECARDSMESSAGE_FIELD_NUMBER = 51; private de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessage endOfHandHideCardsMessage_; + /** + * optional .EndOfHandHideCardsMessage endOfHandHideCardsMessage = 51; + */ public boolean hasEndOfHandHideCardsMessage() { return ((bitField1_ & 0x00040000) == 0x00040000); } + /** + * optional .EndOfHandHideCardsMessage endOfHandHideCardsMessage = 51; + */ public de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessage getEndOfHandHideCardsMessage() { return endOfHandHideCardsMessage_; } - + // optional .ShowMyCardsRequestMessage showMyCardsRequestMessage = 52; public static final int SHOWMYCARDSREQUESTMESSAGE_FIELD_NUMBER = 52; private de.pokerth.protocol.ProtoBuf.ShowMyCardsRequestMessage showMyCardsRequestMessage_; + /** + * optional .ShowMyCardsRequestMessage showMyCardsRequestMessage = 52; + */ public boolean hasShowMyCardsRequestMessage() { return ((bitField1_ & 0x00080000) == 0x00080000); } + /** + * optional .ShowMyCardsRequestMessage showMyCardsRequestMessage = 52; + */ public de.pokerth.protocol.ProtoBuf.ShowMyCardsRequestMessage getShowMyCardsRequestMessage() { return showMyCardsRequestMessage_; } - + // optional .AfterHandShowCardsMessage afterHandShowCardsMessage = 53; public static final int AFTERHANDSHOWCARDSMESSAGE_FIELD_NUMBER = 53; private de.pokerth.protocol.ProtoBuf.AfterHandShowCardsMessage afterHandShowCardsMessage_; + /** + * optional .AfterHandShowCardsMessage afterHandShowCardsMessage = 53; + */ public boolean hasAfterHandShowCardsMessage() { return ((bitField1_ & 0x00100000) == 0x00100000); } + /** + * optional .AfterHandShowCardsMessage afterHandShowCardsMessage = 53; + */ public de.pokerth.protocol.ProtoBuf.AfterHandShowCardsMessage getAfterHandShowCardsMessage() { return afterHandShowCardsMessage_; } - + // optional .EndOfGameMessage endOfGameMessage = 54; public static final int ENDOFGAMEMESSAGE_FIELD_NUMBER = 54; private de.pokerth.protocol.ProtoBuf.EndOfGameMessage endOfGameMessage_; + /** + * optional .EndOfGameMessage endOfGameMessage = 54; + */ public boolean hasEndOfGameMessage() { return ((bitField1_ & 0x00200000) == 0x00200000); } + /** + * optional .EndOfGameMessage endOfGameMessage = 54; + */ public de.pokerth.protocol.ProtoBuf.EndOfGameMessage getEndOfGameMessage() { return endOfGameMessage_; } - + // optional .PlayerIdChangedMessage playerIdChangedMessage = 55; public static final int PLAYERIDCHANGEDMESSAGE_FIELD_NUMBER = 55; private de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessage playerIdChangedMessage_; + /** + * optional .PlayerIdChangedMessage playerIdChangedMessage = 55; + */ public boolean hasPlayerIdChangedMessage() { return ((bitField1_ & 0x00400000) == 0x00400000); } + /** + * optional .PlayerIdChangedMessage playerIdChangedMessage = 55; + */ public de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessage getPlayerIdChangedMessage() { return playerIdChangedMessage_; } - + // optional .AskKickPlayerMessage askKickPlayerMessage = 56; public static final int ASKKICKPLAYERMESSAGE_FIELD_NUMBER = 56; private de.pokerth.protocol.ProtoBuf.AskKickPlayerMessage askKickPlayerMessage_; + /** + * optional .AskKickPlayerMessage askKickPlayerMessage = 56; + */ public boolean hasAskKickPlayerMessage() { return ((bitField1_ & 0x00800000) == 0x00800000); } + /** + * optional .AskKickPlayerMessage askKickPlayerMessage = 56; + */ public de.pokerth.protocol.ProtoBuf.AskKickPlayerMessage getAskKickPlayerMessage() { return askKickPlayerMessage_; } - + // optional .AskKickDeniedMessage askKickDeniedMessage = 57; public static final int ASKKICKDENIEDMESSAGE_FIELD_NUMBER = 57; private de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage askKickDeniedMessage_; + /** + * optional .AskKickDeniedMessage askKickDeniedMessage = 57; + */ public boolean hasAskKickDeniedMessage() { return ((bitField1_ & 0x01000000) == 0x01000000); } + /** + * optional .AskKickDeniedMessage askKickDeniedMessage = 57; + */ public de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage getAskKickDeniedMessage() { return askKickDeniedMessage_; } - + // optional .StartKickPetitionMessage startKickPetitionMessage = 58; public static final int STARTKICKPETITIONMESSAGE_FIELD_NUMBER = 58; private de.pokerth.protocol.ProtoBuf.StartKickPetitionMessage startKickPetitionMessage_; + /** + * optional .StartKickPetitionMessage startKickPetitionMessage = 58; + */ public boolean hasStartKickPetitionMessage() { return ((bitField1_ & 0x02000000) == 0x02000000); } + /** + * optional .StartKickPetitionMessage startKickPetitionMessage = 58; + */ public de.pokerth.protocol.ProtoBuf.StartKickPetitionMessage getStartKickPetitionMessage() { return startKickPetitionMessage_; } - + // optional .VoteKickRequestMessage voteKickRequestMessage = 59; public static final int VOTEKICKREQUESTMESSAGE_FIELD_NUMBER = 59; private de.pokerth.protocol.ProtoBuf.VoteKickRequestMessage voteKickRequestMessage_; + /** + * optional .VoteKickRequestMessage voteKickRequestMessage = 59; + */ public boolean hasVoteKickRequestMessage() { return ((bitField1_ & 0x04000000) == 0x04000000); } + /** + * optional .VoteKickRequestMessage voteKickRequestMessage = 59; + */ public de.pokerth.protocol.ProtoBuf.VoteKickRequestMessage getVoteKickRequestMessage() { return voteKickRequestMessage_; } - + // optional .VoteKickReplyMessage voteKickReplyMessage = 60; public static final int VOTEKICKREPLYMESSAGE_FIELD_NUMBER = 60; private de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage voteKickReplyMessage_; + /** + * optional .VoteKickReplyMessage voteKickReplyMessage = 60; + */ public boolean hasVoteKickReplyMessage() { return ((bitField1_ & 0x08000000) == 0x08000000); } + /** + * optional .VoteKickReplyMessage voteKickReplyMessage = 60; + */ public de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage getVoteKickReplyMessage() { return voteKickReplyMessage_; } - + // optional .KickPetitionUpdateMessage kickPetitionUpdateMessage = 61; public static final int KICKPETITIONUPDATEMESSAGE_FIELD_NUMBER = 61; private de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessage kickPetitionUpdateMessage_; + /** + * optional .KickPetitionUpdateMessage kickPetitionUpdateMessage = 61; + */ public boolean hasKickPetitionUpdateMessage() { return ((bitField1_ & 0x10000000) == 0x10000000); } + /** + * optional .KickPetitionUpdateMessage kickPetitionUpdateMessage = 61; + */ public de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessage getKickPetitionUpdateMessage() { return kickPetitionUpdateMessage_; } - + // optional .EndKickPetitionMessage endKickPetitionMessage = 62; public static final int ENDKICKPETITIONMESSAGE_FIELD_NUMBER = 62; private de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage endKickPetitionMessage_; + /** + * optional .EndKickPetitionMessage endKickPetitionMessage = 62; + */ public boolean hasEndKickPetitionMessage() { return ((bitField1_ & 0x20000000) == 0x20000000); } + /** + * optional .EndKickPetitionMessage endKickPetitionMessage = 62; + */ public de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage getEndKickPetitionMessage() { return endKickPetitionMessage_; } - + // optional .StatisticsMessage statisticsMessage = 63; public static final int STATISTICSMESSAGE_FIELD_NUMBER = 63; private de.pokerth.protocol.ProtoBuf.StatisticsMessage statisticsMessage_; + /** + * optional .StatisticsMessage statisticsMessage = 63; + */ public boolean hasStatisticsMessage() { return ((bitField1_ & 0x40000000) == 0x40000000); } + /** + * optional .StatisticsMessage statisticsMessage = 63; + */ public de.pokerth.protocol.ProtoBuf.StatisticsMessage getStatisticsMessage() { return statisticsMessage_; } - + // optional .ChatRequestMessage chatRequestMessage = 64; public static final int CHATREQUESTMESSAGE_FIELD_NUMBER = 64; private de.pokerth.protocol.ProtoBuf.ChatRequestMessage chatRequestMessage_; + /** + * optional .ChatRequestMessage chatRequestMessage = 64; + */ public boolean hasChatRequestMessage() { return ((bitField1_ & 0x80000000) == 0x80000000); } + /** + * optional .ChatRequestMessage chatRequestMessage = 64; + */ public de.pokerth.protocol.ProtoBuf.ChatRequestMessage getChatRequestMessage() { return chatRequestMessage_; } - + // optional .ChatMessage chatMessage = 65; public static final int CHATMESSAGE_FIELD_NUMBER = 65; private de.pokerth.protocol.ProtoBuf.ChatMessage chatMessage_; + /** + * optional .ChatMessage chatMessage = 65; + */ public boolean hasChatMessage() { return ((bitField2_ & 0x00000001) == 0x00000001); } + /** + * optional .ChatMessage chatMessage = 65; + */ public de.pokerth.protocol.ProtoBuf.ChatMessage getChatMessage() { return chatMessage_; } - + // optional .ChatRejectMessage chatRejectMessage = 66; public static final int CHATREJECTMESSAGE_FIELD_NUMBER = 66; private de.pokerth.protocol.ProtoBuf.ChatRejectMessage chatRejectMessage_; + /** + * optional .ChatRejectMessage chatRejectMessage = 66; + */ public boolean hasChatRejectMessage() { return ((bitField2_ & 0x00000002) == 0x00000002); } + /** + * optional .ChatRejectMessage chatRejectMessage = 66; + */ public de.pokerth.protocol.ProtoBuf.ChatRejectMessage getChatRejectMessage() { return chatRejectMessage_; } - + // optional .DialogMessage dialogMessage = 67; public static final int DIALOGMESSAGE_FIELD_NUMBER = 67; private de.pokerth.protocol.ProtoBuf.DialogMessage dialogMessage_; + /** + * optional .DialogMessage dialogMessage = 67; + */ public boolean hasDialogMessage() { return ((bitField2_ & 0x00000004) == 0x00000004); } + /** + * optional .DialogMessage dialogMessage = 67; + */ public de.pokerth.protocol.ProtoBuf.DialogMessage getDialogMessage() { return dialogMessage_; } - + // optional .TimeoutWarningMessage timeoutWarningMessage = 68; public static final int TIMEOUTWARNINGMESSAGE_FIELD_NUMBER = 68; private de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage timeoutWarningMessage_; + /** + * optional .TimeoutWarningMessage timeoutWarningMessage = 68; + */ public boolean hasTimeoutWarningMessage() { return ((bitField2_ & 0x00000008) == 0x00000008); } + /** + * optional .TimeoutWarningMessage timeoutWarningMessage = 68; + */ public de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage getTimeoutWarningMessage() { return timeoutWarningMessage_; } - + // optional .ResetTimeoutMessage resetTimeoutMessage = 69; public static final int RESETTIMEOUTMESSAGE_FIELD_NUMBER = 69; private de.pokerth.protocol.ProtoBuf.ResetTimeoutMessage resetTimeoutMessage_; + /** + * optional .ResetTimeoutMessage resetTimeoutMessage = 69; + */ public boolean hasResetTimeoutMessage() { return ((bitField2_ & 0x00000010) == 0x00000010); } + /** + * optional .ResetTimeoutMessage resetTimeoutMessage = 69; + */ public de.pokerth.protocol.ProtoBuf.ResetTimeoutMessage getResetTimeoutMessage() { return resetTimeoutMessage_; } - + // optional .ReportAvatarMessage reportAvatarMessage = 70; public static final int REPORTAVATARMESSAGE_FIELD_NUMBER = 70; private de.pokerth.protocol.ProtoBuf.ReportAvatarMessage reportAvatarMessage_; + /** + * optional .ReportAvatarMessage reportAvatarMessage = 70; + */ public boolean hasReportAvatarMessage() { return ((bitField2_ & 0x00000020) == 0x00000020); } + /** + * optional .ReportAvatarMessage reportAvatarMessage = 70; + */ public de.pokerth.protocol.ProtoBuf.ReportAvatarMessage getReportAvatarMessage() { return reportAvatarMessage_; } - + // optional .ReportAvatarAckMessage reportAvatarAckMessage = 71; public static final int REPORTAVATARACKMESSAGE_FIELD_NUMBER = 71; private de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage reportAvatarAckMessage_; + /** + * optional .ReportAvatarAckMessage reportAvatarAckMessage = 71; + */ public boolean hasReportAvatarAckMessage() { return ((bitField2_ & 0x00000040) == 0x00000040); } + /** + * optional .ReportAvatarAckMessage reportAvatarAckMessage = 71; + */ public de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage getReportAvatarAckMessage() { return reportAvatarAckMessage_; } - + // optional .ReportGameMessage reportGameMessage = 72; public static final int REPORTGAMEMESSAGE_FIELD_NUMBER = 72; private de.pokerth.protocol.ProtoBuf.ReportGameMessage reportGameMessage_; + /** + * optional .ReportGameMessage reportGameMessage = 72; + */ public boolean hasReportGameMessage() { return ((bitField2_ & 0x00000080) == 0x00000080); } + /** + * optional .ReportGameMessage reportGameMessage = 72; + */ public de.pokerth.protocol.ProtoBuf.ReportGameMessage getReportGameMessage() { return reportGameMessage_; } - + // optional .ReportGameAckMessage reportGameAckMessage = 73; public static final int REPORTGAMEACKMESSAGE_FIELD_NUMBER = 73; private de.pokerth.protocol.ProtoBuf.ReportGameAckMessage reportGameAckMessage_; + /** + * optional .ReportGameAckMessage reportGameAckMessage = 73; + */ public boolean hasReportGameAckMessage() { return ((bitField2_ & 0x00000100) == 0x00000100); } + /** + * optional .ReportGameAckMessage reportGameAckMessage = 73; + */ public de.pokerth.protocol.ProtoBuf.ReportGameAckMessage getReportGameAckMessage() { return reportGameAckMessage_; } - + // optional .ErrorMessage errorMessage = 74; public static final int ERRORMESSAGE_FIELD_NUMBER = 74; private de.pokerth.protocol.ProtoBuf.ErrorMessage errorMessage_; + /** + * optional .ErrorMessage errorMessage = 74; + */ public boolean hasErrorMessage() { return ((bitField2_ & 0x00000200) == 0x00000200); } + /** + * optional .ErrorMessage errorMessage = 74; + */ public de.pokerth.protocol.ProtoBuf.ErrorMessage getErrorMessage() { return errorMessage_; } - + // optional .AdminRemoveGameMessage adminRemoveGameMessage = 75; public static final int ADMINREMOVEGAMEMESSAGE_FIELD_NUMBER = 75; private de.pokerth.protocol.ProtoBuf.AdminRemoveGameMessage adminRemoveGameMessage_; + /** + * optional .AdminRemoveGameMessage adminRemoveGameMessage = 75; + */ public boolean hasAdminRemoveGameMessage() { return ((bitField2_ & 0x00000400) == 0x00000400); } + /** + * optional .AdminRemoveGameMessage adminRemoveGameMessage = 75; + */ public de.pokerth.protocol.ProtoBuf.AdminRemoveGameMessage getAdminRemoveGameMessage() { return adminRemoveGameMessage_; } - + // optional .AdminRemoveGameAckMessage adminRemoveGameAckMessage = 76; public static final int ADMINREMOVEGAMEACKMESSAGE_FIELD_NUMBER = 76; private de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage adminRemoveGameAckMessage_; + /** + * optional .AdminRemoveGameAckMessage adminRemoveGameAckMessage = 76; + */ public boolean hasAdminRemoveGameAckMessage() { return ((bitField2_ & 0x00000800) == 0x00000800); } + /** + * optional .AdminRemoveGameAckMessage adminRemoveGameAckMessage = 76; + */ public de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage getAdminRemoveGameAckMessage() { return adminRemoveGameAckMessage_; } - + // optional .AdminBanPlayerMessage adminBanPlayerMessage = 77; public static final int ADMINBANPLAYERMESSAGE_FIELD_NUMBER = 77; private de.pokerth.protocol.ProtoBuf.AdminBanPlayerMessage adminBanPlayerMessage_; + /** + * optional .AdminBanPlayerMessage adminBanPlayerMessage = 77; + */ public boolean hasAdminBanPlayerMessage() { return ((bitField2_ & 0x00001000) == 0x00001000); } + /** + * optional .AdminBanPlayerMessage adminBanPlayerMessage = 77; + */ public de.pokerth.protocol.ProtoBuf.AdminBanPlayerMessage getAdminBanPlayerMessage() { return adminBanPlayerMessage_; } - + // optional .AdminBanPlayerAckMessage adminBanPlayerAckMessage = 78; public static final int ADMINBANPLAYERACKMESSAGE_FIELD_NUMBER = 78; private de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage adminBanPlayerAckMessage_; + /** + * optional .AdminBanPlayerAckMessage adminBanPlayerAckMessage = 78; + */ public boolean hasAdminBanPlayerAckMessage() { return ((bitField2_ & 0x00002000) == 0x00002000); } + /** + * optional .AdminBanPlayerAckMessage adminBanPlayerAckMessage = 78; + */ public de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage getAdminBanPlayerAckMessage() { return adminBanPlayerAckMessage_; } - + // optional .GameListSpectatorJoinedMessage gameListSpectatorJoinedMessage = 79; public static final int GAMELISTSPECTATORJOINEDMESSAGE_FIELD_NUMBER = 79; private de.pokerth.protocol.ProtoBuf.GameListSpectatorJoinedMessage gameListSpectatorJoinedMessage_; + /** + * optional .GameListSpectatorJoinedMessage gameListSpectatorJoinedMessage = 79; + */ public boolean hasGameListSpectatorJoinedMessage() { return ((bitField2_ & 0x00004000) == 0x00004000); } + /** + * optional .GameListSpectatorJoinedMessage gameListSpectatorJoinedMessage = 79; + */ public de.pokerth.protocol.ProtoBuf.GameListSpectatorJoinedMessage getGameListSpectatorJoinedMessage() { return gameListSpectatorJoinedMessage_; } - + // optional .GameListSpectatorLeftMessage gameListSpectatorLeftMessage = 80; public static final int GAMELISTSPECTATORLEFTMESSAGE_FIELD_NUMBER = 80; private de.pokerth.protocol.ProtoBuf.GameListSpectatorLeftMessage gameListSpectatorLeftMessage_; + /** + * optional .GameListSpectatorLeftMessage gameListSpectatorLeftMessage = 80; + */ public boolean hasGameListSpectatorLeftMessage() { return ((bitField2_ & 0x00008000) == 0x00008000); } + /** + * optional .GameListSpectatorLeftMessage gameListSpectatorLeftMessage = 80; + */ public de.pokerth.protocol.ProtoBuf.GameListSpectatorLeftMessage getGameListSpectatorLeftMessage() { return gameListSpectatorLeftMessage_; } - + // optional .GameSpectatorJoinedMessage gameSpectatorJoinedMessage = 81; public static final int GAMESPECTATORJOINEDMESSAGE_FIELD_NUMBER = 81; private de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessage gameSpectatorJoinedMessage_; + /** + * optional .GameSpectatorJoinedMessage gameSpectatorJoinedMessage = 81; + */ public boolean hasGameSpectatorJoinedMessage() { return ((bitField2_ & 0x00010000) == 0x00010000); } + /** + * optional .GameSpectatorJoinedMessage gameSpectatorJoinedMessage = 81; + */ public de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessage getGameSpectatorJoinedMessage() { return gameSpectatorJoinedMessage_; } - + // optional .GameSpectatorLeftMessage gameSpectatorLeftMessage = 82; public static final int GAMESPECTATORLEFTMESSAGE_FIELD_NUMBER = 82; private de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessage gameSpectatorLeftMessage_; + /** + * optional .GameSpectatorLeftMessage gameSpectatorLeftMessage = 82; + */ public boolean hasGameSpectatorLeftMessage() { return ((bitField2_ & 0x00020000) == 0x00020000); } + /** + * optional .GameSpectatorLeftMessage gameSpectatorLeftMessage = 82; + */ public de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessage getGameSpectatorLeftMessage() { return gameSpectatorLeftMessage_; } - + private void initFields() { messageType_ = de.pokerth.protocol.ProtoBuf.PokerTHMessage.PokerTHMessageType.Type_AnnounceMessage; announceMessage_ = de.pokerth.protocol.ProtoBuf.AnnounceMessage.getDefaultInstance(); @@ -40814,7 +53489,7 @@ public final class ProtoBuf { public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; - + if (!hasMessageType()) { memoizedIsInitialized = 0; return false; @@ -41290,7 +53965,7 @@ public final class ProtoBuf { memoizedIsInitialized = 1; return true; } - + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); @@ -41541,12 +54216,12 @@ public final class ProtoBuf { output.writeMessage(82, gameSpectatorLeftMessage_); } } - + private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; - + size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream @@ -41879,88 +54554,77 @@ public final class ProtoBuf { memoizedSerializedSize = size; return size; } - + private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } - + public static de.pokerth.protocol.ProtoBuf.PokerTHMessage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data).buildParsed(); + return PARSER.parseFrom(data); } public static de.pokerth.protocol.ProtoBuf.PokerTHMessage parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(data, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.PokerTHMessage parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data).buildParsed(); + return PARSER.parseFrom(data); } public static de.pokerth.protocol.ProtoBuf.PokerTHMessage parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return newBuilder().mergeFrom(data, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(data, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.PokerTHMessage parseFrom(java.io.InputStream input) throws java.io.IOException { - return newBuilder().mergeFrom(input).buildParsed(); + return PARSER.parseFrom(input); } public static de.pokerth.protocol.ProtoBuf.PokerTHMessage parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return newBuilder().mergeFrom(input, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.PokerTHMessage parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - Builder builder = newBuilder(); - if (builder.mergeDelimitedFrom(input)) { - return builder.buildParsed(); - } else { - return null; - } + return PARSER.parseDelimitedFrom(input); } public static de.pokerth.protocol.ProtoBuf.PokerTHMessage parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - Builder builder = newBuilder(); - if (builder.mergeDelimitedFrom(input, extensionRegistry)) { - return builder.buildParsed(); - } else { - return null; - } + return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.PokerTHMessage parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return newBuilder().mergeFrom(input).buildParsed(); + return PARSER.parseFrom(input); } public static de.pokerth.protocol.ProtoBuf.PokerTHMessage parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return newBuilder().mergeFrom(input, extensionRegistry) - .buildParsed(); + return PARSER.parseFrom(input, extensionRegistry); } - + public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.PokerTHMessage prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } - + + /** + * Protobuf type {@code PokerTHMessage} + */ public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< de.pokerth.protocol.ProtoBuf.PokerTHMessage, Builder> @@ -41969,13 +54633,13 @@ public final class ProtoBuf { private Builder() { maybeForceBuilderInitialization(); } - + private void maybeForceBuilderInitialization() { } private static Builder create() { return new Builder(); } - + public Builder clear() { super.clear(); messageType_ = de.pokerth.protocol.ProtoBuf.PokerTHMessage.PokerTHMessageType.Type_AnnounceMessage; @@ -42144,15 +54808,15 @@ public final class ProtoBuf { bitField2_ = (bitField2_ & ~0x00020000); return this; } - + public Builder clone() { return create().mergeFrom(buildPartial()); } - + public de.pokerth.protocol.ProtoBuf.PokerTHMessage getDefaultInstanceForType() { return de.pokerth.protocol.ProtoBuf.PokerTHMessage.getDefaultInstance(); } - + public de.pokerth.protocol.ProtoBuf.PokerTHMessage build() { de.pokerth.protocol.ProtoBuf.PokerTHMessage result = buildPartial(); if (!result.isInitialized()) { @@ -42160,17 +54824,7 @@ public final class ProtoBuf { } return result; } - - private de.pokerth.protocol.ProtoBuf.PokerTHMessage buildParsed() - throws com.google.protobuf.InvalidProtocolBufferException { - de.pokerth.protocol.ProtoBuf.PokerTHMessage result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException( - result).asInvalidProtocolBufferException(); - } - return result; - } - + public de.pokerth.protocol.ProtoBuf.PokerTHMessage buildPartial() { de.pokerth.protocol.ProtoBuf.PokerTHMessage result = new de.pokerth.protocol.ProtoBuf.PokerTHMessage(this); int from_bitField0_ = bitField0_; @@ -42512,7 +55166,7 @@ public final class ProtoBuf { result.bitField2_ = to_bitField2_; return result; } - + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.PokerTHMessage other) { if (other == de.pokerth.protocol.ProtoBuf.PokerTHMessage.getDefaultInstance()) return this; if (other.hasMessageType()) { @@ -42763,7 +55417,7 @@ public final class ProtoBuf { } return this; } - + public final boolean isInitialized() { if (!hasMessageType()) { @@ -43239,778 +55893,45 @@ public final class ProtoBuf { } return true; } - + public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - while (true) { - int tag = input.readTag(); - switch (tag) { - case 0: - - return this; - default: { - if (!parseUnknownField(input, extensionRegistry, tag)) { - - return this; - } - break; - } - case 8: { - int rawValue = input.readEnum(); - de.pokerth.protocol.ProtoBuf.PokerTHMessage.PokerTHMessageType value = de.pokerth.protocol.ProtoBuf.PokerTHMessage.PokerTHMessageType.valueOf(rawValue); - if (value != null) { - bitField0_ |= 0x00000001; - messageType_ = value; - } - break; - } - case 18: { - de.pokerth.protocol.ProtoBuf.AnnounceMessage.Builder subBuilder = de.pokerth.protocol.ProtoBuf.AnnounceMessage.newBuilder(); - if (hasAnnounceMessage()) { - subBuilder.mergeFrom(getAnnounceMessage()); - } - input.readMessage(subBuilder, extensionRegistry); - setAnnounceMessage(subBuilder.buildPartial()); - break; - } - case 26: { - de.pokerth.protocol.ProtoBuf.InitMessage.Builder subBuilder = de.pokerth.protocol.ProtoBuf.InitMessage.newBuilder(); - if (hasInitMessage()) { - subBuilder.mergeFrom(getInitMessage()); - } - input.readMessage(subBuilder, extensionRegistry); - setInitMessage(subBuilder.buildPartial()); - break; - } - case 34: { - de.pokerth.protocol.ProtoBuf.AuthServerChallengeMessage.Builder subBuilder = de.pokerth.protocol.ProtoBuf.AuthServerChallengeMessage.newBuilder(); - if (hasAuthServerChallengeMessage()) { - subBuilder.mergeFrom(getAuthServerChallengeMessage()); - } - input.readMessage(subBuilder, extensionRegistry); - setAuthServerChallengeMessage(subBuilder.buildPartial()); - break; - } - case 42: { - de.pokerth.protocol.ProtoBuf.AuthClientResponseMessage.Builder subBuilder = de.pokerth.protocol.ProtoBuf.AuthClientResponseMessage.newBuilder(); - if (hasAuthClientResponseMessage()) { - subBuilder.mergeFrom(getAuthClientResponseMessage()); - } - input.readMessage(subBuilder, extensionRegistry); - setAuthClientResponseMessage(subBuilder.buildPartial()); - break; - } - case 50: { - de.pokerth.protocol.ProtoBuf.AuthServerVerificationMessage.Builder subBuilder = de.pokerth.protocol.ProtoBuf.AuthServerVerificationMessage.newBuilder(); - if (hasAuthServerVerificationMessage()) { - subBuilder.mergeFrom(getAuthServerVerificationMessage()); - } - input.readMessage(subBuilder, extensionRegistry); - setAuthServerVerificationMessage(subBuilder.buildPartial()); - break; - } - case 58: { - de.pokerth.protocol.ProtoBuf.InitAckMessage.Builder subBuilder = de.pokerth.protocol.ProtoBuf.InitAckMessage.newBuilder(); - if (hasInitAckMessage()) { - subBuilder.mergeFrom(getInitAckMessage()); - } - input.readMessage(subBuilder, extensionRegistry); - setInitAckMessage(subBuilder.buildPartial()); - break; - } - case 66: { - de.pokerth.protocol.ProtoBuf.AvatarRequestMessage.Builder subBuilder = de.pokerth.protocol.ProtoBuf.AvatarRequestMessage.newBuilder(); - if (hasAvatarRequestMessage()) { - subBuilder.mergeFrom(getAvatarRequestMessage()); - } - input.readMessage(subBuilder, extensionRegistry); - setAvatarRequestMessage(subBuilder.buildPartial()); - break; - } - case 74: { - de.pokerth.protocol.ProtoBuf.AvatarHeaderMessage.Builder subBuilder = de.pokerth.protocol.ProtoBuf.AvatarHeaderMessage.newBuilder(); - if (hasAvatarHeaderMessage()) { - subBuilder.mergeFrom(getAvatarHeaderMessage()); - } - input.readMessage(subBuilder, extensionRegistry); - setAvatarHeaderMessage(subBuilder.buildPartial()); - break; - } - case 82: { - de.pokerth.protocol.ProtoBuf.AvatarDataMessage.Builder subBuilder = de.pokerth.protocol.ProtoBuf.AvatarDataMessage.newBuilder(); - if (hasAvatarDataMessage()) { - subBuilder.mergeFrom(getAvatarDataMessage()); - } - input.readMessage(subBuilder, extensionRegistry); - setAvatarDataMessage(subBuilder.buildPartial()); - break; - } - case 90: { - de.pokerth.protocol.ProtoBuf.AvatarEndMessage.Builder subBuilder = de.pokerth.protocol.ProtoBuf.AvatarEndMessage.newBuilder(); - if (hasAvatarEndMessage()) { - subBuilder.mergeFrom(getAvatarEndMessage()); - } - input.readMessage(subBuilder, extensionRegistry); - setAvatarEndMessage(subBuilder.buildPartial()); - break; - } - case 98: { - de.pokerth.protocol.ProtoBuf.UnknownAvatarMessage.Builder subBuilder = de.pokerth.protocol.ProtoBuf.UnknownAvatarMessage.newBuilder(); - if (hasUnknownAvatarMessage()) { - subBuilder.mergeFrom(getUnknownAvatarMessage()); - } - input.readMessage(subBuilder, extensionRegistry); - setUnknownAvatarMessage(subBuilder.buildPartial()); - break; - } - case 106: { - de.pokerth.protocol.ProtoBuf.PlayerListMessage.Builder subBuilder = de.pokerth.protocol.ProtoBuf.PlayerListMessage.newBuilder(); - if (hasPlayerListMessage()) { - subBuilder.mergeFrom(getPlayerListMessage()); - } - input.readMessage(subBuilder, extensionRegistry); - setPlayerListMessage(subBuilder.buildPartial()); - break; - } - case 114: { - de.pokerth.protocol.ProtoBuf.GameListNewMessage.Builder subBuilder = de.pokerth.protocol.ProtoBuf.GameListNewMessage.newBuilder(); - if (hasGameListNewMessage()) { - subBuilder.mergeFrom(getGameListNewMessage()); - } - input.readMessage(subBuilder, extensionRegistry); - setGameListNewMessage(subBuilder.buildPartial()); - break; - } - case 122: { - de.pokerth.protocol.ProtoBuf.GameListUpdateMessage.Builder subBuilder = de.pokerth.protocol.ProtoBuf.GameListUpdateMessage.newBuilder(); - if (hasGameListUpdateMessage()) { - subBuilder.mergeFrom(getGameListUpdateMessage()); - } - input.readMessage(subBuilder, extensionRegistry); - setGameListUpdateMessage(subBuilder.buildPartial()); - break; - } - case 130: { - de.pokerth.protocol.ProtoBuf.GameListPlayerJoinedMessage.Builder subBuilder = de.pokerth.protocol.ProtoBuf.GameListPlayerJoinedMessage.newBuilder(); - if (hasGameListPlayerJoinedMessage()) { - subBuilder.mergeFrom(getGameListPlayerJoinedMessage()); - } - input.readMessage(subBuilder, extensionRegistry); - setGameListPlayerJoinedMessage(subBuilder.buildPartial()); - break; - } - case 138: { - de.pokerth.protocol.ProtoBuf.GameListPlayerLeftMessage.Builder subBuilder = de.pokerth.protocol.ProtoBuf.GameListPlayerLeftMessage.newBuilder(); - if (hasGameListPlayerLeftMessage()) { - subBuilder.mergeFrom(getGameListPlayerLeftMessage()); - } - input.readMessage(subBuilder, extensionRegistry); - setGameListPlayerLeftMessage(subBuilder.buildPartial()); - break; - } - case 146: { - de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessage.Builder subBuilder = de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessage.newBuilder(); - if (hasGameListAdminChangedMessage()) { - subBuilder.mergeFrom(getGameListAdminChangedMessage()); - } - input.readMessage(subBuilder, extensionRegistry); - setGameListAdminChangedMessage(subBuilder.buildPartial()); - break; - } - case 154: { - de.pokerth.protocol.ProtoBuf.PlayerInfoRequestMessage.Builder subBuilder = de.pokerth.protocol.ProtoBuf.PlayerInfoRequestMessage.newBuilder(); - if (hasPlayerInfoRequestMessage()) { - subBuilder.mergeFrom(getPlayerInfoRequestMessage()); - } - input.readMessage(subBuilder, extensionRegistry); - setPlayerInfoRequestMessage(subBuilder.buildPartial()); - break; - } - case 162: { - de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.Builder subBuilder = de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.newBuilder(); - if (hasPlayerInfoReplyMessage()) { - subBuilder.mergeFrom(getPlayerInfoReplyMessage()); - } - input.readMessage(subBuilder, extensionRegistry); - setPlayerInfoReplyMessage(subBuilder.buildPartial()); - break; - } - case 170: { - de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage.Builder subBuilder = de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage.newBuilder(); - if (hasSubscriptionRequestMessage()) { - subBuilder.mergeFrom(getSubscriptionRequestMessage()); - } - input.readMessage(subBuilder, extensionRegistry); - setSubscriptionRequestMessage(subBuilder.buildPartial()); - break; - } - case 178: { - de.pokerth.protocol.ProtoBuf.JoinExistingGameMessage.Builder subBuilder = de.pokerth.protocol.ProtoBuf.JoinExistingGameMessage.newBuilder(); - if (hasJoinExistingGameMessage()) { - subBuilder.mergeFrom(getJoinExistingGameMessage()); - } - input.readMessage(subBuilder, extensionRegistry); - setJoinExistingGameMessage(subBuilder.buildPartial()); - break; - } - case 186: { - de.pokerth.protocol.ProtoBuf.JoinNewGameMessage.Builder subBuilder = de.pokerth.protocol.ProtoBuf.JoinNewGameMessage.newBuilder(); - if (hasJoinNewGameMessage()) { - subBuilder.mergeFrom(getJoinNewGameMessage()); - } - input.readMessage(subBuilder, extensionRegistry); - setJoinNewGameMessage(subBuilder.buildPartial()); - break; - } - case 194: { - de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessage.Builder subBuilder = de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessage.newBuilder(); - if (hasRejoinExistingGameMessage()) { - subBuilder.mergeFrom(getRejoinExistingGameMessage()); - } - input.readMessage(subBuilder, extensionRegistry); - setRejoinExistingGameMessage(subBuilder.buildPartial()); - break; - } - case 202: { - de.pokerth.protocol.ProtoBuf.JoinGameAckMessage.Builder subBuilder = de.pokerth.protocol.ProtoBuf.JoinGameAckMessage.newBuilder(); - if (hasJoinGameAckMessage()) { - subBuilder.mergeFrom(getJoinGameAckMessage()); - } - input.readMessage(subBuilder, extensionRegistry); - setJoinGameAckMessage(subBuilder.buildPartial()); - break; - } - case 210: { - de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage.Builder subBuilder = de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage.newBuilder(); - if (hasJoinGameFailedMessage()) { - subBuilder.mergeFrom(getJoinGameFailedMessage()); - } - input.readMessage(subBuilder, extensionRegistry); - setJoinGameFailedMessage(subBuilder.buildPartial()); - break; - } - case 218: { - de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessage.Builder subBuilder = de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessage.newBuilder(); - if (hasGamePlayerJoinedMessage()) { - subBuilder.mergeFrom(getGamePlayerJoinedMessage()); - } - input.readMessage(subBuilder, extensionRegistry); - setGamePlayerJoinedMessage(subBuilder.buildPartial()); - break; - } - case 226: { - de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.Builder subBuilder = de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.newBuilder(); - if (hasGamePlayerLeftMessage()) { - subBuilder.mergeFrom(getGamePlayerLeftMessage()); - } - input.readMessage(subBuilder, extensionRegistry); - setGamePlayerLeftMessage(subBuilder.buildPartial()); - break; - } - case 234: { - de.pokerth.protocol.ProtoBuf.GameAdminChangedMessage.Builder subBuilder = de.pokerth.protocol.ProtoBuf.GameAdminChangedMessage.newBuilder(); - if (hasGameAdminChangedMessage()) { - subBuilder.mergeFrom(getGameAdminChangedMessage()); - } - input.readMessage(subBuilder, extensionRegistry); - setGameAdminChangedMessage(subBuilder.buildPartial()); - break; - } - case 242: { - de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage.Builder subBuilder = de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage.newBuilder(); - if (hasRemovedFromGameMessage()) { - subBuilder.mergeFrom(getRemovedFromGameMessage()); - } - input.readMessage(subBuilder, extensionRegistry); - setRemovedFromGameMessage(subBuilder.buildPartial()); - break; - } - case 250: { - de.pokerth.protocol.ProtoBuf.KickPlayerRequestMessage.Builder subBuilder = de.pokerth.protocol.ProtoBuf.KickPlayerRequestMessage.newBuilder(); - if (hasKickPlayerRequestMessage()) { - subBuilder.mergeFrom(getKickPlayerRequestMessage()); - } - input.readMessage(subBuilder, extensionRegistry); - setKickPlayerRequestMessage(subBuilder.buildPartial()); - break; - } - case 258: { - de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessage.Builder subBuilder = de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessage.newBuilder(); - if (hasLeaveGameRequestMessage()) { - subBuilder.mergeFrom(getLeaveGameRequestMessage()); - } - input.readMessage(subBuilder, extensionRegistry); - setLeaveGameRequestMessage(subBuilder.buildPartial()); - break; - } - case 266: { - de.pokerth.protocol.ProtoBuf.InvitePlayerToGameMessage.Builder subBuilder = de.pokerth.protocol.ProtoBuf.InvitePlayerToGameMessage.newBuilder(); - if (hasInvitePlayerToGameMessage()) { - subBuilder.mergeFrom(getInvitePlayerToGameMessage()); - } - input.readMessage(subBuilder, extensionRegistry); - setInvitePlayerToGameMessage(subBuilder.buildPartial()); - break; - } - case 274: { - de.pokerth.protocol.ProtoBuf.InviteNotifyMessage.Builder subBuilder = de.pokerth.protocol.ProtoBuf.InviteNotifyMessage.newBuilder(); - if (hasInviteNotifyMessage()) { - subBuilder.mergeFrom(getInviteNotifyMessage()); - } - input.readMessage(subBuilder, extensionRegistry); - setInviteNotifyMessage(subBuilder.buildPartial()); - break; - } - case 282: { - de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage.Builder subBuilder = de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage.newBuilder(); - if (hasRejectGameInvitationMessage()) { - subBuilder.mergeFrom(getRejectGameInvitationMessage()); - } - input.readMessage(subBuilder, extensionRegistry); - setRejectGameInvitationMessage(subBuilder.buildPartial()); - break; - } - case 290: { - de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessage.Builder subBuilder = de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessage.newBuilder(); - if (hasRejectInvNotifyMessage()) { - subBuilder.mergeFrom(getRejectInvNotifyMessage()); - } - input.readMessage(subBuilder, extensionRegistry); - setRejectInvNotifyMessage(subBuilder.buildPartial()); - break; - } - case 298: { - de.pokerth.protocol.ProtoBuf.StartEventMessage.Builder subBuilder = de.pokerth.protocol.ProtoBuf.StartEventMessage.newBuilder(); - if (hasStartEventMessage()) { - subBuilder.mergeFrom(getStartEventMessage()); - } - input.readMessage(subBuilder, extensionRegistry); - setStartEventMessage(subBuilder.buildPartial()); - break; - } - case 306: { - de.pokerth.protocol.ProtoBuf.StartEventAckMessage.Builder subBuilder = de.pokerth.protocol.ProtoBuf.StartEventAckMessage.newBuilder(); - if (hasStartEventAckMessage()) { - subBuilder.mergeFrom(getStartEventAckMessage()); - } - input.readMessage(subBuilder, extensionRegistry); - setStartEventAckMessage(subBuilder.buildPartial()); - break; - } - case 314: { - de.pokerth.protocol.ProtoBuf.GameStartInitialMessage.Builder subBuilder = de.pokerth.protocol.ProtoBuf.GameStartInitialMessage.newBuilder(); - if (hasGameStartInitialMessage()) { - subBuilder.mergeFrom(getGameStartInitialMessage()); - } - input.readMessage(subBuilder, extensionRegistry); - setGameStartInitialMessage(subBuilder.buildPartial()); - break; - } - case 322: { - de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.Builder subBuilder = de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.newBuilder(); - if (hasGameStartRejoinMessage()) { - subBuilder.mergeFrom(getGameStartRejoinMessage()); - } - input.readMessage(subBuilder, extensionRegistry); - setGameStartRejoinMessage(subBuilder.buildPartial()); - break; - } - case 330: { - de.pokerth.protocol.ProtoBuf.HandStartMessage.Builder subBuilder = de.pokerth.protocol.ProtoBuf.HandStartMessage.newBuilder(); - if (hasHandStartMessage()) { - subBuilder.mergeFrom(getHandStartMessage()); - } - input.readMessage(subBuilder, extensionRegistry); - setHandStartMessage(subBuilder.buildPartial()); - break; - } - case 338: { - de.pokerth.protocol.ProtoBuf.PlayersTurnMessage.Builder subBuilder = de.pokerth.protocol.ProtoBuf.PlayersTurnMessage.newBuilder(); - if (hasPlayersTurnMessage()) { - subBuilder.mergeFrom(getPlayersTurnMessage()); - } - input.readMessage(subBuilder, extensionRegistry); - setPlayersTurnMessage(subBuilder.buildPartial()); - break; - } - case 346: { - de.pokerth.protocol.ProtoBuf.MyActionRequestMessage.Builder subBuilder = de.pokerth.protocol.ProtoBuf.MyActionRequestMessage.newBuilder(); - if (hasMyActionRequestMessage()) { - subBuilder.mergeFrom(getMyActionRequestMessage()); - } - input.readMessage(subBuilder, extensionRegistry); - setMyActionRequestMessage(subBuilder.buildPartial()); - break; - } - case 354: { - de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage.Builder subBuilder = de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage.newBuilder(); - if (hasYourActionRejectedMessage()) { - subBuilder.mergeFrom(getYourActionRejectedMessage()); - } - input.readMessage(subBuilder, extensionRegistry); - setYourActionRejectedMessage(subBuilder.buildPartial()); - break; - } - case 362: { - de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessage.Builder subBuilder = de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessage.newBuilder(); - if (hasPlayersActionDoneMessage()) { - subBuilder.mergeFrom(getPlayersActionDoneMessage()); - } - input.readMessage(subBuilder, extensionRegistry); - setPlayersActionDoneMessage(subBuilder.buildPartial()); - break; - } - case 370: { - de.pokerth.protocol.ProtoBuf.DealFlopCardsMessage.Builder subBuilder = de.pokerth.protocol.ProtoBuf.DealFlopCardsMessage.newBuilder(); - if (hasDealFlopCardsMessage()) { - subBuilder.mergeFrom(getDealFlopCardsMessage()); - } - input.readMessage(subBuilder, extensionRegistry); - setDealFlopCardsMessage(subBuilder.buildPartial()); - break; - } - case 378: { - de.pokerth.protocol.ProtoBuf.DealTurnCardMessage.Builder subBuilder = de.pokerth.protocol.ProtoBuf.DealTurnCardMessage.newBuilder(); - if (hasDealTurnCardMessage()) { - subBuilder.mergeFrom(getDealTurnCardMessage()); - } - input.readMessage(subBuilder, extensionRegistry); - setDealTurnCardMessage(subBuilder.buildPartial()); - break; - } - case 386: { - de.pokerth.protocol.ProtoBuf.DealRiverCardMessage.Builder subBuilder = de.pokerth.protocol.ProtoBuf.DealRiverCardMessage.newBuilder(); - if (hasDealRiverCardMessage()) { - subBuilder.mergeFrom(getDealRiverCardMessage()); - } - input.readMessage(subBuilder, extensionRegistry); - setDealRiverCardMessage(subBuilder.buildPartial()); - break; - } - case 394: { - de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.Builder subBuilder = de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.newBuilder(); - if (hasAllInShowCardsMessage()) { - subBuilder.mergeFrom(getAllInShowCardsMessage()); - } - input.readMessage(subBuilder, extensionRegistry); - setAllInShowCardsMessage(subBuilder.buildPartial()); - break; - } - case 402: { - de.pokerth.protocol.ProtoBuf.EndOfHandShowCardsMessage.Builder subBuilder = de.pokerth.protocol.ProtoBuf.EndOfHandShowCardsMessage.newBuilder(); - if (hasEndOfHandShowCardsMessage()) { - subBuilder.mergeFrom(getEndOfHandShowCardsMessage()); - } - input.readMessage(subBuilder, extensionRegistry); - setEndOfHandShowCardsMessage(subBuilder.buildPartial()); - break; - } - case 410: { - de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessage.Builder subBuilder = de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessage.newBuilder(); - if (hasEndOfHandHideCardsMessage()) { - subBuilder.mergeFrom(getEndOfHandHideCardsMessage()); - } - input.readMessage(subBuilder, extensionRegistry); - setEndOfHandHideCardsMessage(subBuilder.buildPartial()); - break; - } - case 418: { - de.pokerth.protocol.ProtoBuf.ShowMyCardsRequestMessage.Builder subBuilder = de.pokerth.protocol.ProtoBuf.ShowMyCardsRequestMessage.newBuilder(); - if (hasShowMyCardsRequestMessage()) { - subBuilder.mergeFrom(getShowMyCardsRequestMessage()); - } - input.readMessage(subBuilder, extensionRegistry); - setShowMyCardsRequestMessage(subBuilder.buildPartial()); - break; - } - case 426: { - de.pokerth.protocol.ProtoBuf.AfterHandShowCardsMessage.Builder subBuilder = de.pokerth.protocol.ProtoBuf.AfterHandShowCardsMessage.newBuilder(); - if (hasAfterHandShowCardsMessage()) { - subBuilder.mergeFrom(getAfterHandShowCardsMessage()); - } - input.readMessage(subBuilder, extensionRegistry); - setAfterHandShowCardsMessage(subBuilder.buildPartial()); - break; - } - case 434: { - de.pokerth.protocol.ProtoBuf.EndOfGameMessage.Builder subBuilder = de.pokerth.protocol.ProtoBuf.EndOfGameMessage.newBuilder(); - if (hasEndOfGameMessage()) { - subBuilder.mergeFrom(getEndOfGameMessage()); - } - input.readMessage(subBuilder, extensionRegistry); - setEndOfGameMessage(subBuilder.buildPartial()); - break; - } - case 442: { - de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessage.Builder subBuilder = de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessage.newBuilder(); - if (hasPlayerIdChangedMessage()) { - subBuilder.mergeFrom(getPlayerIdChangedMessage()); - } - input.readMessage(subBuilder, extensionRegistry); - setPlayerIdChangedMessage(subBuilder.buildPartial()); - break; - } - case 450: { - de.pokerth.protocol.ProtoBuf.AskKickPlayerMessage.Builder subBuilder = de.pokerth.protocol.ProtoBuf.AskKickPlayerMessage.newBuilder(); - if (hasAskKickPlayerMessage()) { - subBuilder.mergeFrom(getAskKickPlayerMessage()); - } - input.readMessage(subBuilder, extensionRegistry); - setAskKickPlayerMessage(subBuilder.buildPartial()); - break; - } - case 458: { - de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage.Builder subBuilder = de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage.newBuilder(); - if (hasAskKickDeniedMessage()) { - subBuilder.mergeFrom(getAskKickDeniedMessage()); - } - input.readMessage(subBuilder, extensionRegistry); - setAskKickDeniedMessage(subBuilder.buildPartial()); - break; - } - case 466: { - de.pokerth.protocol.ProtoBuf.StartKickPetitionMessage.Builder subBuilder = de.pokerth.protocol.ProtoBuf.StartKickPetitionMessage.newBuilder(); - if (hasStartKickPetitionMessage()) { - subBuilder.mergeFrom(getStartKickPetitionMessage()); - } - input.readMessage(subBuilder, extensionRegistry); - setStartKickPetitionMessage(subBuilder.buildPartial()); - break; - } - case 474: { - de.pokerth.protocol.ProtoBuf.VoteKickRequestMessage.Builder subBuilder = de.pokerth.protocol.ProtoBuf.VoteKickRequestMessage.newBuilder(); - if (hasVoteKickRequestMessage()) { - subBuilder.mergeFrom(getVoteKickRequestMessage()); - } - input.readMessage(subBuilder, extensionRegistry); - setVoteKickRequestMessage(subBuilder.buildPartial()); - break; - } - case 482: { - de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage.Builder subBuilder = de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage.newBuilder(); - if (hasVoteKickReplyMessage()) { - subBuilder.mergeFrom(getVoteKickReplyMessage()); - } - input.readMessage(subBuilder, extensionRegistry); - setVoteKickReplyMessage(subBuilder.buildPartial()); - break; - } - case 490: { - de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessage.Builder subBuilder = de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessage.newBuilder(); - if (hasKickPetitionUpdateMessage()) { - subBuilder.mergeFrom(getKickPetitionUpdateMessage()); - } - input.readMessage(subBuilder, extensionRegistry); - setKickPetitionUpdateMessage(subBuilder.buildPartial()); - break; - } - case 498: { - de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage.Builder subBuilder = de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage.newBuilder(); - if (hasEndKickPetitionMessage()) { - subBuilder.mergeFrom(getEndKickPetitionMessage()); - } - input.readMessage(subBuilder, extensionRegistry); - setEndKickPetitionMessage(subBuilder.buildPartial()); - break; - } - case 506: { - de.pokerth.protocol.ProtoBuf.StatisticsMessage.Builder subBuilder = de.pokerth.protocol.ProtoBuf.StatisticsMessage.newBuilder(); - if (hasStatisticsMessage()) { - subBuilder.mergeFrom(getStatisticsMessage()); - } - input.readMessage(subBuilder, extensionRegistry); - setStatisticsMessage(subBuilder.buildPartial()); - break; - } - case 514: { - de.pokerth.protocol.ProtoBuf.ChatRequestMessage.Builder subBuilder = de.pokerth.protocol.ProtoBuf.ChatRequestMessage.newBuilder(); - if (hasChatRequestMessage()) { - subBuilder.mergeFrom(getChatRequestMessage()); - } - input.readMessage(subBuilder, extensionRegistry); - setChatRequestMessage(subBuilder.buildPartial()); - break; - } - case 522: { - de.pokerth.protocol.ProtoBuf.ChatMessage.Builder subBuilder = de.pokerth.protocol.ProtoBuf.ChatMessage.newBuilder(); - if (hasChatMessage()) { - subBuilder.mergeFrom(getChatMessage()); - } - input.readMessage(subBuilder, extensionRegistry); - setChatMessage(subBuilder.buildPartial()); - break; - } - case 530: { - de.pokerth.protocol.ProtoBuf.ChatRejectMessage.Builder subBuilder = de.pokerth.protocol.ProtoBuf.ChatRejectMessage.newBuilder(); - if (hasChatRejectMessage()) { - subBuilder.mergeFrom(getChatRejectMessage()); - } - input.readMessage(subBuilder, extensionRegistry); - setChatRejectMessage(subBuilder.buildPartial()); - break; - } - case 538: { - de.pokerth.protocol.ProtoBuf.DialogMessage.Builder subBuilder = de.pokerth.protocol.ProtoBuf.DialogMessage.newBuilder(); - if (hasDialogMessage()) { - subBuilder.mergeFrom(getDialogMessage()); - } - input.readMessage(subBuilder, extensionRegistry); - setDialogMessage(subBuilder.buildPartial()); - break; - } - case 546: { - de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage.Builder subBuilder = de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage.newBuilder(); - if (hasTimeoutWarningMessage()) { - subBuilder.mergeFrom(getTimeoutWarningMessage()); - } - input.readMessage(subBuilder, extensionRegistry); - setTimeoutWarningMessage(subBuilder.buildPartial()); - break; - } - case 554: { - de.pokerth.protocol.ProtoBuf.ResetTimeoutMessage.Builder subBuilder = de.pokerth.protocol.ProtoBuf.ResetTimeoutMessage.newBuilder(); - if (hasResetTimeoutMessage()) { - subBuilder.mergeFrom(getResetTimeoutMessage()); - } - input.readMessage(subBuilder, extensionRegistry); - setResetTimeoutMessage(subBuilder.buildPartial()); - break; - } - case 562: { - de.pokerth.protocol.ProtoBuf.ReportAvatarMessage.Builder subBuilder = de.pokerth.protocol.ProtoBuf.ReportAvatarMessage.newBuilder(); - if (hasReportAvatarMessage()) { - subBuilder.mergeFrom(getReportAvatarMessage()); - } - input.readMessage(subBuilder, extensionRegistry); - setReportAvatarMessage(subBuilder.buildPartial()); - break; - } - case 570: { - de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage.Builder subBuilder = de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage.newBuilder(); - if (hasReportAvatarAckMessage()) { - subBuilder.mergeFrom(getReportAvatarAckMessage()); - } - input.readMessage(subBuilder, extensionRegistry); - setReportAvatarAckMessage(subBuilder.buildPartial()); - break; - } - case 578: { - de.pokerth.protocol.ProtoBuf.ReportGameMessage.Builder subBuilder = de.pokerth.protocol.ProtoBuf.ReportGameMessage.newBuilder(); - if (hasReportGameMessage()) { - subBuilder.mergeFrom(getReportGameMessage()); - } - input.readMessage(subBuilder, extensionRegistry); - setReportGameMessage(subBuilder.buildPartial()); - break; - } - case 586: { - de.pokerth.protocol.ProtoBuf.ReportGameAckMessage.Builder subBuilder = de.pokerth.protocol.ProtoBuf.ReportGameAckMessage.newBuilder(); - if (hasReportGameAckMessage()) { - subBuilder.mergeFrom(getReportGameAckMessage()); - } - input.readMessage(subBuilder, extensionRegistry); - setReportGameAckMessage(subBuilder.buildPartial()); - break; - } - case 594: { - de.pokerth.protocol.ProtoBuf.ErrorMessage.Builder subBuilder = de.pokerth.protocol.ProtoBuf.ErrorMessage.newBuilder(); - if (hasErrorMessage()) { - subBuilder.mergeFrom(getErrorMessage()); - } - input.readMessage(subBuilder, extensionRegistry); - setErrorMessage(subBuilder.buildPartial()); - break; - } - case 602: { - de.pokerth.protocol.ProtoBuf.AdminRemoveGameMessage.Builder subBuilder = de.pokerth.protocol.ProtoBuf.AdminRemoveGameMessage.newBuilder(); - if (hasAdminRemoveGameMessage()) { - subBuilder.mergeFrom(getAdminRemoveGameMessage()); - } - input.readMessage(subBuilder, extensionRegistry); - setAdminRemoveGameMessage(subBuilder.buildPartial()); - break; - } - case 610: { - de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage.Builder subBuilder = de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage.newBuilder(); - if (hasAdminRemoveGameAckMessage()) { - subBuilder.mergeFrom(getAdminRemoveGameAckMessage()); - } - input.readMessage(subBuilder, extensionRegistry); - setAdminRemoveGameAckMessage(subBuilder.buildPartial()); - break; - } - case 618: { - de.pokerth.protocol.ProtoBuf.AdminBanPlayerMessage.Builder subBuilder = de.pokerth.protocol.ProtoBuf.AdminBanPlayerMessage.newBuilder(); - if (hasAdminBanPlayerMessage()) { - subBuilder.mergeFrom(getAdminBanPlayerMessage()); - } - input.readMessage(subBuilder, extensionRegistry); - setAdminBanPlayerMessage(subBuilder.buildPartial()); - break; - } - case 626: { - de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage.Builder subBuilder = de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage.newBuilder(); - if (hasAdminBanPlayerAckMessage()) { - subBuilder.mergeFrom(getAdminBanPlayerAckMessage()); - } - input.readMessage(subBuilder, extensionRegistry); - setAdminBanPlayerAckMessage(subBuilder.buildPartial()); - break; - } - case 634: { - de.pokerth.protocol.ProtoBuf.GameListSpectatorJoinedMessage.Builder subBuilder = de.pokerth.protocol.ProtoBuf.GameListSpectatorJoinedMessage.newBuilder(); - if (hasGameListSpectatorJoinedMessage()) { - subBuilder.mergeFrom(getGameListSpectatorJoinedMessage()); - } - input.readMessage(subBuilder, extensionRegistry); - setGameListSpectatorJoinedMessage(subBuilder.buildPartial()); - break; - } - case 642: { - de.pokerth.protocol.ProtoBuf.GameListSpectatorLeftMessage.Builder subBuilder = de.pokerth.protocol.ProtoBuf.GameListSpectatorLeftMessage.newBuilder(); - if (hasGameListSpectatorLeftMessage()) { - subBuilder.mergeFrom(getGameListSpectatorLeftMessage()); - } - input.readMessage(subBuilder, extensionRegistry); - setGameListSpectatorLeftMessage(subBuilder.buildPartial()); - break; - } - case 650: { - de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessage.Builder subBuilder = de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessage.newBuilder(); - if (hasGameSpectatorJoinedMessage()) { - subBuilder.mergeFrom(getGameSpectatorJoinedMessage()); - } - input.readMessage(subBuilder, extensionRegistry); - setGameSpectatorJoinedMessage(subBuilder.buildPartial()); - break; - } - case 658: { - de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessage.Builder subBuilder = de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessage.newBuilder(); - if (hasGameSpectatorLeftMessage()) { - subBuilder.mergeFrom(getGameSpectatorLeftMessage()); - } - input.readMessage(subBuilder, extensionRegistry); - setGameSpectatorLeftMessage(subBuilder.buildPartial()); - break; - } + de.pokerth.protocol.ProtoBuf.PokerTHMessage parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (de.pokerth.protocol.ProtoBuf.PokerTHMessage) e.getUnfinishedMessage(); + throw e; + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); } } + return this; } - private int bitField0_; private int bitField1_; private int bitField2_; - + // required .PokerTHMessage.PokerTHMessageType messageType = 1; private de.pokerth.protocol.ProtoBuf.PokerTHMessage.PokerTHMessageType messageType_ = de.pokerth.protocol.ProtoBuf.PokerTHMessage.PokerTHMessageType.Type_AnnounceMessage; + /** + * required .PokerTHMessage.PokerTHMessageType messageType = 1; + */ public boolean hasMessageType() { return ((bitField0_ & 0x00000001) == 0x00000001); } + /** + * required .PokerTHMessage.PokerTHMessageType messageType = 1; + */ public de.pokerth.protocol.ProtoBuf.PokerTHMessage.PokerTHMessageType getMessageType() { return messageType_; } + /** + * required .PokerTHMessage.PokerTHMessageType messageType = 1; + */ public Builder setMessageType(de.pokerth.protocol.ProtoBuf.PokerTHMessage.PokerTHMessageType value) { if (value == null) { throw new NullPointerException(); @@ -44020,37 +55941,55 @@ public final class ProtoBuf { return this; } + /** + * required .PokerTHMessage.PokerTHMessageType messageType = 1; + */ public Builder clearMessageType() { bitField0_ = (bitField0_ & ~0x00000001); messageType_ = de.pokerth.protocol.ProtoBuf.PokerTHMessage.PokerTHMessageType.Type_AnnounceMessage; return this; } - + // optional .AnnounceMessage announceMessage = 2; private de.pokerth.protocol.ProtoBuf.AnnounceMessage announceMessage_ = de.pokerth.protocol.ProtoBuf.AnnounceMessage.getDefaultInstance(); + /** + * optional .AnnounceMessage announceMessage = 2; + */ public boolean hasAnnounceMessage() { return ((bitField0_ & 0x00000002) == 0x00000002); } + /** + * optional .AnnounceMessage announceMessage = 2; + */ public de.pokerth.protocol.ProtoBuf.AnnounceMessage getAnnounceMessage() { return announceMessage_; } + /** + * optional .AnnounceMessage announceMessage = 2; + */ public Builder setAnnounceMessage(de.pokerth.protocol.ProtoBuf.AnnounceMessage value) { if (value == null) { throw new NullPointerException(); } announceMessage_ = value; - + bitField0_ |= 0x00000002; return this; } + /** + * optional .AnnounceMessage announceMessage = 2; + */ public Builder setAnnounceMessage( de.pokerth.protocol.ProtoBuf.AnnounceMessage.Builder builderForValue) { announceMessage_ = builderForValue.build(); - + bitField0_ |= 0x00000002; return this; } + /** + * optional .AnnounceMessage announceMessage = 2; + */ public Builder mergeAnnounceMessage(de.pokerth.protocol.ProtoBuf.AnnounceMessage value) { if (((bitField0_ & 0x00000002) == 0x00000002) && announceMessage_ != de.pokerth.protocol.ProtoBuf.AnnounceMessage.getDefaultInstance()) { @@ -44059,41 +55998,59 @@ public final class ProtoBuf { } else { announceMessage_ = value; } - + bitField0_ |= 0x00000002; return this; } + /** + * optional .AnnounceMessage announceMessage = 2; + */ public Builder clearAnnounceMessage() { announceMessage_ = de.pokerth.protocol.ProtoBuf.AnnounceMessage.getDefaultInstance(); - + bitField0_ = (bitField0_ & ~0x00000002); return this; } - + // optional .InitMessage initMessage = 3; private de.pokerth.protocol.ProtoBuf.InitMessage initMessage_ = de.pokerth.protocol.ProtoBuf.InitMessage.getDefaultInstance(); + /** + * optional .InitMessage initMessage = 3; + */ public boolean hasInitMessage() { return ((bitField0_ & 0x00000004) == 0x00000004); } + /** + * optional .InitMessage initMessage = 3; + */ public de.pokerth.protocol.ProtoBuf.InitMessage getInitMessage() { return initMessage_; } + /** + * optional .InitMessage initMessage = 3; + */ public Builder setInitMessage(de.pokerth.protocol.ProtoBuf.InitMessage value) { if (value == null) { throw new NullPointerException(); } initMessage_ = value; - + bitField0_ |= 0x00000004; return this; } + /** + * optional .InitMessage initMessage = 3; + */ public Builder setInitMessage( de.pokerth.protocol.ProtoBuf.InitMessage.Builder builderForValue) { initMessage_ = builderForValue.build(); - + bitField0_ |= 0x00000004; return this; } + /** + * optional .InitMessage initMessage = 3; + */ public Builder mergeInitMessage(de.pokerth.protocol.ProtoBuf.InitMessage value) { if (((bitField0_ & 0x00000004) == 0x00000004) && initMessage_ != de.pokerth.protocol.ProtoBuf.InitMessage.getDefaultInstance()) { @@ -44102,41 +56059,59 @@ public final class ProtoBuf { } else { initMessage_ = value; } - + bitField0_ |= 0x00000004; return this; } + /** + * optional .InitMessage initMessage = 3; + */ public Builder clearInitMessage() { initMessage_ = de.pokerth.protocol.ProtoBuf.InitMessage.getDefaultInstance(); - + bitField0_ = (bitField0_ & ~0x00000004); return this; } - + // optional .AuthServerChallengeMessage authServerChallengeMessage = 4; private de.pokerth.protocol.ProtoBuf.AuthServerChallengeMessage authServerChallengeMessage_ = de.pokerth.protocol.ProtoBuf.AuthServerChallengeMessage.getDefaultInstance(); + /** + * optional .AuthServerChallengeMessage authServerChallengeMessage = 4; + */ public boolean hasAuthServerChallengeMessage() { return ((bitField0_ & 0x00000008) == 0x00000008); } + /** + * optional .AuthServerChallengeMessage authServerChallengeMessage = 4; + */ public de.pokerth.protocol.ProtoBuf.AuthServerChallengeMessage getAuthServerChallengeMessage() { return authServerChallengeMessage_; } + /** + * optional .AuthServerChallengeMessage authServerChallengeMessage = 4; + */ public Builder setAuthServerChallengeMessage(de.pokerth.protocol.ProtoBuf.AuthServerChallengeMessage value) { if (value == null) { throw new NullPointerException(); } authServerChallengeMessage_ = value; - + bitField0_ |= 0x00000008; return this; } + /** + * optional .AuthServerChallengeMessage authServerChallengeMessage = 4; + */ public Builder setAuthServerChallengeMessage( de.pokerth.protocol.ProtoBuf.AuthServerChallengeMessage.Builder builderForValue) { authServerChallengeMessage_ = builderForValue.build(); - + bitField0_ |= 0x00000008; return this; } + /** + * optional .AuthServerChallengeMessage authServerChallengeMessage = 4; + */ public Builder mergeAuthServerChallengeMessage(de.pokerth.protocol.ProtoBuf.AuthServerChallengeMessage value) { if (((bitField0_ & 0x00000008) == 0x00000008) && authServerChallengeMessage_ != de.pokerth.protocol.ProtoBuf.AuthServerChallengeMessage.getDefaultInstance()) { @@ -44145,41 +56120,59 @@ public final class ProtoBuf { } else { authServerChallengeMessage_ = value; } - + bitField0_ |= 0x00000008; return this; } + /** + * optional .AuthServerChallengeMessage authServerChallengeMessage = 4; + */ public Builder clearAuthServerChallengeMessage() { authServerChallengeMessage_ = de.pokerth.protocol.ProtoBuf.AuthServerChallengeMessage.getDefaultInstance(); - + bitField0_ = (bitField0_ & ~0x00000008); return this; } - + // optional .AuthClientResponseMessage authClientResponseMessage = 5; private de.pokerth.protocol.ProtoBuf.AuthClientResponseMessage authClientResponseMessage_ = de.pokerth.protocol.ProtoBuf.AuthClientResponseMessage.getDefaultInstance(); + /** + * optional .AuthClientResponseMessage authClientResponseMessage = 5; + */ public boolean hasAuthClientResponseMessage() { return ((bitField0_ & 0x00000010) == 0x00000010); } + /** + * optional .AuthClientResponseMessage authClientResponseMessage = 5; + */ public de.pokerth.protocol.ProtoBuf.AuthClientResponseMessage getAuthClientResponseMessage() { return authClientResponseMessage_; } + /** + * optional .AuthClientResponseMessage authClientResponseMessage = 5; + */ public Builder setAuthClientResponseMessage(de.pokerth.protocol.ProtoBuf.AuthClientResponseMessage value) { if (value == null) { throw new NullPointerException(); } authClientResponseMessage_ = value; - + bitField0_ |= 0x00000010; return this; } + /** + * optional .AuthClientResponseMessage authClientResponseMessage = 5; + */ public Builder setAuthClientResponseMessage( de.pokerth.protocol.ProtoBuf.AuthClientResponseMessage.Builder builderForValue) { authClientResponseMessage_ = builderForValue.build(); - + bitField0_ |= 0x00000010; return this; } + /** + * optional .AuthClientResponseMessage authClientResponseMessage = 5; + */ public Builder mergeAuthClientResponseMessage(de.pokerth.protocol.ProtoBuf.AuthClientResponseMessage value) { if (((bitField0_ & 0x00000010) == 0x00000010) && authClientResponseMessage_ != de.pokerth.protocol.ProtoBuf.AuthClientResponseMessage.getDefaultInstance()) { @@ -44188,41 +56181,59 @@ public final class ProtoBuf { } else { authClientResponseMessage_ = value; } - + bitField0_ |= 0x00000010; return this; } + /** + * optional .AuthClientResponseMessage authClientResponseMessage = 5; + */ public Builder clearAuthClientResponseMessage() { authClientResponseMessage_ = de.pokerth.protocol.ProtoBuf.AuthClientResponseMessage.getDefaultInstance(); - + bitField0_ = (bitField0_ & ~0x00000010); return this; } - + // optional .AuthServerVerificationMessage authServerVerificationMessage = 6; private de.pokerth.protocol.ProtoBuf.AuthServerVerificationMessage authServerVerificationMessage_ = de.pokerth.protocol.ProtoBuf.AuthServerVerificationMessage.getDefaultInstance(); + /** + * optional .AuthServerVerificationMessage authServerVerificationMessage = 6; + */ public boolean hasAuthServerVerificationMessage() { return ((bitField0_ & 0x00000020) == 0x00000020); } + /** + * optional .AuthServerVerificationMessage authServerVerificationMessage = 6; + */ public de.pokerth.protocol.ProtoBuf.AuthServerVerificationMessage getAuthServerVerificationMessage() { return authServerVerificationMessage_; } + /** + * optional .AuthServerVerificationMessage authServerVerificationMessage = 6; + */ public Builder setAuthServerVerificationMessage(de.pokerth.protocol.ProtoBuf.AuthServerVerificationMessage value) { if (value == null) { throw new NullPointerException(); } authServerVerificationMessage_ = value; - + bitField0_ |= 0x00000020; return this; } + /** + * optional .AuthServerVerificationMessage authServerVerificationMessage = 6; + */ public Builder setAuthServerVerificationMessage( de.pokerth.protocol.ProtoBuf.AuthServerVerificationMessage.Builder builderForValue) { authServerVerificationMessage_ = builderForValue.build(); - + bitField0_ |= 0x00000020; return this; } + /** + * optional .AuthServerVerificationMessage authServerVerificationMessage = 6; + */ public Builder mergeAuthServerVerificationMessage(de.pokerth.protocol.ProtoBuf.AuthServerVerificationMessage value) { if (((bitField0_ & 0x00000020) == 0x00000020) && authServerVerificationMessage_ != de.pokerth.protocol.ProtoBuf.AuthServerVerificationMessage.getDefaultInstance()) { @@ -44231,41 +56242,59 @@ public final class ProtoBuf { } else { authServerVerificationMessage_ = value; } - + bitField0_ |= 0x00000020; return this; } + /** + * optional .AuthServerVerificationMessage authServerVerificationMessage = 6; + */ public Builder clearAuthServerVerificationMessage() { authServerVerificationMessage_ = de.pokerth.protocol.ProtoBuf.AuthServerVerificationMessage.getDefaultInstance(); - + bitField0_ = (bitField0_ & ~0x00000020); return this; } - + // optional .InitAckMessage initAckMessage = 7; private de.pokerth.protocol.ProtoBuf.InitAckMessage initAckMessage_ = de.pokerth.protocol.ProtoBuf.InitAckMessage.getDefaultInstance(); + /** + * optional .InitAckMessage initAckMessage = 7; + */ public boolean hasInitAckMessage() { return ((bitField0_ & 0x00000040) == 0x00000040); } + /** + * optional .InitAckMessage initAckMessage = 7; + */ public de.pokerth.protocol.ProtoBuf.InitAckMessage getInitAckMessage() { return initAckMessage_; } + /** + * optional .InitAckMessage initAckMessage = 7; + */ public Builder setInitAckMessage(de.pokerth.protocol.ProtoBuf.InitAckMessage value) { if (value == null) { throw new NullPointerException(); } initAckMessage_ = value; - + bitField0_ |= 0x00000040; return this; } + /** + * optional .InitAckMessage initAckMessage = 7; + */ public Builder setInitAckMessage( de.pokerth.protocol.ProtoBuf.InitAckMessage.Builder builderForValue) { initAckMessage_ = builderForValue.build(); - + bitField0_ |= 0x00000040; return this; } + /** + * optional .InitAckMessage initAckMessage = 7; + */ public Builder mergeInitAckMessage(de.pokerth.protocol.ProtoBuf.InitAckMessage value) { if (((bitField0_ & 0x00000040) == 0x00000040) && initAckMessage_ != de.pokerth.protocol.ProtoBuf.InitAckMessage.getDefaultInstance()) { @@ -44274,41 +56303,59 @@ public final class ProtoBuf { } else { initAckMessage_ = value; } - + bitField0_ |= 0x00000040; return this; } + /** + * optional .InitAckMessage initAckMessage = 7; + */ public Builder clearInitAckMessage() { initAckMessage_ = de.pokerth.protocol.ProtoBuf.InitAckMessage.getDefaultInstance(); - + bitField0_ = (bitField0_ & ~0x00000040); return this; } - + // optional .AvatarRequestMessage avatarRequestMessage = 8; private de.pokerth.protocol.ProtoBuf.AvatarRequestMessage avatarRequestMessage_ = de.pokerth.protocol.ProtoBuf.AvatarRequestMessage.getDefaultInstance(); + /** + * optional .AvatarRequestMessage avatarRequestMessage = 8; + */ public boolean hasAvatarRequestMessage() { return ((bitField0_ & 0x00000080) == 0x00000080); } + /** + * optional .AvatarRequestMessage avatarRequestMessage = 8; + */ public de.pokerth.protocol.ProtoBuf.AvatarRequestMessage getAvatarRequestMessage() { return avatarRequestMessage_; } + /** + * optional .AvatarRequestMessage avatarRequestMessage = 8; + */ public Builder setAvatarRequestMessage(de.pokerth.protocol.ProtoBuf.AvatarRequestMessage value) { if (value == null) { throw new NullPointerException(); } avatarRequestMessage_ = value; - + bitField0_ |= 0x00000080; return this; } + /** + * optional .AvatarRequestMessage avatarRequestMessage = 8; + */ public Builder setAvatarRequestMessage( de.pokerth.protocol.ProtoBuf.AvatarRequestMessage.Builder builderForValue) { avatarRequestMessage_ = builderForValue.build(); - + bitField0_ |= 0x00000080; return this; } + /** + * optional .AvatarRequestMessage avatarRequestMessage = 8; + */ public Builder mergeAvatarRequestMessage(de.pokerth.protocol.ProtoBuf.AvatarRequestMessage value) { if (((bitField0_ & 0x00000080) == 0x00000080) && avatarRequestMessage_ != de.pokerth.protocol.ProtoBuf.AvatarRequestMessage.getDefaultInstance()) { @@ -44317,41 +56364,59 @@ public final class ProtoBuf { } else { avatarRequestMessage_ = value; } - + bitField0_ |= 0x00000080; return this; } + /** + * optional .AvatarRequestMessage avatarRequestMessage = 8; + */ public Builder clearAvatarRequestMessage() { avatarRequestMessage_ = de.pokerth.protocol.ProtoBuf.AvatarRequestMessage.getDefaultInstance(); - + bitField0_ = (bitField0_ & ~0x00000080); return this; } - + // optional .AvatarHeaderMessage avatarHeaderMessage = 9; private de.pokerth.protocol.ProtoBuf.AvatarHeaderMessage avatarHeaderMessage_ = de.pokerth.protocol.ProtoBuf.AvatarHeaderMessage.getDefaultInstance(); + /** + * optional .AvatarHeaderMessage avatarHeaderMessage = 9; + */ public boolean hasAvatarHeaderMessage() { return ((bitField0_ & 0x00000100) == 0x00000100); } + /** + * optional .AvatarHeaderMessage avatarHeaderMessage = 9; + */ public de.pokerth.protocol.ProtoBuf.AvatarHeaderMessage getAvatarHeaderMessage() { return avatarHeaderMessage_; } + /** + * optional .AvatarHeaderMessage avatarHeaderMessage = 9; + */ public Builder setAvatarHeaderMessage(de.pokerth.protocol.ProtoBuf.AvatarHeaderMessage value) { if (value == null) { throw new NullPointerException(); } avatarHeaderMessage_ = value; - + bitField0_ |= 0x00000100; return this; } + /** + * optional .AvatarHeaderMessage avatarHeaderMessage = 9; + */ public Builder setAvatarHeaderMessage( de.pokerth.protocol.ProtoBuf.AvatarHeaderMessage.Builder builderForValue) { avatarHeaderMessage_ = builderForValue.build(); - + bitField0_ |= 0x00000100; return this; } + /** + * optional .AvatarHeaderMessage avatarHeaderMessage = 9; + */ public Builder mergeAvatarHeaderMessage(de.pokerth.protocol.ProtoBuf.AvatarHeaderMessage value) { if (((bitField0_ & 0x00000100) == 0x00000100) && avatarHeaderMessage_ != de.pokerth.protocol.ProtoBuf.AvatarHeaderMessage.getDefaultInstance()) { @@ -44360,41 +56425,59 @@ public final class ProtoBuf { } else { avatarHeaderMessage_ = value; } - + bitField0_ |= 0x00000100; return this; } + /** + * optional .AvatarHeaderMessage avatarHeaderMessage = 9; + */ public Builder clearAvatarHeaderMessage() { avatarHeaderMessage_ = de.pokerth.protocol.ProtoBuf.AvatarHeaderMessage.getDefaultInstance(); - + bitField0_ = (bitField0_ & ~0x00000100); return this; } - + // optional .AvatarDataMessage avatarDataMessage = 10; private de.pokerth.protocol.ProtoBuf.AvatarDataMessage avatarDataMessage_ = de.pokerth.protocol.ProtoBuf.AvatarDataMessage.getDefaultInstance(); + /** + * optional .AvatarDataMessage avatarDataMessage = 10; + */ public boolean hasAvatarDataMessage() { return ((bitField0_ & 0x00000200) == 0x00000200); } + /** + * optional .AvatarDataMessage avatarDataMessage = 10; + */ public de.pokerth.protocol.ProtoBuf.AvatarDataMessage getAvatarDataMessage() { return avatarDataMessage_; } + /** + * optional .AvatarDataMessage avatarDataMessage = 10; + */ public Builder setAvatarDataMessage(de.pokerth.protocol.ProtoBuf.AvatarDataMessage value) { if (value == null) { throw new NullPointerException(); } avatarDataMessage_ = value; - + bitField0_ |= 0x00000200; return this; } + /** + * optional .AvatarDataMessage avatarDataMessage = 10; + */ public Builder setAvatarDataMessage( de.pokerth.protocol.ProtoBuf.AvatarDataMessage.Builder builderForValue) { avatarDataMessage_ = builderForValue.build(); - + bitField0_ |= 0x00000200; return this; } + /** + * optional .AvatarDataMessage avatarDataMessage = 10; + */ public Builder mergeAvatarDataMessage(de.pokerth.protocol.ProtoBuf.AvatarDataMessage value) { if (((bitField0_ & 0x00000200) == 0x00000200) && avatarDataMessage_ != de.pokerth.protocol.ProtoBuf.AvatarDataMessage.getDefaultInstance()) { @@ -44403,41 +56486,59 @@ public final class ProtoBuf { } else { avatarDataMessage_ = value; } - + bitField0_ |= 0x00000200; return this; } + /** + * optional .AvatarDataMessage avatarDataMessage = 10; + */ public Builder clearAvatarDataMessage() { avatarDataMessage_ = de.pokerth.protocol.ProtoBuf.AvatarDataMessage.getDefaultInstance(); - + bitField0_ = (bitField0_ & ~0x00000200); return this; } - + // optional .AvatarEndMessage avatarEndMessage = 11; private de.pokerth.protocol.ProtoBuf.AvatarEndMessage avatarEndMessage_ = de.pokerth.protocol.ProtoBuf.AvatarEndMessage.getDefaultInstance(); + /** + * optional .AvatarEndMessage avatarEndMessage = 11; + */ public boolean hasAvatarEndMessage() { return ((bitField0_ & 0x00000400) == 0x00000400); } + /** + * optional .AvatarEndMessage avatarEndMessage = 11; + */ public de.pokerth.protocol.ProtoBuf.AvatarEndMessage getAvatarEndMessage() { return avatarEndMessage_; } + /** + * optional .AvatarEndMessage avatarEndMessage = 11; + */ public Builder setAvatarEndMessage(de.pokerth.protocol.ProtoBuf.AvatarEndMessage value) { if (value == null) { throw new NullPointerException(); } avatarEndMessage_ = value; - + bitField0_ |= 0x00000400; return this; } + /** + * optional .AvatarEndMessage avatarEndMessage = 11; + */ public Builder setAvatarEndMessage( de.pokerth.protocol.ProtoBuf.AvatarEndMessage.Builder builderForValue) { avatarEndMessage_ = builderForValue.build(); - + bitField0_ |= 0x00000400; return this; } + /** + * optional .AvatarEndMessage avatarEndMessage = 11; + */ public Builder mergeAvatarEndMessage(de.pokerth.protocol.ProtoBuf.AvatarEndMessage value) { if (((bitField0_ & 0x00000400) == 0x00000400) && avatarEndMessage_ != de.pokerth.protocol.ProtoBuf.AvatarEndMessage.getDefaultInstance()) { @@ -44446,41 +56547,59 @@ public final class ProtoBuf { } else { avatarEndMessage_ = value; } - + bitField0_ |= 0x00000400; return this; } + /** + * optional .AvatarEndMessage avatarEndMessage = 11; + */ public Builder clearAvatarEndMessage() { avatarEndMessage_ = de.pokerth.protocol.ProtoBuf.AvatarEndMessage.getDefaultInstance(); - + bitField0_ = (bitField0_ & ~0x00000400); return this; } - + // optional .UnknownAvatarMessage unknownAvatarMessage = 12; private de.pokerth.protocol.ProtoBuf.UnknownAvatarMessage unknownAvatarMessage_ = de.pokerth.protocol.ProtoBuf.UnknownAvatarMessage.getDefaultInstance(); + /** + * optional .UnknownAvatarMessage unknownAvatarMessage = 12; + */ public boolean hasUnknownAvatarMessage() { return ((bitField0_ & 0x00000800) == 0x00000800); } + /** + * optional .UnknownAvatarMessage unknownAvatarMessage = 12; + */ public de.pokerth.protocol.ProtoBuf.UnknownAvatarMessage getUnknownAvatarMessage() { return unknownAvatarMessage_; } + /** + * optional .UnknownAvatarMessage unknownAvatarMessage = 12; + */ public Builder setUnknownAvatarMessage(de.pokerth.protocol.ProtoBuf.UnknownAvatarMessage value) { if (value == null) { throw new NullPointerException(); } unknownAvatarMessage_ = value; - + bitField0_ |= 0x00000800; return this; } + /** + * optional .UnknownAvatarMessage unknownAvatarMessage = 12; + */ public Builder setUnknownAvatarMessage( de.pokerth.protocol.ProtoBuf.UnknownAvatarMessage.Builder builderForValue) { unknownAvatarMessage_ = builderForValue.build(); - + bitField0_ |= 0x00000800; return this; } + /** + * optional .UnknownAvatarMessage unknownAvatarMessage = 12; + */ public Builder mergeUnknownAvatarMessage(de.pokerth.protocol.ProtoBuf.UnknownAvatarMessage value) { if (((bitField0_ & 0x00000800) == 0x00000800) && unknownAvatarMessage_ != de.pokerth.protocol.ProtoBuf.UnknownAvatarMessage.getDefaultInstance()) { @@ -44489,41 +56608,59 @@ public final class ProtoBuf { } else { unknownAvatarMessage_ = value; } - + bitField0_ |= 0x00000800; return this; } + /** + * optional .UnknownAvatarMessage unknownAvatarMessage = 12; + */ public Builder clearUnknownAvatarMessage() { unknownAvatarMessage_ = de.pokerth.protocol.ProtoBuf.UnknownAvatarMessage.getDefaultInstance(); - + bitField0_ = (bitField0_ & ~0x00000800); return this; } - + // optional .PlayerListMessage playerListMessage = 13; private de.pokerth.protocol.ProtoBuf.PlayerListMessage playerListMessage_ = de.pokerth.protocol.ProtoBuf.PlayerListMessage.getDefaultInstance(); + /** + * optional .PlayerListMessage playerListMessage = 13; + */ public boolean hasPlayerListMessage() { return ((bitField0_ & 0x00001000) == 0x00001000); } + /** + * optional .PlayerListMessage playerListMessage = 13; + */ public de.pokerth.protocol.ProtoBuf.PlayerListMessage getPlayerListMessage() { return playerListMessage_; } + /** + * optional .PlayerListMessage playerListMessage = 13; + */ public Builder setPlayerListMessage(de.pokerth.protocol.ProtoBuf.PlayerListMessage value) { if (value == null) { throw new NullPointerException(); } playerListMessage_ = value; - + bitField0_ |= 0x00001000; return this; } + /** + * optional .PlayerListMessage playerListMessage = 13; + */ public Builder setPlayerListMessage( de.pokerth.protocol.ProtoBuf.PlayerListMessage.Builder builderForValue) { playerListMessage_ = builderForValue.build(); - + bitField0_ |= 0x00001000; return this; } + /** + * optional .PlayerListMessage playerListMessage = 13; + */ public Builder mergePlayerListMessage(de.pokerth.protocol.ProtoBuf.PlayerListMessage value) { if (((bitField0_ & 0x00001000) == 0x00001000) && playerListMessage_ != de.pokerth.protocol.ProtoBuf.PlayerListMessage.getDefaultInstance()) { @@ -44532,41 +56669,59 @@ public final class ProtoBuf { } else { playerListMessage_ = value; } - + bitField0_ |= 0x00001000; return this; } + /** + * optional .PlayerListMessage playerListMessage = 13; + */ public Builder clearPlayerListMessage() { playerListMessage_ = de.pokerth.protocol.ProtoBuf.PlayerListMessage.getDefaultInstance(); - + bitField0_ = (bitField0_ & ~0x00001000); return this; } - + // optional .GameListNewMessage gameListNewMessage = 14; private de.pokerth.protocol.ProtoBuf.GameListNewMessage gameListNewMessage_ = de.pokerth.protocol.ProtoBuf.GameListNewMessage.getDefaultInstance(); + /** + * optional .GameListNewMessage gameListNewMessage = 14; + */ public boolean hasGameListNewMessage() { return ((bitField0_ & 0x00002000) == 0x00002000); } + /** + * optional .GameListNewMessage gameListNewMessage = 14; + */ public de.pokerth.protocol.ProtoBuf.GameListNewMessage getGameListNewMessage() { return gameListNewMessage_; } + /** + * optional .GameListNewMessage gameListNewMessage = 14; + */ public Builder setGameListNewMessage(de.pokerth.protocol.ProtoBuf.GameListNewMessage value) { if (value == null) { throw new NullPointerException(); } gameListNewMessage_ = value; - + bitField0_ |= 0x00002000; return this; } + /** + * optional .GameListNewMessage gameListNewMessage = 14; + */ public Builder setGameListNewMessage( de.pokerth.protocol.ProtoBuf.GameListNewMessage.Builder builderForValue) { gameListNewMessage_ = builderForValue.build(); - + bitField0_ |= 0x00002000; return this; } + /** + * optional .GameListNewMessage gameListNewMessage = 14; + */ public Builder mergeGameListNewMessage(de.pokerth.protocol.ProtoBuf.GameListNewMessage value) { if (((bitField0_ & 0x00002000) == 0x00002000) && gameListNewMessage_ != de.pokerth.protocol.ProtoBuf.GameListNewMessage.getDefaultInstance()) { @@ -44575,41 +56730,59 @@ public final class ProtoBuf { } else { gameListNewMessage_ = value; } - + bitField0_ |= 0x00002000; return this; } + /** + * optional .GameListNewMessage gameListNewMessage = 14; + */ public Builder clearGameListNewMessage() { gameListNewMessage_ = de.pokerth.protocol.ProtoBuf.GameListNewMessage.getDefaultInstance(); - + bitField0_ = (bitField0_ & ~0x00002000); return this; } - + // optional .GameListUpdateMessage gameListUpdateMessage = 15; private de.pokerth.protocol.ProtoBuf.GameListUpdateMessage gameListUpdateMessage_ = de.pokerth.protocol.ProtoBuf.GameListUpdateMessage.getDefaultInstance(); + /** + * optional .GameListUpdateMessage gameListUpdateMessage = 15; + */ public boolean hasGameListUpdateMessage() { return ((bitField0_ & 0x00004000) == 0x00004000); } + /** + * optional .GameListUpdateMessage gameListUpdateMessage = 15; + */ public de.pokerth.protocol.ProtoBuf.GameListUpdateMessage getGameListUpdateMessage() { return gameListUpdateMessage_; } + /** + * optional .GameListUpdateMessage gameListUpdateMessage = 15; + */ public Builder setGameListUpdateMessage(de.pokerth.protocol.ProtoBuf.GameListUpdateMessage value) { if (value == null) { throw new NullPointerException(); } gameListUpdateMessage_ = value; - + bitField0_ |= 0x00004000; return this; } + /** + * optional .GameListUpdateMessage gameListUpdateMessage = 15; + */ public Builder setGameListUpdateMessage( de.pokerth.protocol.ProtoBuf.GameListUpdateMessage.Builder builderForValue) { gameListUpdateMessage_ = builderForValue.build(); - + bitField0_ |= 0x00004000; return this; } + /** + * optional .GameListUpdateMessage gameListUpdateMessage = 15; + */ public Builder mergeGameListUpdateMessage(de.pokerth.protocol.ProtoBuf.GameListUpdateMessage value) { if (((bitField0_ & 0x00004000) == 0x00004000) && gameListUpdateMessage_ != de.pokerth.protocol.ProtoBuf.GameListUpdateMessage.getDefaultInstance()) { @@ -44618,41 +56791,59 @@ public final class ProtoBuf { } else { gameListUpdateMessage_ = value; } - + bitField0_ |= 0x00004000; return this; } + /** + * optional .GameListUpdateMessage gameListUpdateMessage = 15; + */ public Builder clearGameListUpdateMessage() { gameListUpdateMessage_ = de.pokerth.protocol.ProtoBuf.GameListUpdateMessage.getDefaultInstance(); - + bitField0_ = (bitField0_ & ~0x00004000); return this; } - + // optional .GameListPlayerJoinedMessage gameListPlayerJoinedMessage = 16; private de.pokerth.protocol.ProtoBuf.GameListPlayerJoinedMessage gameListPlayerJoinedMessage_ = de.pokerth.protocol.ProtoBuf.GameListPlayerJoinedMessage.getDefaultInstance(); + /** + * optional .GameListPlayerJoinedMessage gameListPlayerJoinedMessage = 16; + */ public boolean hasGameListPlayerJoinedMessage() { return ((bitField0_ & 0x00008000) == 0x00008000); } + /** + * optional .GameListPlayerJoinedMessage gameListPlayerJoinedMessage = 16; + */ public de.pokerth.protocol.ProtoBuf.GameListPlayerJoinedMessage getGameListPlayerJoinedMessage() { return gameListPlayerJoinedMessage_; } + /** + * optional .GameListPlayerJoinedMessage gameListPlayerJoinedMessage = 16; + */ public Builder setGameListPlayerJoinedMessage(de.pokerth.protocol.ProtoBuf.GameListPlayerJoinedMessage value) { if (value == null) { throw new NullPointerException(); } gameListPlayerJoinedMessage_ = value; - + bitField0_ |= 0x00008000; return this; } + /** + * optional .GameListPlayerJoinedMessage gameListPlayerJoinedMessage = 16; + */ public Builder setGameListPlayerJoinedMessage( de.pokerth.protocol.ProtoBuf.GameListPlayerJoinedMessage.Builder builderForValue) { gameListPlayerJoinedMessage_ = builderForValue.build(); - + bitField0_ |= 0x00008000; return this; } + /** + * optional .GameListPlayerJoinedMessage gameListPlayerJoinedMessage = 16; + */ public Builder mergeGameListPlayerJoinedMessage(de.pokerth.protocol.ProtoBuf.GameListPlayerJoinedMessage value) { if (((bitField0_ & 0x00008000) == 0x00008000) && gameListPlayerJoinedMessage_ != de.pokerth.protocol.ProtoBuf.GameListPlayerJoinedMessage.getDefaultInstance()) { @@ -44661,41 +56852,59 @@ public final class ProtoBuf { } else { gameListPlayerJoinedMessage_ = value; } - + bitField0_ |= 0x00008000; return this; } + /** + * optional .GameListPlayerJoinedMessage gameListPlayerJoinedMessage = 16; + */ public Builder clearGameListPlayerJoinedMessage() { gameListPlayerJoinedMessage_ = de.pokerth.protocol.ProtoBuf.GameListPlayerJoinedMessage.getDefaultInstance(); - + bitField0_ = (bitField0_ & ~0x00008000); return this; } - + // optional .GameListPlayerLeftMessage gameListPlayerLeftMessage = 17; private de.pokerth.protocol.ProtoBuf.GameListPlayerLeftMessage gameListPlayerLeftMessage_ = de.pokerth.protocol.ProtoBuf.GameListPlayerLeftMessage.getDefaultInstance(); + /** + * optional .GameListPlayerLeftMessage gameListPlayerLeftMessage = 17; + */ public boolean hasGameListPlayerLeftMessage() { return ((bitField0_ & 0x00010000) == 0x00010000); } + /** + * optional .GameListPlayerLeftMessage gameListPlayerLeftMessage = 17; + */ public de.pokerth.protocol.ProtoBuf.GameListPlayerLeftMessage getGameListPlayerLeftMessage() { return gameListPlayerLeftMessage_; } + /** + * optional .GameListPlayerLeftMessage gameListPlayerLeftMessage = 17; + */ public Builder setGameListPlayerLeftMessage(de.pokerth.protocol.ProtoBuf.GameListPlayerLeftMessage value) { if (value == null) { throw new NullPointerException(); } gameListPlayerLeftMessage_ = value; - + bitField0_ |= 0x00010000; return this; } + /** + * optional .GameListPlayerLeftMessage gameListPlayerLeftMessage = 17; + */ public Builder setGameListPlayerLeftMessage( de.pokerth.protocol.ProtoBuf.GameListPlayerLeftMessage.Builder builderForValue) { gameListPlayerLeftMessage_ = builderForValue.build(); - + bitField0_ |= 0x00010000; return this; } + /** + * optional .GameListPlayerLeftMessage gameListPlayerLeftMessage = 17; + */ public Builder mergeGameListPlayerLeftMessage(de.pokerth.protocol.ProtoBuf.GameListPlayerLeftMessage value) { if (((bitField0_ & 0x00010000) == 0x00010000) && gameListPlayerLeftMessage_ != de.pokerth.protocol.ProtoBuf.GameListPlayerLeftMessage.getDefaultInstance()) { @@ -44704,41 +56913,59 @@ public final class ProtoBuf { } else { gameListPlayerLeftMessage_ = value; } - + bitField0_ |= 0x00010000; return this; } + /** + * optional .GameListPlayerLeftMessage gameListPlayerLeftMessage = 17; + */ public Builder clearGameListPlayerLeftMessage() { gameListPlayerLeftMessage_ = de.pokerth.protocol.ProtoBuf.GameListPlayerLeftMessage.getDefaultInstance(); - + bitField0_ = (bitField0_ & ~0x00010000); return this; } - + // optional .GameListAdminChangedMessage gameListAdminChangedMessage = 18; private de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessage gameListAdminChangedMessage_ = de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessage.getDefaultInstance(); + /** + * optional .GameListAdminChangedMessage gameListAdminChangedMessage = 18; + */ public boolean hasGameListAdminChangedMessage() { return ((bitField0_ & 0x00020000) == 0x00020000); } + /** + * optional .GameListAdminChangedMessage gameListAdminChangedMessage = 18; + */ public de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessage getGameListAdminChangedMessage() { return gameListAdminChangedMessage_; } + /** + * optional .GameListAdminChangedMessage gameListAdminChangedMessage = 18; + */ public Builder setGameListAdminChangedMessage(de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessage value) { if (value == null) { throw new NullPointerException(); } gameListAdminChangedMessage_ = value; - + bitField0_ |= 0x00020000; return this; } + /** + * optional .GameListAdminChangedMessage gameListAdminChangedMessage = 18; + */ public Builder setGameListAdminChangedMessage( de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessage.Builder builderForValue) { gameListAdminChangedMessage_ = builderForValue.build(); - + bitField0_ |= 0x00020000; return this; } + /** + * optional .GameListAdminChangedMessage gameListAdminChangedMessage = 18; + */ public Builder mergeGameListAdminChangedMessage(de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessage value) { if (((bitField0_ & 0x00020000) == 0x00020000) && gameListAdminChangedMessage_ != de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessage.getDefaultInstance()) { @@ -44747,41 +56974,59 @@ public final class ProtoBuf { } else { gameListAdminChangedMessage_ = value; } - + bitField0_ |= 0x00020000; return this; } + /** + * optional .GameListAdminChangedMessage gameListAdminChangedMessage = 18; + */ public Builder clearGameListAdminChangedMessage() { gameListAdminChangedMessage_ = de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessage.getDefaultInstance(); - + bitField0_ = (bitField0_ & ~0x00020000); return this; } - + // optional .PlayerInfoRequestMessage playerInfoRequestMessage = 19; private de.pokerth.protocol.ProtoBuf.PlayerInfoRequestMessage playerInfoRequestMessage_ = de.pokerth.protocol.ProtoBuf.PlayerInfoRequestMessage.getDefaultInstance(); + /** + * optional .PlayerInfoRequestMessage playerInfoRequestMessage = 19; + */ public boolean hasPlayerInfoRequestMessage() { return ((bitField0_ & 0x00040000) == 0x00040000); } + /** + * optional .PlayerInfoRequestMessage playerInfoRequestMessage = 19; + */ public de.pokerth.protocol.ProtoBuf.PlayerInfoRequestMessage getPlayerInfoRequestMessage() { return playerInfoRequestMessage_; } + /** + * optional .PlayerInfoRequestMessage playerInfoRequestMessage = 19; + */ public Builder setPlayerInfoRequestMessage(de.pokerth.protocol.ProtoBuf.PlayerInfoRequestMessage value) { if (value == null) { throw new NullPointerException(); } playerInfoRequestMessage_ = value; - + bitField0_ |= 0x00040000; return this; } + /** + * optional .PlayerInfoRequestMessage playerInfoRequestMessage = 19; + */ public Builder setPlayerInfoRequestMessage( de.pokerth.protocol.ProtoBuf.PlayerInfoRequestMessage.Builder builderForValue) { playerInfoRequestMessage_ = builderForValue.build(); - + bitField0_ |= 0x00040000; return this; } + /** + * optional .PlayerInfoRequestMessage playerInfoRequestMessage = 19; + */ public Builder mergePlayerInfoRequestMessage(de.pokerth.protocol.ProtoBuf.PlayerInfoRequestMessage value) { if (((bitField0_ & 0x00040000) == 0x00040000) && playerInfoRequestMessage_ != de.pokerth.protocol.ProtoBuf.PlayerInfoRequestMessage.getDefaultInstance()) { @@ -44790,41 +57035,59 @@ public final class ProtoBuf { } else { playerInfoRequestMessage_ = value; } - + bitField0_ |= 0x00040000; return this; } + /** + * optional .PlayerInfoRequestMessage playerInfoRequestMessage = 19; + */ public Builder clearPlayerInfoRequestMessage() { playerInfoRequestMessage_ = de.pokerth.protocol.ProtoBuf.PlayerInfoRequestMessage.getDefaultInstance(); - + bitField0_ = (bitField0_ & ~0x00040000); return this; } - + // optional .PlayerInfoReplyMessage playerInfoReplyMessage = 20; private de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage playerInfoReplyMessage_ = de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.getDefaultInstance(); + /** + * optional .PlayerInfoReplyMessage playerInfoReplyMessage = 20; + */ public boolean hasPlayerInfoReplyMessage() { return ((bitField0_ & 0x00080000) == 0x00080000); } + /** + * optional .PlayerInfoReplyMessage playerInfoReplyMessage = 20; + */ public de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage getPlayerInfoReplyMessage() { return playerInfoReplyMessage_; } + /** + * optional .PlayerInfoReplyMessage playerInfoReplyMessage = 20; + */ public Builder setPlayerInfoReplyMessage(de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage value) { if (value == null) { throw new NullPointerException(); } playerInfoReplyMessage_ = value; - + bitField0_ |= 0x00080000; return this; } + /** + * optional .PlayerInfoReplyMessage playerInfoReplyMessage = 20; + */ public Builder setPlayerInfoReplyMessage( de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.Builder builderForValue) { playerInfoReplyMessage_ = builderForValue.build(); - + bitField0_ |= 0x00080000; return this; } + /** + * optional .PlayerInfoReplyMessage playerInfoReplyMessage = 20; + */ public Builder mergePlayerInfoReplyMessage(de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage value) { if (((bitField0_ & 0x00080000) == 0x00080000) && playerInfoReplyMessage_ != de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.getDefaultInstance()) { @@ -44833,41 +57096,59 @@ public final class ProtoBuf { } else { playerInfoReplyMessage_ = value; } - + bitField0_ |= 0x00080000; return this; } + /** + * optional .PlayerInfoReplyMessage playerInfoReplyMessage = 20; + */ public Builder clearPlayerInfoReplyMessage() { playerInfoReplyMessage_ = de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.getDefaultInstance(); - + bitField0_ = (bitField0_ & ~0x00080000); return this; } - + // optional .SubscriptionRequestMessage subscriptionRequestMessage = 21; private de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage subscriptionRequestMessage_ = de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage.getDefaultInstance(); + /** + * optional .SubscriptionRequestMessage subscriptionRequestMessage = 21; + */ public boolean hasSubscriptionRequestMessage() { return ((bitField0_ & 0x00100000) == 0x00100000); } + /** + * optional .SubscriptionRequestMessage subscriptionRequestMessage = 21; + */ public de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage getSubscriptionRequestMessage() { return subscriptionRequestMessage_; } + /** + * optional .SubscriptionRequestMessage subscriptionRequestMessage = 21; + */ public Builder setSubscriptionRequestMessage(de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage value) { if (value == null) { throw new NullPointerException(); } subscriptionRequestMessage_ = value; - + bitField0_ |= 0x00100000; return this; } + /** + * optional .SubscriptionRequestMessage subscriptionRequestMessage = 21; + */ public Builder setSubscriptionRequestMessage( de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage.Builder builderForValue) { subscriptionRequestMessage_ = builderForValue.build(); - + bitField0_ |= 0x00100000; return this; } + /** + * optional .SubscriptionRequestMessage subscriptionRequestMessage = 21; + */ public Builder mergeSubscriptionRequestMessage(de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage value) { if (((bitField0_ & 0x00100000) == 0x00100000) && subscriptionRequestMessage_ != de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage.getDefaultInstance()) { @@ -44876,41 +57157,59 @@ public final class ProtoBuf { } else { subscriptionRequestMessage_ = value; } - + bitField0_ |= 0x00100000; return this; } + /** + * optional .SubscriptionRequestMessage subscriptionRequestMessage = 21; + */ public Builder clearSubscriptionRequestMessage() { subscriptionRequestMessage_ = de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage.getDefaultInstance(); - + bitField0_ = (bitField0_ & ~0x00100000); return this; } - + // optional .JoinExistingGameMessage joinExistingGameMessage = 22; private de.pokerth.protocol.ProtoBuf.JoinExistingGameMessage joinExistingGameMessage_ = de.pokerth.protocol.ProtoBuf.JoinExistingGameMessage.getDefaultInstance(); + /** + * optional .JoinExistingGameMessage joinExistingGameMessage = 22; + */ public boolean hasJoinExistingGameMessage() { return ((bitField0_ & 0x00200000) == 0x00200000); } + /** + * optional .JoinExistingGameMessage joinExistingGameMessage = 22; + */ public de.pokerth.protocol.ProtoBuf.JoinExistingGameMessage getJoinExistingGameMessage() { return joinExistingGameMessage_; } + /** + * optional .JoinExistingGameMessage joinExistingGameMessage = 22; + */ public Builder setJoinExistingGameMessage(de.pokerth.protocol.ProtoBuf.JoinExistingGameMessage value) { if (value == null) { throw new NullPointerException(); } joinExistingGameMessage_ = value; - + bitField0_ |= 0x00200000; return this; } + /** + * optional .JoinExistingGameMessage joinExistingGameMessage = 22; + */ public Builder setJoinExistingGameMessage( de.pokerth.protocol.ProtoBuf.JoinExistingGameMessage.Builder builderForValue) { joinExistingGameMessage_ = builderForValue.build(); - + bitField0_ |= 0x00200000; return this; } + /** + * optional .JoinExistingGameMessage joinExistingGameMessage = 22; + */ public Builder mergeJoinExistingGameMessage(de.pokerth.protocol.ProtoBuf.JoinExistingGameMessage value) { if (((bitField0_ & 0x00200000) == 0x00200000) && joinExistingGameMessage_ != de.pokerth.protocol.ProtoBuf.JoinExistingGameMessage.getDefaultInstance()) { @@ -44919,41 +57218,59 @@ public final class ProtoBuf { } else { joinExistingGameMessage_ = value; } - + bitField0_ |= 0x00200000; return this; } + /** + * optional .JoinExistingGameMessage joinExistingGameMessage = 22; + */ public Builder clearJoinExistingGameMessage() { joinExistingGameMessage_ = de.pokerth.protocol.ProtoBuf.JoinExistingGameMessage.getDefaultInstance(); - + bitField0_ = (bitField0_ & ~0x00200000); return this; } - + // optional .JoinNewGameMessage joinNewGameMessage = 23; private de.pokerth.protocol.ProtoBuf.JoinNewGameMessage joinNewGameMessage_ = de.pokerth.protocol.ProtoBuf.JoinNewGameMessage.getDefaultInstance(); + /** + * optional .JoinNewGameMessage joinNewGameMessage = 23; + */ public boolean hasJoinNewGameMessage() { return ((bitField0_ & 0x00400000) == 0x00400000); } + /** + * optional .JoinNewGameMessage joinNewGameMessage = 23; + */ public de.pokerth.protocol.ProtoBuf.JoinNewGameMessage getJoinNewGameMessage() { return joinNewGameMessage_; } + /** + * optional .JoinNewGameMessage joinNewGameMessage = 23; + */ public Builder setJoinNewGameMessage(de.pokerth.protocol.ProtoBuf.JoinNewGameMessage value) { if (value == null) { throw new NullPointerException(); } joinNewGameMessage_ = value; - + bitField0_ |= 0x00400000; return this; } + /** + * optional .JoinNewGameMessage joinNewGameMessage = 23; + */ public Builder setJoinNewGameMessage( de.pokerth.protocol.ProtoBuf.JoinNewGameMessage.Builder builderForValue) { joinNewGameMessage_ = builderForValue.build(); - + bitField0_ |= 0x00400000; return this; } + /** + * optional .JoinNewGameMessage joinNewGameMessage = 23; + */ public Builder mergeJoinNewGameMessage(de.pokerth.protocol.ProtoBuf.JoinNewGameMessage value) { if (((bitField0_ & 0x00400000) == 0x00400000) && joinNewGameMessage_ != de.pokerth.protocol.ProtoBuf.JoinNewGameMessage.getDefaultInstance()) { @@ -44962,41 +57279,59 @@ public final class ProtoBuf { } else { joinNewGameMessage_ = value; } - + bitField0_ |= 0x00400000; return this; } + /** + * optional .JoinNewGameMessage joinNewGameMessage = 23; + */ public Builder clearJoinNewGameMessage() { joinNewGameMessage_ = de.pokerth.protocol.ProtoBuf.JoinNewGameMessage.getDefaultInstance(); - + bitField0_ = (bitField0_ & ~0x00400000); return this; } - + // optional .RejoinExistingGameMessage rejoinExistingGameMessage = 24; private de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessage rejoinExistingGameMessage_ = de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessage.getDefaultInstance(); + /** + * optional .RejoinExistingGameMessage rejoinExistingGameMessage = 24; + */ public boolean hasRejoinExistingGameMessage() { return ((bitField0_ & 0x00800000) == 0x00800000); } + /** + * optional .RejoinExistingGameMessage rejoinExistingGameMessage = 24; + */ public de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessage getRejoinExistingGameMessage() { return rejoinExistingGameMessage_; } + /** + * optional .RejoinExistingGameMessage rejoinExistingGameMessage = 24; + */ public Builder setRejoinExistingGameMessage(de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessage value) { if (value == null) { throw new NullPointerException(); } rejoinExistingGameMessage_ = value; - + bitField0_ |= 0x00800000; return this; } + /** + * optional .RejoinExistingGameMessage rejoinExistingGameMessage = 24; + */ public Builder setRejoinExistingGameMessage( de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessage.Builder builderForValue) { rejoinExistingGameMessage_ = builderForValue.build(); - + bitField0_ |= 0x00800000; return this; } + /** + * optional .RejoinExistingGameMessage rejoinExistingGameMessage = 24; + */ public Builder mergeRejoinExistingGameMessage(de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessage value) { if (((bitField0_ & 0x00800000) == 0x00800000) && rejoinExistingGameMessage_ != de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessage.getDefaultInstance()) { @@ -45005,41 +57340,59 @@ public final class ProtoBuf { } else { rejoinExistingGameMessage_ = value; } - + bitField0_ |= 0x00800000; return this; } + /** + * optional .RejoinExistingGameMessage rejoinExistingGameMessage = 24; + */ public Builder clearRejoinExistingGameMessage() { rejoinExistingGameMessage_ = de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessage.getDefaultInstance(); - + bitField0_ = (bitField0_ & ~0x00800000); return this; } - + // optional .JoinGameAckMessage joinGameAckMessage = 25; private de.pokerth.protocol.ProtoBuf.JoinGameAckMessage joinGameAckMessage_ = de.pokerth.protocol.ProtoBuf.JoinGameAckMessage.getDefaultInstance(); + /** + * optional .JoinGameAckMessage joinGameAckMessage = 25; + */ public boolean hasJoinGameAckMessage() { return ((bitField0_ & 0x01000000) == 0x01000000); } + /** + * optional .JoinGameAckMessage joinGameAckMessage = 25; + */ public de.pokerth.protocol.ProtoBuf.JoinGameAckMessage getJoinGameAckMessage() { return joinGameAckMessage_; } + /** + * optional .JoinGameAckMessage joinGameAckMessage = 25; + */ public Builder setJoinGameAckMessage(de.pokerth.protocol.ProtoBuf.JoinGameAckMessage value) { if (value == null) { throw new NullPointerException(); } joinGameAckMessage_ = value; - + bitField0_ |= 0x01000000; return this; } + /** + * optional .JoinGameAckMessage joinGameAckMessage = 25; + */ public Builder setJoinGameAckMessage( de.pokerth.protocol.ProtoBuf.JoinGameAckMessage.Builder builderForValue) { joinGameAckMessage_ = builderForValue.build(); - + bitField0_ |= 0x01000000; return this; } + /** + * optional .JoinGameAckMessage joinGameAckMessage = 25; + */ public Builder mergeJoinGameAckMessage(de.pokerth.protocol.ProtoBuf.JoinGameAckMessage value) { if (((bitField0_ & 0x01000000) == 0x01000000) && joinGameAckMessage_ != de.pokerth.protocol.ProtoBuf.JoinGameAckMessage.getDefaultInstance()) { @@ -45048,41 +57401,59 @@ public final class ProtoBuf { } else { joinGameAckMessage_ = value; } - + bitField0_ |= 0x01000000; return this; } + /** + * optional .JoinGameAckMessage joinGameAckMessage = 25; + */ public Builder clearJoinGameAckMessage() { joinGameAckMessage_ = de.pokerth.protocol.ProtoBuf.JoinGameAckMessage.getDefaultInstance(); - + bitField0_ = (bitField0_ & ~0x01000000); return this; } - + // optional .JoinGameFailedMessage joinGameFailedMessage = 26; private de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage joinGameFailedMessage_ = de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage.getDefaultInstance(); + /** + * optional .JoinGameFailedMessage joinGameFailedMessage = 26; + */ public boolean hasJoinGameFailedMessage() { return ((bitField0_ & 0x02000000) == 0x02000000); } + /** + * optional .JoinGameFailedMessage joinGameFailedMessage = 26; + */ public de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage getJoinGameFailedMessage() { return joinGameFailedMessage_; } + /** + * optional .JoinGameFailedMessage joinGameFailedMessage = 26; + */ public Builder setJoinGameFailedMessage(de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage value) { if (value == null) { throw new NullPointerException(); } joinGameFailedMessage_ = value; - + bitField0_ |= 0x02000000; return this; } + /** + * optional .JoinGameFailedMessage joinGameFailedMessage = 26; + */ public Builder setJoinGameFailedMessage( de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage.Builder builderForValue) { joinGameFailedMessage_ = builderForValue.build(); - + bitField0_ |= 0x02000000; return this; } + /** + * optional .JoinGameFailedMessage joinGameFailedMessage = 26; + */ public Builder mergeJoinGameFailedMessage(de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage value) { if (((bitField0_ & 0x02000000) == 0x02000000) && joinGameFailedMessage_ != de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage.getDefaultInstance()) { @@ -45091,41 +57462,59 @@ public final class ProtoBuf { } else { joinGameFailedMessage_ = value; } - + bitField0_ |= 0x02000000; return this; } + /** + * optional .JoinGameFailedMessage joinGameFailedMessage = 26; + */ public Builder clearJoinGameFailedMessage() { joinGameFailedMessage_ = de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage.getDefaultInstance(); - + bitField0_ = (bitField0_ & ~0x02000000); return this; } - + // optional .GamePlayerJoinedMessage gamePlayerJoinedMessage = 27; private de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessage gamePlayerJoinedMessage_ = de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessage.getDefaultInstance(); + /** + * optional .GamePlayerJoinedMessage gamePlayerJoinedMessage = 27; + */ public boolean hasGamePlayerJoinedMessage() { return ((bitField0_ & 0x04000000) == 0x04000000); } + /** + * optional .GamePlayerJoinedMessage gamePlayerJoinedMessage = 27; + */ public de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessage getGamePlayerJoinedMessage() { return gamePlayerJoinedMessage_; } + /** + * optional .GamePlayerJoinedMessage gamePlayerJoinedMessage = 27; + */ public Builder setGamePlayerJoinedMessage(de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessage value) { if (value == null) { throw new NullPointerException(); } gamePlayerJoinedMessage_ = value; - + bitField0_ |= 0x04000000; return this; } + /** + * optional .GamePlayerJoinedMessage gamePlayerJoinedMessage = 27; + */ public Builder setGamePlayerJoinedMessage( de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessage.Builder builderForValue) { gamePlayerJoinedMessage_ = builderForValue.build(); - + bitField0_ |= 0x04000000; return this; } + /** + * optional .GamePlayerJoinedMessage gamePlayerJoinedMessage = 27; + */ public Builder mergeGamePlayerJoinedMessage(de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessage value) { if (((bitField0_ & 0x04000000) == 0x04000000) && gamePlayerJoinedMessage_ != de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessage.getDefaultInstance()) { @@ -45134,41 +57523,59 @@ public final class ProtoBuf { } else { gamePlayerJoinedMessage_ = value; } - + bitField0_ |= 0x04000000; return this; } + /** + * optional .GamePlayerJoinedMessage gamePlayerJoinedMessage = 27; + */ public Builder clearGamePlayerJoinedMessage() { gamePlayerJoinedMessage_ = de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessage.getDefaultInstance(); - + bitField0_ = (bitField0_ & ~0x04000000); return this; } - + // optional .GamePlayerLeftMessage gamePlayerLeftMessage = 28; private de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage gamePlayerLeftMessage_ = de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.getDefaultInstance(); + /** + * optional .GamePlayerLeftMessage gamePlayerLeftMessage = 28; + */ public boolean hasGamePlayerLeftMessage() { return ((bitField0_ & 0x08000000) == 0x08000000); } + /** + * optional .GamePlayerLeftMessage gamePlayerLeftMessage = 28; + */ public de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage getGamePlayerLeftMessage() { return gamePlayerLeftMessage_; } + /** + * optional .GamePlayerLeftMessage gamePlayerLeftMessage = 28; + */ public Builder setGamePlayerLeftMessage(de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage value) { if (value == null) { throw new NullPointerException(); } gamePlayerLeftMessage_ = value; - + bitField0_ |= 0x08000000; return this; } + /** + * optional .GamePlayerLeftMessage gamePlayerLeftMessage = 28; + */ public Builder setGamePlayerLeftMessage( de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.Builder builderForValue) { gamePlayerLeftMessage_ = builderForValue.build(); - + bitField0_ |= 0x08000000; return this; } + /** + * optional .GamePlayerLeftMessage gamePlayerLeftMessage = 28; + */ public Builder mergeGamePlayerLeftMessage(de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage value) { if (((bitField0_ & 0x08000000) == 0x08000000) && gamePlayerLeftMessage_ != de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.getDefaultInstance()) { @@ -45177,41 +57584,59 @@ public final class ProtoBuf { } else { gamePlayerLeftMessage_ = value; } - + bitField0_ |= 0x08000000; return this; } + /** + * optional .GamePlayerLeftMessage gamePlayerLeftMessage = 28; + */ public Builder clearGamePlayerLeftMessage() { gamePlayerLeftMessage_ = de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.getDefaultInstance(); - + bitField0_ = (bitField0_ & ~0x08000000); return this; } - + // optional .GameAdminChangedMessage gameAdminChangedMessage = 29; private de.pokerth.protocol.ProtoBuf.GameAdminChangedMessage gameAdminChangedMessage_ = de.pokerth.protocol.ProtoBuf.GameAdminChangedMessage.getDefaultInstance(); + /** + * optional .GameAdminChangedMessage gameAdminChangedMessage = 29; + */ public boolean hasGameAdminChangedMessage() { return ((bitField0_ & 0x10000000) == 0x10000000); } + /** + * optional .GameAdminChangedMessage gameAdminChangedMessage = 29; + */ public de.pokerth.protocol.ProtoBuf.GameAdminChangedMessage getGameAdminChangedMessage() { return gameAdminChangedMessage_; } + /** + * optional .GameAdminChangedMessage gameAdminChangedMessage = 29; + */ public Builder setGameAdminChangedMessage(de.pokerth.protocol.ProtoBuf.GameAdminChangedMessage value) { if (value == null) { throw new NullPointerException(); } gameAdminChangedMessage_ = value; - + bitField0_ |= 0x10000000; return this; } + /** + * optional .GameAdminChangedMessage gameAdminChangedMessage = 29; + */ public Builder setGameAdminChangedMessage( de.pokerth.protocol.ProtoBuf.GameAdminChangedMessage.Builder builderForValue) { gameAdminChangedMessage_ = builderForValue.build(); - + bitField0_ |= 0x10000000; return this; } + /** + * optional .GameAdminChangedMessage gameAdminChangedMessage = 29; + */ public Builder mergeGameAdminChangedMessage(de.pokerth.protocol.ProtoBuf.GameAdminChangedMessage value) { if (((bitField0_ & 0x10000000) == 0x10000000) && gameAdminChangedMessage_ != de.pokerth.protocol.ProtoBuf.GameAdminChangedMessage.getDefaultInstance()) { @@ -45220,41 +57645,59 @@ public final class ProtoBuf { } else { gameAdminChangedMessage_ = value; } - + bitField0_ |= 0x10000000; return this; } + /** + * optional .GameAdminChangedMessage gameAdminChangedMessage = 29; + */ public Builder clearGameAdminChangedMessage() { gameAdminChangedMessage_ = de.pokerth.protocol.ProtoBuf.GameAdminChangedMessage.getDefaultInstance(); - + bitField0_ = (bitField0_ & ~0x10000000); return this; } - + // optional .RemovedFromGameMessage removedFromGameMessage = 30; private de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage removedFromGameMessage_ = de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage.getDefaultInstance(); + /** + * optional .RemovedFromGameMessage removedFromGameMessage = 30; + */ public boolean hasRemovedFromGameMessage() { return ((bitField0_ & 0x20000000) == 0x20000000); } + /** + * optional .RemovedFromGameMessage removedFromGameMessage = 30; + */ public de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage getRemovedFromGameMessage() { return removedFromGameMessage_; } + /** + * optional .RemovedFromGameMessage removedFromGameMessage = 30; + */ public Builder setRemovedFromGameMessage(de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage value) { if (value == null) { throw new NullPointerException(); } removedFromGameMessage_ = value; - + bitField0_ |= 0x20000000; return this; } + /** + * optional .RemovedFromGameMessage removedFromGameMessage = 30; + */ public Builder setRemovedFromGameMessage( de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage.Builder builderForValue) { removedFromGameMessage_ = builderForValue.build(); - + bitField0_ |= 0x20000000; return this; } + /** + * optional .RemovedFromGameMessage removedFromGameMessage = 30; + */ public Builder mergeRemovedFromGameMessage(de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage value) { if (((bitField0_ & 0x20000000) == 0x20000000) && removedFromGameMessage_ != de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage.getDefaultInstance()) { @@ -45263,41 +57706,59 @@ public final class ProtoBuf { } else { removedFromGameMessage_ = value; } - + bitField0_ |= 0x20000000; return this; } + /** + * optional .RemovedFromGameMessage removedFromGameMessage = 30; + */ public Builder clearRemovedFromGameMessage() { removedFromGameMessage_ = de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage.getDefaultInstance(); - + bitField0_ = (bitField0_ & ~0x20000000); return this; } - + // optional .KickPlayerRequestMessage kickPlayerRequestMessage = 31; private de.pokerth.protocol.ProtoBuf.KickPlayerRequestMessage kickPlayerRequestMessage_ = de.pokerth.protocol.ProtoBuf.KickPlayerRequestMessage.getDefaultInstance(); + /** + * optional .KickPlayerRequestMessage kickPlayerRequestMessage = 31; + */ public boolean hasKickPlayerRequestMessage() { return ((bitField0_ & 0x40000000) == 0x40000000); } + /** + * optional .KickPlayerRequestMessage kickPlayerRequestMessage = 31; + */ public de.pokerth.protocol.ProtoBuf.KickPlayerRequestMessage getKickPlayerRequestMessage() { return kickPlayerRequestMessage_; } + /** + * optional .KickPlayerRequestMessage kickPlayerRequestMessage = 31; + */ public Builder setKickPlayerRequestMessage(de.pokerth.protocol.ProtoBuf.KickPlayerRequestMessage value) { if (value == null) { throw new NullPointerException(); } kickPlayerRequestMessage_ = value; - + bitField0_ |= 0x40000000; return this; } + /** + * optional .KickPlayerRequestMessage kickPlayerRequestMessage = 31; + */ public Builder setKickPlayerRequestMessage( de.pokerth.protocol.ProtoBuf.KickPlayerRequestMessage.Builder builderForValue) { kickPlayerRequestMessage_ = builderForValue.build(); - + bitField0_ |= 0x40000000; return this; } + /** + * optional .KickPlayerRequestMessage kickPlayerRequestMessage = 31; + */ public Builder mergeKickPlayerRequestMessage(de.pokerth.protocol.ProtoBuf.KickPlayerRequestMessage value) { if (((bitField0_ & 0x40000000) == 0x40000000) && kickPlayerRequestMessage_ != de.pokerth.protocol.ProtoBuf.KickPlayerRequestMessage.getDefaultInstance()) { @@ -45306,41 +57767,59 @@ public final class ProtoBuf { } else { kickPlayerRequestMessage_ = value; } - + bitField0_ |= 0x40000000; return this; } + /** + * optional .KickPlayerRequestMessage kickPlayerRequestMessage = 31; + */ public Builder clearKickPlayerRequestMessage() { kickPlayerRequestMessage_ = de.pokerth.protocol.ProtoBuf.KickPlayerRequestMessage.getDefaultInstance(); - + bitField0_ = (bitField0_ & ~0x40000000); return this; } - + // optional .LeaveGameRequestMessage leaveGameRequestMessage = 32; private de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessage leaveGameRequestMessage_ = de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessage.getDefaultInstance(); + /** + * optional .LeaveGameRequestMessage leaveGameRequestMessage = 32; + */ public boolean hasLeaveGameRequestMessage() { return ((bitField0_ & 0x80000000) == 0x80000000); } + /** + * optional .LeaveGameRequestMessage leaveGameRequestMessage = 32; + */ public de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessage getLeaveGameRequestMessage() { return leaveGameRequestMessage_; } + /** + * optional .LeaveGameRequestMessage leaveGameRequestMessage = 32; + */ public Builder setLeaveGameRequestMessage(de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessage value) { if (value == null) { throw new NullPointerException(); } leaveGameRequestMessage_ = value; - + bitField0_ |= 0x80000000; return this; } + /** + * optional .LeaveGameRequestMessage leaveGameRequestMessage = 32; + */ public Builder setLeaveGameRequestMessage( de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessage.Builder builderForValue) { leaveGameRequestMessage_ = builderForValue.build(); - + bitField0_ |= 0x80000000; return this; } + /** + * optional .LeaveGameRequestMessage leaveGameRequestMessage = 32; + */ public Builder mergeLeaveGameRequestMessage(de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessage value) { if (((bitField0_ & 0x80000000) == 0x80000000) && leaveGameRequestMessage_ != de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessage.getDefaultInstance()) { @@ -45349,41 +57828,59 @@ public final class ProtoBuf { } else { leaveGameRequestMessage_ = value; } - + bitField0_ |= 0x80000000; return this; } + /** + * optional .LeaveGameRequestMessage leaveGameRequestMessage = 32; + */ public Builder clearLeaveGameRequestMessage() { leaveGameRequestMessage_ = de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessage.getDefaultInstance(); - + bitField0_ = (bitField0_ & ~0x80000000); return this; } - + // optional .InvitePlayerToGameMessage invitePlayerToGameMessage = 33; private de.pokerth.protocol.ProtoBuf.InvitePlayerToGameMessage invitePlayerToGameMessage_ = de.pokerth.protocol.ProtoBuf.InvitePlayerToGameMessage.getDefaultInstance(); + /** + * optional .InvitePlayerToGameMessage invitePlayerToGameMessage = 33; + */ public boolean hasInvitePlayerToGameMessage() { return ((bitField1_ & 0x00000001) == 0x00000001); } + /** + * optional .InvitePlayerToGameMessage invitePlayerToGameMessage = 33; + */ public de.pokerth.protocol.ProtoBuf.InvitePlayerToGameMessage getInvitePlayerToGameMessage() { return invitePlayerToGameMessage_; } + /** + * optional .InvitePlayerToGameMessage invitePlayerToGameMessage = 33; + */ public Builder setInvitePlayerToGameMessage(de.pokerth.protocol.ProtoBuf.InvitePlayerToGameMessage value) { if (value == null) { throw new NullPointerException(); } invitePlayerToGameMessage_ = value; - + bitField1_ |= 0x00000001; return this; } + /** + * optional .InvitePlayerToGameMessage invitePlayerToGameMessage = 33; + */ public Builder setInvitePlayerToGameMessage( de.pokerth.protocol.ProtoBuf.InvitePlayerToGameMessage.Builder builderForValue) { invitePlayerToGameMessage_ = builderForValue.build(); - + bitField1_ |= 0x00000001; return this; } + /** + * optional .InvitePlayerToGameMessage invitePlayerToGameMessage = 33; + */ public Builder mergeInvitePlayerToGameMessage(de.pokerth.protocol.ProtoBuf.InvitePlayerToGameMessage value) { if (((bitField1_ & 0x00000001) == 0x00000001) && invitePlayerToGameMessage_ != de.pokerth.protocol.ProtoBuf.InvitePlayerToGameMessage.getDefaultInstance()) { @@ -45392,41 +57889,59 @@ public final class ProtoBuf { } else { invitePlayerToGameMessage_ = value; } - + bitField1_ |= 0x00000001; return this; } + /** + * optional .InvitePlayerToGameMessage invitePlayerToGameMessage = 33; + */ public Builder clearInvitePlayerToGameMessage() { invitePlayerToGameMessage_ = de.pokerth.protocol.ProtoBuf.InvitePlayerToGameMessage.getDefaultInstance(); - + bitField1_ = (bitField1_ & ~0x00000001); return this; } - + // optional .InviteNotifyMessage inviteNotifyMessage = 34; private de.pokerth.protocol.ProtoBuf.InviteNotifyMessage inviteNotifyMessage_ = de.pokerth.protocol.ProtoBuf.InviteNotifyMessage.getDefaultInstance(); + /** + * optional .InviteNotifyMessage inviteNotifyMessage = 34; + */ public boolean hasInviteNotifyMessage() { return ((bitField1_ & 0x00000002) == 0x00000002); } + /** + * optional .InviteNotifyMessage inviteNotifyMessage = 34; + */ public de.pokerth.protocol.ProtoBuf.InviteNotifyMessage getInviteNotifyMessage() { return inviteNotifyMessage_; } + /** + * optional .InviteNotifyMessage inviteNotifyMessage = 34; + */ public Builder setInviteNotifyMessage(de.pokerth.protocol.ProtoBuf.InviteNotifyMessage value) { if (value == null) { throw new NullPointerException(); } inviteNotifyMessage_ = value; - + bitField1_ |= 0x00000002; return this; } + /** + * optional .InviteNotifyMessage inviteNotifyMessage = 34; + */ public Builder setInviteNotifyMessage( de.pokerth.protocol.ProtoBuf.InviteNotifyMessage.Builder builderForValue) { inviteNotifyMessage_ = builderForValue.build(); - + bitField1_ |= 0x00000002; return this; } + /** + * optional .InviteNotifyMessage inviteNotifyMessage = 34; + */ public Builder mergeInviteNotifyMessage(de.pokerth.protocol.ProtoBuf.InviteNotifyMessage value) { if (((bitField1_ & 0x00000002) == 0x00000002) && inviteNotifyMessage_ != de.pokerth.protocol.ProtoBuf.InviteNotifyMessage.getDefaultInstance()) { @@ -45435,41 +57950,59 @@ public final class ProtoBuf { } else { inviteNotifyMessage_ = value; } - + bitField1_ |= 0x00000002; return this; } + /** + * optional .InviteNotifyMessage inviteNotifyMessage = 34; + */ public Builder clearInviteNotifyMessage() { inviteNotifyMessage_ = de.pokerth.protocol.ProtoBuf.InviteNotifyMessage.getDefaultInstance(); - + bitField1_ = (bitField1_ & ~0x00000002); return this; } - + // optional .RejectGameInvitationMessage rejectGameInvitationMessage = 35; private de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage rejectGameInvitationMessage_ = de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage.getDefaultInstance(); + /** + * optional .RejectGameInvitationMessage rejectGameInvitationMessage = 35; + */ public boolean hasRejectGameInvitationMessage() { return ((bitField1_ & 0x00000004) == 0x00000004); } + /** + * optional .RejectGameInvitationMessage rejectGameInvitationMessage = 35; + */ public de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage getRejectGameInvitationMessage() { return rejectGameInvitationMessage_; } + /** + * optional .RejectGameInvitationMessage rejectGameInvitationMessage = 35; + */ public Builder setRejectGameInvitationMessage(de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage value) { if (value == null) { throw new NullPointerException(); } rejectGameInvitationMessage_ = value; - + bitField1_ |= 0x00000004; return this; } + /** + * optional .RejectGameInvitationMessage rejectGameInvitationMessage = 35; + */ public Builder setRejectGameInvitationMessage( de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage.Builder builderForValue) { rejectGameInvitationMessage_ = builderForValue.build(); - + bitField1_ |= 0x00000004; return this; } + /** + * optional .RejectGameInvitationMessage rejectGameInvitationMessage = 35; + */ public Builder mergeRejectGameInvitationMessage(de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage value) { if (((bitField1_ & 0x00000004) == 0x00000004) && rejectGameInvitationMessage_ != de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage.getDefaultInstance()) { @@ -45478,41 +58011,59 @@ public final class ProtoBuf { } else { rejectGameInvitationMessage_ = value; } - + bitField1_ |= 0x00000004; return this; } + /** + * optional .RejectGameInvitationMessage rejectGameInvitationMessage = 35; + */ public Builder clearRejectGameInvitationMessage() { rejectGameInvitationMessage_ = de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage.getDefaultInstance(); - + bitField1_ = (bitField1_ & ~0x00000004); return this; } - + // optional .RejectInvNotifyMessage rejectInvNotifyMessage = 36; private de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessage rejectInvNotifyMessage_ = de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessage.getDefaultInstance(); + /** + * optional .RejectInvNotifyMessage rejectInvNotifyMessage = 36; + */ public boolean hasRejectInvNotifyMessage() { return ((bitField1_ & 0x00000008) == 0x00000008); } + /** + * optional .RejectInvNotifyMessage rejectInvNotifyMessage = 36; + */ public de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessage getRejectInvNotifyMessage() { return rejectInvNotifyMessage_; } + /** + * optional .RejectInvNotifyMessage rejectInvNotifyMessage = 36; + */ public Builder setRejectInvNotifyMessage(de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessage value) { if (value == null) { throw new NullPointerException(); } rejectInvNotifyMessage_ = value; - + bitField1_ |= 0x00000008; return this; } + /** + * optional .RejectInvNotifyMessage rejectInvNotifyMessage = 36; + */ public Builder setRejectInvNotifyMessage( de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessage.Builder builderForValue) { rejectInvNotifyMessage_ = builderForValue.build(); - + bitField1_ |= 0x00000008; return this; } + /** + * optional .RejectInvNotifyMessage rejectInvNotifyMessage = 36; + */ public Builder mergeRejectInvNotifyMessage(de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessage value) { if (((bitField1_ & 0x00000008) == 0x00000008) && rejectInvNotifyMessage_ != de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessage.getDefaultInstance()) { @@ -45521,41 +58072,59 @@ public final class ProtoBuf { } else { rejectInvNotifyMessage_ = value; } - + bitField1_ |= 0x00000008; return this; } + /** + * optional .RejectInvNotifyMessage rejectInvNotifyMessage = 36; + */ public Builder clearRejectInvNotifyMessage() { rejectInvNotifyMessage_ = de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessage.getDefaultInstance(); - + bitField1_ = (bitField1_ & ~0x00000008); return this; } - + // optional .StartEventMessage startEventMessage = 37; private de.pokerth.protocol.ProtoBuf.StartEventMessage startEventMessage_ = de.pokerth.protocol.ProtoBuf.StartEventMessage.getDefaultInstance(); + /** + * optional .StartEventMessage startEventMessage = 37; + */ public boolean hasStartEventMessage() { return ((bitField1_ & 0x00000010) == 0x00000010); } + /** + * optional .StartEventMessage startEventMessage = 37; + */ public de.pokerth.protocol.ProtoBuf.StartEventMessage getStartEventMessage() { return startEventMessage_; } + /** + * optional .StartEventMessage startEventMessage = 37; + */ public Builder setStartEventMessage(de.pokerth.protocol.ProtoBuf.StartEventMessage value) { if (value == null) { throw new NullPointerException(); } startEventMessage_ = value; - + bitField1_ |= 0x00000010; return this; } + /** + * optional .StartEventMessage startEventMessage = 37; + */ public Builder setStartEventMessage( de.pokerth.protocol.ProtoBuf.StartEventMessage.Builder builderForValue) { startEventMessage_ = builderForValue.build(); - + bitField1_ |= 0x00000010; return this; } + /** + * optional .StartEventMessage startEventMessage = 37; + */ public Builder mergeStartEventMessage(de.pokerth.protocol.ProtoBuf.StartEventMessage value) { if (((bitField1_ & 0x00000010) == 0x00000010) && startEventMessage_ != de.pokerth.protocol.ProtoBuf.StartEventMessage.getDefaultInstance()) { @@ -45564,41 +58133,59 @@ public final class ProtoBuf { } else { startEventMessage_ = value; } - + bitField1_ |= 0x00000010; return this; } + /** + * optional .StartEventMessage startEventMessage = 37; + */ public Builder clearStartEventMessage() { startEventMessage_ = de.pokerth.protocol.ProtoBuf.StartEventMessage.getDefaultInstance(); - + bitField1_ = (bitField1_ & ~0x00000010); return this; } - + // optional .StartEventAckMessage startEventAckMessage = 38; private de.pokerth.protocol.ProtoBuf.StartEventAckMessage startEventAckMessage_ = de.pokerth.protocol.ProtoBuf.StartEventAckMessage.getDefaultInstance(); + /** + * optional .StartEventAckMessage startEventAckMessage = 38; + */ public boolean hasStartEventAckMessage() { return ((bitField1_ & 0x00000020) == 0x00000020); } + /** + * optional .StartEventAckMessage startEventAckMessage = 38; + */ public de.pokerth.protocol.ProtoBuf.StartEventAckMessage getStartEventAckMessage() { return startEventAckMessage_; } + /** + * optional .StartEventAckMessage startEventAckMessage = 38; + */ public Builder setStartEventAckMessage(de.pokerth.protocol.ProtoBuf.StartEventAckMessage value) { if (value == null) { throw new NullPointerException(); } startEventAckMessage_ = value; - + bitField1_ |= 0x00000020; return this; } + /** + * optional .StartEventAckMessage startEventAckMessage = 38; + */ public Builder setStartEventAckMessage( de.pokerth.protocol.ProtoBuf.StartEventAckMessage.Builder builderForValue) { startEventAckMessage_ = builderForValue.build(); - + bitField1_ |= 0x00000020; return this; } + /** + * optional .StartEventAckMessage startEventAckMessage = 38; + */ public Builder mergeStartEventAckMessage(de.pokerth.protocol.ProtoBuf.StartEventAckMessage value) { if (((bitField1_ & 0x00000020) == 0x00000020) && startEventAckMessage_ != de.pokerth.protocol.ProtoBuf.StartEventAckMessage.getDefaultInstance()) { @@ -45607,41 +58194,59 @@ public final class ProtoBuf { } else { startEventAckMessage_ = value; } - + bitField1_ |= 0x00000020; return this; } + /** + * optional .StartEventAckMessage startEventAckMessage = 38; + */ public Builder clearStartEventAckMessage() { startEventAckMessage_ = de.pokerth.protocol.ProtoBuf.StartEventAckMessage.getDefaultInstance(); - + bitField1_ = (bitField1_ & ~0x00000020); return this; } - + // optional .GameStartInitialMessage gameStartInitialMessage = 39; private de.pokerth.protocol.ProtoBuf.GameStartInitialMessage gameStartInitialMessage_ = de.pokerth.protocol.ProtoBuf.GameStartInitialMessage.getDefaultInstance(); + /** + * optional .GameStartInitialMessage gameStartInitialMessage = 39; + */ public boolean hasGameStartInitialMessage() { return ((bitField1_ & 0x00000040) == 0x00000040); } + /** + * optional .GameStartInitialMessage gameStartInitialMessage = 39; + */ public de.pokerth.protocol.ProtoBuf.GameStartInitialMessage getGameStartInitialMessage() { return gameStartInitialMessage_; } + /** + * optional .GameStartInitialMessage gameStartInitialMessage = 39; + */ public Builder setGameStartInitialMessage(de.pokerth.protocol.ProtoBuf.GameStartInitialMessage value) { if (value == null) { throw new NullPointerException(); } gameStartInitialMessage_ = value; - + bitField1_ |= 0x00000040; return this; } + /** + * optional .GameStartInitialMessage gameStartInitialMessage = 39; + */ public Builder setGameStartInitialMessage( de.pokerth.protocol.ProtoBuf.GameStartInitialMessage.Builder builderForValue) { gameStartInitialMessage_ = builderForValue.build(); - + bitField1_ |= 0x00000040; return this; } + /** + * optional .GameStartInitialMessage gameStartInitialMessage = 39; + */ public Builder mergeGameStartInitialMessage(de.pokerth.protocol.ProtoBuf.GameStartInitialMessage value) { if (((bitField1_ & 0x00000040) == 0x00000040) && gameStartInitialMessage_ != de.pokerth.protocol.ProtoBuf.GameStartInitialMessage.getDefaultInstance()) { @@ -45650,41 +58255,59 @@ public final class ProtoBuf { } else { gameStartInitialMessage_ = value; } - + bitField1_ |= 0x00000040; return this; } + /** + * optional .GameStartInitialMessage gameStartInitialMessage = 39; + */ public Builder clearGameStartInitialMessage() { gameStartInitialMessage_ = de.pokerth.protocol.ProtoBuf.GameStartInitialMessage.getDefaultInstance(); - + bitField1_ = (bitField1_ & ~0x00000040); return this; } - + // optional .GameStartRejoinMessage gameStartRejoinMessage = 40; private de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage gameStartRejoinMessage_ = de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.getDefaultInstance(); + /** + * optional .GameStartRejoinMessage gameStartRejoinMessage = 40; + */ public boolean hasGameStartRejoinMessage() { return ((bitField1_ & 0x00000080) == 0x00000080); } + /** + * optional .GameStartRejoinMessage gameStartRejoinMessage = 40; + */ public de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage getGameStartRejoinMessage() { return gameStartRejoinMessage_; } + /** + * optional .GameStartRejoinMessage gameStartRejoinMessage = 40; + */ public Builder setGameStartRejoinMessage(de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage value) { if (value == null) { throw new NullPointerException(); } gameStartRejoinMessage_ = value; - + bitField1_ |= 0x00000080; return this; } + /** + * optional .GameStartRejoinMessage gameStartRejoinMessage = 40; + */ public Builder setGameStartRejoinMessage( de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.Builder builderForValue) { gameStartRejoinMessage_ = builderForValue.build(); - + bitField1_ |= 0x00000080; return this; } + /** + * optional .GameStartRejoinMessage gameStartRejoinMessage = 40; + */ public Builder mergeGameStartRejoinMessage(de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage value) { if (((bitField1_ & 0x00000080) == 0x00000080) && gameStartRejoinMessage_ != de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.getDefaultInstance()) { @@ -45693,41 +58316,59 @@ public final class ProtoBuf { } else { gameStartRejoinMessage_ = value; } - + bitField1_ |= 0x00000080; return this; } + /** + * optional .GameStartRejoinMessage gameStartRejoinMessage = 40; + */ public Builder clearGameStartRejoinMessage() { gameStartRejoinMessage_ = de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.getDefaultInstance(); - + bitField1_ = (bitField1_ & ~0x00000080); return this; } - + // optional .HandStartMessage handStartMessage = 41; private de.pokerth.protocol.ProtoBuf.HandStartMessage handStartMessage_ = de.pokerth.protocol.ProtoBuf.HandStartMessage.getDefaultInstance(); + /** + * optional .HandStartMessage handStartMessage = 41; + */ public boolean hasHandStartMessage() { return ((bitField1_ & 0x00000100) == 0x00000100); } + /** + * optional .HandStartMessage handStartMessage = 41; + */ public de.pokerth.protocol.ProtoBuf.HandStartMessage getHandStartMessage() { return handStartMessage_; } + /** + * optional .HandStartMessage handStartMessage = 41; + */ public Builder setHandStartMessage(de.pokerth.protocol.ProtoBuf.HandStartMessage value) { if (value == null) { throw new NullPointerException(); } handStartMessage_ = value; - + bitField1_ |= 0x00000100; return this; } + /** + * optional .HandStartMessage handStartMessage = 41; + */ public Builder setHandStartMessage( de.pokerth.protocol.ProtoBuf.HandStartMessage.Builder builderForValue) { handStartMessage_ = builderForValue.build(); - + bitField1_ |= 0x00000100; return this; } + /** + * optional .HandStartMessage handStartMessage = 41; + */ public Builder mergeHandStartMessage(de.pokerth.protocol.ProtoBuf.HandStartMessage value) { if (((bitField1_ & 0x00000100) == 0x00000100) && handStartMessage_ != de.pokerth.protocol.ProtoBuf.HandStartMessage.getDefaultInstance()) { @@ -45736,41 +58377,59 @@ public final class ProtoBuf { } else { handStartMessage_ = value; } - + bitField1_ |= 0x00000100; return this; } + /** + * optional .HandStartMessage handStartMessage = 41; + */ public Builder clearHandStartMessage() { handStartMessage_ = de.pokerth.protocol.ProtoBuf.HandStartMessage.getDefaultInstance(); - + bitField1_ = (bitField1_ & ~0x00000100); return this; } - + // optional .PlayersTurnMessage playersTurnMessage = 42; private de.pokerth.protocol.ProtoBuf.PlayersTurnMessage playersTurnMessage_ = de.pokerth.protocol.ProtoBuf.PlayersTurnMessage.getDefaultInstance(); + /** + * optional .PlayersTurnMessage playersTurnMessage = 42; + */ public boolean hasPlayersTurnMessage() { return ((bitField1_ & 0x00000200) == 0x00000200); } + /** + * optional .PlayersTurnMessage playersTurnMessage = 42; + */ public de.pokerth.protocol.ProtoBuf.PlayersTurnMessage getPlayersTurnMessage() { return playersTurnMessage_; } + /** + * optional .PlayersTurnMessage playersTurnMessage = 42; + */ public Builder setPlayersTurnMessage(de.pokerth.protocol.ProtoBuf.PlayersTurnMessage value) { if (value == null) { throw new NullPointerException(); } playersTurnMessage_ = value; - + bitField1_ |= 0x00000200; return this; } + /** + * optional .PlayersTurnMessage playersTurnMessage = 42; + */ public Builder setPlayersTurnMessage( de.pokerth.protocol.ProtoBuf.PlayersTurnMessage.Builder builderForValue) { playersTurnMessage_ = builderForValue.build(); - + bitField1_ |= 0x00000200; return this; } + /** + * optional .PlayersTurnMessage playersTurnMessage = 42; + */ public Builder mergePlayersTurnMessage(de.pokerth.protocol.ProtoBuf.PlayersTurnMessage value) { if (((bitField1_ & 0x00000200) == 0x00000200) && playersTurnMessage_ != de.pokerth.protocol.ProtoBuf.PlayersTurnMessage.getDefaultInstance()) { @@ -45779,41 +58438,59 @@ public final class ProtoBuf { } else { playersTurnMessage_ = value; } - + bitField1_ |= 0x00000200; return this; } + /** + * optional .PlayersTurnMessage playersTurnMessage = 42; + */ public Builder clearPlayersTurnMessage() { playersTurnMessage_ = de.pokerth.protocol.ProtoBuf.PlayersTurnMessage.getDefaultInstance(); - + bitField1_ = (bitField1_ & ~0x00000200); return this; } - + // optional .MyActionRequestMessage myActionRequestMessage = 43; private de.pokerth.protocol.ProtoBuf.MyActionRequestMessage myActionRequestMessage_ = de.pokerth.protocol.ProtoBuf.MyActionRequestMessage.getDefaultInstance(); + /** + * optional .MyActionRequestMessage myActionRequestMessage = 43; + */ public boolean hasMyActionRequestMessage() { return ((bitField1_ & 0x00000400) == 0x00000400); } + /** + * optional .MyActionRequestMessage myActionRequestMessage = 43; + */ public de.pokerth.protocol.ProtoBuf.MyActionRequestMessage getMyActionRequestMessage() { return myActionRequestMessage_; } + /** + * optional .MyActionRequestMessage myActionRequestMessage = 43; + */ public Builder setMyActionRequestMessage(de.pokerth.protocol.ProtoBuf.MyActionRequestMessage value) { if (value == null) { throw new NullPointerException(); } myActionRequestMessage_ = value; - + bitField1_ |= 0x00000400; return this; } + /** + * optional .MyActionRequestMessage myActionRequestMessage = 43; + */ public Builder setMyActionRequestMessage( de.pokerth.protocol.ProtoBuf.MyActionRequestMessage.Builder builderForValue) { myActionRequestMessage_ = builderForValue.build(); - + bitField1_ |= 0x00000400; return this; } + /** + * optional .MyActionRequestMessage myActionRequestMessage = 43; + */ public Builder mergeMyActionRequestMessage(de.pokerth.protocol.ProtoBuf.MyActionRequestMessage value) { if (((bitField1_ & 0x00000400) == 0x00000400) && myActionRequestMessage_ != de.pokerth.protocol.ProtoBuf.MyActionRequestMessage.getDefaultInstance()) { @@ -45822,41 +58499,59 @@ public final class ProtoBuf { } else { myActionRequestMessage_ = value; } - + bitField1_ |= 0x00000400; return this; } + /** + * optional .MyActionRequestMessage myActionRequestMessage = 43; + */ public Builder clearMyActionRequestMessage() { myActionRequestMessage_ = de.pokerth.protocol.ProtoBuf.MyActionRequestMessage.getDefaultInstance(); - + bitField1_ = (bitField1_ & ~0x00000400); return this; } - + // optional .YourActionRejectedMessage yourActionRejectedMessage = 44; private de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage yourActionRejectedMessage_ = de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage.getDefaultInstance(); + /** + * optional .YourActionRejectedMessage yourActionRejectedMessage = 44; + */ public boolean hasYourActionRejectedMessage() { return ((bitField1_ & 0x00000800) == 0x00000800); } + /** + * optional .YourActionRejectedMessage yourActionRejectedMessage = 44; + */ public de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage getYourActionRejectedMessage() { return yourActionRejectedMessage_; } + /** + * optional .YourActionRejectedMessage yourActionRejectedMessage = 44; + */ public Builder setYourActionRejectedMessage(de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage value) { if (value == null) { throw new NullPointerException(); } yourActionRejectedMessage_ = value; - + bitField1_ |= 0x00000800; return this; } + /** + * optional .YourActionRejectedMessage yourActionRejectedMessage = 44; + */ public Builder setYourActionRejectedMessage( de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage.Builder builderForValue) { yourActionRejectedMessage_ = builderForValue.build(); - + bitField1_ |= 0x00000800; return this; } + /** + * optional .YourActionRejectedMessage yourActionRejectedMessage = 44; + */ public Builder mergeYourActionRejectedMessage(de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage value) { if (((bitField1_ & 0x00000800) == 0x00000800) && yourActionRejectedMessage_ != de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage.getDefaultInstance()) { @@ -45865,41 +58560,59 @@ public final class ProtoBuf { } else { yourActionRejectedMessage_ = value; } - + bitField1_ |= 0x00000800; return this; } + /** + * optional .YourActionRejectedMessage yourActionRejectedMessage = 44; + */ public Builder clearYourActionRejectedMessage() { yourActionRejectedMessage_ = de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage.getDefaultInstance(); - + bitField1_ = (bitField1_ & ~0x00000800); return this; } - + // optional .PlayersActionDoneMessage playersActionDoneMessage = 45; private de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessage playersActionDoneMessage_ = de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessage.getDefaultInstance(); + /** + * optional .PlayersActionDoneMessage playersActionDoneMessage = 45; + */ public boolean hasPlayersActionDoneMessage() { return ((bitField1_ & 0x00001000) == 0x00001000); } + /** + * optional .PlayersActionDoneMessage playersActionDoneMessage = 45; + */ public de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessage getPlayersActionDoneMessage() { return playersActionDoneMessage_; } + /** + * optional .PlayersActionDoneMessage playersActionDoneMessage = 45; + */ public Builder setPlayersActionDoneMessage(de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessage value) { if (value == null) { throw new NullPointerException(); } playersActionDoneMessage_ = value; - + bitField1_ |= 0x00001000; return this; } + /** + * optional .PlayersActionDoneMessage playersActionDoneMessage = 45; + */ public Builder setPlayersActionDoneMessage( de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessage.Builder builderForValue) { playersActionDoneMessage_ = builderForValue.build(); - + bitField1_ |= 0x00001000; return this; } + /** + * optional .PlayersActionDoneMessage playersActionDoneMessage = 45; + */ public Builder mergePlayersActionDoneMessage(de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessage value) { if (((bitField1_ & 0x00001000) == 0x00001000) && playersActionDoneMessage_ != de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessage.getDefaultInstance()) { @@ -45908,41 +58621,59 @@ public final class ProtoBuf { } else { playersActionDoneMessage_ = value; } - + bitField1_ |= 0x00001000; return this; } + /** + * optional .PlayersActionDoneMessage playersActionDoneMessage = 45; + */ public Builder clearPlayersActionDoneMessage() { playersActionDoneMessage_ = de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessage.getDefaultInstance(); - + bitField1_ = (bitField1_ & ~0x00001000); return this; } - + // optional .DealFlopCardsMessage dealFlopCardsMessage = 46; private de.pokerth.protocol.ProtoBuf.DealFlopCardsMessage dealFlopCardsMessage_ = de.pokerth.protocol.ProtoBuf.DealFlopCardsMessage.getDefaultInstance(); + /** + * optional .DealFlopCardsMessage dealFlopCardsMessage = 46; + */ public boolean hasDealFlopCardsMessage() { return ((bitField1_ & 0x00002000) == 0x00002000); } + /** + * optional .DealFlopCardsMessage dealFlopCardsMessage = 46; + */ public de.pokerth.protocol.ProtoBuf.DealFlopCardsMessage getDealFlopCardsMessage() { return dealFlopCardsMessage_; } + /** + * optional .DealFlopCardsMessage dealFlopCardsMessage = 46; + */ public Builder setDealFlopCardsMessage(de.pokerth.protocol.ProtoBuf.DealFlopCardsMessage value) { if (value == null) { throw new NullPointerException(); } dealFlopCardsMessage_ = value; - + bitField1_ |= 0x00002000; return this; } + /** + * optional .DealFlopCardsMessage dealFlopCardsMessage = 46; + */ public Builder setDealFlopCardsMessage( de.pokerth.protocol.ProtoBuf.DealFlopCardsMessage.Builder builderForValue) { dealFlopCardsMessage_ = builderForValue.build(); - + bitField1_ |= 0x00002000; return this; } + /** + * optional .DealFlopCardsMessage dealFlopCardsMessage = 46; + */ public Builder mergeDealFlopCardsMessage(de.pokerth.protocol.ProtoBuf.DealFlopCardsMessage value) { if (((bitField1_ & 0x00002000) == 0x00002000) && dealFlopCardsMessage_ != de.pokerth.protocol.ProtoBuf.DealFlopCardsMessage.getDefaultInstance()) { @@ -45951,41 +58682,59 @@ public final class ProtoBuf { } else { dealFlopCardsMessage_ = value; } - + bitField1_ |= 0x00002000; return this; } + /** + * optional .DealFlopCardsMessage dealFlopCardsMessage = 46; + */ public Builder clearDealFlopCardsMessage() { dealFlopCardsMessage_ = de.pokerth.protocol.ProtoBuf.DealFlopCardsMessage.getDefaultInstance(); - + bitField1_ = (bitField1_ & ~0x00002000); return this; } - + // optional .DealTurnCardMessage dealTurnCardMessage = 47; private de.pokerth.protocol.ProtoBuf.DealTurnCardMessage dealTurnCardMessage_ = de.pokerth.protocol.ProtoBuf.DealTurnCardMessage.getDefaultInstance(); + /** + * optional .DealTurnCardMessage dealTurnCardMessage = 47; + */ public boolean hasDealTurnCardMessage() { return ((bitField1_ & 0x00004000) == 0x00004000); } + /** + * optional .DealTurnCardMessage dealTurnCardMessage = 47; + */ public de.pokerth.protocol.ProtoBuf.DealTurnCardMessage getDealTurnCardMessage() { return dealTurnCardMessage_; } + /** + * optional .DealTurnCardMessage dealTurnCardMessage = 47; + */ public Builder setDealTurnCardMessage(de.pokerth.protocol.ProtoBuf.DealTurnCardMessage value) { if (value == null) { throw new NullPointerException(); } dealTurnCardMessage_ = value; - + bitField1_ |= 0x00004000; return this; } + /** + * optional .DealTurnCardMessage dealTurnCardMessage = 47; + */ public Builder setDealTurnCardMessage( de.pokerth.protocol.ProtoBuf.DealTurnCardMessage.Builder builderForValue) { dealTurnCardMessage_ = builderForValue.build(); - + bitField1_ |= 0x00004000; return this; } + /** + * optional .DealTurnCardMessage dealTurnCardMessage = 47; + */ public Builder mergeDealTurnCardMessage(de.pokerth.protocol.ProtoBuf.DealTurnCardMessage value) { if (((bitField1_ & 0x00004000) == 0x00004000) && dealTurnCardMessage_ != de.pokerth.protocol.ProtoBuf.DealTurnCardMessage.getDefaultInstance()) { @@ -45994,41 +58743,59 @@ public final class ProtoBuf { } else { dealTurnCardMessage_ = value; } - + bitField1_ |= 0x00004000; return this; } + /** + * optional .DealTurnCardMessage dealTurnCardMessage = 47; + */ public Builder clearDealTurnCardMessage() { dealTurnCardMessage_ = de.pokerth.protocol.ProtoBuf.DealTurnCardMessage.getDefaultInstance(); - + bitField1_ = (bitField1_ & ~0x00004000); return this; } - + // optional .DealRiverCardMessage dealRiverCardMessage = 48; private de.pokerth.protocol.ProtoBuf.DealRiverCardMessage dealRiverCardMessage_ = de.pokerth.protocol.ProtoBuf.DealRiverCardMessage.getDefaultInstance(); + /** + * optional .DealRiverCardMessage dealRiverCardMessage = 48; + */ public boolean hasDealRiverCardMessage() { return ((bitField1_ & 0x00008000) == 0x00008000); } + /** + * optional .DealRiverCardMessage dealRiverCardMessage = 48; + */ public de.pokerth.protocol.ProtoBuf.DealRiverCardMessage getDealRiverCardMessage() { return dealRiverCardMessage_; } + /** + * optional .DealRiverCardMessage dealRiverCardMessage = 48; + */ public Builder setDealRiverCardMessage(de.pokerth.protocol.ProtoBuf.DealRiverCardMessage value) { if (value == null) { throw new NullPointerException(); } dealRiverCardMessage_ = value; - + bitField1_ |= 0x00008000; return this; } + /** + * optional .DealRiverCardMessage dealRiverCardMessage = 48; + */ public Builder setDealRiverCardMessage( de.pokerth.protocol.ProtoBuf.DealRiverCardMessage.Builder builderForValue) { dealRiverCardMessage_ = builderForValue.build(); - + bitField1_ |= 0x00008000; return this; } + /** + * optional .DealRiverCardMessage dealRiverCardMessage = 48; + */ public Builder mergeDealRiverCardMessage(de.pokerth.protocol.ProtoBuf.DealRiverCardMessage value) { if (((bitField1_ & 0x00008000) == 0x00008000) && dealRiverCardMessage_ != de.pokerth.protocol.ProtoBuf.DealRiverCardMessage.getDefaultInstance()) { @@ -46037,41 +58804,59 @@ public final class ProtoBuf { } else { dealRiverCardMessage_ = value; } - + bitField1_ |= 0x00008000; return this; } + /** + * optional .DealRiverCardMessage dealRiverCardMessage = 48; + */ public Builder clearDealRiverCardMessage() { dealRiverCardMessage_ = de.pokerth.protocol.ProtoBuf.DealRiverCardMessage.getDefaultInstance(); - + bitField1_ = (bitField1_ & ~0x00008000); return this; } - + // optional .AllInShowCardsMessage allInShowCardsMessage = 49; private de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage allInShowCardsMessage_ = de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.getDefaultInstance(); + /** + * optional .AllInShowCardsMessage allInShowCardsMessage = 49; + */ public boolean hasAllInShowCardsMessage() { return ((bitField1_ & 0x00010000) == 0x00010000); } + /** + * optional .AllInShowCardsMessage allInShowCardsMessage = 49; + */ public de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage getAllInShowCardsMessage() { return allInShowCardsMessage_; } + /** + * optional .AllInShowCardsMessage allInShowCardsMessage = 49; + */ public Builder setAllInShowCardsMessage(de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage value) { if (value == null) { throw new NullPointerException(); } allInShowCardsMessage_ = value; - + bitField1_ |= 0x00010000; return this; } + /** + * optional .AllInShowCardsMessage allInShowCardsMessage = 49; + */ public Builder setAllInShowCardsMessage( de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.Builder builderForValue) { allInShowCardsMessage_ = builderForValue.build(); - + bitField1_ |= 0x00010000; return this; } + /** + * optional .AllInShowCardsMessage allInShowCardsMessage = 49; + */ public Builder mergeAllInShowCardsMessage(de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage value) { if (((bitField1_ & 0x00010000) == 0x00010000) && allInShowCardsMessage_ != de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.getDefaultInstance()) { @@ -46080,41 +58865,59 @@ public final class ProtoBuf { } else { allInShowCardsMessage_ = value; } - + bitField1_ |= 0x00010000; return this; } + /** + * optional .AllInShowCardsMessage allInShowCardsMessage = 49; + */ public Builder clearAllInShowCardsMessage() { allInShowCardsMessage_ = de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.getDefaultInstance(); - + bitField1_ = (bitField1_ & ~0x00010000); return this; } - + // optional .EndOfHandShowCardsMessage endOfHandShowCardsMessage = 50; private de.pokerth.protocol.ProtoBuf.EndOfHandShowCardsMessage endOfHandShowCardsMessage_ = de.pokerth.protocol.ProtoBuf.EndOfHandShowCardsMessage.getDefaultInstance(); + /** + * optional .EndOfHandShowCardsMessage endOfHandShowCardsMessage = 50; + */ public boolean hasEndOfHandShowCardsMessage() { return ((bitField1_ & 0x00020000) == 0x00020000); } + /** + * optional .EndOfHandShowCardsMessage endOfHandShowCardsMessage = 50; + */ public de.pokerth.protocol.ProtoBuf.EndOfHandShowCardsMessage getEndOfHandShowCardsMessage() { return endOfHandShowCardsMessage_; } + /** + * optional .EndOfHandShowCardsMessage endOfHandShowCardsMessage = 50; + */ public Builder setEndOfHandShowCardsMessage(de.pokerth.protocol.ProtoBuf.EndOfHandShowCardsMessage value) { if (value == null) { throw new NullPointerException(); } endOfHandShowCardsMessage_ = value; - + bitField1_ |= 0x00020000; return this; } + /** + * optional .EndOfHandShowCardsMessage endOfHandShowCardsMessage = 50; + */ public Builder setEndOfHandShowCardsMessage( de.pokerth.protocol.ProtoBuf.EndOfHandShowCardsMessage.Builder builderForValue) { endOfHandShowCardsMessage_ = builderForValue.build(); - + bitField1_ |= 0x00020000; return this; } + /** + * optional .EndOfHandShowCardsMessage endOfHandShowCardsMessage = 50; + */ public Builder mergeEndOfHandShowCardsMessage(de.pokerth.protocol.ProtoBuf.EndOfHandShowCardsMessage value) { if (((bitField1_ & 0x00020000) == 0x00020000) && endOfHandShowCardsMessage_ != de.pokerth.protocol.ProtoBuf.EndOfHandShowCardsMessage.getDefaultInstance()) { @@ -46123,41 +58926,59 @@ public final class ProtoBuf { } else { endOfHandShowCardsMessage_ = value; } - + bitField1_ |= 0x00020000; return this; } + /** + * optional .EndOfHandShowCardsMessage endOfHandShowCardsMessage = 50; + */ public Builder clearEndOfHandShowCardsMessage() { endOfHandShowCardsMessage_ = de.pokerth.protocol.ProtoBuf.EndOfHandShowCardsMessage.getDefaultInstance(); - + bitField1_ = (bitField1_ & ~0x00020000); return this; } - + // optional .EndOfHandHideCardsMessage endOfHandHideCardsMessage = 51; private de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessage endOfHandHideCardsMessage_ = de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessage.getDefaultInstance(); + /** + * optional .EndOfHandHideCardsMessage endOfHandHideCardsMessage = 51; + */ public boolean hasEndOfHandHideCardsMessage() { return ((bitField1_ & 0x00040000) == 0x00040000); } + /** + * optional .EndOfHandHideCardsMessage endOfHandHideCardsMessage = 51; + */ public de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessage getEndOfHandHideCardsMessage() { return endOfHandHideCardsMessage_; } + /** + * optional .EndOfHandHideCardsMessage endOfHandHideCardsMessage = 51; + */ public Builder setEndOfHandHideCardsMessage(de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessage value) { if (value == null) { throw new NullPointerException(); } endOfHandHideCardsMessage_ = value; - + bitField1_ |= 0x00040000; return this; } + /** + * optional .EndOfHandHideCardsMessage endOfHandHideCardsMessage = 51; + */ public Builder setEndOfHandHideCardsMessage( de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessage.Builder builderForValue) { endOfHandHideCardsMessage_ = builderForValue.build(); - + bitField1_ |= 0x00040000; return this; } + /** + * optional .EndOfHandHideCardsMessage endOfHandHideCardsMessage = 51; + */ public Builder mergeEndOfHandHideCardsMessage(de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessage value) { if (((bitField1_ & 0x00040000) == 0x00040000) && endOfHandHideCardsMessage_ != de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessage.getDefaultInstance()) { @@ -46166,41 +58987,59 @@ public final class ProtoBuf { } else { endOfHandHideCardsMessage_ = value; } - + bitField1_ |= 0x00040000; return this; } + /** + * optional .EndOfHandHideCardsMessage endOfHandHideCardsMessage = 51; + */ public Builder clearEndOfHandHideCardsMessage() { endOfHandHideCardsMessage_ = de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessage.getDefaultInstance(); - + bitField1_ = (bitField1_ & ~0x00040000); return this; } - + // optional .ShowMyCardsRequestMessage showMyCardsRequestMessage = 52; private de.pokerth.protocol.ProtoBuf.ShowMyCardsRequestMessage showMyCardsRequestMessage_ = de.pokerth.protocol.ProtoBuf.ShowMyCardsRequestMessage.getDefaultInstance(); + /** + * optional .ShowMyCardsRequestMessage showMyCardsRequestMessage = 52; + */ public boolean hasShowMyCardsRequestMessage() { return ((bitField1_ & 0x00080000) == 0x00080000); } + /** + * optional .ShowMyCardsRequestMessage showMyCardsRequestMessage = 52; + */ public de.pokerth.protocol.ProtoBuf.ShowMyCardsRequestMessage getShowMyCardsRequestMessage() { return showMyCardsRequestMessage_; } + /** + * optional .ShowMyCardsRequestMessage showMyCardsRequestMessage = 52; + */ public Builder setShowMyCardsRequestMessage(de.pokerth.protocol.ProtoBuf.ShowMyCardsRequestMessage value) { if (value == null) { throw new NullPointerException(); } showMyCardsRequestMessage_ = value; - + bitField1_ |= 0x00080000; return this; } + /** + * optional .ShowMyCardsRequestMessage showMyCardsRequestMessage = 52; + */ public Builder setShowMyCardsRequestMessage( de.pokerth.protocol.ProtoBuf.ShowMyCardsRequestMessage.Builder builderForValue) { showMyCardsRequestMessage_ = builderForValue.build(); - + bitField1_ |= 0x00080000; return this; } + /** + * optional .ShowMyCardsRequestMessage showMyCardsRequestMessage = 52; + */ public Builder mergeShowMyCardsRequestMessage(de.pokerth.protocol.ProtoBuf.ShowMyCardsRequestMessage value) { if (((bitField1_ & 0x00080000) == 0x00080000) && showMyCardsRequestMessage_ != de.pokerth.protocol.ProtoBuf.ShowMyCardsRequestMessage.getDefaultInstance()) { @@ -46209,41 +59048,59 @@ public final class ProtoBuf { } else { showMyCardsRequestMessage_ = value; } - + bitField1_ |= 0x00080000; return this; } + /** + * optional .ShowMyCardsRequestMessage showMyCardsRequestMessage = 52; + */ public Builder clearShowMyCardsRequestMessage() { showMyCardsRequestMessage_ = de.pokerth.protocol.ProtoBuf.ShowMyCardsRequestMessage.getDefaultInstance(); - + bitField1_ = (bitField1_ & ~0x00080000); return this; } - + // optional .AfterHandShowCardsMessage afterHandShowCardsMessage = 53; private de.pokerth.protocol.ProtoBuf.AfterHandShowCardsMessage afterHandShowCardsMessage_ = de.pokerth.protocol.ProtoBuf.AfterHandShowCardsMessage.getDefaultInstance(); + /** + * optional .AfterHandShowCardsMessage afterHandShowCardsMessage = 53; + */ public boolean hasAfterHandShowCardsMessage() { return ((bitField1_ & 0x00100000) == 0x00100000); } + /** + * optional .AfterHandShowCardsMessage afterHandShowCardsMessage = 53; + */ public de.pokerth.protocol.ProtoBuf.AfterHandShowCardsMessage getAfterHandShowCardsMessage() { return afterHandShowCardsMessage_; } + /** + * optional .AfterHandShowCardsMessage afterHandShowCardsMessage = 53; + */ public Builder setAfterHandShowCardsMessage(de.pokerth.protocol.ProtoBuf.AfterHandShowCardsMessage value) { if (value == null) { throw new NullPointerException(); } afterHandShowCardsMessage_ = value; - + bitField1_ |= 0x00100000; return this; } + /** + * optional .AfterHandShowCardsMessage afterHandShowCardsMessage = 53; + */ public Builder setAfterHandShowCardsMessage( de.pokerth.protocol.ProtoBuf.AfterHandShowCardsMessage.Builder builderForValue) { afterHandShowCardsMessage_ = builderForValue.build(); - + bitField1_ |= 0x00100000; return this; } + /** + * optional .AfterHandShowCardsMessage afterHandShowCardsMessage = 53; + */ public Builder mergeAfterHandShowCardsMessage(de.pokerth.protocol.ProtoBuf.AfterHandShowCardsMessage value) { if (((bitField1_ & 0x00100000) == 0x00100000) && afterHandShowCardsMessage_ != de.pokerth.protocol.ProtoBuf.AfterHandShowCardsMessage.getDefaultInstance()) { @@ -46252,41 +59109,59 @@ public final class ProtoBuf { } else { afterHandShowCardsMessage_ = value; } - + bitField1_ |= 0x00100000; return this; } + /** + * optional .AfterHandShowCardsMessage afterHandShowCardsMessage = 53; + */ public Builder clearAfterHandShowCardsMessage() { afterHandShowCardsMessage_ = de.pokerth.protocol.ProtoBuf.AfterHandShowCardsMessage.getDefaultInstance(); - + bitField1_ = (bitField1_ & ~0x00100000); return this; } - + // optional .EndOfGameMessage endOfGameMessage = 54; private de.pokerth.protocol.ProtoBuf.EndOfGameMessage endOfGameMessage_ = de.pokerth.protocol.ProtoBuf.EndOfGameMessage.getDefaultInstance(); + /** + * optional .EndOfGameMessage endOfGameMessage = 54; + */ public boolean hasEndOfGameMessage() { return ((bitField1_ & 0x00200000) == 0x00200000); } + /** + * optional .EndOfGameMessage endOfGameMessage = 54; + */ public de.pokerth.protocol.ProtoBuf.EndOfGameMessage getEndOfGameMessage() { return endOfGameMessage_; } + /** + * optional .EndOfGameMessage endOfGameMessage = 54; + */ public Builder setEndOfGameMessage(de.pokerth.protocol.ProtoBuf.EndOfGameMessage value) { if (value == null) { throw new NullPointerException(); } endOfGameMessage_ = value; - + bitField1_ |= 0x00200000; return this; } + /** + * optional .EndOfGameMessage endOfGameMessage = 54; + */ public Builder setEndOfGameMessage( de.pokerth.protocol.ProtoBuf.EndOfGameMessage.Builder builderForValue) { endOfGameMessage_ = builderForValue.build(); - + bitField1_ |= 0x00200000; return this; } + /** + * optional .EndOfGameMessage endOfGameMessage = 54; + */ public Builder mergeEndOfGameMessage(de.pokerth.protocol.ProtoBuf.EndOfGameMessage value) { if (((bitField1_ & 0x00200000) == 0x00200000) && endOfGameMessage_ != de.pokerth.protocol.ProtoBuf.EndOfGameMessage.getDefaultInstance()) { @@ -46295,41 +59170,59 @@ public final class ProtoBuf { } else { endOfGameMessage_ = value; } - + bitField1_ |= 0x00200000; return this; } + /** + * optional .EndOfGameMessage endOfGameMessage = 54; + */ public Builder clearEndOfGameMessage() { endOfGameMessage_ = de.pokerth.protocol.ProtoBuf.EndOfGameMessage.getDefaultInstance(); - + bitField1_ = (bitField1_ & ~0x00200000); return this; } - + // optional .PlayerIdChangedMessage playerIdChangedMessage = 55; private de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessage playerIdChangedMessage_ = de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessage.getDefaultInstance(); + /** + * optional .PlayerIdChangedMessage playerIdChangedMessage = 55; + */ public boolean hasPlayerIdChangedMessage() { return ((bitField1_ & 0x00400000) == 0x00400000); } + /** + * optional .PlayerIdChangedMessage playerIdChangedMessage = 55; + */ public de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessage getPlayerIdChangedMessage() { return playerIdChangedMessage_; } + /** + * optional .PlayerIdChangedMessage playerIdChangedMessage = 55; + */ public Builder setPlayerIdChangedMessage(de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessage value) { if (value == null) { throw new NullPointerException(); } playerIdChangedMessage_ = value; - + bitField1_ |= 0x00400000; return this; } + /** + * optional .PlayerIdChangedMessage playerIdChangedMessage = 55; + */ public Builder setPlayerIdChangedMessage( de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessage.Builder builderForValue) { playerIdChangedMessage_ = builderForValue.build(); - + bitField1_ |= 0x00400000; return this; } + /** + * optional .PlayerIdChangedMessage playerIdChangedMessage = 55; + */ public Builder mergePlayerIdChangedMessage(de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessage value) { if (((bitField1_ & 0x00400000) == 0x00400000) && playerIdChangedMessage_ != de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessage.getDefaultInstance()) { @@ -46338,41 +59231,59 @@ public final class ProtoBuf { } else { playerIdChangedMessage_ = value; } - + bitField1_ |= 0x00400000; return this; } + /** + * optional .PlayerIdChangedMessage playerIdChangedMessage = 55; + */ public Builder clearPlayerIdChangedMessage() { playerIdChangedMessage_ = de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessage.getDefaultInstance(); - + bitField1_ = (bitField1_ & ~0x00400000); return this; } - + // optional .AskKickPlayerMessage askKickPlayerMessage = 56; private de.pokerth.protocol.ProtoBuf.AskKickPlayerMessage askKickPlayerMessage_ = de.pokerth.protocol.ProtoBuf.AskKickPlayerMessage.getDefaultInstance(); + /** + * optional .AskKickPlayerMessage askKickPlayerMessage = 56; + */ public boolean hasAskKickPlayerMessage() { return ((bitField1_ & 0x00800000) == 0x00800000); } + /** + * optional .AskKickPlayerMessage askKickPlayerMessage = 56; + */ public de.pokerth.protocol.ProtoBuf.AskKickPlayerMessage getAskKickPlayerMessage() { return askKickPlayerMessage_; } + /** + * optional .AskKickPlayerMessage askKickPlayerMessage = 56; + */ public Builder setAskKickPlayerMessage(de.pokerth.protocol.ProtoBuf.AskKickPlayerMessage value) { if (value == null) { throw new NullPointerException(); } askKickPlayerMessage_ = value; - + bitField1_ |= 0x00800000; return this; } + /** + * optional .AskKickPlayerMessage askKickPlayerMessage = 56; + */ public Builder setAskKickPlayerMessage( de.pokerth.protocol.ProtoBuf.AskKickPlayerMessage.Builder builderForValue) { askKickPlayerMessage_ = builderForValue.build(); - + bitField1_ |= 0x00800000; return this; } + /** + * optional .AskKickPlayerMessage askKickPlayerMessage = 56; + */ public Builder mergeAskKickPlayerMessage(de.pokerth.protocol.ProtoBuf.AskKickPlayerMessage value) { if (((bitField1_ & 0x00800000) == 0x00800000) && askKickPlayerMessage_ != de.pokerth.protocol.ProtoBuf.AskKickPlayerMessage.getDefaultInstance()) { @@ -46381,41 +59292,59 @@ public final class ProtoBuf { } else { askKickPlayerMessage_ = value; } - + bitField1_ |= 0x00800000; return this; } + /** + * optional .AskKickPlayerMessage askKickPlayerMessage = 56; + */ public Builder clearAskKickPlayerMessage() { askKickPlayerMessage_ = de.pokerth.protocol.ProtoBuf.AskKickPlayerMessage.getDefaultInstance(); - + bitField1_ = (bitField1_ & ~0x00800000); return this; } - + // optional .AskKickDeniedMessage askKickDeniedMessage = 57; private de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage askKickDeniedMessage_ = de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage.getDefaultInstance(); + /** + * optional .AskKickDeniedMessage askKickDeniedMessage = 57; + */ public boolean hasAskKickDeniedMessage() { return ((bitField1_ & 0x01000000) == 0x01000000); } + /** + * optional .AskKickDeniedMessage askKickDeniedMessage = 57; + */ public de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage getAskKickDeniedMessage() { return askKickDeniedMessage_; } + /** + * optional .AskKickDeniedMessage askKickDeniedMessage = 57; + */ public Builder setAskKickDeniedMessage(de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage value) { if (value == null) { throw new NullPointerException(); } askKickDeniedMessage_ = value; - + bitField1_ |= 0x01000000; return this; } + /** + * optional .AskKickDeniedMessage askKickDeniedMessage = 57; + */ public Builder setAskKickDeniedMessage( de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage.Builder builderForValue) { askKickDeniedMessage_ = builderForValue.build(); - + bitField1_ |= 0x01000000; return this; } + /** + * optional .AskKickDeniedMessage askKickDeniedMessage = 57; + */ public Builder mergeAskKickDeniedMessage(de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage value) { if (((bitField1_ & 0x01000000) == 0x01000000) && askKickDeniedMessage_ != de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage.getDefaultInstance()) { @@ -46424,41 +59353,59 @@ public final class ProtoBuf { } else { askKickDeniedMessage_ = value; } - + bitField1_ |= 0x01000000; return this; } + /** + * optional .AskKickDeniedMessage askKickDeniedMessage = 57; + */ public Builder clearAskKickDeniedMessage() { askKickDeniedMessage_ = de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage.getDefaultInstance(); - + bitField1_ = (bitField1_ & ~0x01000000); return this; } - + // optional .StartKickPetitionMessage startKickPetitionMessage = 58; private de.pokerth.protocol.ProtoBuf.StartKickPetitionMessage startKickPetitionMessage_ = de.pokerth.protocol.ProtoBuf.StartKickPetitionMessage.getDefaultInstance(); + /** + * optional .StartKickPetitionMessage startKickPetitionMessage = 58; + */ public boolean hasStartKickPetitionMessage() { return ((bitField1_ & 0x02000000) == 0x02000000); } + /** + * optional .StartKickPetitionMessage startKickPetitionMessage = 58; + */ public de.pokerth.protocol.ProtoBuf.StartKickPetitionMessage getStartKickPetitionMessage() { return startKickPetitionMessage_; } + /** + * optional .StartKickPetitionMessage startKickPetitionMessage = 58; + */ public Builder setStartKickPetitionMessage(de.pokerth.protocol.ProtoBuf.StartKickPetitionMessage value) { if (value == null) { throw new NullPointerException(); } startKickPetitionMessage_ = value; - + bitField1_ |= 0x02000000; return this; } + /** + * optional .StartKickPetitionMessage startKickPetitionMessage = 58; + */ public Builder setStartKickPetitionMessage( de.pokerth.protocol.ProtoBuf.StartKickPetitionMessage.Builder builderForValue) { startKickPetitionMessage_ = builderForValue.build(); - + bitField1_ |= 0x02000000; return this; } + /** + * optional .StartKickPetitionMessage startKickPetitionMessage = 58; + */ public Builder mergeStartKickPetitionMessage(de.pokerth.protocol.ProtoBuf.StartKickPetitionMessage value) { if (((bitField1_ & 0x02000000) == 0x02000000) && startKickPetitionMessage_ != de.pokerth.protocol.ProtoBuf.StartKickPetitionMessage.getDefaultInstance()) { @@ -46467,41 +59414,59 @@ public final class ProtoBuf { } else { startKickPetitionMessage_ = value; } - + bitField1_ |= 0x02000000; return this; } + /** + * optional .StartKickPetitionMessage startKickPetitionMessage = 58; + */ public Builder clearStartKickPetitionMessage() { startKickPetitionMessage_ = de.pokerth.protocol.ProtoBuf.StartKickPetitionMessage.getDefaultInstance(); - + bitField1_ = (bitField1_ & ~0x02000000); return this; } - + // optional .VoteKickRequestMessage voteKickRequestMessage = 59; private de.pokerth.protocol.ProtoBuf.VoteKickRequestMessage voteKickRequestMessage_ = de.pokerth.protocol.ProtoBuf.VoteKickRequestMessage.getDefaultInstance(); + /** + * optional .VoteKickRequestMessage voteKickRequestMessage = 59; + */ public boolean hasVoteKickRequestMessage() { return ((bitField1_ & 0x04000000) == 0x04000000); } + /** + * optional .VoteKickRequestMessage voteKickRequestMessage = 59; + */ public de.pokerth.protocol.ProtoBuf.VoteKickRequestMessage getVoteKickRequestMessage() { return voteKickRequestMessage_; } + /** + * optional .VoteKickRequestMessage voteKickRequestMessage = 59; + */ public Builder setVoteKickRequestMessage(de.pokerth.protocol.ProtoBuf.VoteKickRequestMessage value) { if (value == null) { throw new NullPointerException(); } voteKickRequestMessage_ = value; - + bitField1_ |= 0x04000000; return this; } + /** + * optional .VoteKickRequestMessage voteKickRequestMessage = 59; + */ public Builder setVoteKickRequestMessage( de.pokerth.protocol.ProtoBuf.VoteKickRequestMessage.Builder builderForValue) { voteKickRequestMessage_ = builderForValue.build(); - + bitField1_ |= 0x04000000; return this; } + /** + * optional .VoteKickRequestMessage voteKickRequestMessage = 59; + */ public Builder mergeVoteKickRequestMessage(de.pokerth.protocol.ProtoBuf.VoteKickRequestMessage value) { if (((bitField1_ & 0x04000000) == 0x04000000) && voteKickRequestMessage_ != de.pokerth.protocol.ProtoBuf.VoteKickRequestMessage.getDefaultInstance()) { @@ -46510,41 +59475,59 @@ public final class ProtoBuf { } else { voteKickRequestMessage_ = value; } - + bitField1_ |= 0x04000000; return this; } + /** + * optional .VoteKickRequestMessage voteKickRequestMessage = 59; + */ public Builder clearVoteKickRequestMessage() { voteKickRequestMessage_ = de.pokerth.protocol.ProtoBuf.VoteKickRequestMessage.getDefaultInstance(); - + bitField1_ = (bitField1_ & ~0x04000000); return this; } - + // optional .VoteKickReplyMessage voteKickReplyMessage = 60; private de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage voteKickReplyMessage_ = de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage.getDefaultInstance(); + /** + * optional .VoteKickReplyMessage voteKickReplyMessage = 60; + */ public boolean hasVoteKickReplyMessage() { return ((bitField1_ & 0x08000000) == 0x08000000); } + /** + * optional .VoteKickReplyMessage voteKickReplyMessage = 60; + */ public de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage getVoteKickReplyMessage() { return voteKickReplyMessage_; } + /** + * optional .VoteKickReplyMessage voteKickReplyMessage = 60; + */ public Builder setVoteKickReplyMessage(de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage value) { if (value == null) { throw new NullPointerException(); } voteKickReplyMessage_ = value; - + bitField1_ |= 0x08000000; return this; } + /** + * optional .VoteKickReplyMessage voteKickReplyMessage = 60; + */ public Builder setVoteKickReplyMessage( de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage.Builder builderForValue) { voteKickReplyMessage_ = builderForValue.build(); - + bitField1_ |= 0x08000000; return this; } + /** + * optional .VoteKickReplyMessage voteKickReplyMessage = 60; + */ public Builder mergeVoteKickReplyMessage(de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage value) { if (((bitField1_ & 0x08000000) == 0x08000000) && voteKickReplyMessage_ != de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage.getDefaultInstance()) { @@ -46553,41 +59536,59 @@ public final class ProtoBuf { } else { voteKickReplyMessage_ = value; } - + bitField1_ |= 0x08000000; return this; } + /** + * optional .VoteKickReplyMessage voteKickReplyMessage = 60; + */ public Builder clearVoteKickReplyMessage() { voteKickReplyMessage_ = de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage.getDefaultInstance(); - + bitField1_ = (bitField1_ & ~0x08000000); return this; } - + // optional .KickPetitionUpdateMessage kickPetitionUpdateMessage = 61; private de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessage kickPetitionUpdateMessage_ = de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessage.getDefaultInstance(); + /** + * optional .KickPetitionUpdateMessage kickPetitionUpdateMessage = 61; + */ public boolean hasKickPetitionUpdateMessage() { return ((bitField1_ & 0x10000000) == 0x10000000); } + /** + * optional .KickPetitionUpdateMessage kickPetitionUpdateMessage = 61; + */ public de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessage getKickPetitionUpdateMessage() { return kickPetitionUpdateMessage_; } + /** + * optional .KickPetitionUpdateMessage kickPetitionUpdateMessage = 61; + */ public Builder setKickPetitionUpdateMessage(de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessage value) { if (value == null) { throw new NullPointerException(); } kickPetitionUpdateMessage_ = value; - + bitField1_ |= 0x10000000; return this; } + /** + * optional .KickPetitionUpdateMessage kickPetitionUpdateMessage = 61; + */ public Builder setKickPetitionUpdateMessage( de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessage.Builder builderForValue) { kickPetitionUpdateMessage_ = builderForValue.build(); - + bitField1_ |= 0x10000000; return this; } + /** + * optional .KickPetitionUpdateMessage kickPetitionUpdateMessage = 61; + */ public Builder mergeKickPetitionUpdateMessage(de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessage value) { if (((bitField1_ & 0x10000000) == 0x10000000) && kickPetitionUpdateMessage_ != de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessage.getDefaultInstance()) { @@ -46596,41 +59597,59 @@ public final class ProtoBuf { } else { kickPetitionUpdateMessage_ = value; } - + bitField1_ |= 0x10000000; return this; } + /** + * optional .KickPetitionUpdateMessage kickPetitionUpdateMessage = 61; + */ public Builder clearKickPetitionUpdateMessage() { kickPetitionUpdateMessage_ = de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessage.getDefaultInstance(); - + bitField1_ = (bitField1_ & ~0x10000000); return this; } - + // optional .EndKickPetitionMessage endKickPetitionMessage = 62; private de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage endKickPetitionMessage_ = de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage.getDefaultInstance(); + /** + * optional .EndKickPetitionMessage endKickPetitionMessage = 62; + */ public boolean hasEndKickPetitionMessage() { return ((bitField1_ & 0x20000000) == 0x20000000); } + /** + * optional .EndKickPetitionMessage endKickPetitionMessage = 62; + */ public de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage getEndKickPetitionMessage() { return endKickPetitionMessage_; } + /** + * optional .EndKickPetitionMessage endKickPetitionMessage = 62; + */ public Builder setEndKickPetitionMessage(de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage value) { if (value == null) { throw new NullPointerException(); } endKickPetitionMessage_ = value; - + bitField1_ |= 0x20000000; return this; } + /** + * optional .EndKickPetitionMessage endKickPetitionMessage = 62; + */ public Builder setEndKickPetitionMessage( de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage.Builder builderForValue) { endKickPetitionMessage_ = builderForValue.build(); - + bitField1_ |= 0x20000000; return this; } + /** + * optional .EndKickPetitionMessage endKickPetitionMessage = 62; + */ public Builder mergeEndKickPetitionMessage(de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage value) { if (((bitField1_ & 0x20000000) == 0x20000000) && endKickPetitionMessage_ != de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage.getDefaultInstance()) { @@ -46639,41 +59658,59 @@ public final class ProtoBuf { } else { endKickPetitionMessage_ = value; } - + bitField1_ |= 0x20000000; return this; } + /** + * optional .EndKickPetitionMessage endKickPetitionMessage = 62; + */ public Builder clearEndKickPetitionMessage() { endKickPetitionMessage_ = de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage.getDefaultInstance(); - + bitField1_ = (bitField1_ & ~0x20000000); return this; } - + // optional .StatisticsMessage statisticsMessage = 63; private de.pokerth.protocol.ProtoBuf.StatisticsMessage statisticsMessage_ = de.pokerth.protocol.ProtoBuf.StatisticsMessage.getDefaultInstance(); + /** + * optional .StatisticsMessage statisticsMessage = 63; + */ public boolean hasStatisticsMessage() { return ((bitField1_ & 0x40000000) == 0x40000000); } + /** + * optional .StatisticsMessage statisticsMessage = 63; + */ public de.pokerth.protocol.ProtoBuf.StatisticsMessage getStatisticsMessage() { return statisticsMessage_; } + /** + * optional .StatisticsMessage statisticsMessage = 63; + */ public Builder setStatisticsMessage(de.pokerth.protocol.ProtoBuf.StatisticsMessage value) { if (value == null) { throw new NullPointerException(); } statisticsMessage_ = value; - + bitField1_ |= 0x40000000; return this; } + /** + * optional .StatisticsMessage statisticsMessage = 63; + */ public Builder setStatisticsMessage( de.pokerth.protocol.ProtoBuf.StatisticsMessage.Builder builderForValue) { statisticsMessage_ = builderForValue.build(); - + bitField1_ |= 0x40000000; return this; } + /** + * optional .StatisticsMessage statisticsMessage = 63; + */ public Builder mergeStatisticsMessage(de.pokerth.protocol.ProtoBuf.StatisticsMessage value) { if (((bitField1_ & 0x40000000) == 0x40000000) && statisticsMessage_ != de.pokerth.protocol.ProtoBuf.StatisticsMessage.getDefaultInstance()) { @@ -46682,41 +59719,59 @@ public final class ProtoBuf { } else { statisticsMessage_ = value; } - + bitField1_ |= 0x40000000; return this; } + /** + * optional .StatisticsMessage statisticsMessage = 63; + */ public Builder clearStatisticsMessage() { statisticsMessage_ = de.pokerth.protocol.ProtoBuf.StatisticsMessage.getDefaultInstance(); - + bitField1_ = (bitField1_ & ~0x40000000); return this; } - + // optional .ChatRequestMessage chatRequestMessage = 64; private de.pokerth.protocol.ProtoBuf.ChatRequestMessage chatRequestMessage_ = de.pokerth.protocol.ProtoBuf.ChatRequestMessage.getDefaultInstance(); + /** + * optional .ChatRequestMessage chatRequestMessage = 64; + */ public boolean hasChatRequestMessage() { return ((bitField1_ & 0x80000000) == 0x80000000); } + /** + * optional .ChatRequestMessage chatRequestMessage = 64; + */ public de.pokerth.protocol.ProtoBuf.ChatRequestMessage getChatRequestMessage() { return chatRequestMessage_; } + /** + * optional .ChatRequestMessage chatRequestMessage = 64; + */ public Builder setChatRequestMessage(de.pokerth.protocol.ProtoBuf.ChatRequestMessage value) { if (value == null) { throw new NullPointerException(); } chatRequestMessage_ = value; - + bitField1_ |= 0x80000000; return this; } + /** + * optional .ChatRequestMessage chatRequestMessage = 64; + */ public Builder setChatRequestMessage( de.pokerth.protocol.ProtoBuf.ChatRequestMessage.Builder builderForValue) { chatRequestMessage_ = builderForValue.build(); - + bitField1_ |= 0x80000000; return this; } + /** + * optional .ChatRequestMessage chatRequestMessage = 64; + */ public Builder mergeChatRequestMessage(de.pokerth.protocol.ProtoBuf.ChatRequestMessage value) { if (((bitField1_ & 0x80000000) == 0x80000000) && chatRequestMessage_ != de.pokerth.protocol.ProtoBuf.ChatRequestMessage.getDefaultInstance()) { @@ -46725,41 +59780,59 @@ public final class ProtoBuf { } else { chatRequestMessage_ = value; } - + bitField1_ |= 0x80000000; return this; } + /** + * optional .ChatRequestMessage chatRequestMessage = 64; + */ public Builder clearChatRequestMessage() { chatRequestMessage_ = de.pokerth.protocol.ProtoBuf.ChatRequestMessage.getDefaultInstance(); - + bitField1_ = (bitField1_ & ~0x80000000); return this; } - + // optional .ChatMessage chatMessage = 65; private de.pokerth.protocol.ProtoBuf.ChatMessage chatMessage_ = de.pokerth.protocol.ProtoBuf.ChatMessage.getDefaultInstance(); + /** + * optional .ChatMessage chatMessage = 65; + */ public boolean hasChatMessage() { return ((bitField2_ & 0x00000001) == 0x00000001); } + /** + * optional .ChatMessage chatMessage = 65; + */ public de.pokerth.protocol.ProtoBuf.ChatMessage getChatMessage() { return chatMessage_; } + /** + * optional .ChatMessage chatMessage = 65; + */ public Builder setChatMessage(de.pokerth.protocol.ProtoBuf.ChatMessage value) { if (value == null) { throw new NullPointerException(); } chatMessage_ = value; - + bitField2_ |= 0x00000001; return this; } + /** + * optional .ChatMessage chatMessage = 65; + */ public Builder setChatMessage( de.pokerth.protocol.ProtoBuf.ChatMessage.Builder builderForValue) { chatMessage_ = builderForValue.build(); - + bitField2_ |= 0x00000001; return this; } + /** + * optional .ChatMessage chatMessage = 65; + */ public Builder mergeChatMessage(de.pokerth.protocol.ProtoBuf.ChatMessage value) { if (((bitField2_ & 0x00000001) == 0x00000001) && chatMessage_ != de.pokerth.protocol.ProtoBuf.ChatMessage.getDefaultInstance()) { @@ -46768,41 +59841,59 @@ public final class ProtoBuf { } else { chatMessage_ = value; } - + bitField2_ |= 0x00000001; return this; } + /** + * optional .ChatMessage chatMessage = 65; + */ public Builder clearChatMessage() { chatMessage_ = de.pokerth.protocol.ProtoBuf.ChatMessage.getDefaultInstance(); - + bitField2_ = (bitField2_ & ~0x00000001); return this; } - + // optional .ChatRejectMessage chatRejectMessage = 66; private de.pokerth.protocol.ProtoBuf.ChatRejectMessage chatRejectMessage_ = de.pokerth.protocol.ProtoBuf.ChatRejectMessage.getDefaultInstance(); + /** + * optional .ChatRejectMessage chatRejectMessage = 66; + */ public boolean hasChatRejectMessage() { return ((bitField2_ & 0x00000002) == 0x00000002); } + /** + * optional .ChatRejectMessage chatRejectMessage = 66; + */ public de.pokerth.protocol.ProtoBuf.ChatRejectMessage getChatRejectMessage() { return chatRejectMessage_; } + /** + * optional .ChatRejectMessage chatRejectMessage = 66; + */ public Builder setChatRejectMessage(de.pokerth.protocol.ProtoBuf.ChatRejectMessage value) { if (value == null) { throw new NullPointerException(); } chatRejectMessage_ = value; - + bitField2_ |= 0x00000002; return this; } + /** + * optional .ChatRejectMessage chatRejectMessage = 66; + */ public Builder setChatRejectMessage( de.pokerth.protocol.ProtoBuf.ChatRejectMessage.Builder builderForValue) { chatRejectMessage_ = builderForValue.build(); - + bitField2_ |= 0x00000002; return this; } + /** + * optional .ChatRejectMessage chatRejectMessage = 66; + */ public Builder mergeChatRejectMessage(de.pokerth.protocol.ProtoBuf.ChatRejectMessage value) { if (((bitField2_ & 0x00000002) == 0x00000002) && chatRejectMessage_ != de.pokerth.protocol.ProtoBuf.ChatRejectMessage.getDefaultInstance()) { @@ -46811,41 +59902,59 @@ public final class ProtoBuf { } else { chatRejectMessage_ = value; } - + bitField2_ |= 0x00000002; return this; } + /** + * optional .ChatRejectMessage chatRejectMessage = 66; + */ public Builder clearChatRejectMessage() { chatRejectMessage_ = de.pokerth.protocol.ProtoBuf.ChatRejectMessage.getDefaultInstance(); - + bitField2_ = (bitField2_ & ~0x00000002); return this; } - + // optional .DialogMessage dialogMessage = 67; private de.pokerth.protocol.ProtoBuf.DialogMessage dialogMessage_ = de.pokerth.protocol.ProtoBuf.DialogMessage.getDefaultInstance(); + /** + * optional .DialogMessage dialogMessage = 67; + */ public boolean hasDialogMessage() { return ((bitField2_ & 0x00000004) == 0x00000004); } + /** + * optional .DialogMessage dialogMessage = 67; + */ public de.pokerth.protocol.ProtoBuf.DialogMessage getDialogMessage() { return dialogMessage_; } + /** + * optional .DialogMessage dialogMessage = 67; + */ public Builder setDialogMessage(de.pokerth.protocol.ProtoBuf.DialogMessage value) { if (value == null) { throw new NullPointerException(); } dialogMessage_ = value; - + bitField2_ |= 0x00000004; return this; } + /** + * optional .DialogMessage dialogMessage = 67; + */ public Builder setDialogMessage( de.pokerth.protocol.ProtoBuf.DialogMessage.Builder builderForValue) { dialogMessage_ = builderForValue.build(); - + bitField2_ |= 0x00000004; return this; } + /** + * optional .DialogMessage dialogMessage = 67; + */ public Builder mergeDialogMessage(de.pokerth.protocol.ProtoBuf.DialogMessage value) { if (((bitField2_ & 0x00000004) == 0x00000004) && dialogMessage_ != de.pokerth.protocol.ProtoBuf.DialogMessage.getDefaultInstance()) { @@ -46854,41 +59963,59 @@ public final class ProtoBuf { } else { dialogMessage_ = value; } - + bitField2_ |= 0x00000004; return this; } + /** + * optional .DialogMessage dialogMessage = 67; + */ public Builder clearDialogMessage() { dialogMessage_ = de.pokerth.protocol.ProtoBuf.DialogMessage.getDefaultInstance(); - + bitField2_ = (bitField2_ & ~0x00000004); return this; } - + // optional .TimeoutWarningMessage timeoutWarningMessage = 68; private de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage timeoutWarningMessage_ = de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage.getDefaultInstance(); + /** + * optional .TimeoutWarningMessage timeoutWarningMessage = 68; + */ public boolean hasTimeoutWarningMessage() { return ((bitField2_ & 0x00000008) == 0x00000008); } + /** + * optional .TimeoutWarningMessage timeoutWarningMessage = 68; + */ public de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage getTimeoutWarningMessage() { return timeoutWarningMessage_; } + /** + * optional .TimeoutWarningMessage timeoutWarningMessage = 68; + */ public Builder setTimeoutWarningMessage(de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage value) { if (value == null) { throw new NullPointerException(); } timeoutWarningMessage_ = value; - + bitField2_ |= 0x00000008; return this; } + /** + * optional .TimeoutWarningMessage timeoutWarningMessage = 68; + */ public Builder setTimeoutWarningMessage( de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage.Builder builderForValue) { timeoutWarningMessage_ = builderForValue.build(); - + bitField2_ |= 0x00000008; return this; } + /** + * optional .TimeoutWarningMessage timeoutWarningMessage = 68; + */ public Builder mergeTimeoutWarningMessage(de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage value) { if (((bitField2_ & 0x00000008) == 0x00000008) && timeoutWarningMessage_ != de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage.getDefaultInstance()) { @@ -46897,41 +60024,59 @@ public final class ProtoBuf { } else { timeoutWarningMessage_ = value; } - + bitField2_ |= 0x00000008; return this; } + /** + * optional .TimeoutWarningMessage timeoutWarningMessage = 68; + */ public Builder clearTimeoutWarningMessage() { timeoutWarningMessage_ = de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage.getDefaultInstance(); - + bitField2_ = (bitField2_ & ~0x00000008); return this; } - + // optional .ResetTimeoutMessage resetTimeoutMessage = 69; private de.pokerth.protocol.ProtoBuf.ResetTimeoutMessage resetTimeoutMessage_ = de.pokerth.protocol.ProtoBuf.ResetTimeoutMessage.getDefaultInstance(); + /** + * optional .ResetTimeoutMessage resetTimeoutMessage = 69; + */ public boolean hasResetTimeoutMessage() { return ((bitField2_ & 0x00000010) == 0x00000010); } + /** + * optional .ResetTimeoutMessage resetTimeoutMessage = 69; + */ public de.pokerth.protocol.ProtoBuf.ResetTimeoutMessage getResetTimeoutMessage() { return resetTimeoutMessage_; } + /** + * optional .ResetTimeoutMessage resetTimeoutMessage = 69; + */ public Builder setResetTimeoutMessage(de.pokerth.protocol.ProtoBuf.ResetTimeoutMessage value) { if (value == null) { throw new NullPointerException(); } resetTimeoutMessage_ = value; - + bitField2_ |= 0x00000010; return this; } + /** + * optional .ResetTimeoutMessage resetTimeoutMessage = 69; + */ public Builder setResetTimeoutMessage( de.pokerth.protocol.ProtoBuf.ResetTimeoutMessage.Builder builderForValue) { resetTimeoutMessage_ = builderForValue.build(); - + bitField2_ |= 0x00000010; return this; } + /** + * optional .ResetTimeoutMessage resetTimeoutMessage = 69; + */ public Builder mergeResetTimeoutMessage(de.pokerth.protocol.ProtoBuf.ResetTimeoutMessage value) { if (((bitField2_ & 0x00000010) == 0x00000010) && resetTimeoutMessage_ != de.pokerth.protocol.ProtoBuf.ResetTimeoutMessage.getDefaultInstance()) { @@ -46940,41 +60085,59 @@ public final class ProtoBuf { } else { resetTimeoutMessage_ = value; } - + bitField2_ |= 0x00000010; return this; } + /** + * optional .ResetTimeoutMessage resetTimeoutMessage = 69; + */ public Builder clearResetTimeoutMessage() { resetTimeoutMessage_ = de.pokerth.protocol.ProtoBuf.ResetTimeoutMessage.getDefaultInstance(); - + bitField2_ = (bitField2_ & ~0x00000010); return this; } - + // optional .ReportAvatarMessage reportAvatarMessage = 70; private de.pokerth.protocol.ProtoBuf.ReportAvatarMessage reportAvatarMessage_ = de.pokerth.protocol.ProtoBuf.ReportAvatarMessage.getDefaultInstance(); + /** + * optional .ReportAvatarMessage reportAvatarMessage = 70; + */ public boolean hasReportAvatarMessage() { return ((bitField2_ & 0x00000020) == 0x00000020); } + /** + * optional .ReportAvatarMessage reportAvatarMessage = 70; + */ public de.pokerth.protocol.ProtoBuf.ReportAvatarMessage getReportAvatarMessage() { return reportAvatarMessage_; } + /** + * optional .ReportAvatarMessage reportAvatarMessage = 70; + */ public Builder setReportAvatarMessage(de.pokerth.protocol.ProtoBuf.ReportAvatarMessage value) { if (value == null) { throw new NullPointerException(); } reportAvatarMessage_ = value; - + bitField2_ |= 0x00000020; return this; } + /** + * optional .ReportAvatarMessage reportAvatarMessage = 70; + */ public Builder setReportAvatarMessage( de.pokerth.protocol.ProtoBuf.ReportAvatarMessage.Builder builderForValue) { reportAvatarMessage_ = builderForValue.build(); - + bitField2_ |= 0x00000020; return this; } + /** + * optional .ReportAvatarMessage reportAvatarMessage = 70; + */ public Builder mergeReportAvatarMessage(de.pokerth.protocol.ProtoBuf.ReportAvatarMessage value) { if (((bitField2_ & 0x00000020) == 0x00000020) && reportAvatarMessage_ != de.pokerth.protocol.ProtoBuf.ReportAvatarMessage.getDefaultInstance()) { @@ -46983,41 +60146,59 @@ public final class ProtoBuf { } else { reportAvatarMessage_ = value; } - + bitField2_ |= 0x00000020; return this; } + /** + * optional .ReportAvatarMessage reportAvatarMessage = 70; + */ public Builder clearReportAvatarMessage() { reportAvatarMessage_ = de.pokerth.protocol.ProtoBuf.ReportAvatarMessage.getDefaultInstance(); - + bitField2_ = (bitField2_ & ~0x00000020); return this; } - + // optional .ReportAvatarAckMessage reportAvatarAckMessage = 71; private de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage reportAvatarAckMessage_ = de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage.getDefaultInstance(); + /** + * optional .ReportAvatarAckMessage reportAvatarAckMessage = 71; + */ public boolean hasReportAvatarAckMessage() { return ((bitField2_ & 0x00000040) == 0x00000040); } + /** + * optional .ReportAvatarAckMessage reportAvatarAckMessage = 71; + */ public de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage getReportAvatarAckMessage() { return reportAvatarAckMessage_; } + /** + * optional .ReportAvatarAckMessage reportAvatarAckMessage = 71; + */ public Builder setReportAvatarAckMessage(de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage value) { if (value == null) { throw new NullPointerException(); } reportAvatarAckMessage_ = value; - + bitField2_ |= 0x00000040; return this; } + /** + * optional .ReportAvatarAckMessage reportAvatarAckMessage = 71; + */ public Builder setReportAvatarAckMessage( de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage.Builder builderForValue) { reportAvatarAckMessage_ = builderForValue.build(); - + bitField2_ |= 0x00000040; return this; } + /** + * optional .ReportAvatarAckMessage reportAvatarAckMessage = 71; + */ public Builder mergeReportAvatarAckMessage(de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage value) { if (((bitField2_ & 0x00000040) == 0x00000040) && reportAvatarAckMessage_ != de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage.getDefaultInstance()) { @@ -47026,41 +60207,59 @@ public final class ProtoBuf { } else { reportAvatarAckMessage_ = value; } - + bitField2_ |= 0x00000040; return this; } + /** + * optional .ReportAvatarAckMessage reportAvatarAckMessage = 71; + */ public Builder clearReportAvatarAckMessage() { reportAvatarAckMessage_ = de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage.getDefaultInstance(); - + bitField2_ = (bitField2_ & ~0x00000040); return this; } - + // optional .ReportGameMessage reportGameMessage = 72; private de.pokerth.protocol.ProtoBuf.ReportGameMessage reportGameMessage_ = de.pokerth.protocol.ProtoBuf.ReportGameMessage.getDefaultInstance(); + /** + * optional .ReportGameMessage reportGameMessage = 72; + */ public boolean hasReportGameMessage() { return ((bitField2_ & 0x00000080) == 0x00000080); } + /** + * optional .ReportGameMessage reportGameMessage = 72; + */ public de.pokerth.protocol.ProtoBuf.ReportGameMessage getReportGameMessage() { return reportGameMessage_; } + /** + * optional .ReportGameMessage reportGameMessage = 72; + */ public Builder setReportGameMessage(de.pokerth.protocol.ProtoBuf.ReportGameMessage value) { if (value == null) { throw new NullPointerException(); } reportGameMessage_ = value; - + bitField2_ |= 0x00000080; return this; } + /** + * optional .ReportGameMessage reportGameMessage = 72; + */ public Builder setReportGameMessage( de.pokerth.protocol.ProtoBuf.ReportGameMessage.Builder builderForValue) { reportGameMessage_ = builderForValue.build(); - + bitField2_ |= 0x00000080; return this; } + /** + * optional .ReportGameMessage reportGameMessage = 72; + */ public Builder mergeReportGameMessage(de.pokerth.protocol.ProtoBuf.ReportGameMessage value) { if (((bitField2_ & 0x00000080) == 0x00000080) && reportGameMessage_ != de.pokerth.protocol.ProtoBuf.ReportGameMessage.getDefaultInstance()) { @@ -47069,41 +60268,59 @@ public final class ProtoBuf { } else { reportGameMessage_ = value; } - + bitField2_ |= 0x00000080; return this; } + /** + * optional .ReportGameMessage reportGameMessage = 72; + */ public Builder clearReportGameMessage() { reportGameMessage_ = de.pokerth.protocol.ProtoBuf.ReportGameMessage.getDefaultInstance(); - + bitField2_ = (bitField2_ & ~0x00000080); return this; } - + // optional .ReportGameAckMessage reportGameAckMessage = 73; private de.pokerth.protocol.ProtoBuf.ReportGameAckMessage reportGameAckMessage_ = de.pokerth.protocol.ProtoBuf.ReportGameAckMessage.getDefaultInstance(); + /** + * optional .ReportGameAckMessage reportGameAckMessage = 73; + */ public boolean hasReportGameAckMessage() { return ((bitField2_ & 0x00000100) == 0x00000100); } + /** + * optional .ReportGameAckMessage reportGameAckMessage = 73; + */ public de.pokerth.protocol.ProtoBuf.ReportGameAckMessage getReportGameAckMessage() { return reportGameAckMessage_; } + /** + * optional .ReportGameAckMessage reportGameAckMessage = 73; + */ public Builder setReportGameAckMessage(de.pokerth.protocol.ProtoBuf.ReportGameAckMessage value) { if (value == null) { throw new NullPointerException(); } reportGameAckMessage_ = value; - + bitField2_ |= 0x00000100; return this; } + /** + * optional .ReportGameAckMessage reportGameAckMessage = 73; + */ public Builder setReportGameAckMessage( de.pokerth.protocol.ProtoBuf.ReportGameAckMessage.Builder builderForValue) { reportGameAckMessage_ = builderForValue.build(); - + bitField2_ |= 0x00000100; return this; } + /** + * optional .ReportGameAckMessage reportGameAckMessage = 73; + */ public Builder mergeReportGameAckMessage(de.pokerth.protocol.ProtoBuf.ReportGameAckMessage value) { if (((bitField2_ & 0x00000100) == 0x00000100) && reportGameAckMessage_ != de.pokerth.protocol.ProtoBuf.ReportGameAckMessage.getDefaultInstance()) { @@ -47112,41 +60329,59 @@ public final class ProtoBuf { } else { reportGameAckMessage_ = value; } - + bitField2_ |= 0x00000100; return this; } + /** + * optional .ReportGameAckMessage reportGameAckMessage = 73; + */ public Builder clearReportGameAckMessage() { reportGameAckMessage_ = de.pokerth.protocol.ProtoBuf.ReportGameAckMessage.getDefaultInstance(); - + bitField2_ = (bitField2_ & ~0x00000100); return this; } - + // optional .ErrorMessage errorMessage = 74; private de.pokerth.protocol.ProtoBuf.ErrorMessage errorMessage_ = de.pokerth.protocol.ProtoBuf.ErrorMessage.getDefaultInstance(); + /** + * optional .ErrorMessage errorMessage = 74; + */ public boolean hasErrorMessage() { return ((bitField2_ & 0x00000200) == 0x00000200); } + /** + * optional .ErrorMessage errorMessage = 74; + */ public de.pokerth.protocol.ProtoBuf.ErrorMessage getErrorMessage() { return errorMessage_; } + /** + * optional .ErrorMessage errorMessage = 74; + */ public Builder setErrorMessage(de.pokerth.protocol.ProtoBuf.ErrorMessage value) { if (value == null) { throw new NullPointerException(); } errorMessage_ = value; - + bitField2_ |= 0x00000200; return this; } + /** + * optional .ErrorMessage errorMessage = 74; + */ public Builder setErrorMessage( de.pokerth.protocol.ProtoBuf.ErrorMessage.Builder builderForValue) { errorMessage_ = builderForValue.build(); - + bitField2_ |= 0x00000200; return this; } + /** + * optional .ErrorMessage errorMessage = 74; + */ public Builder mergeErrorMessage(de.pokerth.protocol.ProtoBuf.ErrorMessage value) { if (((bitField2_ & 0x00000200) == 0x00000200) && errorMessage_ != de.pokerth.protocol.ProtoBuf.ErrorMessage.getDefaultInstance()) { @@ -47155,41 +60390,59 @@ public final class ProtoBuf { } else { errorMessage_ = value; } - + bitField2_ |= 0x00000200; return this; } + /** + * optional .ErrorMessage errorMessage = 74; + */ public Builder clearErrorMessage() { errorMessage_ = de.pokerth.protocol.ProtoBuf.ErrorMessage.getDefaultInstance(); - + bitField2_ = (bitField2_ & ~0x00000200); return this; } - + // optional .AdminRemoveGameMessage adminRemoveGameMessage = 75; private de.pokerth.protocol.ProtoBuf.AdminRemoveGameMessage adminRemoveGameMessage_ = de.pokerth.protocol.ProtoBuf.AdminRemoveGameMessage.getDefaultInstance(); + /** + * optional .AdminRemoveGameMessage adminRemoveGameMessage = 75; + */ public boolean hasAdminRemoveGameMessage() { return ((bitField2_ & 0x00000400) == 0x00000400); } + /** + * optional .AdminRemoveGameMessage adminRemoveGameMessage = 75; + */ public de.pokerth.protocol.ProtoBuf.AdminRemoveGameMessage getAdminRemoveGameMessage() { return adminRemoveGameMessage_; } + /** + * optional .AdminRemoveGameMessage adminRemoveGameMessage = 75; + */ public Builder setAdminRemoveGameMessage(de.pokerth.protocol.ProtoBuf.AdminRemoveGameMessage value) { if (value == null) { throw new NullPointerException(); } adminRemoveGameMessage_ = value; - + bitField2_ |= 0x00000400; return this; } + /** + * optional .AdminRemoveGameMessage adminRemoveGameMessage = 75; + */ public Builder setAdminRemoveGameMessage( de.pokerth.protocol.ProtoBuf.AdminRemoveGameMessage.Builder builderForValue) { adminRemoveGameMessage_ = builderForValue.build(); - + bitField2_ |= 0x00000400; return this; } + /** + * optional .AdminRemoveGameMessage adminRemoveGameMessage = 75; + */ public Builder mergeAdminRemoveGameMessage(de.pokerth.protocol.ProtoBuf.AdminRemoveGameMessage value) { if (((bitField2_ & 0x00000400) == 0x00000400) && adminRemoveGameMessage_ != de.pokerth.protocol.ProtoBuf.AdminRemoveGameMessage.getDefaultInstance()) { @@ -47198,41 +60451,59 @@ public final class ProtoBuf { } else { adminRemoveGameMessage_ = value; } - + bitField2_ |= 0x00000400; return this; } + /** + * optional .AdminRemoveGameMessage adminRemoveGameMessage = 75; + */ public Builder clearAdminRemoveGameMessage() { adminRemoveGameMessage_ = de.pokerth.protocol.ProtoBuf.AdminRemoveGameMessage.getDefaultInstance(); - + bitField2_ = (bitField2_ & ~0x00000400); return this; } - + // optional .AdminRemoveGameAckMessage adminRemoveGameAckMessage = 76; private de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage adminRemoveGameAckMessage_ = de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage.getDefaultInstance(); + /** + * optional .AdminRemoveGameAckMessage adminRemoveGameAckMessage = 76; + */ public boolean hasAdminRemoveGameAckMessage() { return ((bitField2_ & 0x00000800) == 0x00000800); } + /** + * optional .AdminRemoveGameAckMessage adminRemoveGameAckMessage = 76; + */ public de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage getAdminRemoveGameAckMessage() { return adminRemoveGameAckMessage_; } + /** + * optional .AdminRemoveGameAckMessage adminRemoveGameAckMessage = 76; + */ public Builder setAdminRemoveGameAckMessage(de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage value) { if (value == null) { throw new NullPointerException(); } adminRemoveGameAckMessage_ = value; - + bitField2_ |= 0x00000800; return this; } + /** + * optional .AdminRemoveGameAckMessage adminRemoveGameAckMessage = 76; + */ public Builder setAdminRemoveGameAckMessage( de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage.Builder builderForValue) { adminRemoveGameAckMessage_ = builderForValue.build(); - + bitField2_ |= 0x00000800; return this; } + /** + * optional .AdminRemoveGameAckMessage adminRemoveGameAckMessage = 76; + */ public Builder mergeAdminRemoveGameAckMessage(de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage value) { if (((bitField2_ & 0x00000800) == 0x00000800) && adminRemoveGameAckMessage_ != de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage.getDefaultInstance()) { @@ -47241,41 +60512,59 @@ public final class ProtoBuf { } else { adminRemoveGameAckMessage_ = value; } - + bitField2_ |= 0x00000800; return this; } + /** + * optional .AdminRemoveGameAckMessage adminRemoveGameAckMessage = 76; + */ public Builder clearAdminRemoveGameAckMessage() { adminRemoveGameAckMessage_ = de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage.getDefaultInstance(); - + bitField2_ = (bitField2_ & ~0x00000800); return this; } - + // optional .AdminBanPlayerMessage adminBanPlayerMessage = 77; private de.pokerth.protocol.ProtoBuf.AdminBanPlayerMessage adminBanPlayerMessage_ = de.pokerth.protocol.ProtoBuf.AdminBanPlayerMessage.getDefaultInstance(); + /** + * optional .AdminBanPlayerMessage adminBanPlayerMessage = 77; + */ public boolean hasAdminBanPlayerMessage() { return ((bitField2_ & 0x00001000) == 0x00001000); } + /** + * optional .AdminBanPlayerMessage adminBanPlayerMessage = 77; + */ public de.pokerth.protocol.ProtoBuf.AdminBanPlayerMessage getAdminBanPlayerMessage() { return adminBanPlayerMessage_; } + /** + * optional .AdminBanPlayerMessage adminBanPlayerMessage = 77; + */ public Builder setAdminBanPlayerMessage(de.pokerth.protocol.ProtoBuf.AdminBanPlayerMessage value) { if (value == null) { throw new NullPointerException(); } adminBanPlayerMessage_ = value; - + bitField2_ |= 0x00001000; return this; } + /** + * optional .AdminBanPlayerMessage adminBanPlayerMessage = 77; + */ public Builder setAdminBanPlayerMessage( de.pokerth.protocol.ProtoBuf.AdminBanPlayerMessage.Builder builderForValue) { adminBanPlayerMessage_ = builderForValue.build(); - + bitField2_ |= 0x00001000; return this; } + /** + * optional .AdminBanPlayerMessage adminBanPlayerMessage = 77; + */ public Builder mergeAdminBanPlayerMessage(de.pokerth.protocol.ProtoBuf.AdminBanPlayerMessage value) { if (((bitField2_ & 0x00001000) == 0x00001000) && adminBanPlayerMessage_ != de.pokerth.protocol.ProtoBuf.AdminBanPlayerMessage.getDefaultInstance()) { @@ -47284,41 +60573,59 @@ public final class ProtoBuf { } else { adminBanPlayerMessage_ = value; } - + bitField2_ |= 0x00001000; return this; } + /** + * optional .AdminBanPlayerMessage adminBanPlayerMessage = 77; + */ public Builder clearAdminBanPlayerMessage() { adminBanPlayerMessage_ = de.pokerth.protocol.ProtoBuf.AdminBanPlayerMessage.getDefaultInstance(); - + bitField2_ = (bitField2_ & ~0x00001000); return this; } - + // optional .AdminBanPlayerAckMessage adminBanPlayerAckMessage = 78; private de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage adminBanPlayerAckMessage_ = de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage.getDefaultInstance(); + /** + * optional .AdminBanPlayerAckMessage adminBanPlayerAckMessage = 78; + */ public boolean hasAdminBanPlayerAckMessage() { return ((bitField2_ & 0x00002000) == 0x00002000); } + /** + * optional .AdminBanPlayerAckMessage adminBanPlayerAckMessage = 78; + */ public de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage getAdminBanPlayerAckMessage() { return adminBanPlayerAckMessage_; } + /** + * optional .AdminBanPlayerAckMessage adminBanPlayerAckMessage = 78; + */ public Builder setAdminBanPlayerAckMessage(de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage value) { if (value == null) { throw new NullPointerException(); } adminBanPlayerAckMessage_ = value; - + bitField2_ |= 0x00002000; return this; } + /** + * optional .AdminBanPlayerAckMessage adminBanPlayerAckMessage = 78; + */ public Builder setAdminBanPlayerAckMessage( de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage.Builder builderForValue) { adminBanPlayerAckMessage_ = builderForValue.build(); - + bitField2_ |= 0x00002000; return this; } + /** + * optional .AdminBanPlayerAckMessage adminBanPlayerAckMessage = 78; + */ public Builder mergeAdminBanPlayerAckMessage(de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage value) { if (((bitField2_ & 0x00002000) == 0x00002000) && adminBanPlayerAckMessage_ != de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage.getDefaultInstance()) { @@ -47327,41 +60634,59 @@ public final class ProtoBuf { } else { adminBanPlayerAckMessage_ = value; } - + bitField2_ |= 0x00002000; return this; } + /** + * optional .AdminBanPlayerAckMessage adminBanPlayerAckMessage = 78; + */ public Builder clearAdminBanPlayerAckMessage() { adminBanPlayerAckMessage_ = de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage.getDefaultInstance(); - + bitField2_ = (bitField2_ & ~0x00002000); return this; } - + // optional .GameListSpectatorJoinedMessage gameListSpectatorJoinedMessage = 79; private de.pokerth.protocol.ProtoBuf.GameListSpectatorJoinedMessage gameListSpectatorJoinedMessage_ = de.pokerth.protocol.ProtoBuf.GameListSpectatorJoinedMessage.getDefaultInstance(); + /** + * optional .GameListSpectatorJoinedMessage gameListSpectatorJoinedMessage = 79; + */ public boolean hasGameListSpectatorJoinedMessage() { return ((bitField2_ & 0x00004000) == 0x00004000); } + /** + * optional .GameListSpectatorJoinedMessage gameListSpectatorJoinedMessage = 79; + */ public de.pokerth.protocol.ProtoBuf.GameListSpectatorJoinedMessage getGameListSpectatorJoinedMessage() { return gameListSpectatorJoinedMessage_; } + /** + * optional .GameListSpectatorJoinedMessage gameListSpectatorJoinedMessage = 79; + */ public Builder setGameListSpectatorJoinedMessage(de.pokerth.protocol.ProtoBuf.GameListSpectatorJoinedMessage value) { if (value == null) { throw new NullPointerException(); } gameListSpectatorJoinedMessage_ = value; - + bitField2_ |= 0x00004000; return this; } + /** + * optional .GameListSpectatorJoinedMessage gameListSpectatorJoinedMessage = 79; + */ public Builder setGameListSpectatorJoinedMessage( de.pokerth.protocol.ProtoBuf.GameListSpectatorJoinedMessage.Builder builderForValue) { gameListSpectatorJoinedMessage_ = builderForValue.build(); - + bitField2_ |= 0x00004000; return this; } + /** + * optional .GameListSpectatorJoinedMessage gameListSpectatorJoinedMessage = 79; + */ public Builder mergeGameListSpectatorJoinedMessage(de.pokerth.protocol.ProtoBuf.GameListSpectatorJoinedMessage value) { if (((bitField2_ & 0x00004000) == 0x00004000) && gameListSpectatorJoinedMessage_ != de.pokerth.protocol.ProtoBuf.GameListSpectatorJoinedMessage.getDefaultInstance()) { @@ -47370,41 +60695,59 @@ public final class ProtoBuf { } else { gameListSpectatorJoinedMessage_ = value; } - + bitField2_ |= 0x00004000; return this; } + /** + * optional .GameListSpectatorJoinedMessage gameListSpectatorJoinedMessage = 79; + */ public Builder clearGameListSpectatorJoinedMessage() { gameListSpectatorJoinedMessage_ = de.pokerth.protocol.ProtoBuf.GameListSpectatorJoinedMessage.getDefaultInstance(); - + bitField2_ = (bitField2_ & ~0x00004000); return this; } - + // optional .GameListSpectatorLeftMessage gameListSpectatorLeftMessage = 80; private de.pokerth.protocol.ProtoBuf.GameListSpectatorLeftMessage gameListSpectatorLeftMessage_ = de.pokerth.protocol.ProtoBuf.GameListSpectatorLeftMessage.getDefaultInstance(); + /** + * optional .GameListSpectatorLeftMessage gameListSpectatorLeftMessage = 80; + */ public boolean hasGameListSpectatorLeftMessage() { return ((bitField2_ & 0x00008000) == 0x00008000); } + /** + * optional .GameListSpectatorLeftMessage gameListSpectatorLeftMessage = 80; + */ public de.pokerth.protocol.ProtoBuf.GameListSpectatorLeftMessage getGameListSpectatorLeftMessage() { return gameListSpectatorLeftMessage_; } + /** + * optional .GameListSpectatorLeftMessage gameListSpectatorLeftMessage = 80; + */ public Builder setGameListSpectatorLeftMessage(de.pokerth.protocol.ProtoBuf.GameListSpectatorLeftMessage value) { if (value == null) { throw new NullPointerException(); } gameListSpectatorLeftMessage_ = value; - + bitField2_ |= 0x00008000; return this; } + /** + * optional .GameListSpectatorLeftMessage gameListSpectatorLeftMessage = 80; + */ public Builder setGameListSpectatorLeftMessage( de.pokerth.protocol.ProtoBuf.GameListSpectatorLeftMessage.Builder builderForValue) { gameListSpectatorLeftMessage_ = builderForValue.build(); - + bitField2_ |= 0x00008000; return this; } + /** + * optional .GameListSpectatorLeftMessage gameListSpectatorLeftMessage = 80; + */ public Builder mergeGameListSpectatorLeftMessage(de.pokerth.protocol.ProtoBuf.GameListSpectatorLeftMessage value) { if (((bitField2_ & 0x00008000) == 0x00008000) && gameListSpectatorLeftMessage_ != de.pokerth.protocol.ProtoBuf.GameListSpectatorLeftMessage.getDefaultInstance()) { @@ -47413,41 +60756,59 @@ public final class ProtoBuf { } else { gameListSpectatorLeftMessage_ = value; } - + bitField2_ |= 0x00008000; return this; } + /** + * optional .GameListSpectatorLeftMessage gameListSpectatorLeftMessage = 80; + */ public Builder clearGameListSpectatorLeftMessage() { gameListSpectatorLeftMessage_ = de.pokerth.protocol.ProtoBuf.GameListSpectatorLeftMessage.getDefaultInstance(); - + bitField2_ = (bitField2_ & ~0x00008000); return this; } - + // optional .GameSpectatorJoinedMessage gameSpectatorJoinedMessage = 81; private de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessage gameSpectatorJoinedMessage_ = de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessage.getDefaultInstance(); + /** + * optional .GameSpectatorJoinedMessage gameSpectatorJoinedMessage = 81; + */ public boolean hasGameSpectatorJoinedMessage() { return ((bitField2_ & 0x00010000) == 0x00010000); } + /** + * optional .GameSpectatorJoinedMessage gameSpectatorJoinedMessage = 81; + */ public de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessage getGameSpectatorJoinedMessage() { return gameSpectatorJoinedMessage_; } + /** + * optional .GameSpectatorJoinedMessage gameSpectatorJoinedMessage = 81; + */ public Builder setGameSpectatorJoinedMessage(de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessage value) { if (value == null) { throw new NullPointerException(); } gameSpectatorJoinedMessage_ = value; - + bitField2_ |= 0x00010000; return this; } + /** + * optional .GameSpectatorJoinedMessage gameSpectatorJoinedMessage = 81; + */ public Builder setGameSpectatorJoinedMessage( de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessage.Builder builderForValue) { gameSpectatorJoinedMessage_ = builderForValue.build(); - + bitField2_ |= 0x00010000; return this; } + /** + * optional .GameSpectatorJoinedMessage gameSpectatorJoinedMessage = 81; + */ public Builder mergeGameSpectatorJoinedMessage(de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessage value) { if (((bitField2_ & 0x00010000) == 0x00010000) && gameSpectatorJoinedMessage_ != de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessage.getDefaultInstance()) { @@ -47456,41 +60817,59 @@ public final class ProtoBuf { } else { gameSpectatorJoinedMessage_ = value; } - + bitField2_ |= 0x00010000; return this; } + /** + * optional .GameSpectatorJoinedMessage gameSpectatorJoinedMessage = 81; + */ public Builder clearGameSpectatorJoinedMessage() { gameSpectatorJoinedMessage_ = de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessage.getDefaultInstance(); - + bitField2_ = (bitField2_ & ~0x00010000); return this; } - + // optional .GameSpectatorLeftMessage gameSpectatorLeftMessage = 82; private de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessage gameSpectatorLeftMessage_ = de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessage.getDefaultInstance(); + /** + * optional .GameSpectatorLeftMessage gameSpectatorLeftMessage = 82; + */ public boolean hasGameSpectatorLeftMessage() { return ((bitField2_ & 0x00020000) == 0x00020000); } + /** + * optional .GameSpectatorLeftMessage gameSpectatorLeftMessage = 82; + */ public de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessage getGameSpectatorLeftMessage() { return gameSpectatorLeftMessage_; } + /** + * optional .GameSpectatorLeftMessage gameSpectatorLeftMessage = 82; + */ public Builder setGameSpectatorLeftMessage(de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessage value) { if (value == null) { throw new NullPointerException(); } gameSpectatorLeftMessage_ = value; - + bitField2_ |= 0x00020000; return this; } + /** + * optional .GameSpectatorLeftMessage gameSpectatorLeftMessage = 82; + */ public Builder setGameSpectatorLeftMessage( de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessage.Builder builderForValue) { gameSpectatorLeftMessage_ = builderForValue.build(); - + bitField2_ |= 0x00020000; return this; } + /** + * optional .GameSpectatorLeftMessage gameSpectatorLeftMessage = 82; + */ public Builder mergeGameSpectatorLeftMessage(de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessage value) { if (((bitField2_ & 0x00020000) == 0x00020000) && gameSpectatorLeftMessage_ != de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessage.getDefaultInstance()) { @@ -47499,31 +60878,34 @@ public final class ProtoBuf { } else { gameSpectatorLeftMessage_ = value; } - + bitField2_ |= 0x00020000; return this; } + /** + * optional .GameSpectatorLeftMessage gameSpectatorLeftMessage = 82; + */ public Builder clearGameSpectatorLeftMessage() { gameSpectatorLeftMessage_ = de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessage.getDefaultInstance(); - + bitField2_ = (bitField2_ & ~0x00020000); return this; } - + // @@protoc_insertion_point(builder_scope:PokerTHMessage) } - + static { defaultInstance = new PokerTHMessage(true); defaultInstance.initFields(); } - + // @@protoc_insertion_point(class_scope:PokerTHMessage) } - - + + static { } - + // @@protoc_insertion_point(outer_class_scope) }